Path: EDN Asia >> Design Centre >> IC/Board/Systems Design >> Speed up development with model-based design
IC/Board/Systems Design Share print

Speed up development with model-based design

08 Sep 2015  | Vinod Reddy

Share this page with your friends

What is the size your typical embedded system development engineering team? Even if you work for a large company, chances are your team is smaller than it would have been 15 or 20 years ago. Industry watchers have many ways to explain why that might be. Virginia-based consultancy, Quantitative Software Management, even has evidence to suggest that smaller teams are more productive than larger ones and have a higher likelihood of delivering projects on-time and under budget. Whatever forces are in play, however, if you're an engineer on a small design team, your work life is probably defined by intense time-to-market pressure and the need to jump between multiple engineering disciplines – all while cutting costs and time spent on product simulation, evaluation and prototyping.

At MathWorks, we find that smaller engineering teams would do well to consider new ways to mitigate their project risks. One option, model-based design, is a simulation-based mathematical and visual approach for the development of complex control systems. Model-based design employs the systematic use of models throughout the development process for design, analysis, simulation, automatic code generation and verification – and is broadly used in motion control, industrial equipment, aerospace, and automotive applications.

In practice, model-based design lets embedded software developers automatically generate embedded code from simulation models to learn whether algorithms will work before the embedded code is written. Through virtual prototyping, system engineers can easily see whether the whole system (mechanical, electrical, hydraulic, and pneumatic, plus embedded software) will work as intended, even before the hardware is manufactured and available for testing. This is analogous to CAD software, which allows mechanical designers to create virtual assemblies to understand – in advance of the production step—how well product parts will work together.

Initially, some teams may resist the urge to adopt a new approach over concerns that the sheer act of changing their existing workflow will slow them down and increase the risk levels they are striving to lower. In our experience, there is a simple way to avoid that pitfall – integrate model-based design incrementally and identify a single component of the project that can be set up for a "quick win."

The following four steps represent a gradual approach that will move your project along without complicating your schedule:

1. Smart experimentation: Take a small piece of the project – say a new piece of an embedded system – and build a software behaviour model to generate code. This one small change is low risk, requires minimal investment of time and will show you that:

 • High-quality code can be created without hand coding
 • Your code matches the behaviour of the model
 • A model can be simulated to work out the bugs in the algorithm much more simply and with greater insight than dynamically testing C code on a desktop

2. Build on your success: Once your segment of code has been shown to work well, extend to system-level simulation by incorporating the code into the rest of the application. With system-level simulation, you are now able to perform system integration virtually and gain an early view of how the hardware and embedded software will behave. This is especially valuable if the hardware is in development and does not yet exist or is expensive to prototype.

1 • 2 Next Page Last Page


Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.


Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming


News | Products | Design Features | Regional Roundup | Tech Impact