Method and device for detecting ground short circuit fault
By providing a constant current to the leads of the electronic control unit and measuring the voltage difference, the problem of not being able to quickly and accurately locate grounding short circuits in the prior art is solved, enabling rapid and accurate location and efficient repair, thus improving safety and repair efficiency.
Patent Information
- Application Number
- CN202310589370.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
Existing technologies cannot quickly and accurately locate grounding short-circuit faults in automotive electronic control units, causing safety devices to malfunction, posing safety hazards, and resulting in low repair efficiency.
A current source is used to provide a constant current to the two leads of the electronic control unit. By measuring the voltage difference between the two ends, it is determined which lead has a ground short circuit. The location of the short circuit is determined by comparing the voltages of the high and low leads.
It can quickly and accurately locate grounding short circuit faults, improve fault detection and repair efficiency, enhance user experience, and has a simple and low-cost hardware structure.
Smart Images

Figure CN119024222A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to ground short fault diagnosis, and more particularly, to a method and apparatus for detecting a ground short fault in an electronic control unit (eg, an automotive airbag controller). Background Art
[0002] In the automotive electronic system, the Electronic Control Unit (ECU) is connected to safety devices (e.g., airbags, fuel cut-off devices, etc.). When the ECU determines that a collision event has occurred, the ECU activates at least one safety device. For example, when the ECU determines that a collision event has occurred, the ECU inflates the airbag to protect the occupant from impact.
[0003] In an environment where the vehicle body is grounded, the two lead ends of the electronic control unit are prone to ground short circuits, causing safety devices to fail to work properly (for example, the airbag cannot be inflated normally), posing a safety hazard. Therefore, short circuit faults need to be checked regularly. Traditional short circuit fault diagnosis can only determine ground short circuits by finding that the voltage at the lead end of the electronic control unit is less than a specific threshold (for example, 0.8V), but it is impossible to determine the specific lead end where the ground short circuit occurs.
[0004] In order to improve the efficiency of vehicle fault detection and repair, it is necessary to determine which lead terminal of the electronic control unit has a ground short circuit. Summary of the invention
[0005] The following summary is provided to introduce selected concepts in a simplified form that are further described in the detailed description that follows. This summary is not intended to highlight key features or essential features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter.
[0006] In order to improve the efficiency of vehicle fault detection and maintenance and quickly diagnose the specific lead terminal of the electronic control unit that is short-circuited to ground, the present invention introduces a detection current source to provide a constant current to the load between the two lead terminals of the electronic control unit, thereby forming a voltage difference across the load. When a ground short circuit occurs at any lead terminal of the electronic control unit, the specific lead terminal that is short-circuited to ground is determined by detecting whether there is a voltage difference between the two ends of the load.
[0007] An embodiment of the present invention provides a method for detecting a ground short circuit, comprising: turning on a detection current source, the detection current source being connected to a high-side lead terminal of two lead terminals of an electronic control circuit; disconnecting a low-side switch of a ground terminal of the electronic control circuit; measuring the voltages of the two lead terminals of the electronic control circuit respectively; and determining whether a ground short circuit occurs in the high-side lead terminal or the low-side lead terminal of the two lead terminals by comparing the voltages of the two lead terminals. When the voltage of the high-side lead terminal is greater than the voltage of the low-side lead terminal, it is determined that a ground short circuit occurs in the low-side lead terminal; when the voltage of the high-side lead terminal is equal to the voltage of the low-side lead terminal, it is determined that a ground short circuit occurs in the high-side lead terminal.
[0008] An embodiment of the present invention provides a device for detecting a ground short circuit, comprising: a detection current source, the detection current source being connected to a high-side lead terminal of two lead terminals of an electronic control circuit; a low-side switch, used to control the connection or disconnection of the ground terminal of the electronic control circuit; a measurement module, used to respectively measure the voltages of the two lead terminals of the electronic control circuit when the detection current source is connected and the low-side switch is disconnected; and a comparison module, used to determine whether a ground short circuit occurs in the high-side lead terminal or the low-side lead terminal of the two lead terminals by comparing the voltages of the two lead terminals. When the voltage of the high-side lead terminal is greater than the voltage of the low-side lead terminal, it is determined that a ground short circuit occurs in the low-side lead terminal; when the voltage of the high-side lead terminal is equal to the voltage of the low-side lead terminal, it is determined that a ground short circuit occurs in the high-side lead terminal.
[0009] Compared with traditional ground short-circuit fault detection, the present invention can not only diagnose ground short-circuit faults at the lead ends of electronic control units, but also quickly determine the specific lead ends where the ground short-circuit occurs, thereby facilitating fault repair, greatly improving fault detection and repair efficiency, improving user experience, and having a simple hardware structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] A further understanding of the nature and advantages of the present invention may be realized by referring to the following drawings.In the accompanying drawings, similar components or features may have the same reference numerals.
[0011] Figure 1 A schematic diagram of an electronic control circuit for detecting a short to ground is shown.
[0012] Figure 2A A circuit R.406435 for detecting a ground short circuit according to an embodiment of the present invention is shown.
[0013] Schematic diagram.
[0014] Figure 2BA schematic diagram of a circuit for detecting a ground short circuit according to another embodiment of the present invention is shown.
[0015] Figure 3 A flow chart of a method for detecting a ground short circuit according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0016] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not a limitation of the scope of protection, applicability or examples set forth in the claims. The function and arrangement of the elements discussed can be changed without departing from the scope of protection of the present disclosure. Various examples can omit, replace or add various processes or components as needed. For example, the described method can be performed in an order different from the described order, and various steps can be added, omitted or combined. In addition, the features described relative to some examples can also be combined in other examples.
[0017] Figure 1 A schematic diagram of an electronic control circuit 100 for detecting a short to ground is shown.
[0018] Figure 1 The electronic control circuit 100 shown includes: a detection current source 101 and its switch 102, voltage divider bias circuits 103 and 104, a high-side switch 105, a low-side switch 106, a high-side lead terminal 107 and a low-side lead terminal 108. The electronic control circuit 100 is usually connected to an external load 109 (for example, an airbag, Figure 1 It is represented by its equivalent resistance).
[0019] The voltage-dividing bias circuits 103 and 104 maintain the normal output voltages of the high-side lead terminal 107 and the low-side lead terminal 108 at a preset value (eg, 1.25 V).
[0020] The high-side switch 105 is connected to the power supply of the electronic control circuit 100, and the low-side switch 106 is connected to the ground terminal (GND). For example, the high-side switch 105 and the low-side switch 106 can be implemented by a metal-oxide semiconductor field-effect transistor (MOSFET). When the high-side switch 105 and the low-side switch 106 are turned on at the same time, they provide power and ground to the load 109 through the high-side lead terminal 107 and the low-side lead terminal 108, respectively, so that the load 109 is triggered and operates. For example, when a collision event occurs, the electronic control circuit 100 turns on both the high-side switch 105 and the low-side switch 106, and supplies power to the load 109 (for example, an airbag) through the high-side lead terminal 107 and the low-side lead terminal 108 to inflate it, thereby providing safety protection for the vehicle occupants from collision.
[0021] A detection current source 101 for providing a constant current (eg, 40 mA) is connected to a high-side lead terminal 107 of the electronic control circuit 100. The detection current source 101 may be located inside the electronic control circuit 100 (eg, Figure 1 shown) or externally (not shown).
[0022] When a ground short circuit is detected, the detection current source 101 is turned on by closing the switch 102. The low side switch 106 is turned off. Preferably, both the low side switch 106 and the high side switch 105 are turned off. Then, the voltages of the high side lead terminal 107 and the low side lead terminal 108 are measured respectively. By comparing the voltages of the high side lead terminal 107 and the low side lead terminal 108, it is determined whether the high side lead terminal 107 or the low side lead terminal 108 is shorted to ground. Specifically, if the voltage of the high side lead terminal 107 is greater than the voltage of the low side lead terminal 108, it is determined that the low side lead terminal 108 is shorted to ground; if the voltage of the high side lead terminal 107 is equal to the voltage of the low side lead terminal 108, it is determined that the high side lead terminal 107 is shorted to ground.
[0023] Figure 2A A schematic diagram of a circuit for detecting a ground short circuit according to an embodiment of the present invention is shown. Figure 2A The situation in which the high side lead terminal 107 is short-circuited to ground is depicted.
[0024] Figure 2A The electronic control circuit 200 and Figure 1 The electronic control circuit 100 is basically similar to the electronic control circuit 100, and the difference between the two is that the voltage divider bias circuits 203 and 204 in the electronic control circuit 200 are implemented by resistors. Optionally, the voltage divider bias circuits 203 and 204 can also be implemented by metal oxide semiconductor field effect (MOS) tubes or triodes, etc.
[0025] Once the conventional fault self-diagnosis system finds that the voltages of the high-side lead terminal 107 and the low-side lead terminal 108 are less than a threshold value (eg, 0.8 V), the electronic control circuit 200 enters the following ground short circuit diagnosis mode.
[0026] First, the switch 102 is closed to turn on the detection current source 101 .
[0027] Next, the low side switch 106 is turned off. Preferably, both the low side switch 106 and the high side switch 107 are turned off. The purpose is to avoid triggering the load (eg, accidentally deploying the airbag).
[0028] Then, the voltages of the high-side lead terminal 107 and the low-side lead terminal 108 are measured respectively.
[0029] Finally, by comparing the voltages of the high-side lead terminal 107 and the low-side lead terminal 108 , it is determined whether the high-side lead terminal 107 or the low-side lead terminal 108 is short-circuited to the ground.
[0030] like Figure 2A As shown, when the high-side lead terminal 107 is short-circuited to the ground, the current output by the detection current source 101 passes through the high-side lead terminal 107 to the ground, and no current flows through the load 109. Therefore, the voltage of the high-side lead terminal 107 is equal to the voltage of the low-side lead terminal 108. Therefore, when the voltage of the high-side lead terminal 107 is equal to the voltage of the low-side lead terminal 108, it can be determined that the high-side lead terminal 107 is short-circuited to the ground.
[0031] Figure 2B A schematic diagram of a circuit for detecting a ground short circuit according to another embodiment of the present invention is shown. Figure 2B A situation in which the low side lead terminal 108 is shorted to ground is depicted.
[0032] Figure 2B The electronic control circuit 200 and Figure 2A The electronic control circuit 200 is basically similar.
[0033] like Figure 2B As shown, when the low-side lead terminal 108 is short-circuited to the ground, the current output by the detection current source 101 passes through the high-side lead terminal 107, the load 109, and the low-side lead terminal 108 to the ground. At this time, a current flows through the load 109, thereby forming a voltage difference across the load 109. That is, the voltage of the high-side lead terminal 107 is greater than the voltage of the low-side lead terminal 108. Therefore, when the voltage of the high-side lead terminal 107 is greater than the voltage of the low-side lead terminal 108, it can be determined that the low-side lead terminal 108 is short-circuited to the ground.
[0034] Figure 3 A method flow chart 300 for detecting a ground short circuit according to an embodiment of the present invention is shown. The method flow chart 300 may be used Figure 1 The electronic control circuit 100 or Figure 2A-2B The electronic control circuit 200 shown in FIG. 2 is used to implement the process, and includes a plurality of steps 302 - 308 .
[0035] In step 302 , the switch 102 is closed to turn on the detection current source 101 .
[0036] In step 304, the low side switch 106 is turned off. Preferably, in step 304, both the low side switch 106 and the high side switch 107 are turned off.
[0037] In step 306 , the voltages of the high-side lead terminal 107 and the low-side lead terminal 108 are measured respectively.
[0038] In step 308, by comparing the voltages of the high-side lead terminal 107 and the low-side lead terminal 108, it is determined whether the high-side lead terminal 107 or the low-side lead terminal 108 is short-circuited to ground. Specifically, when the voltage of the high-side lead terminal 107 is greater than the voltage of the low-side lead terminal 108, it is determined that the low-side lead terminal 108 is short-circuited to ground; when the voltage of the high-side lead terminal 107 is equal to the voltage of the low-side lead terminal 108, it is determined that the high-side lead terminal 107 is short-circuited to ground.
[0039] All devices in various embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units. For example, the electronic control circuit may be a microcontroller unit (MCU), a system on chip (SOC), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.
[0040] The specific embodiments described above in conjunction with the accompanying drawings describe exemplary embodiments, but do not represent all embodiments that can be implemented or fall within the scope of protection of the claims. The term "example" used throughout this specification may mean "used as an example, instance or illustration" and does not mean "preferred" or "having advantages" over other embodiments. For the purpose of providing an understanding of the described technology, the specific embodiments include specific details. However, these technologies can be implemented without these specific details. In some instances, in order to avoid making the concepts of the described embodiments difficult to understand, well-known structures and devices are shown in block diagram form.
[0041] The above description of the present disclosure is provided to enable any person of ordinary skill in the art to implement or use the present disclosure. Various modifications to the present disclosure will be apparent to those of ordinary skill in the art, and the general principles defined herein may be applied to other variations without departing from the scope of protection of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is consistent with the widest range of principles and novel features disclosed herein.
Claims
1. A method for detecting a short circuit to ground, include: Turning on a detection current source, wherein the detection current source is connected to a high-side lead terminal of two lead terminals of the electronic control circuit; disconnecting a low side switch from a ground terminal of the electronic control circuit; Measure the voltage of two lead terminals of the electronic control circuit respectively; as well as By comparing the voltages of the two lead terminals, it is determined whether the high-side lead terminal or the low-side lead terminal of the two lead terminals is short-circuited to the ground.
2. The method according to claim 1, in, The step of disconnecting the low side switch at the ground terminal of the electronic control circuit further includes disconnecting the high side switch at the power terminal of the electronic control circuit.
3. The method according to claim 1 or 2, in, Determining whether a high-side lead terminal or a low-side lead terminal of the two lead terminals is short-circuited to ground includes: When the voltage of the high-side lead terminal is greater than the voltage of the low-side lead terminal, it is determined that the low-side lead terminal is short-circuited to ground.
4. The method according to claim 1 or 2, in, Determining whether a high-side lead terminal or a low-side lead terminal of the two lead terminals is short-circuited to ground includes: When the voltage of the high-side lead terminal is equal to the voltage of the low-side lead terminal, it is determined that the high-side lead terminal is short-circuited to ground.
5. The method according to claim 1 or 2, in, The detection current source is arranged inside or outside the electronic control circuit.
6. A device for detecting a short circuit to ground, include: Detection current source, the detection current source is connected to the two pin terminals of the electronic control circuit R.406435 High side lead terminal; A low-side switch, used to control the connection or disconnection of the ground terminal of the electronic control circuit; A measuring module, used for respectively measuring the voltages of two lead terminals of the electronic control circuit when the detection current source is turned on and the low-side switch is turned off; as well as The comparison module is used to determine whether the high-side lead end or the low-side lead end of the two lead ends is short-circuited to the ground by comparing the voltages of the two lead ends.
7. The device according to claim 6, in, The device also includes a high-side switch, which is used to control the connection or disconnection of the power supply of the electronic control circuit, and wherein the measurement module respectively measures the voltages of the two lead ends of the electronic control circuit when the detection current source is turned on and the low-side switch and the high-side switch are both turned off.
8. The device according to claim 6 or 7, in, The comparison module is used for determining that a ground short circuit occurs at the low-side lead terminal when the voltage at the high-side lead terminal is greater than the voltage at the low-side lead terminal.
9. The device according to claim 6 or 7, in, The comparison module is used for determining that a ground short circuit occurs at the high-side lead terminal when the voltage at the high-side lead terminal is equal to the voltage at the low-side lead terminal.
10. The device according to claim 6 or 7, in, The detection current source is arranged inside or outside the electronic control circuit.
