Charging and discharging integrated gun with control box
By installing circuit boards in the control box and gun body of the charging and discharging gun, multiple functional circuits are integrated, solving the problem of the single function of existing charging guns and realizing multi-functional integration and improved safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAMEN Z&H ELECTRONICS TECH
- Filing Date
- 2024-10-26
- Publication Date
- 2026-04-28
AI Technical Summary
Existing charging guns have limited functionality, and the control circuitry within the control box is insufficient to integrate multiple functions, making them inconvenient to use.
The first and second circuit boards are installed in the control box and the gun body respectively, integrating multiple functional circuits, including MCU module, AC-DC module, contactor, detection circuit, etc., and realizing multi-functional integration through communication connection.
It achieves multi-functional integration of charging and discharging gun, improves safety and ease of use, and meets standard requirements.
Smart Images

Figure CN121928987A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy vehicle charging and discharging technology, specifically to a charging and discharging gun with a control box. Background Technology
[0002] Existing electric vehicles have AC charging, V2L (vehicle-to-load) discharge, and vehicle-to-vehicle (V2V) discharge capabilities. A charging / discharging gun is connected to the electric vehicle to enable vehicle-to-vehicle charging and vehicle-to-load discharge solutions.
[0003] Patent application CN111525356A discloses a charging gun and charging device that is compatible with external discharge and vehicle charging functions. It includes a power supply plug, a control box, a socket and a charging plug. The power supply plug, control box, socket and charging plug are integrated into a single structure. This structure uses the power supply plug for discharge and the charging plug for charging, which is cumbersome to use. In addition, the control box is mainly used to control the on / off state of the main line and has limited functions.
[0004] Patent CN216139846U discloses a charging gun with a charging and discharging mode 2, including a gun head for electrically connecting to the charging interface of an electric vehicle; and a mode 2 control box including a charging switch, a charging interface, a discharging switch, and a discharging interface. The gun head is electrically connected to the charging interface through the charging switch, which controls the connection and disconnection of the line between the gun head and the charging interface. The gun head is electrically connected to the discharging interface through the discharging switch, which controls the connection and disconnection of the line between the gun head and the discharging interface. This type of charging gun only has a control circuit in the control box, and the control circuit has limited functions. Summary of the Invention
[0005] The purpose of this invention is to provide a charge / discharge gun with a control box, which integrates multiple functional circuits by mounting circuit boards in both the control box and the gun body. To achieve the above objective, this invention adopts the following technical solution:
[0006] This invention discloses a charging and discharging gun with a control box, comprising a control box, a gun body, and a plug. The control box includes a housing and a first circuit board disposed within the housing. The gun body includes a gun shell and a second circuit board disposed within the gun shell. One end of the control box is connected to the gun body, and the other end is connected to the plug. The other end of the gun body is used for connection to a vehicle.
[0007] The first circuit board is provided with a first MCU module and connected to it a first MCU power supply module, a charging AC-DC module, a discharging AC-DC module, a contactor, and a detection circuit; the first MCU power supply module supplies power to the first MCU module, the contactor is used to control the on / off state of the circuit, the charging AC-DC module is located at the input end of the contactor, the discharging AC-DC module is located at the output end of the contactor, and the detection circuit is used to detect the working state and / or fault state of the charging and discharging gun.
[0008] The second circuit board is provided with a second MCU module, a second MCU power supply module connected thereto, and a CC module. The second MCU power supply module supplies power to the second MCU module, and the CC module is used to control the charging and discharging gun to enter the charging state or the discharging state.
[0009] It also includes a CP module, which is mounted on a first circuit board and connected to a first MCU module, or the CP module is mounted on a second circuit board and connected to a second MCU module. The first circuit board and the second circuit board are communicatively connected.
[0010] Furthermore, a tactile switch is provided on the gun casing, and a tactile switch identification module is provided on the second circuit board; the tactile switch identification module is used to detect the electrical signal of the tactile switch and transmit it to the second MCU module.
[0011] Preferably, the CC module includes a CC control module and a CC high-resistivity controller, and the CP module includes a CP control module and a CP high-resistivity controller; the vehicle end is provided with a CC port and a CP port; the CC control module includes a CC control switch, which enables the charging / discharging gun to enter charging mode or discharging mode.
[0012] The CC high-resistance controller is connected to the CC control module and is used to control the CC port to be in a high-resistance state relative to ground, thereby blocking the CC port from the CC control module; or to connect the CC port to the CC control module. The CP control module is used to connect or disconnect the CP signal within the charge / discharge gun. The CP high-resistance controller is connected to the CP control module and is used to control the CP port to be in a high-resistance state relative to ground, thereby blocking the CP port from the CP control module; or to connect the CP port to the CP control module.
[0013] Wherein, the CC high-impedance controller is a general-purpose relay, the CP high-impedance controller is a general-purpose relay or a solid-state relay, the CC high-impedance controller is a normally closed relay, and the CP high-impedance controller is a normally open relay.
[0014] Preferably, the CP control module includes: a CP signal circuit for generating CP voltage and collecting and detecting CP voltage changes caused by changes in vehicle end resistance; and a CP switch circuit, one end of which is connected to the CP signal circuit and the other end of which is connected to the MCU module.
[0015] Preferably, the second circuit board is further provided with one or more of the following connected to the second MCU module: a gun head temperature control module, a Bluetooth module, and a lid opening module.
[0016] Furthermore, the detection circuit includes a vehicle-end short-circuit detection module, a vehicle-end CP diode detection circuit, a voltage and current detection module, a board temperature detection module, and a grounding detection module; the vehicle-end short-circuit detection module is used to detect whether the vehicle end is short-circuited before charging and discharging; the vehicle-end CP diode detection circuit is used to detect whether the vehicle-end CP diode is short-circuited; the voltage and current detection module is used to detect the voltage and current on the first circuit board; the board temperature detection module is used to detect the temperature of the first circuit board; and the grounding detection module is used to detect whether the power supply is grounded.
[0017] Preferably, the first circuit board is further provided with a zero-crossing switch; the zero-crossing switch includes an input voltage detection zero-crossing switch and an output voltage detection zero-crossing switch; the input voltage detection zero-crossing switch is disposed between the L terminal and the N terminal of the plug; the output voltage detection zero-crossing switch is disposed between the Lout terminal and the Nout terminal of the vehicle; the input voltage detection zero-crossing switch is connected to the first MCU module and transmits the detected first voltage signal of the L terminal and the N terminal to the first MCU module; the output voltage detection zero-crossing switch is connected to the first MCU module and transmits the detected second voltage signal of the Lout terminal and the Nout terminal to the first MCU module, and the first MCU module detects relay faults based on the second voltage signal.
[0018] The vehicle-side short-circuit detection module includes a relay group with two sets of switches, namely a first switch and a second switch. One end of the first switch is connected to the vehicle-side Lout and the other end is connected to the low-voltage Vdc2 terminal. One end of the second switch is connected to the vehicle-side Nout and the other end is connected to the first MCU module. The voltage of the low-voltage Vdc2 terminal is 1 to 30V.
[0019] In some embodiments, the relay group is a set of changeover relays, or two sets of changeover relays connected in series. In other embodiments, the relay group is a set of normally open relays, or two sets of normally open relays connected in series.
[0020] Preferably, one end of the second switch is connected to the vehicle end Nout, and the other end is connected to the protection circuit and then to the first MCU module; the protection circuit includes: transistor Q3, diode D12, resistor RP1, resistor RP2, resistor RP3, and resistor RP4. The base of transistor Q3 is connected to resistor RP1, the collector is connected to resistor RP3 to VDD, and the emitter is connected to ground; diode D12 and resistor RP2 are both connected between the base and emitter of transistor Q3.
[0021] In some embodiments, an identity recognition control module is also included, which includes a first identity recognition chip disposed within the plug, and the first MCU module is provided with a chip control pin electrically connected to the first identity recognition chip.
[0022] In other embodiments, the first circuit board is provided with a charge / discharge identification module, which is used to identify the charging mode and the discharging mode and transmit the signal to the first MCU module; the charge / discharge identification module includes a charge / discharge identification terminal with at least one set of pins, and the at least one set of pins is connected in series with an electronic component or circuit that can realize changes in physical characteristics and then connected to the MCU module; wherein the electronic component or circuit that can realize changes in physical characteristics is an electronic component or circuit that can realize changes in resistance, voltage or current.
[0023] Preferably, the first circuit board is further provided with an onboard lightning protection device and an onboard RCD device. The onboard lightning protection device is located at the input end of the contactor, and the onboard RCD device is located at the output end of the contactor. The onboard RCD device is a type A, type A+6, or type B leakage current module.
[0024] Due to the adoption of the above solution, the present invention has the following beneficial effects:
[0025] This method involves installing a first circuit board inside the control box and a second circuit board inside the gun body. The first and second circuit boards are connected in communication, thereby distributing different functional module circuits on either the first or second circuit board to achieve multi-functional integration, meet the standard requirements of the charging and discharging gun, and improve safety. Attached Figure Description
[0026] Figure 1 This is a schematic diagram of the charging and discharging integrated gun of the present invention.
[0027] Figure 2 This is a circuit diagram of the present invention.
[0028] Figure 3 This is a schematic diagram of the first MCU module and the first MCU power supply module.
[0029] Figure 4This is the circuit diagram of the CP control module.
[0030] Figure 5 This is a schematic diagram of the vehicle-side short-circuit detection module.
[0031] Figure 6 This is a circuit diagram of the vehicle-side short-circuit detection module in Example 1.
[0032] Figure 7 This is a circuit diagram of the vehicle-side short-circuit detection module in Embodiment 2.
[0033] Figure 8 This is a circuit diagram of the vehicle-side short-circuit detection module in Embodiment 3.
[0034] Figure 9 This is a circuit diagram of the vehicle-side short-circuit detection module in Example 4.
[0035] Figure 10 Circuit diagram for zero-crossing switch for input voltage detection.
[0036] Figure 11 Circuit diagram for a zero-crossing switch for output voltage detection.
[0037] Explanation of key component symbols:
[0038] 1: Control box, 11: Box body, 12: First circuit board, 2: Gun body, 21: Second circuit board, 3: Plug, 4: CP control module, 41: CP signal circuit, 42: CP switch circuit, 5: Protection circuit. Detailed Implementation
[0039] To enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0040] like Figure 1 As shown, this invention discloses a charge / discharge gun with a control box, including a control box 1, a gun body 2, and a plug 3. One end of the gun body is connected to a vehicle, which has a CP port and a CC port. The other end of the gun body 2 is connected to the control box 1 via a cable 4, and the other end of the control box 1 is connected to the plug 3. When the charge / discharge gun is charging, the plug 3 can be plugged into the AC power supply to charge the vehicle, or the plug 3 can be connected to an adapter (e.g., a 16A to 10A converter), and the adapter can be plugged into the AC power supply to charge the vehicle. When the charge / discharge gun is discharging, the plug 3 is plugged into the discharge port to discharge.
[0041] The control box 1 includes a housing 11 and a first circuit board 12 disposed within the housing 11. The gun body 2 includes a gun shell 21 and a second circuit board 22 disposed within the gun shell 21. A tactile switch 23 is provided on the gun shell. The wiring of the first and second circuit boards is explained in detail below.
[0042] 1. First circuit board
[0043] like Figure 2 As shown, the first circuit board is equipped with a first MCU module and connected to it a first MCU power supply module, a contactor, a charging AC-DC module, a discharging AC-DC module, a CP module, a detection circuit, an identification control module, an indicator light module, an onboard lightning protection device, and an onboard RCD device.
[0044] 1.1 First MCU module, first MCU power supply module, contactor, charging AC-DC module and discharging AC-DC module
[0045] The first MCU power supply module supplies power to the first MCU module (U3). For example... Figure 3 As shown, the first MCU module is a microcontroller with multiple control pins. Contactor 6 is a component used to automatically connect or disconnect the current circuit. The contact system of contactor 6 can be driven by an electromagnet, compressed air, or liquid pressure, or it can be implemented using a thyristor. In this embodiment, contactor 6 is a relay, including L and N relays, used to control the connection and disconnection between the plug and the gun body.
[0046] The charging AC-DC module is located at the input terminal of the contactor, and the discharging AC-DC module is located at the output terminal of the contactor. The charging and discharging AC-DC modules can be based on the circuit with document number CN115693855A to power the MCU module in different states; alternatively, the charging and discharging AC-DC modules can be based on the circuit with document number CN115571014A to achieve isolation protection during both charging and discharging, thereby improving safety.
[0047] 1.2CP Module
[0048] The CP module is mounted on the first circuit board and connected to the first MCU module. In other embodiments, the CP module can also be mounted on the second circuit board and connected to the second MCU module.
[0049] The CP module includes a CP control module 4 and a CP high-impedance controller, which can be a standard relay or a solid-state relay. The CP control module 4 is used to connect or disconnect the CP signal within the charge / discharge gun. The CP high-impedance controller is connected to the CP control module and is used to control:
[0050] (1) The CP port is in a high-impedance state to ground to block the CP port from the CP control module;
[0051] (2) Connect the CP port to the CP control module.
[0052] like Figure 4 As shown, the CP control module 4 includes: a CP signal circuit 41, which is used to generate CP voltage and collect and detect CP voltage changes caused by changes in vehicle end resistance. The CP signal circuit 41 can adopt the circuit structure disclosed in publication number CN214138295U, or the circuits disclosed in publication numbers CN115693855A, CN115378077A, CN207321131U, etc.
[0053] The CP switch circuit 42 is connected at one end to the CP signal circuit 41 and at the other end to the first MCU module. In this embodiment, the CP switch circuit 42 includes a transistor Q1 and a MOSFET Q2. The base of transistor Q1 is connected to the linkage control pin U3-22 of the first MCU module. The first MCU module controls the switching on and off of transistor Q1, and transistor Q1 controls the switching on and off of MOSFET Q2. MOSFET Q2 is connected to the CP signal circuit. Transistor Q1 is an NPN transistor. The collector of transistor Q1 is connected to the first voltage divider resistor R1 and then to the VDC terminal, and the emitter is grounded. MOSFET Q2 is a P-channel MOSFET. The source (S) of MOSFET Q2 is connected to the VDC terminal, the drain (D) is connected to the CP signal circuit 41, and the gate (G) is connected to the second voltage divider resistor R2 and then to the collector of transistor Q1.
[0054] 1.3 Detection Circuit
[0055] The detection circuits on the first circuit board include a vehicle-side short-circuit detection module, a vehicle-side CP diode detection circuit, a voltage and current detection module, a board temperature detection module, and a grounding detection module.
[0056] (1) Vehicle-side short circuit detection module
[0057] The vehicle-side short-circuit detection module is used to detect whether there is a short circuit at the vehicle end before charging and discharging. For example... Figure 5As shown, the short-circuit detection module at the vehicle end works by including a relay group with two sets of switches: a first switch and a second switch. One end of the first switch K1 is connected to the vehicle end Lout, and the other end is connected to the low-voltage Vdc2 terminal. One end of the second switch K2 is connected to the vehicle end Nout, and the other end is connected to the I / O port of the first MCU module and ground. The voltage at the low-voltage Vdc2 terminal is 1–30V. The circuit works as follows: K1 and K2 are closed first. The low-voltage Vdc2 flows through a resistor to the vehicle end Lout. If a short circuit occurs at the vehicle end, the I / O port of the first MCU module will detect a high level. If no short circuit occurs, the voltage of Vdc2 cannot reach the vehicle end Lout, and the I / O port of the first MCU module will detect a low level. The presence or absence of a short circuit at the vehicle end can be determined based on the high or low level detected by the I / O port of the first MCU module.
[0058] The circuit of a specific embodiment of the vehicle-side short-circuit detection module can be as follows: Figures 6-9 Any of the following methods. The four circuits are described below:
[0059] ① Example 1
[0060] like Figure 6 As shown, the relay group of the vehicle-side short-circuit detection module is a changeover relay K3 with 8 pins. The changeover relay has 8 pins: pin 1 is connected to the VDC terminal, pin 8 is connected to the control pin U3-23 of the first MCU module and ground, and pins 3 and 4 form a first switch (pin 3 is connected in series with the protection diode D2 to the low-voltage Vdc2 terminal, and pin 4 is connected in series with the fuse FR1 to the vehicle-side Lout). Pins 6 and 5 form a second switch (pin 6 is connected to the protection circuit and then to the control pin U3-24 of the first MCU module, and pin 5 is connected to the vehicle-side Nout). Pins 3 and 6 can be switched to connect with pins 2 and 7, or to connect with pins 4 and 5.
[0061] The use of a switching relay, which is bipolar, allows for seamless control of two circuits simultaneously, and wiring is convenient.
[0062] To protect the I / O ports of the first MCU module from high voltage damage, the other end of the second switch is connected to the protection circuit before being connected to the first MCU module. That is, pin 6 is connected to protection circuit 5.
[0063] like Figure 6The protection circuit 5 includes: transistor Q3, diode D12, resistors RP1, RP2, RP3, and RP4. Transistor Q3 protects the first MCU module I / O port (U3-24). The base of transistor Q3 is connected to resistor RP1, which is the base drive resistor for transistor Q3. The collector of transistor Q3 is connected to resistor RP3 to the VDD terminal, and resistor RP3 is the pull-up resistor for the I / O port. The collector of transistor Q3 is also connected to resistor RP4, which is then connected to the first pin U3-24 of the microcontroller. Resistor RP4 acts as an anti-static resistor for the microcontroller I / O port. The emitter of transistor Q3 is connected to ground. Diode D12 and resistor RP2 are both connected between the base and emitter of transistor Q3. Diode D12 is a reverse protection diode to prevent the base and emitter of transistor Q3 from being broken down during the negative half-wave. Resistor RP2 is the discharge resistor for transistor Q3 to prevent false start-up.
[0064] ② Example 2
[0065] like Figure 7 As shown, the relay group of the vehicle-side short-circuit detection module includes two sets of changeover relays K4 and K5, which are connected in series and each has 8 pins. Pin 1 of changeover relays K4 and K5 is connected to the VDC terminal, and pin 8 is connected to pin U3-23 of the first MCU module and ground.
[0066] For the changeover relay K4, pins 2 and 7 are normally closed contacts, pins 3 and 6 are common terminals, and pins 4 and 5 are normally open contacts. Pin 3 of the changeover relay K4 is connected to the Vdc2 terminal, pin 6 is connected to pin 4, and pin 5 is connected to the vehicle terminal Lout.
[0067] Pins 2 and 7 of the changeover relay K5 are normally closed contacts, pins 3 and 6 are common terminals, and pins 4 and 5 are normally open contacts. Pin 3 of the changeover relay K5 is connected to pin 5, pin 6 is connected to the protection circuit 5 and then to pin U3-35 of the first MCU module, and pin 4 is connected to the vehicle terminal Nout. The protection circuit 5 in this embodiment is the same as in embodiment one.
[0068] Compared to Embodiment 1, this embodiment adds a conversion relay in series, which increases the withstand voltage.
[0069] ③ Example 3
[0070] like Figure 8 As shown, compared with Embodiment 1, the relay group of the vehicle-side short-circuit detection module simplifies the changeover relay K3 into a normally open relay K6 with 6 pins, while the rest of the wiring method is similar to Embodiment 1.
[0071] Pin 1 of the normally open relay K6 is connected to VDC, pin 2 is connected to the control pin U3-23 of the first MCU module, and also to ground. Pin 3 is connected to the low voltage Vdc2 terminal, and pin 5 is connected to the vehicle terminal Lout after being connected in series with a fuse. Pin 4 is connected to the protection circuit 5 and then to the control pin U3-24 of the first MCU module, and pin 6 is connected to the vehicle terminal Nout. The protection circuit 5 in this embodiment is the same as in embodiment one.
[0072] Compared to Embodiment 3, the circuit in Embodiment 1 features an additional winding in the changeover relay, an increased air gap, and a higher primary and secondary withstand voltage rating. However, Embodiment 3 has a simpler circuit structure and lower cost.
[0073] ④ Example 4
[0074] like Figure 9 As shown, compared with Embodiment 2, the relay group of the vehicle-side short circuit detection module simplifies the conversion relays K4 and K5 into normally open relays K7 and K8 with 6 pins, while the rest of the wiring is similar to Embodiment 2.
[0075] Normally open relay K7 has its pin 1 connected to the VDC terminal, pin 2 connected to the control pin U3-23 of the first MCU module and connected to ground. Pin 3 is connected to the Vdc2 terminal, pin 4 is connected to pin 5, and pin 6 is connected to the vehicle terminal Loo.
[0076] Pin 1 of the normally open relay K8 is connected to the VDC terminal, pin 2 is connected to the control pin U3-23 of the first MCU module and then to ground. Pin 3 is connected to pin 6, pin 4 is connected to the protection circuit 5 and then to pin U3-24 of the first MCU module, and pin 5 is connected to the vehicle terminal Nout. The protection circuit 5 in this embodiment is the same as in embodiment one.
[0077] (2) Vehicle-end CP diode detection circuit
[0078] According to the GB / T 18487.1-2023 standard, diode presence detection is required. Before energy transfer, the power supply equipment should be able to verify that the connected device is an electric vehicle and not a load device by detecting the presence of diode D1' on the control guide circuit. When the low-level state of the detected PWM signal is within the specified voltage range (when the plug and CP are normally connected, the negative half-cycle of the vehicle-side CP will output a fixed voltage of -12±0.8V (Chinese standard) or -12±0.6V (European standard)), it is determined that diode D1' exists on the control guide circuit and that the connected device is an electric vehicle or electric vehicle simulator. When a short circuit occurs in the CP diode on the vehicle-side CP line, the absolute value of the voltage during the negative half-cycle of the vehicle-side CP will be pulled up to the same level as the positive half-wave voltage, causing the voltage to fail to reach -12V. In this case, the CP signal can still be connected normally, resulting in a false charging process.
[0079] The CP diode detection circuit at the vehicle end can adopt the circuit with document number CN115571014A.
[0080] (3) Voltage and current detection module
[0081] The voltage and current detection module is used to detect the voltage and current on the first circuit board, and can use circuits with document numbers CN115693855A, CN113910959A, CN216209416U, etc.
[0082] (4) Board temperature detection module
[0083] The board temperature detection module is used to detect the temperature of the first circuit board.
[0084] (5) Grounding detection module
[0085] The grounding detection module is used to detect whether the power supply is grounded. Circuits with reference numbers CN213689887U and CN216783298U can be used.
[0086] 1.4 Zero-crossing switch
[0087] The zero-crossing switch and contactor fault detection circuit includes an input voltage detection zero-crossing switch and an output voltage detection zero-crossing switch. The input voltage detection zero-crossing switch is located between the L and N terminals of the connector; the output voltage detection zero-crossing switch is located between the Lout and Nout terminals of the vehicle.
[0088] like Figure 10 As shown, the input voltage detection zero-crossing switch is connected to the first MCU module, and transmits the detected first voltage signals at the L and N terminals to the first MCU module.
[0089] like Figure 11As shown, the output voltage detection zero-crossing switch is connected to the first MCU module, and transmits the detected second voltage signals of the Lout and Nout terminals to the first MCU module. The first MCU module detects relay faults based on the second voltage signals.
[0090] The input voltage detection zero-crossing switch includes step-down capacitors CX1 / CX2, multiple series resistors R3-R6 / R9-R12, filter capacitors C1-C2, voltage divider resistors R7, R8, R13, R14, and diodes D4-D5 / D6-D7. Step-down capacitor CX1 is connected to the L input terminal, and CX2 is connected to the N input terminal for voltage reduction and current limiting. The series resistors are formed by multiple resistors connected in series, with one end connected to the step-down capacitor and the other end connected to the filter capacitor to ensure a safe distance (>5mm) between the circuit and the relay. The voltage divider resistors are connected in parallel with the filter capacitor, with one end connected to the microcontroller's AD port (LinU3-30 / NinU3-29) and the other end connected to ground. Diodes D4-D5 / D6-D7 are used to prevent the microcontroller from being subjected to reverse voltage surges.
[0091] The output voltage detection zero-crossing switch includes step-down capacitors CX3 / CX4, multiple series resistors R15-R18 / R21-R24, filter capacitors C3-C4, voltage divider resistors R19, R20, R225, R26, and diodes D8-D9 / D10-D11. Step-down capacitor CX3 is connected to the Lout output terminal, and CX4 is connected to the Nout output terminal for voltage reduction and current limiting. The series resistors are formed by multiple resistors connected in series, with one end connected to the step-down capacitor and the other end connected to the filter capacitor to ensure a safe distance (>5mm) between the circuit and the relay. The voltage divider resistors are connected in parallel with the filter capacitor, with one end connected to the microcontroller's AD port (Lout U3-27 / Nout U3-28) and the other end connected to ground. Diodes D8-D11 are used to prevent the microcontroller from being subjected to reverse voltage surges.
[0092] By incorporating zero-crossing switches at both the input and output ends of the integrated charge / discharge gun, zero-crossing monitoring of both charging and discharging modes can be achieved, enabling the detection and identification of these modes. When charging is imminent, the zero-crossing contactor closes based on the input voltage, resulting in lower AC voltage spikes and protecting the vehicle battery and related modules downstream of the contactor, thus achieving zero-crossing voltage for charging the vehicle. Similarly, when discharging is imminent, the zero-crossing contactor closes based on the input voltage, further reducing AC voltage spikes and protecting the power supply equipment, thus achieving zero-crossing voltage for discharging the load. The inclusion of zero-crossing switches in both modes enhances the voltage safety of the respective output sources and corresponding AC-DC modules, reducing starting voltage stress.
[0093] like Figure 7As shown, the first MCU module at the output end receives the collected AD voltage through two AD ports, Lout U3-27 and Nout U3-28, which can detect contactor faults, including tripping and sticking. Tripping means the contactor switch is always in the open circuit state, while sticking means the contactor switch is always in the closed state. The voltage at the test point Vs is significantly different from the normal operating state of the contactor. The circuit of this invention uses RC voltage reduction to perform separate AD sampling on the L output terminal (Lout) and N output terminal (Nout). Different combinations of AD sampling are generated when the relay is stuck, tripped, or operating normally, and provided to the microcontroller. The microcontroller determines the current state of the relay, so that when the charging gun or charging pile is in standby mode, regardless of whether the LN input is connected in the correct or reverse direction, it can individually detect whether the contactor on the live wire is stuck and causing a fault. When the contactor is closed, it detects whether the individual contactor has tripped. If a fault occurs, a fault alarm is issued, thereby protecting electronic products and personal safety.
[0094] 1.5 Identification Control Module
[0095] The identification control module can be either a charge / discharge identification module or an identity identification control module.
[0096] (1) Charge / discharge identification module
[0097] The charge / discharge identification module is used to identify the charging and discharging modes and transmit the signals to the first MCU module;
[0098] The charge / discharge identification module includes a charge / discharge identification terminal with at least one set of pins, and the at least one set of pins is connected in series with an electronic component or circuit that can realize changes in physical characteristics and then connected to an MCU module; wherein the electronic component or circuit that can realize changes in physical characteristics is an electronic component or circuit that can realize changes in resistance, voltage or current.
[0099] Specifically, the charge / discharge identification module can be configured with the circuit structure disclosed in publication number CN115693855A.
[0100] (2) Identity Recognition Control Module
[0101] The identification control module includes a first identification chip, and a first MCU module has chip control pins electrically connected to the first identification chip. The first identification chip is disposed inside the plug, and at least first identification information is pre-stored within the first identification chip. The first identification information includes bidirectional authentication information for the vehicle and / or docking accessories matched with the charging / discharging gun.
[0102] When the main body of the charging and discharging gun is connected to the vehicle, and the plug is connected to the mains power terminal to enter charging mode or connected to the discharging terminal to enter discharging mode, the first MCU module reads the identity recognition information on the first identity recognition chip and determines whether the first identity recognition information matches. If it matches, charging begins in charging mode and discharging waits in discharging mode; if it does not match, neither charging nor discharging is performed.
[0103] The docking accessories include an adapter and a discharge connector that fit the plug. The first identification chip pre-stores charging parameter information. The plug connects to the AC power supply via the adapter, which contains a second identification chip. This second identification chip stores bidirectional authentication information that matches the first identification information. When the adapter is connected to the plug, the second identification chip is electrically connected to the first identification chip. The first MCU module reads the second identification information and compares it with the first identification information. If they match, the first MCU module reads the charging parameter information from the first identification chip and begins charging.
[0104] During discharge, the plug is connected to the discharge connector, which contains a third-party identification chip. This chip stores third-party identification information that is bidirectionally authenticated with the first-party identification information. When the discharge connector is connected to the plug, the third-party identification chip is electrically connected to the first-party identification chip. The first MCU module reads the third-party identification information and compares it with the first-party identification information. If they match, discharge begins; otherwise, discharge does not occur.
[0105] The first, second, and third identification chips can be temperature sensor chips with identification functions, such as the MY18E20, MY1820, MY18B20Z, and MY18B20L series. Based on the characteristic relationship between CMOS semiconductor PN junction temperature and bandgap voltage, after small-signal amplification, analog-to-digital conversion, digital calibration and compensation, and digital bus output, they have the advantages of high accuracy, good consistency, and flexible programmable configuration. Using temperature sensor chips with identification functions allows for both identification and simultaneous monitoring of the plug temperature.
[0106] 1.6 Indicator light module, onboard lightning protection device and onboard RCD device
[0107] The first circuit board also includes an indicator light module, an onboard surge protector, and an onboard RCD device. The onboard surge protector is located at the input terminal of the contactor, and the onboard RCD device is located at the output terminal of the contactor. The onboard RCD device is a type A, A+6, or B leakage current module. A+6 or type B leakage current modules are preferred to detect residual current in sinusoidal AC, pulsating DC, and smooth DC current of 6mA or higher.
[0108] 2. Second circuit board
[0109] The second circuit board is equipped with a second MCU module and connected to it a second MCU power supply module, a tactile switch recognition module, a CC module, a Bluetooth module, a wireless module, and a cover opening module.
[0110] The second MCU power supply module supplies power to the second MCU module. The second MCU module is also a microcontroller with multiple control pins.
[0111] The second circuit board is connected to the first circuit board via communication, which can be achieved through IIC, serial port, SPI, or other methods.
[0112] 2.1 Tactile Switch Recognition Module
[0113] The tactile switch identification module is used to verify the electrical signal of the tactile switch and transmit it to the second MCU module. The tactile switch identification module can adopt a circuit such as the one disclosed in CNCN221660568U.
[0114] Function control can be achieved via tactile switch 3: its logic control principle can be set as needed, such as:
[0115] ① Press the tactile switch once, and the tactile switch recognition module converts it into a first electrical signal and sends it to the second MCU module. The second MCU module 4 controls the opening of the car's charging port cover.
[0116] For example, the second MCU module is equipped with a Bluetooth opening module or a wireless opening module (such as the Tesla opening module). After receiving the first electrical signal, the second MCU module sends a charging cover opening signal with a specific radio frequency power to the car to control the car to open the charging cover.
[0117] ② Press the tactile switch twice. The tactile switch recognition module converts it into a second electrical signal and sends it to the second MCU module. The second MCU module 4 controls the charging level to switch from 10A to 13A.
[0118] ③ Press and hold the tactile switch. The tactile switch recognition module converts it into a third electrical signal and sends it to the second MCU module. The second MCU module controls emergency charging, etc.
[0119] 2.2CC Module
[0120] The CC module is used to control the charging / discharging gun to enter the charging or discharging state. The CC module includes a CC control module and a CC high-impedance controller, and the vehicle side is equipped with a CC port.
[0121] The CC control module includes a CC control switch, which controls whether the charge / discharge gun enters charging or discharging mode. A CC high-resistivity controller is connected to the CC control module and is used for control of:
[0122] ①The CC port is in a high-impedance state to ground to block the CC port from communicating with the CC control module;
[0123] ② Connect the CC port to the CC control module.
[0124] The CC high-impedance controller is a regular relay or a normally closed relay.
[0125] 2.3 Nozzle Temperature Control Module
[0126] The nozzle temperature control module is located inside the nozzle to ensure that the nozzle temperature is within the normal range. If the nozzle temperature is found to be too high, charging or discharging will be stopped in time to prevent circuit damage.
[0127] In summary, this embodiment, by installing circuit boards in the control box and the gun body respectively, not only fulfills the basic charging and discharging functions of the integrated charging and discharging gun, but also integrates multiple functional circuits to achieve the following functions:
[0128] 1. Voltage and current detection, control, leakage current detection and protection (voltage detection module, onboard RCD device).
[0129] 2. High-impedance control of CP generation and CP detection (CP module)
[0130] 3. Accurate charging / discharging identification, or plug temperature detection and identification (identification control module)
[0131] 4. Vehicle-side diode detection (vehicle-side CP diode detection circuit)
[0132] 5. Zero-crossing detection in charging / discharging mode, and fault detection of charging / discharging contactor (zero-crossing switch)
[0133] 6. Ungrounded detection (grounded detection module)
[0134] 7. Charging mode output short circuit detection (vehicle-side short circuit detection module)
[0135] 8. Temperature detection (board temperature detection module, nozzle temperature control module)
[0136] 9. Tactile switch, transmitting radio frequency or switching or other reserved functions (tactile switch recognition module)
[0137] 10. Bluetooth control for OTA updates or lid opening (Bluetooth module, lid opening module)
[0138] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A charge / discharge integrated gun with a control box, characterized in that: The system includes a control box, a gun body, and a plug. The control box includes a housing and a first circuit board disposed within the housing. The gun body includes a gun shell and a second circuit board disposed within the gun shell. One end of the control box is connected to the gun body, and the other end is connected to the plug. The other end of the gun body is used to connect to a vehicle. The first circuit board is provided with a first MCU module and connected to it a first MCU power supply module, a charging AC-DC module, a discharging AC-DC module, a contactor, and a detection circuit; the first MCU power supply module supplies power to the first MCU module, the contactor is used to control the on / off state of the circuit, the charging AC-DC module is located at the input terminal of the contactor, the discharging AC-DC module is located at the output terminal of the contactor, and the detection circuit is used to detect the working state and / or fault state of the charging and discharging gun. The second circuit board is provided with a second MCU module and a second MCU power supply module and a CC module connected thereto. The second MCU power supply module supplies power to the second MCU module, and the CC module is used to control the charging and discharging gun to enter the charging state or the discharging state. It also includes a CP module, which is disposed on a first circuit board and connected to a first MCU module, or the CP module is disposed on a second circuit board and connected to a second MCU module; The first circuit board is communicatively connected to the second circuit board.
2. The charge / discharge gun with control box as described in claim 1, characterized in that: The gun casing is equipped with a tactile switch, and the second circuit board is equipped with a tactile switch identification module; the tactile switch identification module is used to detect the electrical signal of the tactile switch and transmit it to the second MCU module.
3. The charge / discharge gun with control box as described in claim 1, characterized in that: The CC module includes a CC control module and a CC high-impedance controller, and the CP module includes a CP control module and a CP high-impedance controller; the vehicle end is equipped with a CC port and a CP port; The CC control module includes a CC control switch, which enables the charging and discharging gun to enter charging mode or discharging mode. The CC high-impedance controller is connected to the CC control module and is used to control the CC port to be in a high-impedance state relative to ground, so as to block the CC port from the CC control module; or to connect the CC port to the CC control module. The CP control module is used to connect or disconnect the CP signal inside the charge-discharge gun. The CP high-impedance controller is connected to the CP control module and is used to control the CP port to be in a high-impedance state relative to ground, so as to block the CP port from the CP control module; or to connect the CP port to the CP control module.
4. The charge / discharge gun with control box as described in claim 3, characterized in that: The CC high-impedance controller is a general-purpose relay, the CP high-impedance controller is a general-purpose relay or a solid-state relay, the CC high-impedance controller is a normally closed relay, and the CP high-impedance controller is a normally open relay.
5. The charge / discharge gun with control box as described in claim 3, characterized in that: The CP control module includes: a CP signal circuit for generating CP voltage and collecting and detecting CP voltage changes caused by changes in vehicle end resistance; and a CP switch circuit, one end of which is connected to the CP signal circuit and the other end of which is connected to the MCU module.
6. The charge / discharge gun with control box as described in claim 1, characterized in that: The second circuit board is also equipped with one or more of the following modules connected to the second MCU module: a gun head temperature control module, a Bluetooth module, and a lid opening module.
7. The charge / discharge gun with control box as described in claim 1, characterized in that: The detection circuit includes a vehicle-end short circuit detection module, a vehicle-end CP diode detection circuit, a voltage and current detection module, a board temperature detection module, and a grounding detection module; the vehicle-end short circuit detection module is used to detect whether there is a short circuit at the vehicle end before charging and discharging. The vehicle-side CP diode detection circuit is used to detect whether the vehicle-side CP diode is short-circuited. The voltage and current detection module is used to detect the voltage and current on the first circuit board; The board temperature detection module is used to detect the temperature of the first circuit board; The grounding detection module is used to detect whether the power supply is grounded.
8. The charge / discharge gun with control box as described in claim 1, characterized in that: The first circuit board is also equipped with a zero-crossing switch; The zero-crossing switch includes an input voltage detection zero-crossing switch and an output voltage detection zero-crossing switch; the input voltage detection zero-crossing switch is located between the L terminal and the N terminal of the plug; the output voltage detection zero-crossing switch is located between the Lout terminal and the Nout terminal of the vehicle. The input voltage detection zero-crossing switch is connected to the first MCU module and transmits the detected first voltage signals at the L and N terminals to the first MCU module. The output voltage detection zero-crossing switch is connected to the first MCU module and transmits the detected second voltage signals of the Lout and Nout terminals to the first MCU module. The first MCU module detects relay faults based on the second voltage signals.
9. The charge / discharge gun with control box as described in claim 7, characterized in that: The vehicle-side short-circuit detection module includes a relay group, which has two sets of switches, namely a first switch and a second switch. One end of the first switch is connected to the vehicle-side Lout and the other end is connected to the low voltage Vdc2 terminal. One end of the second switch is connected to the vehicle-side Nout and the other end is connected to the first MCU module. The voltage of the low voltage Vdc2 terminal is 1 to 30V.
10. The charge / discharge gun with control box as described in claim 9, characterized in that: The relay group is a set of changeover relays, or two sets of changeover relays connected in series, or a set of normally open relays, or two sets of normally open relays connected in series.
11. The charge / discharge gun with control box as described in claim 9, characterized in that: One end of the second switch is connected to the vehicle end Nout, and the other end is connected to the protection circuit and then to the first MCU module; The protection circuit includes: transistor Q3, diode D12, resistor RP1, resistor RP2, resistor RP3 and resistor RP4; The base of transistor Q3 is connected to resistor RP1, the collector is connected to resistor RP3 to VDD, and the emitter is connected to ground; diode D12 and resistor RP2 are both connected between the base and emitter of transistor Q3; the collector of transistor Q3 is connected to resistor RP4 and then to the first pin of the microcontroller.
12. The charge / discharge gun with control box as described in claim 1, characterized in that: It also includes an identity recognition control module, which includes a first identity recognition chip disposed inside the plug, and the first MCU module is provided with a chip control pin that is electrically connected to the first identity recognition chip.
13. The charge / discharge gun with control box as described in claim 1, characterized in that: The first circuit board is also provided with a charge and discharge identification module, which is used to identify the charging mode and the discharging mode and transmit the signal to the first MCU module; The charge / discharge identification module includes a charge / discharge identification terminal with at least one set of pins. The at least one set of pins is connected in series with an electronic component or circuit that can realize changes in physical characteristics and then connected to the MCU module. The electronic component or circuit that can realize changes in physical characteristics is an electronic component or circuit that can realize changes in resistance, voltage, or current.
14. The charge / discharge gun with control box as described in claim 1, characterized in that: The first circuit board is also equipped with an onboard lightning protection device and an onboard RCD device. The onboard lightning protection device is located at the input end of the contactor, and the onboard RCD device is located at the output end of the contactor. The onboard RCD device is a type A, type A+6, or type B leakage current module.
Citation Information
Patent Citations
Charging gun compatible with external discharging function and vehicle charging function and charging device
CN111525356A
Charging gun protection circuit without voltage transformer
CN113910959A
Inverter discharge CP signal generation circuit of vehicle-mounted charger
CN115378077A
Isolation type charging and discharging integrated gun control circuit and isolation type charging and discharging integrated gun
CN115571014A
Logic control circuit of charging and discharging integrated gun and charging and discharging integrated gun
CN115693855A