Relay state detection module and method, new energy vehicle charging control device and control box

Through the relay status detection module composed of a microcontroller unit and an analog-to-digital converter, the problem of the inability to detect the relay switch status when the electrical connection line is disconnected in the prior art is solved, and reliable detection of the relay status in new energy vehicles is realized.

CN117007952BActive Publication Date: 2025-08-05TYCO ELECTRONICS (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210472757.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2025-08-05
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

When the prior art detects whether the relay switch in the high-voltage power distribution unit of a new energy vehicle is sticky, the battery pack voltage or the charging pile voltage is required, and the detection cannot be performed when the electrical connection line is disconnected.

Method used

The relay state detection module composed of a microcontroller unit and an analog-to-digital converter is used to determine whether the relay switch status is abnormal, including the design of resistors and high-voltage isolation capacitors.

Benefits of technology

Without using the battery pack voltage and charging pile voltage, it is possible to accurately detect whether the relay switch status is abnormal, achieving reliable detection when the electrical connection line is disconnected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117007952B_ABST
    Figure CN117007952B_ABST
Patent Text Reader

Abstract

The present invention discloses a relay state detection module and method, a new energy vehicle charging control device, and a control box. The relay state detection module includes: a microcontroller unit, resistors R6 to R9, and high-voltage isolation capacitors C1 and C2. The microcontroller unit includes: output pins PWM1 and PWM2; analog-to-digital converters ADC1 and ADC2; a control device for controlling the output pins PWM1 and PWM2 to output PWM signals; a detection device for detecting the output signals of the analog-to-digital converters ADC1 and ADC2; and a judgment device for judging the switching states of relays K6 and K7 and whether the switching states of relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2. In the present invention, it is possible to detect whether the switching state of the relay is abnormal without using the battery pack voltage and the charging pile voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a relay state detection module, a relay detection method, a new energy vehicle charging control device including the relay state detection module, and a control box including the new energy vehicle charging control device. Background Art

[0002] In the prior art, when detecting whether a relay switch in a new energy vehicle's high-voltage power distribution unit (PDU) is sticking, the battery pack voltage or the charging pile voltage is used. This means that when detecting whether the relay switch is sticking, the electrical connection between the relay switch and the battery pack, or between the relay switch and the charging pile, must be connected.

[0003] However, in some special applications, when detecting whether the relay switch is stuck, the electrical connection line between the relay switch and the battery pack and the electrical connection line between the relay switch and the charging pile must be disconnected (for example, by disconnecting the internal switches of the battery pack and the charging pile to disconnect the electrical connection line between the relay switch and the battery pack and the electrical connection line between the relay switch and the charging pile). In this case, the existing method cannot be used to detect whether the relay switch is stuck. Summary of the Invention

[0004] The purpose of the present invention is to solve at least one aspect of the above-mentioned problems and defects in the prior art.

[0005] According to one aspect of the present invention, a relay state detection module is provided for detecting whether the switch states of relays K6 and K7 are abnormal, wherein one end of the switches of relays K6 and K7 is connected, and the other end of the switch of relay K7 is grounded. The relay state detection module includes: a microcontroller unit including output pins PWM1 and PWM2 adapted to output PWM signals and analog-to-digital converters ADC1 and ADC2; a resistor R6 having one end connected to one end of the switches of relays K6 and K7; a resistor R7 having one end connected to the output pin PWM1 and the other end connected to the input end of the analog-to-digital converter ADC1; a high-voltage isolation capacitor C1 having two ends connected to the other end of the resistor R6 and the other end of the resistor R7, respectively; a resistor R8 having one end connected to the other end of the switch of relay K6; a resistor R9 having one end connected to the output pin PWM2 and the other end connected to the input end of the analog-to-digital converter ADC2; and a high-voltage isolation capacitor C2 having two ends connected to the other end of the resistor R8 and the other end of the resistor R9, respectively. The microcontroller unit further includes: a control device for controlling the output pins PWM1 and PWM2 to output PWM signals; a detection device for detecting the output signals of the analog-to-digital converters ADC1 and ADC2; and a judgment device for judging the switching states of relays K6 and K7 and whether the switching states of relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0006] According to an exemplary embodiment of the present invention, when the switching states of relays K6 and K7 determined by the judgment device are inconsistent with the preset switching states of relays K6 and K7 preset by the micro control unit, the judgment device judges that the switching states of relays K6 and K7 are abnormal; when the switching states of relays K6 and K7 determined by the judgment device are consistent with the preset switching states of relays K6 and K7 preset by the micro control unit, the judgment device judges that the switching states of relays K6 and K7 are normal.

