CN115833331B - Charge-discharge switching circuit for energy storage system, implementation method and device - Google Patents

Charge-discharge switching circuit for energy storage system, implementation method and device Download PDF

Info

Publication number
CN115833331B
CN115833331B CN202310025727.4A CN202310025727A CN115833331B CN 115833331 B CN115833331 B CN 115833331B CN 202310025727 A CN202310025727 A CN 202310025727A CN 115833331 B CN115833331 B CN 115833331B
Authority
CN
China
Prior art keywords
charge
output point
resistor
light emitting
potential output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310025727.4A
Other languages
Chinese (zh)
Other versions
CN115833331A (en
Inventor
徐亮
喻晶
缪冬青
李莉华
缪爱林
朱鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zhongtian Technology Co Ltd
Zhongtian Broadband Technology Co Ltd
Original Assignee
Jiangsu Zhongtian Technology Co Ltd
Zhongtian Broadband Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Zhongtian Technology Co Ltd, Zhongtian Broadband Technology Co Ltd filed Critical Jiangsu Zhongtian Technology Co Ltd
Priority to CN202310025727.4A priority Critical patent/CN115833331B/en
Publication of CN115833331A publication Critical patent/CN115833331A/en
Application granted granted Critical
Publication of CN115833331B publication Critical patent/CN115833331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The specification provides a charge-discharge switching circuit, an implementation method and a device for an energy storage system. The circuit comprises: the control signal generation module controls the charge and discharge control module through the output level signal; under different opening and closing conditions, a first switch key in the control signal generation module outputs different level characteristics of a first potential output point and a second potential output point; the first light emitting diode in the charge-discharge control module is connected with the first potential output point and the first input pin of the serial port input chip, the second light emitting diode is connected with the second potential output point and the second input pin of the serial port input chip, the output pin of the serial port input chip is connected with the main control chip, and the main control chip is used for switching charge and discharge of the energy storage system under the control of the first switch key. The scheme can simply and rapidly realize charge and discharge switching of the energy storage system.

Description

Charge-discharge switching circuit for energy storage system, implementation method and device
Technical Field
The present disclosure relates to power electronics, and more particularly to a charge/discharge switching circuit for an energy storage system, and an implementation method and apparatus thereof.
Background
The energy storage system mainly comprises an energy storage unit and a monitoring and scheduling management unit: the energy storage unit comprises an energy storage battery pack (BA), a Battery Management System (BMS), an energy storage converter (PCS) and the like; the monitoring and scheduling management unit includes a central control system (MGCC), an Energy Management System (EMS), and the like. The energy management system is a nerve control system of the energy storage system, has functions of operation optimization, load prediction, power generation prediction, micro source scheduling and the like, and can realize reasonable scheduling of energy and economic operation of the micro network.
In the prior art, the charge-discharge switching of the energy storage system is determined by the control strategy of the EMS, and a user cannot simply and rapidly perform the charge-discharge switching of the energy storage system, so that the requirement of charge-discharge switching in an emergency situation cannot be met, and the safety and stability of the energy storage system are reduced.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The specification provides a charge-discharge switching circuit, an implementation method and an implementation device for an energy storage system, which can simply and rapidly realize charge-discharge switching of the energy storage system.
The specification provides a charge-discharge switching circuit of an energy storage system, comprising: the device comprises a control signal generation module and a charge-discharge switching module, wherein the control signal generation module controls the charge-discharge switching module through an output level signal;
Wherein, the control signal generation module includes: a first switch key, a first potential output point, and a second potential output point, wherein when the first switch key is switched from an open state to a closed state, the first potential output point outputs a low level, and the second potential output point outputs a high level; when the first switch key is switched from a closed state to an open state, a first potential output point outputs a high level, and the second potential output point outputs a low level;
wherein, the charge-discharge control module includes: the energy storage system comprises a first light emitting diode, a second light emitting diode, a serial port input chip and a main control chip, wherein the first end of the first light emitting diode is connected with a first potential output point and a first input pin of the serial port input chip, the first end of the second light emitting diode is connected with a second potential output point and a second input pin of the serial port input chip, the second end of the first light emitting diode and the second end of the second light emitting diode are grounded, an output pin of the serial port input chip is connected with the main control chip, and the main control chip is used for switching charge and discharge of the energy storage system under the control of a first switch key.
Further, the first switch key is further connected with a third input pin of the serial port input chip, and the third input pin is connected with a first end of a third light emitting diode, wherein the third light emitting diode is used for indicating the open-close state of the first switch key.
Further, the control signal generating module further includes: the power supply, the second capacitor, the first N-type triode, the second N-type triode, the first diode, the second diode, the third diode, the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor and the sixth resistor;
the power supply is connected with the collector electrode of the second N-type triode through a first diode, a first resistor, a second diode and a second resistor; the power supply is connected with the second end of the second capacitor through a first diode, a first resistor, a third diode, a third resistor, a fourth diode and a fifth resistor; the second end of the second capacitor is connected with the base electrode of the second N-type triode through a sixth resistor.
Further, the first end of the second capacitor is also connected with the ground wire, and the second end of the second capacitor is connected with the first switch key.
Further, the control signal generating module further includes: a seventh resistor and an eighth resistor;
the seventh resistor is connected with the emission junction of the second N-type triode in parallel, and the eighth resistor is connected with the emission junction of the first N-type triode in parallel.
Further, the control signal generating module further includes: and the emission junction of the first P-type triode is connected with the first resistor in parallel.
In another aspect, the present disclosure further provides a method for implementing a charge-discharge switching circuit for an energy storage system, including:
acquiring the opening and closing states of a first switch key;
generating a first level signal group under the condition that a first switch key is switched from an open state to a closed state;
generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state;
inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
Further, in another embodiment of the method, the first level signal group includes: the first potential output point outputs a low level, and the second potential output point outputs a high level;
accordingly, controlling charging and discharging of the energy storage system includes: controlling the energy storage system to be in a discharge state;
the second level signal group includes: the first potential output point outputs a high level, and the second potential output point outputs a low level;
accordingly, controlling charging and discharging of the energy storage system includes: and controlling the energy storage system to be in a charging state.
In another aspect, the present application provides a charge-discharge switching device for an energy storage system, including:
the starting module is used for acquiring the opening and closing states of the first switch key;
the first level signal group acquisition module is used for generating a first level signal group under the condition that the first switch key is switched from an open state to a closed state;
the second level signal group acquisition module is used for generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state;
the control module is used for inputting the first level signal group or the second level signal group into the main control chip so as to control the charge and discharge of the energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
In yet another aspect, the present application further provides a computer readable storage medium having stored thereon computer instructions that when executed implement the method for charging and discharging switching circuitry for an energy storage system described above.
The present specification provides a charge-discharge switching circuit for an energy storage system, comprising: the device comprises a control signal generation module and a charge-discharge switching module, wherein the control signal generation module controls the charge-discharge switching module through an output level signal; wherein, the control signal generation module includes: a first switch key, a first potential output point, and a second potential output point, wherein when the first switch key is switched from an open state to a closed state, the first potential output point outputs a low level, and the second potential output point outputs a high level; when the first switch key is switched from a closed state to an open state, a first potential output point outputs a high level, and the second potential output point outputs a low level; wherein, the charge-discharge control module includes: the energy storage system comprises a first light emitting diode, a second light emitting diode, a serial port input chip and a main control chip, wherein the first end of the first light emitting diode is connected with a first potential output point and a first input pin of the serial port input chip, the first end of the second light emitting diode is connected with a second potential output point and a second input pin of the serial port input chip, the second end of the first light emitting diode and the second end of the second light emitting diode are grounded, an output pin of the serial port input chip is connected with the main control chip, and the main control chip is used for controlling charge and discharge of the energy storage system under the control of a first switch key. Based on the charge-discharge switching circuit, on one hand, the charge-discharge adjustment of the energy storage system is facilitated, and the system safety during charge-discharge switching is improved; on the other hand, the signal characteristics are displayed through the light emitting diode, so that the state of the circuit can be conveniently observed when the key is switched in the on-off state.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are required for the embodiments will be briefly described below, and the drawings described below are only some embodiments described in the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of a control signal generation circuit provided in the present specification;
FIG. 2 is a schematic diagram of a signal detection circuit provided herein;
FIG. 3 is a schematic flow chart diagram illustrating one embodiment of a method for implementing a charge-discharge switching circuit for an energy storage system provided herein;
FIG. 4 is a schematic block diagram illustrating one embodiment of a charge-discharge switching device for an energy storage system according to the present disclosure;
fig. 5 is a schematic structural diagram of a computer device provided in the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
Considering that the charge-discharge switching of the energy storage system is determined by the control strategy of the Energy Management System (EMS), the user side cannot perform the charge-discharge switching of the energy storage system by itself, so that the manual charge-discharge switching requirement in emergency cannot be met. In addition, the existing method needs to contact a manufacturer or switch states through an upper computer when the charge and discharge of the energy storage system are required to be switched, so that time and labor are wasted, and the operation difficulty is high for some non-professional persons.
Further, when the charge and discharge of the energy storage system are switched, the energy storage system is easily affected by key strength and key duration of a user, gear jump, key shake and the like occur, and stability and safety of the energy storage system are affected. Meanwhile, when the charge and discharge of the energy storage system are switched, a user cannot timely observe the display state of the circuit during key switching, and the judgment of the user on the charge and discharge state of the current energy storage system is affected.
Aiming at the problems and the specific reasons for generating the problems in the prior method, the application considers introducing a charge-discharge switching circuit, an implementation method and an implementation device for an energy storage system so as to realize the autonomous and stable adjustment of the charge and the discharge of the energy storage system and the timely display of the state.
Based on the foregoing concept, referring to fig. 1 and 2, an embodiment of the present disclosure provides a charge-discharge switching circuit for an energy storage system, which may include: the device comprises a control signal generation module and a charge-discharge control module, wherein the control signal generation module controls the charge-discharge control module through an output level signal; wherein, the control signal generation module may include: a first switch key, a first potential output point, and a second potential output point, wherein when the first switch key is switched from an open state to a closed state, the first potential output point outputs a low level, and the second potential output point outputs a high level; when the first switch key is switched from a closed state to an open state, a first potential output point outputs a high level, and the second potential output point outputs a low level; wherein, the charge and discharge control module may include: the energy storage system comprises a first light emitting diode, a second light emitting diode, a serial port input chip and a main control chip, wherein the first end of the first light emitting diode is connected with a first potential output point and a first input pin of the serial port input chip, the first end of the second light emitting diode is connected with a second potential output point and a second input pin of the serial port input chip, the second end of the first light emitting diode and the second end of the second light emitting diode are grounded, an output pin of the serial port input chip is connected with the main control chip, and the main control chip is used for switching charge and discharge of the energy storage system under the control of a first switch key.
In some embodiments, when the first key is switched from the open state to the closed state, the circuit shown in fig. 1 is triggered to generate a high level signal, and finally the first potential output point outputs a low level signal, and the second potential output point outputs a high level signal; under the condition that the switch key is switched from the closed state to the open state, a circuit shown in fig. 1 is triggered to generate a low-level signal, finally, a first potential output point outputs a high-level signal, a second potential output point outputs a low-level signal, different level signal characteristics output by the first potential output point and the second potential output point are combined and input into a main control chip, and the switching of charging and discharging of an energy storage system can be realized under the control of the first switch key, for example: under the condition that the first potential output point outputs a low level and the second potential output point outputs a high level, the energy storage system is in a discharge state at the moment; under the condition that the first potential output point outputs a high level and the second potential output point outputs a low level, the energy storage system is in a charging state at the moment.
In some embodiments, the level conversion of the first potential output point and the second potential output point may be implemented by using the not gate characteristic of the triode and the cumulative characteristic of the capacitance current; when the first switch key is switched from the open state to the closed state and from the closed state to the open state, the corresponding switch key is switched from the open state to the closed state when the user triggers the first switch key again, the corresponding switch key is switched from the closed state to the open state when the user triggers the first switch key again, and the corresponding switch key is switched from the open state to the closed state when the user triggers the first switch key again. It should be noted that if the user does not trigger the switch key continuously within the preset time (for example, 10 s), that is, the open-close state of the first switch key is kept unchanged within 10s, the energy storage system formally enters the charge-discharge state at this time, and if the user triggers the switch key continuously within the preset time, the energy storage system is in the state of charge or discharge switching.
Specifically, referring to fig. 1, the control signal generating module may include: a first potential output point (Lout 1), a second potential output point (Lout 2), a first switching key (SW 1); the first switch key is used for providing a starting button for the user side, and the user can generate different control signals by pressing the button, so that the switching of the charging and discharging of the energy storage system is finally realized. Referring to fig. 2, the charge and discharge control module may include: the LED comprises a first light emitting diode (LED 1), a second light emitting diode (LED 2), a serial port input chip and a main control chip (MCU), wherein the serial port input chip is provided with three input pins: the first input pin of the serial port input chip is connected with a first potential output point (Lout 1), the first potential output point (Lout 1) is connected with the first end of the first light emitting diode, the second input pin of the serial port input chip is connected with a second potential output point (Lout 2), and the second potential output point (Lout 2) is connected with the first end of the second light emitting diode (LED 2). Wherein the second end of the first light emitting diode (LED 1) and the second end of the second light emitting diode (LED 2) are grounded, and the output pin of the serial port input chip is connected with the main control chip (MCU).
In some embodiments, the first switch key (SW 1) may be further connected to a third input pin of the serial input chip, where the third input pin is connected to a first end of a third light emitting diode (LED 3), and the third light emitting diode (LED 3) is used to indicate an open/close state of the first switch key (SW 1). It should be noted that the second ends of the LED3, the LED2, and the LED1 are all grounded, and the SW1 is further connected with an indication signal (TRIG), that is, the indication signal (TRIG) is connected with the third input pin of the serial port input chip, and is also connected with the first end of the LED 3.
Specifically, as shown in fig. 2, the third input pin of the serial port input chip is connected with an indication signal (TRIG), and meanwhile, the indication signal is connected with the second end of the third light emitting diode (LED 3), the second end of the LED1 is connected with the second end of the LED2 and the second end of the LED3, and finally, the indication signal is connected with the ground wire.
In some embodiments, the indicating the open/close state of the first switch key (SW 1) by the third light emitting diode (LED 3) may include:
s1: under the condition that the first switch key is switched from an open state to a closed state, the third light emitting diode flashes according to a first preset rule;
s2: under the condition that the first switch key is switched from the closed state to the open state, the third light emitting diode flashes according to a second preset rule;
S3: when the first key is switched from off to on again, the third light emitting diode flashes according to a third preset rule.
The first preset rule may be that the third light emitting diode blinks once, the second preset rule may be that the third light emitting diode blinks twice, and the third preset rule may be that the third light emitting diode blinks three times.
In some embodiments, the control signal generating module may further include: the power supply, the second capacitor, the first N-type triode, the second N-type triode, the first diode, the second diode, the third diode, the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor and the sixth resistor;
the power supply is connected with the collector electrode of the second N-type triode through a first diode, a first resistor, a second diode and a second resistor; the power supply is connected with the second end of the second capacitor through a first diode, a first resistor, a third diode, a third resistor, a fourth diode and a fifth resistor; the second end of the second capacitor is connected with the base electrode of the second N-type triode through a sixth resistor.
In some embodiments, the control signal generation module may further include: a seventh resistor and an eighth resistor;
The seventh resistor is connected with the emission junction of the second N-type triode in parallel, and the eighth resistor is connected with the emission junction of the first N-type triode in parallel.
In some embodiments, the control signal generation module may further include: and the emission junction of the first P-type triode is connected with the first resistor in parallel.
Specifically, as shown in fig. 1, the control signal generating module further includes: the power supply (VCC), a second capacitor (C2), a second N-type triode (N2), a first diode (D1), a second diode (D2), a third diode (D3), a first resistor (R1), a second resistor (R2), a third resistor (R3), a fourth resistor (R4), a fifth resistor (R5), a sixth resistor (R6), a seventh resistor (R7), an eighth resistor (R8) and a first P-type triode (P1). Wherein the power supply (VCC) is connected with the collector of the second N-type triode (N2) through a first diode (D1), a first resistor (R1), a second diode (D2) and a second resistor (R2); the power supply is also connected with the second end of the second capacitor (C2) through a first diode (D1), a first resistor (R1), a third diode (D3), a third resistor (R3), a fourth resistor (R4), a fourth diode (D4) and a fifth resistor (R5); the second end of the second capacitor (C2) is connected with the base electrode of the second N-type triode (N2) through a sixth resistor (R6). The P-type triode is a PNP-type triode, namely an emitter (2-pin) current flows in, a base (1-pin) current and a collector (3-pin) current flow out, the N-type triode is an NPN-type triode, namely an emitter (2-pin) current flows out, and a base (1-pin) current and a collector (3-pin) current flow in, wherein the 1-pin and the 2-pin form an emitter junction, the 2-pin and the 3-pin form a collector junction, when a low-level signal is input into the base of the N-type triode, the triode is in a cut-off state without current passing through, and a collector of an output end is in a high level; when the base electrode of the N-type triode inputs a high-level signal, the base electrode is saturated and conducted through enough current, and the collector electrode of the input end is in a low level.
In some embodiments, the first end of the second capacitor (C2) is further connected to the Ground (GND), and the second end of the second capacitor (C2) is connected to the first switch (SW 1).
In some embodiments, the emitter junction of the first P-type triode (P1) is connected in parallel with the first resistor (R1), the emitter junction of the first N-type triode (N1) is connected in parallel with the eighth resistor (R8), and the emitter junction of the second N-type triode (N2) is connected in parallel with the seventh resistor (R7), so that the P1, N2 are in an off state when the circuit is in a low-power standby state when the circuit is powered on.
Specifically, at the power-on position, as the emitting junctions of the first P-type triode (P1), the first N-type triode (N1) and the second N-type triode (N2) are respectively connected in parallel with the first resistor (R1), the eighth resistor (R8) and the seventh resistor (R7), the P1, the N1 and the N2 are all in a low-power standby state, at this time, the power supply (VCC) charges the second capacitor (C2) through the first diode (D1), the first resistor (R1), the third diode (D3), the third resistor (R3), the fourth resistor (R4), the fourth diode (D4) and the fifth resistor (R5), under the condition that diode voltage reduction is ignored, the voltage at two ends of the C2 is finally the voltage of the power supply (VCC), at this time, the first potential output point (Lout 1) and the second potential output point (Lout 1) are all in a high-level state, at this time, the LED1 connected with Lout1 is in a high-brightness display state, and the LED2 connected with Lout2 is also in a high-brightness automatic display state, and the energy storage system is in a high-brightness operation mode.
In some embodiments, the first potential output point (Lout 1) is connected to the collector of the second N-type triode (N2), the second potential output point (Lout 2) is connected to the collector of the first N-type triode (N1), the first potential output point (Lout 1) is connected to the collector of the first N-type triode (N1), where the saturated on state or off state of N2 affects the level characteristic of the output of the first potential output point (Lout 1), the saturated on state or off state of N1 affects the level characteristic of the output of the second potential output point (Lout 2), and the charging or discharging state of the second capacitor (C2) affects the change of N2 into the saturated on or off state.
In some embodiments, when the user first activates the first switch key, i.e., the first switch key switches from the open state to the closed state, the charge stored by C2 flows through the base of N2 via R6, at which time the current at the base becomes large enough and the input to the base is a high signal, so that N2 is saturated on, i.e., between pins 2 and 3 of N2. After the N2 is saturated and conducted, a power supply (VCC) is connected with a collector of a second N-type triode (N2) through a first diode (D1), a first resistor (R1), a second diode (D2) and a second resistor (R2) to form a loop, so that the voltage at the base side of the first P-type triode (P1) is pulled down, and saturated and conducted between the 2 pins and the 3 pins of the P1. After the P1 is saturated and conducted, the intersection point of the R3 and the R4 is high level, and the high level drives the N2 to be conducted continuously after the first switch key (SW 1) is released through the R3, the D5 and the R6; because N2 is continuously conducted, the collector current of N2 is large, a voltage drop is generated on the collector resistor, the collector level is pulled down, the voltage drop at the moment is saturated voltage drop, only about 0.3V is generated, the output of the collector is low level, therefore, the potential at the position of Lout1 connected with the collector of N2 is pulled to low level, the output of Lout1 is low level, the C2 discharge voltage is saturated voltage drop of N2, the potential at the position of Lout2 is still high level, and if a user does not continuously trigger a first switch key within 10 seconds, the energy storage system is formally in a discharge state. If the collector level of N2 is not low enough, the collector current of N2 continues to increase until the saturation state is reached.
In some embodiments, when the user continues to trigger the first switch key within 10s, the voltage at the TRIG point charges C2, so that the voltage at the TRIG point pulls to 0V, where N2 is in the off state and the collector of N2 is at a high level, so Lout1 connected to the collector of N2 becomes a high level, lout1 outputs a high power, so that N1 is saturated, and Lout2 outputs a low level. At this time, the LED1 connected to Lout1 is highlighted, the LED2 connected to Lout2 is turned off, and the energy storage system is about to enter the charging mode, if the first switch key is not triggered within 10S after the above operation is completed, the energy storage system will formally enter the charging state. Note that Lout1 charges C2 through R5, and the voltage across C2 is the voltage at which Lout1 is at the high level, i.e., the power supply voltage. It should be noted that, the resistance of R5 is very large, generally M level, after SW1 is required to be sprung, C2 accumulates and stores the small current flowing through R5, then the state of N1 and N2 is changed by instant contact of SW1, and the fast large current is released, the time required for storing the sufficient charge for switching the gear is about 50ms, and the time for switching the key is us level, so that the improved circuit in the present specification can not be affected by the key vibration or the key duration, so that the level states of Lout1 and Lout2 are switched arbitrarily.
In some embodiments, when the user triggers the first switch key within 10s again, the N2 is changed from the off state to the saturated on state again, lout1 outputs a low level again, while N1 is turned off, lout2 outputs a high level, at this time, the LED1 connected to Lout1 is turned off, the LED2 connected to Lout2 is highlighted, and when detecting that the level of Lout1 is changed from a high level to a low level and the level of Lout2 is changed from a low level to a high level, the built-in software program in the main control chip may send a "restart" signal to the energy storage system, so that the energy storage system is restarted. It should be noted that, the Lout1 and Lout2 level state switching only occurs at the moment when the user touches the switch key, and then even if the key strength is small in the key pressing process, the key shake is caused or the duration of each person pressing the key is inconsistent, and the switch key on-off state is not affected.
In some embodiments, referring to fig. 1, the control signal generating module may further include: the second P-type triode (P2), the third P-type triode (P3), a ninth resistor (R9), a tenth resistor (R10), an eleventh resistor (R11), a twelfth resistor (R12), a thirteenth resistor (R13), a fourteenth resistor (R14), a fifteenth resistor (R15), a sixth diode (D6), a seventh diode (D7) and a first capacitor (C1). The emitter of N2 is connected to the second potential output point via the emitter of P2, the collector of P2, the emitter of P3, R11, R10, and the emitter of N2 is connected to the first potential output point via the emitter of P2, R9, and when Lout1 outputs a low level, N1 is turned off, P3 is turned off, and P2 is saturated. It should be noted that C1 plays a role of VCC voltage support in the circuit shown in fig. 1, and its state is not changed in the whole process.
The embodiment of the present disclosure further provides a method for implementing a charge-discharge switching circuit for an energy storage system, and fig. 3 shows a flowchart of a method for implementing a charge-discharge switching circuit for an energy storage system in an embodiment of the present disclosure. Although the present description provides methods and apparatus structures as shown in the following examples or figures, more or fewer steps or module group elements may be included in the methods or apparatus based on conventional or non-inventive labor. In the steps or the structures of the means which logically have no necessary cause and effect, the execution order of the steps or the structure of the module group of the apparatus is not limited to the execution order or the structure of the module group shown in the drawings and the description of the embodiments of the present specification. The described method or module group structure may be implemented sequentially or in parallel (e.g., in a parallel processor or multithreaded environment, or even a distributed processing environment) in accordance with the method or module group structure connection illustrated in the embodiments or figures when implemented in a practical device or end product application.
The specification provides a method for implementing a charge-discharge switching circuit for an energy storage system. First, the open/close state of the first switch key needs to be acquired. Next, when the first switch key is switched from the open state to the closed state, a first level signal group is generated, and when the first switch key is switched from the closed state to the open state, a second level signal group is generated. And finally, inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of the energy storage system. In particular, and with reference to FIG. 3, the method may include the following.
S301: acquiring the open/close state of a first switch key
In some embodiments, the open-closed state of the first switch key comprises: the first switch key is switched from an open state to a closed state, and the first switch key is switched from the closed state to the open state.
S302: in the case where the first switch key is switched from the open state to the closed state, a first level signal group is generated.
S303: in the case where the first switch key is switched from the closed state to the open state, the second level signal group is generated.
In some embodiments, the first level signal group may include: the first potential output point outputs a low level, and the second potential output point outputs a high level; the second level signal group may include: the first potential output point outputs a high level, and the second potential output point outputs a low level. Different level signals output by the first potential output point and the second potential output point are combined to generate different control effects on the energy storage system, and meanwhile, the switching of the charging and discharging states of the energy storage system can be quickly realized by combining the control of the user on the first switch key.
S304: inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
In some embodiments, the first level signal group is input into the energy storage system, so that the discharge state of the energy storage system can be controlled; and the second level signal group is input into the energy storage system, so that the charging state of the energy storage system can be controlled.
The above method is described below in connection with a specific embodiment, however, it should be noted that this specific embodiment is only for better illustrating the present application and is not meant to be a undue limitation on the present application.
In the implementation, the open-close state of the first switch key is determined firstly, namely whether the first switch key is changed from open to closed or from closed to open; secondly, determining the characteristics of the generated control signals of the first switch key in different opening and closing states, namely determining the level signal characteristics of the first potential output point and the level signal characteristics of the second potential output point, combining the level signal characteristics of the first potential output point and the level signal characteristics of the second potential output point, and simultaneously, connecting the first potential output point and the second potential output point with different light emitting diodes, so that the state of the level signal combination can be displayed, for example: the energy storage system is in a charging state when the first potential output point is changed from a low level to a high level, the second potential output point is changed from a low level, the energy storage system is in a charging state when the first potential output point is changed from a low level to a high level, and the second potential output point is changed from a low level, and the energy storage system is in a secondary discharging state when the first potential output point is changed from a low level to a high level again and the second potential output point is changed from a high level. By the method, the charge and discharge of the energy storage system can be simply and rapidly regulated, the safety and stability of the energy storage system are improved, and meanwhile, the level signal characteristics can be displayed through the light emitting diode.
The present disclosure further provides an embodiment of a charge-discharge switching device of an energy storage system, as shown in fig. 4, based on the implementation method of the charge-discharge switching circuit of the energy storage system, where the device specifically includes the following modules:
the starting module 401 acquires the opening and closing states of the first switch key;
a first level signal group acquisition module 402, configured to generate a first level signal group when the first switch key switches from an open state to a closed state;
a second level signal group acquisition module 403, configured to generate a second level signal group when the first switch key switches from the closed state to the open state;
the control module 404 is configured to input the first level signal set or the second level signal set into a main control chip, so as to control charging and discharging of the energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
In some embodiments, the first level signal group acquisition module 402 may further include: the first potential output point outputs a low level, and the second potential output point outputs a high level;
in some embodiments, the second level signal group obtaining module 403 may further include: the first potential output point outputs a high level, and the second potential output point outputs a low level;
in some embodiments, the control module 404 may be further specifically configured to control the discharge of the energy storage system when the first potential output point outputs a low level and the second potential output point outputs a high level, so as to control the energy storage system to be in a discharge state;
in some embodiments, the control module 404 may be further specifically configured to control charging and discharging of the energy storage system when the second potential output point outputs a high level and the second potential output point outputs a low level, so as to control the energy storage system to be in a charging state.
It should be noted that, the units, devices, or modules described in the above embodiments may be implemented by a computer chip or entity, or may be implemented by a product having a certain function. For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, when the present description is implemented, the functions of each module may be implemented in the same piece or pieces of software and/or hardware, or a module that implements the same function may be implemented by a plurality of sub-modules or a combination of sub-units, or the like. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
From the above, according to the charge-discharge switching device of the energy storage system provided by the embodiments of the present disclosure, on one hand, different level signal sets can be obtained by obtaining the open-close state of the first switch key, and the different level signal sets are combined, so that the charge-discharge control of the energy storage system can be rapidly realized; on the other hand, the change of different level groups can be displayed in brightness by connecting the light emitting diodes, so that the user can observe the charge and discharge states of the energy storage system conveniently.
The present description embodiments also provide a computer storage medium storing computer program instructions that, when executed, implement: acquiring the opening and closing states of a first switch key; generating a first level signal group under the condition that a first switch key is switched from an open state to a closed state; generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state; inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
In the present embodiment, the storage medium includes, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects of the program instructions stored in the computer storage medium may be explained in comparison with other embodiments, and are not described herein.
The present disclosure also provides a server comprising a processor and a memory for storing processor-executable instructions, the processor, when embodied, being operable to perform the following steps according to the instructions: acquiring the opening and closing states of a first switch key; generating a first level signal group under the condition that a first switch key is switched from an open state to a closed state; generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state; inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
In order to more accurately complete the above instructions, referring to fig. 5, another specific server is provided in this embodiment of the present disclosure, where the server includes a network communication port 501, a processor 502, and a memory 503, and the above structures are connected by an internal cable, so that each structure may perform specific data interaction.
The network communication port 501 may be specifically configured to obtain an open/close state of the first switch key.
The processor 502 may be specifically configured to generate a first level signal group when the first switch key is switched from an open state to a closed state; generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state; inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
The memory 503 may be used to store a corresponding program of instructions.
In this embodiment, the network communication port 501 may be a virtual port that binds with different communication protocols, so that different data may be sent or received. For example, the network communication port may be a port responsible for performing web data communication, a port responsible for performing FTP data communication, or a port responsible for performing mail data communication. The network communication port may also be an entity's communication interface or a communication chip. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it may also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 502 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic controller, and an embedded microcontroller, among others. The description is not intended to be limiting.
In this embodiment, the memory 503 may include a plurality of layers, and in a digital system, the memory may be any memory as long as it can hold binary data; in an integrated circuit, a circuit with a memory function without a physical form is also called a memory, such as a RAM, a FIFO, etc.; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card, and the like.
Although the present description provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an apparatus or client product in practice, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment, or even in a distributed data processing environment). The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element. The terms first, second, etc. are used to denote a name, but not any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller can be regarded as a hardware component, and means for implementing various functions included therein can also be regarded as a structure within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of embodiments, it will be apparent to those skilled in the art that the present description may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be embodied essentially in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and include several instructions to cause a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to perform the methods described in the various embodiments or portions of the embodiments of the present specification.
Various embodiments in this specification are described in a progressive manner, and identical or similar parts are all provided for each embodiment, each embodiment focusing on differences from other embodiments. The specification is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although the present specification has been described by way of example, it will be appreciated by those skilled in the art that there are many variations and modifications to the specification without departing from the spirit of the specification, and it is intended that the appended claims encompass such variations and modifications as do not depart from the spirit of the specification.

Claims (9)

1. A charge-discharge switching circuit for an energy storage system, comprising: the device comprises a control signal generation module and a charge-discharge control module, wherein the control signal generation module controls the charge-discharge control module through an output level signal;
wherein, the control signal generation module includes: a first switch key, a first potential output point, and a second potential output point, wherein when the first switch key is switched from an open state to a closed state, the first potential output point outputs a low level, and the second potential output point outputs a high level; when the first switch key is switched from a closed state to an open state, a first potential output point outputs a high level, and the second potential output point outputs a low level;
wherein, the charge-discharge control module includes: the energy storage system comprises a first light emitting diode, a second light emitting diode, a serial port input chip and a main control chip, wherein a first end of the first light emitting diode is connected with a first potential output point and a first input pin of the serial port input chip, a first end of the second light emitting diode is connected with a second potential output point and a second input pin of the serial port input chip, a second end of the first light emitting diode and a second end of the second light emitting diode are grounded, an output pin of the serial port input chip is connected with the main control chip, and the main control chip is used for switching charge and discharge of the energy storage system under the control of a first switch key;
Wherein, the control signal generation module further includes: the power supply, the second capacitor, the first N-type triode, the second N-type triode, the first diode, the second diode, the third diode, the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor and the sixth resistor;
the power supply is connected with the collector electrode of the second N-type triode through a first diode, a first resistor, a second diode and a second resistor; the power supply is connected with the second end of the second capacitor through a first diode, a first resistor, a third diode, a third resistor, a fourth diode and a fifth resistor; the second end of the second capacitor is connected with the base electrode of the second N-type triode through a sixth resistor.
2. The charge-discharge switching circuit of claim 1, wherein the first switch key is further connected to a third input pin of the serial input chip, the third input pin being connected to a first end of a third light emitting diode, wherein the third light emitting diode is configured to indicate an on-off state of the first switch key.
3. The charge-discharge switching circuit of claim 1, wherein the first terminal of the second capacitor is further connected to ground, and the second terminal of the second capacitor is connected to the first switch.
4. The charge-discharge switching circuit according to claim 1, wherein the control signal generation module further comprises: a seventh resistor and an eighth resistor;
the seventh resistor is connected with the emission junction of the second N-type triode in parallel, and the eighth resistor is connected with the emission junction of the first N-type triode in parallel.
5. The charge-discharge switching circuit according to claim 1, wherein the control signal generation module further comprises: and the emission junction of the first P-type triode is connected with the first resistor in parallel.
6. A method for implementing a charge-discharge switching circuit for an energy storage system, the method comprising, based on the charge-discharge switching circuit of any one of claims 1-5:
acquiring the opening and closing states of a first switch key;
generating a first level signal group under the condition that a first switch key is switched from an open state to a closed state;
generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state;
inputting the first level signal group or the second level signal group into a main control chip to control the charge and discharge of an energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
7. The method of claim 6, wherein the first set of level signals comprises: the first potential output point outputs a low level, and the second potential output point outputs a high level;
accordingly, controlling charging and discharging of the energy storage system includes: controlling the energy storage system to be in a discharge state;
the second level signal group includes: the first potential output point outputs a high level, and the second potential output point outputs a low level;
accordingly, controlling charging and discharging of the energy storage system includes: and controlling the energy storage system to be in a charging state.
8. A charge-discharge switching device for an energy storage system, characterized in that the device comprises, based on a charge-discharge switching circuit according to any one of claims 1-5:
the starting module is used for acquiring the opening and closing states of the first switch key;
the first level signal group acquisition module is used for generating a first level signal group under the condition that the first switch key is switched from an open state to a closed state;
the second level signal group acquisition module is used for generating a second level signal group under the condition that the first switch key is switched from a closed state to an open state;
the control module is used for inputting the first level signal group or the second level signal group into the main control chip so as to control the charge and discharge of the energy storage system; the main control chip is connected with the output pin of the serial port input chip, the first input pin of the serial port input chip is connected with the first end of the first light emitting diode and the first potential output point, the second input pin of the serial port input chip is connected with the first end of the second light emitting diode and the second potential output point, and the second end of the first light emitting diode and the second end of the second light emitting diode are grounded.
9. A computer storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any of claims 6 to 7.
CN202310025727.4A 2023-01-09 2023-01-09 Charge-discharge switching circuit for energy storage system, implementation method and device Active CN115833331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310025727.4A CN115833331B (en) 2023-01-09 2023-01-09 Charge-discharge switching circuit for energy storage system, implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310025727.4A CN115833331B (en) 2023-01-09 2023-01-09 Charge-discharge switching circuit for energy storage system, implementation method and device

