Detection device, method and system

Through the design of the detection circuit, the detection power supply, the first diode and the voltage divider, combined with the dual diode clamp branch and the current limiting resistor, the detection difficulty of the switching signal wiring harness when the vehicle battery is shorted, and the accurate signal distinction and protection of the analog-to-digital converter are achieved.

CN120370053APending Publication Date: 2025-07-25BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410095142.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The prior art cannot effectively distinguish the high-level or low-level signals generated when the switching signal wiring harness is shorted from the positive or negative electrode of the vehicle battery, resulting in difficulty in detection.

Method used

The detection circuit design is adopted, including detecting power supply, first diode and voltage division branch, output voltage values through voltage division nodes, distinguishing normal signals from short-connected fault signals, combining dual diode clamping branches and current limiting resistors to prevent damage to the analog-to-digital converter.

Benefits of technology

It realizes the distinction between normal signals and short-connected fault signals under high or low signals, ensures detection accuracy, and protects the analog-to-digital converter to prevent damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120370053A_ABST
    Figure CN120370053A_ABST
Patent Text Reader

Abstract

The invention provides a detection device, method and system, and the device comprises a driving switch circuit, the signal input end of the driving switch circuit is used for inputting a driving signal, and the driving switch circuit is used for converting the driving signal into a switching value signal; the first end of the switching value signal wire harness is connected with the signal output end of the driving switch circuit, and the switching value signal wire harness is used for transmitting a switching value signal to the detection circuit; the signal input end of the detection circuit is connected with the second end of the switching value signal wire harness, and the signal output end of the detection circuit is used for outputting a detection signal; the detection circuit comprises a detection power supply, a first diode and a voltage division branch; the cathode of the detection power supply is grounded, the anode of the detection power supply is electrically connected with the anode of the first diode, the cathode of the first diode is grounded through the voltage division branch, the cathode of the first diode is the signal input end of the detection circuit, and the voltage division node of the voltage division branch is the signal output end of the detection circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of circuit fault detection, and in particular, to a detection device, method, and system. Background Art

[0002] Before a vehicle is put into operation, it is necessary to detect whether the drive signal of the vehicle can normally drive the actuator to act. For example, when the vehicle needs to brake, a control mechanism, such as a microcontroller unit (MCU), issues a drive signal to control the movement of the brake pedal and complete the braking action.

[0003] Among them, the drive signal is amplified by a drive switch circuit to convert the drive signal into a digital signal. The digital signal is transmitted to the detection circuit through a digital signal wire harness connecting the drive switch circuit and the detection circuit. Then, by detecting the voltage value of the detection signal output by the detection circuit, it can be determined whether the drive signal can normally drive the actuator to act. Usually, the drive signal for driving the actuator to act is a high level, and the drive signal for stopping the actuator to act is a low level.

[0004] However, when the digital signal wire harness is short-circuited with the positive or negative pole of the vehicle battery, a high-level signal or a low-level signal will also be generated. When the detection signal output by the detection circuit is a high level, it is impossible to distinguish whether the high-level signal is a normal drive signal or a high-level signal generated when the digital signal wire harness is short-circuited with the positive pole of the vehicle battery. Similarly, when the detection signal output by the detection circuit is a low level, it is impossible to distinguish whether the low-level signal is a normal drive signal or a low-level signal generated when the digital signal wire harness is short-circuited with the negative pole of the vehicle battery. Summary of the Invention

[0005] The present disclosure provides a detection device, method, and system.

[0006] In a first aspect of the present disclosure, a detection device is provided, including:

[0007] A drive switch circuit, the signal input end of the drive switch circuit is used to input a drive signal, and the drive switch circuit is used to convert the drive signal into a digital signal;

[0008] A digital signal wire harness, the first end of the digital signal wire harness is connected to the signal output end of the drive switch circuit, and the digital signal wire harness is used to transmit the digital signal to the detection circuit;

[0009] A detection circuit, the signal input end of the detection circuit is connected to the second end of the digital signal wire harness, and the signal output end of the detection circuit is used to output a detection signal;

[0010] The detection circuit includes a detection power supply, a first diode, and a voltage-dividing branch; the negative electrode of the detection power supply is grounded, the positive electrode of the detection power supply is electrically connected to the positive electrode of the first diode, the negative electrode of the first diode is grounded through the voltage-dividing branch, the negative electrode of the first diode is the signal input end of the detection circuit, and the voltage-dividing node of the voltage-dividing branch is the signal output end of the detection circuit.