[0007] According to another exemplary embodiment of the present invention, when the detection device detects the output signal of the analog-to-digital converter ADC1, the control device controls the output pin PWM1 to output a PWM signal and the output pin PWM2 to be at a low level; when the detection device detects the output signal of the analog-to-digital converter ADC2, the control device controls the output pin PWM2 to output a PWM signal and the output pin PWM1 to be at a low level.

[0008] According to another exemplary embodiment of the present invention, when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the PWM signals, the judgment device judges that the switch states of the relays K6 and K7 are both disconnected; when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the first detection signal WFM1, the judgment device judges that the switch states of the relays K6 and K7 are closed and disconnected respectively; when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are respectively the second detection signal WFM2 and the PWM signal, the judgment device judges that the switch states of the relays K6 and K7 are respectively open and closed; when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the second detection signal WFM2, the judgment device judges that the switch states of the relays K6 and K7 are both closed, and the frequencies and duty cycles of the first detection signal WFM1, the second detection signal WFM2 and the PWM signal are the same but the amplitudes are different.

[0009] According to another exemplary embodiment of the present invention, the relay status detection module further includes: a communication device connected to the micro control unit, for transmitting information on whether the switching status of relays K6 and K7 determined by the micro control unit is abnormal to the electronic control unit of the new energy vehicle.

[0010] According to another exemplary embodiment of the present invention, the communication device includes: a digital isolator, which communicates with the serial port of the micro control unit; and an interface converter, which communicates with the serial port of the digital isolator and is suitable for communicating with the electronic control unit of the new energy vehicle through a CAN bus or a CANFD bus.

[0011] According to another exemplary embodiment of the present invention, the resistance values of the resistors R6 , R7 , R8 and R9 are the same, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are the same.

[0012] According to another exemplary embodiment of the present invention, the resistance values of the resistors R6 , R7 , R8 and R9 are equal to 5 MΩ, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are equal to 1 nF.

[0013] According to another aspect of the present invention, a new energy vehicle charging control device is provided, including: a relay K6, one end of whose switch is used to be connected to the negative electrode of the charging pile, and the other end is used to be connected to one end of the switch of the relay K7; a relay K7, one end of whose switch is connected to one end of the switch of the relay K6, and the other end is grounded; a high-voltage isolation capacitor C3, the positive electrode of which is used to be connected to the positive electrode of the charging pile, and the negative electrode of which is connected to the other end of the switch of the relay K7; and the aforementioned relay status detection module, used to detect whether the switch status of the relays K6 and K7 is abnormal, and when detecting whether the switch status of the relays K6 and K7 is abnormal, the internal switch of the battery pack and the internal switch of the charging pile are both disconnected.

[0014] According to an exemplary embodiment of the present invention, the new energy vehicle charging control device further includes: a voltage detection module, configured to detect the voltage between the positive electrode and the negative electrode of the charging pile.

[0015] According to another exemplary embodiment of the present invention, the voltage detection module includes: a plurality of voltage-dividing resistors connected in series between the positive and negative electrodes of the charging pile; and a microcontroller unit. The microcontroller unit includes: an analog-to-digital converter ADC3, whose input end is connected between two of the plurality of voltage-dividing resistors for collecting voltage; and a calculation device for calculating the voltage V between the positive and negative electrodes of the charging pile based on the voltage Vadc3 collected by the analog-to-digital converter ADC3.

[0016] According to another exemplary embodiment of the present invention, the multiple voltage-dividing resistors include five voltage-dividing resistors R1, R2, R3, R4 and R5 connected in series in sequence, one end of the voltage-dividing resistor R1 is connected to the positive electrode of the charging pile, and one end of the voltage-dividing resistor R5 is connected to the negative electrode of the charging pile; the resistance values of the voltage-dividing resistors R1, R2, R3 and R4 are equal and greater than the resistance value of the voltage-dividing resistor R5, the input end of the analog-to-digital converter ADC3 is connected to the other end of the voltage-dividing resistor R5, and is used to collect the voltage on the voltage-dividing resistor R5; the calculation device calculates the voltage V between the positive and negative electrodes of the charging pile according to the following formula:

[0017] V=HV+-HV-=Vadc3*(R1+R2+R3+R4+R5) / R5,

[0018] Among them, HV+ represents the positive voltage of the charging pile, and HV- represents the negative voltage of the charging pile.

[0019] According to another exemplary embodiment of the present invention, the microcontroller unit is also used to control the power on and off of the coils of the relays K6 and K7, so that the switching states of the relays K6 and K7 can be controlled by controlling the power on and off of the coils of the relays K6 and K7.

[0020] According to another exemplary embodiment of the present invention, the new energy vehicle charging control device also includes: two optocouplers, whose input ends are respectively connected to the two pins of the microcontroller; and two relay drivers, whose input ends are respectively connected to the output ends of the two optocouplers, and whose output ends are respectively connected to the coils of the relays K6 and K7. The microcontroller controls the power on and off of the coils of the relays K6 and K7 by controlling the conduction and shutdown of the two optocouplers.

