Close Menu
Automotive Testing Technology International
  • News
    • A-H
      • ADAS & CAVs
      • Aerodynamics
      • Appointments, Partnerships, Investments & Acquisitions
      • Automotive Testing Expo
      • Batteries & Powertrain Testing
      • Component Testing
      • Safety and crash testing
      • Dynamometers
      • EMC & Electronics Testing
      • Emissions & Fuel Consumption
      • Facilities
      • Full-vehicle Testing
    • I-Z
      • Interiors & Infotainment Testing
      • Measurement Tools, Test Systems & Equipment
      • Motorsport
      • NVH & Acoustics
      • Proving Grounds
      • R&D
      • Sensors & Transducers
      • CAE, Simulation & Modeling
      • Software Engineering & SDVs
      • Tire Testing
  • Features
  • Online Magazines
    • March 2025
    • November 2024
    • September 2024
    • June 2024
    • Crash Test Technology – 2023
    • Automotive Testing Technology
    • Subscribe to Automotive Testing
    • Crash Test Technology
    • Subscribe to Crash Test Technology
  • Opinion
  • Awards
    • About
    • What’s new and key dates
    • Eligibility and nomination
    • Get in touch
    • Judges
    • Winner interviews
  • Videos
  • Supplier Spotlight
  • Proving Grounds
  • Events
LinkedIn Facebook X (Twitter)
  • Automotive Interiors
  • Automotive Powertrain
  • ADAS & Autonomous Vehicle
  • Professional Motorsport
  • Tire Technology
  • Media Pack
    • 2026 Media Pack
    • 2025 Media Pack
LinkedIn
Subscribe
Automotive Testing Technology International
  • News
      • ADAS & CAVs
      • Aerodynamics
      • Appointments, Partnerships, Investments & Acquisitions
      • Automotive Testing Expo
      • Batteries & Powertrain Testing
      • Component Testing
      • Safety and crash testing
      • Dynamometers
      • EMC & Electronics Testing
      • Emissions & Fuel Consumption
      • Facilities
      • Full-vehicle Testing
      • Interiors & Infotainment Testing
      • Measurement Tools, Test Systems & Equipment
      • Motorsport
      • NVH & Acoustics
      • Proving Grounds
      • R&D
      • Sensors & Transducers
      • CAE, Simulation & Modeling
      • Software Engineering & SDVs
      • Tire Testing
  • Features
  • Online Magazines
    1. June 2025
    2. March 2025
    3. November 2024
    4. Crash Test Technology – 2024
    5. September 2024
    6. June 2024
    7. Automotive Testing Technology
    8. Subscribe to Automotive Testing
    9. Crash Test Technology
    10. Subscribe to Crash Test Technology
    Featured
    June 18, 2025

    In this Issue – June 2025

    Automotive Testing Technology By Web Team
    Recent

    In this Issue – June 2025

    June 18, 2025

    In this Issue – March 2025

    April 9, 2025

    In this Issue – November 2024

    November 26, 2024
  • Opinion
  • Awards
    • About
    • What’s new and key dates
    • Eligibility and nomination
    • Get in touch
    • Judges
    • Winner interviews
    • ATTI Awards Forum
  • Videos
  • Supplier Spotlight
  • Proving Grounds
  • Events
LinkedIn
Subscribe
Automotive Testing Technology International
Features

Hybrid vehicle testing case study

John ThorntonBy John ThorntonJanuary 16, 20156 Mins Read
Share LinkedIn Twitter Facebook Email

National Instruments helped engineers at Subaru to perform advance hybrid vehicle testing with hardware-in-the-loop simulation

Today, automobiles are equipped with an enormous number of ECUs to manage expanded functionality and advanced controls in vehicle. In a hybrid vehicle, the motor ECU plays an even more complicated role as it manages the interaction between the conventional engine and the electric motor, along with its power systems.

Fuji Heavy Industries, parent company of Subaru, set out to develop its first hybrid vehicle—the Subaru XV Crosstrek Hybrid. It was a preliminary attempt to deliver a production model hybrid vehicle targeting both domestic Japanese and North American markets. Engineers had developed a motor ECU for an earlier hybrid prototype, but the component did not meet the rigorous requirements to take a vehicle to market. For the production model vehicle, the ECU needed various control functionalities to prevent damage to the vehicle body and to ensure driver and passenger safety under various operating conditions, even scenarios that would be impossible or impractical to test on physical hardware.

For example, under icy driving conditions, a wheel can experience a sudden loss of traction. During acceleration this can cause a dramatic increase in motor speed and needs to be handled safely. However, this safety behaviour cannot be physically reproduced on a dynamometer and is time consuming and difficult to reproduce on a test track. Since complex control algorithms for specific safety conditions like this need to be developed and verified, the testing needed to account for outlying operating conditions to satisfy the quality level required for a production model vehicle.

The challenge was to use automated testing to develop a new verification system that satisfied the control quality level required for the motor electronic control unit (ECU) in Subaru’s first production model hybrid vehicle, Subaru XV Crosstrek Hybrid, and to create strenuous test conditions that are difficult to achieve using real machines.

Engineers connected the ECU to a real-time electric motor simulation to test and verify a variety of conditions, including the extreme outliers that may otherwise break the system in traditional mechanical testing. They developed a mechanism to sufficiently confirm this software simulation approach with three primary goals for successful testing:

– Verify ECU functionality in various conditions, including extreme environments not easily created or replicated

– Map test cases to requirements to ensure complete test coverage

– Perform regression tests with ease to quickly validate design iterations

To achieve these goals, the engineering team used a V-diagram approach to launch the design and verification process (below). The diagram describes a phased methodology for embedded software design and deployment validation, including test points at each stage. In multiple steps of the design process, the team needed the hardware-in-the-loop (HIL) system to verify the motor ECU against a real-time motor simulation that accurately represented the actual vehicle motor. Additionally, using the HIL system, our engineers could meet traceability requirements by recording test results automatically and automating regression tests when an ECU change was made.

System Success

The new verification system built consists of a real motor ECU and the HIL system that simulates motor operations (below). The HIL system can represent any operating condition of the motor by setting physical parameters such as inductances or resistances. It can also set parameters of the power electronics, including fault conditions or test scenarios such as combinations of load torque and desired rotating speed. By simply changing a parameter in the middle of the test, the HIL system can easily simulate complex test scenarios like the previous loss of traction example or even a power electronics fault in the inverter that would destroy physical hardware. When the operator requests a test pattern, the HIL system responds the way a real motor would, and the overall system response can then be cross-referenced with expectations to validate that the controller safely handles the test case.

Because the computational performance required for this process was so high, National Instruments was felt to be the only supplier that could meet these requirements. The core system hardware was based on NI FlexRIO FPGA modules, which are PXI-based controllers with FPGA chips. The modules executed a model representing the simulated operation of the motors, with all deployed programs using NI LabVIEW system design software.

The test scenario for sequential execution of each test pattern was created as an Excel spreadsheet. The time for execution step was set to 1ms and the team described the test conditions, including torque and rotating speed, chronologically in the Excel spreadsheet. According to these conditions, the motor ECU operates and sends out signals, such as a pulse-width modulation signal, to the HIL system. The HIL system receives these signals then simulates operation of a real motor. More specifically, the computational process is performed and the result is an output at the same speed as the real motor. The resulting signals representing the torque and the triphase current are returned to the motor ECU.

Subaru automated the verification process using LabVIEW to read and execute the Excel spreadsheets for the test scenarios, with obtained results written automatically to the Excel spreadsheet for the test report. The team used Visual Basic for Applications in Excel for this process.

In the HIL system, the simulation loop rate, equivalent of the temporal resolution in simulation, was a critical factor. For the motor ECU, the loop rate needed to be 1.2 µs or less for the simulator to work. Most simulation platforms from other suppliers use CPUs for computation, resulting in a loop rate in the range of 5 µs to 50 µs.

NI FlexRIO used the FPGA for control and computational purposes to meet the processing requirements, which also provided a significant advantage in terms of computational processing performance. The ability to attain the required simulation rate at 1.2 µs was the decisive factor for adopting the NI FlexRIO platform for this system. Additionally, because the NI FlexRIO has a high-capacity, built-in dynamic random access memory, Subaru could use the JMAG-RT model provided by JSOL Corp.’s JMAG software tool chain. This made it possible to represent the highly non-linear characteristics closer to the real motor.

Moreover, engineers could program the FPGA on the NI FlexRIO device graphically with the NI LabVIEW FPGA Module, which made it possible to develop a system with FPGA technology in a short time frame without using a text-based language such as a hardware description language.

All the test patterns developed can be run automatically in only 118 hours. Performing all the tests manually would take an estimated 2,300 hours. Automated testing also mitigates the risk and additional time associated with human errors that can occur with manual testing. The HIL system delivered additional time-saving advantages that included a significant reduction in the number of setup procedures, such as preparing a motor bench and a test vehicle, and it removed the need for test personnel to be qualified to handle high-voltage equipment.

For each test scenario, the team prepared an Excel spreadsheet reporting test results in advance, saving simulated torque and triphase current values at 1 ms time steps. The values obtained from the HIL test were sequentially written in the Excel spreadsheet and compared with the corresponding expected values to determine the test result.

Share. Twitter LinkedIn Facebook Email
Previous ArticleInfiniti Red Bull Racing selects FLIR
Next Article Compact data acquisition sensor from DTS
John Thornton

John joined UKi Media & Events in 2012 and has worked across a range of B2B titles within the company's automotive, marine and entertainment divisions. Currently editor of Automotive Testing Technology International, Crash Test Technology International and Electric & Hybrid Marine Technology International, John co-ordinates the day-the-day operations of each magazine, from commissioning and writing to editing and signing-off, as well managing web content. Aside from the magazines, John also serves as co-chairman of the annual Electric & Hybrid Marine Awards and can be found sniffing out stories throughout the halls of several of UKI's industry-leading expo events.

Related Posts

Features

Why engineers in the automotive and electronics sectors rely on tensile impact data to guide material choice

June 24, 20254 Mins Read
Features

Porsche embraces AI for innovative data analysis in vehicle development

June 12, 20253 Mins Read
Features

INTERVIEW: Matt Wilson, team principal, Ford M-Sport

June 10, 20257 Mins Read
Latest News

Hyundai plans to use VR simulators in vehicle development

June 24, 2025

Why engineers in the automotive and electronics sectors rely on tensile impact data to guide material choice

June 24, 2025

Modular and flexible battery test bench developed by Göpel Electronic

June 24, 2025
Free Weekly E-Newsletter

Receive breaking stories and features in your inbox each week, for free


Enter your email address:


Our Social Channels
  • LinkedIn
Getting in Touch
  • Free Weekly E-Newsletter
  • Meet the Editors
  • Contact Us
  • Media Pack
    • 2026 Media Pack
    • 2025 Media Pack
RELATED UKI TITLES
  • Automotive Interiors
  • Automotive Powertrain
  • ADAS & Autonomous Vehicle
  • Professional Motorsport
  • Tire Technology
  • Media Pack
    • 2026 Media Pack
    • 2025 Media Pack
© 2025 UKi Media & Events a division of UKIP Media & Events Ltd
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Notice & Takedown Policy
  • Site FAQs

Type above and press Enter to search. Press Esc to cancel.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT