Relay control method and device and vehicle

By obtaining and using the enable signal and drive signal of the relay to control its on-off state, the problem of high-current relays in new energy vehicles is solved, and the stable operation and production safety of the relay are achieved.

CN120056735AActive Publication Date: 2025-05-30BEIJING CAVAN NEW ENERGY AUTOMOTIVE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411416856.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-05-30
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

High-current relays in new energy vehicles are prone to adhesion problems, arc problems, poor contact or bottoming failure, rising temperatures, increased contact resistance and reduced electrical components life, affecting their reliability.

Method used

By obtaining the enable signal and drive signal of the relay, the on-off state of the relay is jointly controlled according to the enable requirement and the drive signal size, so as to avoid the relay being in the running state all the time, thereby reducing the probability of frequent failures.

Benefits of technology

It effectively reduces the probability of relay failure, ensures its stable operation and production safety, while reducing static consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120056735A_ABST
    Figure CN120056735A_ABST
Patent Text Reader

Abstract

The invention provides a relay control method and device and a vehicle. The method comprises the steps that an enable signal and a drive signal of a relay are obtained; the on-off state of the relay is changed by increasing the enable signal, the relay is prevented from being in a running state all the time, and therefore the probability that faults of the relay occur frequently is reduced, stable running and production safety of the relay are guaranteed, and meanwhile static consumption can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicles, and in particular, to a control method, device, and vehicle for a relay. Background Art

[0002] With the increasing number of new energy vehicles, high voltage / large current technology has received more and more attention in the market and the technical field. However, due to the current industry trend of using high voltage / large current to improve the charging rate or the performance of electrical appliances, in the fault diagnosis of new energy vehicles, the probability of the large current relay sticking is relatively high, and problems such as arc problems, poor contact or bottom contact faults, temperature rise, increased contact resistance, and reduced lifespan of electrical components are likely to occur, thus affecting the reliability of the large current relay. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0004] To this end, one object of the present invention is to provide a control method for a relay. This method changes the on / off state of the relay by adding an enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing static power consumption.

[0005] To this end, a second object of the present invention is to provide a control device for a relay.

[0006] To this end, a third object of the present invention is to provide a vehicle.

[0007] To this end, a fourth object of the present invention is to provide a computer-readable storage medium.

[0008] To this end, a fifth object of the present invention is to provide a computer program product.

[0009] To achieve the above object, an embodiment of the first aspect of the present invention provides a control method for a relay. The method includes: obtaining an enable signal and a drive signal of the relay; controlling the on / off of the relay according to the drive signal and the enable signal.

[0010] According to the control method for a relay of the embodiment of the present invention, by simultaneously obtaining the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, the on / off state of the relay is changed by adding an enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing static power consumption.

[0011] In some embodiments, the drive signal includes a reverse drive current signal, and controlling the on / off of the relay according to the enable signal, the reverse drive current, or the forward drive current includes: determining the level state of the reverse drive current; when the reverse drive current is at a high level, determining a reverse drive signal according to the reverse drive current and the enable signal; and controlling the on / off of the relay according to the reverse drive signal.

[0012] In some embodiments, determining a reverse drive signal according to the reverse drive current and the enable signal includes: charging a timing loop of the relay according to the reverse drive current; monitoring a real-time voltage value of the timing loop; when the real-time voltage value is greater than a first preset voltage threshold, receiving and enhancing the reverse drive current to obtain an enhanced reverse drive current; and determining a reverse drive signal according to the enhanced reverse drive current and the enable signal.

[0013] In some embodiments, before determining a reverse drive signal according to the enhanced reverse drive current and the enable signal, it includes: isolating interference signals of the enhanced reverse drive current.

[0014] In some embodiments, controlling the on / off of the relay according to the reverse drive signal includes: outputting a relay drive signal according to the reverse drive signal; receiving and amplifying the relay drive signal to obtain an amplified relay drive signal; and controlling the on / off of the relay according to the amplified relay drive signal.

