Fault injection circuit, fault injection device and fault injection system

CN224773373UActive Publication Date: 2026-09-18BEIJING ORIENTAL JICHENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521747532.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-08-18
Publication Date
2026-09-18
Estimated Expiration
2035-08-18

AI Technical Summary

Technical Problem

[0004]在故障测试时,由于不仅需要对单一的故障进行测试,因此需要技术人员需要进行多次模拟的故障信号的接入和接出;对ECU注入故障信号的效率低下,从而也导致了对ECU故障测试的效率低下

Benefits of technology

[0032] The system comprises a fault injection circuit, a fault injection device, and a fault injection system. The host computer sends a fault injection signal to the control module via a communication module. The control module, based on the received fault injection signal, outputs a corresponding control signal to the execution module. Upon receiving the control signal, the execution module outputs a corresponding target fault signal to the interface module. The interface module's output is connected to the ECU's acquisition terminal; therefore, the target fault signal output by the execution module can be injected into the ECU's acquisition terminal via the interface module. Different control signals are generated by the control module based on the different fault injection signals output by the host computer. Since the execution module can output multiple fault signals, different control signals can be used to control the execution module to output different target fault signals to the ECU's acquisition terminal. This process eliminates the need for manual input and output of fault signals by the user, thus improving the efficiency and accuracy of signal injection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224773373U_ABST
    Figure CN224773373U_ABST
Patent Text Reader

Abstract

The application relates to the technical field of electronic circuits, in particular to a fault injection circuit, a fault injection device and a fault injection system; the circuit comprises a communication module, a control module, an execution module and an interface module, the input end of the execution module is connected to the output end of the control module, the output end of the execution module is connected to the interface module, wherein: the communication module is used for transmitting a fault injection signal received from an upper computer to the control module; the control module is used for receiving the fault injection signal and outputting a corresponding control signal to the execution module; the execution module is used for receiving the control signal and outputting a corresponding target fault signal to the interface module, and the output end of the interface module is connected to the acquisition end of an ECU. Through the technical scheme, the efficiency of fault signal injection to the ECU can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic circuits, and in particular to a fault injection circuit, a fault injection device, and a fault injection system. Background Technology

[0002] The onboard ECU (Electronic Control Unit), also known as the vehicle's computer, is the core device controlling various electrical systems in a vehicle. The ECU contains multiple control and processing logics, such as logic for handling short-circuit faults and logic for handling abnormal temperature and / or pressure faults. Given the importance of the ECU to vehicle safety, performing necessary fault tests on the ECU is essential.

[0003] The logic of fault testing in related technologies is as follows: simulated fault signals are input to the ECU's acquisition terminal, and the presence of an ECU abnormality is determined by judging whether these fault signals can be accurately identified by the ECU and the control signals executed after the ECU identifies these fault signals. However, in related technologies, technicians often manually connect the simulated fault signals to the ECU's acquisition terminal; for example, when simulating a short circuit fault, technicians need to manually short the signal to the power supply or ground to simulate a short circuit state.

[0004] During fault testing, since it is not only necessary to test a single fault, technicians need to perform multiple simulated fault signal inputs and outputs; the efficiency of injecting fault signals into the ECU is low, which also leads to the low efficiency of ECU fault testing.

[0005] Therefore, improving the efficiency of injecting fault signals into the ECU is an ongoing problem. Utility Model Content

[0006] Therefore, it is necessary to provide a fault injection circuit, fault injection device, and fault injection system that can improve the efficiency of fault signal injection into the ECU.

[0007] In a first aspect, this application provides a fault injection circuit, which includes a communication module, a control module, an execution module, and an interface module. The input terminal of the execution module is connected to the output terminal of the control module, and the output terminal of the execution module is connected to the interface module, wherein:

[0008] The communication module is used to transmit the fault injection signal received from the host computer to the control module;

[0009] The control module is used to receive the fault injection signal and output corresponding control signals to the execution module;

[0010] The execution module is used to receive the control signal and output the corresponding target fault signal to the interface module. The output end of the interface module is connected to the acquisition end of the ECU.

