Design Automation


Moving to model-based design

6 April 2005 Design Automation

Your system engineers define the specifications, which software engineers must then interpret to write code. How do you ensure that the system will correspond to the original concept?

Your powertrain design team wants to reduce testing on expensive engine hardware. How do you minimise test iterations while optimising system performance?

As a semiconductor designer, you work with multiple R&D teams to design efficient implementations of complex audio codec algorithms. How do you enable these teams to collaborate and share design drafts?

Problems like these, all too familiar to embedded systems and electronics engineers, can jeopardise project results. In independent industry studies, Jerome Krasner discovered that 51% of embedded design projects finish an average of 3,5 months behind schedule.

Specification changes are a major cause of project delay. Poorly communicated specifications, planning errors, and project complexity have a similarly profound effect on productivity (Figure 1). These problems are common in traditional development methods, which rely on document-based specifications that can be ambiguous and easily misunderstood.

Figure 1. Reasons for late projects, as reported by <i>Venture Development Corporation</i>. Note: Percentages sum to over 100% due to multiple responses
Figure 1. Reasons for late projects, as reported by Venture Development Corporation. Note: Percentages sum to over 100% due to multiple responses

Working with model-based design

Model-based design for embedded systems addresses all the key factors that delay a project, including changes in specifications, project complexity, and unrealistic schedules, because design teams work from a single Simulink model of the entire system and its environment. Engineering teams use the model throughout the development process - from requirements capture and design to implementation and test.

Figure 2. A Simulink model of an ultra wideband (UWB) multiband OFDM physical layer becomes the reference model for designing a fixed-point transmitter and receiver
Figure 2. A Simulink model of an ultra wideband (UWB) multiband OFDM physical layer becomes the reference model for designing a fixed-point transmitter and receiver

This model becomes an 'executable specification' and includes all the information needed to specify the software or hardware implementation, including fixed-point and timing behaviour. Simulation is used to show that the model is complete and works correctly. All the code and test benches for final system testing, verification, and deployment can be automatically generated from the model, saving time and avoiding the introduction of errors.

Model-based design reduces the complexity of large-scale system development by letting multiple design teams work in parallel to refine and optimise subsystem designs. As each subsystem is finalised, it can be incorporated into the overall system model.

Executable specifications

Graphical representations are at the heart of model-based design, starting with requirements gathering.

Traditionally, system engineers capture requirements in a paper specification that design engineers must interpret. Paper-based specifications shared among different teams are easily misinterpreted, and hand-written code increases the risk of propagating errors throughout the design process.

By sharing the same executable specification, design teams can bypass hand-written documentation, eliminate ambiguity and misinterpretation of specifications, and clearly communicate critical issues and decisions, including requirements changes.

Design with simulation

Developing hardware prototypes is costly and time-consuming. Design engineers are often unable to create multiple prototypes to explore design optimisations. Consequently, even designs that meet specifications may not be fully optimised.

Because the model provides a comprehensive description of the design, the development team can simulate its performance in a software environment, reducing the need for costly hardware prototypes. As a result, they can find and correct problems much earlier in the design process, refine the design, automatically update the executable specification, and perform more design tradeoffs in a shorter period of time.

The model provides continuity in the design and development process and can be used to test any optimisations proposed by the implementation team. As a result, the final product will be much closer to the original design.

Implementation with automatic code generation

The transition from design to implementation traditionally involves a design engineer transferring a set of plans to an implementation team. As with the transition from specification to design, misinterpretation at this point can cause errors.

Because the model is an executable specification, engineers can automatically generate code from the model for realtime prototyping and deployment in the target system. Automatic code generation enables engineers to eliminate hand-coding errors and reduce the time spent on writing and testing code. Any problems in the code are easily corrected by making changes to the model and regenerating code. This ensures that design specification integrity between the model and the code is maintained.

Continuous test and verification

Test and verification is traditionally the final step before product delivery. When design teams discover problems at this late point in the development process, they face two equally unattractive options: delay the product ship date or ship a sub-standard product.

The system model provides a 'golden' reference that can serve as the test bench for the hardware or software implementation. Like the model, the code can be tested and verified at any point in the design and simulation process. Because the Simulink model represents the exact system requirements, teams can use the design as a reference for generating test signals, troubleshoot and trace problems early in the development process, and streamline the verification of hardware or embedded software designs. Engineers can update the model and regenerate the code to realign the design with the specifications, reducing troubleshooting and correction time from months to days, or even hours.

The value of model-based design

By enabling engineers to design components in a complete system context, model-based design helps eliminate ambiguities and conflicting requirements from embedded system development. System designers can begin evaluating software and hardware designs without waiting for prototype products. Project planners can more realistically assess the resources required to implement the system-level design. The result is more innovation, improved product quality, and reduced time to market.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

New Studio 6 SDK
Design Automation
New Simplicity Studio 6 SDK opens development environment, and opens developers to Series 3.

Read more...
New camera module targets AI and computer vision
Vepac Electronics Design Automation
Innodisk has announced its shift towards the AI industry with half of its AI development related to image recognition.

Read more...
Engineering the future of automation
Design Automation
As the next great leap forward in mechanisation, industrial automation integrates data into the manufacturing equation through high-input sensors and sensor infrastructures.

Read more...
Fusion 360 gains Ultra Librarian electronics CAD library
Design Automation
Autodesk collaborated with Ultra Librarian to generate this Fusion 360-compatible app that provides users with free verified schematic symbols, PCB footprints, 3D STEP models, and reference designs.

Read more...
ST releases new reference designs for STM32
Altron Arrow Design Automation
ST Microelectronics has released reference designs for the STM32WL5x and STM32WLEx, allowing new applications to be quickly prototyped.

Read more...
TI releases top five power design tools
Altron Arrow Design Automation
Texas Instruments has released an online resource combining the top five power design tools available to aid in the next electronic project design.

Read more...
Find tools and help more easily on Mouser’s website
Design Automation
The Services and Tools page and Help Centre give customers the ability to view and track orders, request technical support and data sheets, and place orders.

Read more...
Upgraded AI/ML SDK for PolarFire FPGAs
Altron Arrow Design Automation
Network sizes have been reduced by 50% by optimising containers for weights and the built-in bit accuracy simulator’s speed has been tripled.

Read more...
Mouser’s resource pages make it easier to find what you need
TRX Electronics Design Automation
Mouser Electronics offers a wealth of customer-focused online tools to simplify and optimise the selection and purchasing process. Helping customers to easily browse, select and purchase products, the ...

Read more...
Software development kit for motor control
Altron Arrow Design Automation
STMicroelectronics’ STM32 microcontrollers offer the performance of industry-standard Arm Cortex-M cores running either vector control or field-oriented control (FOC) modes, which are widely used in high-performance ...

Read more...