View this week's entry ad »
Part Inventory
powered by:
Part Finder
Go
powered by:
  • Quick Poll
What Social Networking site do you use the most?



VOTE VIEW RESULTS
Previous Polls

Premium Content

Editors' Picks

Featured Industry Resources

Verify Control Systems Before Committing To Hardware

Highlights

  • Model-based design supports early verification
  • Checking control-system software against hardware models early can sidestep later problems
  • Methodologies such as those offered by The MathWorks help stamp out bugs

By Brian McKay

October 01, 2009

Print
Reprints Comment

Embedded-control system designers feel more pressure than ever to provide better performance and more features, all while meeting tight deadlines and keeping costs down. As these demands intensify, traditional design and verification methodologies tend to fall short.

In traditional design flows, designers can’t determine if their controller works until late in the effort, when hardware is available. This was often sufficient for systems developed in years past. System behavior was predictable, and the simple control scheme minimized opportunities for error. Problems could be solved by tuning the controller during verification.

With today’s multidomain systems, however, this process is no longer sufficient. As system complexity grows, the potential for errors and suboptimal designs increases. When design problems show up in the verification stage, they require difficult, costly changes— changes that often include time-consuming hardware fixes.

The growing complexity of control systems makes it difficult to test all the corner cases in a design. For many systems, it’s impractical or even dangerous to test the full operating envelope on production hardware. For these systems, traditional verification methods simply don’t work. Leading system designers recognized these challenges and are adopting early verification with Model-Based Design.

With this approach, engineers can simulate the physical plant alongside the control algorithms and logic. Early verification allows designers to quickly evaluate a variety of control strategies and optimize system behavior; catch errors early, before hardware is available; use simulation to test the full operating envelope; and reuse models for real-time testing.

MODEL-BASED DESIGN
In the traditional workflow, requirements are provided via paper specifications (Fig. 1). Each subsystem—including mechanical, electronics, controls, and software—is designed in separate design tools directly from the specifications, with very little coordination between the subsystem designs. This process calls for verification late in the design cycle, once the system is integrated. Only at this point can designers fully observe the interaction between the system’s physical systems, control algorithms, and logic.

This may be acceptable for lowperformance systems, where the interaction between domains is simple and easy to characterize. Yet the interaction between subsystems becomes more complex as designers add features and push for optimal performance. This makes it harder to design the controller, and it increases the likelihood of design errors.

The risk of errors is compounded because each part of the design— mechanical, hydraulic, controls, and software—involves different ways to describe requirements, implement solutions, and test designs. These differences make it easy to introduce conflicting requirements, misinterpret requirements during design, and perform incomplete or extraneous testing.

If an error isn’t discovered early in the design process, the complex interaction between subsystems can make it difficult to trace the problem back to its root cause— and fixing this problem can be just as tricky. Errors related to incomplete, incorrect, or conflicting requirements may even necessitate a fundamental redesign.

Model-Based Design addresses these challenges by enabling early verification. Verification is no longer treated as a final step. Rather, it becomes a continuous process that begins in the design phase and carries through realtime testing (Fig. 2).

Also, designers can build a mathematical model of the control software as well as the physical plant, including mechanical, electrical, hydraulic, and other physical domains. By linking the model to the system requirements, the model becomes an executable specification that can be used for each subsystem and the system as a whole. It drives an unambiguous understanding of the requirements, reducing the risk of design errors.

Model-Based Design also creates a common design and verification platform. Engineers have an intuitive, graphical view, creating a common environment for designers from different disciplines. Model- Based Design tools also facilitate the reuse of existing designs and engineering data by providing hooks into CAE tools, like CAD, FEA, and circuit emulation tools (including Spice).

The availability of an executable specification helps designers of control algorithms better understand the system, which leads to better control design. Instead of designing against an inherently vague paper specification, designers can experiment with the model to fully understand the system’s behavior. They also can quickly try out different control strategies, allowing them to identify the strategy that optimizes performance while meeting other design constraints.

EARLY VERIFICATION
Control designers using a traditional workflow can’t verify their designs until hardware is available, which is usually late in the design process. In contrast, with Model-Based Design, designers can start testing against a model. This early verification capability saves time and reduces costs, while simultaneously improving design quality and performance.

The key benefit of early verification, of course, is that designers can catch errors in the first stages of the development process, where they’re easier and cheaper to fix. Simulation helps designers spot problems that would require hardware changes—a particularly valuable capability because hardware changes are much more expensive than software fixes.

Continue to page 2

Average ( Ratings):
Filed Under:

Check for price and availability on Source ESB:

Go
powered by  

Related Products

You must log on before posting a comment.

Are you a new visitor? Register Now

Acceptable Use Policy

Sponsored Links