[0011] In one embodiment, the fault injection signal is in CAN signal format, and the communication module is a CAN signal transceiver.

[0012] In one embodiment, the execution module includes a first relay group and a second relay group, wherein:

[0013] The first relay group is connected to the control module and the interface module, and the second relay group is connected to the control module and the first relay group;

[0014] The second relay group is used to receive the control signal and perform corresponding switching actions to connect the access terminal of the target fault signal to the first relay group;

[0015] The first relay group is used to receive the control signal and perform corresponding switching actions to send the target fault signal to the interface module.

[0016] In one embodiment, the fault injection circuit further includes a drive module, wherein:

[0017] The drive module is connected to the output terminal of the control module, as well as the input terminals of the first relay group and the second relay group;

[0018] The driving module is used to receive the control signal and generate a driving voltage based on the control signal; the driving voltage is used to drive each relay in the first relay group and the second relay group to work.

[0019] In one embodiment, the first relay group includes relay T1 and relay T2, wherein:

[0020] The input terminals of both relay T1 and relay T2 are connected to the output terminal of the drive module;

[0021] The common terminal and normally closed contact of the relay T1 are respectively connected to the acquisition terminal of the ECU through the interface module;

[0022] The common terminal of relay T2 is connected to the normally closed contact of relay T1;

[0023] The normally open contact of relay T2 is connected to the second relay group and is used to receive the target fault signal generated by the second relay group.

[0024] In one embodiment, the second relay group includes relay T3 and relay T4, wherein:

[0025] The normally closed contact of relay T3 is used to input a first fault signal, and the common terminal of relay T3 is connected to the normally open contact of relay T2.

[0026] The normally open contact of relay T3 is connected to the common terminal of relay T4;

[0027] The normally closed contact of relay T4 is used to input a second fault signal; the normally open contact of relay T4 is used to input a third fault signal.

[0028] In one embodiment, the first fault signal represents a power supply short circuit, the second fault signal represents a short circuit to ground, and the third fault signal represents a port short circuit fault.

[0029] In one embodiment, the circuit further includes a power supply module for providing at least two operating voltages for powering the remaining modules.

[0030] In a second aspect, this application provides a fault injection device, which includes a substrate and a fault injection circuit as described in any one of the first aspects above, wherein each module in the fault injection circuit is connected through wiring on the substrate.

[0031] Thirdly, this application provides a fault injection system, which includes a host computer and a fault injection device as described in the second aspect above; wherein the host computer is connected to a communication module of a fault injection circuit, and the host computer is used to send a fault injection signal to the fault injection device.

[0032] The system comprises a fault injection circuit, a fault injection device, and a fault injection system. The host computer sends a fault injection signal to the control module via a communication module. The control module, based on the received fault injection signal, outputs a corresponding control signal to the execution module. Upon receiving the control signal, the execution module outputs a corresponding target fault signal to the interface module. The interface module's output is connected to the ECU's acquisition terminal; therefore, the target fault signal output by the execution module can be injected into the ECU's acquisition terminal via the interface module. Different control signals are generated by the control module based on the different fault injection signals output by the host computer. Since the execution module can output multiple fault signals, different control signals can be used to control the execution module to output different target fault signals to the ECU's acquisition terminal. This process eliminates the need for manual input and output of fault signals by the user, thus improving the efficiency and accuracy of signal injection. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of the fault injection circuit in one embodiment;

[0035] Figure 2 This is a schematic diagram of the communication module in one embodiment;

[0036] Figure 3 This is a schematic diagram of the driving module in one embodiment;

[0037] Figure 4 This is a schematic diagram of the execution module in one embodiment;

[0038] Figure 5 This is a schematic diagram of the interface module in one embodiment;

[0039] Figure 6 This is a schematic diagram of the structure of a fault injection system in one embodiment. Detailed Implementation

[0040] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0042] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0043] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0044] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.

[0045] When used herein, the singular forms of “a,” “an,” and “ / the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0046] In one exemplary embodiment, such as Figure 1 This application discloses a fault injection circuit, specifically including a communication module, a control module, an execution module, and an interface module. The input terminal of the execution module is connected to the output terminal of the control module, and the output terminal of the execution module is connected to the interface module, wherein:

[0047] The communication module is used to transmit the fault injection signal received from the host computer to the control module; the control module is used to receive the fault injection signal and output the corresponding control signal to the execution module; the execution module is used to receive the control signal and output the corresponding target fault signal to the interface module, and the output end of the interface module is connected to the acquisition end of the ECU.

[0048] In this embodiment, the host computer sends a fault injection signal to the control module via a communication module. The control module, based on the received fault injection signal, outputs a corresponding control signal to the execution module. Upon receiving the control signal, the execution module outputs a corresponding target fault signal to the interface module. The interface module's output is connected to the ECU's acquisition terminal; therefore, the target fault signal output by the execution module can be injected into the ECU's acquisition terminal via the interface module. Different control signals are generated by the control module based on the different fault injection signals output by the host computer. Since the execution module can output multiple fault signals, different target fault signals can be controlled to output to the ECU's acquisition terminal based on these different control signals. This process eliminates the need for manual input and output of fault signals by the user, thus improving the efficiency and accuracy of signal injection.

[0049] In one embodiment, the communication module is a CAN (Controller Area Network) transceiver, and the fault injection signal sent from the host computer to the control module is also in CAN signal format. CAN signals use differential transmission, which can better resist the introduction of interference, thereby improving the accuracy of the transmitted signal. Of course, the fault injection signal here can also be of other types, and this embodiment does not specifically limit the type of fault injection signal transmitted. Further, the control module is an MCU chip U1, specifically an FS32K144HFVLL integrated chip.

[0050] The CAN transceiver circuit corresponding to the communication module is as follows: Figure 2 Specifically, the circuit may include a transceiver chip U2, model number TJA1042T / CM; pins 7 (CANH) and 6 (CANL) of the transceiver chip U2 are connected to the host computer for injecting fault signals in CAN signal format. Pin 7 is used to input a differential positive signal (P), and pin 6 is used to input a differential negative signal (N). Pins 1 (TXD) and 4 (RXD) of transceiver chip U2 are connected to the input terminals of the control module. Specifically, a resistor R35 is connected between pin 1 of transceiver chip U2 and pin 29 (PTC3) of MCU chip U1. The first end of resistor R36 is connected to pin 4 of transceiver chip U2, and resistor R36 is connected to pin 30 (PTC2) of MCU chip U1. At the same time, a pull-up resistor R59 is connected between pin 30 (PTC2) of MCU chip U1 and pin 4 of transceiver chip U2. One end of resistor R59 is connected to the second end of resistor R36, and the other end of resistor R59 is connected to voltage V.

[0051] Pin 3 (VCC) of transceiver chip U2 is connected to voltage VB, and this pin is connected to a filter capacitor C31 with one end grounded. Pin 2 (GND) of transceiver chip U2 is grounded, and pin 5 (SPLIT) is connected to the first end of capacitor C44, with the second end of capacitor C44 grounded. Pin 6 of transceiver chip U2 is connected to the first end of resistor R83, with the second end of resistor R83 connected to the host computer; pin 7 of transceiver chip U2 is connected to the first end of resistor R82, with the second end of resistor R82 connected to the host computer; and pin 8 of transceiver chip U2 is connected to pin 28 (PTB4) of MCU chip U1.

[0052] In one embodiment, the execution module may specifically include a first relay group and a second relay group, wherein: the first relay group is connected to the control module and the interface module, and the second relay group is connected to the control module and the first relay group. The second relay group is used to receive control signals and perform corresponding switching actions to connect the access terminal of the target fault signal to the first relay group. The first relay group is used to receive control signals and perform corresponding switching actions to send the target fault signal to the interface module.

