CN118426445A - HIL test device, method, equipment and storage medium for information entertainment system - Google Patents
HIL test device, method, equipment and storage medium for information entertainment system Download PDFInfo
- Publication number
- CN118426445A CN118426445A CN202410556527.6A CN202410556527A CN118426445A CN 118426445 A CN118426445 A CN 118426445A CN 202410556527 A CN202410556527 A CN 202410556527A CN 118426445 A CN118426445 A CN 118426445A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- hil
- information entertainment
- tested
- entertainment system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The application relates to the technical field of automobiles, and discloses an HIL (high performance liquid chromatography) testing device, method, equipment and storage medium of an infotainment system, wherein the device comprises: the HIL upper computer is used for designing, configuring and controlling the whole test flow, and carrying out real-time processing and verification according to the test data of the test interface; the HIL cabinet comprises simulation equipment and a simulation model for simulating interaction with the vehicle-mounted information entertainment system to be tested; the instrument module is used for simulating the functional characteristics of the vehicle-mounted instrument; the vehicle-mounted information entertainment system comprises a vehicle-mounted system module and a vehicle-mounted information entertainment system module, wherein the vehicle-mounted system module is used for simulating all functions of a vehicle-mounted part in the vehicle-mounted information entertainment system to be tested; and the air conditioner adjusting module is used for simulating the working state of the vehicle-mounted air conditioning system. And the functional performance and performance index of the vehicle-mounted information entertainment system are verified by acquiring and comparing the feedback data of the system and the simulation prediction result in real time, so that the integrated test precision and test efficiency of the vehicle-mounted information entertainment system are improved.
Description
Technical Field
The invention relates to the technical field of automobiles, in particular to an HIL (high performance liquid level) testing device, method and equipment for an infotainment system and a storage medium.
Background
Along with the development of automobile intellectualization, the functions related to the information entertainment module are more and more, the number of the received and transmitted signals is the largest system on the whole automobile, and the information entertainment module is also an important field for new function innovation and research and development.
The research of various hardware-in-loop simulation systems disclosed at present is basically that a controller test system of a vehicle body and a chassis is related to the whole vehicle, and in order to develop comprehensive function tests of the whole vehicle controller and test works of various dangerous working conditions, limit working conditions and the like, no applicable hardware-in-loop test method exists for the test system of an information entertainment module, and the test is basically that a real bench is built, but the current bench is built and needs to be matched with a vehicle type, so that the compatibility is poor, more other controller parts are involved, the influence of the states of other parts is easy, the test efficiency is low, an actual controller and a load are required to be configured according to the vehicle type, or a simulation test model of a single part cannot be considered, the whole information entertainment system needs to take more time to carry out a large number of repeated signal receiving and transmitting operations, and the test efficiency is seriously influenced.
Disclosure of Invention
The invention mainly aims to provide an HIL test device, an HIL test method, HIL test equipment and an HIL test storage medium for an infotainment system, and aims to solve the problem that the test efficiency is low due to the fact that a plurality of parts of an in-vehicle infotainment system are provided.
To achieve the above object, the present invention provides an infotainment system HIL testing apparatus, the apparatus at least comprising: the system comprises an HIL upper computer, an HIL cabinet, an instrument module, a vehicle-mounted system module and an air conditioner adjusting module, wherein the HIL upper computer is connected with the HIL cabinet, and the HIL cabinet is respectively connected with the instrument module, the vehicle-mounted system module and the air conditioner adjusting module;
the HIL upper computer is used for designing, configuring and controlling the whole test flow, and carrying out real-time processing and verification according to the test data of the test interface;
The HIL cabinet comprises simulation equipment and a simulation model for simulating interaction with the vehicle-mounted information entertainment system to be tested, wherein the simulation equipment at least comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor;
The instrument module is used for simulating the functional characteristics of the vehicle-mounted instrument, receiving and responding to the signals of the HIL upper computer, simulating the instrument panel to display information and feeding back the signals;
The vehicle-mounted information entertainment system comprises a vehicle-mounted information entertainment system to be tested, a HIL upper computer, a vehicle-mounted information entertainment system module and a vehicle-mounted information entertainment system module, wherein the vehicle-mounted information entertainment system to be tested is used for simulating all functions of a vehicle-mounted part in the vehicle-mounted information entertainment system to be tested, and exchanging data with the HIL upper computer to verify the functional integrity of the HIL upper computer;
The air conditioner adjusting module is used for simulating the working state of the vehicle-mounted air conditioning system, can receive and process the air conditioner control instruction of the HIL upper computer, and simulates a corresponding air conditioner working mode and a state feedback signal according to the instruction.
Optionally, the HIL cabinet is further configured to interface with the vehicle-mounted information entertainment system to be tested one by one through the BOB junction box according to interface definition, and set as a corresponding transceiver model according to the interface signal type;
The HIL upper computer is also used for developing and debugging test engineering, simulating a power switch, a signal switch, a pulse signal and a bus signal, and matching with an I/O board card of the HIL cabinet to realize HIL test.
Optionally, the simulation equipment at least comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor;
The I/O board card is used for realizing signal input and output between the I/O board card and the vehicle-mounted information entertainment system to be tested;
The bus simulation board card is used for realizing network communication interaction with the vehicle-mounted information entertainment system to be tested;
the programmable power supply is used for providing power supply voltages of different grades for the vehicle-mounted information entertainment system to be tested;
The real-time processor is used for processing the data stream generated by the simulation model in real time and running the simulation model.
Optionally, the simulation model is constructed based on a Matlab/Simulink platform and is used for configuring a corresponding power module, a bus module and a signal module according to the function of the vehicle-mounted information entertainment system to be tested;
the power supply module is used for realizing different power supply requirements by adjusting the feedback resistor voltage dividing ratio of the internal voltage stabilizing source;
the bus module is used for simulating the real-time communication process of the CAN bus, the LIN bus or other buses through the simulation model;
the signal module is used for signal generation, transformation, transmission and processing functions.
Optionally, the device further comprises a signal receiving and transmitting model for simulating and realizing signal interaction between the vehicle-mounted information entertainment system and other modules of the whole vehicle.
Optionally, the device further comprises a scene model, and the model is configured on the vehicle-mounted system module and used for realizing one-key setting of different scene modes and feeding back scene simulation results through the test interface so as to test the functional modes of the intelligent cabin.
Optionally, the device further comprises a diagnosis model for simulating fault signals to the bus to interact with the vehicle-mounted infotainment system according to the whole vehicle diagnosis questionnaire, so that fault recording and alarming functions of the infotainment system are tested.
In addition, in order to achieve the above objective, the present invention further provides an information entertainment system HIL testing method, which is applied to an information entertainment system HIL testing device, and the method includes:
corresponding signal butt joint is carried out on the vehicle-mounted information entertainment system to be tested through the BOB junction box;
setting a receiving and transmitting mode corresponding to the signal type according to the interface definition of the vehicle-mounted information entertainment system to be tested;
developing and debugging a test project, wherein analog signal conversion interacts with the vehicle-mounted information entertainment system to be tested through an I/O board card;
Constructing a simulation model corresponding to the vehicle-mounted information entertainment system to be tested, wherein the simulation model is connected with the vehicle-mounted information entertainment system to be tested by constructing input and output signals;
according to a preset parameter value, transmitting an analog signal to the vehicle-mounted information entertainment system to be tested;
After receiving the analog signal, the vehicle-mounted information entertainment system to be tested generates a control instruction and feeds back the execution state;
after receiving the feedback signal, monitoring and synchronizing the state information;
And displaying the state information obtained in real time and comparing with the simulation model result to verify the performance index of the vehicle-mounted information entertainment system to be tested.
In addition, to achieve the above object, the present invention also provides an infotainment system HIL test apparatus, the apparatus comprising: the system comprises a memory, a processor and an infotainment system HIL test program stored on the memory and executable on the processor, wherein the infotainment system HIL test program is configured to implement the steps of the infotainment system HIL test method.
In addition, in order to achieve the above object, the present invention further provides a storage medium having stored thereon an infotainment system HIL test program, which when executed by a processor implements the steps of the infotainment system HIL test method.
The invention designs, configures and controls the whole testing flow through the HIL upper computer, and carries out real-time processing and verification according to the testing data of the testing interface; the HIL cabinet comprises simulation equipment and a simulation model which are interacted with the vehicle-mounted information entertainment system to be tested, wherein the simulation equipment at least comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor; the instrument module simulates the functional characteristics of the vehicle-mounted instrument, receives and responds to the signals of the HIL upper computer, simulates the instrument panel to display information and feeds back the signals; the vehicle-mounted information entertainment system comprises a vehicle-mounted information entertainment system to be tested, a vehicle-mounted computer system module, a HIL upper computer and a HIL control module, wherein the vehicle-mounted information entertainment system module is used for simulating all functions of a vehicle-mounted computer part in the vehicle-mounted information entertainment system to be tested, and exchanging data with the HIL upper computer to verify the functional integrity of the HIL upper computer; the air conditioner adjusting module simulates the working state of the vehicle-mounted air conditioning system, can receive and process the air conditioner control instruction of the HIL upper computer, and simulates a corresponding air conditioner working mode and a state feedback signal according to the instruction. By building a highly matched simulation model, then sending a simulation signal to the vehicle-mounted information entertainment system according to preset test parameters, triggering the system to generate a control instruction and feeding back an execution state, acquiring and comparing system feedback data and simulation prediction results in real time to verify the functional performance and performance index of the vehicle-mounted information entertainment system, and improving the integration test precision and test efficiency of the vehicle-mounted information entertainment system.
Drawings
FIG. 1 is a block diagram of a first embodiment of an infotainment system HIL test device according to the invention;
FIG. 2 is a block diagram of a second embodiment of an infotainment system HIL test device according to the invention;
FIG. 3 is a flowchart of a HIL test method for an infotainment system according to a first embodiment of the invention;
FIG. 4 is a flowchart of a HIL test method for an infotainment system according to a second embodiment of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a block diagram showing the construction of a first embodiment of the HIL testing apparatus of the infotainment system of the present invention.
In this embodiment, the infotainment system HIL testing apparatus includes: the HIL upper computer 10, the HIL cabinet 20, the instrument module 30, the vehicle system module 40 and the air conditioner adjusting module 50, wherein the HIL upper computer 10 is connected with the HIL cabinet 20, and the HIL cabinet 20 is respectively connected with the instrument module 30, the vehicle system module 40 and the air conditioner adjusting module 50.
The HIL host computer 10 is used for designing, configuring and controlling the whole test flow, and carrying out real-time processing and verification according to the test data of the test interface.
It will be appreciated that the HIL host computer 10 is responsible for design, configuration, control of test flows, and real-time data processing and verification in the field of in-vehicle infotainment system testing.
It should be noted that, specifically, the tester creates and customizes the test plan and scenario through the HIL host computer 10 platform, including from basic signal input and output testing to complex system integration verification. The HIL host computer 10 provides a graphical test interface, so that a tester can configure various test parameter settings corresponding simulation models and define fault placement strategies according to the actual structure and functional requirements of the vehicle-mounted infotainment system. In the configuration stage, the HIL host computer 10 realizes accurate simulation of the test environment through close cooperation with the I/O board card, the simulation device and the simulation model. The HIL upper computer 10 can flexibly set corresponding signal receiving and transmitting modes according to interface definitions and communication protocols of vehicle-mounted information entertainment systems with different models and different configurations, and ensures accurate butt joint between simulation signals and actual systems. In the aspect of controlling the whole test flow, the HIL upper computer 10 has real-time control capability, can automatically or manually start a test sequence, controls the simulation model to operate according to a preset test case, and simultaneously monitors the execution condition of each step in the test process to ensure the orderly execution of the test flow. As for the real-time data processing and verification links, the HIL upper computer 10 acquires various signal feedback of the vehicle-mounted information entertainment system to be tested in real time through a high-speed data acquisition system, and performs real-time analysis and calculation by using an advanced signal processing algorithm. On the one hand, the system can perform real-time visual display on test data, such as a real-time data display panel, a graph, a histogram and the like, and help testers to intuitively know the real-time state and performance index of the system. On the other hand, the HIL host computer 10 also performs real-time verification on the received data according to the preset test standard and threshold value, and determines whether the system response accords with the expectation, if there is deviation or error, immediately triggers an alarm or stops the test, so as to ensure the accuracy and reliability of the test result.
The HIL cabinet comprises simulation equipment and a simulation model for simulating interaction with the vehicle-mounted information entertainment system to be tested, wherein the simulation equipment comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor.
In this embodiment, the I/O board is configured to implement signal input and output with the vehicle-mounted infotainment system to be tested; the bus simulation board card is used for realizing network communication interaction with the vehicle-mounted information entertainment system to be tested; the programmable power supply is used for providing power supply voltages of different grades for the vehicle-mounted information entertainment system to be tested; and the real-time processor is used for processing the data stream generated by the simulation model in real time and running the simulation model.
Specifically, I/O signals can be categorized into input and output types, and signal types can be categorized as: the simulation and monitoring of input and output signals and a CAN bus CAN be realized through an I/O board card in the HIL cabinet 20, so that the vehicle-mounted information entertainment system to be tested is in a full-function state, the HIL cabinet 20 monitors corresponding signals and feeds back the signals to the HIL upper computer 10 through the Ethernet, the HIL upper computer 10 processes the corresponding signals through a test programming program and then selects to return response signals or display results, the HIL cabinet 20 receives the response signals and then simulates and sends the response signals to the vehicle-mounted information entertainment system to be tested, and a tester CAN conduct function judgment by observing the display of a test interface in the HIL upper computer 10.
It is to be understood that the simulation model is constructed based on a Matlab/Simulink platform and is used for configuring a corresponding power module, bus module and signal module according to the functions of the vehicle-mounted information entertainment system to be tested. The power supply module is used for realizing different power supply requirements by adjusting the feedback resistance voltage dividing ratio of the internal voltage stabilizing source; the bus module is used for simulating the real-time communication process of the CAN bus, the LIN bus or other buses through the simulation model; and the signal module is used for signal generation, transformation, transmission and processing functions.
Specifically, the power supply module is an important component in the simulation model, and can establish an accurate power supply system model according to the actual power supply configuration and the working characteristics of the vehicle-mounted information entertainment system to be tested under the Matlab/Simulink environment, including but not limited to a battery, a voltage stabilizer, a power supply management module and other elements, simulate the voltage fluctuation, power supply conversion efficiency, load change and other conditions of the power supply under different working conditions, and realize different power supply requirements of a part system, such as 24V and 12V of a main power supply and 5V of a sensor power supply, by adjusting the feedback resistance voltage dividing ratio of an internal voltage stabilizing source, so as to test the stability and reliability of the system to be tested under various power supply conditions. The bus module provides physical link for a communication system (CAN bus and LIN bus) of the vehicle-mounted information entertainment system to be tested and the simulation model, the I/O board card carries out physical analysis on bus communication signals of the system and then uploads the bus communication signals to the simulation model for monitoring, and meanwhile, operation variables in the model are converted into CAN protocol voltage difference and sent to the tested system, so that corresponding functions or display are realized. The signal module is a HIL cabinet 20 as a signal transfer controller, collects real signals sent by a tested system, simulates virtual signals sent by a simulation model, and converts digital, analog, resistance, pulse Width Modulation (PWM) and pulse signals between the tested system and the simulation model. Based on Matlab/Simulink, various types of signals such as analog digital signals, analog signals, pulse width modulation signals, serial communication signals and the like can be designed, and actual environmental factors such as transmission delay, noise interference and the like of the analog signals can be realized, so that the response speed, accuracy and robustness of the vehicle-mounted information entertainment system to be tested in the face of various signal input are verified.
The instrument module 30 is used for simulating the functional characteristics of the vehicle-mounted instrument, receiving and responding to the signals of the HIL upper computer 10, simulating the instrument panel to display information and performing signal feedback.
The vehicle system module 40 is used for simulating all functions of a vehicle part in the vehicle information entertainment system to be tested, and exchanging data with the HIL host computer 10 to verify the functional integrity of the vehicle part.
The air conditioning adjusting module 50 is configured to simulate an operating state of the vehicle-mounted air conditioning system, and is capable of receiving and processing an air conditioning control instruction of the HIL host computer 10, and simulating a corresponding air conditioning operating mode and a state feedback signal according to the instruction.
It should be understood that, in this embodiment, taking the air conditioner Auto adjusting function as an example, an environmental temperature value is preset in the simulation model, when the air conditioner Auto adjusting function is activated in the interface of the vehicle system module 40, the HIL cabinet 20 converts the temperature value into a corresponding sensor voltage value and sends the sensor voltage value to the vehicle system module 40 and the air conditioner adjusting module 50, the air conditioner adjusting module 50 receives the environmental temperature sent by the HIL cabinet 20, calculates a proper temperature value and an air volume value through an algorithm, the HIL cabinet 20 receives an air blowing mode signal sent by the vehicle system module 40, outputs a proper torque signal to the temperature, the air volume and the mode motor, and sends a feedback signal, the vehicle system module 40 receives the feedback signal and then displays the temperature and the air volume value set by the air conditioner, and simultaneously, the HIL cabinet 20 monitors bus signals sent by the vehicle system module 40 and the air conditioner, feeds back to the HIL upper computer 10 synchronously, displays information such as the running state, the temperature value, the air volume value, the air blowing mode and the like of the air conditioner, and whether the real object states are consistent or not in the test interface. The present embodiment does not limit the functions of the in-vehicle infotainment system, but is not limited to the air conditioning functions described in the embodiments described in detail herein, and all that is based on the disclosure of the present invention is considered to be within the scope of the present invention as claimed.
The embodiment designs, configures and controls the whole test flow through the HIL upper computer, and carries out real-time processing and verification according to the test data of the test interface; the HIL cabinet comprises simulation equipment and a simulation model which are interacted with the vehicle-mounted information entertainment system to be tested, wherein the simulation equipment at least comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor; the instrument module simulates the functional characteristics of the vehicle-mounted instrument, receives and responds to the signals of the HIL upper computer, simulates the instrument panel to display information and feeds back the signals; the vehicle-mounted information entertainment system comprises a vehicle-mounted information entertainment system to be tested, a vehicle-mounted computer system module, a HIL upper computer and a HIL control module, wherein the vehicle-mounted information entertainment system module is used for simulating all functions of a vehicle-mounted computer part in the vehicle-mounted information entertainment system to be tested, and exchanging data with the HIL upper computer to verify the functional integrity of the HIL upper computer; the air conditioner adjusting module simulates the working state of the vehicle-mounted air conditioning system, can receive and process the air conditioner control instruction of the HIL upper computer, and simulates a corresponding air conditioner working mode and a state feedback signal according to the instruction. By building a highly matched simulation model, then sending a simulation signal to the vehicle-mounted information entertainment system according to preset test parameters, triggering the system to generate a control instruction and feeding back an execution state, acquiring and comparing system feedback data and simulation prediction results in real time to verify the functional performance and performance index of the vehicle-mounted information entertainment system, and improving the integration test precision and test efficiency of the vehicle-mounted information entertainment system.
Referring to fig. 2, fig. 2 is a block diagram showing the construction of a second embodiment of the HIL testing apparatus for an infotainment system according to the present invention.
In this embodiment, it should be understood that the vehicle infotainment system to be tested includes the instrument module 30, the vehicle system module 40 and the air conditioning module 50, the HIL host computer 10 is connected with the HIL cabinet 20, the HIL cabinet 20 includes the BOB junction box 60, and the HIL cabinet 20 is connected with the instrument module 30, the vehicle system module 40 and the air conditioning module 50 through the BOB junction box 60.
The HIL cabinet 20 is further configured to interface with the vehicle-mounted infotainment system to be tested one by one through the BOB junction box 60 according to the interface definition, and set as a corresponding transceiver model according to the type of the interface signal.
According to the interface specifications and technical requirements of the vehicle-mounted infotainment system to be tested, the HIL cabinets are precisely connected in one-to-one correspondence to the physical interfaces through the BOB junction box 60. The BOB junction box includes multiple types of ports, and can accommodate different interface standards, such as CAN, LIN, ethernet, USB, analog signal input/output ports, and the like. Each type of interface signal is provided with a corresponding signal receiving and transmitting model in the simulation model, so that the signals sent by the simulation model can be accurately transmitted to the vehicle-mounted information entertainment system to be tested, and the feedback signal vehicle-mounted information from the vehicle-mounted information entertainment system to be tested can be received. Therefore, the HIL test device of the entertainment system further comprises a signal receiving and transmitting model which is used for simulating the signal interaction between the vehicle-mounted information entertainment system and other modules of the whole vehicle, and specifically, the signal receiving and transmitting model simulates the signal interaction between the whole vehicle system and the information entertainment system according to various sensor signals, whole vehicle switching signals, light lighting signals, vehicle speed rotating speed signals and the like.
The HIL upper computer 10 is also used for developing and debugging test engineering, simulating a power switch, a signal switch, a pulse signal and a bus signal, and matching with an I/O board card of the HIL cabinet 20 to realize HIL test.
It should be noted that, the HIL host computer 10 also simulates signals in various practical application scenarios, and outputs signals through the I/O board card in the HIL cabinet 20. The HIL upper computer 10 also verifies the received data in real time according to preset test standards and thresholds, judges whether the response of the system accords with the expectations, and if the response has deviation or error, immediately triggers an alarm or stops the test to ensure the accuracy and the credibility of the test result, so that the system also needs the functions of scene change, fault inquiry and the like in the whole vehicle.
It will be appreciated that the information entertainment system HIL testing apparatus further includes a scene model configured on the car machine system module 40 for implementing one-key setting of different scene modes and feedback of scene simulation results through the testing interface, so as to test the functional modes of the intelligent cabin. The HIL test device of the infotainment system further comprises a diagnosis model, wherein the diagnosis model is used for simulating fault signals to the bus to interact with the infotainment system according to a whole vehicle diagnosis questionnaire, so that fault recording and alarming functions of the infotainment system are tested.
According to the embodiment, the HIL cabinet is in one-to-one butt joint with the vehicle-mounted information entertainment system to be tested through the BOB junction box according to interface definition, and the HIL cabinet is set to be a corresponding receiving and transmitting model according to the type of an interface signal; the HIL upper computer performs development and debugging of test engineering, simulates a power switch, a signal switch, a pulse signal and a bus signal, matches with an I/O board card of the HIL cabinet to realize HIL test, and ensures high consistency of a test environment and an actual application environment and improves accuracy and reliability of a test result by accurately simulating various signals and events in a real vehicle environment.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of the HIL testing method of the infotainment system according to the invention.
And S10, carrying out corresponding signal butt joint with the vehicle-mounted information entertainment system to be tested through the BOB junction box.
It should be understood that in the actual testing process, corresponding simulation signals are generated through the configuration of HIL upper computer software according to the interface definition and the signal type of the vehicle-mounted information entertainment system to be tested, and the simulation signals are output to the vehicle-mounted information entertainment system to be tested through the corresponding interface of the HIL cabinet connection BOB junction box. For example, when the power management function of the vehicle-mounted information entertainment system needs to be tested, the HIL upper computer simulates the power switch state or the power voltage change through a bus or an analog signal interface, converts the analog signals into actual electric signals through an HIL cabinet, and connects with a BOB junction box to be transmitted to the tested vehicle-mounted information entertainment system.
Step S20, setting a receiving and transmitting mode corresponding to the signal type according to the interface definition of the vehicle-mounted information entertainment system to be tested.
It should be understood that, according to the interface definition of the vehicle-mounted infotainment system to be tested, the tester needs to study and understand the meaning of signals carried by various interfaces and the working principle thereof, and correctly set the signal receiving and transmitting modes of the corresponding BOB junction boxes.
And step S30, developing and debugging a test project, wherein the analog signal conversion is interacted with the vehicle-mounted information entertainment system to be tested through the I/O board card.
And S40, constructing a simulation model corresponding to the vehicle-mounted information entertainment system to be tested, wherein the simulation model is connected with the input/output signals of the vehicle-mounted information entertainment system to be tested.
Step S50, according to the preset parameter value, transmitting an analog signal to the vehicle-mounted information entertainment system to be tested.
It should be understood that, according to the interface specification and the function requirement of the system to be tested, the tester may preset parameter values in the HIL testing device of the infotainment system, where the parameters may include, but are not limited to, power supply voltage variation, key signals, touch screen operation, voice commands, ambient temperature variation, illumination intensity variation, vehicle speed signals, CAN bus messages, LIN bus signals, and the like. In the actual testing process, the I/O board card of the HIL cabinet is used for converting the preset digital signals into analog signals or bus signals so as to meet the interface requirements of the vehicle-mounted information entertainment system to be tested. For example, when the automatic regulation function of the analog air conditioner is required, the HIL testing device of the infotainment system converts the digital temperature value into a corresponding analog voltage signal through a digital-to-analog converter according to a preset environmental temperature parameter value, wherein the analog voltage signal represents the environmental temperature value read by the sensor. These analog signals or bus signals are then interacted with each interface of the in-vehicle infotainment system to be tested by one-to-one accurate interfacing through the BOB junction box in the HIL cabinet.
And step S60, after the vehicle-mounted information entertainment system to be tested receives the analog signal, a control instruction is generated and the execution state is fed back.
It should be understood that the vehicle-mounted infotainment system to be tested analyzes and processes the analog signal according to a set protocol and logic after receiving the analog signal. Based on the analog signals of the preset parameter values, the vehicle-mounted information entertainment system generates corresponding control instructions, and meanwhile, after the vehicle-mounted information entertainment system executes the control instructions, the execution state of the vehicle-mounted information entertainment system is fed back through a bus or other communication modes.
Step S70, after receiving the feedback signal, monitoring and synchronizing the state information.
Step S80, comparing the state information obtained in real time with the simulation model result to verify the performance index of the vehicle-mounted information entertainment system to be tested.
It should be understood that in the development stage, a simulation model is generally established, and the simulation model can simulate the running state of the vehicle-mounted information entertainment system and the response conditions of the vehicle-mounted information entertainment system to various input signals under the actual working conditions, and is constructed based on multiple factors such as theoretical calculation, historical data analysis, system architecture design and the like, and is used for predicting the performance of the system in a real scene. Meanwhile, after receiving various analog input signals, the vehicle-mounted information entertainment system to be tested continuously updates the working state of the vehicle-mounted information entertainment system to be tested and outputs relevant data to the HIL upper computer in real time, the HIL upper computer displays the data in real time, and then a tester collects the real-time state data of the vehicle-mounted information entertainment system to be tested and the result data of the simulation model at the same time. Through the depth comparison analysis of the two groups of data, the consistency between the running effect of the vehicle-mounted information entertainment system to be tested under the actual condition and the target simulation prediction can be evaluated. If the two sets of data differ significantly, this may mean that the HIL test of the infotainment system under test is problematic.
In the embodiment, corresponding signal butt joint is carried out between the BOB junction box and the vehicle-mounted information entertainment system to be tested; setting a receiving and transmitting mode corresponding to the signal type according to the interface definition of the vehicle-mounted information entertainment system to be tested; developing and debugging a test project, and performing analog signal conversion to interact with the vehicle-mounted information entertainment system to be tested through the I/O board card; constructing a simulation model corresponding to the vehicle-mounted information entertainment system to be tested, wherein the simulation model is connected with input and output signals of the vehicle-mounted information entertainment system to be tested; according to the preset parameter value, transmitting an analog signal to an in-vehicle information entertainment system to be tested; after receiving the analog signal, the vehicle-mounted information entertainment system to be tested generates a control instruction and feeds back the execution state; after receiving the feedback signal, monitoring and synchronizing state information; and displaying the state information obtained in real time and comparing the state information with the simulation model result to verify the performance index of the vehicle-mounted information entertainment system to be tested. By building a highly matched simulation model, then sending a simulation signal to the vehicle-mounted information entertainment system according to preset test parameters, triggering the system to generate a control instruction and feeding back an execution state, acquiring and comparing system feedback data and simulation prediction results in real time to verify the functional performance and performance index of the vehicle-mounted information entertainment system, and improving the integration test precision and test efficiency of the vehicle-mounted information entertainment system.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of the HIL testing method of the infotainment system according to the invention.
Step S101, the HIL cabinet is in one-to-one butt joint with the vehicle-mounted information entertainment system to be tested through the BOB junction box according to interface definition, and is set to be a corresponding receiving and transmitting model according to the type of an interface signal.
It will be appreciated that the HIL cabinet is internally loaded with various types of I/O boards and emulation modules capable of simulating and outputting various signals consistent with the actual environment, including but not limited to digital signals, analog signals, bus signals. In the butt joint process, the signal type and the electrical characteristic of each interface need to be strictly matched with the interface of the vehicle-mounted information entertainment system to be tested, so that the signal interaction at the hardware level can be ensured to be accurate. After the docking is completed, the HIL cabinet is configured with a corresponding signal receiving and transmitting model according to the signal type of the system interface to be tested. For example, for a digital signal interface, switching logic to set high and low levels may be required; for analog signals, it may be desirable to configure an analog signal generator to simulate a continuously varying signal in a real environment; for bus signals, the HIL cabinet needs to simulate the communication behavior on the bus, including the sending and receiving of the message.
Step S102, the HIL upper computer performs development and debugging of test engineering, simulates a power switch, a signal switch, a pulse signal and a bus signal, and matches with an I/O board card of the HIL cabinet to realize HIL test.
According to the embodiment, the HIL cabinet is in one-to-one butt joint with the vehicle-mounted information entertainment system to be tested through the BOB junction box according to interface definition, and the HIL cabinet is set to be a corresponding receiving and transmitting model according to the type of an interface signal; the HIL upper computer performs development and debugging of test engineering, simulates a power switch, a signal switch, a pulse signal and a bus signal, matches with an I/O board card of the HIL cabinet to realize HIL test, and ensures high consistency of a test environment and an actual application environment and improves accuracy and reliability of a test result by accurately simulating various signals and events in a real vehicle environment.
In addition, in order to achieve the above object, the present invention also provides an infotainment system HIL test apparatus, the infotainment system HIL test apparatus comprising: the system comprises a memory, a processor and an infotainment system HIL test program stored on the memory and executable on the processor, the infotainment system HIL test program being configured to implement the steps of the infotainment system HIL test method as above.
Because the HIL test equipment of the infotainment system adopts all the technical schemes of all the embodiments, the HIL test equipment at least has all the beneficial effects brought by the technical schemes of the embodiments, and is not described in detail herein.
In addition, the embodiment of the invention also provides a storage medium, and the storage medium stores an infotainment system HIL test program, and the infotainment system HIL test program realizes the steps of the infotainment system HIL test method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in this embodiment may refer to the engineering mode control method provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (10)
1. An infotainment system HIL testing apparatus, said apparatus comprising at least: the system comprises an HIL upper computer, an HIL cabinet, an instrument module, a vehicle-mounted system module and an air conditioner adjusting module, wherein the HIL upper computer is connected with the HIL cabinet, and the HIL cabinet is respectively connected with the instrument module, the vehicle-mounted system module and the air conditioner adjusting module;
the HIL upper computer is used for designing, configuring and controlling the whole test flow, and carrying out real-time processing and verification according to the test data of the test interface;
The HIL cabinet comprises simulation equipment and a simulation model for simulating interaction with the vehicle-mounted information entertainment system to be tested, wherein the simulation equipment at least comprises an I/O board card, a bus simulation board card, a programmable power supply and a real-time processor;
The instrument module is used for simulating the functional characteristics of the vehicle-mounted instrument, receiving and responding to the signals of the HIL upper computer, simulating the instrument panel to display information and feeding back the signals;
The vehicle-mounted information entertainment system comprises a vehicle-mounted information entertainment system to be tested, a HIL upper computer, a vehicle-mounted information entertainment system module and a vehicle-mounted information entertainment system module, wherein the vehicle-mounted information entertainment system to be tested is used for simulating all functions of a vehicle-mounted part in the vehicle-mounted information entertainment system to be tested, and exchanging data with the HIL upper computer to verify the functional integrity of the HIL upper computer;
The air conditioner adjusting module is used for simulating the working state of the vehicle-mounted air conditioning system, can receive and process the air conditioner control instruction of the HIL upper computer, and simulates a corresponding air conditioner working mode and a state feedback signal according to the instruction.
2. The apparatus of claim 1, wherein the HIL cabinet is further configured to interface with the in-vehicle infotainment system to be tested one by one through a BOB junction box according to an interface definition, and set as a corresponding transceiver model according to an interface signal type;
The HIL upper computer is also used for developing and debugging test engineering, simulating a power switch, a signal switch, a pulse signal and a bus signal, and matching with an I/O board card of the HIL cabinet to realize HIL test.
3. The apparatus of claim 1, wherein the emulation device comprises at least an I/O board, a bus emulation board, a programmable power supply, and a real-time processor;
The I/O board card is used for realizing signal input and output between the I/O board card and the vehicle-mounted information entertainment system to be tested;
The bus simulation board card is used for realizing network communication interaction with the vehicle-mounted information entertainment system to be tested;
the programmable power supply is used for providing power supply voltages of different grades for the vehicle-mounted information entertainment system to be tested;
The real-time processor is used for processing the data stream generated by the simulation model in real time and running the simulation model.
4. The device of claim 1, wherein the simulation model is constructed based on a Matlab/Simulink platform and is used for configuring a corresponding power module, bus module and signal module according to the functions of the vehicle-mounted infotainment system to be tested;
the power supply module is used for realizing different power supply requirements by adjusting the feedback resistor voltage dividing ratio of the internal voltage stabilizing source;
the bus module is used for simulating the real-time communication process of the CAN bus, the LIN bus or other buses through the simulation model;
the signal module is used for signal generation, transformation, transmission and processing functions.
5. The apparatus of claim 1, further comprising a signal transceiver model for modeling signal interactions between the in-vehicle infotainment system and other modules of the entire vehicle.
6. The device of claim 1, further comprising a scene model configured on the vehicle system module for implementing one-touch setting of different scene modes and feedback of scene simulation results through the test interface for testing the functional mode of the intelligent cockpit.
7. The apparatus of claim 1, further comprising a diagnostic model for simulating fault signals to the bus to interact with the in-vehicle infotainment system according to a complete vehicle diagnostic questionnaire, thereby testing the infotainment system for fault recording and alarm functions.
8. An infotainment system HIL testing method, characterized in that the method is applied to an infotainment system HIL testing device as claimed in any one of claims 1 to 7, comprising:
corresponding signal butt joint is carried out on the vehicle-mounted information entertainment system to be tested through the BOB junction box;
setting a receiving and transmitting mode corresponding to the signal type according to the interface definition of the vehicle-mounted information entertainment system to be tested;
developing and debugging a test project, wherein analog signal conversion interacts with the vehicle-mounted information entertainment system to be tested through an I/O board card;
Constructing a simulation model corresponding to the vehicle-mounted information entertainment system to be tested, wherein the simulation model is connected with the vehicle-mounted information entertainment system to be tested by constructing input and output signals;
according to a preset parameter value, transmitting an analog signal to the vehicle-mounted information entertainment system to be tested;
After receiving the analog signal, the vehicle-mounted information entertainment system to be tested generates a control instruction and feeds back the execution state;
after receiving the feedback signal, monitoring and synchronizing the state information;
And displaying the state information obtained in real time and comparing with the simulation model result to verify the performance index of the vehicle-mounted information entertainment system to be tested.
9. An infotainment system HIL testing apparatus, said apparatus comprising: a memory, a processor and an infotainment system HIL test program stored on the memory and running on the processor, the infotainment system HIL test program being configured to implement the steps of the infotainment system HIL test method of claim 8.
10. A storage medium having stored thereon an infotainment system HIL test program which, when executed by a processor, implements the steps of the infotainment system HIL test method of claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410556527.6A CN118426445A (en) | 2024-05-07 | 2024-05-07 | HIL test device, method, equipment and storage medium for information entertainment system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410556527.6A CN118426445A (en) | 2024-05-07 | 2024-05-07 | HIL test device, method, equipment and storage medium for information entertainment system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118426445A true CN118426445A (en) | 2024-08-02 |
Family
ID=92320844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410556527.6A Pending CN118426445A (en) | 2024-05-07 | 2024-05-07 | HIL test device, method, equipment and storage medium for information entertainment system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118426445A (en) |
-
2024
- 2024-05-07 CN CN202410556527.6A patent/CN118426445A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109039824B (en) | Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal | |
KR101230902B1 (en) | System for evaluating electronic parts using vehicle simulator | |
CN107885097B (en) | Nuclear power station simulator control system DCS transformation closed loop verification system and method | |
CN205301987U (en) | Electric motor car machine controller hardware is in ring testing system | |
CN112859817A (en) | Complete vehicle fault diagnosis test system | |
CN109740222B (en) | Testing device and system for automobile networking scene | |
US9766607B2 (en) | Test device for testing a virtual electronic control unit | |
CN111007840A (en) | Whole vehicle controller hardware-in-loop test platform and method | |
CN109240261B (en) | HIL (hardware-in-the-loop) testing method for vehicle networking performance testing | |
CN113589787B (en) | Hardware-in-loop test method, test device, test system and readable storage medium | |
CN107943008B (en) | Automated diagnosis test method based on VT system | |
CN109726061B (en) | SoC chip verification method | |
US11232045B2 (en) | Computer-implemented method for integrating at least one signal value into a virtual control unit | |
CN113691422A (en) | Vehicle-mounted remote communication box test method and system | |
CN205263639U (en) | A testing arrangement for automotive electronics control module | |
CN110501998B (en) | BMS hardware in-loop test system and test method | |
CN113835410A (en) | Finished automobile testing method and system based on signal simulation device | |
CN114756009A (en) | New energy automobile whole function based test system and construction method thereof | |
CN103455024B (en) | ECU tests system and method | |
CN103558849B (en) | A kind of method of pure electric automobile control strategy debugging and network test | |
CN113495545A (en) | System and method for testing vehicle equipment controller using in-loop hardware | |
CN211403232U (en) | Hardware-in-loop test system of vehicle control unit | |
CN211669543U (en) | HIL test system suitable for mixed operation system | |
CN109213111B (en) | Vehicle control unit testing method and system | |
CN118426445A (en) | HIL test device, method, equipment and storage medium for information entertainment system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |