Charging and discharging control circuit and charging pile
By designing the charge and discharge control circuit in the charging pile and using the interface identification signal and power supply signal to control the charging and discharging indication circuit, the problem of poor safety of the existing charging pile is solved and the safety and stability of the charging and discharging process are achieved.
Patent Information
- Application Number
- CN202410713269.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-04
AI Technical Summary
Existing charging piles have poor safety during the discharge process and cannot perform discharge adjustment and power parameter monitoring, resulting in greater safety hazards when using new energy vehicles.
A charge and discharge control circuit is designed, including a charge and discharge identification circuit, a main control circuit and a charge and discharge indication circuit. Through the interface identification signal and power supply signal, the charge and discharge indication circuit is controlled to enter the control mode to ensure that the charge and discharge load is in the charging or discharging state. lower security.
It improves the safety of charging and discharging loads during the charging and discharging process, avoids potential safety hazards caused by simultaneous discharge of the power supply grid and charging and discharging loads, and ensures the safety and stability of the charging and discharging process.
Smart Images

Figure CN118269738B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging piles, and in particular to a charging and discharging control circuit and a charging pile. Background Art
[0002] With the rapid development of new energy vehicles, charging piles play an important role in the popularization of new energy vehicles. At present, many new energy vehicles have a discharge function in order to meet more application scenarios. Generally, discharge is achieved through a dedicated charging pile with a discharge function. Therefore, the reliability, safety and intelligence of the charging pile in the discharge process are particularly important.
[0003] However, existing charging piles generally only provide simplified discharge guns to cope with temporary discharge, that is, they only provide discharge triggering, and are unable to perform discharge adjustment and monitor power parameters during discharge, which poses a great safety hazard to new energy vehicles and users. Summary of the invention
[0004] The embodiments of the present invention provide a charge and discharge control circuit and a charging pile to solve the problem of poor safety of existing charging piles.
[0005] A charge and discharge control circuit, comprising a charge and discharge identification circuit, a first power supply circuit, a main control circuit and a charge and discharge indication circuit;
[0006] The input end of the charge and discharge identification circuit is used to connect to the power grid interface and / or the power load interface, and the output end of the charge and discharge identification circuit is connected to the main control circuit, used to identify the power grid interface and / or the power load interface, and output an interface identification signal to the main control circuit;
[0007] The charge-discharge indication circuit is used to connect the charge-discharge load, and is used to output a discharge indication signal to control the charge-discharge load to enter a discharge state in a default mode; in a control mode, output the discharge indication signal to control the charge-discharge load to enter a discharge state, or output a charge indication signal to control the charge-discharge load to enter a charge state;
[0008] The input end of the first power taking circuit is used to connect to the charge and discharge load, and the output end of the first power taking circuit is connected to the main control circuit, and is used to output a power supply signal to the main control circuit when the charge and discharge load is in a discharge state;
[0009] The main control circuit is connected to the first power supply circuit and the charge and discharge indication circuit, and is used to control the charge and discharge indication circuit to enter a control mode according to the interface identification signal and the power supply signal.
[0010] Furthermore, the charge and discharge control circuit also includes a second power extraction circuit;
[0011] The input end of the second power supply circuit is used to connect to the grid interface, and the output end of the second power supply circuit is connected to the main control circuit, and is used to perform voltage conversion on the voltage signal output by the grid interface and output the power supply signal to the main control circuit.
[0012] Furthermore, the main control circuit is also used to:
[0013] Entering a working mode according to the power supply signal;
[0014] In the working mode, determining the interface type corresponding to the interface identification signal;
[0015] If the interface type is a grid interface, controlling the charge and discharge indication circuit to output the charge indication signal;
[0016] If the interface type is a power load interface, controlling the charge and discharge indication circuit to output the discharge indication signal;
[0017] If the interface type is a power grid interface and a power load interface, the charge and discharge indication circuit is controlled to output a charge indication signal or a discharge indication signal according to a preset control logic.
[0018] Furthermore, the first power taking circuit includes a first AC / DC conversion circuit, and the second power taking circuit includes a second AC / DC conversion circuit; the charge and discharge control circuit also includes a balancing resistance circuit;
[0019] The input end of the first AC / DC conversion circuit is used to connect to a charging and discharging load, and the output end of the first AC / DC conversion circuit is connected to the main control circuit;
[0020] The input end of the second AC / DC conversion circuit is used to connect to the grid interface, and the output end of the second power taking circuit is connected to the main control circuit;
[0021] The first end of the balancing resistance circuit is connected to the output end of the first AC / DC conversion circuit, and the second end of the balancing resistance circuit is connected to the output end of the second AC / DC conversion circuit.
[0022] Further, the interface identification signal includes a resistor voltage division signal; the charge and discharge identification circuit includes a voltage division resistor circuit;
[0023] The first end of the voltage-dividing resistor circuit is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit is used to connect to the power grid interface, and the connection node between the voltage-dividing resistor circuit and the power grid interface is connected to the main control circuit;
[0024] Alternatively, the first end of the voltage-dividing resistor circuit is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit is used to connect to the power load interface, and the connection node between the voltage-dividing resistor circuit and the power load interface is connected to the main control circuit.
[0025] Further, the charge and discharge indication circuit includes a first switch circuit, a first resistance circuit and a second resistance circuit;
[0026] The first end of the first switch circuit is used to connect the charge and discharge load, the second end of the first switch circuit is grounded, the third end of the first switch circuit is connected to the first end of the first resistance circuit, the fourth end of the first switch circuit is connected to the second end of the first resistance circuit, the fifth end of the first switch circuit is connected to the first end of the second resistance circuit, and the sixth end of the first switch circuit is connected to the second end of the second resistance circuit; the control end of the first switch circuit is connected to the main control circuit;
[0027] In the default mode, the first switch circuit conducts the charge and discharge load, the first resistance circuit and the ground;
[0028] In the control mode, the first switch circuit conducts the charge-discharge load, the first resistance circuit, and the ground, or the first switch circuit conducts the charge-discharge load, the second resistance circuit, and the ground.
[0029] Furthermore, the charge and discharge control circuit also includes a current sampling circuit, a voltage sampling circuit, a metering circuit and a switch control circuit;
[0030] The first end of the switch control circuit is connected to the grid interface or the power load interface, and the second end of the switch control circuit is connected to the charging and discharging load;
[0031] The current sampling circuit is arranged in series between the first end of the switch control circuit and the grid interface or the power load interface, and is connected to the metering circuit for collecting charging and discharging current signals;
[0032] The input end of the voltage sampling circuit is connected to the grid interface or the power load interface, and the output end of the voltage sampling circuit is connected to the metering circuit, for collecting charging and discharging voltage signals;
[0033] The metering circuit is connected to the main control circuit and is used to output a charge and discharge metering signal according to the charge and discharge current signal and the charge and discharge voltage signal;
[0034] The main control circuit is connected to the switch control circuit and is used to control the switch control circuit to be turned on or off according to the charge and discharge measurement signal.
[0035] Furthermore, the current sampling circuit includes a current sampling chip and a filter circuit;
[0036] The current sampling chip is arranged in series between the first end of the switch control circuit and the grid interface or the power load interface, and the output end of the current sampling chip is used to output a zero-sequence current signal, a leakage current signal and a power current signal;
[0037] The filter circuit is connected to the output end of the current sampling chip and the main control circuit, and is used to filter the zero-sequence current signal, the leakage current signal and the power current signal, and output the charge and discharge current signal.
[0038] Furthermore, the charge and discharge control circuit also includes a control guidance circuit;
[0039] The main control circuit is also used to output a first control guidance signal according to the charge and discharge measurement signal;
[0040] The control guidance circuit is connected to the main control circuit and the charge and discharge load, and is used to output a second control guidance signal to the charge and discharge load according to the first control guidance signal.
[0041] A charging pile comprises the above-mentioned charging and discharging control circuit.
[0042] The above-mentioned charge and discharge control circuit and charging pile, the charge and discharge control circuit, includes a charge and discharge identification circuit, a first power extraction circuit, a main control circuit and a charge and discharge indication circuit. The input end of the charge and discharge identification circuit is used to connect the power grid interface and / or the power load interface, and the output end of the charge and discharge identification circuit is connected to the main control circuit to identify the power grid interface and / or the power load interface, and output the interface identification signal to the main control circuit; the charge and discharge indication circuit is used to connect the charge and discharge load, and is used to output the discharge indication signal to control the charge and discharge load to enter the discharge state in the default mode; in the control mode, the discharge indication signal is output to control the charge and discharge load to enter the discharge state, or the charge indication signal is output to control the charge and discharge load to enter the discharge state, or the charge indication signal is output to control the charge and discharge load to enter the discharge state. The discharge load enters the charging state; the input end of the first power-taking circuit is used to connect the charge-discharge load, and the output end of the first power-taking circuit is connected to the main control circuit, and is used to output a power supply signal to the main control circuit when the charge-discharge load is in the discharge state; the main control circuit is connected to the first power-taking circuit and the charge-discharge indication circuit, and is used to control the charge-discharge indication circuit to enter the control mode according to the interface identification signal and the power supply signal, so that the main control circuit enters the working mode through the power supply signal, and in the working mode, it is determined through the interface identification signal whether the charge-discharge indication circuit can be safely controlled to control the charge-discharge load to enter the charging state or the discharging state, thereby improving the safety of the charge-discharge load during the charging and discharging process. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0044] Figure 1 is a circuit diagram of a charge and discharge control circuit in one embodiment of the present invention;
[0045] Figure 2 is a circuit diagram of a charge and discharge identification circuit in one embodiment of the present invention;
[0046] Figure 3 is another circuit diagram of a charge and discharge control circuit in one embodiment of the present invention;
[0047] Figure 4 It is a circuit diagram of a charge and discharge indicating circuit and a control guiding circuit in one embodiment of the present invention;
[0048] Figure 5 is a circuit diagram of a current sampling circuit in one embodiment of the present invention;
[0049] Figure 6 is a circuit diagram of a voltage sampling circuit in one embodiment of the present invention;
[0050] Figure 7 is a circuit diagram of a metering circuit in one embodiment of the present invention;
[0051] Figure 8 FIG. 4 is a circuit diagram of a switch control circuit in an embodiment of the present invention.
[0052] In the figure: 1. charge and discharge identification circuit; 11. voltage-dividing resistor circuit; 2. first power supply circuit; 21. first AC / DC conversion circuit; 3. main control circuit; 4. charge and discharge indication circuit; 41. first switch circuit; 42. first resistor circuit; 43. second resistor circuit; 5. second power supply circuit; 51. second AC / DC conversion circuit; 6. balancing resistor circuit; 71. current sampling circuit; 711. filtering circuit; 72. voltage sampling circuit; 73. metering circuit; 74. switch control circuit; 8. control guidance circuit; 91. grid interface; 92. power load interface. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] It should be understood that the present invention can be implemented in different forms and should not be interpreted as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to make the disclosure thorough and complete and to fully convey the scope of the present invention to those skilled in the art.
[0055] In order to fully understand the present invention, detailed structures and steps will be presented in the following description to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below, but in addition to these detailed descriptions, the present invention may also have other implementations.
[0056] The present embodiment provides a charge and discharge control circuit, including a charge and discharge identification circuit 1, a first power supply circuit 2, a main control circuit 3 and a charge and discharge indication circuit 4; the input end of the charge and discharge identification circuit 1 is used to connect to the power grid interface 91 and / or the power load interface 92, and the output end of the charge and discharge identification circuit 1 is connected to the main control circuit 3, used to identify the power grid interface 91 and / or the power load interface 92, and output the interface identification signal to the main control circuit 3; the charge and discharge indication circuit 4 is used to connect to the charge and discharge load, and is used to output a discharge indication signal to control the charge and discharge load to enter a discharge state in a default mode; in a control mode, the discharge indication signal is output to control the charge and discharge load to enter a discharge state, or the charge indication signal is output to control the charge and discharge load to enter a charging state; the input end of the first power supply circuit 2 is used to connect to the charge and discharge load, and the output end of the first power supply circuit 2 is connected to the main control circuit 3, and is used to output a power supply signal to the main control circuit 3 when the charge and discharge load is in a discharge state; the main control circuit 3 is connected to the first power supply circuit 2 and the charge and discharge indication circuit 4, and is used to control the charge and discharge indication circuit 4 to enter a control mode according to the interface identification signal and the power supply signal.
[0057] The grid interface 91 is used to connect to the power grid. The power load interface 92 is used to connect to the power load, such as household loads, including televisions, air conditioners, and refrigerators. The charge-discharge load is a load with charge-discharge functions, such as new energy vehicles.
[0058] As an example, the charge and discharge identification circuit 1 outputs an interface identification signal to the main control circuit 3 through the power grid interface 91 and / or the power load interface 92, so that the main control circuit 3 determines whether to control the charge and discharge load to charge or discharge. For example, when the power supply grid is connected, the charge and discharge load is controlled to charge to avoid the power supply grid and the charge and discharge load from discharging at the same time, causing safety hazards. When the power load is connected, the charge and discharge load is controlled to discharge, so as to supply power to the power load through the charge and discharge load, so as to supply power to the power load through the charge and discharge load. When the power supply grid and the power load are connected at the same time, the charge and discharge load is controlled to charge or discharge through the preset power supply logic. Optionally, the preset power supply logic can be based on the power value of the charge and discharge load and the power consumption of the power load, as well as the power consumption peak of the power supply grid, to control the charge and discharge load to charge or discharge. For example, when the power supply grid is at a peak power consumption, and the power value of the charge and discharge load meets the power consumption of the power load, the charge and discharge load is controlled to discharge to save costs.
[0059] As an example, when the charging and discharging interface of the charging pile is connected to the charging and discharging load, the charging and discharging indication circuit 4 is in the default mode when the main control circuit 3 is not powered on, and the output discharge indication signal controls the charging and discharging load to enter the discharge state. In this way, the input end of the first power-taking circuit 2 takes power from the charging and discharging load, and outputs a power supply signal to the main control circuit 3, which is used to power the main control circuit 3 so that the main control circuit 3 starts normally and enters the working state. When the main control circuit 3 enters the working state, the charging and discharging indication circuit 4 can enter the control mode under the control of the main control circuit 3, output the discharge indication signal to control the charging and discharging load to enter the discharge state, or output the charging indication signal to control the charging and discharging load to enter the charging state, so as to ensure the safety during the charging and discharging process. It can be understood that the charging and discharging indication circuit 4 can also enter the control mode under other circuit modules. For example, the charging and discharging indication circuit 4 is connected to the client through the communication module, and the user manually switches the charging and discharging indication circuit 4 to enter the control mode through the client.
[0060] As an example, the main control circuit 3 controls the charge and discharge indication circuit 4 to enter the control mode according to the interface identification signal and the power supply signal. Exemplarily, the main control circuit 3 enters the working mode through the power supply signal according to the interface identification signal and the power supply signal, and determines whether the charge and discharge load can be safely controlled to enter the charging state or the discharging state through the charge and discharge indication circuit 4 in the working mode through the interface identification signal, thereby improving the safety of the charge and discharge load during the charging and discharging process.
[0061] In this embodiment, when the user uses the charging pile, when the charging and discharging load mistakenly triggers the discharge function, and the charging pile is connected to the power supply grid, the power supply grid and the charging and discharging load discharge at the same time, which is likely to cause serious safety hazards. Therefore, in this embodiment, the input end of the charge and discharge identification circuit 1 is used to connect the power grid interface 91 and / or the power load interface 92, and the output end of the charge and discharge identification circuit 1 is connected to the main control circuit 3 for identifying the power grid interface 91 and / or the power load interface 92, and outputting the interface identification signal to the main control circuit 3; the charge and discharge indication circuit 4 is used to connect the charge and discharge load, and is used to output the discharge indication signal to control the charge and discharge load to enter the discharge state in the default mode; in the control mode, the discharge indication signal is output to control the charge and discharge load to enter the discharge state, or the charging indication signal is output to control the charge and discharge load to enter the charging state; the input of the first power supply circuit 2 The end is used to connect the charging and discharging load, and the output end of the first power-taking circuit 2 is connected to the main control circuit 3, and is used to output a power supply signal to the main control circuit 3 when the charging and discharging load is in a discharging state; the main control circuit 3 is connected to the first power-taking circuit 2 and the charging and discharging indication circuit 4, and is used to control the charging and discharging indication circuit 4 to enter a control mode according to an interface identification signal and a power supply signal, so that the main control circuit 3 enters a working mode through a power supply signal, and in the working mode, it is determined through an interface identification signal whether the charging and discharging load can be safely controlled to enter a charging state or a discharging state through the charging and discharging indication circuit 4, thereby improving the safety of the charging and discharging load during the charging and discharging process.
[0062] In one embodiment, the charge and discharge control circuit also includes a second power supply circuit 5; the input end of the second power supply circuit 5 is used to connect to the power grid interface 91, and the output end of the second power supply circuit 5 is connected to the main control circuit 3, and is used to perform voltage conversion on the voltage signal output by the power grid interface 91, and output the power supply signal to the main control circuit 3.
[0063] In this embodiment, when the charge and discharge control circuit is first connected to the power supply grid, the main control circuit 3 enters the working mode through the power supply signal output by the second power circuit 5. At this time, the main control circuit 3 can directly output the charging indication signal through the charge and discharge indication circuit 4. When the charge and discharge interface P3 of the charging column is connected to the charge and discharge load, the charge and discharge load is directly controlled to enter the charging mode. Alternatively, when the charge and discharge control circuit is first connected to the power supply grid and the power load, the control circuit enters the working mode through the power supply signal output by the second power circuit 5. At this time, the main control circuit 3 determines whether the charge and discharge load enters the charging state or the discharging state according to the power consumption peak of the power supply grid and the power consumption of the power load, so as to avoid the power supply grid and the charge and discharge load from discharging at the same time when the charge and discharge load is connected, thereby improving the safety during the charge and discharge process.
[0064] In one embodiment, the main control circuit 3 is also used to enter the working mode according to the power supply signal; in the working mode, determine the interface type corresponding to the interface identification signal; if the interface type is the power grid interface 91, control the charge and discharge indication circuit 4 to output the charge indication signal; if the interface type is the power load interface 92, control the charge and discharge indication circuit 4 to output the discharge indication signal. Further, if the interface type is the power grid interface 91 and the power load interface 92, the charge and discharge indication circuit 4 is controlled to output the charge indication signal or the discharge indication signal according to the preset control logic.
[0065] In this embodiment, the main control circuit 3 determines whether the charging and discharging load can safely enter the charging state or the discharging state according to the interface type to ensure the safety during the charging and discharging process, and when the power grid interface 91 and the power load interface 92 are simultaneously connected, the charging and discharging indication circuit 4 is controlled according to the preset control logic to output a charging indication signal or a discharging indication signal to ensure that the charging and discharging load is charged and discharged at the appropriate time, such as charging during peak power consumption, discharging during low power consumption, or discharging when the power supply of the power grid is unstable, so as to improve the energy utilization rate of the power supply grid and the charging and discharging load and the stability of power supply to the power load.
[0066] In one embodiment, the first power supply circuit 2 includes a first AC / DC conversion circuit 21 (PW1), and the second power supply circuit 5 includes a second AC / DC conversion circuit 51 (PW2); the charge and discharge control circuit also includes a balancing resistor circuit 6; the input end of the first AC / DC conversion circuit 21 is used to connect the charge and discharge load, and the output end of the first AC / DC conversion circuit 21 is connected to the main control circuit 3; the input end of the second AC / DC conversion circuit 51 is used to connect the power grid interface 91, and the output end of the second power supply circuit 5 is connected to the main control circuit 3; the first end of the balancing resistor circuit 6 is connected to the output end of the first AC / DC conversion circuit 21, and the second end of the balancing resistor circuit 6 is connected to the output end of the second AC / DC conversion circuit 51.
[0067] As an example, Figure 3 As shown, capacitors C11 and EC1 are connected in parallel between the first output terminal VO+ and the second output terminal VO- of the first AC / DC conversion circuit 21. Capacitors C12 and EC2 are connected in parallel between the first output terminal VO+ and the second output terminal VO- of the second AC / DC conversion circuit 51. The power supply VCC_12V is used to output a power supply signal to the main control circuit 3.
[0068] In this embodiment, the first AC / DC conversion circuit 21 is used to convert the AC voltage signal output by the charge and discharge load into a DC power supply signal, and the second AC / DC conversion circuit 51 is used to convert the AC voltage signal output by the power supply grid so that the main control circuit 3 starts normally according to the power supply signal and enters the working mode. The first end of the balancing resistor circuit 6 is connected to the output end of the first AC / DC conversion circuit 21, and the balancing resistor circuit 6 is used to balance the accuracy deviation of the power supply signal output by the first AC / DC conversion circuit 21 and the second AC / DC conversion circuit. Optionally, the balancing resistor circuit 6 includes at least one resistor, and the resistance value presented by the balancing resistor circuit 6 can be set according to actual experience, which is not limited here.
[0069] In one embodiment, if Figure 2 As shown, the interface identification signal includes a resistor voltage-dividing signal; the charge-discharge identification circuit 1 includes a voltage-dividing resistor circuit 11; the first end of the voltage-dividing resistor circuit 11 is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit 11 is used to connect to the power grid interface 91, and the connection node between the voltage-dividing resistor circuit 11 and the power grid interface 91 is connected to the interface signal end Made_AD of the main control circuit 3; or, the first end of the voltage-dividing resistor circuit 11 is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit 11 is used to connect to the power load interface 92, and the connection node between the voltage-dividing resistor circuit 11 and the power load interface 92 is connected to the interface signal end Made_AD of the main control circuit 3.
[0070] Optionally, the first power supply end is a DC 3.3V power supply end.
[0071] As an example, Figure 2 As shown, the grid interface 91 or the power load interface 92 is connected to the charge and discharge identification circuit 1 via the interface P1.
[0072] As an example, the grid interface 91 is provided with a grid interface 91 resistor. When the grid interface 91 is connected to the charge and discharge identification circuit 1, the grid interface 91 resistor and the voltage divider resistor circuit 11 form a first voltage divider circuit, which outputs a first voltage divider signal to the main control circuit 3, so that the main control circuit 3 identifies that the grid interface 91 is connected according to the first voltage divider signal.
[0073] As another example, the power load interface 92 is provided with a power load interface 92 resistor. When the power load interface 92 is connected to the charge and discharge identification circuit 1, the power load interface 92 resistor and the voltage divider resistor circuit 11 form a second voltage divider circuit, which outputs a second voltage divider signal to the main control circuit 3, so that the main control circuit 3 identifies that the power grid interface 91 is connected according to the second voltage divider signal.
[0074] It can be understood that two voltage-dividing resistor identification circuits can be provided in the charge-discharge identification circuit 1 to identify the grid interface 91 and the power load interface 92 respectively.
[0075] In this embodiment, by including a voltage-dividing resistor circuit 11 in the charge and discharge identification circuit 1, a voltage-dividing circuit is formed by the voltage-dividing resistor circuit 11 and the resistor in the power grid interface 91 or the power load interface 92, and a corresponding voltage-dividing signal is generated by the voltage-dividing circuit, so that the main control circuit 3 can identify the power grid interface 91 or the power load interface 92 according to different voltage-dividing signals, thereby improving the accuracy of identifying the power grid interface 91 or the power load interface 92.
[0076] In one embodiment, if Figure 4 As shown, the charge and discharge indication circuit 4 includes a first switch circuit 41, a first resistor circuit 42 and a second resistor circuit 43; the first end of the first switch circuit 41 is used to connect the charge and discharge load, the second end of the first switch circuit 41 is grounded, the third end of the first switch circuit 41 is connected to the first end of the first resistor circuit 42, the fourth end of the first switch circuit 41 is connected to the second end of the first resistor circuit 42, the fifth end of the first switch circuit 41 is connected to the first end of the second resistor circuit 43, and the sixth end of the first switch circuit 41 is connected to the second end of the second resistor circuit 43; the control end of the first switch circuit 41 is connected to the main control circuit 3; in the default mode, the first switch circuit 41 turns on the charge and discharge load, the first resistor circuit 42 and the ground; in the control mode, the first switch circuit 41 turns on the charge and discharge load, the first resistor circuit 42 and the ground, or the first switch circuit 41 turns on the charge and discharge load, the second resistor circuit 43 and the ground.
[0077] As an example, the first switch circuit 41 includes a first relay K1 and a second transistor Q2; the first relay K1 includes a first moving contact, a second moving contact, a first normally closed contact, a second normally closed contact, a first normally open contact and a second normally open contact; the first moving contact and the first normally closed contact are arranged between the first end of the first resistor circuit 42 and the ground; the second moving contact and the second normally closed contact are arranged between the second end of the first resistor circuit 42 and the charging and discharging load; the first normally open contact and the second normally open contact are respectively connected to the first end of the second resistor circuit 43 and the second end of the second resistor circuit 43; the coil of the first relay K1 is arranged in series between the second power supply terminal VCC_12V and the first end of the second transistor Q2, the second end of the second transistor Q2 is grounded, and the third end of the second transistor Q2 is connected to the first control terminal Relay_Switch of the main control circuit 3.
[0078] The second transistor Q2 may be a bipolar transistor or a field effect transistor. Exemplarily, the first end of the second transistor Q2 is a collector or a source, the second end of the second transistor Q2 is an emitter or a drain, and the third end of the second transistor Q2 is a base or a gate. The second moving contact is used to connect to the CC_OUT end of the charge and discharge interface P3 for connecting a charge and discharge load.
[0079] As an example, the first relay K1 includes a first switch and a second switch. When a discharge indication signal needs to be generated, the first switch of the first relay K1 connects the first moving contact and the first normally closed contact, and the second switch connects the second moving contact and the second normally closed contact, and conducts the charge-discharge load, the first resistor circuit 42 and the ground, thereby indicating that the charge-discharge load enters a discharge state according to the resistance value of the first resistor circuit 42 after conduction. When a charge indication signal needs to be generated, the first switch of the first relay K1 connects the first moving contact and the first normally open contact, and the second switch connects the second moving contact and the second normally open contact, and conducts the charge-discharge load, the second resistor circuit 43 and the ground, thereby indicating that the charge-discharge load enters a charging state according to the resistance value of the second resistor circuit 43 after conduction.
[0080] In this embodiment, when it is necessary to generate a discharge indication signal, the main control circuit 3 outputs a discharge control signal to control the second transistor Q2 to be disconnected, the coil of the first relay K1 is not energized, the first switch connects the first moving contact and the first normally closed contact, the second switch connects the second moving contact and the second normally closed contact, and the charge and discharge load, the first resistor circuit 42 and the ground are turned on. When it is necessary to generate a charging indication signal, the main control circuit 3 outputs a charging control signal to control the second transistor Q2 to be turned on, the coil of the first relay K1 is energized, the first switch connects the first moving contact and the first normally open contact, the second switch connects the second moving contact and the second normally open contact, and the charge and discharge load, the second resistor circuit 43 and the ground are turned on. Exemplarily, the discharge control signal is a low-level signal, and the charging control signal is a high-level signal.
[0081] Further, the first switch circuit 41 also includes a resistor R28 and a resistor R30. The resistor R20 and the resistor R30 are arranged in series between the main control circuit 3 and the ground DGND, and the connection node between the resistor R28 and the resistor R30 is connected to the third end of the second transistor Q2, which is used to drive the second transistor Q2 to be turned on or off. Further, the first switch circuit 41 also includes a first diode D1, the anode of the first diode D1 is connected to the first end of the second transistor Q2, and the cathode of the second diode D2 is connected to the second power supply terminal VCC_12V.
[0082] As an example, the first resistance circuit 42 includes a resistor R20 and a resistor R23 connected in series. The second resistance circuit 43 includes a resistor R21 and a resistor R24 connected in series. The charge and discharge control circuit also includes a mechanical switch connected to the mechanical switch via a connection terminal P2. The connection node between the resistor R20 and the resistor R23, and the connection node between the resistor R21 and the resistor R24, are connected to the first end KEY_S3 of the connection terminal P2, and the second end of the connection terminal P2 is grounded.
[0083] In one embodiment, if Figure 5-8 As shown, the charge and discharge control circuit also includes a current sampling circuit 71, a voltage sampling circuit 72, a metering circuit 73 and a switch control circuit 74; the first end of the switch control circuit 74 is connected to the power grid interface 91 or the power load interface 92, and the second end of the switch control circuit 74 is connected to the charge and discharge load; the current sampling circuit 71 is arranged in series between the first end of the switch control circuit 74 and the power grid interface 91 or the power load interface 92, and is connected to the metering circuit 73 for collecting the charge and discharge current signal; the input end of the voltage sampling circuit 72 is connected to the power grid interface 91 or the power load interface 92, and the output end of the voltage sampling circuit 72 is connected to the metering circuit 73 for collecting the charge and discharge voltage signal; the metering circuit 73 is connected to the main control circuit 3, and is used to output the charge and discharge metering signal according to the charge and discharge current signal and the charge and discharge voltage signal; the main control circuit 3 is connected to the switch control circuit 74, and is used to control the switch control circuit 74 to be turned on or off according to the charge and discharge metering signal.
[0084] The charge and discharge current signal includes a zero-sequence current signal, a power current signal and a leakage current signal. The charge and discharge voltage signal includes a charge voltage signal and a discharge voltage signal. The charge and discharge metering signal is a digital signal obtained by performing analog-to-digital conversion on the charge and discharge current signal and the charge and discharge voltage signal.
[0085] In this embodiment, the main control circuit 3 determines whether the current charging and discharging is abnormal according to the charge and discharge metering signal. When the charging and discharging is abnormal, the switch control circuit 74 is controlled to be disconnected to improve the safety line in the charge and discharge control process. Exemplarily, the main control circuit 3 determines whether there is a current abnormality according to the charge and discharge current signal in the charge and discharge metering signal, and determines whether there is a voltage abnormality according to the charge and discharge voltage signal in the charge and discharge metering signal. It can be understood that the specific judgment logic can adopt the judgment logic known to those skilled in the art, which will not be repeated here.
[0086] Further, the voltage sampling circuit 72 includes a voltage transformer PT1. A first end of the voltage transformer PT1 is connected to a phase line connection terminal L_Vol of a power grid interface 91 through a resistor R14 and a resistor R15 arranged in series, a second end of the voltage transformer PT1 is connected to a neutral line connection terminal N_Vol of the power grid interface 91 through a resistor R12 and a resistor R11 arranged in series, a third end of the voltage transformer PT1 is connected to a voltage collection terminal VP of a metering circuit 73 through a resistor R10, a first end of the resistor R10 is grounded through a resistor R13, a second end of the resistor R10 is grounded through a capacitor C5, and a fourth end of the voltage transformer PT1 is grounded.
[0087] Further, the metering circuit 73 includes a resistor R16, a resistor R17, a capacitor C6, a capacitor C7 and a metering chip U2;
[0088] Among them, the VDD end of the metering chip U2 is connected to a 3.3V power supply, and the two ends of the capacitor C6 and the capacitor C7 are connected to the 3.3V power supply and the ground respectively. The capacitor C6 and the capacitor C7 are used as the decoupling and energy storage capacitors of the metering chip U2 respectively; the current acquisition end (IP1, IN2) of the metering chip U2 is connected to the current sampling circuit 71. The voltage acquisition end VP of the metering chip U2 is connected to the voltage sampling circuit 72; the GND end of the metering chip U2 is grounded; the TX / SDO end of the metering chip U2 is connected to one end of the resistor R16, and the other end of the resistor R16 is connected to the 3.3V power supply. The TX / SDO end of the metering chip U2 is connected to the first communication end TX_Vol of the main control circuit 3, the RX / SDI end of the metering chip U2 is connected to one end of the resistor R17, and the other end of the resistor R17 is connected to the 3.3V power supply. The RX / SDI end of the metering chip U2 is also connected to the second communication end RX_Vol of the main control circuit 3. Among them, the SCLK terminal, SEL (VPP) terminal and CF terminal of the metering chip U2 can be connected according to actual needs and are not limited here.
[0089] Furthermore, if Figure 8 As shown, the switch control circuit 74 includes a second relay RL1 and a third transistor Q3, and the second relay RL1 includes a third moving contact, a third normally closed contact, a fourth moving contact and a fourth normally closed contact; the third moving contact and the third normally closed contact are arranged between the first output terminal L_CH_Power and the phase line output terminal L_OUT of the current sampling circuit 71, and the fourth moving contact and the fourth normally closed contact are arranged between the second output terminal N_CH_Power and the neutral line output terminal N_OUT of the current sampling circuit 71. The coil of the second relay RL1 is arranged in series between the power supply VCC_12V and the first end of the third transistor Q3, the second end of the third transistor Q3 is grounded, and the third end of the third transistor Q3 is connected to the second control terminal Relay_Col_02 of the main control circuit 3.
[0090] The third transistor Q3 may be a bipolar transistor or a field effect transistor. Exemplarily, the first end of the third transistor Q3 is a collector or a source, the second end of the third transistor Q3 is an emitter or a drain, and the third end of the third transistor Q3 is a base or a gate.
[0091] As an example, when the main control circuit 3 determines that the charging and discharging is normal according to the charging and discharging metering signal, the third transistor Q3 is controlled to be disconnected, the coil of the second relay RL1 is not energized, the third moving contact and the third normally closed contact are turned on, and the fourth moving contact and the fourth normally closed contact are turned on, so that the power supply grid and the charging and discharging load are normally connected to achieve normal charging and discharging. It can be understood that the phase line output terminal L_OUT and the neutral line output terminal N_OUT are used to connect the charging and discharging load. When the main control circuit 3 determines that the charging and discharging is abnormal according to the charging and discharging metering signal, the third transistor Q3 is controlled to be turned on, the coil of the second relay RL1 is energized, the third moving contact and the third normally closed contact are disconnected, and the fourth moving contact and the fourth normally closed contact are disconnected, so as to disconnect the power supply grid and the charging and discharging load, realize the abnormal protection of charging and discharging, and ensure the safety during the charging and discharging process.
[0092] Further, the switch control circuit 74 also includes a resistor R32 and a resistor R33. The resistor R32 and the resistor R33 are arranged in series between the main control circuit 3 and the ground DGND, and the connection node between the resistor R32 and the resistor R33 is connected to the third end of the third transistor Q3, which is used to drive the third transistor Q3 to be turned on or off. Further, the switch control circuit 74 also includes a second diode D2, the anode of the second diode D2 is connected to the first end of the third transistor Q3, and the cathode of the second diode D2 is connected to the power supply VCC_12V.
[0093] In one embodiment, if Figure 5 As shown, the current sampling circuit 71 includes a current sampling chip U1 and a filter circuit 711; the current sampling chip U1 is arranged in series between the first end of the switch control circuit 74 and the grid interface 91 or the power load interface 92, and the output end of the current sampling chip U1 is used to output a zero-sequence current signal, a leakage current signal and a power current signal; the filter circuit 711 is connected to the output end of the current sampling chip U1 and the main control circuit 3, and is used to filter the zero-sequence current signal, the leakage current signal and the power current signal, and output the charge and discharge current signal.
[0094] The current sampling chip U1 is a chip capable of collecting zero-sequence current signals, leakage current signals and power current signals.
[0095] As an example, the N_I terminal of the current sampling chip U1 and the first input terminal N-Vol line of the current sampling circuit 71 are used for the neutral line input terminal N_IN, and the N_O terminal of the current sampling chip U1 is electrically connected to the second output terminal N_CH_Power of the current sampling circuit 71 to form a zero-sequence current acquisition loop. The L_I terminal of the current sampling chip U1 and the second input terminal LVol line of the current sampling circuit 71 are used for the phase line input terminal L_IN, and the L_O terminal of the current sampling chip U1 is electrically connected to the first output terminal L_CH_Power of the current sampling circuit 71 to form a zero-sequence current and power current acquisition loop.
[0096] Among them, the TRTP end of the current sampling chip U1 is connected to one end of the resistor R6, and the other end of the resistor R6 is connected to the EV_TRPR end. The EV_TRPR end is the current sensor action end in the current sampling chip U1. When the leakage current exceeds the preset threshold, a high level is output to the first I / O port of the main control circuit 3 as a leakage abnormality signal.
[0097] Among them, the ERROR end of the current sampling chip U1 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to the EV_Error end. The EV_Error end is the current sensor fault output end in the current sampling chip U1. When a system error occurs, a high level is output to the second I / O port of the main control circuit 3 as a current sensor fault signal.
[0098] Among them, the CLR&CLK end of the current sampling chip U1 is connected to one end of the resistor R1, and the other end of the resistor R1 is electrically connected to the VCC_+5V power supply. The CLR&CLK end of the current sampling chip U1 is also connected to the first end of the first transistor Q1, and the second end of the first transistor Q1 is grounded. The third end of the first transistor Q1 is connected to one end of the resistor R5, and the other end of the resistor R5 is grounded. The third end of the first transistor Q1 is also connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the EV_CLR&CLK end. The EV_CLR&CLK end is a sensor calibration and self-test end. The EV_CLR&CLK end is connected to the third I / O port of the main control circuit 3. The current sampling chip U1 is calibrated regularly to ensure sampling accuracy.
[0099] Among them, the GND terminal of the current sampling chip U1 is connected to the system ground DGND;
[0100] Among them, the VDD end of the current sampling chip U1 is connected to one end of the resistor R2, the other end of the resistor R2 is connected to the VCC_+5V power supply, the VCC_+5V power supply is connected to one end of the capacitor C1 and the capacitor C2, and the leading end of the capacitor C1 and the capacitor C2 is connected to the system ground DGND to supply power to the current sampling chip U1 and ensure the stability and accuracy of the power supply.
[0101] Among them, the IPA+ terminal of the current sampling chip U1 is connected to the first input terminal of the filter circuit 711, the INA- terminal of the current sampling chip U1 is connected to the second input terminal of the filter circuit 711, the first output terminal of the filter circuit 711 is connected to the IP1 terminal of the current collection terminal of the metering circuit 73, and the second output terminal of the filter circuit 711 is connected to the IN2 terminal of the current collection terminal.
[0102] As an example, the filter circuit 711 includes a resistor R7, a resistor R8, a resistor R9, a capacitor C3, a capacitor C4 and a surge diode TVS1. One end of the resistor R7 is connected to the IPA+ terminal of the current sampling chip U1, the other end of the resistor R7 is connected to one end of the capacitor C3, the other end of the capacitor C3 is connected to the system ground, and the other end of the resistor R7 is also connected to the IP1 terminal of the current acquisition terminal; one end of the resistor R9 is connected to the INA- terminal of the current sampling chip U1, the other end of the resistor R9 is connected to one end of the capacitor C4, the other end of the capacitor C4 is connected to the system ground, and the other end of the resistor R9 is also connected to the IN2 terminal of the current acquisition terminal, and the two ends of the resistor R8 and the surge diode TVS1 are respectively connected between the IPA+ terminal and the INA- terminal of the current sampling chip U1.
[0103] In one embodiment, if Figure 4 As shown, the charge and discharge control circuit also includes a control guidance circuit 8; the main control circuit 3 is also used to output a first control guidance signal according to the charge and discharge metering signal; the control guidance circuit 8 is connected to the main control circuit 3 and the charge and discharge load, and is used to output a second control guidance signal to the charge and discharge load according to the first control guidance signal.
[0104] As an example, Figure 4 As shown, the charge and discharge control circuit also includes a control guide circuit 8, which includes a resistor R19, a resistor R25, a resistor R26, a resistor R27, a resistor R29, a resistor R31, a capacitor C9, a diode D3 and an operational amplifier U3B. Figure 4 As shown, the resistor R25 and the resistor R27 are arranged in series between the guidance control terminal MCU_PWM and the ground terminal DGND of the main control circuit 31, and the connection node between the resistor R25 and the resistor R27 is connected to the in-phase input terminal of the operational amplifier U3B, which is used to receive the first control guidance signal, and the reverse input terminal of the operational amplifier U3B is grounded through the resistor R31, and is connected to the output terminal of the operational amplifier U3B through the resistor R29, and the output terminal of the operational amplifier U3B is connected to the anode of the diode D3 through the resistor R26, and the cathode of the diode D3 is used to connect the CP_OUT terminal of the charge and discharge interface P3 of the charge and discharge load, which is used to output the second control guidance signal. The guidance signal acquisition terminal CP_PWM of the main control circuit 3 is connected to the anode of the diode D3 through the resistor R19, and is grounded through the capacitor C9, which is used to control the recovery of the guidance signal.
[0105] In this embodiment, the main control circuit 3 is also used to output a first control guide signal according to the charge and discharge metering signal; the control guide circuit 8 is connected to the main control circuit 3 and the charge and discharge load, and is used to output a second control guide signal to the charge and discharge load according to the first control guide signal, so as to control the charge and discharge power of the charge and discharge load through the second control guide signal to ensure safety during the charge and discharge process.
[0106] This embodiment provides a charging pile, including the above-mentioned charging and discharging control circuit.
[0107] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A charge and discharge control circuit, characterized in that: It includes a charge and discharge identification circuit, a first power supply circuit, a main control circuit and a charge and discharge indication circuit; The input end of the charge and discharge identification circuit is used to connect to the power grid interface and / or the power load interface, and the output end of the charge and discharge identification circuit is connected to the main control circuit, used to identify the power grid interface and / or the power load interface, and output an interface identification signal to the main control circuit; The charge-discharge indication circuit is used to connect the charge-discharge load, and is used to output a discharge indication signal to control the charge-discharge load to enter a discharge state in a default mode; in a control mode, output the discharge indication signal to control the charge-discharge load to enter a discharge state, or output a charge indication signal to control the charge-discharge load to enter a charge state; The input end of the first power taking circuit is used to connect the charge and discharge load, and the output end of the first power taking circuit is connected to the main control circuit, and is used to output a power supply signal to the main control circuit when the charge and discharge load is in a discharge state; the power supply signal is used to supply power to the main control circuit, so that the main control circuit starts normally and enters a working state; The main control circuit is connected to the first power supply circuit and the charge and discharge indication circuit, and is used to control the charge and discharge indication circuit to enter a control mode according to the interface identification signal and the power supply signal.
2. The charge and discharge control circuit according to claim 1, characterized in that: The charge and discharge control circuit also includes a second power extraction circuit; The input end of the second power supply circuit is used to connect to the grid interface, and the output end of the second power supply circuit is connected to the main control circuit, and is used to perform voltage conversion on the voltage signal output by the grid interface and output the power supply signal to the main control circuit.
3. The charge and discharge control circuit according to claim 1, characterized in that: The main control circuit is also used to: Entering a working mode according to the power supply signal; In the working mode, determining the interface type corresponding to the interface identification signal; If the interface type is a grid interface, controlling the charge and discharge indication circuit to output the charge indication signal; If the interface type is a power load interface, controlling the charge and discharge indication circuit to output the discharge indication signal; If the interface type is a power grid interface and a power load interface, the charge and discharge indication circuit is controlled to output a charge indication signal or a discharge indication signal according to a preset control logic.
4. The charge and discharge control circuit according to claim 2, characterized in that: The first power taking circuit includes a first AC / DC conversion circuit, and the second power taking circuit includes a second AC / DC conversion circuit; the charge and discharge control circuit also includes a balancing resistance circuit; The input end of the first AC / DC conversion circuit is used to connect to a charging and discharging load, and the output end of the first AC / DC conversion circuit is connected to the main control circuit; The input end of the second AC / DC conversion circuit is used to connect to the grid interface, and the output end of the second power taking circuit is connected to the main control circuit; The first end of the balancing resistance circuit is connected to the output end of the first AC / DC conversion circuit, and the second end of the balancing resistance circuit is connected to the output end of the second AC / DC conversion circuit.
5. The charge and discharge control circuit according to claim 1, characterized in that: The interface identification signal includes a resistor voltage division signal; the charge and discharge identification circuit includes a voltage division resistor circuit; The first end of the voltage-dividing resistor circuit is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit is used to connect to the power grid interface, and the connection node between the voltage-dividing resistor circuit and the power grid interface is connected to the main control circuit; Alternatively, the first end of the voltage-dividing resistor circuit is used to connect to the first power supply end, the second end of the voltage-dividing resistor circuit is used to connect to the power load interface, and the connection node between the voltage-dividing resistor circuit and the power load interface is connected to the main control circuit.
6. The charge and discharge control circuit according to claim 1, characterized in that: The charge and discharge indication circuit includes a first switch circuit, a first resistor circuit and a second resistor circuit; The first end of the first switch circuit is used to connect the charge and discharge load, the second end of the first switch circuit is grounded, the third end of the first switch circuit is connected to the first end of the first resistance circuit, the fourth end of the first switch circuit is connected to the second end of the first resistance circuit, the fifth end of the first switch circuit is connected to the first end of the second resistance circuit, and the sixth end of the first switch circuit is connected to the second end of the second resistance circuit; the control end of the first switch circuit is connected to the main control circuit; In the default mode, the first switch circuit conducts the charge and discharge load, the first resistance circuit and the ground; In the control mode, the first switch circuit conducts the charge-discharge load, the first resistance circuit, and the ground, or the first switch circuit conducts the charge-discharge load, the second resistance circuit, and the ground.
7. The charge and discharge control circuit according to claim 1, characterized in that: The charge and discharge control circuit also includes a current sampling circuit, a voltage sampling circuit, a metering circuit and a switch control circuit; The first end of the switch control circuit is connected to the grid interface or the power load interface, and the second end of the switch control circuit is connected to the charging and discharging load; The current sampling circuit is arranged in series between the first end of the switch control circuit and the grid interface or the power load interface, and is connected to the metering circuit for collecting charging and discharging current signals; The input end of the voltage sampling circuit is connected to the grid interface or the power load interface, and the output end of the voltage sampling circuit is connected to the metering circuit, for collecting charging and discharging voltage signals; The metering circuit is connected to the main control circuit and is used to output a charge and discharge metering signal according to the charge and discharge current signal and the charge and discharge voltage signal; The main control circuit is connected to the switch control circuit and is used to control the switch control circuit to be turned on or off according to the charge and discharge measurement signal.
8. The charge and discharge control circuit according to claim 7, characterized in that: The current sampling circuit includes a current sampling chip and a filter circuit; The current sampling chip is arranged in series between the first end of the switch control circuit and the grid interface or the power load interface, and the output end of the current sampling chip is used to output a zero-sequence current signal, a leakage current signal and a power current signal; The filter circuit is connected to the output end of the current sampling chip and the main control circuit, and is used to filter the zero-sequence current signal, the leakage current signal and the power current signal, and output the charge and discharge current signal.
9. The charge and discharge control circuit according to claim 7, characterized in that: The charge and discharge control circuit also includes a control guidance circuit; The main control circuit is also used to output a first control guidance signal according to the charge and discharge measurement signal; The control guidance circuit is connected to the main control circuit and the charge and discharge load, and is used to output a second control guidance signal to the charge and discharge load according to the first control guidance signal.
10. A charging pile, characterized in that: Comprising the charge and discharge control circuit as claimed in any one of claims 1 to 9.
