Hardware fault testing device and automobile

By designing a hardware fault test device for the signal generation module, signal switching module and enabling control module, the inefficiency problem caused by manual switching in the existing technology is solved, automated fault testing is realized, and testing flexibility and efficiency are improved.

CN221926987UActive Publication Date: 2024-10-29HANGZHOU KINGWAY TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202420355786.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2024-10-29
Estimated Expiration
2034-02-26

AI Technical Summary

Technical Problem

Existing hardware fault testing methods rely on manual switching, resulting in low operational flexibility and low fault testing efficiency. They also require multiple signal generator devices in various fault testing scenarios, which increases the threshold for device debugging and use.

Method used

A hardware fault testing device is designed, including a signal generation module, a signal switching module and an enabling control module. The automatic fault simulation signal injection is realized through the switching circuit of the signal switching module, and the enabling control module controls the on/off of the signal switching module. The path between the signal input end and the output end supports flexible switching of multiple fault simulation signals and fault injection points.

Benefits of technology

It improves the flexibility and efficiency of automobile control system fault testing, realizes fully automated hardware fault injection function, and reduces test time and personnel operation burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221926987U_ABST
    Figure CN221926987U_ABST
Patent Text Reader

Abstract

The utility model provides a hardware fault testing device and an automobile. The hardware fault testing device comprises a signal generating module, a signal switching module and an enabling control module. The signal generation module comprises a plurality of output ends and outputs a plurality of fault simulation signals; the signal switching module comprises a plurality of signal input ends and a plurality of signal output ends, the number of the signal input ends is consistent with that of the signal output ends, the signal input ends are connected with the output ends of the signal generation module in a one-to-one correspondence mode, and the signal output ends are used for being connected with a plurality of fault injection points; the control end of the enabling control module is electrically connected with the controlled end of the signal switching module; and the enabling control module is used for controlling the signal switching module to switch on / off the paths between the signal input ends and the signal output ends, so that different types of fault tests can be carried out on the automobile control system, and the fault test flexibility and the fault test efficiency of the automobile control system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of equipment testing, in particular to a hardware fault testing device and a car. Background Art

[0002] In the process of vigorous development of new energy vehicle technology, people's demand for safety, comfort and intelligence has led to the integration of more and more electronic / electrical systems into the whole vehicle. The large number and variety of electronic / electrical systems mean that higher requirements are placed on the safety and reliability of the system. For this purpose, R&D personnel have designed multiple safety mechanisms to ensure that the automotive system can maintain a reasonable safety state in both normal and failure modes, reduce the harm to drivers and passengers, and reduce property losses. Hardware fault injection testing is widely used in various testing activities as a reliability verification technology. For various failure situations that may occur due to corrosion, short circuit, open circuit or other electrical faults, electrical faults are injected into the automotive control system through the transmission of simulated signals to check whether the response of the automotive safety mechanism meets the requirements, thereby proving the reliability of the automotive control system. In the prior art, signal generators and BOBs are usually used to implement hardware fault testing. Specifically, before performing hardware fault testing, it is necessary to set a fault simulation signal in the signal generator, and by manually switching the BOB, the path between the fault simulation signal to be input by the signal generator and the corresponding BOB fault injection point is connected, thereby injecting the fault simulation signal of the signal generator into the system under test. By injecting electrical faults in the above way, the response of the system safety mechanism can be observed through relevant test software or equipment to verify whether the reliability of the system meets the requirements. However, whether it is the setting and triggering of fault simulation signals, or the switching between different fault simulation signals and different fault injection points, it all depends on manual switching and can only be operated during test execution, resulting in low operational flexibility and low fault testing efficiency. Utility Model Content

[0003] The main purpose of the utility model is to provide a hardware fault testing device and a car, aiming at improving the efficiency of hardware fault testing.

[0004] Therefore, the utility model proposes a hardware fault testing device, which includes: a signal generating module, the signal generating module includes multiple output terminals; the signal generating module is used to output multiple fault simulation signals through the multiple output terminals; a signal switching module, the signal switching module includes multiple signal input terminals and multiple signal output terminals, the number of the multiple signal input terminals is consistent with the number of the multiple signal output terminals, the multiple signal input terminals are connected to the multiple output terminals of the signal generating module in a one-to-one correspondence, and the multiple signal output terminals are used to access multiple fault injection points; an enabling control module, the control terminal of the enabling control module is electrically connected to the controlled terminal of the signal switching module; the enabling control module is used to control the signal switching module to switch on / off the path between the multiple signal input terminals and the multiple signal output terminals.

[0005] Optionally, the signal switching module includes multiple switching circuits, each of the switching circuits has the signal input end and the signal output end, and the multiple switching circuits are electrically connected to each other; the control end of the enable control module is electrically connected to the controlled ends of the multiple switching circuits respectively; the enable control module is used to control the multiple switching circuits to be in an on / off state, so as to turn on / off the paths between the multiple signal input ends and the multiple signal output ends.

[0006] Optionally, each of the switching circuits includes multiple switching tubes, and the number of switching tubes in each switching circuit is consistent with the number of the switching circuits; the control end of the enable control module is electrically connected to the controlled ends of the multiple switching tubes respectively; the enable control module is used to control the multiple switching tubes to be in an on / off state, so as to turn on / off the path between the multiple signal input ends and the multiple signal output ends.

[0007] Optionally, the signal switching module includes a first switch circuit, a second switch circuit and a third switch circuit; the first switch circuit includes a first signal input terminal and a first signal output terminal, the second switch circuit includes a second signal input terminal and a second signal output terminal, and the third switch circuit includes a third signal input terminal and a third signal output terminal; the first signal input terminal, the second signal input terminal and the third signal input terminal are all electrically connected to the output terminal of the signal generating module; the first signal output terminal is used to access a first fault injection point, the second signal output terminal is used to access a second fault injection point, and the third signal output terminal is used to access a third fault injection point.

[0008] Optionally, the signal generating module includes a first output terminal, a second output terminal and a third output terminal; the first output terminal is connected to the first signal input terminal, the second output terminal is connected to the second signal input terminal, and the third output terminal is connected to the third signal input terminal; the enabling control module is used to control the signal switching module to turn on / off the path between the first output terminal and the first fault injection point, the path between the first output terminal and the second fault injection point, and the path between the first output terminal and the third fault injection point.

[0009] Optionally, the enable control module is further used to control the signal switching module to turn on / off the path between the second output terminal and the first fault injection point, the path between the second output terminal and the second fault injection point, and the path between the second output terminal and the third fault injection point.

[0010] Optionally, the enable control module is also used to control the signal switching module to turn on / off the path between the third output terminal and the first fault injection point, the path between the third output terminal and the second fault injection point, and the path between the third output terminal and the third fault injection point.

[0011] Optionally, the enable control module has a first control end, a second control end, a third control end, a fourth control end, a fifth control end, a sixth control end, a seventh control end, an eighth control end and a ninth control end; the first switch circuit has a first switch tube, a second switch tube and a third switch tube; the second switch circuit has a fourth switch tube, a fifth switch tube and a sixth switch tube; the third switch circuit has a seventh switch tube, an eighth switch tube and a ninth switch tube; the first control end is connected to the controlled end of the first switch tube, the second control end is connected to the controlled end of the second switch tube, and the third control end is connected to the controlled end of the third switch tube; the fourth control end is connected to the controlled end of the fourth switch tube, the fifth control end is connected to the controlled end of the fifth switch tube, and the sixth control end is connected to the controlled end of the sixth switch tube; the seventh control end is connected to the controlled end of the seventh switch tube, the eighth control end is connected to the controlled end of the eighth switch tube, and the ninth control end is connected to the controlled end of the ninth switch tube.

[0012] Optionally, the enable control module is used to control the first switch tube to be turned on so that the first fault simulation signal is output to the first fault injection point through the first transmission channel, and to control the fourth switch tube to be turned on so that the second fault simulation signal is output to the second fault injection point through the second transmission channel, and to control the seventh switch tube to be turned on so that the third fault simulation signal is output to the third fault injection point through the third transmission channel.

[0013] The utility model also provides an automobile, comprising an automobile safety system and the hardware fault testing device as described above, wherein the automobile safety system has multiple fault injection points.

[0014] The utility model proposes a hardware fault test device and a car, the hardware fault test device comprises a signal generation module, a signal switching module and an enable control module. The signal generation module comprises a plurality of output terminals, and the signal generation module outputs a plurality of fault simulation signals respectively through the plurality of output terminals; the signal switching module comprises a plurality of signal input terminals and a plurality of signal output terminals, the number of the plurality of signal input terminals is consistent with the number of the plurality of signal output terminals, the plurality of signal input terminals are connected one-to-one with the plurality of output terminals of the signal generation module, and the plurality of signal output terminals are used to access a plurality of fault injection points; the control terminal of the enable control module is electrically connected with the controlled terminal of the signal switching module; the enable control module is used to control the signal switching module to switch on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals, so as to perform different types of fault tests on the car control system, thereby improving the flexibility and efficiency of the fault test on the car control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0016] Figure 1 This is a circuit flow chart of the hardware fault testing device of the utility model;

[0017] Figure 2 A circuit flow chart of another embodiment of the hardware fault testing device of the utility model;

[0018] Figure 3 The utility model is a circuit structure diagram of the hardware fault testing device.

[0019] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0021] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0022] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the utility model, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the utility model.

[0023] In the prior art, signal generators and BOBs are usually used to implement hardware fault testing. However, whether it is the setting and triggering of the fault simulation signal of the signal generator, or the switching between different fault simulation signals and different fault injection points, it all relies on manual switching and can only be operated when the test is executed, which is inefficient. In addition, each fault injection test requires at least one signal generator device. General signal generator devices only have two signal generation and output channels. When encountering complex test scenarios that require three to four faults to be triggered at the same time, additional signal generator devices are required to cooperate. After the two signal generator devices are connected, they need to be synchronized and debugged before they can be used. Not only does it take time to coordinate equipment resources, but it also takes time to debug, which is time-consuming and labor-intensive, and also raises the threshold for use by testers.

[0024] Therefore, in order to improve the fault testing efficiency and realize the fully automated fault testing function, the utility model proposes a hardware fault testing device, referring to Figure 1 , the hardware fault testing device comprises:

[0025] A signal generating module 10, wherein the signal generating module 10 comprises a plurality of output terminals; the signal generating module 10 is used to output a plurality of fault simulation signals through the plurality of output terminals;

[0026] A signal switching module 20, wherein the signal switching module 20 comprises a plurality of signal input terminals and a plurality of signal output terminals, wherein the number of the plurality of signal input terminals is consistent with the number of the plurality of signal output terminals, the plurality of signal input terminals are connected to the plurality of output terminals of the signal generating module 10 in a one-to-one correspondence, and the plurality of signal output terminals are used to access a plurality of fault injection points;

[0027] The enabling control module 30 has a control end electrically connected to the controlled end of the signal switching module 20; the enabling control module 30 is used to control the signal switching module 20 to switch on / off the paths between the plurality of signal input ends and the plurality of signal output ends.

[0028] It is understandable that in the prior art, in order to avoid various automobile operation failures that may occur due to corrosion, short circuit, open circuit or other electrical faults, it is necessary to inject the fault simulation signal generated by the signal generator into the automobile control system through the BOB to check whether the response of the automobile safety mechanism meets the requirements, thereby proving the reliability of the automobile control system. However, before performing a fault test on the automobile control system, it is necessary to manually switch the BOB so that the path between the fault simulation signal to be input by the signal generator and the corresponding BOB fault injection point is connected, so that the fault simulation signal to be input is injected into the automobile control system after passing through the BOB and the fault injection point. It can be seen that the fault test performed in the above manner relies on manual switching, has low operational flexibility, and low fault test efficiency. In addition, when performing multiple types of fault tests on the automobile control system at the same time, for example, sensor faults, solenoid valve faults, wiring faults, connector faults, etc., it is necessary to set up multiple signal generator devices to generate multiple transmission channels and multiple fault simulation signals, and multiple signal generator devices need to be synchronously debugged after being connected before they can be used, and the testing process is time-consuming and laborious. Therefore, in order to improve the flexibility and efficiency of fault testing of automobile control systems, the utility model proposes a hardware fault testing device, which replaces the existing real signal generating module 10 with a virtual signal generating module 10, replaces the existing BOB with a signal switching module 20, and controls the on / off of the switch circuit in the signal switching module 20 by the enabling control module 30, so as to meet complex test scenarios such as different fault simulation signals being injected into different fault injection points, or the same fault simulation signal being injected into different fault injection points, or different fault simulation signals being injected into the same fault injection point. It should be understood that in another embodiment, the hardware fault testing device can also be embedded in a systematic test environment, which includes a device to be tested, a software script, etc., so as to realize the fully automated hardware fault injection function of the hardware fault testing device.

[0029] In this embodiment, the hardware fault test device includes a signal generating module 10, a signal switching module 20 and an enabling control module 30. Among them, the signal generating module 10 uses a virtual signal generator to replace the existing real signal generator, and the virtual signal generator includes a signal generating unit and an I / O unit. By connecting the virtual signal generator to an external control signal generating system, the control signal generating system controls the signal generating unit to generate a corresponding fault simulation signal, and the fault simulation signal is output through the I / O unit. In addition, the I / O unit provides more output ports to choose from. It should be pointed out that the I / O unit is equivalent to the multiple output ends of the signal generating module 10 mentioned in the above content. In addition, the signal switching module 20 is composed of a number of switch circuits, and the on / off state of the switch circuit can be controlled by the enabling control module 30 to perform short / open circuit fault simulation signal injection, and the fault simulation signal can also be completely decoupled from the fault injection point, so as to meet complex test scenarios such as different fault simulation signals are injected into different fault injection points, or the same fault simulation signal is injected into different fault injection points, or different fault simulation signals are injected into the same fault injection point.

[0030] The utility model proposes a hardware fault test device, which includes a signal generation module 10, a signal switching module 20 and an enable control module 30. The signal generation module 10 includes a plurality of output terminals, and the signal generation module 10 outputs a plurality of fault simulation signals through the plurality of output terminals respectively; the signal switching module 20 includes a plurality of signal input terminals and a plurality of signal output terminals, the number of the plurality of signal input terminals is consistent with the number of the plurality of signal output terminals, the plurality of signal input terminals are connected to the plurality of output terminals of the signal generation module 10 in a one-to-one correspondence, and the plurality of signal output terminals are used to access a plurality of fault injection points; the control terminal of the enable control module 30 is electrically connected to the controlled terminal of the signal switching module 20; the enable control module 30 is used to control the signal switching module 20 to switch on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals, so as to inject a plurality of fault simulation signals of the same type or a plurality of fault simulation signals of different types into the vehicle control system through different transmission channels, thereby realizing different types of fault tests on the vehicle control system.

[0031] In one embodiment, referring to Figure 2 , the signal switching module 20 includes a plurality of switch circuits, each of the switch circuits has the signal input end and the signal output end, and the plurality of switch circuits are electrically connected to each other;

[0032] The control end of the enabling control module 30 is electrically connected to the controlled ends of the plurality of switch circuits respectively;

[0033] The enabling control module 30 is used to control the plurality of switch circuits to be in an on / off state, so as to turn on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals.

[0034] It can be understood that, in this embodiment, the signal switching module 20 is composed of a plurality of switch circuits, and the controlled ends of the plurality of switch circuits are respectively connected to the control end of the enabling control module 30, and the enabling control module 30 controls the plurality of switch circuits to switch to the on state or the off state, so as to turn on / off the paths between the plurality of signal input ends and the plurality of signal output ends, so that a plurality of fault simulation signals of the same type or a plurality of fault simulation signals of different types are injected into the automobile control system through different transmission channels, thereby realizing different types of fault tests on the automobile control system. In addition, since each switch circuit has a signal input end and a signal output end, the path between the signal input end and the signal output end is equivalent to the transmission channel of the signal switching module 20. For example, when the number of switch circuits is three, the paths between the signal input end and the signal output end are three, that is, the transmission channels of the signal switching module 20 are three. In practical applications, the enabling control module 30 controls the three switch circuits to be in the on / off state, so that a plurality of transmission channels for transmitting fault simulation signals are in the on / off state, so that a plurality of fault simulation signals of the same type or a plurality of fault simulation signals of different types are injected into the automobile control system through different transmission channels.

[0035] In one embodiment, each of the switch circuits includes a plurality of switch tubes, and the number of switch tubes in each of the switch circuits is consistent with the number of the switch circuits;

[0036] The control end of the enabling control module 30 is electrically connected to the controlled ends of the plurality of switch tubes respectively;

[0037] The enabling control module 30 is used to control the plurality of switch tubes to be in an on / off state, so as to turn on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals.