[0015] In some embodiments, the drive signal includes a forward drive current signal, and controlling the on / off of the relay according to the enable signal, the reverse drive current, or the forward drive current includes: determining the level state of the forward drive current; when the forward drive current is at a high level, determining a forward drive signal according to the forward drive current and the enable signal; and controlling the on / off of the relay according to the forward drive signal.

[0016] In some embodiments, determining a forward drive signal according to the forward drive current and the enable signal includes: determining a forward drive voltage corresponding to the forward drive current; and when the forward drive voltage is greater than a second preset voltage threshold, determining a forward overvoltage delay drive signal.

[0017] In some embodiments, determining a forward drive signal based on the forward drive current and the enable signal includes: when the forward drive current is greater than a first preset current threshold, determining an overcurrent delay drive signal; when the forward drive current is greater than the first preset current threshold and less than a second preset current threshold, determining an immediate turn-off drive signal; when the forward drive current is greater than the second preset current threshold, determining a blocking drive signal, where the first preset current threshold is less than the second preset current threshold.

[0018] In some embodiments, controlling the on / off of the relay according to the forward drive signal includes: outputting a relay drive signal according to the forward overvoltage delay drive signal and / or the forward immediate turn-off drive signal and / or the forward blocking drive signal; receiving and amplifying the relay drive signal to obtain an amplified relay drive signal; controlling the on / off of the relay according to the amplified relay drive signal.

[0019] In some embodiments, after determining the overcurrent delay drive signal, it further includes: receiving and amplifying the overcurrent delay drive signal to output an amplified overcurrent delay drive signal to a timing circuit.

[0020] To achieve the above object, an embodiment of the second aspect of the present invention provides a control device for a relay, the device includes: an acquisition module, configured to acquire the enable signal and the drive signal of the relay; a control module, configured to control the on / off of the relay according to the drive signal and the enable signal.

[0021] According to the control device for a relay of the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, changing the on / off state of the relay by adding the enable signal, avoiding the relay from being in an operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static consumption.

[0022] To achieve the above object, an embodiment of the third aspect of the present invention provides a vehicle, the vehicle includes the control device for a relay described in the above embodiment.

[0023] According to the vehicle of the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, changing the on / off state of the relay by adding the enable signal, avoiding the relay from being in an operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static consumption.

[0024] To achieve the above object, an embodiment of the fourth aspect of the present invention provides a computer-readable storage medium, on which a control program of a relay is stored. When the control program of the relay is executed by a processor, the control method of the relay described in the above embodiment is implemented.

[0025] To achieve the above object, an embodiment of the fifth aspect of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the control method of the relay described in the above embodiment is implemented.

[0026] According to the computer program product of the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, the on-off state of the relay is changed by adding the enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static power consumption.

[0027] The additional aspects and advantages of the present invention will be partly given in the following description, partly will become obvious from the following description, or be understood through the practice of the present invention. Description of the Drawings

[0028] The above and / or additional aspects and advantages of the present invention will become obvious and easy to understand from the description of the embodiments in conjunction with the following drawings, where: Figure 1 is a structural block diagram of a control circuit of a relay according to an embodiment of the present invention; Figure 2 is a flowchart of a control method of a relay according to an embodiment of the present invention; Figure 3 is a flowchart of a control method of a relay according to a specific embodiment of the present invention; Figure 4 is a structural block diagram of a control device of a relay according to an embodiment of the present invention; Figure 5 is a structural block diagram of a vehicle according to an embodiment of the present invention.

[0029] Reference Signs: Control circuit 100 of the relay; Current drive circuit 101; Control circuit 11; First current judgment module 1; Timing module 2; Current enhancement module 3; Optocoupler isolation module 4; Current drive module 5; Second current judgment module 6; Second current acquisition module 7; Output signal amplification module 8; Drive signal amplification module 9; relay drive module 10; electrical appliance 12; battery 13; Control device 20 of the relay; Acquisition module 210; control module 220; Vehicle 30. Specific implementation mode

[0030] Embodiments of the present invention will be described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention will be described in detail below.