[0053] Specifically, both the first and second relay groups consist of at least two relays, and the driving voltage for these relays is often quite high. However, the voltage signal output by the control module is typically a TTL high / low level, which cannot drive relays. Therefore, a drive module is connected between the execution module and the control module to drive the relays. The input terminal of the drive module is connected to the output terminal of the control module, and the input terminal of the drive module is connected to the execution module. The drive module amplifies the control signal and uses the amplified control signal to drive the relays in the execution module.

[0054] The drive module is connected to the output of the control module and the first and second relay groups; the drive module is used to receive control signals and generate drive voltage based on the control signals; the drive voltage is used to drive each relay in the first and second relay groups to work.

[0055] In one embodiment, reference Figure 3 The driver module includes a driver chip U3, which can be an ATA6836C-TIQW. The CLK pin of driver chip U3 is used to input the CLK clock signal, which can be input from a separate clock circuit or from the MCU chip U1. For example, the CLK pin of driver chip U3 is connected to pin 66 (CLK) of MCU chip U1 to receive the CLK clock signal output by the MCU chip. Furthermore, the DO and DI pins of driver chip U3 are connected to pins 65 (DO) and 64 (DI) of the MCU chip, respectively; the CS pin of driver chip U3 is connected to pin 70 (PTD3) of the MCU chip.

[0056] The VCC pin of driver chip U3 is used for the input voltage VB, and a filter capacitor C1 is connected in series between the VCC pin and ground to filter the input VB voltage. A resistor R51 is connected in parallel between the INH pin and the VCC pin of driver chip U3. The VS pin of driver chip U3 is used for the input of the external VCC voltage, and a capacitor C2 is connected in series between the VS pin and ground to filter the input VCC voltage.

[0057] In one embodiment, reference Figure 4 The first relay group includes relay T1 and relay T2, wherein: the input terminals of relay T1 and relay T2 are both connected to the output terminal of the drive module; the common terminal and normally closed contact of relay T1 are respectively connected to the acquisition terminal of the ECU through the interface module; the common terminal of relay T2 is connected to the normally closed contact of relay T1; and the normally open contact of relay T2 is connected to the second relay group for receiving the target fault signal generated by the second relay group.

[0058] For the first relay group, relays T1 and T2 can be two independent relay components, or they can be two relays integrated on the same chip. For the second relay group, relays T3 and T4 can be independent relay components, or they can be two relays integrated on the same chip. In one embodiment of this application, both the first and second relay groups are integrated chips that integrate two relays, specifically the ACT51212V chip.

[0059] Specifically, as shown in Figure 4, pins 1 and 2 of relay T1 serve as input terminals, used to receive signals output from the drive module to power the coil of relay T1; pin 1 is used for the input voltage VCC, and pin 2 is connected to the OUT1 pin of the drive module. Pin 10 of relay T1 is a common terminal, pin 6 is a normally closed contact, and pin 7 is a normally open contact. That is, when the coil of relay T1 is not energized, pins 10 and 6 are connected. Among them, pin 6 of relay T1 is connected to the first acquisition terminal of the ECU, pin 10 is connected to the second acquisition terminal of the ECU, and pin 7 is left floating.

[0060] Furthermore, referring to Figure 4 Pins 3 and 4 of relay T2 are used as input terminals to receive signals output from the drive module, thereby powering the coil of relay T2. Pin 3 is used for the input voltage VCC, and pin 4 is connected to the OUT2 pin of the drive module. Pin 9 of relay T2 is the common terminal, pin 8 is a normally closed contact, and pin 9 is a normally open contact. That is, when the coil of relay T2 is not energized, pins 5 and 9 are connected, and pins 8 and 9 are disconnected; when the coil of relay T2 is energized, pins 8 and 9 are connected, and pins 5 and 9 are disconnected. Pin 5 of relay T2 is left floating, pin 9 is connected to the first acquisition terminal of the ECU (pin 6 of relay T1), and pin 8 is connected to the output terminal of the second relay group to receive the target fault signal input from the second relay group.

