Simpler software design tools

Integrating hardware and software into embedded systems can be complex. Keep it simple when choosing and working with software design tools to shorten design, development, testing, implementation, and upgrades. The right tools can speed development and enhance quality along the way, resolving issues earlier in the design cycle.


Across industries, embedded systems are becoming more complex, and, unfortunately, traditional software tools are matching the growth in complexity. During the design process, system developers face a variety of challenges: programming the different types of processing technologies that must work together in a complex system, balancing feature requests with time to market, balancing validation testing with robustness, and ensuring that the team headcount has the appropriate levels of expertise for the project. What system developers need are fewer, more productive tools that will help them spend more time on engineering algorithms and less time on integration of hardware and software.

Figure 1: System-level design tools such as NI LabVIEW can support text-based and graphical models of computation. LabVIEW system-level design software supports many Intel, Freescale, ARM, TI, and ADI technologies with NI CompactRIO embedded control hardw

System design software environments

System design software environments are used to design and test a wide range of control and measurement systems. They offer unprecedented integration with existing software, intellectual property (IP), and hardware while capitalizing on the latest computing technologies. System design software environments have the tools to solve today’s system design problems—and the capacity for future innovation. These software tools integrate with specific hardware architectures and modular platforms to maximize productivity and software reuse from early prototype to final deployment. The validated hardware and software integration eliminates the need to develop specialized drivers and middleware for all forms of I/O and peripherals, allowing embedded designers to quickly begin developing a specific application.

System design software environments need to provide the following critical functionality and capabilities:

1. Support a wide range of processing elements such as microprocessors, FPGAs, and GPUs

2. Provide a complete set of models of computation. System design software cannot limit embedded designers to one language or software model of computation. System designers need be able to use the appropriate language for each aspect of their application from one environment, whether graphical programming, textual math, C/C++/C#, and HDL (see Figure 1).

3. Simulation capabilities

4. Tools for user interface development

5. Manage system deployment and maintenance.

One of the historical challenges of using one system design environment to design, prototype, and deploy an embedded system is the common use of field-programmable gate arrays (FPGAs) alongside microprocessors (MPUs) in the same design. While this architecture has proved ideal for many advanced control and monitoring systems, historically the FPGA and MPU required different languages and specialized skills to program. System design software can allow system development for both processing elements within one environment.

Why architects build models

The entire design process is a tug-of-war between making it fast and making it right. These sides seem farthest apart in the early stages where multiple ideas exist. Starting from nothing takes time, and the first step can be the most important as it determines the direction of the entire design. This is why architects create building models of their architectural drawings. A building model can provide a complete view of the final design at a relatively low cost to allow all stakeholders to provide input to the creative process and allow the architects to see their concept realized and make any needed modifications. Going straight from sketch to ground breaking is too risky for major architectural projects. Creating a building model is an efficient tool that strikes a balance between time and functionality. The embedded control systems equivalent of the architectural model is a functional prototype.

A functional prototype has connectivity to hardware I/O (input-output) points, sensors, and runs the current iteration of the designed algorithm. With a functioning prototype, engineers can perform more realistic tests to catch more problems earlier, which will ultimately shorten the design cycle. The aerospace and automotive industries have more than one example where software simulation did not catch critical design flaws. This is just one reason why functional prototyping of control systems is so important, though finding algorithm issues must still be balanced with time to market.

The design process of the traditional programmer is one that probably dates back to a high school computer science class: flow chart to pseudocode. From the architecture example, this is closer to a sketch than a model. The low-level nature of C requires a lot of housekeeping before the true algorithm development can begin, and this level of optimization comes at the cost of time since effort must be spent managing memory, spawning threads, and communicating with I/O elements.

The abstraction provided by system-level design tools helps engineers develop concepts for new ideas in three ways. The first is that developers spend more time on the algorithm construction and less time setting up a software framework that may ultimately get scrapped. The second is that system design software often includes prebuilt IP for industry standard functions so programmers can focus on solving the new problem and not ones the market already covers. Both of these benefits reduce time to market. System-level design software also allows designers to choose a final deployment target different from the prototyping platform with minimal software changes.

A wall to productivity

For the above reasons, many embedded system designers choose to use an abstract, system-level design tool for prototyping and then throw the result “over the wall” so the entire project can be rebuilt in C for final deployment. Imagine the time saved if an engineer could clean up and deploy prototyped code. Some designs may require this switch, but changing programming tools comes at the cost of time, and not just the time needed to program the algorithm in a new language. One of the benefits of C is that it can target a wide array of hardware, but this requires a significant amount of effort to tailor the code to the designed hardware. Furthermore, many designs today incorporate processing and logic devices, such as FPGAs, complex programmable logic device (CPLDs), and digital signal processors (DSPs), that require additional software compilers and assembly packages.

System design software often is available with a platform of hardware components to facilitate faster development while providing some flexibility for design optimization. System-level design software is available that supports a large collection of Intel, Freescale, ARM, TI, and ADI technologies with specific embedded control hardware. Software/hardware platform combinations remove the need for low-level management of direct memory access (DMA) transfers, VHDL [VHSIC (very high speed integrated circuit) hardware description language] programming, and memory handling. These are the constructs that take time to implement but are rarely part of the “new IP” to the market. Control developers that leverage the same system-level design tools for both prototyping and deployment can remove the wall to productivity and drastically reduce time to market.

How to future-proof

Compiling a list of features to add in the 2.0 version starts before 1.0 is even out the door. A good embedded system developer will plan for system upgrades and design-in the ability to add or change the code more easily in the future. The most common method for future-proofing code is software abstraction. Low-level code spread throughout a codebase is difficult to change, which is why developers construct modules of code that perform higher level functions. System-level design tools are inherently abstract and thus conducive to future upgrades when used properly.

Figure 2: System design software simplifies the complexity of programming for different types of processing units and reduces the need for special expertise. LabVIEW code on the left is more streamlined for this application than comparable VHDL code on th

Not all changes made to a design are planned features. Over the life of a design, individual components and technologies are subject to lifecycle planning and, based on the technology, component changes can trigger the need for software upgrades. System design software from one supplier will manage all of the software components. Without this management, traditional designers must track compatibility of compilers, assemblers, and other low-level software tools, which further increases the risk of a forced redesign due to an end-of-life (EOL) issue.

It’s all about ROI

Return on investment (ROI) is one of the most important calculations for a project. Using the traditional C programming language and in-house hardware for embedded system development may drive down the cost when measured in megabytes of random-access memory (RAM), CPU load, or hardware components needed, but the design team will pay for this optimization with overall development cost and time to market. In addition to time, the size of the group increases as different specialists are needed for VHDL programming, DSP assembly language, real-time operating system (OS) integration, and control algorithms. Figure 2 shows the difference in complexity between system design software and a low-level, target-specific programming tool.

Time-to-market benefit calculations include more than simple revenue and profit over time. Earlier project completion can mean the difference between being first in the market and capturing a larger share; or being second to market with possibly a better product, but too late to be seen as the leader and therefore relegated to “me too” status. By simplifying complexity and placing design focus on the new IP rather than the optimization of common programming constructs, system design software helps engineers be first to market and have the best product.

- James Smith is director of embedded systems, and Brett Burger is senior product manager of embedded systems, National Instruments. Edited by Mark T. Hoske, content manager, CFE Media, Control Engineering,


NI provides more about system design software at

Key concepts

  • Simplify complexity and place design focus on new intellectual property.
  • Allow system design software to optimize common programming constructs.
  • Better software tools for embedded systems help engineers be first to market and have the best product.

Consider this

Speed and quality instead of speed or quality: Would you rather be first in the market and capture a larger share or second to market with possibly a better product, but too late to be seen as the leader

The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
Pipe fabrication and IIoT; 2017 Product of the Year finalists
The future of electrical safety; Four keys to RPM success; Picking the right weld fume option
A new approach to the Skills Gap; Community colleges may hold the key for manufacturing; 2017 Engineering Leaders Under 40
Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
The cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Power system design for high-performance buildings; mitigating arc flash hazards
VFDs improving motion control applications; Powering automation and IIoT wirelessly; Connecting the dots
Natural gas engines; New applications for fuel cells; Large engines become more efficient; Extending boiler life

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
The maintenance journey has been a long, slow trek for most manufacturers and has gone from preventive maintenance to predictive maintenance.
This digital report explains how plant engineers and subject matter experts (SME) need support for time series data and its many challenges.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Maintenance Manager; California Oils Corp.
Associate, Electrical Engineering; Wood Harbinger
Control Systems Engineer; Robert Bosch Corp.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me