Browse Topic: Hardware-in-the-loop (HIL)
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.
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.
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.
Advancing HIL and SIL Validation for eVTOL from Tip to Battery to Tail by Bloomy Controls
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.
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.
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.
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.
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.
The development of cyber-physical systems necessarily involves the expertise of an interdisciplinary team – not all of whom have deep embedded software knowledge. Graphical software development environments alleviate many of these challenges but in turn create concerns for their appropriateness in a rigorous software initiative. Their tool suites further enable the creation of physics models which can be coupled in the loop with the corresponding software component’s control law in an integrated test environment. Such a methodology addresses many of the challenges that arise in trying to create suitable test cases for physics-based problems. If the test developer ensures that test development in such a methodology observes software engineering’s design-for-change paradigm, the test harness can be reused from a virtualized environment to one using a hardware-in-the-loop simulator and/or production machinery. Concerns over the lack of model-based software engineering’s rigor can be mitigated at each point in the development cycle – setting the stage for the methodology’s power in safety-critical software systems; it is an approach that is proven in use at aerospace companies flying rockets and some leading-edge automotive companies.
Nowadays, Software-in-the-Loop (SIL) represents a crucial methodology in the development and validation of control systems, particularly in sectors such as automotive, marine, and aerospace. It involves creating a virtual representation of a real environment with varying levels of accuracy. Using SIL techniques, engineers can develop and test software in the early stages of the development cycle, reducing overall time-to-market and costs. Typically, to simulate complex control systems, a primary tool is used to manage and integrate an entire application-specific environment composed of application software, plants, sensors and actuators, and communication protocols. Although several commercial solutions are currently available on the market to support SIL activities, Dumarey Softronix wanted to explore the possibility of developing an in-house software tool to leverage the benefits of SIL. This paper provides a high-level overview of the main steps involved in developing a complete SIL framework in contexts compliant with Autosar and based on Functional Mock-up Interface (FMI) standards. In the first part of the paper, the main choices behind the development of a SIL tool will be presented, such as the selection of the GUI framework selection, the simulation engine and the co-simulation framework. In the second part, the authors will discuss the key features a SIL solution should offer, including C-code building, C-code debugging, calibration loader, XCP/ASAP2, and a bus analyzer. In the final part of the paper, the tool is assessed by selecting two projects and comparing the results of a HIL bench with SIL results. The comparison highlights the consistency and accuracy of the SIL tool, demonstrating its ability to replicate real-world scenarios in a virtual simulation environment.
Items per page:
50
1 – 50 of 752