Hardware in the loop, FPGAs help motor testing

Case study: Field programmable gate array (FPGA) devices can advance hardware-in-the-loop (HIL) capabilities for simulation and testing, moving from idea to production more quickly, as this Subaru hybrid example explains, with electric motor and drive testing. Subaru reduced test time to 1/20 of the estimated time for equivalent testing on a dynamometer.

12/21/2014


Organizations that test embedded software in multiple simulated and physical configurations can stay ahead of competition, and those tools are helping the automotive industry stay competitive as it tests performance of motors and controllers for hybrid vehicles. Field programmable point gate array (FPGA) technology can benefit the majority of test applications. Some experts are now using increased FPGA performance, which is achieved through co-locating input and output (I/O) and processing nodes within hardware-in-the-loop (HIL) testing.

The new Subaru XV Crosstrek Hybrid is among vehicles tested using a hardware-in-the-loop (HIL) testing platform from National Instruments. Courtesy: National Instruments, SubaruElectric motor testing

As an example, Subaru set out to develop a new verification system for its first production model hybrid vehicle, Subaru XV Crosstrek Hybrid, by creating strenuous test conditions that are difficult to achieve using real machines. Specifically, the automotive manufacturer was interested in testing its hybrid electric motor at all stages of the systems engineering V model. While performing HIL testing of an electric motor controller, Subaru's test engineers faced a speed challenge. The fast digital outputs of the controller meant that the HIL simulator needed to run at loop rates around 1 microsecond. A CPU-based simulation platform commonly performs at rates between 5 µs and 50 µs.

A transparent overhead view of the Subaru XV Crosstrek Hybrid's powertrain shows the motor and drive (blue) located near the engine (top); nickel-metal hydride battery, inverter/converter, and other high-voltage components are mounted under the luggage coBy using a test system with FPGA processors and I/O and graphical programming software, Subaru reduced test time to 1/20 of the estimated time for equivalent testing on a dynamometer. In addition, the manufacturer was able to leverage the FPGA's high-capacity, built-in dynamic RAM to use a commercially available model and represent the highly nonlinear characteristics of the motor. In the end, Subaru built a verification system that makes automatic execution of all of the test patterns possible and replicates the most severe testing environments to ensure the highest level of safety to the user, while meeting required control rates and critical timelines. 

Easy reconfiguration, regression testing

Although not all applications require such fast loop rates, FPGAs also can provide custom I/O, increased flexibility, and co-processing to any HIL test team. With the ability to reconfigure the FPGA through graphical programming, systems engineers can define I/O to be most efficient for a particular application and adapt software code to changes in unit under test (UUT) interfaces without exchanging test hardware. This is especially beneficial as FPGAs can run in parallel to a real-time processor.

Real-time testing involves using a real-time operating system (OS) as part of a test system. The most common requirements driving the need for a real-time test system are to achieve greater reliability and performance than is possible using a general-purpFlexibility like this means models can run deterministically on the processor while offloading signal processing or high-speed signal generation to the FPGA, which increases the capability of the overall system.

Ultimately, this can lead to regression testing earlier and more often to realize increased software quality and lower overall development cost.

- Kyle Perkuhn is product marketing engineer for VeriStand at National Instruments; edited by Mark T. Hoske, content manager, Control Engineering, mhoske@cfemedia.com.

ONLINE

www.controleng.com/archives for December has more information in the online version of this article, including information about hardware and software used for hardware in the loop (HIL) testing and more about software engineering using a V-model diagram.

Key concepts

  • Hardware in the loop, field programmable gate arrays (FPGAs) help motor testing.
  • Devices can advance hardware-in-the-loop (HIL) capabilities for simulation and testing, moving from idea to production more quickly.
  • Subaru reduced electric motor and controller test time to 1/20 of the estimated time for equivalent testing on a dynamometer.

Consider this

How much time could you remove from your design process, catching errors earlier, with a configurable testing platform?

ONLINE extra

NI provides more information about Subaru's implementation of NI FPGA technology for HIL testing.

http://sine.ni.com/cs/app/doc/p/id/cs-15982 

See related information below from Control Engineering about real-time testing software and an article about software, engineering, and the V model diagram.



Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers.
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
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.
Design of Safe and Reliable Hydraulic Systems for Subsea Applications
This eGuide explains how the operation of hydraulic systems for subsea applications requires the user to consider additional aspects because of the unique conditions that apply to the setting
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
October 2018
HMI hardware evolution, Data acquisition strategies, Matching motors and drives, Machine vision advice
September 2018
Optimize controls via cloud software, ladder logic simulation, industrial wireless best practices
August 2018
Augmented reality and virtual reality education, autotuning PID control, cybersecurity advice, educating engineers
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
Data Center Design
Data centers, data closets, edge and cloud computing, co-location facilities, and similar topics are among the fastest-changing in the industry.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

October 2018
2018 Product of the Year; Subsurface data methodologies; Digital twins; Well lifecycle data
August 2018
SCADA standardization, capital expenditures, data-driven drilling and execution
June 2018
Machine learning, produced water benefits, progressive cavity pumps
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers.
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
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.
Design of Safe and Reliable Hydraulic Systems for Subsea Applications
This eGuide explains how the operation of hydraulic systems for subsea applications requires the user to consider additional aspects because of the unique conditions that apply to the setting
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
October 2018
HMI hardware evolution, Data acquisition strategies, Matching motors and drives, Machine vision advice
September 2018
Optimize controls via cloud software, ladder logic simulation, industrial wireless best practices
August 2018
Augmented reality and virtual reality education, autotuning PID control, cybersecurity advice, educating engineers
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
Data Center Design
Data centers, data closets, edge and cloud computing, co-location facilities, and similar topics are among the fastest-changing in the industry.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

October 2018
2018 Product of the Year; Subsurface data methodologies; Digital twins; Well lifecycle data
August 2018
SCADA standardization, capital expenditures, data-driven drilling and execution
June 2018
Machine learning, produced water benefits, progressive cavity pumps
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers.
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
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.
Design of Safe and Reliable Hydraulic Systems for Subsea Applications
This eGuide explains how the operation of hydraulic systems for subsea applications requires the user to consider additional aspects because of the unique conditions that apply to the setting
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
October 2018
HMI hardware evolution, Data acquisition strategies, Matching motors and drives, Machine vision advice
September 2018
Optimize controls via cloud software, ladder logic simulation, industrial wireless best practices
August 2018
Augmented reality and virtual reality education, autotuning PID control, cybersecurity advice, educating engineers
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
Data Center Design
Data centers, data closets, edge and cloud computing, co-location facilities, and similar topics are among the fastest-changing in the industry.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

October 2018
2018 Product of the Year; Subsurface data methodologies; Digital twins; Well lifecycle data
August 2018
SCADA standardization, capital expenditures, data-driven drilling and execution
June 2018
Machine learning, produced water benefits, progressive cavity pumps
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me