[0021] According to another exemplary embodiment of the present invention, the resistance value of the voltage-dividing resistors R1 , R2 , R3 and R4 is equal to 1.7 MΩ, the resistance value of the voltage-dividing resistor R5 is equal to 34 KΩ, and the capacitance value of the high-voltage isolation capacitor C3 is equal to 100 uF.

[0022] According to another exemplary embodiment of the present invention, the relay status detection module includes a communication device connected to the micro control unit, and the communication device is used to transmit information on whether the switching status of relays K6 and K7 determined by the micro control unit is abnormal and the voltage information between the positive and negative poles of the charging pile detected by the voltage detection module to the electronic control unit of the new energy vehicle.

[0023] According to another aspect of the present invention, a control box is provided, comprising: a box body; and the aforementioned new energy vehicle charging control device installed in the box body.

[0024] According to an exemplary embodiment of the present invention, the new energy vehicle charging control device is integrated on a circuit board, and the circuit board is installed in the box body.

[0025] According to another aspect of the present invention, there is provided a relay state detection method, comprising the following steps:

[0026] Providing the aforementioned relay status detection module;

[0027] Controlling one of the output pins PWM1 and PWM2 to output a PWM signal and the other output pin to be at a low level, and detecting an output signal of one of the analog-to-digital converters ADC1 and ADC2 corresponding to the one output pin;

[0028] Controlling the other output pin of the output pins PWM1 and PWM2 to output a PWM signal, the one output pin being at a low level, and detecting an output signal of the other analog-to-digital converter corresponding to the other output pin of the analog-to-digital converters ADC1 and ADC2; and

[0029] The switching states of the relays K6 and K7 and whether the switching states of the relays K6 and K7 are abnormal are determined based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0030] According to an exemplary embodiment of the present invention, when the determined switching state of relays K6 and K7 is inconsistent with the preset switching state of relays K6 and K7, it is determined that the switching state of relays K6 and K7 is abnormal; when the determined switching state of relays K6 and K7 is consistent with the preset switching state of relays K6 and K7, it is determined that the switching state of relays K6 and K7 is normal.

[0031] In the aforementioned exemplary embodiments according to the present invention, it is possible to detect whether the switching state of the relay is abnormal without using the battery pack voltage and the charging pile voltage.

[0032] Other objects and advantages of the present invention will become apparent from the following description of the present invention with reference to the accompanying drawings, which will help to provide a comprehensive understanding of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are both disconnected;

[0034] Figure 2 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are closed and open respectively;

[0035] Figure 3 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are open and closed respectively;

[0036] Figure 4 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are both closed;

[0037] Figure 5 Schematic diagram showing three output signals of analog-to-digital converters ADC1 and ADC2 detected according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0038] The technical solution of the present invention will be further described in detail below through examples and in conjunction with the accompanying drawings. In the specification, the same or similar reference numerals indicate the same or similar components. The following description of the embodiments of the present invention with reference to the accompanying drawings is intended to explain the overall inventive concept of the present invention and should not be construed as limiting the present invention.

[0039] In addition, in the following detailed description, for ease of explanation, numerous specific details are set forth to provide a comprehensive understanding of the disclosed embodiments. However, it is apparent that one or more embodiments can be practiced without these specific details. In other cases, well-known structures and devices are shown in diagrammatic form to simplify the accompanying drawings.

[0040] According to an overall technical concept of the present invention, a relay state detection module is provided for detecting whether the switch states of relays K6 and K7 are abnormal, wherein one end of the switches of relays K6 and K7 is connected, and the other end of the switch of relay K7 is grounded. The relay state detection module includes: a microcontroller unit including output pins PWM1 and PWM2 suitable for outputting PWM signals and analog-to-digital converters ADC1 and ADC2; a resistor R6, one end of which is connected to one end of the switches of relays K6 and K7; a resistor R7, one end of which is connected to the output pin PWM1 and the other end of which is connected to the input end of the analog-to-digital converter ADC1; a high-voltage isolation capacitor C1, two ends of which are respectively connected to the other end of the resistor R6 and the other end of the resistor R7; a resistor R8, one end of which is connected to the other end of the switch of relay K6; a resistor R9, one end of which is connected to the output pin PWM2 and the other end of which is connected to the input end of the analog-to-digital converter ADC2; and a high-voltage isolation capacitor C2, two ends of which are respectively connected to the other end of the resistor R8 and the other end of the resistor R9. The microcontroller unit further includes: a control device for controlling the output pins PWM1 and PWM2 to output PWM signals; a detection device for detecting the output signals of the analog-to-digital converters ADC1 and ADC2; and a judgment device for judging the switching states of relays K6 and K7 and whether the switching states of relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0041] According to another overall technical concept of the present invention, a new energy vehicle charging control device is provided, including: a relay K6, one end of whose switch is used to be connected to the negative electrode of the charging pile, and the other end is used to be connected to one end of the switch of the relay K7; a relay K7, one end of whose switch is connected to one end of the switch of the relay K6, and the other end is grounded; a high-voltage isolation capacitor C3, the positive electrode of which is used to be connected to the positive electrode of the charging pile, and the negative electrode of which is connected to the other end of the switch of the relay K7; and the aforementioned relay status detection module, used to detect whether the switch status of the relays K6 and K7 is abnormal. When detecting whether the switch status of the relays K6 and K7 is abnormal, the internal switch of the battery pack and the internal switch of the charging pile are both disconnected.