[0061] When the coil of relay T1 is de-energized, pins 6 and 10 of relay T1 are closed, directly connecting the first and second acquisition terminals of the ECU. For the ECU, this state indicates that no fault signal has been detected. Simultaneously, when the coil of relay T1 is de-energized, the coil of relay T2 is also de-energized, connecting pins 9 and 5. Since pin 5 is floating, pin 9 cannot introduce an additional signal to pin 6; meaning the ECU still cannot detect a fault signal at this time. However, when both the coils of relay T1 and relay T2 are energized, pins 10 and 7 are closed, and pins 9 and 8 are closed. The second relay group inputs the target fault signal through pin 8, and then pin 9 injects the target fault signal through pin 6 into the first acquisition terminal of the ECU, thus allowing the ECU to detect the target fault signal.

[0062] Furthermore, such as Figure 4 As shown, the second relay group includes relay T3 and relay T4, wherein: the normally closed contact of relay T3 is used to input a first fault signal (VD), and the common terminal of relay T3 is connected to the normally open contact of relay T2; the normally open contact of relay T3 is connected to the common terminal of relay T4; the normally closed contact of relay T4 is used to input a second fault signal (VE); and the normally open contact of relay T4 is used to input a third fault signal (VC). The normally closed contact of relay T3 is used to input the first fault signal, and the common terminal of relay T3 is connected to the normally open contact of relay T2; the normally open contact of relay T3 is connected to the common terminal of relay T4; the normally closed contact of relay T4 is used to input the second fault signal; and the normally open contact of relay T4 is used to input the third fault signal.

[0063] Specifically, refer to Figure 4 Pins 1 and 2 of relay T3 are the input pins of relay T3, used to power the coil of relay T3; pin 1 of relay T3 is used for input voltage VCC, and pin 3 is connected to the OUT3 pin of the drive module. Pin 10 of relay T3 is the common terminal (pin), connected to the normally open contact (pin 8) of relay T2, used to output the target fault signal to the first relay group. Pin 6 of relay T3 is a normally closed contact, and pin 7 is a normally open contact; pin 6 is used to input the first external fault signal; pin 7 is connected to the common terminal (pin 9) of relay T4.

[0064] Pins 3 and 4 of relay T4 are its input terminals, used to power the coil of relay T4; pin 3 is used for the input voltage VCC, and pin 4 is connected to the OUT4 pin of the drive module. Pin 5 of relay T4 is used to input the second fault signal, and pin 8 is used to input the third fault signal.

[0065] When the coil of relay T3 is not energized, pins 10 and 6 of relay T3 are connected, so that the first fault signal input through pin 6 is used as the target fault signal and is output to the first relay group; when the coil of relay T3 is energized, pins 10 and 7 of relay T3 are connected, and the second or third fault signal is output to pin 8 of relay T2 in the first relay group through pin 9 of relay T4 and pins 7 and 10 of relay T3.

[0066] Specifically, when the coil of relay T3 is energized and the coil of relay T4 is de-energized, pins 9 and 5 of relay T4 are connected. This allows the second fault signal input to pin 5 to pass through pin 9 of relay T4 to pin 10 of relay T3, and finally to pin 8 of relay T2 in the first relay group. When the coils of relay T3 and T4 are energized, pins 9 and 8 of relay T4 are connected. This allows the third fault signal input to pin 8 to pass through pin 8 of relay T4, and pins 7 and 10 of relay T3, to pin 8 of relay T2 in the first relay group.

[0067] Furthermore, the first fault signal (VD), the second fault signal (VE), and the third fault signal (VC) can be any type of fault signal that can be detected by the vehicle ECU; in one embodiment of this application, the first fault signal represents a power supply short circuit, the second fault signal represents a ground short circuit, and the third fault signal represents a port short circuit fault.

[0068] In one embodiment of this application, reference is made to Figure 4 In the aforementioned first and second relay groups, each relay's input terminal is equipped with a Zener diode; refer to Figure 4 A Zener diode D1 is connected between pins 1 and 2 of relay T1; a Zener diode D2 is connected between pins 3 and 4 of relay T2; a Zener diode D3 is connected between pins 1 and 2 of relay T3; and a Zener diode D4 is connected between pins 3 and 4 of relay T4. These Zener diodes regulate the input voltage at each relay input terminal, thereby reducing the probability of erroneous switching of the relay contacts and stabilizing signal transmission.