[0011] In some embodiments of the present disclosure, the detection circuit provided in the first aspect further includes a double-diode clamping branch;

[0012] The negative electrode of the double-diode clamping branch is electrically connected to the positive electrode of the detection power supply, and the positive electrode of the double-diode clamping branch is grounded;

[0013] The voltage-dividing node of the voltage-dividing branch is electrically connected to the protection node of the double-diode clamping branch.

[0014] In some embodiments of the present disclosure, the detection circuit in the detection device provided in the first aspect further includes a current-limiting resistor;

[0015] The first end of the current-limiting resistor is electrically connected to the negative electrode of the first diode, and the second end of the current-limiting resistor is grounded through the voltage-dividing branch; the second end of the current-limiting resistor is the signal input end of the detection circuit.

[0016] In some embodiments of the present disclosure, the detection circuit in the detection device provided in the first aspect further includes a filtering capacitor;

[0017] The first end of the filtering capacitor is connected to the voltage-dividing node of the voltage-dividing branch, and the second end of the filtering capacitor is grounded.

[0018] In some embodiments of the present disclosure, the voltage-dividing branch includes a first resistor and a second resistor, and the first resistor and the second resistor are connected in series;

[0019] The double-diode clamping branch includes a second diode and a third diode, and the second diode and the third diode are connected in series.

[0020] In some embodiments of the present disclosure, the drive switch circuit in the detection device provided in the first aspect includes a first drive switch branch;

[0021] The first drive switch branch includes a third resistor, a fourth resistor, a fifth resistor, and a first triode; the first end of the third resistor serves as the signal input end of the drive switch circuit, and the second end of the third resistor is electrically connected to the base of the first triode; the first end of the fourth resistor is electrically connected to the base of the first triode, and the second end of the fourth resistor is grounded together with the emitter of the first triode; the first end of the fifth resistor is connected to the first end of the switch signal wire harness, and the second end of the fifth resistor is electrically connected to the collector of the first triode.

[0022] In some embodiments of the present disclosure, the driving switch circuit in the detection device provided in the first aspect further includes a second driving switch branch;

[0023] The second driving switch branch includes a sixth resistor, a seventh resistor, an eighth resistor, and a second triode; the first end of the sixth resistor is electrically connected to the first end of the third resistor, and the second end of the sixth resistor is electrically connected to the base of the second triode; the first end of the seventh resistor is electrically connected to the base of the second triode, and the second end of the seventh resistor is grounded at the emitter of the second triode; the first end of the eighth resistor is electrically connected to the first end of the fifth resistor, and the second end of the eighth resistor is electrically connected to the collector of the second triode.

[0024] In some embodiments of the present disclosure, the driving switch circuit in the detection device provided in the first aspect further includes a shunt resistor;

[0025] The first end of the shunt resistor is electrically connected to the first end of the fifth resistor, and the second end of the shunt resistor is grounded.

[0026] The second aspect of the present disclosure provides a detection method, including:

[0027] Sending a driving signal to the driving switch circuit in the detection device;

[0028] Receiving the voltage value sent by the digital-to-analog converter;

[0029] Judging whether the switch quantity signal wire harness in the detection device is faulty according to the voltage value.

[0030] The third aspect of the present disclosure provides a detection system, including any detection device in the first aspect of the present disclosure, an analog-to-digital converter, and a processor;

[0031] The signal input end of the detection device is connected to the signal output end of the processor, the signal output end of the detection device is connected to the signal input end of the analog-to-digital converter, the signal input end of the detection device is used to receive the driving signal sent by the processor, and the signal output end of the detection device is used to output a detection signal;

[0032] The signal output end of the analog-to-digital converter is connected to the signal input end of the processor, and the analog-to-digital converter is used to convert the detection signal into a voltage value;

[0033] The processor is used to send a driving signal to the detection device and is used to judge whether the switch quantity signal wire harness in the detection device is faulty according to the voltage value.

[0034] The present disclosure provides a detection device, method, and system. The detection device provided by the embodiments of the present disclosure includes: a driving switch circuit, the signal input end of the driving switch circuit is used to input a driving signal, and the driving switch circuit is used to convert the driving signal into a switching quantity signal; a switching quantity signal wire harness, the first end of the switching quantity signal wire harness is connected to the signal output end of the driving switch circuit, and the switching quantity signal wire harness is used to transmit the switching quantity signal to a detection circuit; a detection circuit, the signal input end of the detection circuit is connected to the second end of the switching quantity signal wire harness, and the signal output end of the detection circuit is used to output a detection signal; the detection circuit includes a detection power supply, a first diode, and a voltage dividing branch; the negative electrode of the detection power supply is grounded, the positive electrode of the detection power supply is electrically connected to the positive electrode of the first diode, the negative electrode of the first diode is grounded through the voltage dividing branch, the negative electrode of the first diode is the signal input end of the detection circuit, and the voltage dividing node of the voltage dividing branch is the signal output end of the detection circuit.

[0035] Through the solution of the present disclosure, regardless of whether the driving signal is a high-level signal or a low-level signal, when the switching quantity signal wire harness is fault-free, the voltage value of the detection signal output at the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit after the voltage output by the detection power supply drops through the first diode, that is, it has nothing to do with the voltage value of the vehicle battery. When the switching quantity signal wire harness is short-circuited to the positive electrode of the vehicle battery, the voltage value of the detection signal output at the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output at the positive electrode of the vehicle battery; when the switching quantity signal wire harness is short-circuited to the negative electrode of the vehicle battery, the voltage value of the detection signal output at the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output at the negative electrode of the vehicle battery; therefore, by the voltage value of the detection signal, it is possible to distinguish whether the high-level signal or the low-level signal of the detection signal is a high-level signal or a low-level signal generated when the switching quantity signal wire harness is short-circuited to the positive electrode or the negative electrode of the vehicle battery.

[0036] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understood through the following description. Description of the Drawings

[0037] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:

[0038] Figure 1 is a schematic structural diagram of the first detection device provided by the embodiments of the present disclosure;

[0039] Figure 2 is a schematic structural diagram of the second detection device provided by the embodiments of the present disclosure;

[0040] Figure 3 is a schematic structural diagram of the third detection device provided by the embodiments of the present disclosure;

[0041] Figure 4 Schematic diagram of the structure of the fourth detection device provided by the embodiments of the present disclosure;

[0042] Figure 5 Schematic diagram of the structure of the fifth detection device provided by the embodiments of the present disclosure;

[0043] Figure 6 Schematic diagram of the structure of the sixth detection device provided by the embodiments of the present disclosure;

[0044] Figure 7 Schematic diagram of the structure of the detection system provided by the embodiments of the present disclosure; Detailed implementation manners

[0045] The following makes an illustration of the exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, descriptions of well-known functions and structures are omitted in the following description for clarity and conciseness.

[0046] As Figure 1 shown, the embodiments of the present disclosure provide a detection device, including:

[0047] A driving switch circuit, the signal input end of the driving switch circuit is used for inputting a driving signal, and the driving switch circuit is used for converting the driving signal into a switching signal;

[0048] A switching signal wire harness, the first end of the switching signal wire harness is connected to the signal output end of the driving switch circuit, and the switching signal wire harness is used for transmitting the switching signal to the detection circuit;

[0049] A detection circuit, the signal input end of the detection circuit is connected to the second end of the switching signal wire harness, and the signal output end of the detection circuit is used for outputting a detection signal;

[0050] The detection circuit includes a detection power supply V1, a first diode D1 and a voltage dividing branch; the negative pole of the detection power supply V1 is grounded, the positive pole of the detection power supply V1 is electrically connected to the positive pole of the first diode D1, the negative pole of the first diode D1 is grounded through the voltage dividing branch, the negative pole of the first diode D1 is the signal input end of the detection circuit, and the voltage dividing node of the voltage dividing branch is the signal output end of the detection circuit.

[0051] Through the solution of the present disclosure, regardless of whether the drive signal is a high-level signal or a low-level signal, when the switching signal harness is fault-free, the voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit after the voltage output by the detection power supply V1 drops through the first diode D1, that is, it has nothing to do with the voltage value of the vehicle battery. When the switching signal harness is short-circuited with the positive pole of the vehicle battery, the voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output by the positive pole of the vehicle battery; when the switching signal harness is short-circuited with the negative pole of the vehicle battery, the voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output by the negative pole of the vehicle battery; therefore, by the voltage value of the detection signal, it is possible to distinguish whether the high-level signal or the low-level signal of the detection signal is a high-level signal or a low-level signal generated when the switching signal harness is short-circuited with the positive or negative pole of the vehicle battery.

