Cable control box, mode two charging connection line and cable control box detection method
By designing a relay drive circuit in the cable control box, safely driving the relay using the drive control module and MOS tube, and determining the adhesion status through voltage detection, the problem of relay adhesion cannot be accurately judged, and safety and reliability are improved.
Patent Information
- Application Number
- CN202210673577.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2042-06-14
AI Technical Summary
The existing cable control box relays are prone to adhesion, and the adhesion status cannot be accurately judged, resulting in fire and electric shock risks.
A cable control box including a relay driving circuit is designed, which consists of a driving control module, a MOS tube, a diode and a resistor. The MOS tube is controlled to be turned on or off through the control module to realize safe driving of the relay, and the adhesion state of the relay is judged by detecting the voltage value.
It effectively solves the problem of relay adhesions that cannot be accurately judged, improves the safety and reliability of the relay drive circuit in the control box on the cable, and reduces the risk of fire and electric shock.
Smart Images

Figure CN115097295B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy vehicle charging, and in particular to a detection method of a cable control box, a mode two charging connection line and the cable control box. Background Art
[0002] The development of the energy industry is a strategic choice for all parts of the world to cope with the increasingly serious environmental and energy crises. New energy vehicles that achieve "zero emissions" use electricity instead of oil, which is an important means to resolve the current contradiction between resource scarcity and economic development. New energy vehicles, as a means of transportation that utilizes shortcut energy, reduces dependence on energy, and reduces carbon emissions, have good development prospects.
[0003] New energy vehicles can use the mode 2 charging cable to charge using the home power supply network, which provides great charging convenience for new energy vehicles. The normal operation of the mode 2 charging cable is driven by the relay in the cable control box, and the relay depends on its own drive circuit to drive, but the long-term use of the relay can easily cause the contact resistance of the relay contact to increase, which may cause the contact to heat up and melt, causing the relay to stick. When the relay needs to be cut off during the charging process or after charging is completed, the relay cannot be cut off, which leads to some charging accidents. Summary of the invention
[0004] The present invention provides a cable control box, a mode two charging connection line and a detection method for the cable control box, so as to solve the problem that it is impossible to accurately judge whether a relay is adhered, thereby posing the risk of fire or electric shock.
[0005] According to one aspect of the present invention, there is provided a cable control box, the cable control box comprising an L main circuit, an N main circuit, a PE main circuit, an L main circuit relay, an N main circuit relay and a control module, the L main circuit relay being arranged in the L main circuit, the N main circuit relay being arranged in the N main circuit, the cable control box further comprising a relay drive circuit; the relay drive circuit comprising a drive control module, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a first diode, a second diode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor;
[0006] The base and emitter of the first MOS tube are electrically connected to the drive control module respectively, the collector of the first MOS tube is electrically connected to the cathode of the first diode and the first end of the L main circuit relay respectively, the anode of the first diode and the second end of the L main circuit relay are electrically connected to the first end of the first resistor respectively, the second end of the first resistor is electrically connected to the collector of the second MOS tube, the emitter of the second MOS tube is grounded, the base of the second MOS tube is electrically connected to the first end of the second resistor and the first end of the third resistor respectively, the second end of the second resistor is electrically connected to the control module, and the second end of the third resistor is grounded;
[0007] The base and emitter of the third MOS tube are electrically connected to the drive control module respectively, the collector of the third MOS tube is electrically connected to the cathode of the second diode and the first end of the N main circuit relay respectively, the anode of the second diode and the second end of the N main circuit relay are electrically connected to the first end of the fourth resistor respectively, the second end of the fourth resistor is electrically connected to the collector of the fourth MOS tube, the emitter of the fourth MOS tube is grounded, the base of the fourth MOS tube is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor respectively, the second end of the fifth resistor is electrically connected to the control module, and the second end of the sixth resistor is grounded.
[0008] Optionally, the driving control module includes: a fifth MOS tube, a seventh resistor, an eighth resistor, a ninth resistor and a tenth resistor;
[0009] The first end of the seventh resistor is electrically connected to the emitter of the first MOS tube and the emitter of the third MOS tube respectively, the second end of the seventh resistor is electrically connected to the base of the first MOS tube, the base of the third MOS tube and the first end of the eighth resistor respectively, the second end of the eighth resistor is electrically connected to the collector of the fifth MOS tube, the emitter of the fifth MOS tube is grounded, the base of the fifth MOS tube is electrically connected to the first end of the ninth resistor and the first end of the tenth resistor respectively, the second end of the ninth resistor is electrically connected to the control module, and the second end of the tenth resistor is grounded.
[0010] Optionally, the driving control module includes: a sixth MOS tube, a seventh MOS tube, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor and an eighteenth resistor;
[0011] The first end of the eleventh resistor is electrically connected to the emitter of the first MOS tube respectively, the second end of the eleventh resistor is electrically connected to the base of the first MOS tube and the first end of the twelfth resistor respectively, the second end of the twelfth resistor is electrically connected to the collector of the sixth MOS tube, the emitter of the sixth MOS tube is grounded, the base of the sixth MOS tube is electrically connected to the first end of the thirteenth resistor and the first end of the fourteenth resistor respectively, the second end of the thirteenth resistor is electrically connected to the control module, and the second end of the fourteenth resistor is grounded;
[0012] The first end of the fifteenth resistor is electrically connected to the emitter of the third MOS tube respectively, the second end of the fifteenth resistor is electrically connected to the base of the third MOS tube and the first end of the sixteenth resistor respectively, the second end of the sixteenth resistor is electrically connected to the collector of the seventh MOS tube, the emitter of the seventh MOS tube is grounded, the base of the seventh MOS tube is electrically connected to the first end of the seventeenth resistor and the first end of the eighteenth resistor respectively, the second end of the seventeenth resistor is electrically connected to the control module, and the second end of the eighteenth resistor is grounded.
[0013] Optionally, the on-cable control box further includes: a power supply module and an indicator light module; the power supply module is electrically connected to the control module, the indicator light module and the relay drive circuit respectively, and the indicator light module is electrically connected to the control module.
[0014] According to another aspect of the present invention, a mode two charging cable is provided, wherein the mode two charging cable comprises a charging gun, a charging plug, and the cable control box according to any embodiment of the present invention.
[0015] According to another aspect of the present invention, a method for detecting a cable control box is provided, the method for detecting a cable control box comprising:
[0016] Controlling the L main circuit relay and the N main circuit relay to close and / or open, and obtaining the LN main circuit voltage value between the L main circuit and the N main circuit;
[0017] Relay fault information is generated according to the LN main circuit voltage value, so as to determine the relay adhesion state according to the relay fault information.
[0018] Optionally, controlling the L main circuit relay and the N main circuit relay to close and / or open to obtain the LN main circuit voltage value between the L main circuit and the N main circuit includes:
[0019] Controlling the L main circuit relay and the N main circuit relay to be disconnected, and obtaining a first LN main circuit voltage value between the L main circuit and the N main circuit;
[0020] Controlling the L main circuit relay to close and the N main circuit relay to open, and obtaining a second LN main circuit voltage value between the L main circuit and the N main circuit;
[0021] Controlling the L main circuit relay and the N main circuit relay to be closed, and obtaining a third LN main circuit voltage value between the L main circuit and the N main circuit;
[0022] The L main circuit relay is controlled to be disconnected and the N main circuit relay is controlled to be closed, and a fourth LN main circuit voltage value between the L main circuit and the N main circuit is obtained.
[0023] Optionally, generating relay fault information according to the LN main circuit voltage value includes:
[0024] If the first LN main circuit voltage value is greater than or equal to the first pressure threshold, the relay fault information is generated as both the L main circuit relay and the N main circuit relay are stuck; or,
[0025] If the voltage value of the first LN main circuit is less than the first pressure threshold, and the voltage value of the second LN main circuit is greater than or equal to the second pressure threshold, the relay fault information is generated as the N main circuit relay is stuck; or,
[0026] If the voltage value of the first LN main circuit is less than the first pressure threshold, and the voltage value of the second LN main circuit is less than the second pressure threshold, and the voltage value of the third LN main circuit is less than or equal to the third pressure threshold, the relay fault information is generated as relay failure or sensor failure; or,
[0027] If the first LN main circuit voltage value is less than the first pressure threshold, and the second LN main circuit voltage value is less than the second pressure threshold, and the third LN main circuit voltage value is greater than the third pressure threshold, and the fourth LN main circuit voltage value is greater than or equal to the fourth pressure threshold, then the relay fault information generated is that the L main circuit relay is stuck.
[0028] Optionally, the detection method of the on-cable control box further includes:
[0029] If the first LN main circuit voltage value is less than the first pressure threshold, and the second LN main circuit voltage value is less than the second pressure threshold, and the third LN main circuit voltage value is greater than the third pressure threshold, and the fourth LN main circuit voltage value is less than the fourth pressure threshold, then both the L main circuit relay and the N main circuit relay are controlled to be disconnected.
[0030] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the method for detecting a cable control box as described in any embodiment of the present invention when executed by a processor.
[0031] The technical solution of the embodiment of the present invention is a relay drive circuit included in the cable control box; the relay drive circuit includes a drive control module, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a first diode, a second diode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor; the base and the emitter of the first MOS tube are electrically connected to the drive control module respectively, the collector of the first MOS tube is electrically connected to the cathode of the first diode and the first end of the L main circuit relay respectively, the anode of the first diode and the second end of the L main circuit relay are electrically connected to the first end of the first resistor respectively, the second end of the first resistor is electrically connected to the collector of the second MOS tube, the emitter of the second MOS tube is grounded, and the second The base of the MOS tube is electrically connected to the first end of the second resistor and the first end of the third resistor respectively, the second end of the second resistor is electrically connected to the control module, and the second end of the third resistor is grounded; the base and emitter of the third MOS tube are electrically connected to the drive control module respectively, the collector of the third MOS tube is electrically connected to the negative electrode of the second diode and the first end of the N main circuit relay respectively, the positive electrode of the second diode and the second end of the N main circuit relay are electrically connected to the first end of the fourth resistor respectively, the second end of the fourth resistor is electrically connected to the collector of the fourth MOS tube, the emitter of the fourth MOS tube is grounded, the base of the fourth MOS tube is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor respectively, the second end of the fifth resistor is electrically connected to the control module, and the second end of the sixth resistor is grounded. The problem of being unable to accurately judge whether the relay is adhered, and thus having the risk of fire and electric shock, is solved, and the beneficial effect of the safety and reliability of the relay drive circuit in the control box on the lifting cable is achieved.
[0032] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 It is a structural schematic diagram of an existing relay drive circuit;
[0035] Figure 2 It is the working timing diagram of the existing relay drive circuit;
[0036] Figure 3 This is a schematic diagram of the structure of a cable control box provided according to Embodiment 1 of the present invention;
[0037] Figure 4 is a circuit structure diagram of a relay drive circuit provided according to Embodiment 1 of the present invention;
[0038] Figure 5 is a circuit structure diagram of another relay driving circuit provided according to the first embodiment of the present invention;
[0039] Figure 6 is a working timing diagram of the L main circuit relay in the relay driving circuit provided according to the first embodiment of the present invention;
[0040] Figure 7 is a circuit structure diagram of another relay driving circuit provided according to the first embodiment of the present invention;
[0041] Figure 8 is a schematic structural diagram of a mode 2 charging connection line provided according to a second embodiment of the present invention;
[0042] Fig. 9 It is a flow chart of a method for detecting a cable control box provided according to Embodiment 3 of the present invention;
[0043] Fig.10 It is a flowchart of a method for detecting a cable control box provided according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0046] Figure 1 This is a schematic diagram of the structure of the existing relay drive circuit, see Figure 1 Most of the existing relay drive circuits are designed to be controlled by applying a constant voltage VCC and an NPN transistor Q. When the control MCU_K gives the NPN transistor Q a high-level voltage signal, the NPN transistor Q is turned on. Because VCC is a constant voltage, current flows into the excitation coil of the relay, which then drives the relay to work. However, when the signal failure of MCU_K causes its output to be a high-level voltage signal, the relay will be in a state of being turned on all the time and cannot be cut off. Moreover, when the NPN transistor Q breaks down and short-circuits, the relay cannot be cut off. In addition, when the new energy vehicle needs to cut off the relay in the event of overcurrent, leakage or other dangerous situations during charging, there is a risk of fire or electric shock if the above situation occurs.
[0047] On the other hand, based on the existing relay drive circuit, combined with Figure 1 and Figure 2 When detecting the sticking of the relays in use, the voltage can only be detected when both the L main circuit relay and the N main circuit relay are stuck, that is, the voltage value of the LN main circuit is greater than the pressure threshold, indicating that both relays are stuck, but it is impossible to detect when only one relay in the LN main circuit is stuck.
[0048] Based on the above problems, the present invention provides a cable control box, a mode two charging connection line and a detection method for the cable control box to solve the problems.
[0049] Embodiment 1
[0050] Figure 3 A schematic diagram of the structure of a cable control box is provided for the first embodiment of the present invention. Figure 4A circuit structure diagram of a relay drive circuit is provided for the first embodiment of the present invention. This embodiment can be applied to provide safer drive for the relay in the cable control box, which can be configured in the mode two charging connection line.
[0051] like Figure 3 and 4 As shown, the cable control box 10 includes: an L main circuit, an N main circuit, a PE main circuit, an L main circuit relay 11, an N main circuit relay 12 and a control module 13, wherein the L main circuit relay 11 is arranged in the L main circuit, and the N main circuit relay 12 is arranged in the N main circuit; the cable control box also includes a relay drive circuit 14; the relay drive circuit 14 includes a drive control module 141, a first MOS tube Q1, a second MOS tube Q2, a third MOS tube Q3, a fourth MOS tube Q4, a first diode D1, a second diode D2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a sixth resistor R6;
[0052] The base and emitter of the first MOS transistor Q1 are electrically connected to the drive control module 141, respectively; the collector of the first MOS transistor Q1 is electrically connected to the cathode of the first diode D1 and the first end of the L main circuit relay 11, respectively; the anode of the first diode D1 and the second end of the L main circuit relay 11 are electrically connected to the first end of the first resistor R1, respectively; the second end of the first resistor R1 is electrically connected to the collector of the second MOS transistor Q2, the emitter of the second MOS transistor Q2 is grounded, the base of the second MOS transistor Q2 is electrically connected to the first end of the second resistor R2 and the first end of the third resistor R3, respectively; the second end of the second resistor R2 is electrically connected to the control module 13, and the second end of the third resistor R3 is grounded;
[0053] The base and emitter of the third MOS tube Q3 are electrically connected to the drive control module 141, respectively; the collector of the third MOS tube Q3 is electrically connected to the cathode of the second diode D2 and the first end of the N main circuit relay 12, respectively; the anode of the second diode D2 and the second end of the N main circuit relay 12 are electrically connected to the first end of the fourth resistor R4, respectively; the second end of the fourth resistor R4 is electrically connected to the collector of the fourth MOS tube Q4, the emitter of the fourth MOS tube Q4 is grounded, the base of the fourth MOS tube Q4 is electrically connected to the first end of the fifth resistor R5 and the first end of the sixth resistor R6, respectively; the second end of the fifth resistor R5 is electrically connected to the control module 13, and the second end of the sixth resistor R6 is grounded.
[0054] Among them, a relay is arranged on each of the L main circuit and the N main circuit, that is, an L main circuit relay 11 is arranged on the L main circuit, and an N main circuit relay 12 is arranged on the N main circuit, and the PE main circuit is a grounding wire.
[0055] The L main circuit relay 11 and the N main circuit relay 12 may be completely the same in terms of model, etc., or may be different. The specific selection and setting may be based on actual hardware structure requirements, and this embodiment does not impose any limitation on this.
[0056] In this embodiment, the control module 13 is electrically connected to the relay drive circuit 14 , and the control module 13 controls the on or off of the relay drive circuit 14 , thereby improving the safety of the relay circuit.
[0057] Furthermore, the control module 13 provides a high level signal to conduct between VCC and GND of the drive control module 141, thereby providing a high level voltage for the first MOS transistor Q1 and the third MOS transistor Q3 to control the first MOS transistor Q1 and the third MOS transistor Q3 to conduct.
[0058] On the basis of the above, the control module 13 again provides the high-level signal MCU_K1 to the second MOS tube Q2, so that the second MOS tube Q2 is turned on. At this time, the VCC to GND between the second MOS tube Q2 and the first MOS tube Q1 is turned on, and the current flows through the excitation coil RL1 of the L main loop relay 11, thereby driving the L main loop relay 11; when the L main loop relay 11 needs to be cut off, it can be achieved by simply stopping the control module 13 from providing the high-level signal to the second MOS tube Q2.
[0059] Similarly, the control module 13 again provides the high-level signal MCU_K2 to the fourth MOS tube Q4, so that the fourth MOS tube Q4 is turned on. At this time, the VCC to GND between the fourth MOS tube Q4 and the third MOS tube Q3 is turned on, and the current flows through the excitation coil RL2 of the N main loop relay 12, thereby driving the N main loop relay 12; when the N main loop relay 12 needs to be cut off, it can be achieved by simply stopping the control module 13 from providing the high-level signal to the fourth MOS tube Q4.
[0060] It can be understood that the control module 13 provides high-level signals to the drive control module 141, the second MOS tube Q2 and the fourth MOS tube Q4 respectively, so that when the relay drive circuit 14 fails such as leakage or heat generation, even if one of the relay drives fails, the other relay drive can still work normally to cut off the relay drive circuit 14, which greatly improves the safety of the relay drive circuit 14.
[0061] It should be noted that the first MOS tube Q1 and the third MOS tube Q3 may be PNP MOS tubes, and the second MOS tube Q2 and the fourth MOS tube Q4 may be NPN MOS tubes, and the specific models are not limited in this embodiment. The models or types of the first diode D1 and the second diode D2 are not limited in this embodiment, and the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the sixth resistor R6 can be selected and set according to actual hardware design requirements, and this embodiment does not impose any restrictions on this.
[0062] Figure 5 is a circuit structure diagram of another relay driving circuit 14 provided according to the first embodiment of the present invention, Figure 6 is a working timing diagram of the L main circuit relay 11 in the relay drive circuit 14 provided in the first embodiment of the present invention. Based on the above embodiment, see Figure 5 and Figure 6 , the driving control module 141 includes: a fifth MOS tube Q5, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10;
[0063] The first end of the seventh resistor R7 is electrically connected to the emitter of the first MOS transistor Q1 and the emitter of the third MOS transistor Q3 respectively, the second end of the seventh resistor R7 is electrically connected to the base of the first MOS transistor Q1, the base of the third MOS transistor Q3 and the first end of the eighth resistor R8 respectively, the second end of the eighth resistor R8 is electrically connected to the collector of the fifth MOS transistor Q5, the emitter of the fifth MOS transistor Q5 is grounded, the base of the fifth MOS transistor Q5 is electrically connected to the first end of the ninth resistor R9 and the first end of the tenth resistor R10 respectively, the second end of the ninth resistor R9 is electrically connected to the control module 13, and the second end of the tenth resistor R10 is grounded.
[0064] Specifically, the control module 13 provides a high-level signal MCU_KN to the fifth MOS tube Q5, so that the fifth MOS tube Q5 is turned on. At this time, VCC to GND of the driving control module 141 are turned on, thereby providing a high-level voltage to the first MOS tube Q1 and the third MOS tube Q3, thereby controlling the first MOS tube Q1 and the third MOS tube Q3 to be turned on.
[0065] It should be noted that the fifth MOS transistor Q5 can be an NPN MOS transistor, and the specific model is not limited in this embodiment. The seventh resistor R7, the eighth resistor R8, the ninth resistor R9 and the tenth resistor R10 can be selected and set according to actual hardware design requirements, and this embodiment does not impose any limitation on this.
[0066] Figure 7FIG. 1 is a circuit diagram of another relay drive circuit 14 provided according to the first embodiment of the present invention. Based on the above embodiment, in order to reduce the heat generated by the relay drive control module 141, see Figure 7 , the driving control module 141 includes: a sixth MOS tube Q6, a seventh MOS tube Q7, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17 and an eighteenth resistor R18;
[0067] The first end of the eleventh resistor R11 is electrically connected to the emitter of the first MOS transistor Q1, the second end of the eleventh resistor R11 is electrically connected to the base of the first MOS transistor Q1 and the first end of the twelfth resistor R12, the second end of the twelfth resistor R12 is electrically connected to the collector of the sixth MOS transistor Q6, the emitter of the sixth MOS transistor Q6 is grounded, the base of the sixth MOS transistor Q6 is electrically connected to the first end of the thirteenth resistor R13 and the first end of the fourteenth resistor R14, the second end of the thirteenth resistor R13 is electrically connected to the control module 13, and the second end of the fourteenth resistor R14 is grounded;
[0068] The first end of the fifteenth resistor R15 is electrically connected to the emitter of the third MOS tube Q3, respectively; the second end of the fifteenth resistor R15 is electrically connected to the base of the third MOS tube Q3 and the first end of the sixteenth resistor R16, respectively; the second end of the sixteenth resistor R16 is electrically connected to the collector of the seventh MOS tube Q7, the emitter of the seventh MOS tube Q7 is grounded, the base of the seventh MOS tube Q7 is electrically connected to the first end of the seventeenth resistor R17 and the first end of the eighteenth resistor R18, respectively; the second end of the seventeenth resistor R17 is electrically connected to the control module 13, and the second end of the eighteenth resistor R18 is grounded.
[0069] In one embodiment, the L main circuit relay 11 and the N main circuit relay 12 can be controlled separately, and the control module 13 sends high-level signals to control the driving voltages of the two relay driving circuits 14 of the L main circuit relay 11 and the N main circuit relay 12 respectively, so as to achieve a dual system design and reduce the heat generated by the relay driving control module 141.
[0070] Specifically, the control module 13 provides the high-level signal MCU_KE to the sixth MOS tube Q6, so that the sixth MOS tube Q6 is turned on. At this time, the VCC and GND of the sixth MOS tube Q6 are turned on, and then a high-level voltage is provided for the first MOS tube Q1, so as to control the first MOS tube Q1 to be turned on; similarly, the control module 13 provides the high-level signal MCU_KN to the seventh MOS tube Q7, so that the seventh MOS tube Q7 is turned on. At this time, the VCC and GND of the seventh MOS tube Q7 are turned on, and then a high-level voltage is provided for the third MOS tube Q3, so as to control the third MOS tube Q3 to be turned on.
[0071] It should be noted that the sixth MOS transistor Q6 and the seventh MOS transistor Q7 can be NPN MOS transistors, and the specific models are not limited in this embodiment. The eleventh resistor R11, the twelfth resistor R12, the thirteenth resistor R13, the fourteenth resistor R14, the fifteenth resistor R15, the sixteenth resistor R16, the seventeenth resistor R17 and the eighteenth resistor R18 can be selected and set according to actual hardware design requirements, and this embodiment does not impose any restrictions on this.
[0072] Continue to see Figure 1 On the basis of the above embodiment, the cable control box further includes: a power module 16 and an indicator light module 15; the power module 16 is electrically connected to the control module 13, the indicator light module 15 and the relay drive circuit 14 respectively, and the indicator light module 15 is electrically connected to the control module 13.
[0073] Among them, the power module 16 is used to provide power for the relay drive circuit 14, the indicator light module 15 and the control module 13. The power module 16 can be implemented by existing power supply technology. This embodiment does not impose any restrictions on the implementation form of the power module 16.
[0074] The indicator light module 15 is used to display the normal or fault status of the relay drive circuit 14. The indicator light module 15 can be implemented by an LED lamp or other types of lamps. Specifically, it can be displayed in the form of different colors or flashing frequencies displayed by the indicator light module 15. This embodiment does not impose any restrictions on this.
[0075] Based on the above embodiments, continue to refer to Figure 1 The cable control box also includes a voltage sensor between the L main circuit and the N main circuit. The voltage sensor can collect the voltage value between the L main circuit and the N main circuit, and the collected voltage value between the L main circuit and the N main circuit is fed back to the control module 13. The control module 13 processes and analyzes the received voltage data to realize adhesion detection and inaction detection of the relay.
[0076] Embodiment 2
[0077] Figure 8 is a schematic diagram of the structure of a mode 2 charging connection line provided according to the second embodiment of the present invention, such as Figure 8 As shown, the mode two charging cable includes a charging gun, a charging plug and a cable control box as described in any embodiment of the present invention. The mode two charging cable provided by the embodiment of the present invention has the corresponding functional modules and beneficial effects of the cable control box.
[0078] The mode 2 charging connection line of the embodiment of the present invention is provided with a relay drive circuit included in the cable control box; the relay drive circuit includes a drive control module, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a first diode, a second diode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor; the base and the emitter of the first MOS tube are electrically connected to the drive control module respectively, the collector of the first MOS tube is electrically connected to the negative electrode of the first diode and the first end of the L main circuit relay respectively, the positive electrode of the first diode and the second end of the L main circuit relay are electrically connected to the first end of the first resistor respectively, the second end of the first resistor is electrically connected to the collector of the second MOS tube, the emitter of the second MOS tube is grounded, and the base of the second MOS tube is electrically connected to the cathode of the first diode and the first end of the L main circuit relay respectively, the anode of the first diode and the second end of the L main circuit relay are electrically connected to the first end of the first resistor respectively, the second end of the first resistor is electrically connected to the collector of the second MOS tube, the emitter of the second MOS tube is grounded, and the base of the second MOS tube is electrically connected to the cathode of the first diode and the first end of the L main circuit relay respectively. The first end of the second resistor and the first end of the third resistor are electrically connected respectively, the second end of the second resistor is electrically connected to the control module, and the second end of the third resistor is grounded; the base and emitter of the third MOS tube are electrically connected to the drive control module respectively, the collector of the third MOS tube is electrically connected to the negative electrode of the second diode and the first end of the N main circuit relay respectively, the positive electrode of the second diode and the second end of the N main circuit relay are electrically connected to the first end of the fourth resistor respectively, the second end of the fourth resistor is electrically connected to the collector of the fourth MOS tube, the emitter of the fourth MOS tube is grounded, the base of the fourth MOS tube is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor respectively, the second end of the fifth resistor is electrically connected to the control module, and the second end of the sixth resistor is grounded. The problem of being unable to accurately judge whether the relay is adhered, and thus the risk of fire and electric shock, is solved, and the safety and reliability of the relay drive circuit in the cable control box are improved.
[0079] Embodiment 3
[0080] Fig. 9 A flowchart of a detection method for a cable control box is provided for the third embodiment of the present invention. This embodiment is applicable to the case where a relay in a cable control box is self-diagnosed and controlled. Fig. 9 As shown, the detection method of the cable control box includes:
[0081] S910, controlling the L main circuit relay and the N main circuit relay to close and / or open, and obtaining the LN main circuit voltage value between the L main circuit and the N main circuit.
[0082] Specifically, the L main circuit relay and the N main circuit relay are controlled to be disconnected to obtain a first LN main circuit voltage value between the L main circuit and the N main circuit; the L main circuit relay is controlled to be closed and the N main circuit relay is controlled to be disconnected to obtain a second LN main circuit voltage value between the L main circuit and the N main circuit; the L main circuit relay and the N main circuit relay are controlled to be closed to obtain a third LN main circuit voltage value between the L main circuit and the N main circuit; the L main circuit relay is controlled to be disconnected and the N main circuit relay is controlled to be closed to obtain a fourth LN main circuit voltage value between the L main circuit and the N main circuit.
[0083] It can be understood that the first LN main circuit voltage value, the second LN main circuit voltage value, the third LN main circuit voltage value and the fourth LN main circuit voltage value can be collected by a voltage sensor provided between the L main circuit and the N main circuit.
[0084] S920. Generate relay fault information according to the LN main circuit voltage value, so as to determine a relay adhesion state according to the relay fault information.
[0085] The relay fault information may be one of information of whether the relay is stuck, whether the relay is actuated, and whether the voltage sensor has a fault light.
[0086] Specifically, the L main circuit relay and the N main circuit relay are controlled to be disconnected, and the first LN main circuit voltage value between the L main circuit and the N main circuit is obtained. If the first LN main circuit voltage value is less than the first pressure threshold, then the L main circuit relay and the N main circuit relay are not stuck, and the next step of data collection and detection is performed; if the first LN main circuit voltage value is greater than or equal to the first pressure threshold, relay fault information is generated that the L main circuit relay and the N main circuit relay are stuck.
[0087] When neither the L main circuit relay nor the N main circuit relay is stuck, the L main circuit relay is controlled to be closed and the N main circuit relay is disconnected, and the second LN main circuit voltage value between the L main circuit and the N main circuit is obtained. If the second LN main circuit voltage value is less than the second pressure threshold, the N main circuit relay is not stuck, and the next step of collection and detection is performed; if the second LN main circuit voltage value is greater than or equal to the second pressure threshold, relay fault information is generated that the N main circuit relay is stuck.
[0088] When the N main circuit relay is not stuck, the L main circuit relay and the N main circuit relay are controlled to be closed, and the third LN main circuit voltage value between the L main circuit and the N main circuit is obtained. If the third LN main circuit voltage value is greater than the third pressure threshold, the L main circuit relay and the N main circuit relay can operate normally, and the next step of collection and detection is carried out; if the third LN main circuit voltage value is less than or equal to the third pressure threshold, the relay fault information is generated as the relay does not operate or the sensor fails.
[0089] When the L main circuit relay and the N main circuit relay can operate normally, the L main circuit relay is controlled to be disconnected and the N main circuit relay is controlled to be closed, and the fourth LN main circuit voltage value between the L main circuit and the N main circuit is obtained. If the fourth LN main circuit voltage value is less than the fourth pressure threshold, the N main circuit relay is not stuck, and the N main circuit relay is disconnected at this time; if the fourth LN main circuit voltage value is greater than or equal to the fourth pressure threshold, relay fault information is generated that the L main circuit relay is stuck.
[0090] Further, on the basis of the above, if both the L main circuit relay and the N main circuit relay are stuck, or the N main circuit relay is stuck, or the relay does not work or the sensor fails, or the L main circuit relay is stuck, the indicator light module can be used to display the corresponding fault light, and the fault can be handled in time, for example, cutting off the power supply (such as unplugging the plug, etc.), thereby resolving the fault.
[0091] The technical solution provided by the embodiment of the present invention obtains the LN main circuit voltage value between the L main circuit and the N main circuit by controlling the L main circuit relay and the N main circuit relay to close and / or open; generates relay fault information according to the LN main circuit voltage value, and determines the relay adhesion state according to the relay fault information. The embodiment of the present invention can inform the user in time when the relay fails, reduce the risk, and greatly improve the reliability of the relay drive circuit. At the same time, the user can be informed as soon as possible when a fault occurs, and its sampling accuracy can be improved.
[0092] Embodiment 4
[0093] Fig.10 This is a flow chart of a detection method for a cable control box provided in Embodiment 4 of the present invention. Based on the above embodiments, this embodiment provides an optional implementation method. Fig.10 As shown, the detection method of the cable control box includes:
[0094] S1010, control the L main circuit relay and the N main circuit relay to be disconnected, and obtain a first LN main circuit voltage value between the L main circuit and the N main circuit.
[0095] S1011. Determine whether the voltage value of the first LN main circuit is less than a first pressure threshold. If so, execute step S1012; if not, execute step S1013.
[0096] S1012, control the L main circuit relay to close and the N main circuit relay to open, obtain the second LN main circuit voltage value between the L main circuit and the N main circuit, and execute step S1014.
[0097] S1013. Generate relay fault information that both the L main circuit relay and the N main circuit relay are stuck, and execute step S1023.
[0098] S1014. Determine whether the second LN main circuit voltage value is less than a second pressure threshold. If so, execute step S1015; if not, execute step S1016.
[0099] S1015, control the L main circuit relay and the N main circuit relay to be closed, obtain the third LN main circuit voltage value between the L main circuit and the N main circuit, and execute step S1017.
[0100] S1016. Generate relay fault information that the N main circuit relay is stuck, and execute step S1023.
[0101] S1017, determining whether the third LN main circuit voltage value is greater than a third pressure threshold, if so, executing step S1018, if not, executing step S1019.
[0102] S1018, control the L main circuit relay to be disconnected and the N main circuit relay to be closed, obtain a fourth LN main circuit voltage value between the L main circuit and the N main circuit, and execute step S1020.
[0103] S1019, generate relay fault information as relay failure or sensor failure, and execute step S1023.
[0104] S1020, determining whether the fourth LN main circuit voltage value is less than a fourth pressure threshold, if so, executing step S1021, if not, executing step S1022.
[0105] S1021, control the L main circuit relay and the N main circuit relay to be disconnected.
[0106] S1022. Generate relay fault information that the L main circuit relay is stuck, and execute step S1023.
[0107] S1023. Record relay fault information and prompt the user through the indicator light module.
[0108] It should be noted that if there is no fault in the above detection, charging starts, and the L main circuit relay and the N main circuit relay are both closed. At this time, the constant voltage drive of the relay is changed to PWM drive. Optionally, PWM is 50%, and PWM can also be other values. This embodiment does not impose any restrictions on this. It can reduce the heat generated by the relay during operation, reduce the temperature rise of the relay itself and surrounding electronic components, and increase the service life of the components.
[0109] Embodiment 5
[0110] In some embodiments, the detection method of the cable control box can be implemented as a computer program, which is tangibly included in a computer-readable storage medium. Various embodiments of the systems and techniques described above in this article can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor, which can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0112] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0113] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0114] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0115] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0116] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A cable control box, comprising an L main circuit, an N main circuit, a PE main circuit, an L main circuit relay, an N main circuit relay and a control module, wherein the L main circuit relay is arranged in the L main circuit, and the N main circuit relay is arranged in the N main circuit, characterized in that: The cable control box also includes a relay drive circuit; the relay drive circuit includes a drive control module, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a first diode, a second diode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor; The base and emitter of the first MOS tube are electrically connected to the drive control module respectively, the collector of the first MOS tube is electrically connected to the cathode of the first diode and the first end of the L main circuit relay respectively, the anode of the first diode and the second end of the L main circuit relay are electrically connected to the first end of the first resistor respectively, the second end of the first resistor is electrically connected to the collector of the second MOS tube, the emitter of the second MOS tube is grounded, the base of the second MOS tube is electrically connected to the first end of the second resistor and the first end of the third resistor respectively, the second end of the second resistor is electrically connected to the control module, and the second end of the third resistor is grounded; The base and emitter of the third MOS tube are electrically connected to the drive control module respectively, the collector of the third MOS tube is electrically connected to the cathode of the second diode and the first end of the N main circuit relay respectively, the anode of the second diode and the second end of the N main circuit relay are electrically connected to the first end of the fourth resistor respectively, the second end of the fourth resistor is electrically connected to the collector of the fourth MOS tube, the emitter of the fourth MOS tube is grounded, the base of the fourth MOS tube is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor respectively, the second end of the fifth resistor is electrically connected to the control module, and the second end of the sixth resistor is grounded.
2. The cable control box according to claim 1, characterized in that: The driving control module includes: a fifth MOS tube, a seventh resistor, an eighth resistor, a ninth resistor and a tenth resistor; The first end of the seventh resistor is electrically connected to the emitter of the first MOS tube and the emitter of the third MOS tube respectively, the second end of the seventh resistor is electrically connected to the base of the first MOS tube, the base of the third MOS tube and the first end of the eighth resistor respectively, the second end of the eighth resistor is electrically connected to the collector of the fifth MOS tube, the emitter of the fifth MOS tube is grounded, the base of the fifth MOS tube is electrically connected to the first end of the ninth resistor and the first end of the tenth resistor respectively, the second end of the ninth resistor is electrically connected to the control module, and the second end of the tenth resistor is grounded.
3. The cable control box according to claim 1, characterized in that: The driving control module includes: a sixth MOS tube, a seventh MOS tube, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor and an eighteenth resistor; The first end of the eleventh resistor is electrically connected to the emitter of the first MOS tube respectively, the second end of the eleventh resistor is electrically connected to the base of the first MOS tube and the first end of the twelfth resistor respectively, the second end of the twelfth resistor is electrically connected to the collector of the sixth MOS tube, the emitter of the sixth MOS tube is grounded, the base of the sixth MOS tube is electrically connected to the first end of the thirteenth resistor and the first end of the fourteenth resistor respectively, the second end of the thirteenth resistor is electrically connected to the control module, and the second end of the fourteenth resistor is grounded; The first end of the fifteenth resistor is electrically connected to the emitter of the third MOS tube respectively, the second end of the fifteenth resistor is electrically connected to the base of the third MOS tube and the first end of the sixteenth resistor respectively, the second end of the sixteenth resistor is electrically connected to the collector of the seventh MOS tube, the emitter of the seventh MOS tube is grounded, the base of the seventh MOS tube is electrically connected to the first end of the seventeenth resistor and the first end of the eighteenth resistor respectively, the second end of the seventeenth resistor is electrically connected to the control module, and the second end of the eighteenth resistor is grounded.
4. The cable control box according to claim 1, characterized in that: The cable control box also includes: a power module and an indicator light module; the power module is electrically connected to the control module, the indicator light module and the relay drive circuit respectively, and the indicator light module is electrically connected to the control module.
5. A mode 2 charging cable, characterized in that: The mode two charging connection line includes a charging gun, a charging plug and a cable control box as described in any one of claims 1-4.
6. A method for detecting a cable control box, characterized in that: include: Controlling the L main circuit relay and the N main circuit relay to close and / or open, and obtaining the LN main circuit voltage value between the L main circuit and the N main circuit; Relay fault information is generated according to the LN main circuit voltage value, so as to determine the relay adhesion state according to the relay fault information.
7. The detection method of the cable control box according to claim 6, characterized in that: The controlling the L main circuit relay and the N main circuit relay to close and / or open to obtain the LN main circuit voltage value between the L main circuit and the N main circuit includes: Controlling the L main circuit relay and the N main circuit relay to be disconnected, and obtaining a first LN main circuit voltage value between the L main circuit and the N main circuit; Controlling the L main circuit relay to close and the N main circuit relay to open, and obtaining a second LN main circuit voltage value between the L main circuit and the N main circuit; Controlling the L main circuit relay and the N main circuit relay to be closed, and obtaining a third LN main circuit voltage value between the L main circuit and the N main circuit; The L main circuit relay is controlled to be disconnected and the N main circuit relay is controlled to be closed, and a fourth LN main circuit voltage value between the L main circuit and the N main circuit is obtained.
8. The detection method of the cable control box according to claim 7, characterized in that: Generating relay fault information according to the LN main circuit voltage value, including: If the first LN main circuit voltage value is greater than or equal to the first pressure threshold, the relay fault information is generated as both the L main circuit relay and the N main circuit relay are stuck; or, If the voltage value of the first LN main circuit is less than the first pressure threshold, and the voltage value of the second LN main circuit is greater than or equal to the second pressure threshold, the relay fault information is generated as the N main circuit relay is stuck; or, If the voltage value of the first LN main circuit is less than the first pressure threshold, and the voltage value of the second LN main circuit is less than the second pressure threshold, and the voltage value of the third LN main circuit is less than or equal to the third pressure threshold, the relay fault information is generated as relay failure or sensor failure; or, If the first LN main circuit voltage value is less than the first pressure threshold, and the second LN main circuit voltage value is less than the second pressure threshold, and the third LN main circuit voltage value is greater than the third pressure threshold, and the fourth LN main circuit voltage value is greater than or equal to the fourth pressure threshold, then the relay fault information generated is that the L main circuit relay is stuck.
9. The detection method of the cable control box according to claim 7, characterized in that: The detection method of the cable control box also includes: If the first LN main circuit voltage value is less than the first pressure threshold, and the second LN main circuit voltage value is less than the second pressure threshold, and the third LN main circuit voltage value is greater than the third pressure threshold, and the fourth LN main circuit voltage value is less than the fourth pressure threshold, then both the L main circuit relay and the N main circuit relay are controlled to be disconnected.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the detection method of the cable control box according to any one of claims 6 to 9 when executed.
Citation Information
Patent Citations
Relay adhesion detection circuit, method and system
CN113366326A
Wake-up circuit and wake-up method for terminal
CN113687711A