A charging and discharging device

By introducing a main control unit and a detection unit into the charging and discharging equipment, rapid switching between charging and discharging modes is achieved, solving the problem of complex operation of existing equipment and improving ease of use.

CN224392385UActive Publication Date: 2026-06-23SHENZHEN GREEN CONNECTION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN GREEN CONNECTION TECH CO LTD
Filing Date
2025-06-19
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing charging and discharging devices have complex switching procedures between charging and discharging modes, resulting in poor ease of use.

Method used

The system employs a main control unit, a switching unit, a guide circuit unit, a charging resistor matching unit, a discharging resistor matching unit, a first input detection unit, and a second input detection unit. By detecting whether there is electrical energy input in the charging/discharging plug and the power plug, the main control unit controls the switching of the charging or discharging resistor matching unit connected in parallel to the guide circuit unit, thereby achieving rapid mode switching.

Benefits of technology

The operation process for charging and discharging modes has been simplified, improving ease of use. Users can switch modes simply by following the prescribed plug-in sequence without disassembling the power plug.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224392385U_ABST
    Figure CN224392385U_ABST
Patent Text Reader

Abstract

This utility model relates to the field of vehicle charging and discharging technology, and specifically to a charging and discharging device, including a charging / discharging plug, a control module, and a power plug. The control module includes a main control unit, a switching unit, a guide circuit unit, a charging resistance matching unit, a discharging resistance matching unit, a first input detection unit, and a second input detection unit. The guide circuit unit is located between the PE and CC terminals of the charging / discharging plug. The first input detection unit detects whether there is power input to the power plug, and the second input detection unit detects whether there is power input to the charging / discharging plug. The main control unit connects the first input detection unit, the second input detection unit, and the switching unit. Based on the detection results of the first and second input detection units, the main control unit controls the switching unit to connect either the charging resistance matching unit or the discharging resistance matching unit in parallel to the guide circuit unit, thereby guiding the external vehicle into charging or discharging mode. This application improves the ease of use of the charging and discharging device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of vehicle charging and discharging technology, and in particular to a charging and discharging device. Background Technology

[0002] Some electric vehicles have charging and discharging capabilities, and the vehicle's charging and discharging interface can be used to charge or discharge using charging and discharging equipment.

[0003] In related technologies, charging and discharging devices include a charging / discharging gun, a power plug, and a discharge connector. All three components are detachable. When charging is needed, the user attaches the power plug to the charging / discharging gun; when discharging is needed, the user needs to detach the power plug and attach the discharge connector to the charging / discharging gun. However, when operating these devices, users must disconnect the previously connected power plug or discharge connector and replace it with the other to switch between charging and discharging. This process is complex and inconvenient to use. Utility Model Content

[0004] This utility model provides a charging and discharging device to solve the problem that the existing charging and discharging devices have a complicated operation process for switching between vehicle charging and discharging modes and poor ease of use.

[0005] This utility model discloses a charging and discharging device, including a charging and discharging plug, a control module, and a power plug. The charging and discharging plug is used to connect to an external vehicle. The control module includes a main control unit, a switching unit, a guide circuit unit, a charging resistance matching unit, a discharging resistance matching unit, a first input detection unit, and a second input detection unit. The guide circuit unit is located between the PE and CC terminals of the charging and discharging plug. The switching unit connects the guide circuit unit, the charging resistance matching unit, and the discharging resistance matching unit. The first input detection unit is used to detect whether there is electrical energy input to the power plug. The second input detection unit is used to detect whether there is electrical energy input to the charging and discharging plug. The main control unit connects the first input detection unit, the second input detection unit, and the switching unit. The main control unit controls the switching unit to connect the charging resistance matching unit or the discharging resistance matching unit in parallel to the guide circuit unit based on the detection results of the first input detection unit and the second input detection unit, so as to guide the external vehicle to charge or discharge.

[0006] Optionally, the guiding circuit unit includes a first resistor and a second resistor. The first resistor and the second resistor are connected in series and then connected between the PE terminal and the CC terminal of the charging / discharging plug. The discharging resistor matching unit includes a third resistor, and the charging resistor matching unit includes a fourth resistor. The first end of the third resistor, the first end of the fourth resistor, and the series connection node of the first resistor and the second resistor are all connected to the switching unit. The second end of the third resistor is connected to the PE terminal of the charging / discharging plug, and the second end of the fourth resistor is connected to the CC terminal of the charging / discharging plug.