[0069] Furthermore, the fault injection circuit provided in this application includes multiple drive modules and multiple execution modules, thereby enabling the fault injection circuit of this application to inject multiple fault signals simultaneously. Each drive module and execution module is not in a one-to-one correspondence; rather, each drive module drives at least one execution module. (Refer to...) Figure 3This application provides a driver module with six output pins, OUT1-OUT6. However, the execution module's relays T1-T4 utilize only these four pins. Therefore, pins OUT5 and OUT6 can be used to drive other execution modules. In other words, the number of output pins in the driver module matches the number of relays in each driver module. Since the number of driver modules and execution modules can be set according to actual needs, in the embodiments of this application, only the attached... Figure 3 and attached Figure 4 This is used to represent the connection diagram between an execution module and a driver module. The connection matching relationships between a specific number of driver modules and execution modules are not listed one by one.

[0070] In one embodiment, reference Figure 5 The interface module is a pluggable interface terminal, model number MX15EDGRM-3.81-20P-GN01-Cu-A. The number of interface terminals depends on the number of execution modules. Each execution module corresponds to a vehicle ECU, and the target fault signal output by the execution module needs to be output to the corresponding ECU's acquisition terminal. Therefore, one function of the interface terminals is to output the target fault signal from each execution module to the corresponding vehicle ECU's acquisition terminal. Taking one execution module of this application as an example, refer to... Figure 4 and Figure 5 In the execution module, the 6th pin of the relay T1 in the first relay group is connected to the first acquisition terminal of the vehicle ECU through the P3-1 pin of the interface terminal, and the 10th pin is connected to the second acquisition terminal of the vehicle ECU through the P3-2 pin of the interface terminal; the P3-1 pin of the acquisition terminal is connected to the first acquisition terminal of the vehicle ECU corresponding to the execution module, and the P3-1 pin is connected to the second acquisition terminal of the vehicle ECU.

[0071] The other execution modules can be connected to the P3-3 and P3-4 pins of the interface terminal. That is, the output terminal of the first relay group in each execution module is connected to the two pins on the interface terminal. At the same time, the two pins on the interface terminal are respectively connected to the first and second acquisition terminals of the vehicle ECU corresponding to the execution module.

[0072] Furthermore, each execution module corresponds to three fault signals: a first fault signal (VD), a second fault signal (VE), and a third fault signal (VC). In response to the fault injection signal output by the host computer, the execution module selects the corresponding signal from these three signals as the target fault signal and outputs the target fault signal to the acquisition terminal of the corresponding vehicle ECU via a port module. Therefore, in this embodiment, the fault signals are connected to each execution module via interface terminals.

[0073] Taking one execution module in this application as an example, refer to Figure 4 and Figure 5 Pins 5 and 6 of the interface terminal are used to input the first fault signal (VD) provided externally, and both pins 5 and 6 are connected to pin 6 of relay T3 in the second relay group; pins 3 and 4 of the interface terminal are used to input the second fault signal (VE) provided externally, and both pins 3 and 4 are connected to pin 5 of relay T4 in the second relay group; pins 1 and 2 are used to input the third fault signal (VC) provided externally, and both pins 1 and 2 are connected to pin 8 of relay T4 in the second relay group. Furthermore, the interface terminal can also be used to connect the fault injection signal (CAN signal) output from the host computer to the communication module, such as... Figure 5 As shown, pins 9 and 10 of the port terminal are used to input the CANH-P and CANH-N signals in the CAN signal, respectively.

[0074] Furthermore, the fault injection circuit provided in this embodiment also includes a power supply module, which is used to provide at least two operating voltages to power the remaining modules, namely voltage VCC and voltage VB.