[0052] In one embodiment, the voltage value after the voltage of the detection power supply V1 drops through the first diode D1 is greater than the voltage value corresponding to the high-level signal.

[0053] For example, when the drive signal is a high-level signal and the switching signal harness is fault-free:

[0054] At this time, since the voltage value after the voltage of the detection power supply V1 drops through the first diode D1 is greater than the voltage value corresponding to the high-level signal, the first diode D1 conducts. The voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit after the voltage output by the detection power supply V1 drops through the first diode D1.

[0055] For example, when the drive signal is a high-level signal and the switching signal harness is short-circuited with the positive pole of the vehicle battery:

[0056] At this time, since the voltage value output by the positive pole of the vehicle battery is usually greater than the voltage value of the detection power supply V1, the first diode D1 does not conduct. At this time, the voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output by the positive pole of the vehicle battery.

[0057] For example, when the drive signal is a high-level signal and the switching signal harness is short-circuited with the negative pole of the vehicle battery:

[0058] At this time, the voltage value of the detection signal output by the detection end is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output by the negative pole of the vehicle battery.

[0059] In one embodiment, the drive signal can be provided by the vehicle's MCU.

[0060] In one embodiment, the drive switch circuit is used to amplify the drive signal so that the detection circuit can accurately detect the detection signal after the drive signal changes.

[0061] In one embodiment, the driving switch circuit may adopt a multi-stage method circuit to amplify the driving signal.

[0062] In one embodiment, the switch quantity signal wire harness refers to a wire harness composed of wires for transmitting switch quantity signals.

[0063] In one embodiment, the switch quantity signal wire harness may be short-circuited to the positive or negative pole of the vehicle battery due to reasons such as wire breakage and aging.

[0064] In one embodiment, the signal output terminal of the detection circuit is usually connected to an analog-to-digital converter (ADC), and the analog-to-digital converter is used to obtain the voltage value corresponding to the detection signal.

[0065] In one embodiment, the voltage dividing branch is a voltage dividing branch composed of a plurality of resistors connected in series. Preferably, the voltage dividing branch is a voltage dividing branch composed of two resistors connected in series, and the node where the two resistors are connected is the voltage dividing node. Since the output terminal of the detection circuit is the voltage dividing node, through the voltage dividing effect of the voltage dividing circuit, the situation of damage to the analog-to-digital converter caused by excessive voltage of the detection power supply V1 can be prevented.

[0066] In one embodiment, when using the detection device provided by the present disclosure, the voltage values in different situations can be pre-calibrated according to the detection power supply V1, the first diode D1, the voltage dividing circuit, the positive voltage and the negative voltage of the vehicle battery. For example, when the driving signal is at a high level, the voltage values corresponding to the detection signal when the switch quantity signal wire harness is short-circuited to the positive pole of the vehicle battery, when the switch quantity signal wire harness is short-circuited to the negative pole of the vehicle battery, and when the switch quantity signal wire harness has no fault are calibrated. Furthermore, according to the voltage value corresponding to the detection signal in the actual application and the pre-calibrated voltage value, it is possible to distinguish whether the high-level signal or the low-level signal of the detection signal is a high-level signal or a low-level signal generated when the switch quantity signal wire harness is short-circuited to the positive or negative pole of the vehicle battery.

[0067] In one embodiment, as Figure 2 shown, the detection circuit further includes a double-diode clamping branch;

[0068] The negative pole of the double-diode clamping branch is electrically connected to the positive pole of the detection power supply V1, and the positive pole of the double-diode clamping branch is grounded;

[0069] The voltage dividing node of the voltage dividing branch is electrically connected to the protection node of the double-diode clamping branch.

[0070] In one embodiment, the double-diode clamping branch refers to a branch composed of two diodes connected in series, and the protection node of the double-diode clamping branch refers to the node where the two diodes are connected.