Publications (2)

Publication Number Publication Date
CN115833331A CN115833331A (en) 2023-03-21
CN115833331B true CN115833331B (en) 2023-05-05

Family

ID=85520414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310025727.4A Active CN115833331B (en) 2023-01-09 2023-01-09 Charge-discharge switching circuit for energy storage system, implementation method and device

Country Status (1)

Country Link
CN (1) CN115833331B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000088894A (en) * 1998-09-10 2000-03-31 Nippon Signal Co Ltd:The Level-off confirming circuit of inspection signal and device using the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788387B (en) * 2016-12-15 2024-02-13 北京小鸟看看科技有限公司 Key multiplexing circuit for electronic equipment and electronic equipment
CN107069898A (en) * 2017-06-12 2017-08-18 苏州英诺威新能源有限公司 A kind of control system of lithium battery group and the lithium battery group device with it
CN208062866U (en) * 2018-05-04 2018-11-06 歌尔科技有限公司 The charging circuit and device of bluetooth headset
CN111697663B (en) * 2020-06-29 2022-02-08 维沃移动通信有限公司 Charging circuit and charging cable
CN214480523U (en) * 2020-12-14 2021-10-22 深圳和而泰智能控制股份有限公司 Pulse width modulation signal generating circuit
CN215870827U (en) * 2021-07-28 2022-02-18 江苏东成工具科技有限公司 Multifunctional charger

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000088894A (en) * 1998-09-10 2000-03-31 Nippon Signal Co Ltd:The Level-off confirming circuit of inspection signal and device using the same