[0075] Based on the same technical concept, this application also provides a fault injection device for applying the fault injection circuit described above. The solution provided by this device is similar to the solution described in the fault injection circuit above. Therefore, the specific limitations of one or more fault injection device embodiments provided below can be found in the limitations of the fault injection circuit above, and will not be repeated here.

[0076] In one exemplary embodiment, this application also provides a fault injection device, which includes a substrate and a fault injection circuit as described in the above-described fault injection circuit embodiment; wherein, each module / component in the fault injection circuit is connected through wiring on the substrate.

[0077] In one exemplary embodiment, this application also provides a fault injection system, referring to... Figure 6 The system includes a host computer and an on-board ECU, as well as a fault injection device as described in the above embodiment. The host computer is connected to a communication module in the fault injection circuit and is used to send a fault injection signal to the fault injection module. The fault injection device outputs a corresponding target fault signal based on the fault injection signal and sends the target fault signal to the acquisition terminal of the corresponding on-board ECU.

[0078] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.

[0079] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0080] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A fault injection circuit, characterized by, It includes a communication module, a control module, an execution module, and an interface module. The input terminal of the execution module is connected to the output terminal of the control module, and the output terminal of the execution module is connected to the interface module, wherein: The communication module is used to transmit the fault injection signal received from the host computer to the control module; The control module is used to receive the fault injection signal and output corresponding control signals to the execution module; The execution module is used to receive the control signal and output the corresponding target fault signal to the interface module. The output end of the interface module is connected to the acquisition end of the ECU.

2. The fault injection circuit according to claim 1, characterized in that, The fault injection signal is in CAN signal format, and the communication module is a CAN signal transceiver.

3. The fault injection circuit according to claim 1, characterized in that, The execution module includes a first relay group and a second relay group, wherein: The first relay group is connected to the control module and the interface module, and the second relay group is connected to the control module and the first relay group; The second relay group is used to receive the control signal and perform corresponding switching actions to connect the access terminal of the target fault signal to the first relay group; The first relay group is used to receive the control signal and perform corresponding switching actions to send the target fault signal to the interface module.

4. The fault injection circuit according to claim 3, characterized in that, The fault injection circuit further includes a drive module, wherein: The drive module is connected to the output terminal of the control module, as well as the input terminals of the first relay group and the second relay group; The driving module is used to receive the control signal and generate a driving voltage based on the control signal; the driving voltage is used to drive each relay in the first relay group and the second relay group to work.

5. The fault injection circuit according to claim 4, characterized in that, The first relay group includes relay T1 and relay T2, wherein: The input terminals of both relay T1 and relay T2 are connected to the output terminal of the drive module; The common terminal and normally closed contact of the relay T1 are respectively connected to the acquisition terminal of the ECU through the interface module; The common terminal of relay T2 is connected to the normally closed contact of relay T1; The normally open contact of relay T2 is connected to the second relay group and is used to receive the target fault signal generated by the second relay group.

6. The fault injection circuit according to claim 5, characterized in that, The second relay group includes relay T3 and relay T4, wherein: The normally closed contact of relay T3 is used to input a first fault signal, and the common terminal of relay T3 is connected to the normally open contact of relay T2. The normally open contact of relay T3 is connected to the common terminal of relay T4; The normally closed contact of relay T4 is used to input a second fault signal; the normally open contact of relay T4 is used to input a third fault signal.

7. The fault injection circuit according to claim 6, characterized in that, The first fault signal indicates a power supply short circuit, the second fault signal indicates a short circuit to ground, and the third fault signal indicates a port short circuit fault.

8. The fault injection circuit according to any one of claims 1-7, characterized in that, The circuit also includes a power supply module for providing at least two operating voltages to power the remaining modules.

9. A fault injection device, characterized in that, The fault injection device includes a substrate and a fault injection circuit as described in any one of claims 1-8, wherein: Each module in the fault injection circuit is connected via wiring on the substrate.

10. A fault injection system, characterized in that, The fault injection system includes a host computer and a fault injection device as described in claim 9 above; The host computer is connected to the communication module in the fault injection circuit, and the host computer is used to send fault injection signals to the fault injection device.