[0038] It can be understood that each switch circuit in the signal switching module 20 is composed of a plurality of switch tubes, and the number of switch tubes in each switch circuit is consistent with the number of switch circuits. For example, when the number of switch circuits is three, the number of switch tubes in each switch circuit is three, and the number of switch tubes is nine in total, so that there are nine transmission channels between the signal generating module 10 and the plurality of fault injection points; when the number of switch circuits is four, the number of switch tubes in each switch circuit is four, and the number of switch tubes is sixteen in total, so that there are sixteen transmission channels between the signal generating module 10 and the plurality of fault injection points. In this embodiment, the controlled ends of the plurality of switch tubes are respectively connected to the control end of the enabling control module 30, and the enabling control module 30 controls the plurality of switch tubes to switch to the on state or the off state, so as to turn on / off the paths between the plurality of signal input ends and the plurality of signal output ends, so that a plurality of fault simulation signals of the same type or a plurality of fault simulation signals of different types are injected into the vehicle control system through different transmission channels, thereby realizing different types of fault tests on the vehicle control system.

[0039] In one embodiment, referring to Figure 2 , the signal switching module 20 includes a first switch circuit, a second switch circuit and a third switch circuit;

[0040] The first switch circuit includes a first signal input terminal and a first signal output terminal, the second switch circuit includes a second signal input terminal and a second signal output terminal, and the third switch circuit includes a third signal input terminal and a third signal output terminal;

[0041] The first signal input terminal, the second signal input terminal and the third signal input terminal are all electrically connected to the output terminal of the signal generating module 10; the first signal output terminal is used to access the first fault injection point, the second signal output terminal is used to access the second fault injection point, and the third signal output terminal is used to access the third fault injection point.

[0042] It can be understood that, in this embodiment, the first switch circuit is between the signal generating module 10 and the first fault injection point; the second switch circuit is between the signal generating module 10 and the second fault injection point; and the third switch circuit is between the signal generating module 10 and the third fault injection point. The first switch circuit, the second switch circuit, and the third switch circuit are connected to each other.

[0043] When injecting the first fault simulation signal into the automobile control system: the first fault simulation signal can be output to the first fault injection point via the first signal input terminal, the first switch circuit, and the first signal output terminal; the first fault simulation signal can also be output to the second fault injection point via the first signal input terminal, the first switch circuit, the second switch circuit, and the second signal output terminal; the first fault simulation signal can also be output to the third fault injection point via the first signal input terminal, the first switch circuit, the third switch circuit, and the third signal output terminal. In this way, the same type of fault simulation signals can be injected into the automobile control system via different switch circuits.

[0044] When injecting the second fault simulation signal into the automobile control system: the second fault simulation signal can be output to the second fault injection point via the second signal input terminal, the second switch circuit, and the second signal output terminal; the second fault simulation signal can also be output to the third fault injection point via the second signal input terminal, the second switch circuit, the third switch circuit, and the third signal output terminal; the second fault simulation signal can also be output to the first fault injection point via the second signal input terminal, the second switch circuit, the first switch circuit, and the first signal output terminal. In this way, the same type of fault simulation signals can be injected into the automobile control system via different switch circuits.

[0045] When injecting the third fault simulation signal into the automobile control system: the third fault simulation signal can be output to the third fault injection point via the third signal input terminal, the third switch circuit, and the third signal output terminal; the third fault simulation signal can also be output to the first fault injection point via the third signal input terminal, the third switch circuit, the first switch circuit, and the first signal output terminal; the third fault simulation signal can also be output to the second fault injection point via the third signal input terminal, the third switch circuit, the second switch circuit, and the second signal output terminal. In this way, the same type of fault simulation signals can be injected into the automobile control system via different switch circuits.

[0046] Similarly, when the first fault simulation signal and the second fault simulation signal are injected into the vehicle control system at the same time, or the first fault simulation signal and the third fault simulation signal are injected into the vehicle control system at the same time, or the second fault simulation signal and the third fault simulation signal are injected into the vehicle control system at the same time, or the first fault simulation signal, the second fault simulation signal and the third fault simulation signal are injected into the vehicle control system at the same time, thereby achieving multiple different types of fault simulation signals being injected into the vehicle control system through different switching circuits.

[0047] In one embodiment, referring to Figure 3 , the signal generating module 10 comprises a first output terminal, a second output terminal and a third output terminal;

[0048] The first output terminal is connected to the first signal input terminal, the second output terminal is connected to the second signal input terminal, and the third output terminal is connected to the third signal input terminal;

[0049] The enabling control module 30 is used to control the signal switching module 20 to turn on / off the path between the first output end and the first fault injection point, the path between the first output end and the second fault injection point, and the path between the first output end and the third fault injection point.

[0050] It can be understood that, in this embodiment, the signal generating module 10 outputs the first fault simulation signal through the first output terminal, outputs the second fault simulation signal through the second output terminal, and outputs the third fault simulation signal through the third output terminal. In practical applications, when the enabling control module 30 controls the switch tube in the first switch circuit to be turned on, the first fault simulation signal is output to the first fault injection point via the first output terminal, the first signal input terminal, the first switch circuit, and the first signal output terminal of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the first switch circuit and the second switch circuit to be turned on, the first fault simulation signal is output to the second fault injection point via the first output terminal, the first signal input terminal, the first switch circuit, the second switch circuit, and the second signal output terminal of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the first switch circuit and the third switch circuit to be turned on, the first fault simulation signal is output to the third fault injection point via the first output terminal, the first signal input terminal, the first switch circuit, the third switch circuit, and the third signal output terminal of the signal generating module 10.

[0051] In one embodiment, referring to Figure 3 The enabling control module 30 is also used to control the signal switching module 20 to turn on / off the path between the second output terminal and the first fault injection point, the path between the second output terminal and the second fault injection point, and the path between the second output terminal and the third fault injection point.

[0052] It can be understood that, in actual applications, when the enabling control module 30 controls the switch tube in the second switch circuit to be turned on, the second fault simulation signal is output to the second fault injection point via the second output end, the second signal input end, the second switch circuit, and the second signal output end of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the second switch circuit and the first switch circuit to be turned on, the second fault simulation signal is output to the first fault injection point via the second output end, the second signal input end, the second switch circuit, the first switch circuit, and the first signal output end of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the second switch circuit and the third switch circuit to be turned on, the second fault simulation signal is output to the third fault injection point via the second output end, the second signal input end, the second switch circuit, the third switch circuit, and the third signal output end of the signal generating module 10.

[0053] In one embodiment, referring to Figure 3 The enabling control module 30 is also used to control the signal switching module 20 to turn on / off the path between the third output terminal and the first fault injection point, the path between the third output terminal and the second fault injection point, and the path between the third output terminal and the third fault injection point.

[0054] It can be understood that, in actual applications, when the enabling control module 30 controls the switch tube in the third switch circuit to be turned on, the third fault simulation signal is output to the third fault injection point via the third output terminal, the third signal input terminal, the third switch circuit, and the third signal output terminal of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the third switch circuit and the first switch circuit to be turned on, the third fault simulation signal is output to the first fault injection point via the third output terminal, the third signal input terminal, the third switch circuit, the first switch circuit, and the first signal output terminal of the signal generating module 10; when the enabling control module 30 controls the switch tubes in the third switch circuit and the second switch circuit to be turned on, the third fault simulation signal is output to the second fault injection point via the third output terminal, the third signal input terminal, the third switch circuit, the second switch circuit, and the second signal output terminal of the signal generating module 10.

[0055] In one embodiment, referring to Figure 3 , the enabling control module 30 has a first control terminal, a second control terminal, a third control terminal, a fourth control terminal, a fifth control terminal, a sixth control terminal, a seventh control terminal, an eighth control terminal and a ninth control terminal;

[0056] The first switch circuit has a first switch tube Q1, a second switch tube Q2 and a third switch tube Q3; the second switch circuit has a fourth switch tube Q4, a fifth switch tube Q5 and a sixth switch tube Q6; the third switch circuit has a seventh switch tube Q7, an eighth switch tube Q8 and a ninth switch tube Q9;

[0057] The first control end is connected to the controlled end of the first switch tube Q1, the second control end is connected to the controlled end of the second switch tube Q2, and the third control end is connected to the controlled end of the third switch tube Q3; the fourth control end is connected to the controlled end of the fourth switch tube Q4, the fifth control end is connected to the controlled end of the fifth switch tube Q5, and the sixth control end is connected to the controlled end of the sixth switch tube Q6; the seventh control end is connected to the controlled end of the seventh switch tube Q7, the eighth control end is connected to the controlled end of the eighth switch tube Q8, and the ninth control end is connected to the controlled end of the ninth switch tube Q9.

[0058] It can be understood that, in this embodiment, the first signal input terminal is connected to the first end of the first switch tube Q1, and the interconnection points thereof are respectively connected to the first end of the fifth switch tube Q5 and the first end of the ninth switch tube Q9; the second end of the first switch tube Q1 is respectively connected to the first end of the second switch tube Q2, the second end of the third switch tube Q3, and the first fault injection point; the second signal input terminal is connected to the first end of the fourth switch tube Q4, and the interconnection points thereof are respectively connected to the second end of the second switch tube Q2 and the first end of the eighth switch tube Q8; the second end of the fourth switch tube Q4 is respectively connected to the second end of the fifth switch tube Q5, the first end of the sixth switch tube Q6, and the second fault injection point; the third signal input terminal is connected to the first end of the seventh switch tube Q7, and the interconnection points thereof are respectively connected to the second end of the sixth switch tube Q6 and the second end of the third switch tube Q3; the second end of the seventh switch tube Q7 is respectively connected to the second end of the eighth switch tube Q8, the second end of the ninth switch tube Q9, and the third fault injection point.

[0059] Embodiment 1: When the enabling control module 30 controls all nine switch tubes to be in the disconnected state: the first signal input terminal, the second signal input terminal, the third signal input terminal and the first fault injection point, the second fault injection point, and the third fault injection point are in an open circuit state. At this time, the first fault simulation signal, the second fault simulation signal, and the third fault simulation signal cannot be output to any fault injection point.

[0060] Embodiment 2: When the enabling control module 30 controls the fifth switch tube Q5, the ninth switch tube Q9, the second switch tube Q2 or the third switch tube Q3 to be turned on: the first fault simulation signal can be output to the second fault injection point via the first signal input terminal and the fifth switch tube Q5, and the first fault simulation signal can also be output to the third fault injection point via the first signal input terminal and the ninth switch tube Q9; the second fault simulation signal can be output to the first fault injection point via the second signal input terminal and the second switch tube Q2; the third fault simulation signal can be output to the first fault injection point via the third signal input terminal and the third switch tube Q3, thereby injecting the same fault simulation signal into different fault injection points. The same applies to the other switching situations.

[0061] Embodiment 3: When the enabling control module 30 controls the seventh switch tube Q7, the eighth switch tube Q8 and the ninth switch tube Q9 to be turned on: the first fault simulation signal is output to the third fault injection point via the first signal input terminal and the ninth switch tube Q9, and the second fault simulation signal is output to the third fault injection point via the second signal input terminal and the eighth switch tube Q8, and the third fault simulation signal is output to the third fault injection point via the third signal input terminal and the seventh switch tube Q7, thereby realizing the injection of different fault simulation signals into the same fault injection point. The same is true for the other switching situations.

[0062] Embodiment 4: The enabling control module 30 controls the first switch tube Q1, the fourth switch tube Q4 and the seventh switch tube Q7 to be turned on, and the first fault simulation signal is output to the first fault injection point via the first signal input terminal and the first switch tube Q1; the second fault simulation signal is output to the second fault injection point via the second signal input terminal and the fourth switch tube Q4; the third fault simulation signal is output to the third fault injection point via the third signal input terminal and the seventh switch tube Q7. In this way, different fault simulation signals are injected into different fault injection points.

[0063] The utility model also provides an automobile, comprising an automobile safety system and the hardware fault testing device as described above, wherein the automobile safety system has multiple fault injection points.

[0064] The signal switching module 20 is controlled by the enabling control module 30 in the hardware fault test device to switch on / off the paths between multiple signal input terminals and multiple signal output terminals, so as to meet complex test scenarios such as different fault simulation signals are injected into different fault injection points of the automobile safety system, or the same fault simulation signal is injected into different fault injection points of the automobile safety system, or different fault simulation signals are injected into the same fault injection point of the automobile safety system. Different types of fault tests are performed on the automobile control system, which improves the flexibility and efficiency of fault testing on the automobile control system.

[0065] The above embodiments are only preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A hardware fault testing device, It is characterized in that The hardware fault testing device comprises: A signal generating module, the signal generating module comprising a plurality of output terminals; the signal generating module is used to output a plurality of fault simulation signals through the plurality of output terminals; A signal switching module, wherein the signal switching module comprises a plurality of signal input terminals and a plurality of signal output terminals, wherein the number of the plurality of signal input terminals is consistent with the number of the plurality of signal output terminals, the plurality of signal input terminals are connected to the plurality of output terminals of the signal generating module in a one-to-one correspondence, and the plurality of signal output terminals are used to access a plurality of fault injection points; An enabling control module, wherein the control end of the enabling control module is electrically connected to the controlled end of the signal switching module; the enabling control module is used to control the signal switching module to switch on / off the paths between the plurality of signal input ends and the plurality of signal output ends.