[0007] Optionally, the switching unit includes a first relay, the stationary terminal of the first relay is connected to the series node of the first resistor and the second resistor, the first moving terminal is connected to the first terminal of the third resistor, the second moving terminal is connected to the first terminal of the fourth resistor, and the control terminal is connected to the main control unit.

[0008] Optionally, the first input detection unit includes a voltage transformer connected to the main control unit. The voltage transformer is used to detect the input voltage of the power plug and transmit the input voltage signal to the main control unit.

[0009] Optionally, the first input detection unit further includes a current transformer, a current conversion circuit, and an energy metering chip. The current transformer is used to detect the input current of the power plug. The current conversion circuit is used to convert the input current into a voltage signal and transmit it to the first voltage input terminal of the energy metering chip. The second voltage input terminal of the energy metering chip is connected to the voltage transformer to receive the input voltage signal. The energy metering chip is used to calculate the energy and transmit the energy to the main control unit.

[0010] Optionally, the second input detection unit includes a first voltage divider resistor and a second voltage divider resistor, which are connected in series. The series node is connected to the main control unit, and the other end of the second voltage divider resistor is grounded. The charging and discharging device also includes an AC-DC conversion unit, whose voltage input terminal is connected to the power supply terminal of the charging and discharging plug, and whose voltage output terminal is connected to the other end of the first voltage divider resistor.

[0011] Optionally, the charging and discharging device further includes a converter plug and a discharge connector, both of which are detachably connected to the power plug.

[0012] Optionally, the charging and discharging device further includes an access type detection unit and a switching unit connected to the main control unit. The switching unit is located between the power supply terminal of the charging and discharging plug and the power supply terminal of the power plug. The access type detection unit is used to detect the power type connected to the power plug. The main control unit is also used to control the switching unit to be turned on or off according to the power type connected to the power plug.

[0013] Optionally, the access type detection unit includes a third voltage divider resistor, the power plug is provided with a first detection terminal, the third voltage divider resistor is connected in series between the pull-up power supply and the first detection terminal, the first detection terminal is also connected to the main control unit, the adapter plug is provided with a second detection terminal that can be connected to the first detection terminal, the PE terminal of the adapter plug is directly connected to the second detection terminal, and the discharge connector is provided with a fourth voltage divider resistor and a third detection terminal that can be connected to the first detection terminal, the fourth voltage divider resistor is connected in series between the PE terminal and the third detection terminal of the discharge connector.

[0014] Optionally, the switching unit includes a second relay and a third relay. The second relay is located between the live wire terminal of the charging / discharging plug and the live wire terminal of the power plug. The third relay is located between the neutral wire terminal of the charging / discharging plug and the neutral wire terminal of the power plug. The control terminals of the second relay and the third relay are both connected to the main control unit.

[0015] The beneficial effects of the charging and discharging device provided in this embodiment of the utility model are as follows: The control module connecting the charging / discharging plug and the power plug is equipped with a main control unit, a switching unit, a guide circuit unit, a charging resistance matching unit, a discharging resistance matching unit, a first input detection unit, and a second input detection unit. The first input detection unit and the second input detection unit respectively detect whether there is electrical energy input to the charging / discharging plug and the power plug, thereby determining the user's charging and discharging needs. The main control unit controls the switching to connect the charging resistance matching unit or the discharging resistance matching unit in parallel to the guide circuit unit to guide the external vehicle to charge or discharge, realizing the rapid switching between charging mode and discharging mode without disassembling the power plug. Therefore, by using the charging and discharging device implemented in this application, the user only needs to plug in the charging / discharging plug and the power plug in the prescribed plugging sequence to complete the rapid switching between charging mode and discharging mode, simplifying the operation process and improving the ease of use of the charging and discharging device. Attached Figure Description

[0016] The technical solution of this utility model will be further described in detail below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0017] Figure 1 This is a structural block diagram of the charging and discharging device according to an embodiment of the present utility model;

[0018] Figure 2 This is a schematic diagram of the circuit principle of the main control unit in an embodiment of this utility model;

[0019] Figure 3 This is a schematic diagram of the circuit principle of the voltage transformer according to an embodiment of the present invention;

[0020] Figure 4 This is a schematic diagram of the circuit principle connecting the current transformer and the current conversion circuit in an embodiment of this utility model;

[0021] Figure 5 This is a schematic diagram of the circuit principle of the power metering chip according to an embodiment of the present invention.

[0022] The labels for the attached figures are as follows:

[0023] 110. Charging / discharging plug; 120. Control module; 121. Main control unit; 122. Switching unit; 123. Guiding circuit unit; 124. Charging resistor matching unit; 125. Discharging resistor matching unit; 126. First input detection unit; 1261. Current conversion circuit; 127. Second input detection unit; 128. Connection type detection unit; 129. Switching unit; 130. Power plug; 140. Adapter plug; 150. Discharge connector;

[0024] R1, first resistor; R2, second resistor; R3, third resistor; R4, fourth resistor; R5, first voltage divider resistor; R6, second voltage divider resistor; R7, third voltage divider resistor; R8, fourth voltage divider resistor; K1, first relay; K2, second relay; K3, third relay; PT1, voltage transformer; U1, current transformer; U2, energy metering chip. Detailed Implementation

[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The preferred embodiments of this utility model will now be described in detail with reference to the accompanying drawings.

[0026] This utility model embodiment provides a charging and discharging device, such as... Figure 1As shown, the charging and discharging device includes a charging and discharging plug 110, a control module 120, and a power plug 130. The charging and discharging plug 110 is used to connect to an external vehicle. The control module 120 includes a main control unit 121, a switching unit 122, a guide circuit unit 123, a charging resistor matching unit 124, a discharging resistor matching unit 125, a first input detection unit 126, and a second input detection unit 127. The guide circuit unit 123 is located between the PE and CC terminals of the charging and discharging plug 110. The switching unit 122 connects the guide circuit unit 123, the charging resistor matching unit 124, and the discharging resistor matching unit 125. The first input... The detection unit 126 is used to detect whether the power plug 130 has power input, and the second input detection unit 127 is used to detect whether the charging and discharging plug 110 has power input. The main control unit 121 is connected to the first input detection unit 126, the second input detection unit 127, and the switching unit 122. The main control unit 121 is used to control the switching unit 122 to connect the charging resistor matching unit 124 or the discharging resistor matching unit 125 in parallel to the guiding circuit unit 123 based on the detection results of the first input detection unit 126 and the second input detection unit 127, so as to guide the external vehicle into charging mode or discharging mode.

[0027] In the charging and discharging device of this application embodiment, the control module 120 connecting the charging / discharging plug 110 and the power plug 130 is configured with a main control unit 121, a switching unit 122, a guide circuit unit 123, a charging resistance matching unit 124, a discharging resistance matching unit 125, a first input detection unit 126, and a second input detection unit 127. The first input detection unit 126 and the second input detection unit 127 respectively detect whether there is electrical energy input to the charging / discharging plug 110 and the power plug 130, thereby determining the user's charging and discharging needs. The main control unit 121 controls the switching to connect the charging resistance matching unit 124 or the discharging resistance matching unit 125 in parallel to the guide circuit unit 123 to guide the external vehicle to charge or discharge, realizing a rapid switching between charging and discharging modes without disassembling the power plug 130. Therefore, by applying the charging and discharging device implemented in this application, the user only needs to plug the charging / discharging plug 110 and the power plug 130 in the prescribed plugging sequence to complete the rapid switching between charging and discharging modes, simplifying the operation process and improving the ease of use of the charging and discharging device.

[0028] Specifically, when the first input detection unit 126 detects that the power plug 130 has power input, it indicates that the power plug 130 is connected to the mains power and the user has a charging need. The main control unit 121 controls the charging resistor matching unit 124 to be connected in parallel to the guide circuit unit 123. The guide circuit unit 123 and the charging resistor matching unit 124 are connected to form a circuit that can guide the external vehicle into the charging mode. When the second input detection unit 127 detects that the charging and discharging plug 110 has power input, it indicates that the charging and discharging plug 110 is connected to the external vehicle and the user has a discharging need. The main control unit 121 controls the discharging resistor matching unit 125 to be connected in parallel to the guide circuit unit 123. The guide circuit unit 123 and the discharging resistor matching unit 125 are connected to form a circuit that can guide the external vehicle into the discharging mode. When using the charging and discharging equipment, if the user needs to charge, they can first connect the power plug 130 to the mains power, and then connect the charging / discharging plug 110 to the external vehicle; if they need to discharge, they can first connect the power plug 130 to an external discharge outlet 150 or other discharge device, and then connect the charging / discharging plug 110 to the external vehicle. Compared to existing systems that require disassembling and installing the power plug 130 and discharge outlet 150 to switch between vehicle charging and discharging, the charging and discharging equipment of this application is more convenient to operate. Designers can, by default, connect the discharge resistor matching unit 125 in parallel with the guide circuit unit 123 via the switching unit 122 during setup.

[0029] The main control unit 121 can use existing chips to implement the operation based on the control switching unit 122, such as the N32G452REL7 chip.

[0030] The power plug 110 can specifically use a three-prong plug.

[0031] In an optional embodiment of this application, reference is made to Figure 1 The guiding circuit unit 123 includes a first resistor R1 and a second resistor R2. The first resistor R1 and the second resistor R2 are connected in series between the PE terminal and the CC terminal of the charging and discharging plug 110. The discharging resistor matching unit 125 includes a third resistor R3. The charging resistor matching unit 124 includes a fourth resistor R4. The first end of the third resistor R3, the first end of the fourth resistor R4, and the series node of the first resistor R1 and the second resistor R2 are all connected to the switching unit 122. The second end of the third resistor R3 is connected to the PE terminal of the charging and discharging plug 110, and the second end of the fourth resistor R4 is connected to the CC terminal of the charging and discharging plug 110.

[0032] Specifically, when the first input detection unit 126 detects that the power plug 130 has power input, the main control unit 121 controls the switching unit 122 to connect the first end of the fourth resistor R4 to the series node of the first resistor R1 and the second resistor R2, and connect it in parallel with the second resistor R2. The first end of the third resistor R3 is left floating. The first resistor R1, the second resistor R2 and the fourth resistor R4 are connected to form a circuit that can guide the external vehicle to charge, so that the external vehicle enters the charging mode. When the second input detection unit detects that the charging plug 110 has power input, the main control unit 121 controls the switching unit 122 to connect the first end of the third resistor R3 to the series node of the first resistor R1 and the second resistor R2, and connect it in parallel with the first resistor R1. The first end of the fourth resistor R4 is left floating. The first resistor R1, the second resistor R2 and the third resistor R3 are connected to form a circuit that can guide the external vehicle to charge, so that the external vehicle enters the discharging mode. Therefore, by connecting the first resistor R1 and the second resistor R2 in series, and with the switching unit 122 connecting the third resistor R3 or the fourth resistor R4 in parallel with the corresponding first resistor R1 and the second resistor R2, a circuit can be formed to guide the external vehicle to charge and discharge, so that the vehicle automatically enters the corresponding charging mode and discharging mode. The circuit structure is simple, which reduces the design difficulty of realizing charging and discharging switching as well as the manufacturing assembly difficulty, thereby saving costs.

[0033] Optionally, the first resistor R1 can be a resistor with a resistance of about 2.7K ohms, the second resistor R2 can be a resistor with a resistance of about 2K ohms, the third resistor R3 can be a resistor with a resistance of about 3.3K ohms, and the fourth resistor R4 can be a resistor with a resistance of about 1K ohms. Designers can choose resistors with resistance values ​​that are suitable for guiding external vehicles to charge and discharge, and no specific restrictions are imposed here.

[0034] In an optional embodiment of this application, reference is made to Figure 1 The switching unit 122 includes a first relay K1. The stationary end of the first relay K1 is connected to the series node of the first resistor R1 and the second resistor R2. The first moving end is connected to the first end of the third resistor R3. The second moving end is connected to the first end of the fourth resistor R4. The control end is connected to the main control unit 121.

[0035] By using a first relay K1 to connect the series connection of the first resistor R1 and the second resistor R2, as well as the first terminal of the third resistor R3 and the first terminal of the fourth resistor R4, the circuit can switch between connecting the third resistor R3 in parallel with the first resistor R1, or switching the fourth resistor R4 in parallel with the second resistor R2. This allows for switching of the guidance circuit for charging and discharging external vehicles. The circuit structure is simple, and the first relay K1 has high reliability and stability, can work stably for a long time, has a long lifespan, and is usually easy to install, maintain, and replace.

[0036] In an optional embodiment of this application, reference is made to Figures 2 to 5 The first input detection unit 126 includes a voltage transformer PT1 connected to the main control unit 121. The voltage transformer PT1 is used to detect the input voltage of the power plug 130 and transmit the input voltage signal to the main control unit 121.

[0037] Specifically, when the power plug 130 is connected to mains power and there is electrical input, the voltage transformer PT1 can detect the voltage signal input and transmit the detected input voltage signal to the main control unit 121. When the power plug 130 is not connected to mains power and there is no electrical input, the voltage transformer PT1 does not detect the voltage signal input, and the main control unit 121 cannot obtain the input voltage signal from the voltage transformer PT1. By setting the voltage transformer PT1, it is possible to detect whether there is electrical input at the power plug 130. Furthermore, since the current input at the power plug 130 terminal is usually relatively large, the voltage transformer PT1 can also achieve electrical isolation between the power plug 130 terminal and the main control unit 121, improving the safety of the charging and discharging equipment.

[0038] Further reference Figures 2 to 5 The first input detection unit 126 also includes a current transformer U1, a current conversion circuit 1261, and an energy metering chip U2. The current transformer U1 is used to detect the input current of the power plug 130. The current conversion circuit 1261 is used to convert the input current into a voltage signal and transmit it to the first voltage input terminal of the energy metering chip U2. The second voltage input terminal of the energy metering chip U2 is connected to the voltage transformer PT1 to receive the input voltage signal. The energy metering chip U2 is used to calculate the energy and transmit the energy to the main control unit 121.

[0039] Specifically, the current transformer U1 can detect the input current signal and transmit it to the current conversion circuit 1261. The current conversion circuit 1261 converts the current signal into a corresponding voltage signal and transmits it to the energy metering chip U2. The energy metering chip U2 can calculate the energy based on the input voltage signal of the voltage transformer PT1 and the voltage signal corresponding to the input current signal of the current transformer U1. When the power plug 130 is connected to mains power, the main control unit 121 can read the energy parameters from the energy metering chip U2. When the power plug 130 is not connected to mains power, the main control unit 121 will not read the energy parameters from the energy metering chip U2.

[0040] The current transformer U1 achieves non-contact current detection through inductive coupling, isolating the measured current from the measuring circuit and improving the safety of the charging and discharging equipment. The current conversion circuit 1261 converts the input current into a voltage signal. Voltage signals are less affected by interference and have higher signal transmission stability compared to directly transmitting current signals. The energy metering chip U2 provides the main control unit 121 with more accurate energy input information. The combination of the voltage transformer PT1 and the current transformer U1 enables comprehensive monitoring of current and voltage in the circuit. Further integration with the energy metering chip U2 yields more comprehensive and accurate energy data, contributing to the precise control of the main control unit 121.

[0041] In an optional embodiment of this application, reference is made to Figure 1 The second input detection unit 127 includes a first voltage divider resistor R5 and a second voltage divider resistor R6, which are connected in series. The series node is connected to the main control unit 121. The other end of the second voltage divider resistor R6 is grounded. The control module 120 also includes an AC-DC conversion unit. The voltage input terminal of the AC-DC conversion unit is connected to the power supply terminal of the charging and discharging plug 110, and the voltage output terminal is connected to the other end of the first voltage divider resistor R5.

[0042] Specifically, when the charging / discharging plug 110 is connected to an external vehicle, the AC-DC conversion unit receives voltage input. The AC-DC conversion unit converts the AC voltage input to the charging / discharging plug 110 into DC voltage. The first voltage divider resistor R5 and the second voltage divider resistor R6 are connected in series to detect the input voltage of the charging / discharging plug 110, and the main control unit 121 can obtain the input voltage of the charging / discharging plug 110. When the charging / discharging plug 110 has no power input, the main control unit 121 will not read the input voltage of the charging / discharging plug 110. The circuit structure of the second input detection unit 127 is simple, which is beneficial for the miniaturization of the charging / discharging device. The AC-DC conversion unit can be implemented using a conventional circuit capable of converting AC voltage to DC voltage, which will not be elaborated here.

[0043] In an optional embodiment of this application, reference is made to Figure 1 The charging and discharging equipment also includes a converter plug 140 and a discharge power strip 150, both of which are detachably connected to the power plug 130.

[0044] The detachable design allows the adapter plug 140 and the discharge strip 150 to be easily replaced or interchanged as needed. Users can connect the adapter plug 140 or the discharge strip 150 to the power plug 130 according to the type of charging, discharging, and external socket, meeting different usage needs and improving the flexibility and convenience of the charging and discharging equipment. The adapter plug 140 can be a 16A to 10A adapter plug, etc.

[0045] In an optional embodiment of this application, reference is made to Figure 1 The control module 120 also includes an access type detection unit 128 and a switch unit 129 connected to the main control unit 121. The switch unit 129 is located between the power supply terminal of the charging / discharging plug 110 and the power supply terminal of the power plug 130. The access type detection unit 128 is used to detect the power type connected to the power plug 130. The main control unit 121 is also used to control the switching unit 129 to be turned on or off according to the power type connected to the power plug 130.

[0046] Specifically, the power plug 130 can be connected to the discharge socket 150 for discharging external vehicles. By setting up the connection type detection unit 128, the power type connected to the power plug 130 can be effectively identified, that is, whether the discharge socket 150 is connected. When the discharge socket 150 is identified, the main control unit 121 controls the switch unit 129 to connect the power supply path between the charging / discharging plug 110 and the power plug 130, so that the electrical energy of the charging / discharging plug 110 can be transferred to the discharge socket 150 through the power plug 130, thereby improving the safety of the charging / discharging equipment.

[0047] In addition, the power plug 130 can be directly connected to the mains power or connected to the mains power through the adapter plug 140. The power supply capacity of the charging and discharging device will be different after the connection is made. By setting up the connection type detection unit 128, it is possible to detect whether the power plug 130 is directly connected to the mains power or connected to the mains power through the adapter plug 140, so as to help identify the power supply capacity of the charging and discharging device to the external vehicle and assist the charging and discharging device in handshaking communication with the external vehicle.

[0048] Optionally, refer to Figure 1 The access type detection unit 128 includes a third voltage divider resistor R7. The power plug 130 is provided with a first detection terminal. The third voltage divider resistor R7 is connected in series between the pull-up power supply and the first detection terminal. The first detection terminal is also connected to the main control unit 121. The adapter plug 140 is provided with a second detection terminal that can be connected to the first detection terminal. The PE terminal of the adapter plug 140 is directly connected to the second detection terminal. The discharge plug 150 is provided with a fourth voltage divider resistor R8 and a third detection terminal that can be connected to the first detection terminal. The fourth voltage divider resistor R8 is connected in series between the PE terminal and the third detection terminal of the discharge plug 150.

[0049] Specifically, corresponding detection terminals are provided on the power plug 130, adapter plug 140, and discharge connector 150. When the power plug 130 is directly connected to mains power, or connected to the adapter plug 140, or connected to the discharge connector 150, the main control unit 121 can detect different voltages through the detection terminals, thereby identifying the type of power supply connected to the power plug 130. For example, when the power plug 130 is directly connected to mains power, the main control unit 121 detects the voltage of the pull-up power supply; when the power plug 130 is connected to mains power through the adapter plug 140, the main control unit 121 detects the voltage to ground; when the power plug 130 is connected to the discharge connector 150, the main control unit 121 detects the voltage obtained by the voltage division of the third voltage divider resistor R7 and the fourth voltage divider resistor R8. Therefore, the power supply type connected to the power plug 130 can be identified through the connection type detection unit 128.

[0050] In an optional embodiment of this application, reference is made to Figure 1 The switching unit 129 includes a second relay K2 and a third relay K3. The second relay K2 is located between the live wire end of the charging / discharging plug 110 and the live wire end of the power plug 130. The third relay K3 is located between the neutral wire end of the charging / discharging plug 110 and the neutral wire end of the power plug 130. The control terminals of the second relay K2 and the third relay K3 are both connected to the main control unit 121.

[0051] The second relay K2 and the third relay K3 can respectively connect or disconnect the live wire and neutral wire between the charging / discharging plug 110 and the power plug 130, enabling flexible power control. The power can be turned on or off as needed, improving equipment flexibility and ensuring timely power disconnection to prevent circuit failures or other safety issues. The second relay K2 and the third relay K3 also provide electrical isolation between the charging / discharging plug 110 and the power plug 130, enhancing the safety of the charging / discharging equipment.

[0052] It should be understood that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Those skilled in the art can modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features; and all such modifications and substitutions should fall within the protection scope of the appended claims of this utility model.

Claims

1. A charging and discharging device, characterized in that, The device includes a charging / discharging plug, a control module, and a power plug. The charging / discharging plug is used to connect to an external vehicle. The control module includes a main control unit, a switching unit, a guidance circuit unit, a charging resistor matching unit, a discharging resistor matching unit, a first input detection unit, and a second input detection unit. The guidance circuit unit is located between the PE and CC terminals of the charging / discharging plug. The switching unit connects the guidance circuit unit, the charging resistor matching unit, and the discharging resistor matching unit. The first input detection unit detects whether there is power input to the power plug, and the second input detection unit detects whether there is power input to the charging / discharging plug. The main control unit connects the first input detection unit, the second input detection unit, and the switching unit. The main control unit controls the switching unit to connect the charging resistor matching unit or the discharging resistor matching unit in parallel to the guidance circuit unit based on the detection results of the first and second input detection units, so as to guide the external vehicle into charging mode or discharging mode.

2. The charging and discharging device according to claim 1, characterized in that, The guiding circuit unit includes a first resistor and a second resistor. The first resistor and the second resistor are connected in series and then connected between the PE terminal and the CC terminal of the charging / discharging plug. The discharging resistor matching unit includes a third resistor, and the charging resistor matching unit includes a fourth resistor. The first end of the third resistor, the first end of the fourth resistor, and the series connection node of the first resistor and the second resistor are all connected to the switching unit. The second end of the third resistor is connected to the PE terminal of the charging / discharging plug, and the second end of the fourth resistor is connected to the CC terminal of the charging / discharging plug.

3. The charging and discharging device according to claim 2, characterized in that, The switching unit includes a first relay, the stationary terminal of which is connected to the series node of the first resistor and the second resistor, the first moving terminal is connected to the first terminal of the third resistor, the second moving terminal is connected to the first terminal of the fourth resistor, and the control terminal is connected to the main control unit.

4. The charging and discharging device according to claim 1, characterized in that, The first input detection unit includes a voltage transformer connected to the main control unit. The voltage transformer is used to detect the input voltage of the power plug and transmit the input voltage signal to the main control unit.

5. The charging and discharging device according to claim 4, characterized in that, The first input detection unit further includes a current transformer, a current conversion circuit, and an energy metering chip. The current transformer is used to detect the input current of the power plug. The current conversion circuit is used to convert the input current into a voltage signal and transmit it to the first voltage input terminal of the energy metering chip. The second voltage input terminal of the energy metering chip is connected to the voltage transformer to receive the input voltage signal. The energy metering chip is used to calculate the energy and transmit the energy to the main control unit.

6. The charging and discharging device according to claim 1, characterized in that, The second input detection unit includes a first voltage divider resistor and a second voltage divider resistor, which are connected in series. The series node is connected to the main control unit. The other end of the second voltage divider resistor is grounded. The control module also includes an AC-DC conversion unit. The voltage input terminal of the AC-DC conversion unit is connected to the power supply terminal of the charging and discharging plug, and the voltage output terminal is connected to the other end of the first voltage divider resistor.

7. The charging and discharging device according to claim 1, characterized in that, The charging and discharging device also includes a converter plug and a discharge connector, both of which are detachably connected to the power plug.

8. The charging and discharging device according to claim 7, characterized in that, The control module further includes an access type detection unit and a switch unit connected to the main control unit. The switch unit is located between the power supply terminal of the charging / discharging plug and the power supply terminal of the power plug. The access type detection unit is used to detect the power type connected to the power plug. The main control unit is also used to control the switch unit to be turned on or off according to the power type connected to the power plug.

9. The charging and discharging device according to claim 8, characterized in that, The access type detection unit includes a third voltage divider resistor. The power plug is provided with a first detection terminal. The third voltage divider resistor is connected in series between the pull-up power supply and the first detection terminal. The first detection terminal is also connected to the main control unit. The adapter plug is provided with a second detection terminal that can be connected to the first detection terminal. The PE terminal of the adapter plug is directly connected to the second detection terminal. The discharge connector is provided with a fourth voltage divider resistor and a third detection terminal that can be connected to the first detection terminal. The fourth voltage divider resistor is connected in series between the PE terminal and the third detection terminal of the discharge connector.

10. The charging and discharging device according to claim 8, characterized in that, The switching unit includes a second relay and a third relay. The second relay is located between the live wire terminal of the charging / discharging plug and the live wire terminal of the power plug. The third relay is located between the neutral wire terminal of the charging / discharging plug and the neutral wire terminal of the power plug. The control terminals of the second relay and the third relay are both connected to the main control unit.