Self-diagnostic drive output circuit, vehicle, and abnormal state determination method
By designing a self-diagnostic drive output circuit and using a combination of pre-drive module, drive output module and diagnostic module to realize independent drive and fault detection of the load, it solves the problem in the existing technology that the solenoid valve drive output circuit relies on smart chips, and improves Functional independence and fault detection capabilities are achieved.
Patent Information
- Application Number
- CN202311473284.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-07
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-11-07
AI Technical Summary
The solenoid valve drive output circuit in the existing automotive electronic control unit is highly dependent on the intelligent drive chip. As a result, the functions and performance parameters are limited by the chip manufacturer, making it impossible to achieve independent drive output and fault detection.
Design a self-diagnostic drive output circuit, including a pre-drive module, a drive output module and a diagnostic module. By controlling the on or off state of the drive output module, it can drive the load and diagnose abnormal conditions, using a sampling unit and an operational amplifier unit. Collect and compare electrical signals with sub-modules such as the comparison unit to determine the overcurrent, open circuit and short circuit status of the load.
It realizes independent drive output and fault detection of the load, reduces the dependence on the intelligent drive chip, and improves the functional independence and fault detection capability of the solenoid valve drive output circuit.
Smart Images

Figure CN117420815B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automotive electronic control, and in particular to a self-diagnostic drive output circuit, a vehicle and an abnormal state determination method. Background Art
[0002] The solenoid valve drive output circuit in the automotive electronic control unit is often designed based on an intelligent drive chip, which has functions such as pre-drive, fault diagnosis protection, and closed-loop control.
[0003] The existing solenoid valve drive output circuit design is highly dependent on this type of intelligent drive chip, resulting in the functions and performance parameters of the solenoid valve drive output circuit being restricted by chip manufacturers. Summary of the invention
[0004] Based on this, it is necessary to provide a self-diagnostic drive output circuit, a vehicle and an abnormal state determination method, which can realize the drive output and abnormality detection of the load.
[0005] A self-diagnostic drive output circuit comprises: a pre-drive module, a drive output module and a diagnostic module, wherein the input end of the pre-drive module is used to receive a first control signal, the control end of the drive output module is connected to the output end of the pre-drive module, the first end and the second end of the drive output module are respectively connected to the diagnostic module, and the first end of the drive output module is used to connect to a load, wherein:
[0006] The pre-driver module is used to output a second control signal according to the first control signal;
[0007] The driving output module is used for conducting the first terminal and the second terminal of the driving output module in response to the second control signal;
[0008] When the first terminal and the second terminal of the driving output module are in a conducting state, the load drives the diagnosis module to be in a first working state, so as to drive the diagnosis module to diagnose a first abnormal state of the load;
[0009] When the first end and the second end of the driving output module are in a cut-off state, the load drives the diagnosis module to be in a second working state, so as to drive the diagnosis module to diagnose a second abnormal state of the load.
[0010] In one embodiment, the diagnostic module includes:
[0011] a first diagnosis submodule, wherein the input end of the first diagnosis submodule is connected to the second end of the drive output module, and when the first end and the second end of the drive output module are in a conductive state, the first diagnosis submodule is used to receive a first electrical signal of the load, so as to diagnose a first abnormal state of the load under the driving of the first electrical signal;
[0012] A second diagnostic submodule, wherein the input end of the second diagnostic submodule is respectively connected to the second end of the load and the first end of the driving output module, and is used to receive a second electrical signal of the load when the first end and the second end of the driving output module are in a truncated state, so as to diagnose a second abnormal state of the load under the drive of the second electrical signal.
[0013] In one embodiment, the first diagnosis submodule includes:
[0014] A sampling unit, wherein a first end of the sampling unit is connected to a second end of the driving output module, and a second end of the sampling unit is grounded;
[0015] An operational amplifier unit, wherein a first end of the operational amplifier unit is respectively connected to a first end of the sampling unit and a second end of the driving output module, and a second end of the operational amplifier unit is connected to a second end of the sampling unit, for collecting and amplifying the voltage of the sampling unit.
[0016] In one embodiment, the sampling unit comprises:
[0017] a first resistor, wherein a first end of the first resistor is connected to a second end of the driving output module, and a second end of the first resistor is grounded;
[0018] The operational amplifier unit comprises:
[0019] a second resistor, wherein a first end of the second resistor is respectively connected to a first end of the first resistor and a second end of the driving output module;
[0020] a third resistor, a first end of the third resistor being connected to a second end of the second resistor, and a second end of the third resistor being grounded;
[0021] a fourth resistor, a first end of the fourth resistor being connected to a second end of the second resistor;
[0022] an operational amplifier, wherein a first end of the operational amplifier is respectively connected to the second end of the second resistor and the first end of the third resistor, a second end of the operational amplifier is connected to the second end of the fourth resistor, a third end of the operational amplifier is used to receive a first power supply signal, and an output end of the operational amplifier is used to output a first voltage signal;
[0023] A fifth resistor, wherein a first end of the fifth resistor is connected to a second end of the fourth resistor and a second end of the operational amplifier respectively, and a second end of the fifth resistor is connected to an output end of the operational amplifier.
[0024] In one embodiment, the second diagnosis submodule includes:
[0025] A comparison unit, wherein an input end of the comparison unit is respectively connected to a first end of the drive output module and a second end of the load, and an output end of the comparison unit is used to output a comparison signal;
[0026] An auxiliary power supply unit, wherein the first end of the auxiliary power supply unit is used to receive a second power supply signal, the second end of the auxiliary power supply unit is grounded, and the third end of the auxiliary power supply unit is respectively connected to the first end of the drive output module and the second end of the load, for providing a third power supply signal to the comparison unit when the load is in the second abnormal state.
[0027] In one embodiment, the comparison unit comprises:
[0028] a first comparison circuit, wherein a first input end of the first comparison circuit is respectively connected to a first end of the drive output module and a second end of the load, a second input end of the first comparison circuit is used to receive a first reference electrical signal, and an output end of the first comparison circuit is used to output a first comparison electrical signal;
[0029] a second comparison circuit, wherein a first input end of the second comparison circuit is respectively connected to a first end of the drive output module and a second end of the load, a second input end of the second comparison circuit is used to receive a second reference electrical signal, and an output end of the second comparison circuit is used to output a second comparison electrical signal;
[0030] The auxiliary power supply unit comprises:
[0031] a first diode, wherein a first end of the first diode is used to receive the second power supply signal;
[0032] a sixth resistor, wherein a first end of the sixth resistor is connected to the second end of the first diode, and a second end of the sixth resistor is respectively connected to the first input end of the first comparison circuit, the first input end of the second comparison circuit, the first end of the drive output module, and the second end of the load;
[0033] A seventh resistor, wherein the first end of the seventh resistor is respectively connected to the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit, the first end of the drive output module and the second end of the load, and the second end of the seventh resistor is grounded.
[0034] In one embodiment, the pre-driver module includes:
[0035] a first switch unit, wherein a first terminal of the first switch unit is grounded, and a control terminal of the first switch unit is used for switching on a first terminal and a second terminal of the first switch unit in response to the first control signal;
[0036] A second switch unit, wherein the control end of the second switch unit is connected to the second end of the first switch unit, the first end of the second switch unit is used to receive a fourth power supply signal, and the second end of the second switch unit is connected to the control end of the drive output module. When the control end of the second switch unit responds to the output signal of the second end of the first switch unit and turns on the first end and the second end of the second switch unit, the second end of the second switch unit outputs the second control signal.
[0037] In one embodiment, the first switch unit includes:
[0038] an eighth resistor, a first end of the eighth resistor being used for receiving the first control signal;
[0039] a ninth resistor, wherein a first end of the ninth resistor is connected to a second end of the eighth resistor, and a second end of the ninth resistor is grounded;
[0040] a first triode, wherein the base of the first triode is respectively connected to the second end of the eighth resistor and the first end of the ninth resistor, the emitter of the first triode is connected to the second end of the ninth resistor, and the collector of the first triode is connected to the control end of the second switch unit;
[0041] The second switch unit comprises:
[0042] a tenth resistor, a first end of the tenth resistor being connected to the collector of the first transistor;
[0043] an eleventh resistor, a first end of the eleventh resistor being connected to a second end of the tenth resistor;
[0044] A second transistor, the base of the second transistor is respectively connected to the second end of the tenth resistor and the first end of the eleventh resistor, the emitter of the second transistor is connected to the second end of the eleventh resistor and is used to receive a fourth power supply signal, and the collector of the second transistor is connected to the drive output module and is used to output a second control signal.
[0045] In one embodiment, the drive output module includes:
[0046] A third switch unit, wherein the control end of the third switch unit is connected to the collector of the second transistor, the first end of the third switch unit is respectively connected to the first end of the seventh resistor, the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit and the second end of the load, the second end of the third switch unit is respectively connected to the first end of the first resistor and the first end of the second resistor, and the control end of the third switch unit is used to respond to the second control signal to turn on the first end and the second end of the third switch unit.
[0047] In one embodiment, the third switch unit includes:
[0048] A switching transistor, wherein the gate of the switching transistor is connected to the collector of the second transistor, the drain of the switching transistor is respectively connected to the first end of the seventh resistor, the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit and the second end of the load, and the source of the switching transistor is respectively connected to the first end of the first resistor and the first end of the second resistor.
[0049] In one embodiment, the self-diagnosis drive output circuit further includes: a twelfth resistor, a first end of the twelfth resistor is connected to the input end of the pre-drive module, and a second end of the twelfth resistor is grounded.
[0050] A vehicle comprises a single chip microcomputer and the self-diagnosis drive output circuit described in any one of the above embodiments.
[0051] In one embodiment, the single chip microcomputer is used to receive a sampling signal output by a self-diagnostic drive output circuit, and the sampling signal is used to characterize the working state of the load; the abnormal state of the load is determined according to the preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state and a short circuit state, and the preset conditions corresponding to the overcurrent state, the open circuit state and the short circuit state are different.
[0052] A method for determining an abnormal state is performed based on the self-diagnosis drive output circuit described in any one of the above embodiments, the method comprising:
[0053] receiving a sampling signal outputted by a self-diagnosis drive output circuit, wherein the sampling signal is used to characterize a working state of a load;
[0054] The abnormal state of the load is determined according to the preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state and a short circuit state, and the preset conditions corresponding to the overcurrent state, the open circuit state and the short circuit state are different.
[0055] In one embodiment, the sampling signal includes a first voltage signal, a first comparison signal, and a second comparison signal, and determining the fault state of the load according to a preset condition satisfied by the sampling signal includes:
[0056] When the duration of the first voltage signal being greater than the preset voltage threshold reaches a first preset time, determining that the load is in the overcurrent state;
[0057] When the first comparison signal is at a low level and the second comparison signal is at a high level for a duration reaching a second preset time, determining that the load is in the open circuit state;
[0058] When the first comparison signal is at a low level and the duration during which the second comparison signal is at a low level reaches the second preset time, it is determined that the load is in the short-circuit state.
[0059] The above self-diagnostic drive output circuit, vehicle and abnormal state determination method, the control end of the drive output module is connected to the output end of the pre-drive module, the first end and the second end of the drive output module are respectively connected to the diagnostic module, the first end of the drive output module is used to connect to the load, when the input end of the pre-drive module receives the first control signal, the first control signal can control the pre-drive module to output the second control signal, and then turn on or off the first end and the second end of the drive output module. When the pre-drive module outputs the second control signal in response to the first control signal, and the drive output module turns on the first end and the second end of the drive output module in response to the second control signal, the diagnostic module is in the first working state to diagnose the first abnormal state of the load; when the pre-drive module outputs the second control signal in response to the first control signal, and the drive output module cuts off the first end and the second end of the drive output module in response to the second control signal, the diagnostic module is in the second working state to diagnose the second abnormal state of the load. The self-diagnostic drive output circuit of the present application can realize the drive output and fault detection of the load without being based on the intelligent drive chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0061] Figure 1 is a structural block diagram of a self-diagnosis drive output circuit in one embodiment;
[0062] Figure 2 is a structural block diagram of a self-diagnosis drive output circuit in another embodiment;
[0063] Figure 3 A structural block diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0064] Figure 4 is a circuit structure diagram of a self-diagnosis drive output circuit in one embodiment;
[0065] Figure 5 is a circuit structure diagram of a self-diagnosis drive output circuit in another embodiment;
[0066] Figure 6 A circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0067] Figure 7 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0068] Figure 8 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0069] Fig. 9 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0070] Fig.10 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0071] Fig.11 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0072] Fig.12 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0073] Fig.13 It is a signal timing diagram of the conduction process of the switch transistor in the related art;
[0074] Fig.14 It is a signal timing diagram of the switching transistor cut-off process in the related art;
[0075] Fig.15 is a circuit structure diagram of a self-diagnosis drive output circuit in yet another embodiment;
[0076] Fig.16 A schematic diagram of a flow chart of a method for determining an abnormal state in one embodiment;
[0077] Fig.17 is a flow chart of step S1602 in one embodiment;
[0078] Fig.18 A schematic diagram of the principle of diagnosing a load overcurrent state in one embodiment;
[0079] Fig.19 A schematic diagram of the principle of diagnosing an open circuit state of a load in one embodiment;
[0080] Fig. 20 FIG. 4 is a schematic diagram showing the principle of diagnosing a load short-circuit state in an embodiment.
[0081] Description of reference numerals:
[0082] 1-pre-drive module, 11-first switch unit, 111-eighth resistor, 112-ninth resistor, 113-first triode, 12-second switch unit, 121-tenth resistor, 122-eleventh resistor, 123-second triode, 2-drive output module, 21-third switch unit, 211-switch transistor, 22-fourteenth resistor, 23-fifteenth resistor, 24-second diode, 25-electrostatic protection capacitor, 3-diagnostic module, 31-first diagnostic submodule, 311-sampling unit, 3111-first resistor, 312-op amp unit, 3121-second resistor, 312 2-third resistor, 3123-fourth resistor, 3124-operational amplifier, 3125-fifth resistor, 3126-second power supply, 3127-first filter capacitor, 32-second diagnostic submodule, 321-comparison unit, 3211-first comparison circuit, 3212-second comparison circuit, 322-auxiliary power supply unit, 3221-first diode, 3222-sixth resistor, 3223-seventh resistor, 323-filter component, 3231-thirteenth resistor, 3232-second filter capacitor, 4-load, 41-first power supply, 5-processor, 6-twelfth resistor. DETAILED DESCRIPTION
[0083] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0084] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0085] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0086] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.
[0087] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least part of an element” means part or all of an element.
[0088] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0089] In one embodiment, Figure 1 As shown, a self-diagnostic drive output circuit includes a pre-drive module 1, a drive output module 2 and a diagnostic module 3, wherein the input end of the pre-drive module 1 is used to receive a first control signal S1, the control end of the drive output module 2 is connected to the output end of the pre-drive module 1, the first end and the second end of the drive output module 2 are respectively connected to the diagnostic module 3, and the first end of the drive output module 2 is used to connect to the load 4. The pre-drive module 1 is used to output a second control signal S2 according to the first control signal S1. The drive output module 2 is used to conduct the first end and the second end of the drive output module 2 in response to the second control signal. When the first end and the second end of the drive output module 2 are in a conducting state, the load 4 drives the diagnostic module 3 to be in a first working state, so as to drive the diagnostic module 3 to diagnose the first abnormal state of the load 4. When the first end and the second end of the drive output module 3 are in a truncated state, the load 4 drives the diagnostic module 3 to be in a second working state, so as to drive the diagnostic module 3 to diagnose the second abnormal state of the load 4.
[0090] It can be understood that the input end of the pre-drive module 1 can receive a PWM (Pulse Width Modulation) signal. When the first control signal S1 received by the pre-drive module 1 is in the first level state, the pre-drive module 1 is turned on and then outputs the second control signal to the drive output module 2. The drive output module 2 responds to the second control signal and makes the first end and the second end of the drive output module 2 conductive. When the first end and the second end of the drive output module 2 are conductive, the current of the load 4 can enter the diagnosis module 3, so that the diagnosis module 3 is in the first working state. The diagnosis module 3 can be connected to the processor 5. The diagnosis module 3 determines whether the load 4 is in the first abnormal state by detecting the current of the load 4 and sends the diagnosis result information to the processor 5. When the first control signal received by the pre-drive module 1 is in the second level state, the pre-drive module 1 cuts off and outputs the second control signal to the drive output module 2. The drive output module 2 responds to the second control signal and makes the first end and the second end of the drive output module 2 disconnected. When the first and second ends of the driving output module 2 are disconnected, the current of the load 4 stops entering the diagnosis module 3, so that the diagnosis module 3 is in the second working state, and the diagnosis module 3 diagnoses the second abnormal state of the load 4 and sends the diagnosis result information to the processor 5. Exemplarily, the first level state may be a high level state, and the second level state may be a low level state; in another example, the first level state may also be a low level state, and the second level state may be a high level state.
[0091] In the above self-diagnostic drive output circuit, the control end of the drive output module is connected to the output end of the pre-drive module, the first end and the second end of the drive output module are respectively connected to the diagnostic module, the first end of the drive output module is used to connect to the load, when the input end of the pre-drive module receives the first control signal, the first control signal can control the pre-drive module to output the second control signal, and then turn on or off the first end and the second end of the drive output module. When the pre-drive module outputs the second control signal in response to the first control signal, and the drive output module turns on the first end and the second end of the drive output module in response to the second control signal, the diagnostic module is in the first working state to diagnose the first abnormal state of the load; when the pre-drive module outputs the second control signal in response to the first control signal, and the drive output module cuts off the first end and the second end of the drive output module in response to the second control signal, the diagnostic module is in the second working state to diagnose the second abnormal state of the load. The self-diagnostic drive output circuit of the present application can realize the drive output and fault detection of the load without relying on the intelligent drive chip.
[0092] In one embodiment, Figure 2 As shown, the diagnosis module includes a first diagnosis submodule 31 and a second diagnosis submodule 32 .
[0093] The input end of the first diagnostic submodule 31 is connected to the second end of the driving output module 2. When the first end and the second end of the driving output module 2 are in a conductive state, the first diagnostic submodule 31 is used to receive a first electrical signal of the load 4 so as to diagnose a first abnormal state of the load 4 under the drive of the first electrical signal. The output end of the first diagnostic submodule 31 can be connected to the processor 5.
[0094] When the first and second ends of the driving output module 2 are turned on, the current on the load 4 can flow into the first diagnostic submodule 31. The first diagnostic submodule 31 samples and amplifies the current on the load 4, and sends the amplified electrical signal to the processor 5. It can determine whether the load 4 is in a first abnormal state, that is, whether the load 4 has an overcurrent fault.
[0095] The input end of the second diagnosis submodule 32 is connected to the second end of the load 4 and the first end of the drive output module 2 respectively. When the first end and the second end of the drive output module 2 are in the cut-off state, the second diagnosis submodule 32 is used to receive the second electrical signal of the load 4 to diagnose the second abnormal state of the load 4 under the drive of the second electrical signal. The output end of the second diagnosis submodule 32 can be connected to the processor 5.
[0096] The first end of the load 4 is connected to the first output port of the first power supply 41 of the load 4, and the second end of the load 4 is connected to the first end of the drive output module 2 and the input end of the second diagnostic submodule 32 respectively. Since the nature of the current is the directional movement of electrons, when the first end and the second end of the drive output module 2 are cut off, the electrons cannot flow, and the current on the load 4 cannot flow into the first diagnostic submodule 31. Since the first end of the load 4 is connected to the first power supply 41 of the load 4 and the electrons cannot flow, there is still a potential difference between the second end of the load 4 (i.e., the first end of the drive output module 2) and the second end of the drive output module 2. Therefore, the second diagnostic submodule 32 can determine whether the load 4 is in the second abnormal state by detecting the potential of the second end of the load 4, that is, whether the load 4 has an open circuit fault or a short circuit fault.
[0097] In one embodiment, Figure 3 As shown, the first diagnosis submodule 31 includes a sampling unit 311 and an operational amplifier unit 312 .
[0098] The first end of the sampling unit 311 is connected to the second end of the driving output module 2, and the second end of the sampling unit 311 is grounded. The first end of the operational amplifier unit 312 is respectively connected to the first end of the sampling unit 311 and the second end of the driving output module 2, and the second end of the operational amplifier unit 312 is connected to the second end of the sampling unit 311, for collecting and amplifying the voltage of the sampling unit 311.
[0099] When the first and second ends of the driving output module 2 are in the on state, the current on the load 4 can flow into the sampling unit 311 through the first and second ends of the driving output module 2 and generate a voltage drop on the sampling unit 311. The first and second ends of the operational amplifier unit 312 can collect the potential signals at both ends of the sampling unit 311, and amplify the potential signals at both ends of the sampling unit 311, and finally output the amplified voltage signal. By comparing the amplified voltage signal with the preset over-current voltage threshold, it can be determined whether the load 4 is in an over-current state.
[0100] In one embodiment, Figure 4 As shown, the sampling unit 311 includes a first resistor 3111 .
[0101] A first end of the first resistor 3111 is connected to a second end of the driving output module 2 , and a second end of the first resistor 3111 is grounded.
[0102] When the first and second ends of the driving output module 2 are in the on state, the current on the load 4 can flow into the first resistor 3111 through the first and second ends of the driving output module 2 and generate a voltage drop on the first resistor 3111 .
[0103] The operational amplifier unit 312 includes a second resistor 3121 , a third resistor 3122 , a fourth resistor 3123 , an operational amplifier 3124 , and a fifth resistor 3125 .
[0104] The first end of the second resistor 3121 is connected to the first end of the first resistor 3111 and the second end of the driving output module 2. The first end of the third resistor 3122 is connected to the second end of the second resistor 3121, and the second end of the third resistor 3122 is grounded. The first end of the fourth resistor 3123 is connected to the second end of the second resistor 3121. The first end of the operational amplifier 3124 is connected to the second end of the second resistor 3121 and the first end of the third resistor 3122, respectively, the second end of the operational amplifier 3124 is connected to the second end of the fourth resistor 3123, the third end of the operational amplifier 3124 is used to receive the first power supply signal, and the output end of the operational amplifier 3124 is used to output the first voltage signal. The first end of the fifth resistor 3125 is connected to the second end of the fourth resistor 3123 and the second end of the operational amplifier 3124, respectively, the output end of the operational amplifier 3124 can be connected to the processor 5, and the second end of the fifth resistor 3125 is connected to the output end of the operational amplifier 3124.
[0105] When the first and second ends of the drive output module 2 are turned on, the first power supply 41, the load 4, the first and second ends of the drive output module 2, and the first resistor 3111 form a path, and the current of the first power supply 41 can flow into the earth through the load 4, the first and second ends of the drive output module 2, and the first resistor 3111, so the current flowing through the load 4 can flow through the resistor 3111 and generate a voltage drop on the resistor 3111, and there is a potential difference between the two ends of the first resistor 3111. The second resistor 3121 is a current limiting resistor at the positive input end of the operational amplifier 3124, and the second resistor 3121 and the third resistor 3122 divide the voltage to provide an input voltage for the same-direction input end of the operational amplifier 3124, the fourth resistor 3123 is a current limiting resistor at the reverse input end of the operational amplifier 3124, and the fourth resistor 3123 and the fifth resistor 3125 together form a negative feedback circuit. Through the virtual short and virtual open principles of the operational amplifier 3124, the proportional relationship between the first voltage signal output from the output end of the operational amplifier 3124 and the voltage across the first resistor 3111 can be calculated. By comparing the first voltage signal with the preset overcurrent voltage threshold, if the first voltage signal continues to be greater than the preset overcurrent voltage threshold within the first preset time, it can be determined that an overcurrent fault exists in the load 4.
[0106] The third end of the operational amplifier 3124 is connected to the first output port of the second power supply 3126, and the second power supply 3126 supplies power to the operational amplifier 3124 to drive the operational amplifier 3124 to work. The operational amplifier unit 312 may also include a first filter capacitor 3127, and the first end of the first filter capacitor 3127 is respectively connected to the third end of the operational amplifier 3124 and the first output port of the second power supply 3126, and the second end of the first filter capacitor 3127 is grounded. The first filter capacitor 3127 can filter the second power supply 3126 to make the voltage provided by the second power supply 3126 to the operational amplifier 3124 more stable.
[0107] In one embodiment, Figure 5 As shown, the second diagnosis submodule 32 includes a comparison unit 321 and an auxiliary power supply unit 322 .
[0108] The input end of the comparison unit 321 is respectively connected to the first end of the drive output module 2 and the second end of the load 4, and the output end of the comparison unit 321 is connected to the processor 5 for outputting a comparison signal. The first end of the auxiliary power supply unit 322 is used to receive the second power supply signal, the second end of the auxiliary power supply unit 322 is grounded, and the third end of the auxiliary power supply unit 322 is respectively connected to the first end of the drive output module 2 and the second end of the load 4, for providing the third power supply signal to the comparison unit 321 when the load 4 is in the second abnormal state.
[0109] When the first and second ends of the drive output module 2 are cut off, the second diagnosis submodule 32 can diagnose whether the load 4 is in the second abnormal state. Assuming that the supply voltage of the first power supply 41 of the load 4 is 28V, when the load 4 does not exist in the second abnormal state, the potential at the second end of the load 4 (i.e., point A) is 28V, and the comparison unit 321 compares the potential 28V at point A with the preset reference voltage to determine that the load 4 is normal. When the load 4 is short-circuited, the potential at point A drops to 0V, and the comparison unit 321 compares the potential 0V at point A with the preset reference voltage to determine that the load 4 is short-circuited. When the load 4 is open-circuited, the auxiliary power supply unit 322 provides an auxiliary voltage (open-circuit diagnosis voltage) to point A. Assuming that the auxiliary voltage is 2.5V, the potential at point A drops from 28V to 2.5V, and the comparison unit 321 compares the potential 2.5V at point A with the preset reference voltage to determine that the load 4 is open-circuited.
[0110] In one embodiment, Figure 6 As shown, the comparison unit 321 includes a first comparison circuit 3211 and a second comparison circuit 3212. The auxiliary power supply unit 322 includes a first diode 3221, a sixth resistor 3222 and a seventh resistor 3223.
[0111] The first input end of the first comparison circuit 3211 is connected to the first end of the drive output module 2 and the second end of the load 4 respectively, the second input end of the first comparison circuit 3211 is used to receive the first reference electrical signal, and the output end of the first comparison circuit 3211 is connected to the processor 5 for outputting the first comparison electrical signal. The first input end of the second comparison circuit 3212 is connected to the first end of the drive output module 2 and the second end of the load 4 respectively, the second input end of the second comparison circuit 3212 is used to receive the second reference electrical signal, and the output end of the second comparison circuit 3212 is connected to the processor 5 for outputting the second comparison electrical signal. The first end of the first diode 3221 is used to receive the second power supply signal. The first end of the sixth resistor 3222 is connected to the second end of the first diode 3221, and the second end of the sixth resistor 3222 is connected to the first input end of the first comparison circuit 3211, the first input end of the second comparison circuit 3212, the first end of the drive output module 2 and the second end of the load 4 respectively. The first end of the seventh resistor 3223 is respectively connected to the second end of the sixth resistor 3222, the first input end of the first comparison circuit 3211, the first input end of the second comparison circuit 3212, the first end of the drive output module 2 and the second end of the load 4, and the second end of the seventh resistor 3223 is grounded. The auxiliary power supply unit in the present application is used to provide an open circuit diagnostic voltage for the comparison unit when the load is in an open circuit state. In practical applications, the auxiliary power supply unit may not include the first diode, the sixth resistor and the seventh resistor, but include a chip or other device that can provide an open circuit diagnostic voltage.
[0112] The first end of the load 4 is connected to the first interface of the first power supply 41, the power supply voltage of the first power supply 41 can be 28V, the first end of the first diode 3221 is connected to the first output port of the third power supply 3224, and the power supply voltage of the third power supply 3224 can be 5V. Since the diode only allows current to flow in one direction, the first diode 3221 can play an anti-reverse role to prevent the current of the first power supply 41 from flowing into the third power supply 3224, thereby causing the first power supply 41 to damage the third power supply 3224. For the convenience of illustration, it is assumed that the sixth resistor 3222 and the seventh resistor 3223 have the same resistance value. In actual applications, the resistance values of the sixth resistor 3222 and the seventh resistor 3223 can be different. When the first end and the second end of the drive output module 2 are cut off, the comparison unit 321 starts to detect the second abnormal state of the load 4:
[0113] When the load 4 is normal and the potential at point A is 28V, the first input terminal of the first comparison circuit 3211 detects that the second electrical signal of the load 4 is 28V, and compares the 28V second electrical signal with the first reference voltage to determine that 28V is greater than the first reference voltage V REF1 , the first comparison circuit 3211 outputs a first comparison signal, which is a high level; similarly, the first input terminal of the second comparison circuit 3212 detects that the second electrical signal of the load 4 is 28V, and compares the 28V second electrical signal with the second reference voltage V REF2 After comparison, it is determined that 28V is greater than the second reference voltage, and the second comparison circuit 3212 outputs a second comparison signal, which is a high level.
[0114] When a short circuit occurs in the load 4, the potential at point A is 0V, and the first input terminal of the first comparison circuit 3211 detects that the second electrical signal of the load 4 is 0V. The 0V second electrical signal is compared with the first reference voltage, and it is determined that 0V is less than the first reference voltage V REF1 , the first comparison circuit 3211 outputs a first comparison signal, which is a low level; similarly, the first input terminal of the second comparison circuit 3212 detects that the second electrical signal of the load 4 is 0V, and compares the 0V second electrical signal with the second reference voltage V REF2 After comparison, it is determined that 0V is less than the second reference voltage, and the second comparison circuit 3212 outputs a second comparison signal, which is a low level.
[0115] When an open circuit abnormality occurs in the load 4, the third power supply 3224, the first diode 3221, the sixth resistor 3222 and the seventh resistor 3223 form a path. Assuming that the sixth resistor 3222 and the seventh resistor 3223 have the same resistance value, the potential at point A is the open circuit diagnosis voltage 2.5V at this time. The first input terminal of the first comparison circuit 3211 detects that the second electrical signal is 2.5V. The 2.5V second electrical signal is compared with the first reference voltage, and it is determined that 2.5V is less than the first reference voltage V REF1 , the first comparison circuit 3211 outputs a first comparison signal, which is a low level; similarly, the first input terminal of the second comparison circuit 3212 detects that the second electrical signal is 2.5V, and compares the 2.5V second electrical signal with the second reference voltage V REF2 After comparison, it is determined that 2.5V is greater than the second reference voltage, and the second comparison circuit 3212 outputs a second comparison signal, which is a high level.
[0116] Therefore, by detecting the levels of the first comparison signal and the second comparison signal, it can be determined whether the load 4 has an open circuit abnormality or a short circuit abnormality.
[0117] In applications, such as Figure 7 As shown, the second diagnosis submodule 32 may also include a filter component 323, the filter component 323 includes a thirteenth resistor 3231 and a second filter capacitor 3232, the first end of the thirteenth resistor 3231 is respectively connected to the first input end of the first comparison circuit 3211 and the first input end of the second comparison circuit 3212, the second end of the thirteenth resistor 3231 is respectively connected to the first end of the drive output module 2, the second end of the load 4, the first end of the seventh resistor 3223 and the second end of the sixth resistor 3222, the first end of the second filter capacitor 3232 is respectively connected to the first end of the thirteenth resistor 3231, the first input end of the first comparison circuit 3211 and the first input end of the second comparison circuit 3212, and the second end of the second filter capacitor 3232 is grounded. The thirteenth resistor 3231 and the second filter capacitor 3232 constitute a low-pass filter, which filters out interference signals for the electrical signals received by the first input end of the first comparison circuit 3211 and the first input end of the second comparison circuit 3212.
[0118] In one embodiment, Figure 8 As shown, the pre-driver module 1 includes a first switch unit 11 and a second switch unit 12 .
[0119] The first end of the first switch unit 11 is grounded, and the control end of the first switch unit 11 is used to respond to the first control signal S1 to conduct the first end and the second end of the first switch unit 11. The control end of the second switch unit 12 is connected to the second end of the first switch unit 11, the first end of the second switch unit 12 is used to receive the fourth power supply signal, and the second end of the second switch unit 12 is connected to the control end of the drive output module 2. When the control end of the second switch unit 12 responds to the output signal of the second end of the first switch unit 11 and conducts the first end and the second end of the second switch unit 12, the second end of the second switch unit 12 outputs the second control signal S2.
[0120] When the control end of the first switch unit 11 receives the first control signal in a high-level state, the first switch unit 11 is turned on and then drives the second switch unit 12 to be turned on, so that the second switch unit 12 can output the second control signal in a high-level state to the drive output module 2. When the control end of the first switch unit 11 receives the first control signal in a low-level state, the first switch unit 11 is cut off and then drives the second switch unit 12 to be cut off, so that the second switch unit 12 can output the second control signal in a low-level state to the drive output module 2.
[0121] In one embodiment, Fig. 9 As shown, the first switch unit 11 includes: an eighth resistor 111 , a ninth resistor 112 and a first triode 113 . The second switch unit 12 includes: a tenth resistor 121 , an eleventh resistor 122 and a second triode 123 .
[0122] The first end of the eighth resistor 111 is used to receive the first control signal S1. The first end of the ninth resistor 112 is connected to the second end of the eighth resistor 111, and the second end of the ninth resistor 112 is grounded. The base of the first triode 113 is connected to the second end of the eighth resistor 111 and the first end of the ninth resistor 112, respectively, the emitter of the first triode 113 is connected to the second end of the ninth resistor 112, and the collector of the first triode 113 is connected to the control end of the second switch unit 12. The first end of the tenth resistor 121 is connected to the collector of the first triode 113. The first end of the eleventh resistor 122 is connected to the second end of the tenth resistor 121. The base of the second triode 123 is connected to the second end of the tenth resistor 121 and the first end of the eleventh resistor 122, respectively, the emitter of the second triode 123 is connected to the second end of the eleventh resistor 122, and is used to receive the fourth power supply signal, and the collector of the second triode 123 is connected to the drive output module 2, and is used to output the second control signal. In practical applications, the pre-driver module 1 can be a NPN / PNP pair of tubes in a SOT363 package to save circuit area and reduce material costs.
[0123] When no high-level signal is received, the base of the first triode 113 is grounded through the ninth resistor 112 so that the potential of the base of the first triode 113 is maintained at a low level, and the emitter and collector of the first triode 113 are disconnected. At this time, the base of the second triode 123 is connected to the electrical signal provided by the fourth power supply 13 through the eleventh resistor 122. The supply voltage of the fourth power supply 13 can be 12V, so that the potential of the base of the second triode 123 is maintained at a high level, and the emitter and collector of the second triode 123 are disconnected. The second triode 123 outputs a second control signal in a low level state to the drive output module 2. When the base of the first transistor 113 receives the first control signal S1 in a high level state, the emitter and collector of the first transistor 113 are turned on, and the collector of the first transistor 113 outputs a low level signal. Since the collector of the first transistor 113 is connected to the base of the second transistor 123, the collector of the first transistor 113 pulls down the base voltage of the second transistor 123, so that the emitter and collector of the second transistor 123 are turned on, and the collector of the second transistor 123 outputs a high level 12V second control signal S2 to the drive output module 2. When the first control signal in the low level state is received again, the potential of the base of the first transistor 113 changes from the high level state to the low level state, so that the emitter and the collector of the first transistor 113 are disconnected, and the base voltage of the second transistor 123 also changes from the low level state to the high level state, and the emitter and the collector of the second transistor 123 are disconnected. The second transistor 123 no longer outputs the high level second control signal to the drive output module 2, and the high level signal can be 12V, but outputs the low level second control signal, and the low level signal can be 0V.
[0124] In one embodiment, Fig.10 As shown, the driving output module 2 includes a third switch unit 21 .
[0125] The control end of the third switch unit 21 is connected to the collector of the second transistor 123, the first end of the third switch unit 21 is respectively connected to the first end of the seventh resistor 3223, the second end of the sixth resistor 3222, the first input end of the first comparison circuit 3211, the first input end of the second comparison circuit 3212 and the second end of the load 4, the second end of the third switch unit 21 is respectively connected to the first end of the first resistor 3111 and the first end of the second resistor 3121, and the control end of the third switch unit 21 is used to respond to the second control signal to turn on the first end and the second end of the third switch unit 21.
[0126] The first end of the third switch unit 21 is connected to the second end of the load 4, and the second end of the third switch unit 21 is connected to the first end of the first resistor 3111. When the first end and the second end of the third switch unit 21 are in the cut-off state, although the first power supply 41 supplies power to the load 4, since the first power supply 41, the load 4 and the third switch unit 21 cannot form a path, the electrons cannot move, so the first comparison circuit 3211 and the second comparison circuit 3212 can analyze the potential of point A to determine whether the load 4 is in an open circuit state or a short circuit state. When the first end and the second end of the third switch unit 21 are in the on state, the first power supply 41, the load 4 and the first end and the second end of the third switch unit 21 and the first resistor 3111 form a path, and the current can flow into the ground through the load 4 and the first end and the second end of the third switch unit 21 and the first resistor 3111. Therefore, the operational amplifier 3124 can sample the load current and output the amplified first voltage signal to determine whether the load 4 has an overcurrent abnormality.
[0127] In one embodiment, Fig.11 As shown, the third switch unit 21 includes: a switch transistor 211 .
[0128] The gate of the switching transistor 211 is connected to the collector of the second transistor 123, the drain of the switching transistor 211 is respectively connected to the first end of the seventh resistor 3223, the second end of the sixth resistor 3222, the first input end of the first comparison circuit 3211, the first input end of the second comparison circuit 3212 and the second end of the load 4, and the source of the switching transistor 211 is respectively connected to the first end of the first resistor 3111 and the first end of the second resistor 3121.
[0129] When the first control signal S1 received by the first transistor 113 is in a high level state, the first transistor 113 is turned on and then drives the second transistor 123 to be turned on. The second transistor 123 provides the second control signal S2 to the switch transistor 211 to turn on the drain and source of the switch transistor 211. After the switch transistor 211 is turned on, the current can flow into the ground through the load 4 and the first and second ends of the third switch unit 21 and the first resistor 3111, and a voltage drop is generated on the first resistor 3111. The operational amplifier 3124 can sample the load current and output the amplified first voltage signal to determine whether the load 4 is in an overcurrent state. When the drain and source of the switch transistor 211 are cut off, there is a potential at point A but no current, so the first comparison circuit 3211 and the second comparison circuit 3212 can analyze the potential at point A to determine whether the load 4 is open or short circuit abnormal.
[0130] In applications, such as Fig.12As shown, the drive output module 2 may also include a fourteenth resistor 22 and a fifteenth resistor 23, wherein the first end of the fourteenth resistor 22 is connected to the collector of the second triode 123, the second end of the fourteenth resistor 22 is connected to the gate of the switch transistor 211, the first end of the fifteenth resistor 23 is respectively connected to the second end of the fourteenth resistor 22 and the gate of the switch transistor 211, the second end of the fifteenth resistor 23 is grounded, and when the second triode 123 is turned on, the fourteenth resistor 22 is a pull-up resistor of the switch transistor 211, ensuring that the gate of the switch transistor 211 is at a high level. When the second triode 123 is cut off, the fifteenth resistor 23 is a pull-down resistor of the switch transistor 211, so that the junction capacitance of the switch transistor 211 is discharged quickly, so that the switch transistor 211 can be quickly turned off, and the situation that the switch transistor 211 cannot be turned off is avoided.
[0131] The drive output module 2 may also include a second diode 24 and an electrostatic protection capacitor 25, wherein the first end of the second diode 24 is connected to the second end of the load 4, and the second end of the second diode 24 is connected to the second output port of the first power supply 41, and is used to provide a freewheeling path for the current after the switch transistor 211 is turned off when the load is an inductive load. The first end of the electrostatic protection capacitor 25 is respectively connected to the first end of the second diode 24, the second end of the load 4, the drain of the switch transistor 211, the first end of the seventh resistor 3223, the second end of the sixth resistor 3222, the first input end of the first comparison circuit 3211, and the first input end of the second comparison circuit 3212, and the second end of the electrostatic protection capacitor 25 is grounded. Since the load 4 is an external device for the self-diagnosis drive output circuit, in order to avoid electrostatic interference caused by contact with other external devices when the load 4 is connected to the self-diagnosis drive output circuit, an electrostatic protection capacitor 25 can be connected to filter out static electricity.
[0132] The principle of the conduction process of the switch transistor 211 can be as follows: Fig.13 As shown, when the second transistor 123 outputs a high-level second control signal to the switch transistor 211, since the second transistor 123 is turned on, the fourth power supply 13 acts on the fourteenth resistor 22 to generate a gate drive current of the switch transistor 211, and the switch transistor 211 is in the cut-off region in the first stage ab, the switch transistor 211 is not turned on, and the gate voltage V GS Less than the gate turn-on voltage V GSTH , at this time the current Id flowing through the load is 0. The switch transistor 211 is in the amplification region in the second stage bc, at this time the gate voltage V GS Greater than the gate turn-on voltage V GSTH , which is less than the Miller platform voltage Vplat, in the second stage, as the gate voltage V GSThe load current Id rises to a maximum value at the Miller platform. The switching transistor 211 is at the Miller platform in the third stage cd, and the gate voltage V GS The switch transistor 211 has been turned on, the load current Id remains unchanged, and the gate voltage V GS The voltage Vds between the drain and source of the switch transistor 211 begins to decrease. The switch transistor 211 is in the variable resistance region in the fourth stage de, and the switch transistor 211 is fully turned on.
[0133] The principle of the truncation process of the switching transistor 211 can be as follows: Fig.14 As shown, when the switch transistor 211 is cut off, the fifteenth resistor 23 provides a gate charge discharge path for the switch transistor 211. The switch transistor 211 is in the variable resistance region in the first stage fg, and the switch transistor 211 starts to discharge. At this time, the switch transistor 211 is still in the on state. The switch transistor 211 is in the Miller platform in the second stage gh, the load current Id remains unchanged, and the voltage Vds between the drain and the source of the switch transistor 211 begins to increase. The switch transistor 211 is in the amplification region in the second stage hi, and the gate voltage V GS Greater than the gate turn-on voltage V GSTH , which is less than the Miller platform voltage Vplat, the phase increases with the gate voltage V GS The load current Id decreases when the gate turn-on voltage V GSTH The switch transistor 211 is in the cut-off region in the second stage ij, the switch transistor 211 is in the cut-off state, and the gate voltage V GS Less than the gate turn-on voltage V GSTH , at this time the current Id flowing through the load is 0.
[0134] In one embodiment, Fig.15 As shown, the self-diagnosis drive output circuit further includes: a twelfth resistor 6, a first end of the twelfth resistor 6 is connected to the input end of the pre-drive module 1, and a second end of the twelfth resistor 6 is grounded. When the pre-drive module 1 does not receive the first control signal S1, the twelfth resistor 6 can maintain the input end of the first transistor 113 at a low level state.
[0135] In one embodiment, the present application provides a vehicle, including a single chip microcomputer and the self-diagnosis drive output circuit in the above embodiment. The single chip microcomputer can provide a first control signal for the self-diagnosis drive output circuit, and a technician can program the single chip microcomputer to autonomously control the duration of the first control signal to control the working time of the load.
[0136] In one embodiment, a single chip microcomputer is used to receive a sampling signal output by a self-diagnostic drive output circuit, and the sampling signal is used to characterize the working state of the load; the abnormal state of the load is determined according to the preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state and a short circuit state, and the preset conditions corresponding to the overcurrent state, the open circuit state and the short circuit state are different.
[0137] In one embodiment, Fig.16 As shown, the present application provides an abnormal state determination method, which is performed based on the self-diagnosis drive output circuit described in any of the above embodiments, and the abnormal state determination method includes:
[0138] S1601: receiving a sampling signal output by a self-diagnosis drive output circuit, where the sampling signal is used to characterize a working state of a load.
[0139] After sampling and amplifying the load current flowing through the first resistor, the first diagnostic submodule can output a first voltage signal that is proportional to the resistance value of the first resistor and the load current. The first comparison circuit and the second comparison circuit can analyze and determine the potential of the second end of the load to output a first comparison signal and a second comparison signal.
[0140] S1602: Determine an abnormal state of the load according to preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state, and a short circuit state, and the overcurrent state, the open circuit state, and the short circuit state correspond to different preset conditions.
[0141] After the first voltage signal, the first comparison signal and the second comparison signal are obtained, it can be determined whether the load is in an overcurrent state, an open circuit state or a short circuit state based on preset conditions.
[0142] In one embodiment, the sampling signal includes a first voltage signal, a first comparison signal, and a second comparison signal; Fig.17 As shown, the fault state of the load is determined according to the preset conditions satisfied by the sampling signal, including:
[0143] S1701: When the duration of a first voltage signal being greater than a preset voltage threshold reaches a first preset time, determine that the load is in an overcurrent state.
[0144] When load 4 is an inductive load, such as a solenoid valve, the inductive load will generate transient interference to the diagnostic module. In order to avoid misdiagnosing the transient interference as the load being in an overcurrent state, load 4 is determined to be in an overcurrent state only when the duration of the first voltage signal being greater than the preset voltage threshold reaches a first preset time.
[0145] For example, Fig.18 As shown, V SHrepresents the first voltage signal output by the operational amplifier 3124, and the first voltage signal is proportional to the sampled voltage across the first resistor 3111. When the switch transistor 211 changes from cut-off to on, the current flowing through the first resistor 3111 increases, and the voltage across the first resistor 3111 and the first voltage signal increase, and the first state diagnosis is turned on. In the first stage, the first timing unit starts timing, and in the second stage, the first timing unit reaches the first diagnosis time T ON_1 , that is, after the first preset time, the first timing unit stops timing. At this time, the first voltage signal V SH With the preset voltage threshold V OC , when the first voltage signal is less than the preset voltage threshold, it is determined that the load 4 is not in an overcurrent state. The first preset time should be greater than the turn-on time of the switching transistor 211 to prevent possible overcurrent faults from being missed when the load current has not risen to the maximum value. In the third stage, the first voltage signal remains stable. In the fourth and fifth stages, the inductive load generates transient interference to the diagnostic module, and the current flowing through the first resistor 3111 rises again from the stable state. The voltage across the first resistor 3111 and the first voltage signal increase from the stable state. When the fourth stage ends, it is detected that the first voltage signal exceeds the preset voltage threshold, and the second timing unit starts timing. Since the transient interference generated by the inductive load lasts for a short time, the timing of the second timing unit has not yet reached the second diagnostic time T ON_2 The first voltage signal has dropped below the preset voltage threshold, that is, when the first voltage signal is detected to drop below the preset voltage threshold at the beginning of the ⑥th stage, the second timing unit stops timing and resets. Assuming that in the ⑥th stage, an overcurrent fault occurs in the load, the first voltage signal recovers to the steady state after experiencing transient interference and then rises again from the steady state. In the ⑦th stage, it is detected that the first voltage signal exceeds the preset voltage threshold, and the second timing unit starts timing. When the second diagnostic time T ON_2 After the end, the first voltage signal still exceeds the preset voltage threshold. In the ⑧th stage, the first timing unit is reset and starts timing again. In the ⑨th stage, the first diagnosis time T ON_1 After completion, it is detected that the first voltage signal still exceeds the preset voltage threshold, and it is determined that an overcurrent abnormality has occurred in the load. The first control signal in a high level state is stopped from outputting to the self-diagnosis drive output circuit, and then the pre-drive module stops outputting the second control signal in a high level state to the drive output module. The switching transistor 211 is cut off to stop driving the load and the first diagnostic sub-module to work, thereby protecting the circuit safety.
[0146] S1702: When the first comparison signal is at a low level and the second comparison signal is at a high level for a duration reaching a second preset time, determine that the load is in an open circuit state.
[0147] When load 4 is an inductive load, such as a solenoid valve, the inductive load will generate transient interference to the diagnostic module. In order to avoid misdiagnosing the transient interference as the load being in an open circuit state, it is only when the duration of the first comparison signal being at a low level and the second comparison signal being at a high level reaches a second preset time that it can be determined that load 4 is in an open circuit state.
[0148] For example, Fig.19 As shown, Va represents the voltage at the second end A of the load. When the switch transistor 211 changes from on to off, the voltage at point A rises, and the second state diagnosis starts at this time. In the I stage, the third timing unit starts timing, and in the II stage, the third timing unit reaches the third diagnosis time T OFF_1 , that is, at the second preset time, compare the voltage at point A with the first reference voltage V REF1 and the second reference voltage V REF2 At this time, the voltage at point A is greater than the first reference voltage V REF1 and the second reference voltage V REF2 , it is determined that the load has no fault. In stages III, IV, and V, the inductive load generates transient interference to the diagnostic module, and the voltage at point A decreases. In stage III, it is detected that the voltage at point A is less than the second reference voltage V REF2 When the fourth timing unit starts timing, the voltage at point A continues to decrease until the voltage at point A is less than the first reference voltage V in stage IV. REF1 When the fourth timing unit has not reached the fourth diagnosis time T OFF_2 , the fourth timing unit is reset and starts to time again. At stage V, the transient interference ends and the voltage at point A is greater than the first reference voltage V REF1 When the fourth timing unit is reset and stops timing, the timing time is less than the fourth diagnostic time T OFF_2 , it is determined that the load has not failed.
[0149] like Fig.19 As shown, in the VII, VIII, and IX stages, when the load is open-circuited, the voltage at point A in the VII stage drops to a value less than the second reference voltage V REF2 When the fourth timing unit reaches the fourth diagnosis time T OFF_2 When the voltage at point A is less than the second reference voltage V REF2 , greater than the first reference voltage V REF1 , the third timing unit is reset and starts timing. When the third diagnostic time T is reached OFF_1 After that, it is detected that the voltage at point A is still less than the second reference voltage V REF2 , greater than the first reference voltage V REF1 , determine whether the load has an open circuit abnormality.
[0150] S1703: When the first comparison signal is at a low level and the second comparison signal is at a low level for a duration reaching a second preset time, determine that the load is in a short-circuit state.
[0151] When load 4 is an inductive load, such as a solenoid valve, the inductive load will generate transient interference to the diagnostic module. In order to avoid misdiagnosing the transient interference as the load being in an open circuit state, it is only when the duration of the first comparison signal being at a low level and the second comparison signal being at a low level reaches a second preset time that it can be determined that load 4 is in a short circuit state.
[0152] When the load is open-circuited, after the switching transistor 211 starts to turn off, the gate voltage drops to Vgsth in the first time period t1, and the Miller capacitor Cgd and the gate capacitor Cgs are discharged through the fifteenth resistor. When the gate voltage Vgs is greater than Vgsth, the switching transistor 211 is still in the on stage, the voltage at point A is approximately 0, and the third power supply 3224 of the auxiliary power supply unit will not charge the electrostatic protection capacitor 25. In the second time period t2, when the gate voltage Vgs drops below Vgsth, the switching transistor 211 is turned off, and the third power supply 3224 charges the electrostatic protection capacitor 25 until the voltage at point A rises to the open circuit diagnosis voltage. Therefore, it is necessary to set the third diagnostic time T OFF_1 It must be greater than the sum of t1 and t2. When the load is short-circuited or there is no abnormality in the load, after the switch transistor 211 starts to turn off, in the first time period t1, the gate voltage drops from Vgsth, and the Miller capacitor Cgd and the gate capacitor Cgs are discharged through the fifteenth resistor. When the gate voltage Vgs is greater than Vgsth, the switch transistor 211 is still in the on stage, and the voltage at point A is approximately 0. Because the load is short-circuited or there is no abnormality, point A is shorted to the ground or point A is connected to the first power supply 41 through the load. The voltage across the electrostatic protection capacitor 25 quickly stabilizes and is much less than the turn-off time of the switch transistor 211. It is necessary to set the third diagnostic time T OFF_1 It needs to be greater than t1. Considering the two situations comprehensively, the third diagnostic time T needs to be set OFF_1 is greater than the sum of t1 and t2, and the third diagnostic time T OFF_1 The third diagnostic time T OFF_1 It must be less than the duration of the low-level signal. If the third diagnostic time T OFF_1 When the high-level signal controls the pre-drive module to turn on, and then drives the output module to turn on, and the switch transistor 211 is turned on, the voltage at point A will drop to approximately 0V, resulting in a misdiagnosis of a load short circuit.
[0153] For example, Fig. 20 As shown, Va represents the voltage at the second end A of the load. When the switch transistor 211 changes from on to off, the voltage at point A rises, and the second state diagnosis starts at this time. In the I stage, the third timing unit starts timing, and in the II stage, the third timing unit reaches the third diagnosis time T OFF_1 , that is, at the second preset time, compare the voltage at point A with the first reference voltage V REF1 and the second reference voltage V REF2 At this time, the voltage at point A is greater than the first reference voltage V REF1 and the second reference voltage V REF2 , it is determined that the load has no fault. In stages III, IV, and V, the inductive load generates transient interference to the diagnostic module, and the voltage at point A decreases. In stage III, it is detected that the voltage at point A is less than the second reference voltage V REF2 When the fourth timing unit starts timing, the voltage at point A continues to decrease until the voltage at point A is less than the first reference voltage V in stage IV. REF1 When the fourth timing unit has not reached the fourth diagnosis time T OFF_2 , the fourth timing unit is reset and starts to time again. At stage V, the transient interference ends and the voltage at point A is greater than the first reference voltage V REF1 When the fourth timing unit is reset and stops timing, the timing time is less than the fourth diagnostic time T OFF_2 , it is determined that the load has not failed.
[0154] like Fig. 20 As shown, in the VII, VIII, and IX stages, when the load is short-circuited, the voltage at point A in the VII stage drops to a value less than the second reference voltage V REF2 When the fourth timing unit starts timing, when the fourth timing unit timing has not reached the fourth diagnosis time T OFF_2 When the voltage at point A drops to less than the first reference voltage V REF1 , the fourth timing unit is reset and starts to count again. When the fourth timing unit reaches the fourth diagnosis time T OFF_2 When the third timer unit is reset and starts timing, when the third diagnosis time T is reached OFF_1 After that, it is detected that the voltage at point A is still less than the first reference voltage V REF1 , determine whether the load has a short circuit abnormality.
[0155] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.
[0156] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0157] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A self-diagnostic drive output circuit, characterized in that: The self-diagnosis drive output circuit comprises: a pre-drive module, a drive output module and a diagnosis module, wherein the input end of the pre-drive module is used to receive a first control signal, the control end of the drive output module is connected to the output end of the pre-drive module, the first end and the second end of the drive output module are respectively connected to the diagnosis module, and the first end of the drive output module is used to connect to a load, wherein: The pre-driver module is used to output a second control signal according to the first control signal; The driving output module is used for conducting the first terminal and the second terminal of the driving output module in response to the second control signal; When the first terminal and the second terminal of the driving output module are in a conducting state, the load drives the diagnostic module to be in a first working state, so as to drive the diagnostic module to diagnose a first abnormal state of the load, wherein the first abnormal state is an overcurrent fault; When the first end and the second end of the driving output module are in a cut-off state, the load drives the diagnostic module to be in a second working state, so as to drive the diagnostic module to diagnose a second abnormal state of the load, wherein the second abnormal state is an open circuit fault or a short circuit fault; The diagnostic module comprises: a first diagnosis submodule, wherein the input end of the first diagnosis submodule is connected to the second end of the drive output module, and when the first end and the second end of the drive output module are in a conductive state, the first diagnosis submodule is used to receive a first electrical signal of the load, so as to diagnose a first abnormal state of the load under the driving of the first electrical signal; a second diagnosis submodule, wherein the input end of the second diagnosis submodule is respectively connected to the second end of the load and the first end of the drive output module, and is used to receive a second electrical signal of the load when the first end and the second end of the drive output module are in a truncated state, so as to diagnose a second abnormal state of the load under the drive of the second electrical signal; The first diagnosis submodule includes: A sampling unit, wherein a first end of the sampling unit is connected to a second end of the driving output module, and a second end of the sampling unit is grounded; An operational amplifier unit, wherein a first end of the operational amplifier unit is respectively connected to a first end of the sampling unit and a second end of the driving output module, and a second end of the operational amplifier unit is connected to a second end of the sampling unit, and is used to collect and amplify a voltage of the sampling unit; The sampling unit comprises: a first resistor, wherein a first end of the first resistor is connected to a second end of the driving output module, and a second end of the first resistor is grounded; The operational amplifier unit comprises: a second resistor, wherein a first end of the second resistor is respectively connected to a first end of the first resistor and a second end of the driving output module; a third resistor, a first end of the third resistor being connected to a second end of the second resistor, and a second end of the third resistor being grounded; a fourth resistor, a first end of the fourth resistor being connected to a second end of the second resistor; an operational amplifier, wherein a first end of the operational amplifier is respectively connected to the second end of the second resistor and the first end of the third resistor, a second end of the operational amplifier is connected to the second end of the fourth resistor, a third end of the operational amplifier is used to receive a first power supply signal, and an output end of the operational amplifier is used to output a first voltage signal; a fifth resistor, wherein a first end of the fifth resistor is connected to a second end of the fourth resistor and a second end of the operational amplifier respectively, and a second end of the fifth resistor is connected to an output end of the operational amplifier; The second diagnosis submodule includes: A comparison unit, wherein an input end of the comparison unit is respectively connected to a first end of the drive output module and a second end of the load, and an output end of the comparison unit is used to output a comparison signal; an auxiliary power supply unit, wherein a first end of the auxiliary power supply unit is used to receive a second power supply signal, a second end of the auxiliary power supply unit is grounded, and a third end of the auxiliary power supply unit is respectively connected to a first end of the drive output module and a second end of the load, and is used to provide a third power supply signal to the comparison unit when the load is in the second abnormal state; The comparison unit comprises: a first comparison circuit, wherein a first input end of the first comparison circuit is respectively connected to a first end of the drive output module and a second end of the load, a second input end of the first comparison circuit is used to receive a first reference electrical signal, and an output end of the first comparison circuit is used to output a first comparison electrical signal; a second comparison circuit, wherein a first input end of the second comparison circuit is respectively connected to a first end of the drive output module and a second end of the load, a second input end of the second comparison circuit is used to receive a second reference electrical signal, and an output end of the second comparison circuit is used to output a second comparison electrical signal; The auxiliary power supply unit comprises: a first diode, wherein a first end of the first diode is used to receive the second power supply signal; a sixth resistor, wherein a first end of the sixth resistor is connected to the second end of the first diode, and a second end of the sixth resistor is respectively connected to the first input end of the first comparison circuit, the first input end of the second comparison circuit, the first end of the drive output module, and the second end of the load; a seventh resistor, wherein a first end of the seventh resistor is respectively connected to the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit, the first end of the drive output module and the second end of the load, and a second end of the seventh resistor is grounded; The pre-driver module comprises: a first switch unit, wherein a first terminal of the first switch unit is grounded, and a control terminal of the first switch unit is used for switching on a first terminal and a second terminal of the first switch unit in response to the first control signal; a second switch unit, wherein the control end of the second switch unit is connected to the second end of the first switch unit, the first end of the second switch unit is used to receive a fourth power supply signal, the second end of the second switch unit is connected to the control end of the drive output module, and when the control end of the second switch unit responds to the output signal of the second end of the first switch unit and conducts the first end and the second end of the second switch unit, the second end of the second switch unit outputs the second control signal; The first switch unit comprises: an eighth resistor, a first end of the eighth resistor being used for receiving the first control signal; a ninth resistor, wherein a first end of the ninth resistor is connected to a second end of the eighth resistor, and a second end of the ninth resistor is grounded; a first triode, wherein the base of the first triode is respectively connected to the second end of the eighth resistor and the first end of the ninth resistor, the emitter of the first triode is connected to the second end of the ninth resistor, and the collector of the first triode is connected to the control end of the second switch unit; The second switch unit comprises: a tenth resistor, a first end of the tenth resistor being connected to the collector of the first transistor; an eleventh resistor, a first end of the eleventh resistor being connected to a second end of the tenth resistor; a second triode, wherein the base of the second triode is respectively connected to the second end of the tenth resistor and the first end of the eleventh resistor, the emitter of the second triode is connected to the second end of the eleventh resistor and is used to receive a fourth power supply signal, and the collector of the second triode is connected to the drive output module and is used to output a second control signal; The drive output module comprises: a third switch unit, wherein the control end of the third switch unit is connected to the collector of the second transistor, the first end of the third switch unit is respectively connected to the first end of the seventh resistor, the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit and the second end of the load, the second end of the third switch unit is respectively connected to the first end of the first resistor and the first end of the second resistor, and the control end of the third switch unit is used to turn on the first end and the second end of the third switch unit in response to the second control signal; The third switch unit comprises: A switching transistor, wherein the gate of the switching transistor is connected to the collector of the second transistor, the drain of the switching transistor is respectively connected to the first end of the seventh resistor, the second end of the sixth resistor, the first input end of the first comparison circuit, the first input end of the second comparison circuit and the second end of the load, and the source of the switching transistor is respectively connected to the first end of the first resistor and the first end of the second resistor.
2. The self-diagnostic drive output circuit according to claim 1, characterized in that: The self-diagnosis drive output circuit further includes: a twelfth resistor, a first end of the twelfth resistor is connected to the input end of the pre-drive module, and a second end of the twelfth resistor is grounded.
3. The self-diagnosis drive output circuit according to claim 1, characterized in that: The pre-driver module is a NPN / PNP pair of tubes in a SOT363 package.
4. The self-diagnosis drive output circuit according to claim 1, characterized in that: The load is an inductive load.
5. A vehicle, characterized in that: The vehicle comprises a single chip microcomputer and the self-diagnosis drive output circuit according to any one of claims 1 to 4.
6. The vehicle according to claim 5, characterized in that The single chip microcomputer is used to receive a sampling signal output by a self-diagnostic drive output circuit, and the sampling signal is used to characterize the working state of the load; the abnormal state of the load is determined according to the preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state and a short circuit state, and the preset conditions corresponding to the overcurrent state, the open circuit state and the short circuit state are different.
7. A method for determining an abnormal state, characterized in that: Based on the self-diagnosis drive output circuit according to any one of claims 1 to 4, the method comprises: receiving a sampling signal outputted by a self-diagnosis drive output circuit, wherein the sampling signal is used to characterize a working state of a load; The abnormal state of the load is determined according to the preset conditions satisfied by the sampling signal, wherein the abnormal state includes an overcurrent state, an open circuit state and a short circuit state, and the preset conditions corresponding to the overcurrent state, the open circuit state and the short circuit state are different.
8. The abnormal state determination method according to claim 7, characterized in that: The sampling signal includes a first voltage signal, a first comparison signal and a second comparison signal; Determining the fault state of the load according to a preset condition satisfied by the sampling signal includes: When the duration of the first voltage signal being greater than the preset voltage threshold reaches a first preset time, determining that the load is in the overcurrent state; When the first comparison signal is at a low level and the second comparison signal is at a high level for a duration reaching a second preset time, determining that the load is in the open circuit state; When the first comparison signal is at a low level and the duration during which the second comparison signal is at a low level reaches the second preset time, it is determined that the load is in the short-circuit state.