2. The hardware failure testing device according to claim 1, It is characterized in that The signal switching module includes a plurality of switch circuits, each of the switch circuits has the signal input end and the signal output end, and the plurality of switch circuits are electrically connected to each other; The control end of the enabling control module is electrically connected to the controlled ends of the plurality of switch circuits respectively; The enabling control module is used to control the plurality of switch circuits to be in an on / off state, so as to turn on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals.

3. The hardware failure testing device according to claim 2, It is characterized in that Each of the switch circuits comprises a plurality of switch tubes, and the number of switch tubes in each of the switch circuits is consistent with the number of the switch circuits; The control end of the enabling control module is electrically connected to the controlled ends of the plurality of switch tubes respectively; The enabling control module is used to control the plurality of switch tubes to be in an on / off state, so as to turn on / off the paths between the plurality of signal input terminals and the plurality of signal output terminals.

4. The hardware failure testing device according to claim 1, It is characterized in that The signal switching module includes a first switch circuit, a second switch circuit and a third switch circuit; The first switch circuit includes a first signal input terminal and a first signal output terminal, the second switch circuit includes a second signal input terminal and a second signal output terminal, and the third switch circuit includes a third signal input terminal and a third signal output terminal; The first signal input terminal, the second signal input terminal and the third signal input terminal are all electrically connected to the output terminal of the signal generating module; the first signal output terminal is used to access a first fault injection point, the second signal output terminal is used to access a second fault injection point, and the third signal output terminal is used to access a third fault injection point.

5. The hardware failure testing device according to claim 4, It is characterized in that The signal generating module comprises a first output terminal, a second output terminal and a third output terminal; The first output terminal is connected to the first signal input terminal, the second output terminal is connected to the second signal input terminal, and the third output terminal is connected to the third signal input terminal; The enabling control module is used to control the signal switching module to turn on / off the path between the first output end and the first fault injection point, the path between the first output end and the second fault injection point, and the path between the first output end and the third fault injection point.

6. The hardware failure testing device according to claim 5, It is characterized in that The enabling control module is further used to control the signal switching module to turn on / off the path between the second output end and the first fault injection point, the path between the second output end and the second fault injection point, and the path between the second output end and the third fault injection point.

7. The hardware failure testing device according to claim 5, It is characterized in that The enabling control module is further used to control the signal switching module to turn on / off the path between the third output terminal and the first fault injection point, the path between the third output terminal and the second fault injection point, and the path between the third output terminal and the third fault injection point.

8. The hardware failure testing device according to claim 4, It is characterized in that The enabling control module has a first control end, a second control end, a third control end, a fourth control end, a fifth control end, a sixth control end, a seventh control end, an eighth control end and a ninth control end; The first switch circuit has a first switch tube, a second switch tube and a third switch tube; the second switch circuit has a fourth switch tube, a fifth switch tube and a sixth switch tube; the third switch circuit has a seventh switch tube, an eighth switch tube and a ninth switch tube; The first control end is connected to the controlled end of the first switch tube, the second control end is connected to the controlled end of the second switch tube, and the third control end is connected to the controlled end of the third switch tube; the fourth control end is connected to the controlled end of the fourth switch tube, the fifth control end is connected to the controlled end of the fifth switch tube, and the sixth control end is connected to the controlled end of the sixth switch tube; the seventh control end is connected to the controlled end of the seventh switch tube, the eighth control end is connected to the controlled end of the eighth switch tube, and the ninth control end is connected to the controlled end of the ninth switch tube.

9. The hardware failure testing device according to claim 8, It is characterized in that The enabling control module is used to control the first switch tube to be turned on so that the first fault simulation signal is output to the first fault injection point through the first transmission channel, and to control the fourth switch tube to be turned on so that the second fault simulation signal is output to the second fault injection point through the second transmission channel, and to control the seventh switch tube to be turned on so that the third fault simulation signal is output to the third fault injection point through the third transmission channel.

10. A car, It is characterized in that The invention comprises an automobile safety system and a hardware fault testing device as claimed in any one of claims 1 to 9, wherein the automobile safety system has a plurality of fault injection points.

Citation Information

Cited By

  • Fault simulation device in power control system and power control system

    CN120704294A

  • Fault simulation device in power control system and power control system

    CN120704294B