Electronic control unit testing system
By introducing the collaborative design of multiple analog switches, delay units, and self-locking circuits into the ECU test system, the problem of multi-cable signal acquisition being susceptible to electromagnetic interference is solved, signal transmission with strong anti-interference performance and long transmission distance is achieved, and the accuracy and reliability of ECU testing are improved.
Patent Information
- Application Number
- CN202411250488.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The multi-cable signal acquisition method is susceptible to electromagnetic interference, resulting in signal distortion and poor anti-interference performance.
The coordinated cooperation of multiple first analog switches, delay units, logic operation circuits, second analog switches and self-locking circuits is adopted to realize bidirectional time-sharing transmission of signals, and is connected to the data recording module through a coaxial line to enhance anti-interference ability.
It improves the accuracy and anti-interference of ECU testing, realizes long-distance signal transmission, and ensures the reliability and safety of ECU testing.
Smart Images

Figure CN119126753B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of signal acquisition, and particularly relates to an electronic control unit test system. BACKGROUND
[0002] ECU (Electronic Control Unit) refers to a small computer in a vehicle for controlling various electronic systems. The ECU controls the actuators of the vehicle to achieve accurate control of the performance and functions of the vehicle by receiving and processing various sensor signals, and according to the processing results of the sensor signals according to the preset program and algorithm.
[0003] ECU testing refers to a series of performance tests performed on the ECU to ensure the reliability and safety of the ECU under various working conditions. During ECU testing, the ECU generally receives analog signals from various sensors of a load box, and sends a plurality of drive signals to the load box according to the analog signals to drive corresponding actuators in the load box.
[0004] The ECU test system can collect the above-mentioned plurality of drive signals through a plurality of cables to determine whether the ECU has failed. However, if the signal acquisition device for collecting the drive signals is far away from the load box, the multi-cable signal acquisition method is susceptible to electromagnetic interference, causing signal distortion and poor anti-interference performance. SUMMARY
[0005] Therefore, the present disclosure provides an electronic control unit test system to solve the problem of multi-cable signal acquisition method being susceptible to electromagnetic interference, causing signal distortion and poor anti-interference performance in the related art.
[0006] The first aspect of the present disclosure provides an electronic control unit test system, comprising: a plurality of first analog switches, a plurality of delay units, a logic operation circuit, a second analog switch and a self-locking circuit; the output ends of the plurality of first analog switches are connected with the first end of the second analog switch respectively, and the input end of each first analog switch is used to collect a drive signal sent by an electronic control unit to a load box; the common end of the second analog switch is connected with a controller, the second end of the second analog switch is connected with the input end of the self-locking circuit, and the control end of the second analog switch is connected with the output end of the self-locking circuit; the output end of the logic operation circuit is connected with the plurality of delay units in series, and the output end of each delay unit is connected with the control end of the corresponding first analog switch; the first input end of the logic operation circuit is connected with the control end of the first analog switch corresponding to the tail delay unit in the plurality of delay units; the second input end of the logic operation circuit is connected with the controller; and the third input end of the logic operation circuit is connected with the output end of the self-locking circuit.
[0007] The embodiment of the present disclosure can realize bidirectional time-sharing transmission of sending of control signals and collection of multi-path driving signals through the cooperation of the plurality of first analog switches, the plurality of delay units, the logic operation circuit, the second analog switch and the self-locking circuit, has the advantages of strong anti-interference ability and long transmission distance, and helps to improve the accuracy of ECU testing.
[0008] In the embodiment of the present disclosure, the system further comprises a clock generation circuit; the clock generation circuit is connected with the plurality of delay units respectively, and is used to provide a clock reference for the plurality of delay units.
[0009] In the embodiment of the present disclosure, the system further comprises a data recording module; the data recording module comprises a data acquisition unit, the controller and a data storage unit; the data acquisition unit is used to receive a target signal transmitted by the common terminal of the second analog switch; the controller is used to process the target signal into a plurality of driving signals; and the data storage unit is used to store the plurality of driving signals.
[0010] In the embodiment of the present disclosure, the controller is further used to send a signal acquisition signal to the common terminal of the second analog switch during signal acquisition, so that the data acquisition unit receives the target signal transmitted by the common terminal of the second analog switch.
[0011] In the embodiment of the present disclosure, the clock frequency of the data acquisition unit is a preset multiple of the clock frequency of the delay unit.
[0012] In the embodiment of the present disclosure, the load box comprises a signal simulation device and an actuator simulation device for connecting with an electronic control unit; the signal simulation device is used to send a plurality of sensor signals to the electronic control unit through a plurality of first cables, so that the electronic control unit generates a plurality of driving signals according to the plurality of sensor signals and sends the driving signals to the actuator simulation device through a plurality of second cables; the actuator simulation device is used to receive the plurality of driving signals and drive corresponding actuators according to each actuator driving signal; the input terminals of the plurality of first analog switches are used to be connected with the plurality of second cables, and the input terminal of each first analog switch is used to collect the driving signal in the corresponding second cable.
[0013] In the embodiment of the present disclosure, the data recording module is connected with the common terminal of the second analog switch through a coaxial cable.
[0014] In the embodiment of the present disclosure, the controller adopts a field programmable gate array.
[0015] In the embodiment of the present disclosure, the first analog switch is a single-pole single-throw analog switch.
[0016] In the embodiments of the present disclosure, the second analog switch is a single-pole double-throw analog switch.
[0017] Additional aspects and advantages of the present disclosure will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art, upon reading the following detailed description of the preferred embodiment. The accompanying drawings are included to provide a description of preferred embodiments, and are not intended to limit the scope of the present disclosure. Furthermore, the same reference numerals are used to denote the same components throughout the drawings.
[0019] In the drawings:
[0020] Figure 1 A structural schematic diagram of an electronic control unit test system provided by an embodiment of the present disclosure is shown;
[0021] Figure 2 A structural schematic diagram of another electronic control unit test system provided by an embodiment of the present disclosure is shown;
[0022] Figure 3 A schematic diagram of the connection relationship between a load box and an electronic control unit test system provided by an embodiment of the present disclosure is shown;
[0023] Figure 4 A structural schematic diagram of an ECU test data recording system provided by an embodiment of the present disclosure is shown;
[0024] Figure 5 A timing diagram showing the level changes of the control signal, the control end of the first analog switch and the control end of the second analog switch provided by an embodiment of the present disclosure is shown;
[0025] Figure 6 A schematic diagram showing the on-off conditions of each first analog switch in different time periods, and the corresponding signal acquisition conditions provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0026] Exemplary embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure can be more thoroughly and completely understood, and so that the scope of the present disclosure can be accurately conveyed to those skilled in the art.
[0027] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in the present disclosure shall be the general meanings understood by the skilled in the art to which the present disclosure belongs.
[0028] The following describes the related professional terms and technical background related to the embodiments of the present disclosure.
[0029] Load box, used to simulate various sensors and actuators connected to the ECU when the ECU works on the engine.
[0030] Analog switch: a switch that can be controlled by voltage, for example, when the analog switch control end inputs high level, the switch is closed; when the analog switch control end inputs low level, the switch is opened.
[0031] In the ECU test process, the ECU generally receives analog signals from various sensors of the load box, and sends multiple drive signals to the load box according to the analog signals to drive the corresponding actuators in the load box. The ECU test system can collect the above-mentioned multiple drive signals through multiple cables, and judge whether the ECU has a fault through the multiple drive signals.
[0032] When the signal acquisition device for collecting drive signals is far away from the load box, this multi-cable signal acquisition method is prone to electromagnetic interference, causing signal distortion and poor anti-interference performance. Therefore, the present disclosure provides an electronic control unit test system, which can achieve the technical effects of strong anti-interference ability and long transmission distance.
[0033] In the present embodiment, an electronic control unit test system is provided, Figure 1 The structure diagram of the electronic control unit test system according to the present embodiment is shown in Figure 1 The system comprises a plurality of first analog switches, a plurality of delay units, a logic operation circuit, a second analog switch and a self-locking circuit.
[0034] The output end (for example, "b1" in Figure 1 ) of each first analog switch (for example, "first analog switch S1", "first analog switch S2",..., "first analog switch Sn" in Figure 1 ) is connected to the first end (for example, "a1" in Figure 1 ) of the second analog switch (for example, "second analog switch St" in Figure 1 ). The input end (for example, "b2" in Figure 1 ) of each first analog switch is used to collect the drive signal sent by the electronic control unit to the load box, for example, Figure 1 In the present embodiment, the input end of the first analog switch S1 is used to receive the drive signal 1, the input end of the first analog switch S2 is used to receive the drive signal 2, and the input end of the first analog switch Sn is used to receive the drive signal n, and again for exampleFigure 3 as shown.
[0035] The common terminal (e.g. Figure 1 “a2”) in the second analog switch is connected with the controller, the second terminal (e.g. Figure 1 “a3”) in the second analog switch is connected with the input terminal of the latch circuit, and the control terminal (e.g. Figure 1 “a4”) in the second analog switch is connected with the output terminal of the latch circuit.
[0036] The output terminal of the logic operation circuit is connected in series with the plurality of delay units (e.g. Figure 1 “delay unit 1, delay unit 2, …, delay unit n”) in the electronic control unit test system. The output terminal of each delay unit is connected with the control terminal of the corresponding first analog switch, as shown: the output terminal of the delay unit 1 is connected with the control terminal b3 of the first analog switch S1. Figure 1
[0037] The first input terminal (e.g. Figure 1 “c1”) of the logic operation circuit is connected with the control terminal of the first analog switch (e.g. Figure 1 Sn) corresponding to the tail delay unit in the plurality of delay units; the second input terminal (e.g. Figure 1 “c2”) of the logic operation circuit is connected with the controller; and the third input terminal (e.g. Figure 1 “c3”) of the logic operation circuit is connected with the output terminal of the latch circuit.
[0038] In some embodiments, the first analog switch is a single-pole single-throw analog switch, and the second analog switch is a single-pole double-throw analog switch.
[0039] In some embodiments, as shown, the electronic control unit test system further comprises a clock generation circuit; the clock generation circuit is connected with the plurality of delay units respectively, and is used to provide a clock reference for the plurality of delay units. Figure 2
[0040] In some embodiments, as shown: the electronic control unit test system further comprises a data recording module; the data recording module comprises a data acquisition unit, the controller and a data storage unit. The data acquisition unit is used to receive the target signal transmitted by the common terminal of the second analog switch. The controller is used to process the target signal into a plurality of driving signals. The data storage unit is used to store the plurality of driving signals. Figure 2
[0041] In some specific embodiments, the data recording module is connected to the common end of the second analog switch via a coaxial line. The coaxial line has the advantages of strong anti-interference ability and is convenient for signal collection and transmission.
[0042] In some specific embodiments, the controller is further configured to send a signal acquisition signal to the common terminal of the second analog switch during signal acquisition, so that the data acquisition unit receives the target signal transmitted by the common terminal of the second analog switch.
[0043] In some specific embodiments, the clock frequency of the data acquisition unit is a preset multiple of the clock frequency of the delay unit. Preferably, in order to ensure the effectiveness of data acquisition, the clock frequency of the data acquisition unit can be set to twice the clock frequency of the delay unit.
[0044] In some specific embodiments, such as Figure 3 As shown, the load box includes a signal simulation device and an actuator simulation device for connecting to an electronic control unit; the signal simulation device is used to send a plurality of sensor signals to the electronic control unit through a plurality of first cables, so that the electronic control unit generates a plurality of drive signals according to the plurality of sensor signals and sends them to the actuator simulation device through a plurality of second cables; the actuator simulation device is used to receive the plurality of drive signals and drive the corresponding actuator according to each actuator drive signal; the input ends of the plurality of first simulation switches are used to connect to the plurality of second cables, and the input end of each first simulation switch is used to collect the drive signal in the corresponding second cable.
[0045] In some specific embodiments, Figure 4 As shown, the present disclosure provides an ECU test data recording system, including: an analog multiplexing module, a data recording module and a load box; wherein the analog multiplexing module includes multiple first analog switches, multiple delay units, a logic operation circuit, a second analog switch and a self-locking circuit in the above embodiment; the analog multiplexing module and the data recording module are connected by a coaxial line.
[0046] For the above-mentioned electronic control unit test system, the embodiment of the present disclosure combines Figure 2 The working process of the system is given as follows:
[0047] During ECU testing, the ECU receives various sensor signals from the load bank's signal simulator. It then generates multiple drive signals based on these sensor signals and sends them to the load bank's actuator simulator. The actuator simulator drives the corresponding actuator based on each drive signal. The input terminals of the multiple first simulation switches in the electronic control unit testing system are capable of receiving multiple drive signals.
[0048] The initial state of the second analog switch St is that the common terminal a2 is connected with the second terminal a3 when the ECU test has not started. When the ECU test starts, the controller sends a high-level first control signal, which enters the self-locking circuit through the connecting line between the common terminal a2 and the second terminal a3 of the second analog switch St. The self-locking circuit outputs a high-level second control signal after receiving the first control signal. The control terminal a4 of the second analog switch controls the common terminal a2 to be connected with the first terminal a1 after receiving the second high-level signal, and locks the state. At this time, the controller stops sending the first control signal and starts to prepare to receive a plurality of driving signals.
[0049] The logic operation circuit can output a level signal corresponding to the operation result according to the following formula:
[0050]
[0051] Wherein, X1 is the first control signal c2 sent from the controller, X2 is the second control signal c3 output by the self-locking circuit, and X3 is the third control signal c1 of the tail delay unit n in the plurality of delay units;
[0052] After the controller sends the first control signal, the logic operation circuit outputs a high-level signal according to the first control signal c2, the second control level c3, and the above formula;
[0053] After receiving the high-level signal, the delay unit 1 delays the high-level signal by 1 clock cycle and sends it to the control terminal b3 of the first analog switch S1, so that the first analog switch S1 controls the output terminal b1 to be connected with the input terminal b2, thereby sending the driving signal 1 to the controller through the line b2→b1→a1→a2 of the control input terminal b2, the output terminal b1, the first terminal a1 and the common terminal a2;
[0054] When the delay unit 2 receives the high-level signal, it also delays 1 clock cycle and closes the first analog switch S2. At this time, the analog switch 1 is disconnected, and the controller collects the data of the driving signal 2;
[0055] Similarly, when the delay unit n detects the high level, it delays the level by 1 clock cycle and closes the analog switch n. At this time, the analog switch n-1 is disconnected, and the controller collects the data of the driving signal n.
[0056] The next clock cycle is that the first analog switch S1 continues to close, and the first analog switch Sn is disconnected, so as to continuously collect each driving signal.
[0057] The n-way driving signals collected in a period of time can be converted into 1-way signals by the above-mentioned manner, transmitted to the data acquisition module of the data recording module through the coaxial line, and sent to the controller by the data acquisition module. The controller can restore the 1-way signals to obtain the n-way driving signals, and determine whether the ECU fails during the test process through the n-way driving signals. Meanwhile, the controller also saves the restored n-way driving signals to the data storage module.
[0058] The level changes of the control signals sent by the controller, the control end of the second analog switch and the control ends of the plurality of first analog switches during the working process of the system can be referred to as shown in Figure 5
[0059] The on-off conditions of the first analog switches at different time periods and the corresponding signal acquisition conditions during the working process of the system can be referred to as shown in Figure 6
[0060] In some specific embodiments, the controller can use FPGA, the data storage unit uses a solid state disk as a memory, the ECU needs to collect 10-way signals and drive 4-way loads, the driving signals are respectively 1V DC bias, 0.5V amplitude, 500KHz sine wave 1, 2V DC bias, 0.5V amplitude, 500KHz sine wave 2, 3V DC bias, 0.5V amplitude, 500KHz sine wave 3, 4V DC bias, 0.5V amplitude, 500KHz sine wave 4, the clock generation circuit generates a 20MHz clock, and the delay unit uses a D flip-flop to delay 1 clock cycle. The signal received by the data acquisition module is as shown in Figure 6 After the signal is processed by the FPGA, it is re-divided into 4-way signals and stored in the solid state disk.
[0061] The embodiments of the present disclosure have the following technical effects:
[0062] 1. The present disclosure designs an ECU test data recording system, which can record various data of the ECU during the test process in a period of time, facilitate troubleshooting of faults occurring during the test process, and ensure safe operation of the ECU during driving.
[0063] 2. In the present disclosure, the data recording module and the first analog switch are connected only through the coaxial line, and the bidirectional time-sharing transmission of the control signal and the sampling signal is performed, which has strong anti-interference performance and long transmission distance.
[0064] 3. The present disclosure can place the data recording module and the analog multiplexing module (i.e. the plurality of first analog switches, the plurality of delay units, the logic operation circuit, the second analog switch and the self-locking circuit) in different places, which facilitates multi-way data acquisition in various environments.
[0065] 3. The disclosure realizes time division multiplexing of multiple sampling signals through a clock, a delay unit and an analog switch, and completes bidirectional time division multiplexing of a receiving control signal and a sending sampling signal through a self-locking circuit and an analog switch.
[0066] The computer-readable storage medium provided by the above embodiments of the disclosure has the same inventive concept as the electronic control unit test system provided by the embodiments of the disclosure, and has the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0067] It should be noted that:
[0068] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the disclosure can be practiced without these specific details. In some instances, well-known structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
[0069] Similarly, it is to be understood that the embodiments of the disclosure can be over-simplified to aid in the understanding of one or more of the various inventive aspects. Certain aspects of the disclosure can therefore be expressed showing fewer, modified, or more complex dependencies than those shown in the whole of the description. Accordingly, the description and drawings are to be regarded in an illustrative rather than a restrictive sense.
[0070] Furthermore, those of ordinary skill in the art will recognize that depending on the embodiment implemented, certain acts or events of any of the methods described herein can take a different manner than the specific order illustrated herein. Moreover, an act or event can occur before, after, simultaneously, or even form part of another act or event described herein. For example, it is contemplated that establishing a connection can occur with subsequent events in a different manner or order than illustrated or described herein. Further, when a list of items or steps is recited, it is contemplated that the list is not limited to the specific items or steps, but instead can include other possible items or steps not expressly listed or otherwise known to those of ordinary skill in the art.
[0071] The above describes only preferred embodiments of the disclosure and the protection scope of the disclosure is not limited thereto, and any changes or substitutions easily conceived by those skilled in the art within the technical scope disclosed by the disclosure shall be covered within the protection scope of the disclosure. Therefore, the protection scope of the disclosure shall be subject to the protection scope of the claims.
Claims
1. An electronic control unit test system, characterized by, The system comprises a plurality of first analog switches, a plurality of delay units, a logic operation circuit, a second analog switch and a latch circuit; Outputs of the plurality of first analog switches are connected with a first end of the second analog switch respectively, and an input end of each first analog switch is used for collecting a driving signal sent by an electronic control unit to a load box; A common end of the second analog switch is connected with a controller, a second end of the second analog switch is connected with an input end of the latch circuit, and a control end of the second analog switch is connected with an output end of the latch circuit; An output end of the logic operation circuit is connected with the plurality of delay units in series, an output end of each delay unit is connected with a control end of a corresponding first analog switch, a first input end of the logic operation circuit is connected with a control end of a corresponding first analog switch of a tail delay unit in the plurality of delay units, a second input end of the logic operation circuit is connected with the controller, and a third input end of the logic operation circuit is connected with the output end of the latch circuit.
2. The system of claim 1, wherein, The system further comprises a clock generation circuit; The clock generation circuit is connected with the plurality of delay units respectively, and is used for providing a clock reference for the plurality of delay units.
3. The system of claim 2, wherein, The system further comprises a data recording module; The data recording module comprises a data collection unit, the controller and a data storage unit; The data collection unit is used for receiving a target signal transmitted by the common end of the second analog switch; The controller is used for processing the target signal into a plurality of driving signals; 4. The system of claim 3, wherein, The data storage unit is used for storing the plurality of driving signals.
5. The system of claim 3 or 4, wherein, The controller is further used for sending a signal collection signal to the common end of the second analog switch during signal collection, so that the data collection unit receives the target signal transmitted by the common end of the second analog switch.
6. The system of claim 1 or 2, wherein, A clock frequency of the data collection unit is a preset multiple of a clock frequency of the delay unit. The load box comprises a signal simulation device and an actuator simulation device used for connecting with the electronic control unit; The signal simulation device is used for sending a plurality of sensor signals to the electronic control unit through a plurality of first cables, so that the electronic control unit generates a plurality of driving signals according to the plurality of sensor signals and sends the plurality of driving signals to the actuator simulation device through a plurality of second cables; The actuator simulation device is used for receiving the plurality of driving signals and driving a corresponding actuator according to each actuator driving signal; 7. The system of claim 3, wherein, The input end of the plurality of first analog switches is used for connecting with the plurality of second cables, and the input end of each first analog switch is used for collecting a driving signal in a corresponding second cable.
8. The system of claim 1 or 2, wherein, The data recording module is connected with the common end of the second analog switch through a coaxial cable.
9. The system of claim 1 or 2, wherein, The controller adopts a field programmable gate array.
10. The system of claim 1 or 2, wherein, The first analog switch is a single-pole single-throw analog switch. The second analog switch is a single-pole double-throw analog switch.
Citation Information
Patent Citations
Testing device based on electronic control unit
CN104331068A
ECU detection and calibration system
CN111830936A