[0042] According to another general technical concept of the present invention, a control box is provided, comprising: a box body; and the aforementioned new energy vehicle charging control device installed in the box body.

[0043] According to another overall technical concept of the present invention, a relay state detection method is provided, comprising the following steps: providing the aforementioned relay state detection module; controlling one of the output pins PWM1 and PWM2 to output a PWM signal and the other output pin to be at a low level, and detecting the output signal of one analog-to-digital converter corresponding to the one output pin in the analog-to-digital converters ADC1 and ADC2; controlling the other output pin of the output pins PWM1 and PWM2 to output a PWM signal and the one output pin to be at a low level, and detecting the output signal of the other analog-to-digital converter corresponding to the other output pin in the analog-to-digital converters ADC1 and ADC2; and judging the switching states of relays K6 and K7 and whether the switching states of relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0044] Figure 1 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are both disconnected.

[0045] like Figure 1 As shown, in the illustrated embodiment, the new energy vehicle charging control device includes a relay K6, a relay K7, a high-voltage isolation capacitor C3 and a relay status detection module.

[0046] like Figure 1 As shown, in the illustrated embodiment, one end of the switch of relay K6 is used to connect to one end of the switch of K7, and the other end is used to connect to the negative terminal of the battery pack. One end of the switch of relay K7 is connected to one end of the switch of relay K6, and the other end of the switch of relay K7 is grounded.

[0047] like Figure 1 As shown, in the illustrated embodiment, the positive electrode of the high-voltage isolation capacitor C3 is used to be connected to the positive electrode of the charging pile, and the negative electrode of the high-voltage isolation capacitor C3 is connected to the other end of the switch of the relay K7.

[0048] like Figure 1 As shown, in the illustrated embodiment, the relay status detection module is used to detect whether the switch status of relays K6 and K7 is abnormal. When detecting whether the switch status of relays K6 and K7 is abnormal, the internal switches of the battery pack and the internal switches of the charging pile are both disconnected. Therefore, in the illustrated embodiment, when detecting whether the switch status of relays K6 and K7 is abnormal, the voltage of the battery pack and the charging pile cannot be used.

[0049] like Figure 1 As shown, in the illustrated embodiment, the relay state detection module includes: a microcontroller unit 10, including output pins PWM1 and PWM2 suitable for outputting PWM signals and analog-to-digital converters ADC1 and ADC2; a resistor R6, one end of which is connected to one end of the switches of relays K6 and K7; a resistor R7, one end of which is connected to the output pin PWM1 and the other end of which is connected to the input end of the analog-to-digital converter ADC1; a high-voltage isolation capacitor C1, two ends of which are respectively connected to the other end of the resistor R6 and the other end of the resistor R7; a resistor R8, one end of which is connected to the other end of the switch of relay K6; a resistor R9, one end of which is connected to the output pin PWM2 and the other end of which is connected to the input end of the analog-to-digital converter ADC2; and a high-voltage isolation capacitor C2, two ends of which are respectively connected to the other end of the resistor R8 and the other end of the resistor R9.

[0050] like Figure 1 As shown, in the illustrated embodiment, the microcontroller unit 10 further includes: a control device (not shown in the figure, which may be a functional module combining software and hardware), for controlling the output pins PWM1 and PWM2 to output PWM signals; a detection device (not shown in the figure, which may be a functional module combining software and hardware), for detecting the output signals of the analog-to-digital converters ADC1 and ADC2; and a judgment device (not shown in the figure, which may be a functional module combining software and hardware), for judging the switching states of the relays K6 and K7 and whether the switching states of the relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0051] like Figure 1As shown, in the illustrated embodiment, when the switch states of the relays K6 and K7 determined by the determination device are inconsistent with the preset switch states of the relays K6 and K7 preset by the micro control unit 10, the determination device determines that the switch states of the relays K6 and K7 are abnormal. When the switch states of the relays K6 and K7 determined by the determination device are consistent with the preset switch states of the relays K6 and K7 preset by the micro control unit 10, the determination device determines that the switch states of the relays K6 and K7 are normal.