[0031] In the related art, in the BDU (Battery Drive Unit) of an electric vehicle, except for the fast charge relay, when powering off, it will be affected by the reverse current from inductive high-power electrical appliances. This kind of voltage and current generally exceeds the peak voltage and peak current of the electrical appliance, which will reduce the service life of the relay when the relay opens and closes; in case of overcurrent and short circuit, the opening and closing of the relay will reduce the reliability of the relay or even damage it, and the user can only replace the relay.

[0032] First, in combination with Figure 1 The control circuit 100 of the relay of the present invention will be exemplified.

[0033] As Figure 1 shown, the control circuit 100 of the relay in the embodiment of the present invention includes: a current drive circuit 101 and a control circuit 11. Among them, The current drive circuit 101 is connected to the relay K1 and is used to receive the drive current of the relay K1; the control circuit 11 is connected to the current drive circuit 101 and is used to receive the enable signal and drive current of the relay, and output the control signal of the relay. Among them, the drive current includes a positive drive current and a negative drive current, and the enable signal is the demand signal of the main CPU (Central Processing Unit) or the main VCU (Vehicle control unit) for closing or turning off the relay, such as denoted as en1 and en2.

[0034] The current drive circuit receives the drive current of relay K1 and sends the drive current of relay K1 to control circuit 11. At the same time, control circuit 11 also receives the enable signal of relay K1, and jointly outputs the control signal of relay K1 according to the magnitude of the drive current and the enable requirement for relay K1, so as to control relay K1 to close or turn off. By obtaining the enable signal, corresponding control of relay K1 is only carried out after determining the enable requirement for relay K1, avoiding the control circuit 100 of the relay from being in an operating state all the time, thereby reducing problems such as arc problems, poor contact or bottoming failure, temperature rise, increase in contact resistance, and reduction in the service life of electrical components, and further reducing the probability of the relay sticking, while reducing the static power consumption of the control circuit 100 of the relay.

[0035] The following combines Figure 2 and Figure 3 to give an example of the control method of the relay in the embodiment of the present invention.

[0036] As Figure 2 shown, the control method of the relay in the embodiment of the present invention at least includes step S1 and step S3.

[0037] Step S1, obtain the enable signal and drive signal of the relay.

[0038] Among them, the drive current includes the positive drive current and negative drive current output by the battery, and the enable signal is the demand signal of the main CPU (Central Processing Unit) or the main VCU (Vehicle control unit) for closing or turning off the relay, such as denoted as en1 and en2.

[0039] In the embodiment, the drive current of the relay is obtained in real time, the positive drive current signal or negative drive current signal is determined according to the direction of the drive current, the corresponding level state is determined according to the magnitude of the drive current, and at the same time, the enable signal of the relay is obtained to determine the enable requirement for the relay.

[0040] Step S2, control the on / off of the relay according to the drive signal and the enable signal.

[0041] In the embodiment, after obtaining the enable signal and drive signal of the relay, the control signal of the relay is jointly output according to the magnitude of the drive current and the enable requirement for the relay, so as to control the relay to close or turn off. By obtaining the enable signal, corresponding control of the relay is only carried out after determining the enable requirement for the relay, avoiding the relay from being in an operating state all the time, thereby reducing problems such as arc problems, poor contact or bottoming failure, temperature rise, increase in contact resistance, and reduction in the service life of electrical components, and further reducing the probability of the relay sticking, while reducing the static power consumption of the relay.

[0042] According to the control method of a relay according to an embodiment of the present invention, by simultaneously obtaining an enable signal and a drive signal of the relay, the relay is controlled to be closed or turned off according to the enable requirement and the magnitude of the drive signal. By adding an enable signal to change the on-off state of the relay, the relay is prevented from being in an operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static power consumption.

[0043] In some embodiments, the drive signal includes a reverse drive current signal. The on-off of the relay is controlled according to the enable signal, the reverse drive current or the forward drive current, including: determining the level state of the reverse drive current; when the reverse drive current is at a high level, determining a reverse drive signal according to the reverse drive current and the enable signal; controlling the on-off of the relay according to the reverse drive signal.

[0044] In an embodiment, after obtaining the enable signal and the reverse drive current signal of the relay, it is determined whether the reverse drive current is at a high level. When it is determined that the level state of the reverse drive current is at a high level, a reverse drive signal, for example denoted as C, is jointly determined according to the reverse drive current and the enable signal, so as to control the on-off of the relay according to the reverse drive signal C.

