Click to navigate back to homepage
Friday, December 5, 2008 
  Search :



 
 
     
 
 
Issue > Sep 2007 > Featured Technologies
 
 

Model-based Design of Wireless Systems

By: By Mike Woodward, The MathWorks
( 1 Sep 2007 )


Technical and market forces make it increasingly challenging to design wireless systems in a timely and profitable manner. Wireless standards are more complex¹, devices must integrate several wireless standards, and companies are facing increased competition from new entrants to the market. As a result, in the wireless ASIC market first-mover advantage wholly determines profitability.²

According to the International Technology Roadmap for Semiconductors (ITRS), the cost of design is the greatest threat to the continuation of the semiconductor roadmap.³ Some of the design practices used in the industry are unfortunately contributing to the problems rather than providing solutions. Table 1 shows key design challenges and the reasons for failure associated with them.

Using a design process that prevents these frequently occurring design failures will lead to improved quality and time-to-market, as well as a more productive use of resources. However, design flow changes are risky. To manage this risk, we recommend requiring that new ideas or concepts work with the existing design flow (evolution, not revolution). In this article, we discuss how Model-Based Design can work with existing design processes to realize improvements in time-to-market, quality, and cost.

THE BASIC CONCEPTS OF MODEL-BASED DESIGN
The core concept of Model-Based Design is using an executable system model as the basis for activities performed at four different stages in the design process (Figure 1). The same system model can function as an executable specification, a way to design the system, a basis for code generation, and a means of continuous test and verification. We focus on these four design stages in subsequent sections.

The same model in the same form should be used throughout the design process to avoid duplicating efforts at different design stages. To enable this, the design environment must be capable of multidomain simulation, allowing digital, analog, and RF components to be simulated in the same model. Such a requirement makes it hard, for example, for C/C++ models to fulfill our needs without building an RF simulation capability. Model-Based Design, therefore, requires the use of a commercial off-the-shelf (COTS) design and simulation platform such as Simulink. The core idea is the separation of the design and simulation environment from the model itself, which focuses development effort on the model and not the tool environment.

STAGE 1: EXECUTABLE SPECIFICATIONS
An executable specification is a system-level specification—essentially a system model—that is executed to produce results proving that the specification fulfills the requirements.&sup5; For example, instead of stating on paper that the frame-error rate (FER) must be lower than some limit at a particular signal-tonoise ratio (SNR), we can build a specification (system model) that runs at the stated SNR, producing an FER less than the limit, thereby proving that the specification is achievable (Figure 2). The ITRS estimates that using an executable specification improves design productivity by the order of 100 to 200 percent.³

Because an executable specification is, by definition, executable, an engineer working with an executable specification can examine a far wider range of inputs and outputs and operating conditions than can be contained in a written specification. For example a broad range of channel models could be used. This flexibility results in a more complete behavioral specification and, because the specification is testable, an executable specification also uncovers errors much earlier in the design process.&sup6;

Replacing or supplementing paper specifications with executable models is a fairly straightforward step; the real advantages of Model-Based Design, however, become apparent when models are used for several activities in the design process.

STAGE 2: DESIGNING WITH SIMULATION
Designers need to evaluate different design alternatives as quickly as possible. Changing the architecture of a system model based in C/C++ can be time consuming because of multiple recompilations and code changes. On the other hand, COTS platforms are typically graphically based so that models can be reconfigured without recompiling or changing component interfaces, so encouraging a component-based approach to design—something very beneficial for geographically dispersed design teams.

Many COTS platforms allow the same model to be used for both floating-point and fixed-point simulations, with the underlying platform providing the fixed-point engine. This capability alone represents a tremendous productivity enhancement as designs no longer have to be rewritten in fixed point. It enables the fixed-point performance of multiple designs to be evaluated, which is almost impossible in C/C++ based projects. Perhaps the greatest benefit available to designers using Model-Based Design is the ability to examine cross-domain design trade-offs, where we study the impact of changing a component in one domain on the entire system. For example, we might want to look at the effects of using a cheaper analog power amplifier in conjunction with a digital predistortion filter. This system-level approach is difficult to do outside of Model-Based Design. Because Model-Based Design has these productivity enhancing features, it enables more than one design to be explored, which increases the probability of selecting the best possible design.

STAGE 3: IMPLEMENTATION
A significant strength of Model-Based Design is the fact that an executable specification or design can be used to generate implementation code. Although such code might not be as efficient in all cases as manually written code, it enables engineers to produce functioning prototypes without having to recode the system each time a design change is made. Furthermore, automatically generated code substantially reduces the risk of introducing coding errors compared to hand coding.&sup7; Of course, automatically generated code can be used with hand coding to combine the strengths of both. The tradition in the wireless world to avoid automatic code generation because of performance concerns is being pushed aside as code generation technology improves and increased design complexity makes hand coding whole projects more challenging to accomplish.

STAGE 4: TEST AND VERIFICATION
By raising the level of abstraction, Model-Based Design helps with the test and verification process.&sup8; In fact, if an executable specification is used, the testing process can begin before the specification is even delivered. However, Model-Based Design also offers other advantages for verification.