[0052] like Figure 1 As shown, in the illustrated embodiment, when the detection device detects the output signal of the analog-to-digital converter ADC1, the control device controls the output pin PWM1 to output a PWM signal and the output pin PWM2 to be at a low level; when the detection device detects the output signal of the analog-to-digital converter ADC2, the control device controls the output pin PWM2 to output a PWM signal and the output pin PWM1 to be at a low level.

[0053] like Figure 1 As shown, in the illustrated embodiment, when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the PWM signals, the judgment device judges that the switch states of the relays K6 and K7 are both disconnected.

[0054] Figure 2 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switching states of relays K6 and K7 are closed and open, respectively.

[0055] like Figure 2 As shown, in the illustrated embodiment, when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the first detection signal WFM1, the judgment device judges that the switch states of the relays K6 and K7 are closed and open respectively.

[0056] Figure 3 A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switching states of relays K6 and K7 are open and closed, respectively.

[0057] like Figure 3 As shown, in the illustrated embodiment, when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are the second detection signal WFM2 and the PWM signal respectively, the judgment device judges that the switch states of the relays K6 and K7 are open and closed respectively.

[0058] Figure 4A circuit schematic diagram of a new energy vehicle charging control device according to an exemplary embodiment of the present invention is shown, wherein the switch states of relays K6 and K7 are both closed.

[0059] like Figure 4 As shown, in the illustrated embodiment, when the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the second detection signal WFM2, the judgment device judges that the switch states of the relays K6 and K7 are both closed.

[0060] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, the resistance values of the resistors R6, R7, R8, and R9 are the same, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are the same. For example, in an exemplary embodiment of the present invention, the resistance values of the resistors R6, R7, R8, and R9 can be equal to 5MΩ, and the capacitance values of the high-voltage isolation capacitors C1 and C2 can be equal to 1nF. In this case, the frequencies and duty cycles of the first detection signal WFM1, the second detection signal WFM2, and the PWM signal are the same, but the amplitudes are different. Therefore, the first detection signal WFM1, the second detection signal WFM2, and the PWM signal can be distinguished by their amplitudes.

[0061] Figure 5 Schematic diagram showing three output signals of analog-to-digital converters ADC1 and ADC2 detected according to an exemplary embodiment of the present invention.

[0062] like Figure 5 As shown, in the illustrated embodiment, the resistance values of resistors R6, R7, R8, and R9 are equal to 5MΩ, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are equal to 1nF. The PWM signal is a square wave with a frequency of 100Hz, a duty cycle of 50%, and an amplitude of 5V. The first detection signal WFM1 is a square wave with an amplitude of approximately 4V. The frequency and duty cycle of the first detection signal WFM1 are consistent with the PWM signal. The second detection signal WFM2 is a square wave with an amplitude of approximately 3V. The frequency and duty cycle of the second detection signal WFM2 are consistent with the PWM signal.

[0063] like Figures 1 to 4 As shown, in the illustrated embodiment, the relay status detection module further includes: communication devices 11 and 12. The communication devices 11 and 12 are connected to the micro control unit 10 and are used to transmit information on whether the switch status of relays K6 and K7 is abnormal, as determined by the micro control unit 10, to the electronic control unit (ECU, not shown) of the new energy vehicle.

[0064] like Figures 1 to 4As shown, in the illustrated embodiment, the communication devices 11 and 12 include: a digital isolator 11, which communicates with the micro control unit 10 via a serial port; and an interface converter 12, which communicates with the digital isolator 11 via a serial port and is suitable for communicating with the electronic control unit of the new energy vehicle via a CAN bus or a CANFD bus.

[0065] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, a relay state detection method is also disclosed, comprising the following steps:

[0066] S11: providing the aforementioned relay status detection module;

[0067] S12: Control the output pin PWM1 to output a PWM signal and the output pin PWM2 to be at a low level, and detect the output signal of the analog-to-digital converter ADC1;

[0068] S13: Control the output pin PWM2 to output a PWM signal and the output pin PWM1 to be at a low level, and detect the output signal of the analog-to-digital converter ADC2; and

[0069] S14: judging the switch states of the relays K6 and K7 and whether the switch states of the relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0070] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, a relay state detection method is also disclosed, comprising the following steps:

[0071] S21: providing the aforementioned relay status detection module;

[0072] S22: Control the output pin PWM2 to output a PWM signal and the output pin PWM1 to be at a low level, and detect the output signal of the analog-to-digital converter ADC2;

[0073] S23: Control the output pin PWM1 to output a PWM signal and the output pin PWM2 to be at a low level, and detect the output signal of the analog-to-digital converter ADC1; and

[0074] S24: judging the switch states of the relays K6 and K7 and whether the switch states of the relays K6 and K7 are abnormal based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

[0075] like Figures 1 to 4 As shown, in the illustrated embodiment, the new energy vehicle charging control device further includes a voltage detection module, which is used to detect the voltage between the positive and negative electrodes of the charging pile.

[0076] like Figures 1 to 4 As shown, in the illustrated embodiment, the voltage detection module includes: a plurality of voltage-dividing resistors R1 to R5 and the microcontroller unit 10. The plurality of voltage-dividing resistors R1 to R5 are connected in series between the positive and negative poles of the charging pile. The microcontroller unit 10 also includes: an analog-to-digital converter ADC3, whose input end is connected between two of the plurality of voltage-dividing resistors R1 to R5 for collecting voltage; and a calculation device (not shown, which may be a functional module combining software and hardware) for calculating the voltage V between the positive and negative poles of the charging pile based on the voltage Vadc3 collected by the analog-to-digital converter ADC3.

[0077] like Figures 1 to 4 As shown, in the illustrated embodiment, the aforementioned communication devices 11 and 12 are also used to transmit the voltage information between the positive and negative poles of the charging pile detected by the voltage detection module to the electronic control unit (ECU, not shown) of the new energy vehicle.

[0078] like Figures 1 to 4 As shown in the illustrated embodiment, the multiple voltage-dividing resistors R1 to R5 include five voltage-dividing resistors R1, R2, R3, R4, and R5 connected in series. One end of the voltage-dividing resistor R1 is connected to the positive electrode of the charging pile, and one end of the voltage-dividing resistor R5 is connected to the negative electrode of the charging pile. The resistance values of the voltage-dividing resistors R1, R2, R3, and R4 are equal and greater than the resistance value of the voltage-dividing resistor R5. The input end of the analog-to-digital converter ADC3 is connected to the other end of the voltage-dividing resistor R5 for collecting the voltage across the voltage-dividing resistor R5.

[0079] like Figures 1 to 4 As shown, in the embodiment shown in the figure, the calculation device calculates the voltage V between the positive and negative electrodes of the charging pile according to the following formula (1):

[0080] V=HV+-HV-=Vadc3*(R1+R2+R3+R4+R5) / R5, (1)

[0081] Among them, HV+ represents the positive voltage of the charging pile, and HV- represents the negative voltage of the charging pile.

[0082] like Figures 1 to 4 As shown, in the illustrated embodiment, the micro control unit 10 is also used to control the power on and power off of the coils of the relays K6 and K7, so that the switching states of the relays K6 and K7 can be controlled by controlling the power on and power off of the coils of the relays K6 and K7.

[0083] like Figures 1 to 4As shown, in the illustrated embodiment, the new energy vehicle charging control device further includes: two optocouplers 61, 71 and two relay drivers 62, 72. The input ends of the two optocouplers 61, 71 are respectively connected to two pins of the microcontroller unit 10. The input ends of the two relay drivers 62, 72 are respectively connected to the output ends of the two optocouplers 61, 71, and the output ends of the two relay drivers 62, 72 are respectively connected to the coils of the relays K6 and K7. The microcontroller unit 10 controls the power on and off of the coils of the relays K6 and K7 by controlling the conduction and disconnection of the two optocouplers 61, 71.

[0084] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, the resistance value of the voltage-dividing resistors R1, R2, R3, and R4 can be equal to 1.7MΩ, the resistance value of the voltage-dividing resistor R5 can be equal to 34KΩ, and the capacitance value of the high-voltage isolation capacitor C3 can be equal to 100uF. However, the present invention is not limited to the illustrated embodiment. For example, the number and resistance values of the voltage-dividing resistors and the capacitance value of the high-voltage isolation capacitor C3 can be reasonably selected as needed.

[0085] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, a control box is also disclosed, including: a box body; and the aforementioned new energy vehicle charging control device, installed in the box body.

[0086] like Figures 1 to 4 As shown, in an exemplary embodiment of the present invention, the new energy vehicle charging control device is integrated on a circuit board, and the circuit board is installed in the box body.

[0087] Those skilled in the art will understand that the embodiments described above are exemplary and can be improved by those skilled in the art. The structures described in various embodiments can be freely combined without causing any conflicts in structure or principle. These changes should fall within the scope of protection of the present invention.

[0088] Although the present invention has been described in conjunction with the accompanying drawings, the embodiments disclosed in the drawings are intended to exemplify the preferred embodiments of the present invention and should not be construed as limiting the present invention.

[0089] Although some embodiments of the general inventive concept have been shown and described, it will be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the general inventive concept, the scope of which is defined in the claims and their equivalents.

[0090] It should be noted that the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. In addition, any element reference in the claims should not be construed as limiting the scope of the invention.

Claims

1. A relay status detection module for detecting whether the switch status of relays K6 and K7 is abnormal, wherein one end of the switch of relays K6 and K7 is connected, and the other end of the switch of relay K7 is grounded, characterized in that: The relay status detection module includes: A microcontroller unit (10) includes output pins PWM1 and PWM2 suitable for outputting PWM signals and analog-to-digital converters ADC1 and ADC2; a resistor R6, one end of which is connected to one end of the switches of relays K6 and K7; a resistor R7, one end of which is connected to the output pin PWM1, and the other end of which is connected to the input end of the analog-to-digital converter ADC1; a high-voltage isolation capacitor C1, two ends of which are connected to the other end of the resistor R6 and the other end of the resistor R7 respectively; Resistor R8, one end of which is connected to the other end of the switch of relay K6; a resistor R9, one end of which is connected to the output pin PWM2, and the other end of which is connected to the input end of the analog-to-digital converter ADC2; and The high-voltage isolation capacitor C2 has two ends connected to the other end of the resistor R8 and the other end of the resistor R9, respectively. The micro control unit (10) further comprises: A control device, used to control the output pins PWM1 and PWM2 to output PWM signals; a detection device for detecting output signals of the analog-to-digital converters ADC1 and ADC2; and The judging device is used to judge the switch states of the relays K6 and K7 and whether the switch states of the relays K6 and K7 are abnormal according to the detected output signals of the analog-to-digital converters ADC1 and ADC2.

2. The relay status detection module according to claim 1, characterized in that: When the switch states of the relays K6 and K7 determined by the determination device are inconsistent with the preset switch states of the relays K6 and K7 preset by the micro control unit (10), the determination device determines that the switch states of the relays K6 and K7 are abnormal; When the switch states of the relays K6 and K7 determined by the determination device are consistent with the preset switch states of the relays K6 and K7 preset by the micro control unit (10), the determination device determines that the switch states of the relays K6 and K7 are normal.

3. The relay status detection module according to claim 2, characterized in that: When the detection device detects the output signal of the analog-to-digital converter ADC1, the control device controls the output pin PWM1 to output a PWM signal and the output pin PWM2 to be at a low level; When the detection device detects the output signal of the analog-to-digital converter ADC2, the control device controls the output pin PWM2 to output a PWM signal and the output pin PWM1 to be at a low level.

4. The relay status detection module according to claim 3, characterized in that: When the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the PWM signals, the judgment device judges that the switch states of the relays K6 and K7 are both disconnected; When the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the first detection signal WFM1, the judgment device judges that the switch states of the relays K6 and K7 are closed and open respectively; When the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are the second detection signal WFM2 and the PWM signal respectively, the judgment device judges that the switch states of the relays K6 and K7 are open and closed respectively; When the output signals of the analog-to-digital converters ADC1 and ADC2 detected by the detection device are both the second detection signal WFM2, the judgment device judges that the switch states of the relays K6 and K7 are both closed. The first detection signal WFM1 , the second detection signal WFM2 , and the PWM signal have the same frequencies and duty ratios but different amplitudes.

5. The relay status detection module according to any one of claims 1 to 4, characterized in that: Also includes: The communication devices (11, 12) are connected to the micro control unit (10) and are used to transmit information on whether the switch states of the relays K6 and K7 are abnormal, as determined by the micro control unit (10), to the electronic control unit of the new energy vehicle.

6. The relay status detection module according to claim 5, characterized in that: The communication device (11, 12) comprises: A digital isolator (11) communicating with the microcontroller (10) via a serial port; and An interface converter (12) communicates with the digital isolator (11) via a serial port and is suitable for communicating with an electronic control unit of a new energy vehicle via a CAN bus or a CANFD bus.

7. The relay status detection module according to claim 1, characterized in that: The resistance values of the resistors R6 , R7 , R8 and R9 are the same, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are the same.

8. The relay status detection module according to claim 1, characterized in that: The resistance values of the resistors R6 , R7 , R8 and R9 are equal to 5 MΩ, and the capacitance values of the high-voltage isolation capacitors C1 and C2 are equal to 1 nF.

9. A new energy vehicle charging control device, characterized in that: include: Relay K6, one end of its switch is used to connect to the negative pole of the charging pile, and the other end is used to connect to one end of the switch of relay K7; Relay K7, one end of its switch is connected to one end of the switch of relay K6, and the other end is grounded; A high-voltage isolation capacitor C3, whose positive electrode is connected to the positive electrode of the charging pile, and whose negative electrode is connected to the other end of the switch of the relay K7; and The relay state detection module according to any one of claims 1 to 8, configured to detect whether the switch states of the relays K6 and K7 are abnormal. When detecting whether the switch states of the relays K6 and K7 are abnormal, the internal switches of the battery pack and the internal switches of the charging pile are both disconnected.

10. The new energy vehicle charging control device according to claim 9, characterized in that: Also includes: The voltage detection module is used to detect the voltage between the positive and negative poles of the charging pile.

11. The new energy vehicle charging control device according to claim 10, characterized in that: The voltage detection module includes: Multiple voltage divider resistors R1 to R5 are connected in series between the positive and negative electrodes of the charging pile; and The micro control unit (10) comprises: an analog-to-digital converter ADC3, whose input end is connected between two voltage-dividing resistors among the plurality of voltage-dividing resistors R1 to R5, for collecting voltage; and The calculation device is used to calculate the voltage V between the positive electrode and the negative electrode of the charging pile according to the voltage Vadc3 collected by the analog-to-digital converter ADC3.

12. The new energy vehicle charging control device according to claim 11, characterized in that: The multiple voltage-dividing resistors R1 to R5 include five voltage-dividing resistors R1, R2, R3, R4 and R5 connected in series, one end of the voltage-dividing resistor R1 is connected to the positive electrode of the charging pile, and one end of the voltage-dividing resistor R5 is connected to the negative electrode of the charging pile; The resistance values of the voltage-dividing resistors R1, R2, R3, and R4 are equal and greater than the resistance value of the voltage-dividing resistor R5, and the input end of the analog-to-digital converter ADC3 is connected to the other end of the voltage-dividing resistor R5 for collecting the voltage on the voltage-dividing resistor R5; The calculation device calculates the voltage V between the positive and negative electrodes of the charging pile according to the following formula: V=HV+-HV-=Vadc3*(R1+R2+R3+R4+R5) / R5, Among them, HV+ represents the positive voltage of the charging pile, and HV- represents the negative voltage of the charging pile.

13. The new energy vehicle charging control device according to any one of claims 9 to 12, characterized in that: The micro control unit (10) is also used to control the energization and de-energization of the coils of the relays K6 and K7, so that the switching states of the relays K6 and K7 can be controlled by controlling the energization and de-energization of the coils of the relays K6 and K7.

14. The new energy vehicle charging control device according to claim 13, characterized in that: Also includes: Two optical couplers (61, 71), whose input ends are respectively connected to two pins of the micro control unit (10); and Two relay drivers (62, 72), whose input ends are respectively connected to the output ends of the two optical couplers (61, 71), and whose output ends are respectively connected to the coils of the relays K6 and K7. The micro control unit (10) controls the power on and power off of the coils of the relays K6 and K7 by controlling the on and off of the two optical couplers (61, 71).

15. The new energy vehicle charging control device according to claim 12, characterized in that: The resistance value of the voltage-dividing resistors R1 , R2 , R3 and R4 is equal to 1.7 MΩ, the resistance value of the voltage-dividing resistor R5 is equal to 34 KΩ, and the capacitance value of the high-voltage isolation capacitor C3 is equal to 100 uF.

16. The new energy vehicle charging control device according to claim 11, characterized in that: The relay state detection module comprises a communication device (11, 12) connected to the micro control unit (10), and the communication device (11, 12) is used to transmit information on whether the switch states of relays K6 and K7 are abnormal, as determined by the micro control unit (10), and voltage information between the positive and negative poles of the charging pile, as detected by the voltage detection module, to an electronic control unit of the new energy vehicle.

17. A control box, characterized in that: include: Box body; and The new energy vehicle charging control device according to any one of claims 9 to 16 is installed in the box body.

18. The control box according to claim 17, characterized in that: The new energy vehicle charging control device is integrated on a circuit board, and the circuit board is installed in the box body.

19. A relay status detection method, characterized in that: The following steps are involved: Provide a relay state detection module according to any one of claims 1 to 8; Controlling one of the output pins PWM1 and PWM2 to output a PWM signal and the other output pin to be at a low level, and detecting an output signal of one of the analog-to-digital converters ADC1 and ADC2 corresponding to the one output pin; Controlling the other output pin of the output pins PWM1 and PWM2 to output a PWM signal, the one output pin being at a low level, and detecting an output signal of the other analog-to-digital converter corresponding to the other output pin of the analog-to-digital converters ADC1 and ADC2; and The switching states of the relays K6 and K7 and whether the switching states of the relays K6 and K7 are abnormal are determined based on the detected output signals of the analog-to-digital converters ADC1 and ADC2.

20. The relay status detection method according to claim 19, characterized in that: When the determined switch states of the relays K6 and K7 are inconsistent with the preset switch states of the relays K6 and K7, it is determined that the switch states of the relays K6 and K7 are abnormal; When the determined switching states of the relays K6 and K7 are consistent with the preset switching states of the relays K6 and K7, it is determined that the switching states of the relays K6 and K7 are normal.

Citation Information

Patent Citations

  • Relay state detection module, new energy vehicle charging control device and control box

    CN217739399U