Relay latch control circuit and method for electric vehicle
By introducing working condition detection and logical operations into the relay latch control circuit of electric vehicles, latch control is only performed when specific working conditions are met, which solves the potential safety hazards of relay latch control in the existing technology and improves efficiency. Safety of electric vehicles.
Patent Information
- Application Number
- CN202211144786.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-09-20
AI Technical Summary
There are potential safety hazards in the existing relay latch control, especially when the micro-control unit is reset abnormally, which may cause the high-voltage relay to remain closed, resulting in the risk of safety accidents when electric vehicles are driving.
A relay latch control circuit for electric vehicles is designed, including a microcontrol unit, logic gate, latch and relay driver chip. It detects the working conditions of the electric vehicle through the working condition detection circuit and detects the working conditions of the electric vehicle when the preset working conditions are met. Send the latch signal to the latch to control the switching state of the relay to avoid relay latch caused by abnormal reset.
This solution can diversify the control of the relay according to different working conditions, improve the safety of the latch control, avoid the relay remaining closed due to abnormal reset, reduce safety hazards, and ensure the safe driving of electric vehicles.
Smart Images

Figure CN115657516B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of relay latch control, and in particular to a relay latch control circuit and method for an electric vehicle. Background Art
[0002] Electric vehicles are generally powered by lithium-ion battery packs to power electric motors and other electrical equipment, which are then driven by the motors. As a bridge between lithium-ion battery packs and electrical equipment, high-voltage relays have important safety significance. High-voltage relay control is generally directly controlled by a microcontroller unit (MCU, also known as an embedded processing module), a general purpose input and output port (GPIO) and a relay drive circuit module. The MCU generates a control signal according to the operation strategy, transmits it to the drive circuit module through the GPIO, and then is converted into a drive signal for the relay by the drive circuit module. The relay is controlled to open or close by the drive signal, so as to connect the power supply circuit from the lithium-ion battery pack to the electric motor and other electrical equipment.
[0003] During the startup of electric vehicles, there are corresponding safety strategies to control the high-voltage relays to ensure the safe startup of electric vehicles. However, during the driving of electric vehicles, the MCU is reset due to external interference or other reasons, and cannot output control signals normally, resulting in the inability to determine the status of each high-voltage relay (it may be open or closed), which is easy to cause unpredictable failures and cause equipment and personnel safety accidents. Based on this, a relay latch control circuit is also produced, which can latch the high-voltage relay (keep the high-voltage relay in the current closed state) when the MCU is abnormally reset, so as to prevent abnormal cutting of the high-voltage circuit and damage to the high-voltage components.
[0004] The above-mentioned traditional relay latch control circuit also controls the opening or closing of the high-voltage relay by the MCU and the relay driving circuit module, except that the MCU and the relay driving circuit module are connected by an SPI link. In this latch control method, as long as the MCU is abnormally reset, the high-voltage relay is latched to keep the high-voltage relay in the current closed state, which can ensure that the electric vehicle has continuous power to drive, but there are also safety hazards. For example, if the MCU has been abnormally reset many times, it means that the electric vehicle has a serious fault. If the high-voltage relay is still controlled to remain in a closed state to allow the electric vehicle to drive, a safety accident may occur.
[0005] In summary, the existing relay latching control has potential safety hazards. Summary of the invention
[0006] In view of this, an object of the present invention is to provide a relay latch control circuit and method for an electric vehicle to alleviate the technical problem of potential safety hazards in existing relay latch control.
[0007] In a first aspect, an embodiment of the present invention provides a relay latch control circuit for an electric vehicle, comprising: a micro control unit, a logic gate, a latch, and a relay driver chip connected in sequence, and further comprising: an operating condition detection circuit, wherein an output end of the operating condition detection circuit is connected to an input end of the logic gate; the micro control unit is also connected to the latch;
[0008] The operating condition detection circuit is used to detect the operating condition of the electric vehicle and send an operating condition signal to the logic gate;
[0009] The micro control unit is used to send a latch signal to the logic gate and send a first control signal to the latch;
[0010] The logic gate is used to perform a logic operation on the working condition signal and the latch signal, and send the latch signal to the latch when the working condition signal meets a preset working condition;
[0011] The latch is used to latch the first control signal according to the latch signal, and send a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control;
[0012] The relay driving chip is used to send a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the switching state of the relay controlled by the third control signal and the second control signal is the same.
[0013] Furthermore, it also includes: a counter;
[0014] The input end of the counter is connected to the output end of the micro control unit, and the output end of the counter is connected to the logic gate;
[0015] The micro control unit is further used to send a reset state signal to the counter;
[0016] The counter is used to count according to the reset state signal, and send a counting signal to the logic gate when the count reaches a preset value;
[0017] The logic gate is further used to perform logic operations on the operating condition signal, the latch signal and the counting signal, and send the latch signal to the latch when the operating condition signal and the counting signal meet preset conditions.
[0018] Furthermore, the number of the logic gates is at least 1, and the type of the logic gate is customizable.
[0019] Furthermore, there are multiple operating condition detection circuits, and the multiple operating condition detection circuits are connected in parallel.
[0020] Further, it also includes: a relay;
[0021] The relay is connected to the relay driving chip.
[0022] Furthermore, the relay latch control circuit of the electric vehicle is arranged in a target control system, and the target control system at least includes: a battery management system.
[0023] In a second aspect, an embodiment of the present invention further provides a relay latch control method for an electric vehicle, which is applied to the relay latch control circuit of the electric vehicle described in any one of the first aspects above, and the method includes:
[0024] The operating condition detection circuit detects the operating condition of the electric vehicle and sends an operating condition signal to a logic gate;
[0025] The logic gate performs a logic operation on the working condition signal and the latch signal sent by the micro control unit, and sends the latch signal to the latch when the working condition signal meets the preset working condition;
[0026] The latch latches the first control signal sent by the micro control unit according to the latch signal, and sends a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control;
[0027] The relay driver chip sends a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the switching state of the relay controlled by the third control signal and the second control signal is the same.
[0028] Furthermore, the method further comprises:
[0029] The counter counts according to the reset state signal sent by the micro control unit, and sends a counting signal to the logic gate when the count reaches a preset value;
[0030] The logic gate performs a logic operation on the operating condition signal, the latch signal and the counting signal, and sends the latch signal to the latch when the operating condition signal and the counting signal meet a preset condition.
[0031] Furthermore, the method further comprises:
[0032] The logic gate performs a logic operation on the working condition signal and the latch signal sent by the micro control unit, and when the working condition signal does not meet the preset working condition, the latch signal is not sent to the latch, and the relay is disconnected.
[0033] In an embodiment of the present invention, a relay latch control circuit of an electric vehicle is provided, comprising: a micro control unit, a logic gate, a latch and a relay driver chip connected in sequence, and also comprising: an operating condition detection circuit, wherein the output end of the operating condition detection circuit is connected to the input end of the logic gate; the micro control unit is also connected to the latch; the operating condition detection circuit is used to detect the operating condition of the electric vehicle and send the operating condition signal to the logic gate; the micro control unit is used to send a latch signal to the logic gate and send a first control signal to the latch; the logic gate is used to perform a logical operation on the operating condition signal and the latch signal, and send the latch signal to the latch when the operating condition signal meets a preset operating condition; the latch is used to latch the first control signal according to the latch signal, and send a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control; the relay driver chip is used to send a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the third control signal and the second control signal have the same switching state for the relay control. From the above description, it can be seen that the relay latch control circuit of the electric vehicle of the present invention can control the relay differently according to different working conditions. Only when the working condition signal meets the preset working condition, a latch signal will be sent to the latch, and then the relay will be latched and controlled. Otherwise, the relay will be disconnected. That is, the relay can be controlled in a diversified manner according to different working conditions, which improves the complex functions of the relay control, improves the safety of the latch control, and alleviates the technical problem of safety hazards in the existing relay latch control. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of a relay latch control circuit for an electric vehicle provided by an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of another relay latch control circuit for an electric vehicle provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of another relay latch control circuit of an electric vehicle provided by an embodiment of the present invention;
[0038] Figure 4 The present invention provides a flow chart of a relay latching control method for an electric vehicle.
[0039] Icons: 11-micro control unit; 12-operating condition detection circuit; 13-logic gate; 14-latch; 15-relay driver chip; 16-relay; 17-counter. DETAILED DESCRIPTION
[0040] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] At present, in the circuit for latching control of the relay, as long as the MCU is abnormally reset, the high-voltage relay is latched to keep the high-voltage relay in the current closed state, which can ensure that the electric vehicle has continuous power to travel, but there are also safety hazards. That is, the existing relay latching control has safety hazards.
[0042] Based on this, the relay latch control circuit of the electric vehicle of the present invention can control the relay differently according to different working conditions. Only when the working condition signal meets the preset working condition, a latch signal will be sent to the latch, and then the relay will be latched and controlled. Otherwise, the relay will be disconnected. That is, the relay can be controlled in a diversified manner according to different working conditions, which improves the complex functions of the relay control and enhances the safety of the latch control.
[0043] To facilitate understanding of this embodiment, a relay latch control circuit for an electric vehicle disclosed in an embodiment of the present invention is first introduced in detail.
[0044] Embodiment 1:
[0045] According to an embodiment of the present invention, an embodiment of a relay latch control circuit for an electric vehicle is provided. Figure 1 is a schematic diagram of a relay latch control circuit of an electric vehicle according to an embodiment of the present invention, such as Figure 1 As shown, it includes: a micro control unit 11, a logic gate 13, a latch 14 and a relay driving chip 15 connected in sequence, and also includes: an operating condition detection circuit 12, the output end of the operating condition detection circuit 12 is connected to the input end of the logic gate 13; the micro control unit 11 is also connected to the latch 14;
[0046] The operating condition detection circuit 12 is used to detect the operating condition of the electric vehicle and send the operating condition signal to the logic gate 13;
[0047] The micro control unit 11 is used to send a latch signal to the logic gate 13 and send a first control signal to the latch 14;
[0048] The logic gate 13 is used to perform a logic operation on the working condition signal and the latch signal, and send the latch signal to the latch 14 when the working condition signal meets the preset working condition;
[0049] The latch 14 is used to latch the first control signal according to the latch signal, and send the second control signal to the relay driver chip 15 according to the latched first control signal, wherein the second control signal and the first control signal control the same switch state of the relay 16;
[0050] The relay driving chip 15 is used to send a third control signal to the relay 16 according to the second control signal to control the switching state of the relay 16, wherein the switching state of the relay 16 controlled by the third control signal and the second control signal is the same.
[0051] In the embodiment of the present invention, the working condition detection circuit 12 can be used to detect the working condition in which the electric vehicle is currently working, so as to control the relay 16 differently according to different working conditions. Specifically, the working condition detection circuit 12 sends the working condition of the detected electric vehicle to the logic gate 13 in the form of a working condition signal, and then the logic gate 13 performs a logical operation on the working condition signal and the latch signal sent by the micro control unit 11. Only when the working condition signal meets the preset working condition condition, the logic gate 13 will send the latch signal to the latch 14, and the latch 14 will latch the first control signal sent by the micro control unit 11 according to the latch signal, and send the second control signal to the relay driver chip 15 according to the latched first control signal. Finally, the relay driver chip 15 sends a third control signal to the relay 16 according to the second control signal to control the switch state of the relay 16 to achieve the effect of latch control. If the working condition signal does not meet the preset working condition condition, the latch control is not performed, that is, the first control signal controlling the relay 16 fails, and the relay 16 is not closed. If the current state of the relay 16 is a closed state, it is disconnected and loses the current closed state.
[0052] The above-mentioned first control signal, second control signal and third control signal have the same switching state for controlling the relay 16, but the amplitudes of the signals may be different, that is, if the first control signal is a signal for controlling the relay 16 to be closed, then the second control signal and the third control signal are also signals for controlling the relay 16 to be closed, but it is possible that the first control signal is a 3.3V signal, the second control signal is a 5V signal, and the third control signal is a 12V signal.
[0053] In order to have a deeper understanding of the above process, a specific example is given below:
[0054] If the preset operating condition is a high-speed driving condition, that is, under the high-speed driving condition, the relay 16 needs to be latched, while under the non-high-speed driving condition, no latching is performed.
[0055] In a specific implementation, the operating condition detection circuit 12 detects the speed of the electric vehicle. When the detected speed is greater than a preset speed threshold, the high-speed driving operating condition signal 1 is sent to the logic gate 13. After receiving the above operating condition signal 1, the logic gate 13 performs a logical operation on 1 and the latch signal. Obviously, if 1 meets the preset operating condition, the latch signal is sent to the latch 14, thereby realizing the latch control of the relay 16. Otherwise, the latch control is not performed.
[0056] Of course, the above example is only a simple working condition. In actual applications, various complex working conditions can be set and various latch controls can be performed on various complex working conditions. For example, when driving at high speed on a highway, latch control is performed. At this time, two conditions need to be met. One is that it is on the highway, and the other is that it is driving at high speed. Only then will the logic gate 13 send a latch signal to the latch 14. That is to say, the working condition signal received by the logic gate 13 needs to have both the conditions on the highway and the conditions of high-speed driving. For example, the working condition signal output by the working condition detection circuit 12 on the highway is 1, and the working condition signal output by the working condition detection circuit 12 driving at high speed is also 1.
[0057] In an embodiment of the present invention, a latch control circuit of a relay 16 of an electric vehicle is provided, comprising: a microcontroller unit 11, a logic gate 13, a latch 14 and a relay driver chip 15 connected in sequence, and also comprising: an operating condition detection circuit 12, wherein the output end of the operating condition detection circuit 12 is connected to the input end of the logic gate 13; the microcontroller unit 11 is also connected to the latch 14; the operating condition detection circuit 12 is used to detect the operating condition of the electric vehicle and send the operating condition signal to the logic gate 13; the microcontroller unit 11 is used to send a latch signal to the logic gate 13 and send a first control signal to the latch 14; the logic gate 13 is used to detect the operating condition signal The operating signal and the latch signal perform a logical operation, and when the operating condition signal meets the preset operating condition, the latch signal is sent to the latch 14; the latch 14 is used to latch the first control signal according to the latch signal, and send the second control signal to the relay driver chip 15 according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for controlling the relay 16; the relay driver chip 15 is used to send a third control signal to the relay 16 according to the second control signal to control the switching state of the relay 16, wherein the third control signal and the second control signal have the same switching state for controlling the relay 16. From the above description, it can be seen that the latch control circuit of the relay 16 of the electric vehicle of the present invention can perform different controls on the relay 16 according to different working conditions. Only when the working condition signal meets the preset working condition, the latch signal will be sent to the latch 14, and then the relay 16 will be latched and controlled. Otherwise, the relay 16 will be disconnected, that is, the relay 16 can be controlled in a diversified manner according to different working conditions, which improves the complex functions of the relay 16 control, improves the safety of the latch control, and alleviates the technical problem of safety hazards in the existing relay 16 latch control.
[0058] The above content briefly introduces the latch control circuit of the relay 16 of the electric vehicle of the present invention, and the specific contents involved therein are described in detail below.
[0059] In an alternative embodiment of the present invention, reference Figure 2 , further comprising: a counter 17;
[0060] The input end of the counter 17 is connected to the output end of the micro control unit 11, and the output end of the counter 17 is connected to the logic gate 13;
[0061] The micro control unit 11 is also used to send a reset state signal to the counter 17;
[0062] The counter 17 is used to count according to the reset state signal, and when the count reaches a preset value, send a counting signal to the logic gate 13;
[0063] The logic gate 13 is also used to perform logic operations on the operating condition signal, the latch signal and the counting signal, and send the latch signal to the latch 14 when the operating condition signal and the counting signal meet preset conditions.
[0064] Specifically, each time the microcontroller unit 11 is abnormally reset, when it is powered on and works normally again, it will send a reset state signal to the counter 17 (for example, sending a reset state signal 1 to the counter 17), and the counter 17 counts according to the reset state signal (that is, the microcontroller unit 11 sends 3 reset state signals 1, and the counter 17 counts to 3). When the count reaches the preset value, the counter 17 sends a counting signal 1 to the logic gate 13, and then the logic gate 13 performs a comprehensive logical operation on the operating condition signal, the latch signal and the counting signal, and when the operating condition signal and the counting signal meet the preset conditions, the logic gate 13 sends a latch signal to the latch 14, and then the relay 16 is latched. Otherwise, the latch control is not performed, that is, the first control signal controlling the relay 16 fails, and the relay 16 is not closed. If the current state of the relay 16 is the closed state, it is disconnected and loses the current closed state.
[0065] If the preset condition is a high-speed driving condition, and the microcontroller unit 11 is abnormally reset less than 3 times, that is, under the high-speed driving condition, and the microcontroller unit 11 is abnormally reset less than 3 times, it is necessary to perform latching control on the relay 16, and under non-high-speed driving conditions, or under high-speed driving conditions, but the microcontroller unit 11 is abnormally reset three times, then latching control is not performed. In this case, the design can be carried out according to the latching control strategy, and the control process under this strategy will not be described in detail here.
[0066] The above-mentioned specific latch control strategies are set by developers according to the specific conditions of the electric vehicle, or according to customer needs. The above-mentioned strategies are set for safety considerations and can be designed in a variety of ways according to actual conditions. The embodiments of the present invention do not impose specific restrictions on them.
[0067] It should be noted that the latch control circuit of the relay 16 of the electric vehicle of the present invention can also be Figure 3 The form shown, that is, the relay 16 is latched and controlled only according to the number of abnormal resets of the microcontroller unit 11 (for example, when the number of abnormal resets of the microcontroller unit 11 reaches a preset value, the relay 16 is not latched and controlled only when the number of abnormal resets of the microcontroller unit 11 is less than the preset value, the relay 16 is latched and controlled), without considering the specific working conditions, and will not be explained in detail here.
[0068] In an optional embodiment of the present invention, the number of the logic gate 13 is at least one, and the type of the logic gate 13 can be customized.
[0069] Specifically, the specific type of the logic gate 13 can be determined according to a specific control strategy, which is not limited here.
[0070] In an optional embodiment of the present invention, there are multiple operating condition detection circuits 12, and the multiple operating condition detection circuits 12 are connected in parallel.
[0071] For example, the operating condition detection circuit 12 can be an operating condition detection circuit 12 on a highway, an operating condition detection circuit 12 for high-speed driving, a charging operating condition detection circuit 12, a discharging operating condition detection circuit 12, a fast charging operating condition detection circuit 12, etc., which can be set according to implementation requirements.
[0072] In an alternative embodiment of the present invention, reference Figures 1 to 3 , further comprising: a relay 16;
[0073] The relay 16 is connected to the relay driving chip 15 .
[0074] In an optional embodiment of the present invention, the relay latch control circuit of the electric vehicle is arranged in a target control system, and the target control system at least includes: a battery management system.
[0075] Of course, the target control system may also be other control systems, such as a vehicle control system. The embodiment of the present invention does not specifically limit the above target control system.
[0076] The relay latch control circuit of the electric vehicle of the present invention enables the latch function of the relay to be applied according to the operating condition and / or the number of resets, thereby compensating for the fact that when the MCU is reset, the judgment of the operating condition and the number of resets is lost and only a single latching action can be performed, thereby improving the complex functions of the relay control, enhancing the safety of the latch control, and diversifying the scenarios of the latch control.
[0077] Embodiment 2:
[0078] According to an embodiment of the present invention, an embodiment of a relay latch control method for an electric vehicle is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0079] Figure 4 1 is a flow chart of a relay latch control method for an electric vehicle according to an embodiment of the present invention, which is applied to the relay latch control circuit of the electric vehicle in the first embodiment above. Figure 4 As shown, the method comprises the following steps:
[0080] Step S402, the operating condition detection circuit detects the operating condition of the electric vehicle and sends an operating condition signal to the logic gate;
[0081] Step S404, the logic gate performs a logic operation on the working condition signal and the latch signal sent by the micro control unit, and sends the latch signal to the latch when the working condition signal meets the preset working condition;
[0082] Step S406, the latch latches the first control signal sent by the micro control unit according to the latch signal, and sends a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control;
[0083] Step S408: the relay driver chip sends a third control signal to the relay according to the second control signal to control the switch state of the relay, wherein the switch state of the relay controlled by the third control signal and the second control signal is the same.
[0084] In an embodiment of the present invention, a relay latch control method for an electric vehicle is provided, comprising: an operating condition detection circuit detects the operating condition of the electric vehicle and sends an operating condition signal to a logic gate; the logic gate performs a logic operation on the operating condition signal and a latch signal sent by a microcontroller unit, and sends a latch signal to a latch when the operating condition signal meets a preset operating condition; the latch latches a first control signal sent by the microcontroller unit according to the latch signal, and sends a second control signal to a relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control; the relay driver chip sends a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the third control signal and the second control signal have the same switching state for the relay control. From the above description, it can be seen that the relay latching control method of the electric vehicle of the present invention can control the relay differently according to different working conditions. Only when the working condition signal meets the preset working condition, the latching signal will be sent to the latch, and then the relay will be latched and controlled. Otherwise, the relay is disconnected. That is, the relay can be controlled in a diversified manner according to different working conditions, which improves the complex functions of the relay control, improves the safety of the latching control, and alleviates the technical problem of safety hazards in the existing relay latching control.
[0085] Optionally, the counter counts according to the reset state signal sent by the microcontroller unit, and when the count reaches a preset value, sends a counting signal to the logic gate; the logic gate performs logical operations on the operating condition signal, latch signal and counting signal, and sends a latch signal to the latch when the operating condition signal and the counting signal meet preset conditions.
[0086] Optionally, the logic gate performs a logic operation on the operating condition signal and the latch signal sent by the micro control unit, and when the operating condition signal does not meet the preset operating condition, the latch signal is not sent to the latch, thereby disconnecting the relay.
[0087] The computer program product of the relay latch control method of the electric vehicle provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be referred to the method embodiment, which will not be repeated here.
[0088] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" 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, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0089] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0090] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A relay latch control circuit for an electric vehicle, characterized in that: include: The microcontrol unit, logic gate, latch and relay driver chip connected in sequence also include: an operating condition detection circuit, the output end of the operating condition detection circuit is connected to the input end of the logic gate; the microcontrol unit is also connected to the latch; The operating condition detection circuit is used to detect the operating condition of the electric vehicle and send an operating condition signal to the logic gate; The micro control unit is used to send a latch signal to the logic gate and send a first control signal to the latch; The logic gate is used to perform a logic operation on the working condition signal and the latch signal, and send the latch signal to the latch when the working condition signal meets a preset working condition; The latch is used to latch the first control signal according to the latch signal, and send a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control; The relay driving chip is used to send a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the switching state of the relay controlled by the third control signal and the second control signal is the same.
2. The relay latch control circuit of the electric vehicle according to claim 1, characterized in that: Also includes: counter; The input end of the counter is connected to the output end of the micro control unit, and the output end of the counter is connected to the logic gate; The micro control unit is further used to send a reset state signal to the counter; The counter is used to count according to the reset state signal, and send a counting signal to the logic gate when the count reaches a preset value; The logic gate is further used to perform logic operations on the operating condition signal, the latch signal and the counting signal, and send the latch signal to the latch when the operating condition signal and the counting signal meet preset conditions.
3. The relay latch control circuit of the electric vehicle according to claim 1, characterized in that: The number of the logic gates is at least 1, and the type of the logic gate is customizable.
4. The relay latch control circuit of the electric vehicle according to claim 1, characterized in that: There are multiple operating condition detection circuits, and the multiple operating condition detection circuits are connected in parallel.
5. The relay latch control circuit of the electric vehicle according to claim 1, characterized in that: Also includes: Relay; The relay is connected to the relay driving chip.
6. The relay latch control circuit of the electric vehicle according to claim 1, characterized in that: The relay latch control circuit of the electric vehicle is arranged in a target control system, and the target control system at least includes: a battery management system.
7. A relay latch control method for an electric vehicle, characterized in that: A relay latch control circuit for an electric vehicle according to any one of claims 1 to 6, the method comprising: The operating condition detection circuit detects the operating condition of the electric vehicle and sends an operating condition signal to a logic gate; The logic gate performs a logic operation on the working condition signal and the latch signal sent by the micro control unit, and sends the latch signal to the latch when the working condition signal meets the preset working condition; The latch latches the first control signal sent by the micro control unit according to the latch signal, and sends a second control signal to the relay driver chip according to the latched first control signal, wherein the second control signal and the first control signal have the same switching state for the relay control; The relay driver chip sends a third control signal to the relay according to the second control signal to control the switching state of the relay, wherein the switching state of the relay controlled by the third control signal and the second control signal is the same.
8. The relay latch control method of an electric vehicle according to claim 7, characterized in that: The method further comprises: The counter counts according to the reset state signal sent by the micro control unit, and sends a counting signal to the logic gate when the count reaches a preset value; The logic gate performs a logic operation on the operating condition signal, the latch signal and the counting signal, and sends the latch signal to the latch when the operating condition signal and the counting signal meet a preset condition.
9. The relay latch control method of an electric vehicle according to claim 7, characterized in that: The method further comprises: The logic gate performs a logic operation on the working condition signal and the latch signal sent by the micro control unit, and when the working condition signal does not meet the preset working condition, the latch signal is not sent to the latch, and the relay is disconnected.
Citation Information
Patent Citations
Electric automobile actuator control system
CN106274496A
Automobile battery management system and method and new energy automobile with same
CN110154828A
Method and device for realizing emergency treatment of motor controller aiming at accidental disconnection of main relay of pure electric vehicle, processor and storage medium
CN114944637A
Passenger vehicle door lock control device
WO2017063501A1