Also Published As

Publication number Publication date
CN115833331A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN105373015A (en) Energy saving controller based on motion identification
CN203801880U (en) Intelligent hand ring
JP6452805B2 (en) Electric quantity detection method and apparatus, terminal and storage medium
TW201350890A (en) Methods for operating state of charge indicators for battery packs, indicating circuits and monitoring circuits thereof
CN102545331A (en) Vehicle-mounted cell phone wireless charging and transmitting system and control method therefor
CN108900004A (en) Power supply status monitoring method, device and computer readable storage medium
CN108989577A (en) The method and mobile terminal of automatic replacement wallpaper for mobile terminal
CN102148532B (en) Power supply management method and portable electronic device applying same
CN115833331B (en) Charge-discharge switching circuit for energy storage system, implementation method and device
CN104852410A (en) Mobile terminal and charging indication method thereof
CN210093229U (en) Optical communication equipment and optical networking system
CN105629825A (en) Management method and management system of power supply system of wearable intelligent device
CN207965806U (en) System and electronic equipment are restarted in power supply
CN104348460B (en) Circuit device for operating electronic switch and method
CN104160788A (en) Two-wire neutralless digital dimmer for leading-edge dimmable lamp driver and a method of operation thereof
CN106900129B (en) Adjusting and controlling device of lighting lamp and lighting lamp
CN107579562B (en) Mobile terminal and battery cell protection circuit
CN113193631B (en) Power supply control device, power supply control method, storage medium, and electronic device
US20080315841A1 (en) Discharge State Indicator
CN213634413U (en) Automatic power-on starting circuit
CN204928578U (en) DC power supply auto -adjusting circuit and DC power supply automatic regulating apparatus
CN104159359A (en) Electric torch drive circuit and mobile terminal
CN110350971B (en) Optical networking method, optical communication equipment and optical networking system
CN103209524B (en) Lighting control device for LED (Light Emitting Diode) lamp
CN103841711B (en) A kind of LED emergence lighting lamp and drive circuit thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant