Browse Topic: Hardware-in-the-loop (HIL)
Modern mission-critical ground vehicle systems must adapt to rapidly evolving threats, deploying changes in months or days while maintaining reliable and safe operation. Historic manual development and testing methods cannot keep pace without compromising safety assurances. Continuous Integration and Continuous Deployment (CI/CD) pipelines offer proven approaches to accelerating development, but implementing them for mission-critical systems requires careful attention to verification rigor. This paper presents a practical framework for implementing CI/CD pipelines across any level of rigor, from rapid prototyping to DO-178C and ISO 26262 certified systems. Drawing on experience from aviation, medical device, and ground vehicle development, the framework provides guidance for each pipeline stage based on the system’s desired level of rigor. This framework includes an examination of the value of Software-in-the-Loop vs Hardware-in-the-Loop testing to optimize development timelines while maintaining software quality.
It is hardly a new trend for on road, vehicle intensive tuning and testing of chassis control features such as Anti-Lock Brakes, Traction Control, and Electronic Stability Control to move away from vehicle testing and towards non-vehicle test platforms such as Hardware-In the Loop (HIL) simulations and even further into pure math-based simulations. However, a significant acceleration of these activities has been occurring recently in the automotive industry, reducing or eliminating calibration time on vehicles and amplifying the demand for highly representative, non-vehicle test platforms to validate and even calibrate chassis controls features. In current state of the art HIL simulation, the input (brake pressure) to output (brake torque) of each wheel brake in a vehicle’s brake system is modeled relatively simplistically, including at most pressure and brake temperature sensitivities, usually in lookup table form. Each brake corner contains over 20 different friction interfaces, which in turn can cause hysteretic behavior (a difference in the output for a given input, depending on whether the brake is applying or releasing against the hysteretic friction). This hysteresis is neglected in most state of the art HIL simulations. Past studies by General Motors have shown that the importance of brake corner hysteresis in vehicle level, customer facing performance of chassis controls features can range from inconsequential to significant. With the crescendo-ing demand for high quality non-vehicle based methods for assessing chassis controls function, the effect of hysteresis is no longer academic. The present study starts with HIL based simulations, establishing the effect of brake corner hysteresis on one of the most visible chassis controls behaviors. An inertia dynamometer-based test was developed to exercises the subject brake corners through apply and release cycles, thus enabling any hysteretic behavior to be observed and characterized. Machine Learning models were trained with these data to represent brake corner hysteretic behavior and then deployed into an HIL simulation rig. The impact of these models – representing brake corner hysteretic behavior – was characterized for straight line stopping distance on low, medium, and high coefficient road surfaces.
With the large-scale application of intelligent connected vehicles, the verification of their functional safety and reliability has become a core bottleneck in the industrial development. The traditional real- vehicle road test method can no longer meet the current demand for large-scale test verification due to problems such as high cost, low efficiency, and difficulty in reproducing dangerous scenarios. This paper studies the vehicle-in-the-loop simulation test system based on a digital twin. By constructing a virtual scenario highly consistent with the real world, physical-level multi-source perception signals are simulated and mapped to the system under test to enable high- reliability verification of real vehicles. In terms of lateral and longitudinal control functions, multiple sets of test cases are selected respectively for comparison between road tests and virtual simulation tests. The results show that the accuracy of key indicators is above 90%, which provides practical reference for the subsequent test and verification system of high-level autonomous driving.
Active collision avoidance methods are crucial components of vehicle active safety systems, which can effectively prevent collisions or mitigate collision-induced losses. To address the limitations of existing methods, particularly their insufficient foresight in dynamic traffic environments, this paper proposes an active collision avoidance control method based on driving intention recognition and an improved Driving Safety Field (DSF) model to enable more proactive and stable collision avoidance. First, a Hidden Markov Model (HMM) is trained using vehicle trajectory data from a public dataset to accurately identify the driving intentions of the obstacle vehicles, including Lane Change Left (LCL), Lane Keeping (LK), and Lane Change Right (LCR). Then, an improved potential field model is established, which incorporates vehicle acceleration to more comprehensively quantify the driving risk faced by the host vehicle within the DSF model framework. Subsequently, an active collision avoidance controller combining a longitudinal dual-PID braking controller and a lateral MPC steering controller is designed. This controller initiates corresponding avoidance actions based on the results of driving intention recognition and driving risk evaluation. Finally, co-simulation and hardware-in-the-loop (HIL) tests are conducted. The results demonstrate that, compared to conventional methods lacking driving intention recognition, the proposed method can initiate avoidance maneuvers approximately 1 s earlier, thereby more effectively avoiding potential collisions. Furthermore, key vehicle stability indicators, such as lateral acceleration and yaw rate, are significantly reduced during the avoidance process, indicating enhanced stability and satisfactory real-time performance. This method provides a solution for enhancing the active safety of vehicles in complex real traffic scenarios.
The exponentially growing complexity of engineering systems, such as robotic systems, autonomous vehicles, and unmanned aerial vehicles, require sophisticated control strategies that can efficiently coordinate system operation in various environments. The traditional control design approaches present significant challenges for control engineers to keep up with the increasing complexity and changing requirements. To advance embedded control system design, a paradigm shift from traditional development approaches toward more structured, systematic methodologies that can manage the multi-domain nature of control systems is critically needed. Model-based design approach is emerging as a solution for this demand. Model-based design approach uses a system model for control system development, from requirements capture to control system design, implementation, and testing. It provides an integrated environment for design, implementation, automatic code generation, and validation, which allows early error detection and continuous testing and verification. Model-based design reduces development time and cost, delivers higher-quality control systems, and enables collaboration among the engineers with different expertise. This paper presents a graduate-level course developed to train next generation of engineers with the skills for model-based embedded control system design. The development environment, including MATLAB/Simulink, dSPACE ConfigurationDesk, dSPACE ControlDesk, and dSPACE MicroAutobox III, is introduced. The course project, a control system for a hybrid powertrain, demonstrates the ability of students to develop a complicated control system using model-based design approach and perform validation through both Model-in-the-Loop (MIL) testing and Hardware-in-the- Loop (HIL) testing. The students’ feedback is very positive and shows that the course has prepared them well for their careers in industry and research institutions.
Lane centering is a critical active safety feature whose effectiveness depends on robust design and validation across diverse driving conditions. This paper presents the development of a Lane Centering Controller (LCC) using a structured model-based design workflow in MATLAB and Simulink. A kinematic bicycle model was employed to simulate vehicle dynamics and evaluate an angle based steering controller integrating both feedforward and feedback control paths. The controller was tested across multiple road geometries and speeds up to 65 mph to ensure tracking consistency and stability under nominal and perturbed conditions. Perception noise models for lane curvature and curvature rate were extracted from onboard camera data under controlled conditions, revealing Gaussian characteristics. No filtering was applied, allowing direct evaluation of the controller’s inherent robustness to raw signal variability. The LCC maintained a peak lateral offset within ±0.35 m and lateral jerk within ±9 m/s3, while respecting a steering comfort limit of ±3 Nm, thereby satisfying both functional and driver comfort requirements. The MATLAB based workflow also facilitated requirement traceability and automated test case validation, enabling quantitative comparisons of control response across different speeds and curvature transitions. These results establish a clear link between simulation fidelity and control performance, providing a reference for calibration transfer in higher fidelity environments. The paper concludes with discussion on extending the algorithm to real time Hardware-in-the-Loop (HIL) and Vehicle-in-the-Loop (VIL) platforms, demonstrating scalability toward full vehicle implementation and providing a validated framework for future high speed lane centering development.
Advancing HIL and SIL Validation for eVTOL from Tip to Battery to Tail by Bloomy Controls
Functional Mock-up Units (FMUs) have become a standard for enabling co-simulation and model exchange in vehicle development. However, traditional FMUs derived from physics-based models can be computationally intensive, especially in scenarios requiring real-time performance. This paper presents a Python-based approach for developing a Neural Network (NN) based FMU using deep learning techniques, aimed at accelerating vehicle simulation while ensuring high fidelity. The neural network was trained on vehicle simulation data and trained using Python frameworks such as TensorFlow. The trained model was then exported into FMU, enabling seamless integration with FMI-compliant platforms. The NN FMU replicates the thermal behavior of a vehicle with high accuracy while offering a significant reduction in computational load. Benchmark comparisons with a physical thermal model demonstrate that the proposed solution provides both efficiency and reliability across various driving conditions. The paper discusses the workflow for model training and integration strategies for deep learning models within simulation tools like AMESIM and Simulink. With this approach significant time reduction is observed without affecting the accuracy when compared with the physical model. NN FMU also reduces efforts up to 40 % compared with traditional FMU conversion. CPU improvement from physical to NN FMU model achieved greater than 30 % reduction with the same accuracy. NN FMU maintains FMI compatibility and can be directly used in a wide range of XiL applications such as Model-in-the-Loop (MiL), Software-in-Loop (SiL), and Hardware-in-Loop (HiL) testing scenarios. This NN FMUs opens pathways for hybrid modelling approaches that combine data-driven and physics-based paradigms for automotive simulations.
With the rapid advancement of connected vehicle technologies, infotainment Electronic Control Units (ECUs) have become central to user interaction and connectivity within modern vehicles. However, this enhanced functionality has introduced new vulnerabilities to cyberattacks. This paper explores the application of Artificial Intelligence (AI) in enhancing the cybersecurity framework of infotainment ECUs. The study introduces AI-powered modules for threat detection and response, presents an integrated architecture, and validates performance through simulation using MATLAB, CANoe, and NS-3. This approach addresses real-time intrusion detection, anomaly analysis, and voice command security. Key benefits include zero-day exploit resistance, scalability, and continuous protection via OTA updates. The paper references real-world automotive cyberattack cases such as OTA vulnerability patches, Connected Drive exploits, and Uconnect hack, emphasizing the critical need for AI-enabled proactive cybersecurity frameworks.
Nowadays, digital instrument clusters and modern infotainment systems are crucial parts of cars that improve the user experience and offer vital information. It is essential to guarantee the quality and dependability of these systems, particularly in light of safety regulations such as ISO 26262. Nevertheless, current testing approaches frequently depend on manual labor, which is laborious, prone to mistakes, and challenging to scale, particularly in agile development settings. This study presents a two-phase framework that uses machine learning (ML), computer vision (CV), and image processing techniques to automate the testing of infotainment and digital cluster systems. The NVIDIA Jetson Orin Nano Developer Kit and high-resolution cameras are used in Phase 1's open loop testing setup to record visual data from infotainment and instrument cluster displays. Without requiring input from the system being tested, this phase concentrates on both static and dynamic user interface analysis, including screen transitions, animations, and error messages. Among the methods used are optical character recognition (OCR) for on-screen text validation, convolutional neural networks (CNNs) for screen classification, and object detection for user interface verification. Automated anomaly detection and interface behavior evaluation are made easier with this method. Phase 2 suggests integrating a Hardware-in-the-Loop (HIL) simulator to transform the system into a closed-loop testing environment. The vision-based system will assess system responsiveness and end-to-end behavior, while the HIL setup will produce simulated user inputs and vehicle network data (such as CAN, Ethernet). This thorough framework tackles important issues like complex system integration, multimodal interaction testing, and managing cognitive load. In order to support the creation of safer, more user-friendly infotainment and digital cluster systems that are in line with Advanced Driver Assistance Systems (ADAS) standards, it seeks to decrease the amount of manual testing effort, increase test coverage, and improve consistency.
The distribution of mobility equipped with electrified power units is advancing towards carbon-neutral society. The electrified power units require an integration of numerous hardware components and large-scale software to optimize high-performance system. Additionally, a value-enhancement cycle of mobility needs to be accelerated more than ever. The challenge is to achieve high-quality performance and high-efficient development using Model-Based Development (MBD). The development process based on V-model has been applied to electrified power units in passenger vehicle. Traditionally, MBD has been primarily utilized in the left bank (performance design phase) of the V-model for power unit development. MBD in performance design phase has been widely implemented in research and development because it refines prototype performance and reduces the number of prototypes. However, applying the MBD to an entire power unit development process from performance design phase to performance verification phase is not achieved. This is because 1D models constructed during the performance design phase with the MBD are not intended for use in the performance verification phase. As a result, the MBD effect is insufficient for the high-efficient development. Therefore, uses of 1D models that made at the performance design phase for the left bank should be enhanced. In particular, the 1D system model that integrated sub-systems is important for applying the MBD to the verification phase. The 1D system model is able to use for a virtual calibration of control of a vehicle system. In addition, the verification with Hardware-in-the-Loop Simulation (HILS), Engine-in-the-Loop (EIL), and Power unit-in-the-Loop (PIL) is also achieved smoothly by using the sub-system models in the 1D system model. The 1D system model standardization is necessary for achieving the above high-efficient development process. This paper explains efforts to the standardize model assuming the use of MBD throughout the entire power unit development process and practical efforts of both performance design phase and the verification phase using the standardized model.
This paper presents a comprehensive testing framework and safety evaluation for Vehicle-to-Vehicle (V2V) charging systems, incorporating advanced theoretical modeling and experimental validation of a modern, integrated 3-in-1 combo unit (PDU, DCDC, OBC). The proliferation of electric vehicles has necessitated the development of resilient and flexible charging solutions, with V2V technology emerging as a critical decentralized infrastructure component. This study establishes a rigorous mathematical framework for power flow analysis, develops novel safety protocols based on IEC 61508 and ISO 26262 functional safety standards, and presents comprehensive experimental validation across 47 test scenarios. The framework encompasses five primary test categories: functional performance validation, power conversion efficiency optimization, electromagnetic compatibility (EMC) assessment, thermal management evaluation, and comprehensive fault-injection testing including Byzantine fault scenarios. Through systematic experimental validation using advanced power electronics simulation and hardware-in-the-loop (HIL) testing, we demonstrate 98.2% power conversion efficiency, sub-50ms fault detection response times, and compliance with automotive safety integrity level ASIL-D requirements. Our results establish the theoretical foundations and practical validation methodologies essential for next-generation V2V charging infrastructure deployment.
The growth of the electric vehicle market has driven the advancement of technologies related to energy storage and lithium-ion cells, which stand out for their fast charge and discharge capabilities, high energy density, and long service life. This paper proposes a thermal control strategy for lithium-ion battery packs using the Active Disturbance Rejection Control (ADRC) method. The model is developed in Simcenter Amesim software, using cylindrical 21700 cells in a pack equipped with a water-cooling system, and was adapted for export in FMU format and integrated into MATLAB/Simulink, where the control algorithms were designed and simulated. From step input tests, a first-order transfer function was identified with a fitting of 97.67%, supporting the adoption of a first-order ADRC. The tests involved scenarios with changes in temperature reference and current disturbances typical of vehicle operation. Results indicate that ADRC performs satisfactorily in temperature tracking, even under actuator saturation, and particularly excels in disturbance rejection, outperforming the proportional-integral-derivative (PID) controller in speed and precision. Furthermore, ADRC proved robust to system degradation—an essential feature in the thermal management of batteries subject to aging. The proposed approach shows promise for real-world applications, offering thermal stability and extended system lifespan. For future work, experimental validation through Hardware-in-the-Loop (HiL) is suggested.
This article suggests a validation methodology for autonomous driving. The goal is to validate front camera sensors in advanced driver-assist systems (ADAS) based on virtually generated scenarios. The outcome is the CARLA-based hardware-in-the-loop (HIL) simulation environment (CHASE). It allows the rapid prototyping and validation of the ADAS software. We tested this general approach on a specific experimental application/setup for a vehicle front camera sensor. The setup results were then proven to be comparable to real-world sensor performance. The CARLA simulation environment was used in tandem with a vehicle CAN bus interface. This introduced a significantly improved realism to user-defined test scenarios and their results. The approach benefits from almost unlimited variability of traffic scenarios and the cost-efficient generation of massive testing data.
Functional safety is driven by number of standards like in automotive its driven by ISO26262, in Aerospace its driven by DO-178C, and in Medical its driven by IEC 60601. Automotive electronic controllers must adhere to state-of-the-art functional safety standard provided by ISO26262. A critical functional safety requirement is the Fault Handling Time Interval (FHTI), which includes the Fault Detection Time Interval (FDTI) and Fault Reaction Time Interval (FRTI). The requirements for FHTI are derived from Failure Mode Effect Analysis (FMEA) conducted at the system level. Various fault categories are analyzed, including electrical faults (e.g., short to battery, short to ground, open circuits), systemic faults (e.g., sensor value stuck, sensor value beyond range), and communication faults (e.g., incorrect CAN message signal values). Controllers employ strategies such as debouncing and fault time maturity to detect these faults. Numerous FDTI requirements must be verified to ensure compliance with FMEA-identified faults. Significant portion of total quantum of Test procedures of entire system are fault injection test cases, Manual testing of these cases is cumbersome, hence automating these tests is crucial for efficient regression testing. In HIL environment, ECU variables and communication signals are available for processing within tool which contains fault information which needs to be processed for FDTI calculations. The paper examines diverse strategies to handle the complexity of FDTI test cases in the HIL environment through automation, leveraging tool features, time trigger, time synchronization, post-processing techniques and real-time calculations during test execution to process FDTI calculations, ensuring thorough verification of functional safety requirements.
Ground vehicle software continues to increase in cost and complexity, in part driven by tightly integrated systems and vendor lock-in. One method of reducing costs is reuse and portability, encouraged by the Modular Open Systems Approach and the Future Airborne Capability Environment (FACE) architecture. While FACE provides a Conformance Testing Suite to ensure portability between compliant systems, it does not verify that components correctly implement standard interfaces and desired functionality. This paper presents a layered test methodology designed to ensure that a FACE component correctly implements working communication interfaces, correctly handles the full range of data the component is expected to manage, and correctly performs all of the functionality the component is required to perform. This testing methodology includes unit testing of individual components, integration testing across multiple units, and full hardware in the loop system integration testing, offering a structured approach to validating FACE conformant components beyond formal conformance.
Items per page:
50
1 – 50 of 763