[0045] In some embodiments, determining the reverse drive signal according to the reverse drive current and the enable signal includes: charging a timing circuit of the relay according to the reverse drive current; monitoring the real-time voltage value of the timing circuit; when the real-time voltage value is greater than a first preset voltage threshold, receiving and enhancing the reverse drive current to obtain an enhanced reverse drive current; determining the reverse drive signal according to the enhanced reverse drive current and the enable signal.

[0046] In an embodiment, when it is determined that the level state of the reverse drive current is at a high level, the reverse drive current is output to the timing circuit of the relay to charge the timing circuit of the relay, and the real-time voltage value of the timing circuit is monitored in real time. When the real-time voltage value of the timing circuit is greater than the first preset voltage threshold, the reverse drive current is signal-enhanced to obtain an enhanced reverse drive current, and the interference signal in the enhanced reverse drive current is isolated. According to the filtered enhanced reverse drive current and the enable signal, a reverse drive signal C is output to realize the delayed turn-off of the relay.

[0047] Among them, since the initial pressure difference of the timing circuit is 0, the reverse drive current preferentially charges the timing circuit. When the real-time voltage value of the timing circuit reaches the preset voltage threshold, it is considered that the timing circuit is fully charged, and subsequent judgments can be made. Among them, the timing circuit determines the resistance-capacitance ratio of the timing circuit by collecting the duration when the reverse drive current drops to the forward drive current each time when power is turned off, and the time required for the fuse written in the insurance specification of the loop where the relay is located when the loop is short-circuited, so as to realize the delay function.

[0048] The optocoupler isolator U1 utilizes the principle of optoelectronic conversion and isolation. After the photosensitive diode circuit on the right side of the optocoupler isolator U1 is turned on, it will adjust the brightness according to the magnitude of the current flowing through the photosensitive diode. The photosensitive triode on the left side will determine the opening degree of the triode in the left circuit according to the brightness irradiated on it by the photosensitive diode, thereby adjusting the resistance value.

[0049] Specifically, the reverse drive current preferentially charges the first capacitor C3. When the real-time voltage value of the first capacitor C3 reaches the preset voltage threshold, it can be divided into two paths. One path charges the first capacitor C3, and the other path flows to the ground through the second diode D2, the tenth resistor R10, and the eleventh resistor R11. Since the resistance values of the tenth resistor R10 and the eleventh resistor R11 are very large, most of the reverse drive current is still used to charge the first capacitor C3; when the voltage difference across the two ends of the first capacitor C3 reaches the drive voltage of the third transistor Q3, such as 15V, and the conduction voltage of the second diode D2, such as 0.7V, that is, a voltage difference of about 16V, the third transistor Q3 will be completely turned on, and the brightness of the light-emitting diode inside the optocoupler isolator U1 can be maximized to turn on the photosensitive triode; after the relay K1 completes its operation, the discharge loop of the first capacitor C3 is from the first capacitor C3 flowing through the second diode D2, the eleventh resistor R11, the tenth resistor R10, and then flowing to the ground to complete the discharge.

[0050] In some embodiments, controlling the on / off of the relay according to the reverse drive signal includes: outputting a relay drive signal according to the reverse drive signal; receiving and amplifying the relay drive signal to obtain an amplified relay drive signal; controlling the on / off of the relay according to the amplified relay drive signal.

[0051] In an embodiment, after determining the reverse drive signal C, determining the corresponding relay drive signal e according to the reverse drive signal C to achieve delayed turn-off of the relay. Since driving the relay requires a fixed current to flow through the coil inside the relay, the current at the general signal level is very small and not of the same order of magnitude and cannot directly drive the relay. Therefore, receiving and amplifying the relay drive signal e to obtain an amplified relay drive signal, for example, denoted as a, and controlling the on / off of the relay according to the amplified relay drive signal a, where the first diode D1 utilizes the one-way conductivity of the diode to prevent the reverse flow of current.