[0071] In one embodiment, when the switching signal wire harness is short-circuited with the positive pole of the vehicle battery, the voltage value of the detected signal output is the voltage value generated at the voltage dividing node of the voltage dividing circuit by the voltage output from the positive pole of the vehicle battery. At this time, since the voltage value of the vehicle positive pole is usually large, the analog-to-digital converter may be damaged. At this time, through the action of the double-diode clamping branch, the voltage value corresponding to the detected signal can be clamped at a lower voltage value to prevent damage to the analog-to-digital converter.

[0072] In one embodiment, as Figure 3 shown, the detection circuit further includes a current-limiting resistor RX;

[0073] The first end of the current-limiting resistor RX is electrically connected to the negative pole of the first diode D1, and the second end of the current-limiting resistor RX is grounded through the voltage dividing branch;

[0074] The second end of the current-limiting resistor RX is the signal input end of the detection circuit.

[0075] In one embodiment, the current-limiting resistor RX is used to limit the magnitude of the current in the detection circuit to avoid damage to the analog-to-digital converter due to large current.

[0076] In one embodiment, the current-limiting resistor RX can be obtained by connecting two or more resistors in series or in parallel.

[0077] In one embodiment, the current-limiting resistor RX can also be a single resistor.

[0078] In one embodiment, as Figure 4 shown, the detection circuit further includes a filter capacitor C1;

[0079] The first end of the filter capacitor C1 is connected to the voltage dividing node of the voltage dividing branch, and the second end of the filter capacitor C1 is grounded.

[0080] In one embodiment, the filter capacitor C1 is used to filter out voltage fluctuations in the detection circuit and maintain the stability of the detected signal.

[0081] In one embodiment, the voltage dividing branch includes a first resistor R1 and a second resistor R2, and the first resistor R1 and the second resistor R2 are connected in series;

[0082] The double-diode clamping branch includes a second diode D2 and a third diode D3, and the second diode D2 and the third diode D3 are connected in series.

[0083] In one embodiment, the first resistor R1 is a single resistor, or a plurality of resistors connected in series or in parallel.

[0084] In one embodiment, the second resistor R2 is a single resistor, or a plurality of resistors connected in series or in parallel.

[0085] In one embodiment, the node where the second diode D2 and the third diode D3 are connected is the protection node of the double-diode clamping branch.

[0086] In one embodiment, the second diode D2 and the third diode D3 can clamp the voltage value corresponding to the detection signal at a lower voltage value to prevent damage to the analog-to-digital converter.

[0087] In one embodiment, if the voltage value of the protection node of the double-diode clamping branch is greater than the sum of the voltage drop of the second diode D2 and the voltage value of the detection power supply V1, the voltage value of the protection node of the double-diode clamping branch is clamped at the sum of the voltage drop of the second diode D2 and the voltage value of the detection power supply V1.

[0088] In one embodiment, the signal detection and fault diagnosis functions are realized by analyzing the voltage data of the detection signal collected in the analog-to-digital converter.

[0089] In one embodiment, taking Figure 4 as an example, assuming that the voltage value of the detection power supply V1 is V1, the resistance value of the current-limiting resistor RX is RX, the resistance value of the first resistor is R1, and the resistance value of the second resistor is R2, then:

[0090] When the switch signal harness is fault-free,

[0091] The first diode D1 conducts. At this time, the voltage of the detection voltage after passing through the voltage drop of the first diode D1 is (V1 - VD);

[0092] (V1 - VD) flows through the current-limiting resistor RX and the voltage-dividing branch, and the voltage of the detection signal output at the signal output end of the detection circuit is:

[0093]

[0094] When the switch signal harness is short-circuited to the positive pole of the vehicle battery,

[0095] Since the voltage output from the positive pole of the vehicle, VBAT+ is greater than V1, the first diode D1 is cut off. At this time, the voltage at the signal input end of the detection circuit is VBAT+. At this time, the voltage value of the detection signal output at the detection end is:

[0096]

[0097] At this time, if V ADC_shortBAT+ > V1 + VD, the voltage value corresponding to the detection signal is clamped at V1 + VD by the double-diode clamping branch; at this time, the voltage value of the detection signal output at the detection end is:

[0098] V ADC_shortBAT+ = V1 + VD.

[0099] In one embodiment, for convenient detection, the maximum voltage value collected by the digital-to-analog converter can be set to V1, and at this time, the voltage value collected by the digital-to-analog converter is V1.

[0100] When the switch signal wire harness is shorted to the negative pole of the vehicle battery,

[0101] Since the voltage VBAT- output from the negative pole of the vehicle is less than V1, the first diode D1 conducts. At this time, the voltage at the signal input end of the detection circuit is VBAT-. At this time, the voltage value of the detection signal output at the detection end is:

[0102]

[0103] In one embodiment, as Figure 5 shown, the drive switch circuit includes a first drive switch branch;

[0104] The first drive switch branch includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, and a first triode Q1; the first end of the third resistor R3 serves as the signal input end of the drive switch circuit, and the second end of the third resistor R3 is electrically connected to the base of the first triode Q1; the first end of the fourth resistor R4 is electrically connected to the base of the first triode Q1, and the second end of the fourth resistor R4 is grounded through the emitter of the first triode Q1; the first end of the fifth resistor R5 is connected to the first end of the switch signal wire harness, and the second end of the fifth resistor R5 is electrically connected to the collector of the first triode Q1.

[0105] In one embodiment, the first drive switch branch is essentially an amplifier circuit.

[0106] In one embodiment, the third resistor R3, the fourth resistor R4, the fifth resistor R5, and the first triode Q1 together constitute a first-stage amplifier circuit.

[0107] In one embodiment, the first drive switch branch is used to amplify the drive signal input at the signal input end of the drive switch circuit once.

[0108] In one embodiment, the third resistor R3 is a base bias resistor.

[0109] In one embodiment, the fourth resistor R4 is a pull-down resistor, which is used to give a fixed level to the base of the first triode Q1 when no drive signal is provided at the signal input end of the drive switch circuit. Specifically, when no drive signal is provided at the signal input of the drive switch circuit, if there is no fourth resistor R4, the base of the first triode Q1 is in a floating state, and the pin is prone to external electromagnetic interference when floating. After configuring the fourth resistor R4, by grounding the second end of the fourth resistor R4 through the emitter of the first triode Q1, the base of the first triode Q1 can be fixed at a low level.

[0110] In one embodiment, the fifth resistor R5 is a load resistor.

[0111] In one embodiment, the first triode Q1 is an NPN or PNP triode. In the present disclosure, the case where the first triode Q1 is an NPN triode is taken as an example for illustration.

[0112] In one embodiment, as Figure 6 shown, the drive switch circuit further includes a second drive switch branch;

[0113] The second drive switch branch includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, and a second triode Q2; a first end of the sixth resistor R6 is electrically connected to a first end of the third resistor R3, and a second end of the sixth resistor R6 is electrically connected to a base of the second triode Q2; a first end of the seventh resistor R7 is electrically connected to the base of the second triode Q2, and a second end of the seventh resistor R7 is grounded through an emitter of the second triode Q2; a first end of the eighth resistor R8 is electrically connected to a first end of the fifth resistor R5, and a second end of the eighth resistor R8 is electrically connected to a collector of the second triode Q2.

[0114] In one embodiment, the second drive switch branch is used to perform secondary amplification on the drive signal amplified by the first drive switch branch.

[0115] In one embodiment, the functions of the components in the second drive switch branch are the same as those of the corresponding components in the first drive switch branch. For example, the sixth resistor R6 is a base bias resistor, the seventh resistor R7 is a load resistor, and the eighth resistor R8 is a pull-down resistor.

[0116] In one embodiment, the drive switch circuit further includes a shunt resistor RF;

[0117] A first end of the shunt resistor RF is electrically connected to a first end of the fifth resistor R5, and a second end of the shunt resistor RF is grounded.

[0118] In one embodiment, as Figure 6 shown, when the first diode D1 is turned on, the voltage of the detection power supply V1 after the voltage drop of the first diode D1 is (V1 - VD); then the current output by the current-limiting resistor RX is divided into two parts, one part flows through the shunt resistor RF, and one part flows through the first resistor R1 and the second resistor R2 in the voltage-dividing branch. At this time, the voltage of the detection signal output by the detection circuit is:

[0119]

[0120] When a high-level signal is input to the signal input terminal of the drive switch circuit, the first triode Q1 and the second triode Q2 conduct. After the current output by the detection power supply V1 passes through the first diode D1 and the current-limiting resistor RX, the current is divided into four parts. One part flows through the fifth resistor R5, one part flows through the eighth resistor R8, one part flows through the shunt resistor RF, and one part flows through the first resistor R1 and the second resistor R2 in the voltage-dividing branch. Among them, the parallel resistance of the fifth resistor R5, the eighth resistor R8, the shunt resistor RF, the first resistor R1 and the second resistor R2 in the voltage-dividing branch is:

[0121]

[0122] At this time, the voltage of the detection signal output by the detection circuit is:

[0123]

[0124] At this time, if the switch signal wire harness is short-circuited with the positive pole of the vehicle battery, the first diode D1 is reversely cut off, and the voltage at the signal input terminal of the detection circuit is VBAT+. At this time, the voltage value of the detection signal output by the detection terminal is:

[0125]

[0126] At this time, if V ADC_shortBAT+ > V1 + VD, the voltage value corresponding to the detection signal is clamped at V1 + VD by the double-diode clamping branch; at this time, the voltage value of the detection signal output by the detection terminal is:

[0127] V ADC_shortBAT+ = V1 + VD.

[0128] If the maximum acquisition voltage value of the analog-to-digital converter is V1, then the voltage value output by the analog-to-digital converter at this time is V1. That is, when the voltage value output by the analog-to-digital converter is V1, a fault occurs where the switch signal wire harness is short-circuited with the positive pole of the vehicle battery.

[0129] If the switch signal wire harness is short-circuited with the negative pole of the vehicle battery, the voltage at the signal input terminal of the detection circuit is VBAT-. At this time, the voltage value of the detection signal output by the detection terminal is:

[0130]

[0131] That is, when the voltage value output by the analog-to-digital converter is a fault occurs where the switch signal wire harness is short-circuited with the negative pole of the vehicle battery.

[0132] If the switching signal wire harness is open, after the current output by the detection power supply V1 flows through the first diode D1 and the current-limiting resistor RX, all of it flows into the first resistor R1 and the second resistor R2 in the voltage-dividing branch. At this time, the voltage value of the detection signal output by the detection end is:

[0133]

[0134] That is, when the voltage value output by the analog-to-digital converter is the switching signal wire harness has an open-circuit fault.

[0135] Further, when the first triode Q1 has an open-circuit fault, the first diode D1 conducts; at this time, the current output by the detection power supply V1 flows through the first diode D1 and the current-limiting resistor RX, and then the current is divided into three parts. One part flows through the eighth resistor R8, one part flows through the shunt resistor RF, and one part flows through the first resistor R1 and the second resistor R2 in the voltage-dividing branch. Among them, the parallel resistance of the eighth resistor R8, the shunt resistor RF, the first resistor R1 and the second resistor R2 in the voltage-dividing branch is:

[0136]

[0137] At this time, the voltage of the detection signal output by the detection circuit is:

[0138]

[0139] Further, when the second triode Q2 has an open-circuit fault, the detection method is the same as when the first triode Q1 has an open-circuit fault, and will not be elaborated here.

[0140] According to the embodiments of the present disclosure, the present disclosure also provides a detection method, including:

[0141] Sending a drive signal to the drive switch circuit in the detection device;

[0142] Receiving the voltage value sent by the digital-to-analog converter;

[0143] Judging whether the switching signal wire harness in the detection device is faulty according to the voltage value.

[0144] According to the embodiments of the present disclosure, as Figure 7 shown, the present disclosure also provides a detection system, including any one of the foregoing detection devices, an analog-to-digital converter and a processor;

[0145] The signal input end of the detection device is connected to the signal output end of the processor, the signal output end of the detection device is connected to the signal input end of the analog-to-digital converter, the signal input end of the detection device is used to receive the drive signal sent by the processor, and the signal output end of the detection device is used to output the detection signal;

[0146] The signal output end of the digital-to-analog converter is connected to the signal input end of the processor, and the digital-to-analog converter is used to convert the detection signal into a voltage value;

[0147] The processor is used to send a driving signal to the detection device and to judge whether the switching signal harness in the detection device is faulty according to the voltage value.

[0148] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the present invention.

[0149] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically and clearly defined.

[0150] In the present invention, unless otherwise clearly defined and limited, the terms "mounted", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection, an electrical connection or communicable with each other; it may be directly connected, or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0151] In the present invention, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "under" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.

[0152] In the present invention, terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0153] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A detection device, characterized in that, Comprising: A drive switch circuit, the signal input terminal of the drive switch circuit is used to input a drive signal, and the drive switch circuit is used to convert the drive signal into a digital signal; A digital signal wire harness, the first end of the digital signal wire harness is connected to the signal output terminal of the drive switch circuit, and the digital signal wire harness is used to transmit the digital signal to a detection circuit; A detection circuit, the signal input terminal of the detection circuit is connected to the second end of the digital signal wire harness, and the signal output terminal of the detection circuit is used to output a detection signal; The detection circuit includes a detection power supply, a first diode and a voltage dividing branch; the negative pole of the detection power supply is grounded, the positive pole of the detection power supply is electrically connected to the positive pole of the first diode, the negative pole of the first diode is grounded through the voltage dividing branch, the negative pole of the first diode is the signal input terminal of the detection circuit, and the voltage dividing node of the voltage dividing branch is the signal output terminal of the detection circuit.

2. The detection device according to claim 1, wherein The detection circuit further includes a double diode clamping branch; The negative pole of the double diode clamping branch is electrically connected to the positive pole of the detection power supply, and the positive pole of the double diode clamping branch is grounded; The voltage dividing node of the voltage dividing branch is electrically connected to the protection node of the double diode clamping branch.

3. The detection device according to claim 1, wherein The detection circuit further includes a current limiting resistor; The first end of the current limiting resistor is electrically connected to the negative pole of the first diode, and the second end of the current limiting resistor is grounded through the voltage dividing branch; the second end of the current limiting resistor is the signal input terminal of the detection circuit.

4. The detection device according to claim 1, wherein The detection circuit further includes a filter capacitor; The first end of the filter capacitor is connected to the voltage dividing node of the voltage dividing branch, and the second end of the filter capacitor is grounded.

5. The detection device according to claim 2, wherein The voltage dividing branch includes a first resistor and a second resistor, and the first resistor and the second resistor are connected in series; The double diode clamping branch includes a second diode and a third diode, and the second diode and the third diode are connected in series.

6. The detection device according to claim 1, wherein The drive switch circuit includes a first drive switch branch; The first drive switch branch includes a third resistor, a fourth resistor, a fifth resistor and a first triode; the first end of the third resistor serves as the signal input terminal of the drive switch circuit, and the second end of the third resistor is electrically connected to the base of the first triode; the first end of the fourth resistor is electrically connected to the base of the first triode, and the second end of the fourth resistor is grounded with the emitter of the first triode; the first end of the fifth resistor is connected to the first end of the digital signal wire harness, and the second end of the fifth resistor is electrically connected to the collector of the first triode.

7. The detection device according to claim 6, characterized in that The drive switch circuit further includes a second drive switch branch; The second driving switch branch includes a sixth resistor, a seventh resistor, an eighth resistor, and a second triode; a first end of the sixth resistor is electrically connected to a first end of the third resistor, and a second end of the sixth resistor is electrically connected to a base of the second triode; a first end of the seventh resistor is electrically connected to the base of the second triode, and a second end of the seventh resistor is grounded through an emitter of the second triode; a first end of the eighth resistor is electrically connected to a first end of the fifth resistor, and a second end of the eighth resistor is electrically connected to a collector of the second triode.

8. The detection device according to claim 7, wherein, The driving switch circuit further includes a shunt resistor; A first end of the shunt resistor is electrically connected to the first end of the fifth resistor, and a second end of the shunt resistor is grounded.

9. A detection method, characterized in that: Sending a driving signal to a driving switch circuit in the detection device; Receiving a voltage value sent by the digital-to-analog converter; Judging whether a switch quantity signal wire harness in the detection device is faulty according to the voltage value.

10. A detection system, characterized in that: Including the detection device, an analog-to-digital converter, and a processor according to any one of claims 1 to 8; A signal input end of the detection device is connected to a signal output end of the processor, a signal output end of the detection device is connected to a signal input end of the analog-to-digital converter, the signal input end of the detection device is used for receiving a driving signal sent by the processor, and the signal output end of the detection device is used for outputting a detection signal; A signal output end of the digital-to-analog converter is connected to a signal input end of the processor, and the digital-to-analog converter is used for converting the detection signal into a voltage value; The processor is used for sending a driving signal to the detection device and for judging whether a switch quantity signal wire harness in the detection device is faulty according to the voltage value.