Relay driving circuit, relay diagnosis method, relay and battery product
Through the high-side drive unit and low-side drive unit combined with resistive voltage division technology, real-time diagnosis of relay faults is realized, and the problems of complexity and high cost in the existing technology are solved, the circuit structure is simplified and diagnostic efficiency is improved.
Patent Information
- Application Number
- CN202411733837.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The fault diagnosis of prior art relays requires additional configuration of switches and software timing control, resulting in high hardware costs and high implementation complexity, making it difficult to simplify circuits and reduce diagnostic costs.
The high-side driving unit and the low-side driving unit are used to combine the first resistor, the second resistor, the third resistor and the pull-up power supply to collect voltages in real time through voltage division technology to judge the status of the relay coil without the need for additional switching devices and software to control the timing.
Reduces the cost of relay fault diagnosis, simplifies the circuit structure, improves diagnostic efficiency and discovery rate, and reduces hardware complexity.
Smart Images

Figure CN119208081A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a relay drive circuit, a relay diagnosis method, a relay and a battery product. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the present application. No description herein is admitted to be prior art by virtue of its inclusion in this section.
[0003] New energy batteries are being used more and more widely in life and industry. For example, new energy vehicles equipped with batteries have been widely used. In addition, batteries are also being increasingly used in areas such as energy storage.
[0004] The battery circuit includes a variety of relays, such as a main positive relay, a main negative relay or a pre-charge relay. The relay can be used to connect or disconnect the high-voltage circuit in the battery. In practical applications, faults in the relay can be discovered by diagnosing the relay coil or the relay drive circuit, thereby reducing the safety issues of the relay. However, in the related art, the diagnosis process of the relay requires additional configuration of switches in the relay drive circuit, and the switch is closed or disconnected through the timing control of the software, which has a high hardware cost and a complex implementation method. Summary of the invention
[0005] In view of this, the embodiments of the present application hope to provide a relay drive circuit, a relay diagnostic method, a relay and a battery product, which can reduce the cost of relay coil fault diagnosis, simplify the circuit, and do not require the support of software control timing, thereby reducing the complexity of diagnostic implementation.
[0006] The technical solution of the embodiment of the present application is implemented as follows: The embodiment of the present application provides a relay driving circuit, comprising: A high-side driving unit, a first resistor, a second resistor, a first pull-up power supply, a low-side driving unit, a third resistor, a fourth resistor, and a second pull-up power supply; The first end of the high-side driving unit is connected to the first end of the first resistor, the first end of the second resistor and the first end of the relay coil, the second end of the first resistor is connected to the first pull-up power supply, the second end of the second resistor is grounded, and the second end of the high-side driving unit is used to be connected to the power supply to provide power supply to the first end of the relay coil when the high-side driving unit is enabled; A first end of the low-side driving unit is connected to a first end of a third resistor, a first end of a fourth resistor, and a second end of the relay coil, a second end of the third resistor is connected to a second pull-up power supply, a second end of the fourth resistor is grounded, and a second end of the low-side driving unit is grounded to provide a ground signal for the second end of the relay coil when the low-side driving unit is enabled.
[0007] In the relay driving circuit of the embodiment of the present application, on the one hand, the first end of the high-side driving unit is connected to the first end of the first resistor, the first end of the second resistor and the first end of the relay coil, the second end of the first resistor is connected to the first pull-up power supply, the second end of the second resistor is grounded, and the second end of the high-side driving unit is used to connect to the power supply to provide power supply to the first end of the relay coil when the high-side driving unit is enabled; on the other hand, the first end of the low-side driving unit is connected to the first end of the third resistor, the first end of the fourth resistor and the second end of the relay coil, the second end of the third resistor is connected to the second pull-up power supply, the second end of the fourth resistor is grounded, and the second end of the low-side driving unit is grounded to provide a ground signal to the second end of the relay coil when the low-side driving unit is enabled. In this way, since the first end of the relay coil connected to the high-side driving unit is connected to the first pull-up power supply through the first resistor and is grounded through the second resistor, and the second end of the relay coil connected to the low-side driving unit is connected to the second pull-up power supply through the third resistor and is grounded through the fourth resistor, therefore, in different states of the relay coil, the first resistor, the second resistor, the third resistor and the fourth resistor can be used to implement different modes of voltage division for the first pull-up power supply and the second pull-up power supply. In this way, the voltage of the connecting section between the first resistor and the second resistor and / or the voltage of the connecting section between the third resistor and the fourth resistor can reflect different states of the relay coil. Therefore, in the case where the relay coil needs to be diagnosed, the real-time state of the relay coil can be determined by collecting the voltage of the connecting section between the first resistor and the second resistor and / or the voltage of the connecting section between the third resistor and the fourth resistor in real time. There is no need to set up additional switching devices, which can reduce the cost of relay coil fault diagnosis, simplify the circuit, and do not require the support of software control timing, which can reduce the complexity of diagnosis implementation.
[0008] In some embodiments, the relay drive circuit also includes: a control unit; a first pin of the control unit is connected to a sampling end for collecting a voltage at the sampling end so as to perform fault diagnosis on the relay coil according to the voltage at the sampling end; the sampling end includes at least one of the following: a first end of a second resistor, a first end of a fourth resistor.
[0009] In the above embodiment, the control unit collects the voltage of the first end of the second resistor and / or the voltage of the first end of the fourth resistor through the first pin, and can simply and quickly diagnose the fault of the relay coil according to the voltage of the first end of the second resistor and / or the voltage of the first end of the fourth resistor, thereby simplifying the implementation complexity of the control unit in the software fault diagnosis process and improving the efficiency of fault diagnosis.
[0010] In some embodiments, the second pin of the control unit is connected to the third end of the high-side driving unit for enabling the high-side driving unit; the third pin of the control unit is connected to the third end of the low-side driving unit for enabling the low-side driving unit.
[0011] In the above embodiment, the control unit can simply and efficiently enable the high-side driving unit and the low-side driving unit through the second pin and the third pin, thereby controlling the operation of the relay.
[0012] In some embodiments, the first end of the fourth resistor is connected to the first end of the low-side driving unit, the first end of the third resistor, and the second end of the relay coil through the fifth resistor.
[0013] In the above embodiment, the first end of the fourth resistor is connected to the first end of the low-side driving unit, the first end of the third resistor and the second end of the relay coil through the fifth resistor. In this way, the voltage of the first end of the fourth resistor can be reduced when the relay coil is in a normal state, a short-circuited state with the power supply, and an open state through the voltage division of the fifth resistor, thereby improving the hardware safety during voltage collection during fault diagnosis.
[0014] In some embodiments, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, if the voltage at the first end of the fourth resistor is a first voltage value, the relay coil is in a normal state, and the first voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the fifth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; if the voltage at the first end of the fourth resistor is a second voltage value, the relay coil is short-circuited to the power supply, and the second voltage value is determined based on the resistance value of the fourth resistor, the resistance value of the fifth resistor, and the voltage of the power supply; if the voltage at the first end of the fourth resistor is a third voltage value, the relay coil is short-circuited to ground, and the third voltage value is 0V; if the voltage at the first end of the fourth resistor is a fourth voltage value, the relay coil is in an open circuit state, and the fourth voltage value is determined based on the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the fifth resistor, and the voltage of the second pull-up power supply.
[0015] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the fourth resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0016] In some embodiments, a first end of the fourth resistor is directly connected to a first end of the low-side driving unit, a first end of the third resistor, and a second end of the relay coil.
[0017] In the above embodiment, by directly connecting the first end of the fourth resistor to the first end of the low-side driving unit, the first end of the third resistor and the second end of the relay coil, the circuit can be simplified and the hardware cost can be reduced.
[0018] In some embodiments, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, if the voltage at the first end of the fourth resistor is a fifth voltage value, the relay coil is in a normal state, and the fifth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; if the voltage at the first end of the fourth resistor is a sixth voltage value, the relay coil is short-circuited to the power supply, and the sixth voltage value is determined based on the voltage of the power supply; if the voltage at the first end of the fourth resistor is a seventh voltage value, the relay coil is short-circuited to ground, and the seventh voltage value is 0V; if the voltage at the first end of the fourth resistor is an eighth voltage value, the relay coil is in an open circuit state, and the eighth voltage value is determined based on the resistance value of the third resistor, the resistance value of the fourth resistor, and the voltage of the second pull-up power supply.
[0019] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the fourth resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0020] In some embodiments, the first end of the second resistor is connected to the first end of the high-side driving unit, the first end of the first resistor, and the first end of the relay coil through a sixth resistor.
[0021] In the above embodiment, the first end of the second resistor is connected to the first end of the high-side driving unit, the first end of the first resistor, and the first end of the relay coil through the sixth resistor. In this way, the voltage of the first end of the second resistor can be reduced when the relay coil is in a normal state, a state short-circuited to the power supply, and an open state through the voltage division of the sixth resistor, thereby improving the hardware safety during voltage collection during fault diagnosis.
[0022] In some embodiments, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, if the voltage at the first end of the second resistor is a ninth voltage value, the relay coil is in a normal state, and the ninth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the sixth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; if the voltage at the first end of the second resistor is a tenth voltage value, the relay coil is short-circuited to the power supply, and the tenth voltage value is determined based on the resistance value of the second resistor, the resistance value of the sixth resistor, and the voltage of the power supply; if the voltage at the first end of the second resistor is an eleventh voltage value, the relay coil is short-circuited to ground, and the eleventh voltage value is 0V; if the voltage at the first end of the second resistor is a twelfth voltage value, the relay coil is in an open circuit state, and the twelfth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the sixth resistor, and the voltage of the first pull-up power supply.
[0023] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the second resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0024] In some embodiments, a first end of the second resistor is directly connected to a first end of the high-side driving unit, a first end of the first resistor, and a first end of the relay coil.
[0025] In the above embodiment, by directly connecting the first end of the second resistor to the first end of the high-side driving unit, the first end of the first resistor and the first end of the relay coil, the circuit can be simplified and the hardware cost can be reduced.
[0026] In some embodiments, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, if the voltage at the first end of the second resistor is a thirteenth voltage value, the relay coil is in a normal state, and the thirteenth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; if the voltage at the first end of the second resistor is a fourteenth voltage value, the relay coil is short-circuited to the power supply, and the fourteenth voltage value is determined based on the voltage of the power supply; if the voltage at the first end of the second resistor is a fifteenth voltage value, the relay coil is short-circuited to ground, and the fifteenth voltage value is 0V; if the voltage at the first end of the second resistor is a sixteenth voltage value, the relay coil is in an open circuit state, and the sixteenth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, and the voltage of the first pull-up power supply.
[0027] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the second resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0028] In some embodiments, the first pull-up power source is the same as the second pull-up power source.
[0029] In the above embodiment, the first pull-up power supply is the same as the second pull-up power supply, so the circuit can be further simplified.
[0030] The embodiment of the present application provides a relay diagnosis method, which is applied to a relay, and the relay includes the relay drive circuit in the above embodiment; the method includes: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, a voltage of a sampling end is obtained, and the sampling end includes at least one of the following: a first end of a second resistor and a first end of a fourth resistor; The relay coil fault diagnosis is performed based on the voltage at the sampling end.
[0031] In the relay diagnosis method of the embodiment of the present application, since the first end of the relay coil connected to the high-side drive unit is connected to the first pull-up power supply through the first resistor and is grounded through the second resistor, and the second end of the relay coil connected to the low-side drive unit is connected to the second pull-up power supply through the third resistor and is grounded through the fourth resistor, therefore, in different states of the relay coil, the first resistor, the second resistor, the third resistor and the fourth resistor can be used to implement different modes of voltage division for the first pull-up power supply and the second pull-up power supply. In this way, the voltage of the connection section between the first resistor and the second resistor and / or the voltage of the connection section between the third resistor and the fourth resistor can reflect different states of the relay coil. Therefore, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, the real-time state of the relay coil can be determined by collecting the voltage of the connection section between the first resistor and the second resistor and / or the voltage of the connection section between the third resistor and the fourth resistor in real time. There is no need to set up additional switching devices, which can reduce the cost of relay coil fault diagnosis, simplify the circuit, and do not require the support of software control timing, which can reduce the complexity of diagnosis implementation.
[0032] An embodiment of the present application provides a relay, comprising the relay driving circuit in the above embodiment.
[0033] An embodiment of the present application provides a battery management system, including the relay in the above embodiment.
[0034] An embodiment of the present application provides a battery product, including the relay in the above embodiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 1 ; Figure 2 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 2 ; Figure 3 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 3 ; Figure 4 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 4 ; Figure 5 A schematic diagram of an implementation flow of a relay diagnosis method provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 5 . DETAILED DESCRIPTION
[0036] It should be noted that, in the absence of conflict, the embodiments and technical features in the embodiments of the present application can be combined with each other, and the detailed description in the specific implementation method should be understood as an explanation of the purpose of the present application and should not be regarded as an improper limitation on the present application.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions.
[0038] In the description of the embodiments of the present application, the technical terms "first", "second", "third", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0039] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0040] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0041] In the description of the embodiments of the present application, the orientation or position relationship indicated by technical terms such as "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "circumferential", "height direction", "first direction", and "second direction" are based on the orientation or position relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed, operated or used in a specific orientation. Therefore, they should not be understood as limitations on the embodiments of the present application.
[0042] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0043] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, the technical term "contact" should be understood in a broad sense, and may be direct contact or contact through an intermediate medium layer. It may be contact with essentially no interaction force between the two contacting parties, or it may be contact with interaction force between the two contacting parties.
[0044] With the development of clean energy, more and more devices use electric energy as driving energy, and then power batteries that can store more electric energy and can be charged and discharged repeatedly are developing rapidly, such as lithium-ion batteries. Among them, power batteries are not only used in energy storage power supply systems such as hydropower, thermal power, wind power and solar power stations, but also widely used in electric vehicles such as electric bicycles, electric motorcycles, electric cars, as well as aerospace and other fields. With the continuous expansion of the application field of power batteries, the market demand is also constantly expanding.
[0045] In the embodiment of the present application, the battery pack can be made of battery cells and / or battery modules. A battery cell refers to a basic unit that can realize the mutual conversion of chemical energy and electrical energy, and can be used to make a battery module or a battery pack, so as to supply power to an electrical device. A battery cell can be a primary battery or a secondary battery. A secondary battery refers to a battery cell that can be activated by charging the active material after the battery cell is discharged and can continue to be used. The battery cell can be a lithium-ion battery, a sodium-ion battery, a sodium-lithium-ion battery, a lithium metal battery, a sodium metal battery, a lithium-sulfur battery, a magnesium-ion battery, a nickel-hydrogen battery, a nickel-cadmium battery, or a lead-acid battery, etc., and the embodiment of the present application is not limited to this. The battery cell can be cylindrical, rectangular, or in other shapes.
[0046] The battery cell includes an electrode assembly and an electrolyte. The electrode assembly is composed of a positive electrode sheet, a negative electrode sheet and a separator. The battery cell mainly relies on the movement of metal ions between the positive electrode sheet and the negative electrode sheet to work. The positive electrode sheet includes a positive electrode collector and a positive electrode active material layer. The positive electrode active material layer is coated on the surface of the positive electrode collector. The positive electrode collector not coated with the positive electrode active material layer protrudes from the positive electrode collector coated with the positive electrode active material layer. The positive electrode collector not coated with the positive electrode active material layer serves as the positive electrode tab. Taking lithium-ion batteries as an example, the material of the positive electrode collector can be aluminum, and the positive electrode active material can be lithium cobalt oxide, lithium iron phosphate, ternary lithium or lithium manganese oxide, etc. The negative electrode sheet includes a negative electrode collector and a negative electrode active material layer. The negative electrode active material layer is coated on the surface of the negative electrode collector. The negative electrode collector not coated with the negative electrode active material layer protrudes from the negative electrode collector coated with the negative electrode active material layer. The negative electrode collector not coated with the negative electrode active material layer serves as the negative electrode tab. The negative electrode current collector can be made of copper, and the negative electrode active material can be carbon or silicon. In order to ensure that a large current can pass without melting, the positive electrode tabs are multiple and stacked together, and the negative electrode tabs are multiple and stacked together. The material of the separator can be PP (Polypropylene) or PE (Polyethylene).
[0047] The battery circuit includes a variety of relays, such as a main positive relay, a main negative relay or a pre-charge relay. The relay can be used to connect or disconnect the high-voltage circuit in the battery. In practical applications, faults in the relay can be discovered by diagnosing the relay coil or the relay drive circuit, thereby reducing the safety issues of the relay. However, in the related art, the diagnosis process of the relay requires additional configuration of switches in the relay drive circuit, and the switch is closed or disconnected through the timing control of the software to diagnose whether there is a circuit break or short circuit in the drive circuit. The hardware cost is high and the implementation method is complex.
[0048] The embodiment of the present application provides a relay driving circuit, Figure 1 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the relay drive circuit 10 includes: A high-side driving unit 101, a first resistor 102, a second resistor 103, a first pull-up power supply 104, a low-side driving unit 105, a third resistor 106, a fourth resistor 107, and a second pull-up power supply 108; The first end A1 of the high side driving unit 101 is connected to the first end A2 of the first resistor 102, the first end A3 of the second resistor 103 and the first end A20 of the relay coil 20, the second end B2 of the first resistor 102 is connected to the first pull-up power supply 104, the second end B3 of the second resistor 103 is grounded, and the second end B1 of the high side driving unit 101 is used to connect to the power supply 30 to provide the power supply 30 for the first end A20 of the relay coil 20 when the high side driving unit 101 is enabled; The first end A5 of the low-side driving unit 105 is connected to the first end A6 of the third resistor 106, the first end A7 of the fourth resistor 107 and the second end B20 of the relay coil 20, the second end B6 of the third resistor 106 is connected to the second pull-up power supply 108, the second end B7 of the fourth resistor 107 is grounded, and the second end B5 of the low-side driving unit 105 is grounded to provide a ground signal for the second end B20 of the relay coil 20 when the low-side driving unit 105 is enabled.
[0049] It can be understood that the high-side driving unit 101 can provide a power supply 30 for the first end A20 of the relay coil 20 when enabled, and the low-side driving unit 105 can provide a ground signal for the second end B20 of the relay coil 20 when enabled, so that when both the high-side driving unit 101 and the low-side driving unit 10 are enabled, the relay coil can maintain the relay switch closed according to the voltage difference between the first end A20 and the second end B20.
[0050] In some implementations, the high-side driver unit 101 may include a high-side driver (High-Side Driver, HSD), and the low-side driver unit 105 may include a low-side driver (Low-Side Driver, LSD).
[0051] In some embodiments, the power supply 30 may be an external power supply for supplying power to the high-side drive unit 101. During implementation, the power supply type and the voltage provided by the power supply 30 may be determined according to the actual application scenario, and are not limited here. For example, when the relay drive circuit 10 is applied to a battery product of a new energy vehicle, the power supply 30 may be a power supply battery provided by an external vehicle, such as a lead-acid battery KL30, and the voltage provided by the power supply 30 may be 12 volts (V).
[0052] The first pull-up power source 104 and the second pull-up power source 108 can be the same power source or different power sources, which is not limited in the present application.
[0053] The voltage of the first pull-up power supply 104 and the voltage of the second pull-up power supply 108 may be the same or different. For example, the voltage of the first pull-up power supply 104 and the voltage of the second pull-up power supply 108 may both be U, and U may be 3V, 5V, 8V, or 15V, etc. For another example, the voltage of the first pull-up power supply 104 may be U1, and the voltage of the second pull-up power supply 108 may be U2, and U1 may be 3V, 5V, 8V, or 15V, etc., and U2 may be 3V, 5V, 10V, or 16V, etc.
[0054] In some embodiments, the voltage of the power supply 30 is different from the voltage of the first pull-up power supply 104 and the voltage of the second pull-up power supply 108. For example, the voltage of the power supply 30 is 12V, the voltage of the first pull-up power supply 104 is 8V, and the voltage of the second pull-up power supply 108 is 5V.
[0055] In some embodiments, the voltage of the power supply 30 is different from the voltage of the first pull-up power supply 104, and the voltage of the first pull-up power supply 104 is the same as the voltage of the second pull-up power supply 108. For example, the voltage of the power supply 30 is 12V, the voltage of the first pull-up power supply 104 is 5V, and the voltage of the second pull-up power supply 108 is 5V.
[0056] The resistance values of the first resistor 102 , the second resistor 103 , the third resistor 106 and the fourth resistor 107 can be determined according to actual conditions, and the embodiment of the present application is not limited to this.
[0057] In some embodiments, when the relay coil is in a normal state, the first resistor is connected in parallel with the third resistor, the second resistor is connected in parallel with the fourth resistor, and the first resistor and the third resistor in parallel, and the second resistor and the fourth resistor in parallel jointly divide the first pull-up power supply and the second pull-up power supply.
[0058] In some embodiments, when the relay coil is short-circuited to the power supply (ie, short power state), the voltage at the first end of the second resistor and the voltage at the first end of the fourth resistor are both pulled to the same voltage as the power supply.
[0059] In some embodiments, when the relay coil is short-circuited to ground (i.e., short-to-ground state), the voltage at the first end of the second resistor and the voltage at the first end of the fourth resistor are both pulled to the same voltage as the ground signal, i.e., pulled to 0V.
[0060] In some implementations, when the relay coil is in an open circuit state, the first resistor and the second resistor divide the voltage of the first pull-up power supply, and the third resistor and the fourth resistor divide the voltage of the second pull-up power supply.
[0061] It should be noted that the first end A3 of the second resistor 103 can be directly or indirectly connected to the first end A1 of the high-side driving unit 101, the first end A2 of the first resistor 102 and the first end A20 of the relay coil 20; the first end A7 of the fourth resistor 107 can be directly or indirectly connected to the first end A5 of the low-side driving unit 105, the first end A6 of the third resistor 106 and the second end B20 of the relay coil 20.
[0062] In the relay driving circuit of the embodiment of the present application, on the one hand, the first end of the high-side driving unit is connected to the first end of the first resistor, the first end of the second resistor and the first end of the relay coil, the second end of the first resistor is connected to the first pull-up power supply, the second end of the second resistor is grounded, and the second end of the high-side driving unit is used to connect to the power supply to provide power supply to the first end of the relay coil when the high-side driving unit is enabled; on the other hand, the first end of the low-side driving unit is connected to the first end of the third resistor, the first end of the fourth resistor and the second end of the relay coil, the second end of the third resistor is connected to the second pull-up power supply, the second end of the fourth resistor is grounded, and the second end of the low-side driving unit is grounded to provide a ground signal to the second end of the relay coil when the low-side driving unit is enabled. In this way, since the first end of the relay coil connected to the high-side driving unit is connected to the first pull-up power supply through the first resistor and is grounded through the second resistor, and the second end of the relay coil connected to the low-side driving unit is connected to the second pull-up power supply through the third resistor and is grounded through the fourth resistor, therefore, in different states of the relay coil, the first resistor, the second resistor, the third resistor and the fourth resistor can be used to implement different modes of voltage division for the first pull-up power supply and the second pull-up power supply. In this way, the voltage of the connecting section between the first resistor and the second resistor and / or the voltage of the connecting section between the third resistor and the fourth resistor can reflect different states of the relay coil. Therefore, in the case where the relay coil needs to be diagnosed, the real-time state of the relay coil can be determined by collecting the voltage of the connecting section between the first resistor and the second resistor and / or the voltage of the connecting section between the third resistor and the fourth resistor in real time. There is no need to set up additional switching devices, which can reduce the cost of relay coil fault diagnosis, simplify the circuit, and do not require the support of software control timing, which can reduce the complexity of diagnosis implementation.
[0063] In some embodiments, Figure 2 As shown, the relay drive circuit 10 also includes: a control unit 109; a first pin A9 of the control unit 109 is connected to a sampling end (not shown in the figure) for collecting a voltage at the sampling end so as to perform fault diagnosis on the relay coil 20 according to the voltage at the sampling end; the sampling end includes at least one of the following: a first end A3 of the second resistor 103, a first end A7 of the fourth resistor 107.
[0064] Here, the control unit may include but is not limited to at least one of a microcontroller unit (MCU), a digital signal processor (DSP), a field programmable gate array (FPGA), and the like.
[0065] In some implementations, the control unit 109 may collect the voltage at the sampling end when the high-side driving unit 101 is not enabled and the low-side driving unit 105 is not enabled, so as to perform fault diagnosis on the relay coil 20 according to the voltage at the sampling end.
[0066] In some embodiments, the reference voltages corresponding to the sampling ends in various states of the relay coil 20 (such as normal state, short circuit to the power supply, short circuit to ground, and / or open circuit state, etc.) can be predetermined. By comparing the voltage of the sampling end collected in real time with the reference voltage, the real-time state of the relay coil 20 can be determined, thereby performing fault diagnosis on the relay coil 20.
[0067] In the above embodiment, the control unit collects the voltage of the first end of the second resistor and / or the voltage of the first end of the fourth resistor through the first pin, and can simply and quickly diagnose the fault of the relay coil according to the voltage of the first end of the second resistor and / or the voltage of the first end of the fourth resistor, thereby simplifying the implementation complexity of the control unit in the software fault diagnosis process and improving the efficiency of fault diagnosis.
[0068] In some embodiments, see Figure 2 The second pin B9 of the control unit 109 is connected to the third end C1 of the high-side driving unit 101 for enabling the high-side driving unit 101 ; the third pin C9 of the control unit 109 is connected to the third end C5 of the low-side driving unit 105 for enabling the low-side driving unit 105 .
[0069] In some embodiments, the control unit 109 may output a first enable signal to the third terminal C1 of the high-side driver unit 101 through the second pin B9 to enable the high-side driver unit 101 , thereby providing the power supply 30 for the first terminal A20 of the relay coil 20 .
[0070] In some embodiments, the control unit 109 may output a second enable signal to the third terminal C5 of the low-side driver 105 through the third pin C9 to enable the low-side driver 105 , thereby providing a ground signal for the second terminal B20 of the relay coil 20 .
[0071] In the above embodiment, the control unit can simply and efficiently enable the high-side driving unit and the low-side driving unit through the second pin and the third pin, thereby controlling the operation of the relay.
[0072] In some embodiments, Figure 3 As shown, the first end A7 of the fourth resistor 107 is connected to the first end A5 of the low-side driver 105 , the first end A6 of the third resistor 106 , and the second end B20 of the relay coil 20 through the fifth resistor 110 .
[0073] Among them, the fifth resistor 110 has a first end A10 and a second end B10, the first end A7 of the fourth resistor 107 is connected to the second end B10 of the fifth resistor 110, and the first end A10 of the fifth resistor 110 is connected to the first end A5 of the low-side drive unit 105, the first end A6 of the third resistor 106 and the second end B20 of the relay coil 20.
[0074] In the above embodiment, the first end of the fourth resistor is connected to the first end of the low-side driving unit, the first end of the third resistor and the second end of the relay coil through the fifth resistor. In this way, the voltage of the first end of the fourth resistor can be reduced when the relay coil is in a normal state, a short-circuited state with the power supply, and an open state through the voltage division of the fifth resistor, thereby improving the hardware safety during voltage collection during fault diagnosis.
[0075] In some embodiments, when the high-side driver unit 101 is not enabled and the low-side driver unit 105 is not enabled: If the voltage at the first end A7 of the fourth resistor 107 is a first voltage value, the relay coil 20 is in a normal state, wherein the first voltage value is determined based on the resistance value of the first resistor 102, the resistance value of the second resistor 103, the resistance value of the third resistor 106, the resistance value of the fourth resistor 107, the resistance value of the fifth resistor 110, the voltage of the first pull-up power supply 104, and the voltage of the second pull-up power supply 108; If the voltage at the first end A7 of the fourth resistor 107 is a second voltage value, the relay coil 20 is short-circuited with the power supply 30, wherein the second voltage value is determined based on the resistance value of the fourth resistor 107, the resistance value of the fifth resistor 110, and the voltage of the power supply 30; If the voltage at the first end A7 of the fourth resistor 107 is a third voltage value, the relay coil 20 is short-circuited to the ground, wherein the third voltage value is 0V; If the voltage at the first end A7 of the fourth resistor 107 is a fourth voltage value, the relay coil 20 is in an open circuit state, wherein the fourth voltage value is determined based on the resistance value of the third resistor 106 , the resistance value of the fourth resistor 107 , the resistance value of the fifth resistor 110 and the voltage of the second pull-up power supply 108 .
[0076] It can be understood that, assuming that the resistance of the first resistor 102, the resistance of the second resistor 103, the resistance of the third resistor 106, the resistance of the fourth resistor 107, and the resistance of the fifth resistor 110 are respectively recorded as R1, R2, R3, R4, and R5, the voltage of the first pull-up power supply 104 is recorded as U1, the voltage of the second pull-up power supply 108 is recorded as U2, and the voltage of the power supply 30 is recorded as U0; when the high-side driving unit 101 is not enabled and the low-side driving unit 105 is not enabled: If the relay coil 20 is in a normal state, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the first resistor 102 is connected in parallel with the third resistor 106, the fourth resistor 107 and the fifth resistor 110 are connected in series, the second resistor 103 is connected in parallel with the fourth resistor 107 and the fifth resistor 110 connected in series, and the first resistor 102 and the third resistor 106 connected in parallel, and the second resistor 103 and the fourth resistor 107 and the fifth resistor 110 connected in parallel jointly divide the voltage of the first pull-up power supply 104 and the second pull-up power supply 108. As shown in the following formula 1, at this time, the voltage of the first end A7 of the fourth resistor 107 is the first voltage value : (1).
[0077] If the relay coil 20 is short-circuited with the power supply 30, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A10 of the fifth resistor 110 are pulled to the same voltage as the power supply 30, so that the fourth resistor 107 and the fifth resistor 110 divide the power supply 30. As shown in the following formula 2, at this time, the voltage of the first end A7 of the fourth resistor 107 is the second voltage value : (2).
[0078] If the relay coil 20 is short-circuited to the ground, the impedance of the relay coil 20 is very small and can be ignored, then the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A10 of the fifth resistor 110 are pulled to the same voltage as the ground signal, that is, pulled to 0V, so that the fourth resistor 107 and the fifth resistor 110 divide the 0V voltage, and at this time the voltage of the first end A7 of the fourth resistor 107 is the third voltage value ; If the relay coil 20 is in an open circuit state, the first resistor 102 and the third resistor 106 are no longer connected in parallel, and the second resistor 103 and the fourth resistor 107 and the fifth resistor 110 connected in series are no longer connected in parallel, then the first resistor 102 and the second resistor 103 divide the voltage of the first pull-up power supply 104, and the third resistor 106, the fifth resistor 110 and the fourth resistor 107 divide the voltage of the second pull-up power supply 108. As shown in the following formula 3, at this time, the voltage of the first terminal A7 of the fourth resistor 107 is the second voltage value : (3).
[0079] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the fourth resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0080] In some embodiments, see Figure 1 The first end A7 of the fourth resistor 107 is directly connected to the first end A5 of the low-side driving unit 105 , the first end A6 of the third resistor 106 , and the second end B2 of the relay coil 20 .
[0081] In the above embodiment, by directly connecting the first end of the fourth resistor to the first end of the low-side driving unit, the first end of the third resistor and the second end of the relay coil, the circuit can be simplified and the hardware cost can be reduced.
[0082] In some embodiments, when the high-side driver unit 101 is not enabled and the low-side driver unit 105 is not enabled: If the voltage at the first end A7 of the fourth resistor 107 is a fifth voltage value, the relay coil 20 is in a normal state, wherein the fifth voltage value is determined based on the resistance value of the first resistor 102, the resistance value of the second resistor 103, the resistance value of the third resistor 106, the resistance value of the fourth resistor 107, the voltage of the first pull-up power supply 104, and the voltage of the second pull-up power supply 108; If the voltage at the first end A7 of the fourth resistor 107 is a sixth voltage value, the relay coil 20 and the power supply 30 are short-circuited, wherein the sixth voltage value is determined based on the voltage of the power supply 30; If the voltage at the first end A7 of the fourth resistor 107 is a seventh voltage value, the relay coil 20 is short-circuited to the ground, wherein the seventh voltage value is 0V; If the voltage at the first end A7 of the fourth resistor 107 is an eighth voltage value, the relay coil 20 is in an open circuit state, wherein the eighth voltage value is determined based on the resistance value of the third resistor 106 , the resistance value of the fourth resistor 107 and the voltage of the second pull-up power supply 108 .
[0083] It can be understood that, assuming that the resistance of the first resistor 102, the resistance of the second resistor 103, the resistance of the third resistor 106, and the resistance of the fourth resistor 107 are respectively recorded as R1, R2, R3, and R4, the voltage of the first pull-up power supply 104 is recorded as U1, the voltage of the second pull-up power supply 108 is recorded as U2, and the voltage of the power supply 30 is recorded as U0; when the high-side driving unit 101 is not enabled and the low-side driving unit 105 is not enabled: If the relay coil 20 is in a normal state, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the first resistor 102 is connected in parallel with the third resistor 106, the second resistor 103 is connected in parallel with the fourth resistor 107, and the first resistor 102 and the third resistor 106 connected in parallel, and the second resistor 103 and the fourth resistor 107 connected in parallel jointly divide the voltage of the first pull-up power supply 104 and the second pull-up power supply 108. As shown in the following formula 4, at this time, the voltage of the first end A7 of the fourth resistor 107 is the fifth voltage value : (4).
[0084] If the relay coil 20 is short-circuited with the power supply 30, the impedance of the relay coil 20 is very small and can be regarded as a short circuit. Then, the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A7 of the fourth resistor 107 are pulled to the same voltage as the power supply 30. Therefore, at this time, the voltage of the first end A7 of the fourth resistor 107 is the sixth voltage value. .
[0085] If the relay coil 20 is short-circuited to the ground, the impedance of the relay coil 20 is very small and can be ignored, then the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A7 of the fourth resistor 107 are pulled to the same voltage as the ground signal, that is, pulled to 0V. Therefore, at this time, the voltage of the first end A7 of the fourth resistor 107 is the seventh voltage value ; If the relay coil 20 is in an open circuit state, the first resistor 102 and the third resistor 106 are no longer connected in parallel, and the second resistor 103 and the fourth resistor 107 are no longer connected in parallel, then the first resistor 102 and the second resistor 103 divide the voltage of the first pull-up power supply 104, and the third resistor 106 and the fourth resistor 107 divide the voltage of the second pull-up power supply 108. As shown in the following formula 5, at this time, the voltage of the first terminal A7 of the fourth resistor 107 is the eighth voltage value : (5).
[0086] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the fourth resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0087] In some embodiments, Figure 4As shown, the first end A3 of the second resistor 103 is connected to the first end A1 of the high-side driver 101 , the first end A2 of the first resistor 102 , and the first end A20 of the relay coil 20 through the sixth resistor 111 .
[0088] Among them, the sixth resistor 111 has a first end A11 and a second end B11, the first end A3 of the second resistor 103 is connected to the second end B11 of the sixth resistor 111, and the first end A11 of the sixth resistor 111 is connected to the first end A1 of the high-side drive unit 101, the first end A2 of the first resistor 102, and the first end A20 of the relay coil 20.
[0089] In the above embodiment, the first end of the second resistor is connected to the first end of the high-side driving unit, the first end of the first resistor, and the first end of the relay coil through the sixth resistor. In this way, the voltage of the first end of the second resistor can be reduced when the relay coil is in a normal state, a state short-circuited to the power supply, and an open state through the voltage division of the sixth resistor, thereby improving the hardware safety during voltage collection during fault diagnosis.
[0090] In some embodiments, when the high-side driver unit 101 is not enabled and the low-side driver unit 105 is not enabled: If the voltage at the first end A3 of the second resistor 103 is a ninth voltage value, the relay coil 20 is in a normal state, wherein the ninth voltage value is determined based on the resistance value of the first resistor 102, the resistance value of the second resistor 103, the resistance value of the third resistor 106, the resistance value of the fourth resistor 107, the resistance value of the sixth resistor 111, the voltage of the first pull-up power supply 104, and the voltage of the second pull-up power supply 108; If the voltage at the first end A3 of the second resistor 103 is a tenth voltage value, the relay coil 20 is short-circuited with the power supply 30, wherein the tenth voltage value is determined based on the resistance value of the second resistor 103, the resistance value of the sixth resistor 111, and the voltage of the power supply 30; If the voltage at the first end A3 of the second resistor 103 is an eleventh voltage value, the relay coil 20 is short-circuited to the ground, wherein the eleventh voltage value is 0V; If the voltage at the first end A3 of the second resistor 103 is a twelfth voltage value, the relay coil 20 is in an open circuit state, wherein the twelfth voltage value is determined based on the resistance value of the first resistor 102 , the resistance value of the second resistor 103 , the resistance value of the sixth resistor 111 and the voltage of the first pull-up power supply 104 .
[0091] It can be understood that, assuming that the resistance of the first resistor 102, the resistance of the second resistor 103, the resistance of the third resistor 106, the resistance of the fourth resistor 107, and the resistance of the sixth resistor 111 are respectively recorded as R1, R2, R3, R4, and R6, the voltage of the first pull-up power supply 104 is recorded as U1, the voltage of the second pull-up power supply 108 is recorded as U2, and the voltage of the power supply 30 is recorded as U0. When the high-side driving unit 101 is not enabled and the low-side driving unit 105 is not enabled: If the relay coil 20 is in a normal state, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the first resistor 102 is connected in parallel with the third resistor 106, the second resistor 103 is connected in series with the sixth resistor 111, and the fourth resistor 107 is connected in parallel with the second resistor 103 and the sixth resistor 111 connected in series, and the first resistor 102 and the third resistor 106 connected in parallel, and the fourth resistor 107 and the second resistor 103 and the sixth resistor 111 connected in parallel jointly divide the first pull-up power supply 104 and the second pull-up power supply 108. As shown in the following formula 6, at this time, the voltage of the first end A3 of the second resistor 103 is the ninth voltage value : (6).
[0092] If the relay coil 20 is short-circuited with the power supply 30, the impedance of the relay coil 20 is very small and can be regarded as a short circuit. Then, the voltage of the first end A7 of the fourth resistor 107 and the voltage of the first end A11 of the sixth resistor 111 are pulled to the same voltage as the power supply 30, so that the second resistor 103 and the sixth resistor 111 divide the power supply 30. As shown in the following formula 7, at this time, the voltage of the first end A3 of the second resistor 103 is the tenth voltage value : (7).
[0093] If the relay coil 20 is short-circuited to the ground, the impedance of the relay coil 20 is very small and can be ignored, then the voltage of the first end A7 of the fourth resistor 107 and the voltage of the first end A11 of the sixth resistor 111 are pulled to the same voltage as the ground signal, that is, pulled to 0V, so that the second resistor 103 and the sixth resistor 111 divide the 0V voltage. At this time, the voltage of the first end A3 of the second resistor 103 is the eleventh voltage value ; If the relay coil 20 is in an open circuit state, the first resistor 102 and the third resistor 106 are no longer connected in parallel, and the fourth resistor 107 and the second resistor 103 and the sixth resistor 111 connected in series are no longer connected in parallel, then the first resistor 102, the second resistor 103 and the sixth resistor 111 divide the voltage of the first pull-up power supply 104, and the third resistor 106 and the fourth resistor 107 divide the voltage of the second pull-up power supply 108. As shown in the following formula 8, at this time, the voltage of the first terminal A3 of the second resistor 103 is the twelfth voltage value : (8).
[0094] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the second resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0095] In some embodiments, see Figure 1 The first end A3 of the second resistor 103 is directly connected to the first end A1 of the high-side driving unit 101 , the first end A2 of the first resistor 102 , and the first end A20 of the relay coil 20 .
[0096] In the above embodiment, by directly connecting the first end of the second resistor to the first end of the high-side driving unit, the first end of the first resistor and the first end of the relay coil, the circuit can be simplified and the hardware cost can be reduced.
[0097] In some embodiments, when the high-side driver unit 101 is not enabled and the low-side driver unit 105 is not enabled: If the voltage at the first end A3 of the second resistor 103 is a thirteenth voltage value, the relay coil 20 is in a normal state, wherein the thirteenth voltage value is determined based on the resistance value of the first resistor 102, the resistance value of the second resistor 103, the resistance value of the third resistor 106, the resistance value of the fourth resistor 107, the voltage of the first pull-up power supply 104, and the voltage of the second pull-up power supply 108; If the voltage at the first end A3 of the second resistor 103 is a fourteenth voltage value, the relay coil 20 and the power supply 30 are short-circuited, wherein the fourteenth voltage value is determined based on the voltage of the power supply 30; If the voltage at the first end A3 of the second resistor 103 is the fifteenth voltage value, the relay coil 20 is short-circuited to the ground, wherein the fifteenth voltage value is 0V; If the voltage at the first end A3 of the second resistor 103 is a sixteenth voltage value, the relay coil 20 is in an open circuit state, wherein the sixteenth voltage value is determined based on the resistance value of the first resistor 102 , the resistance value of the second resistor 103 and the voltage of the first pull-up power supply 104 .
[0098] It can be understood that, assuming that the resistance of the first resistor 102, the resistance of the second resistor 103, the resistance of the third resistor 106, and the resistance of the fourth resistor 107 are respectively recorded as R1, R2, R3, and R4, the voltage of the first pull-up power supply 104 is recorded as U1, the voltage of the second pull-up power supply 108 is recorded as U2, and the voltage of the power supply 30 is recorded as U0. When the high-side driving unit 101 is not enabled and the low-side driving unit 105 is not enabled: If the relay coil 20 is in a normal state, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the first resistor 102 is connected in parallel with the third resistor 106, the fourth resistor 107 is connected in parallel with the second resistor 103, and the first resistor 102 and the third resistor 106 connected in parallel, and the fourth resistor 107 and the second resistor 103 connected in parallel jointly divide the first pull-up power supply 104 and the second pull-up power supply 108. As shown in the following formula 9, at this time, the voltage of the first end A3 of the second resistor 103 is the thirteenth voltage value : (9).
[0099] If the relay coil 20 is short-circuited with the power supply 30, the impedance of the relay coil 20 is very small and can be regarded as a short circuit. Then, the voltage of the first end A7 of the fourth resistor 107 and the voltage of the first end A3 of the second resistor 103 are pulled to the same voltage as the power supply 30. Therefore, at this time, the voltage of the first end A3 of the second resistor 103 is the fourteenth voltage value. .
[0100] If the relay coil 20 is short-circuited to the ground, the impedance of the relay coil 20 is very small and can be ignored, then the voltage of the first end A7 of the fourth resistor 107 and the voltage of the first end A3 of the second resistor 103 are both pulled to the same voltage as the ground signal, that is, pulled to 0V. Therefore, at this time, the voltage of the first end A3 of the second resistor 103 is the fifteenth voltage value. ; If the relay coil 20 is in an open circuit state, the first resistor 102 and the third resistor 106 are no longer connected in parallel, and the fourth resistor 107 and the second resistor 103 are no longer connected in parallel, then the first resistor 102 and the second resistor 103 divide the voltage of the first pull-up power supply 104, and the third resistor 106 and the fourth resistor 107 divide the voltage of the second pull-up power supply 108. As shown in the following formula 10, at this time, the voltage of the first terminal A3 of the second resistor 103 is the sixteenth voltage value : (10).
[0101] In the above embodiment, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, the normal state, the state of short circuit with the power supply, the state of short circuit to ground, and the open circuit state of the relay coil can be identified according to the voltage of the first end of the second resistor. In this way, the normal state and various fault states of the relay coil can be identified simply and efficiently, thereby improving the detection rate of relay coil faults.
[0102] In some embodiments, the first pull-up power source 104 is the same as the second pull-up power source 108 .
[0103] The first pull-up power source 104 and the second pull-up power source 108 may be the same power source.
[0104] In the above embodiment, the first pull-up power supply is the same as the second pull-up power supply, so the circuit can be further simplified.
[0105] The embodiment of the present application provides a relay diagnosis method, which is applied to a relay, and the relay includes the relay drive circuit in the above embodiment. In some implementations, the relay diagnosis method can be executed by a control unit in the relay drive circuit.
[0106] Figure 5 A schematic diagram of the implementation flow of a relay diagnosis method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method includes the following steps S501 to S502: Step S501, when the high-side driving unit is not enabled and the low-side driving unit is not enabled, obtaining the voltage of the sampling end, the sampling end includes at least one of the following: the first end of the second resistor and the first end of the fourth resistor.
[0107] Step S502: diagnose the fault of the relay coil according to the voltage at the sampling end.
[0108] In the relay diagnosis method of the embodiment of the present application, since the first end of the relay coil connected to the high-side drive unit is connected to the first pull-up power supply through the first resistor and is grounded through the second resistor, and the second end of the relay coil connected to the low-side drive unit is connected to the second pull-up power supply through the third resistor and is grounded through the fourth resistor, therefore, in different states of the relay coil, the first resistor, the second resistor, the third resistor and the fourth resistor can be used to implement different modes of voltage division for the first pull-up power supply and the second pull-up power supply. In this way, the voltage of the connection section between the first resistor and the second resistor and / or the voltage of the connection section between the third resistor and the fourth resistor can reflect different states of the relay coil. Therefore, when the high-side drive unit is not enabled and the low-side drive unit is not enabled, the real-time state of the relay coil can be determined by collecting the voltage of the connection section between the first resistor and the second resistor and / or the voltage of the connection section between the third resistor and the fourth resistor in real time. There is no need to set up additional switching devices, which can reduce the cost of relay coil fault diagnosis, simplify the circuit, and do not require the support of software control timing, which can reduce the complexity of diagnosis implementation.
[0109] The description of the above method embodiment is similar to the description of the above relay drive circuit embodiment, and has similar beneficial effects as the relay drive circuit embodiment. In some embodiments, the functions or modules included in the above relay drive circuit embodiment can be used to execute the method described in the method embodiment of the present application. For technical details not disclosed in the method embodiment of the present application, please refer to the description of the relay drive circuit embodiment of the present application for understanding.
[0110] The following describes the application of the relay drive circuit and relay diagnosis method provided in the embodiments of the present application in actual scenarios.
[0111] The embodiments of the present application provide a simple and reliable method for directly using resistance voltage division to determine the short power supply state, open circuit state, short ground state, etc. of the relay coil, which can reduce hardware costs and simplify circuits, does not require the support of software control timing, and reduces the complexity of implementing the diagnostic solution.
[0112] Figure 6 A schematic diagram of the structure of a relay drive circuit provided in an embodiment of the present application Figure 5 ,like Figure 6 As shown, the relay drive circuit 10 includes: A high-side driving unit 101, a first resistor 102, a second resistor 103, a first pull-up power supply 104, a low-side driving unit 105, a third resistor 106, a fourth resistor 107, a fifth resistor 110, and a second pull-up power supply 108; The first end A1 of the high side driving unit 101 is connected to the first end A2 of the first resistor 102, the first end A3 of the second resistor 103 and the first end A20 of the relay coil 20, the second end B2 of the first resistor 102 is connected to the first pull-up power supply 104, the second end B3 of the second resistor 103 is grounded, and the second end B1 of the high side driving unit 101 is used to connect to the power supply 30 to provide the power supply 30 for the first end A20 of the relay coil 20 when the high side driving unit 101 is enabled; The first end A5 of the low-side driving unit 105 is connected to the first end A6 of the third resistor 106, the first end A10 of the fifth resistor 110 and the second end B20 of the relay coil 20, the second end B6 of the third resistor 106 is connected to the second pull-up power supply 108, the second end B10 of the fifth resistor 110 is connected to the first end A7 of the fourth resistor 107, the second end B7 of the fourth resistor 107 is grounded, and the second end B5 of the low-side driving unit 105 is grounded to provide a ground signal for the second end B20 of the relay coil 20 when the low-side driving unit 105 is enabled.
[0113] The power supply 30 is a 12V lead-acid battery KL30, and its voltage is recorded as The first pull-up power supply 104 and the second pull-up power supply 108 are both 5V permanent power supplies. The voltage of the first pull-up power supply 104 and the voltage of the second pull-up power supply 108 are recorded as The connection end where the second end B10 of the fifth resistor 110 and the first end A7 of the fourth resistor 107 are connected is set as the sampling end AI_LSD.
[0114] The process of diagnosing the relay coil 20 includes: If the relay coil 20 is in a normal state, the impedance of the relay coil 20 is very small and can be regarded as a short circuit, then the first resistor 102 is connected in parallel with the third resistor 106, the fourth resistor 107 and the fifth resistor 110 are connected in series, the second resistor 103 is connected in parallel with the fourth resistor 107 and the fifth resistor 110 connected in series, and the first resistor 102 and the third resistor 106 connected in parallel, and the second resistor 103 and the fourth resistor 107 and the fifth resistor 110 connected in parallel jointly divide the first pull-up power supply 104 and the second pull-up power supply 108. At this time, the voltage of the sampling terminal AI_LSD is As shown in the following formula 11: (11).
[0115] If the relay coil 20 is short-circuited with the power supply 30, the impedance of the relay coil 20 is very small and can be regarded as a short circuit. Then, the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A10 of the fifth resistor 110 are pulled to the same voltage as the power supply 30, so that the fourth resistor 107 and the fifth resistor 110 divide the power supply 30. At this time, the voltage of the sampling terminal AI_LSD is As shown in the following formula 12: (12).
[0116] If the relay coil 20 is short-circuited to the ground, the impedance of the relay coil 20 is very small and can be ignored, then the voltage of the first end A3 of the second resistor 103 and the voltage of the first end A10 of the fifth resistor 110 are pulled to the same voltage as the ground signal, that is, pulled to 0V, so that the fourth resistor 107 and the fifth resistor 110 divide the 0V voltage, and the voltage of the sampling terminal AI_LSD is is 0V; If the relay coil 20 is in an open circuit state, the first resistor 102 and the third resistor 106 are no longer connected in parallel, and the second resistor 103 and the fourth resistor 107 and the fifth resistor 110 connected in series are no longer connected in parallel, then the first resistor 102 and the second resistor 103 divide the voltage of the first pull-up power supply 104, and the third resistor 106, the fifth resistor 110 and the fourth resistor 107 divide the voltage of the second pull-up power supply 108. At this time, the voltage of the sampling terminal AI_LSD is As shown in the following formula 13: (13).
[0117] An embodiment of the present application provides a relay, which includes the relay driving circuit in the above embodiment.
[0118] An embodiment of the present application provides a battery management system, which includes the relay in the above embodiment.
[0119] An embodiment of the present application provides a battery product, including the relay in the above embodiment.
[0120] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0121] It should be pointed out here that the description of each embodiment above tends to emphasize the differences between the embodiments, and the same or similar aspects can be referenced to each other. The description of the above relay, battery management system, and battery product embodiments is similar to the description of the above relay drive circuit embodiment, and has similar beneficial effects as the relay drive circuit embodiment. For technical details not disclosed in the relay, battery management system, and battery product embodiments of this application, please refer to the description of the relay drive circuit embodiment of this application for understanding.
[0122] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.
[0123] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0124] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0125] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the embodiments of the present application may be all integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0126] A person skilled in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memories (ROM), magnetic disks or optical disks.
[0127] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0128] The above are only exemplary embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A relay drive circuit, characterized in that: include: A high-side driving unit, a first resistor, a second resistor, a first pull-up power supply, a low-side driving unit, a third resistor, a fourth resistor, and a second pull-up power supply; The first end of the high-side driving unit is connected to the first end of the first resistor, the first end of the second resistor and the first end of the relay coil, the second end of the first resistor is connected to the first pull-up power supply, the second end of the second resistor is grounded, and the second end of the high-side driving unit is used to be connected to the power supply to provide the power supply to the first end of the relay coil when the high-side driving unit is enabled; The first end of the low-side driving unit is connected to the first end of the third resistor, the first end of the fourth resistor and the second end of the relay coil, the second end of the third resistor is connected to the second pull-up power supply, the second end of the fourth resistor is grounded, and the second end of the low-side driving unit is grounded to provide a ground signal for the second end of the relay coil when the low-side driving unit is enabled.
2. The relay drive circuit according to claim 1, characterized in that: Also includes: Control unit; The first pin of the control unit is connected to the sampling end, and is used to collect the voltage of the sampling end, so as to perform fault diagnosis on the relay coil according to the voltage of the sampling end; The sampling end includes at least one of the following: a first end of the second resistor and a first end of the fourth resistor.
3. The relay drive circuit according to claim 2, characterized in that: The second pin of the control unit is connected to the third end of the high-side driving unit, and is used to enable the high-side driving unit; The third pin of the control unit is connected to the third end of the low-side driving unit for enabling the low-side driving unit.
4. The relay drive circuit according to claim 1, characterized in that: The first end of the fourth resistor is connected to the first end of the low-side driving unit, the first end of the third resistor, and the second end of the relay coil through a fifth resistor.
5. The relay drive circuit according to claim 4, characterized in that: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, If the voltage at the first end of the fourth resistor is a first voltage value, the relay coil is in a normal state, and the first voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the fifth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; If the voltage at the first end of the fourth resistor is a second voltage value, the relay coil is short-circuited with the power supply, and the second voltage value is determined based on the resistance value of the fourth resistor, the resistance value of the fifth resistor, and the voltage of the power supply; If the voltage at the first end of the fourth resistor is the third voltage value, the relay coil is short-circuited to the ground, and the third voltage value is 0V; If the voltage at the first end of the fourth resistor is a fourth voltage value, the relay coil is in an open circuit state, and the fourth voltage value is determined based on the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the fifth resistor and the voltage of the second pull-up power supply.
6. The relay drive circuit according to claim 1, characterized in that: The first end of the fourth resistor is directly connected to the first end of the low-side driving unit, the first end of the third resistor, and the second end of the relay coil.
7. The relay drive circuit according to claim 6, characterized in that: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, If the voltage at the first end of the fourth resistor is a fifth voltage value, the relay coil is in a normal state, and the fifth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; If the voltage at the first end of the fourth resistor is a sixth voltage value, the relay coil and the power supply are short-circuited, and the sixth voltage value is determined based on the voltage of the power supply; If the voltage at the first end of the fourth resistor is the seventh voltage value, the relay coil is short-circuited to the ground, and the seventh voltage value is 0V; If the voltage at the first end of the fourth resistor is an eighth voltage value, the relay coil is in an open circuit state, and the eighth voltage value is determined based on the resistance value of the third resistor, the resistance value of the fourth resistor, and the voltage of the second pull-up power supply.
8. The relay driving circuit according to claim 1, characterized in that: The first end of the second resistor is connected to the first end of the high-side driving unit, the first end of the first resistor, and the first end of the relay coil through a sixth resistor.
9. The relay driving circuit according to claim 8, characterized in that: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, If the voltage at the first end of the second resistor is a ninth voltage value, the relay coil is in a normal state, and the ninth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the resistance value of the sixth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; If the voltage at the first end of the second resistor is a tenth voltage value, the relay coil is short-circuited with the power supply, and the tenth voltage value is determined based on the resistance value of the second resistor, the resistance value of the sixth resistor, and the voltage of the power supply; If the voltage at the first end of the second resistor is an eleventh voltage value, the relay coil is short-circuited to the ground, and the eleventh voltage value is 0V; If the voltage at the first end of the second resistor is a twelfth voltage value, the relay coil is in an open circuit state, and the twelfth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the sixth resistor, and the voltage of the first pull-up power supply.
10. The relay driving circuit according to claim 1, characterized in that: The first end of the second resistor is directly connected to the first end of the high-side driving unit, the first end of the first resistor, and the first end of the relay coil.
11. The relay driving circuit according to claim 10, characterized in that: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, If the voltage at the first end of the second resistor is a thirteenth voltage value, the relay coil is in a normal state, and the thirteenth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, the resistance value of the third resistor, the resistance value of the fourth resistor, the voltage of the first pull-up power supply, and the voltage of the second pull-up power supply; If the voltage at the first end of the second resistor is a fourteenth voltage value, the relay coil is short-circuited with the power supply, and the fourteenth voltage value is determined based on the voltage of the power supply; If the voltage at the first end of the second resistor is a fifteenth voltage value, the relay coil is short-circuited to the ground, and the fifteenth voltage value is 0V; If the voltage at the first end of the second resistor is a sixteenth voltage value, the relay coil is in an open circuit state, and the sixteenth voltage value is determined based on the resistance value of the first resistor, the resistance value of the second resistor, and the voltage of the first pull-up power supply.
12. The relay drive circuit according to any one of claims 1 to 11, characterized in that: The first pull-up power source is the same as the second pull-up power source.
13. A relay diagnosis method, characterized in that: Applied in a relay, the relay comprises a relay drive circuit as claimed in any one of claims 1 to 12; the method comprises: When the high-side driving unit is not enabled and the low-side driving unit is not enabled, obtaining a voltage at a sampling end, wherein the sampling end includes at least one of the following: a first end of the second resistor and a first end of the fourth resistor; Fault diagnosis is performed on the relay coil according to the voltage at the sampling end.
14. A relay, characterized in that: The invention comprises the relay driving circuit as claimed in any one of claims 1 to 12.
15. A battery management system, characterized in that: Comprising the relay as claimed in claim 14.
16. A battery product, characterized in that: Comprising the relay as claimed in claim 14.
Citation Information
Patent Citations
Power battery high voltage relay control circuit and fault diagnosis method
CN109541457A
Relay drive circuit and electrical system
CN112216558A
Relay driving circuit and diagnosis method thereof
CN114783829A
Automobile relay high-low side double-side driving and diagnosis circuit
CN118841277A
The invention discloses a bilateral driving circuit with a diagnosis function and a battery pack
CN208867859U