[0052] In some embodiments, the drive signal includes a forward drive current signal. Controlling the on / off of the relay according to the enable signal, reverse drive current, or forward drive current includes: determining the level state of the forward drive current; when the forward drive current is at a high level, determining the forward drive signal according to the forward drive current and the enable signal; controlling the on / off of the relay according to the forward drive signal.

[0053] In an embodiment, after obtaining the enable signal and the forward drive current signal of the relay, it is determined whether the forward drive current is at a high level. When it is determined that the level state of the forward drive current is at a high level, the reverse forward drive signal is determined based on the forward drive current and the enable signal, so as to control the on / off of the relay according to the forward drive signal.

[0054] In some embodiments, determining the forward drive signal according to the forward drive current and the enable signal includes: determining the forward drive voltage corresponding to the forward drive current; when the forward drive voltage is greater than the second preset voltage threshold, determining the forward overvoltage delay drive signal.

[0055] In an embodiment, when it is determined that the level state of the forward drive current is at a high level, the forward drive current is converted into the corresponding forward drive voltage, and the magnitude relationship between the forward drive voltage and the second preset voltage threshold in2 is compared. When the forward drive voltage is greater than the second preset voltage threshold, it is considered that the forward drive voltage is overvoltage, and then the forward overvoltage delay drive signal is output, for example, denoted as out4. Among them, the second preset voltage threshold in2 can be rewritten through the io2 port, such as the TL432 program.

[0056] In some embodiments, determining the forward drive signal according to the forward drive current and the enable signal includes: when the forward drive current is greater than the first preset current threshold, determining the overcurrent delay drive signal; when the forward drive current is greater than the first preset current threshold and less than the second preset current threshold, determining the immediate turn-off drive signal; when the forward drive current is greater than the second preset current threshold, determining the blocking drive signal, where the first preset current threshold is less than the second preset current threshold.

[0057] In an embodiment, when it is determined that the level state of the forward drive current is at a high level, the magnitude relationship between the forward drive current and the first preset current threshold and the second preset current threshold can also be compared. When the forward drive current is greater than the first preset current threshold, it is considered that the forward drive current is overcurrent, and then the overcurrent delay drive signal out1 is output; when the forward drive current is greater than the first preset current threshold and less than the second preset current threshold, it is considered that the forward drive current is normal, and then the forward immediate turn-off drive signal out2 is output; when the forward drive current is greater than the second preset current threshold, it is considered that the forward drive current is short-circuited, and then the forward blocking drive signal out3 is output.

[0058] In some embodiments, controlling the on / off of the relay according to the forward drive signal includes: outputting the relay drive signal according to the forward overvoltage delay drive signal and / or the forward immediate turn-off drive signal and / or the forward blocking drive signal; receiving and amplifying the relay drive signal to obtain the amplified relay drive signal; controlling the on / off of the relay according to the amplified relay drive signal.

[0059] In an embodiment, according to the forward overvoltage delay drive signal out4, the relay drive signal e is output to implement the delay turn-off of the relay, and / or according to the forward immediate turn-off drive signal out2, the relay drive signal e is output to implement the immediate turn-off of the relay, and / or according to the forward blocking drive signal out3, the relay drive signal e is output to implement the blocking of the relay from closing.

[0060] Since driving a relay requires a fixed current to flow through the coil inside the relay, and the current at the general signal level is very small and not in the same order of magnitude and cannot directly drive the relay, the relay drive signal e is received and amplified to obtain the amplified relay drive signal a, and the on / off of the relay is controlled according to the amplified relay drive signal a.

[0061] In some embodiments, after determining the overcurrent delay drive signal, it further includes: receiving and amplifying the overcurrent delay drive signal to output the amplified overcurrent delay drive signal b to the timing circuit.

[0062] In an embodiment, after determining the overcurrent delay drive signal out1, since the voltage and current of the enable signal are very low and cannot provide energy for the timing circuit and thus cannot implement the delay function and power amplification is required, the overcurrent delay drive signal out1 is received and amplified to obtain the amplified overcurrent delay drive signal b, and the amplified overcurrent delay drive signal b is output to the timing circuit, and the delay function is implemented by multiplexing the timing circuit, where the fifth diode D5 uses the one-way conductivity of the diode to prevent the reverse flow of current.