Models are used extensively in industry as test harnesses for software, hardware, or processor-in-the- loop testing.&sup9; Models can also be used to generate test vectors, even serving as the gold standard by which an implementation is compared.&sup8; Several test equipment manufacturers, for example Agilent, Anritsu, and LeCroy, have begun to benefit from Model-Based Design by incorporating design and simulation software into their equipment.

MODEL-BASED DESIGN AND IP REUSE
Because wireless projects typically share many common design elements, the strategy of reusing intellectual property (IP) can play a significant role in boosting productivity and quality. IP sharing has been severely limited by two factors: the IP's level of abstraction and how the IP will be shared.

At the lowest level of abstraction—HDL code, for example—IP can be too specific to the targeted platform and project to be reused. IP sharing at higher abstraction levels (for example, sharing C/ C++ code) is more appropriate, but is complicated by interface problems.

For example, different C/C++ models can have different interfaces, which make it difficult to share IP between different models. Even where common interfaces and design principles are mandated, there can still be difficulties due to different interpretations of the rules.

In order to share model components across projects, teams, and even companies, a common design and simulation platform is required. The use of a common platform will ensure that components developed for use in one model can be reused in another model. Model-Based Design explicitly encourages the use of a common platform throughout the design process, so enabling IP reuse.

CONCLUSIONS
Wireless system design is becoming increasingly difficult due to both technological and market forces, and existing design processes are showing the strain. Model-Based Design offers better quality, faster project delivery, and lower cost. These benefits can be introduced through a low-risk approach of using Model-Based Design initially for just one phase of a design, and then expanding its use in conjunction with existing design processes as value is demonstrated.

REFERENCES
[1] "The Evolution of Hardware Platforms for Mobile 'Software Defined Radio' Terminals," Greifendorf D., Stammen J., and Jung P., PIMRC, 2002

[2] "Return on Investment in Simulink for Electronic System Design," International Business Strategies, Inc., 2005

[3] International Technology Roadmap for Semiconductors—Design, 2005

[4] "Return on Investment for Independent Verification & Validation—Phase 2B Final Report," Dabney J., NASA, 2004

[5] "Executable Specs: What Makes One, and How Are They Used?", Schubert P.J. and Vitkin L., Winters F., SAE 2006

[6] "Executable Specifications: Creating Testable, Enforceable Designs," Microsoft Research, 2001

[7] "Caterpillar Automatic Code Generation," Thate J.M., Kendrick L.E., and Nadarajah S., SAE, 2004

[8] International Technology Roadmap for Semiconductors—Design, 2006 Update

[9] "Cracking the Code Automatically," Ledin J. and Dickens M., EDN Europe, June 2005


About the Author
Mike Woodward is the communications industry marketing manager at The MathWorks. He has been active in the communications industry for many years and has degrees in Physics and Semiconductor and Microwave Physics. You can reach him at mike.woodward@mathworks.com.Click here for Illustrations:

Table 1

Figure 1

Figure 2

 
 
 
 
Related Articles
   

Motorola Placed in Leaders Quadrant for Wireless LAN Infrastructure in Magic Quadrant Report

Worldwide Smartphone Sales Grew 11.5% 3Q08

Nokia and RIM Renew Patent License Agreement

SANYO Internet Radio: No PCs Required

New NFC Ecosystem and Players Emerge

Global Service Provider Switch, IP Router Market Down to $3.3B in 3Q08

Economic Crisis Spurs Mobile-Device Shipment Contraction in 2009

Service Providers can Accelerate Femtocell Trials and Deployments with New Solutions from Texas Instruments

Picocells' Future Linked to Femtocells and the SMB Market

New Devices Will Challenge Mobile Royalty Levels

   
 
Product News
   

Intermec Announces IT67 Enterprise Rigid Asset Tag

Service Providers can Accelerate Femtocell Trials and Deployments with New Solutions from Texas Instruments

Flyback Controller Charges Any Size Capacitor

Class-D Audio Amplifiers Enable 50% Reduction on Car Audio Systems Cost

ZTE Lauches World's First Next Generation PON Equipment

   
 
 
 
Industry Links
Photonics Association (Singapore)
Singapore Industrial Automation Association (SIAA)
Taiwan Semiconductor Industry Association (TSIA)
   
   
 
 
 


 
 
Technical Channels

Amplifiers

Components

Digital Hardware/components

Integrated components

Integrated subsystems

Interface/interconect

Materials

Passives

Power

Semis/ICs/Mmics

Services

Signal Processing

Signal Sources

Software

Test & Measurement

Transmission Components

Wireless Protocols

 

Other Websites
EDN Asia
EDN Asia (India)
EDN Asia (Taiwan)
EDN Asia (Korea)
ECN Asia
ECN Asia (Korea)
ECN Asia (Taiwan)
  ECN Asia (China)
  EB Asia
Electronics Asia
Reed Electronic Group
Reed Business Information Asia
   
 

© 2008 Reed Business Information, a division of Reed Elsevier Inc.
All rights reserved. Use of this web site is subject to its Terms and Conditions of Use. View our Privacy Policy.