[0063] The following refers to Figure 3 to give an example of the control method of the relay in the embodiment of the present invention.

[0064] As Figure 3 shown, the control method of the relay in the embodiment of the present invention at least includes steps S11 - step S20.

[0065] Step S11, obtain the enable signal and drive signal of the relay, and the drive signal includes a reverse drive current signal and a forward drive current signal.

[0066] Step S12, determine the level state of the reverse drive current.

[0067] Step S13, when the reverse drive current is at a high level, charge the timing circuit of the relay according to the reverse drive current; monitor the real-time voltage value of the timing circuit; when the real-time voltage value is greater than the first preset voltage threshold, receive and enhance the reverse drive current to obtain the enhanced reverse drive current.

[0068] Step S14, isolate the interference signal of the enhanced reverse drive current; determine the reverse drive signal according to the enhanced reverse drive current and the enable signal.

[0069] Step S15: Output a relay drive signal according to the reverse drive signal; receive and amplify the relay drive signal to obtain an amplified relay drive signal; control the on / off of the relay according to the amplified relay drive signal.

[0070] Step S16: Determine the level state of the forward drive current.

[0071] Step S17: When the forward drive current is at a high level, determine the forward drive voltage corresponding to the forward drive current; when the forward drive voltage is greater than the second preset voltage threshold, determine the forward overvoltage delay drive signal.

[0072] Step S18: Output a relay drive signal according to the forward overvoltage delay drive signal and / or the forward immediate turn-off drive signal and / or the forward blocking drive signal; receive and amplify the relay drive signal to obtain an amplified relay drive signal; control the on / off of the relay according to the amplified relay drive signal.

[0073] Step S19: When the forward drive current is at a high level and the forward drive current is greater than the first preset current threshold, determine the overcurrent delay drive signal; when the forward drive current is greater than the first preset current threshold and less than the second preset current threshold, determine the immediate turn-off drive signal; when the forward drive current is greater than the second preset current threshold, determine the blocking drive signal, where the first preset current threshold is less than the second preset current threshold.

[0074] Step S20: Receive and amplify the overcurrent delay drive signal to output an amplified overcurrent delay drive signal to the timing circuit.

[0075] According to the relay control method of the embodiment of the present invention, by simultaneously obtaining the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, the on / off state of the relay is changed by adding the enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static power consumption.

[0076] Next, refer to Figure 4 Describe the relay control device 20 of the embodiment of the present invention.

[0077] As Figure 4 shown, the relay control device 20 of the embodiment of the present invention includes: an acquisition module 210 and a control module 220, where, The acquisition module 210 is used to acquire the enable signal and the drive signal of the relay; the control module 220 is used to control the on / off of the relay according to the drive signal and the enable signal.

[0078] In an embodiment, the acquisition module 210 acquires the drive current of the relay in real time, determines whether it is a positive drive current signal or a negative drive current signal according to the direction of the drive current, determines the corresponding level state according to the magnitude of the drive current, and simultaneously acquires the enable signal of the relay to determine the enable requirement for the relay. Among them, the drive current includes a positive drive current and a negative drive current, and the enable signal is a requirement signal for the main CPU (central processing unit) and the main VCU to close or turn off the relay, denoted as en1 and en2 for example.

[0079] After the control module 220 acquires the enable signal and the drive signal of the relay, it jointly outputs a control signal for the relay according to the magnitude of the drive current and the enable requirement for the relay to control the relay to close or turn off. By acquiring the enable signal, corresponding control of the relay is only performed after determining the enable requirement for the relay, avoiding the relay from being in an operating state all the time, thereby reducing problems such as arc problems, poor contact or bottom contact faults, temperature rise, increase in contact resistance, and reduction in the service life of electrical components, and further reducing the probability of the relay sticking, and at the same time reducing the static power consumption of the relay.

[0080] According to the relay control device 20 of the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, jointly controlling the relay to close or turn off according to the enable requirement and the magnitude of the drive signal, and changing the on-off state of the relay by adding the enable signal, avoiding the relay from being in an operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static power consumption.

[0081] In some embodiments, the drive signal includes a reverse drive current signal. When the control module 220 controls the on-off of the relay according to the enable signal, the reverse drive current or the positive drive current, it is specifically used for: determining the level state of the reverse drive current; when the reverse drive current is at a high level, determining a reverse drive signal according to the reverse drive current and the enable signal; controlling the on-off of the relay according to the reverse drive signal.

[0082] In some embodiments, when the control module 220 determines the reverse drive signal according to the reverse drive current and the enable signal, it is specifically used for: charging the timing circuit of the relay according to the reverse drive current; monitoring the real-time voltage value of the timing circuit; when the real-time voltage value is greater than the first preset voltage threshold, receiving and enhancing the reverse drive current to obtain an enhanced reverse drive current; isolating the interference signal of the enhanced reverse drive current; determining the reverse drive signal according to the enhanced reverse drive current and the enable signal.

[0083] In some embodiments, when the control module 220 controls the on / off of the relay according to the reverse drive signal, it is specifically configured to: output a relay drive signal according to the reverse drive signal; receive and amplify the relay drive signal to obtain an amplified relay drive signal; and control the on / off of the relay according to the amplified relay drive signal.

[0084] In some embodiments, the drive signal includes a forward drive current signal. When the control module 220 controls the on / off of the relay according to the enable signal, reverse drive current, or forward drive current, it is specifically configured to: determine the level state of the forward drive current; when the forward drive current is at a high level, determine the forward drive signal according to the forward drive current and the enable signal; and control the on / off of the relay according to the forward drive signal.

[0085] In some embodiments, when the control module 220 determines the forward drive signal according to the forward drive current and the enable signal, it is specifically configured to: determine the forward drive voltage corresponding to the forward drive current; and when the forward drive voltage is greater than the second preset voltage threshold, determine the forward overvoltage delay drive signal.

[0086] In some embodiments, when the control module 220 determines the forward drive signal according to the forward drive current and the enable signal, it is specifically configured to: when the forward drive current is greater than the first preset current threshold, determine the overcurrent delay drive signal, receive and amplify the overcurrent delay drive signal to output the amplified overcurrent delay drive signal to the timing circuit; when the forward drive current is greater than the first preset current threshold and less than the second preset current threshold, determine the immediate turn-off drive signal; when the forward drive current is greater than the second preset current threshold, determine the blocking drive signal, where the first preset current threshold is less than the second preset current threshold.

[0087] In some embodiments, when the control module 220 controls the on / off of the relay according to the forward drive signal, it is specifically configured to: output a relay drive signal according to the forward overvoltage delay drive signal and / or the forward immediate turn-off drive signal and / or the forward blocking drive signal; receive and amplify the relay drive signal to obtain an amplified relay drive signal; and control the on / off of the relay according to the amplified relay drive signal.

[0088] According to the control device 20 of the relay in the embodiments of the present invention, by simultaneously obtaining the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, and changing the on / off state of the relay by adding the enable signal, it is possible to avoid the relay being in an operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static power consumption.

[0089] Next, reference is made to Figure 5 Describe the vehicle 30 according to the embodiments of the present invention.

[0090] AsFigure 5 As shown in the figure, the vehicle 30 according to the embodiment of the present invention includes the control device 20 of the relay in the above embodiment.

[0091] For the vehicle 30 according to the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, the on-off state of the relay is changed by increasing the enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static consumption.

[0092] Next, the computer-readable storage medium according to the embodiment of the present invention will be described.

[0093] A control program of a relay is stored on the computer-readable storage medium according to the embodiment of the present invention. When the control program of the relay is executed by a processor, the control method of the relay in the above embodiment is implemented.

[0094] Next, the computer program product according to the embodiment of the present invention will be described.

[0095] The computer program product according to the embodiment of the present invention includes a computer program. When the computer program is executed by a processor, the control method of the relay in the above embodiment is implemented.

[0096] For the computer program product according to the embodiment of the present invention, by simultaneously acquiring the enable signal and the drive signal of the relay, and jointly controlling the closing or opening of the relay according to the enable requirement and the magnitude of the drive signal, the on-off state of the relay is changed by increasing the enable signal, avoiding the relay from being in the operating state all the time, thereby reducing the probability of frequent relay failures, ensuring its stable operation and production safety, and at the same time reducing the static consumption.

[0097] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example.

[0098] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirits of the present invention. The scope of the present invention is defined by the claims and their equivalents.

Claims

1. A method for controlling a relay, characterized in that: include: Obtaining an enable signal and a drive signal of the relay; The on and off of the relay is controlled according to the driving signal and the enabling signal.

2. The control method of a relay according to claim 1, characterized in that: The driving signal includes a reverse driving current signal, and controlling the on / off of the relay according to the enable signal, the reverse driving current or the forward driving current includes: Determining the level state of the reverse drive current; When the reverse driving current is at a high level, determining a reverse driving signal according to the reverse driving current and the enable signal; The on / off of the relay is controlled according to the reverse driving signal.

3. The control method of a relay according to claim 2, characterized in that: Determining a reverse driving signal according to the reverse driving current and the enable signal includes: charging a timing circuit of the relay according to the reverse drive current; Monitoring the real-time voltage value of the timing loop; When the real-time voltage value is greater than a first preset voltage threshold, receiving and enhancing the reverse drive current to obtain an enhanced reverse drive current; Isolating the interference signal that enhances the reverse drive current; A reverse driving signal is determined according to the enhanced reverse driving current and the enable signal.

4. The control method of a relay according to claim 2, characterized in that: Controlling the on and off of the relay according to the reverse drive signal includes: Outputting a relay drive signal according to the reverse drive signal; receiving and amplifying the relay drive signal to obtain an amplified relay drive signal; The on and off of the relay is controlled according to the amplified relay drive signal.

5. The control method of a relay according to claim 1, characterized in that: The driving signal includes a forward driving current signal, and controlling the on and off of the relay according to the enable signal, the reverse driving current or the forward driving current includes: Determining the level state of the forward drive current; When the forward drive current is at a high level, determining a forward drive signal according to the forward drive current and the enable signal; The relay is controlled to be turned on and off according to the forward driving signal.

6. The control method of a relay according to claim 5, characterized in that: Determining a forward drive signal according to the forward drive current and the enable signal includes: Determining a forward drive voltage corresponding to the forward drive current; When the forward driving voltage is greater than a second preset voltage threshold, a forward overvoltage delayed driving signal is determined.

7. The control method of a relay according to claim 5, characterized in that: Determining a forward drive signal according to the forward drive current and the enable signal includes: When the forward driving current is greater than a first preset current threshold, an overcurrent delay driving signal is determined, the overcurrent delay driving signal is received and amplified, and the amplified overcurrent delay driving signal is output to a timing loop; When the forward driving current is greater than a first preset current threshold and less than a second preset current threshold, determining to immediately shut down the driving signal; When the forward driving current is greater than a second preset current threshold, a blocking driving signal is determined, wherein the first preset current threshold is less than the second preset current threshold.

8. The control method of a relay according to claim 5, characterized in that: Controlling the on and off of the relay according to the forward drive signal includes: Outputting a relay drive signal according to the forward overvoltage delay drive signal and / or the forward instant shutdown drive signal and / or the forward blocking drive signal; receiving and amplifying the relay drive signal to obtain an amplified relay drive signal; The on and off of the relay is controlled according to the amplified relay drive signal.

9. A control device for a relay, characterized in that: include: An acquisition module, used for acquiring an enabling signal and a driving signal of the relay; A control module is used to control the on and off of the relay according to the drive signal and the enable signal.

10. A vehicle, characterized in that: include: A control device for a relay as claimed in claim 9.

Citation Information

Patent Citations

  • Control module, battery management system, circuit detection method and circuit control method

    CN110962604A

  • Vehicle-mounted charger fault rapid protection system and method and vehicle

    CN116039383A

  • Driving control circuit and method, control device and storage medium

    CN117116707A

  • Electric vehicle high-voltage relay output reset holding circuit

    CN117219467A

  • Relay control circuit and control method

    CN118412246A