CN114362349A - Charge and discharge control method, system and device, motor equipment and storage medium - Google Patents

Charge and discharge control method, system and device, motor equipment and storage medium Download PDF

Info

Publication number
CN114362349A
CN114362349A CN202210041277.3A CN202210041277A CN114362349A CN 114362349 A CN114362349 A CN 114362349A CN 202210041277 A CN202210041277 A CN 202210041277A CN 114362349 A CN114362349 A CN 114362349A
Authority
CN
China
Prior art keywords
power supply
standby power
state
switch
main power
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.)
Pending
Application number
CN202210041277.3A
Other languages
Chinese (zh)
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.)
Zhejiang Tengen Intelligent Electrical Appliance Co ltd
Zhejiang Tengen Electric Co Ltd
Original Assignee
Zhejiang Tengen Intelligent Electrical Appliance Co ltd
Zhejiang Tengen Electric 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 Zhejiang Tengen Intelligent Electrical Appliance Co ltd, Zhejiang Tengen Electric Co Ltd filed Critical Zhejiang Tengen Intelligent Electrical Appliance Co ltd
Priority to CN202210041277.3A priority Critical patent/CN114362349A/en
Publication of CN114362349A publication Critical patent/CN114362349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Landscapes

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

Abstract

The embodiment of the invention discloses a charge and discharge control method, a system, a device, motor equipment and a storage medium, wherein the charge and discharge control method comprises the following steps: acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction; judging the working state of the main power supply according to the electric energy parameter; when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply; when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply. According to the charging and discharging control method, the charging mode and the discharging mode of the standby power supply are controlled through two different control methods, so that the overcharge protection and the overdischarge protection of the standby power supply are realized, and the service life and the safety of the standby power supply are effectively prolonged.

Description

Charge and discharge control method, system and device, motor equipment and storage medium
Technical Field
The invention relates to the technical field of electric power, in particular to a charging and discharging control method, a charging and discharging control system, a charging and discharging control device, motor equipment and a storage medium.
Background
The standby power supply is often used in the use scene of the base station, and when the external main power supply is powered off, the standby power supply is used for supplying power to the electric equipment, so that the situation that the electric equipment is powered off suddenly even if the external main power supply is powered off can be ensured to work continuously. When the external main power supply is powered, the main power supply supplies power to the electric equipment and simultaneously charges the standby power supply.
Two extreme states of overcharge or overdischarge easily appear in the conventional use of the standby power supply, which often results in the life shortening of the standby power supply and even the potential safety hazard of explosion.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present application provide a charge and discharge control method, system, device, motor device, and storage medium, and the specific scheme is as follows:
in a first aspect, an embodiment of the present application provides a charge and discharge control method, which is applied to a microprocessor of an energy consumption monitoring unit, where the energy consumption monitoring unit further includes a metering chip and a switch, a standby power supply is electrically connected to a load unit through the energy consumption monitoring unit, the energy consumption monitoring unit and the load unit are both used for connecting a main power supply, and the charge and discharge control method includes:
acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
judging the working state of the main power supply according to the electric energy parameter;
when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply;
when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
According to a specific implementation manner of the embodiment of the application, the step of determining the working state of the main power supply according to the power parameter includes:
when the voltage of the main power supply detected by the metering chip is greater than a preset voltage threshold, judging that the main power supply is in a power supply state;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
According to a specific implementation manner of the embodiment of the application, when the main power supply is in a power supply state, the step of controlling the on/off of the switch based on the electric quantity state of the standby power supply to control the charging mode of the standby power supply includes:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is greater than or equal to a preset maximum electricity storage threshold value;
if the real-time electric quantity is larger than or equal to a preset maximum electricity storage threshold value, controlling the switch to be switched off so as to control the main power supply to stop charging the standby power supply;
and if the real-time electric quantity is smaller than a preset maximum electricity storage threshold value, controlling the switch to be closed so as to control the main power supply to charge the standby power supply.
According to a specific implementation manner of the embodiment of the application, when the main power supply is in a power-off state, the step of controlling the on-off of the switch based on the electric quantity state of the standby power supply to control the discharge mode of the standby power supply includes:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is smaller than or equal to a preset minimum electric storage threshold value;
if the real-time electric quantity is smaller than or equal to a preset minimum electricity storage threshold value, controlling the switch to be switched off so as to control the standby power supply to stop discharging to the load unit;
and if the real-time electric quantity is greater than a preset minimum electric storage threshold value, controlling the switch to be closed so as to control the standby power supply to discharge to the load unit.
According to a specific implementation manner of the embodiment of the application, the step of obtaining the electric energy parameter collected by the metering chip includes:
initializing a read value of the metering chip;
reading main power supply voltage, standby power supply voltage, power direction and electric quantity accumulation information in the metering chip according to a preset time interval;
and respectively storing the electric quantity accumulated information in a corresponding charging electric quantity data pool and a corresponding discharging electric quantity data pool according to the power direction.
In a second aspect, an embodiment of the present application provides a charge and discharge control system, including: the energy consumption monitoring system comprises a main power supply, an energy consumption monitoring unit, a load unit and a standby power supply, wherein the energy consumption monitoring unit and the load unit are both connected with the main power supply, and the standby power supply is electrically connected with the load unit through the energy consumption monitoring unit;
the energy consumption monitoring unit comprises a metering chip, a microprocessor and a control switch;
the metering chip is used for acquiring electric energy parameters of the main power supply and the standby power supply, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
the microprocessor is used for acquiring the electric energy parameters acquired by the metering chip; judging the working state of the main power supply according to the electric energy parameter; when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply; when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
In a third aspect, an embodiment of the present application provides a charge and discharge control device, which is applied to a microprocessor of an energy consumption monitoring unit, where the energy consumption monitoring unit further includes a metering chip and a switch, a standby power supply passes through the energy consumption monitoring unit and is electrically connected to a load unit, the energy consumption monitoring unit and the load unit are both connected to a main power supply, and the charge and discharge control device includes:
the acquisition module is used for acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
the judging module is used for judging the working state of the main power supply according to the electric energy parameter;
the first execution module is used for controlling the on-off of the switch based on the electric quantity state of the standby power supply when the main power supply is in a power supply state so as to switch the charging mode of the standby power supply;
and the second execution module is used for controlling the on-off of the switch based on the electric quantity state of the standby power supply when the main power supply is in a power-off state so as to switch the discharge mode of the standby power supply.
According to a specific implementation manner of the embodiment of the present application, the determining module is specifically configured to determine that the main power source is in a power supply state when the voltage of the main power source detected by the metering chip is greater than a preset voltage threshold;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
In a fourth aspect, an embodiment of the present application provides an electric machine apparatus, which includes the charge and discharge control system of the second aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program runs on a processor, the computer program executes the charge and discharge control method according to the first aspect.
The embodiment of the application provides a charge and discharge control method, a charge and discharge control system, a charge and discharge control device, motor equipment and a storage medium, which are applied to a microprocessor of an energy consumption monitoring unit, wherein the energy consumption monitoring unit further comprises a metering chip and a switch, a standby power supply passes through the energy consumption monitoring unit and is electrically connected with a load unit, the energy consumption monitoring unit and the load unit are both used for connecting a main power supply, and the charge and discharge control method comprises the following steps: acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction; judging the working state of the main power supply according to the electric energy parameter; when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply; when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply. According to the charging and discharging control method, the charging mode and the discharging mode of the standby power supply are controlled through two different control methods, so that overcharge protection and overdischarge protection of the standby power supply are achieved, and the service life and the safety of the standby power supply are effectively prolonged.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic method flow diagram illustrating a charge and discharge control method according to an embodiment of the present disclosure;
fig. 2 is a schematic system structure diagram of a charge and discharge control system according to an embodiment of the present disclosure;
fig. 3 shows a device module schematic diagram of a charge and discharge control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
In the existing base station equipment protection method, a circuit breaker is often arranged between an external main power supply and a standby power supply of a base station to realize protection of electric equipment of the base station, and the existing circuit breaker protection method can only be used for protecting the electric safety of the electric equipment of the base station, but cannot realize protection of the standby power supply.
The application provides an energy consumption monitoring unit, set up on the circuit breaker between the outside main power supply of basic station and stand-by power supply for the execution is right stand-by power supply's charge and discharge control to the realization is to the stand-by power supply's of application under the basic station scene protection.
Referring to fig. 1, a schematic method flow diagram of a charging and discharging control method provided in an embodiment of the present application is shown, where the charging and discharging control method provided in the embodiment of the present application is applied to a microprocessor of an energy consumption monitoring unit, the energy consumption monitoring unit further includes a metering chip and a switch, a standby power supply is electrically connected to a load unit through the energy consumption monitoring unit, the energy consumption monitoring unit and the load unit are both connected to a main power supply, as shown in fig. 1, the charging and discharging control method includes:
step S101, acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
in a specific embodiment, the energy consumption monitoring unit in this embodiment may be disposed in any motor device having a main power supply and a backup power supply. Specifically, the energy consumption monitoring unit is arranged at the circuit position where the standby power supply and other components in the motor equipment are connected.
The main power supply in this embodiment is connected to the backup power supply through the energy consumption monitoring unit, and the main power supply is used for supplying power to a load unit in the motor apparatus and charging the backup power supply. Specifically, the main power supply may be a power supply outside the motor device such as 220V commercial power, or may be any battery structure provided inside the motor, and a specific form of the main power supply is not limited herein.
The load unit in this embodiment is connected to the standby power supply through the energy consumption monitoring unit, and the standby power supply is configured to store an electric energy source and supply power to the load unit in the motor apparatus when the main power supply is powered off. The standby power supply is a storage battery structure arranged in the motor equipment, and the type of the storage battery used by the standby power supply is not specifically limited in the embodiment.
The energy consumption monitoring unit in this embodiment includes a microprocessor, a metering chip and a switch, wherein the metering chip, the microprocessor and the switch are connected in series in sequence.
Specifically, the metering chip is used for acquiring electric energy parameters such as main power supply voltage, standby power supply voltage, current direction, power direction, electric quantity accumulation information and the like. In this embodiment, the acquisition end of the metering chip is respectively connected with the positive electrodes of the main power supply and the standby power supply, and the communication end of the metering chip is electrically connected with the microprocessor, so that the acquired electric energy parameters can be sent to the microprocessor. The model of the metering chip can be RN 8209B.
The microprocessor is respectively connected with the communication end of the metering chip and the control end of the switch, and after analyzing the electric energy data collected by the metering chip, the microprocessor sends a control signal to control the on-off of the switch, so that the real-time control of the charging and discharging actions of the standby power supply is realized.
The switch can be a switch circuit or a switch chip which is switched on and off according to an electric signal sent by the microprocessor.
According to a specific implementation manner of the embodiment of the application, the step of obtaining the electric energy parameter collected by the metering chip includes:
initializing a read value of the metering chip;
reading main power supply voltage, standby power supply voltage, power direction and electric quantity accumulation information in the metering chip according to a preset time interval;
and respectively storing the electric quantity accumulated information in a corresponding charging electric quantity data pool and a corresponding discharging electric quantity data pool according to the power direction.
In a specific embodiment, in the process of acquiring the electric energy parameters, the metering chip is set to a zero-after-reading mode, that is, after the electric energy parameters acquired at the current time are sent to the microprocessor, the flag bit value and the read value of the metering chip are initialized and the next acquisition action is performed each time the electric energy parameters are acquired.
Specifically, a timer with a preset time interval is configured in the microprocessor, where the preset time interval may be set adaptively according to an actual application scenario, and the preset time interval in this embodiment is 100ms as an example.
After the metering chip is initialized, setting Flag _100ms of the metering chip to 1 every 100ms, and reading the power direction of the metering chip when the Flag of the metering chip is 1.
If the power direction value is 1, the power direction of the metering chip is negative power, the standby power supply is in a discharging state, and at the moment, the metering chip stores collected electric quantity accumulated information in a discharging electric quantity data pool.
If the power direction value is 0, the power direction of the metering chip is positive power, the standby power supply is in a charging state, and at the moment, the metering chip stores collected electric quantity accumulated information in a charging electric quantity data pool.
It should be noted that the accumulated information of the electric quantity collected by the metering chip is the electric quantity information of the standby power supply in the charging and discharging processes, and the electric quantity consumed by the main power supply when supplying power to the load unit is not recorded in the metering chip.
Step S102, judging the working state of the main power supply according to the electric energy parameter;
in a specific embodiment, the working state of the main power supply includes a power supply state and a power off state, and when the working state of the main power supply is the power supply state, the main power supply provides electric energy for the load unit and provides electric energy for the power storage structure of the backup power supply. And when the working state of the main power supply is a power-off state, the standby power supply provides electric energy for the load unit.
The different states of the main power supply correspond to different working states of the standby power supply, and for the different working states of the standby power supply, the embodiment adopts two different control methods to realize the protection of the standby power supply.
According to a specific implementation manner of the embodiment of the application, the step of determining the working state of the main power supply according to the power parameter includes:
when the voltage of the main power supply detected by the metering chip is greater than a preset voltage threshold, judging that the main power supply is in a power supply state;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
In a specific embodiment, the metering chip collects the electric energy parameters of the main power supply and the standby power supply according to a preset timer structure, and the microprocessor can judge the working state of the main power supply according to the electric energy parameters collected by the metering chip.
In this embodiment, when the voltage of the main power source collected by the metering chip is greater than a preset voltage threshold, it indicates that the main power source is supplying electric energy to the load unit, that is, the main power source is in a power supply state.
When the metering chip detects that the voltage of the main power supply is smaller than a preset voltage threshold value and the metering chip detects that the voltage of the standby power supply is also smaller than the preset voltage threshold value, the main power supply is in a power-off state at the moment, and the standby power supply does not provide electric energy for the load unit.
When the voltage of the standby power supply acquired by the metering chip is greater than a preset voltage threshold value and the power direction detected by the metering chip is negative power, namely the power direction flows from the standby power supply to the load unit, the standby power supply at the moment is providing electric energy for the load unit, and the main power supply is in a power-off state.
Step S103, when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply;
in a specific embodiment, when the main power supply is in a power supply state, the main power supply can simultaneously supply power to the load unit and charge the backup power supply.
In this embodiment, by adding the energy consumption monitoring unit between the main power source and the standby power source, when the main power source is in a power supply state, the energy consumption monitoring unit acquires the real-time electric quantity of the standby power source, and the microprocessor of the energy consumption monitoring unit controls the on/off of the switch, so that the charging mode of the standby power source is switched, the charging protection of the standby power source is realized, and the standby power source is prevented from being excessively charged and damaged.
According to a specific implementation manner of the embodiment of the application, when the main power supply is in a power supply state, the step of controlling the on/off of the switch based on the electric quantity state of the standby power supply to control the charging mode of the standby power supply includes:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is greater than or equal to a preset maximum electricity storage threshold value;
if the real-time electric quantity is larger than or equal to a preset maximum electricity storage threshold value, controlling the switch to be switched off so as to control the main power supply to stop charging the standby power supply;
and if the real-time electric quantity is smaller than a preset maximum electricity storage threshold value, controlling the switch to be closed so as to control the main power supply to charge the standby power supply.
In a specific embodiment, the microprocessor can calculate the real-time electric quantity of the standby power supply through the electric energy parameters collected by the metering chip.
Specifically, the real-time electric quantity of the standby power supply is obtained by subtracting the electric quantity information stored in the discharging electric quantity data pool from the electric quantity information stored in the charging electric quantity data pool. For example, if the real-time capacity of the backup power source is Q3, the capacity information stored in the discharge capacity data pool is Q2, and the capacity information stored in the charge capacity data pool is Q1, the real-time capacity Q3 of the backup power source can be calculated based on the calculation formula Q3-Q1-Q2.
In a specific embodiment, the preset maximum power storage threshold Qmax and the preset minimum power storage threshold Qmin may both be adaptively set according to an actual application scenario, and specific values of the maximum power storage threshold Qmax and the minimum power storage threshold Qmin are not limited herein.
And after acquiring the real-time electric quantity of the standby power supply, the microprocessor compares the real-time electric quantity with the maximum electricity storage threshold value to judge whether the electric quantity stored in the standby power supply exceeds the electric quantity peak value which can be stored by the standby power supply.
When the microprocessor judges that the real-time electric quantity of the standby power supply is larger than or equal to the maximum electricity storage threshold value, the microprocessor sends a control signal to the switch to disconnect the switch, so that the main power supply is prevented from continuously charging the standby power supply. As shown in fig. 2, at this time, the power consumption monitoring unit is turned off, and the main power supply supplies power only to the load unit.
When the microprocessor judges that the real-time electric quantity of the standby power supply is smaller than the maximum electricity storage threshold value, the microprocessor shows that the standby power supply does not reach the electricity storage peak value at the moment, and the microprocessor sends a control signal to the switch to close the switch, so that the main power supply is kept to simultaneously supply electric energy to the standby power supply and the load unit. As shown in fig. 2, at this time, the energy consumption monitoring unit is turned on, and the main power supply simultaneously supplies power to the standby power supply and the load unit.
And step S104, when the main power supply is in a power-off state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
In particular embodiments, when the primary power source processes a power-off state, the primary power source no longer provides power to the load unit. The microprocessor can automatically control the switch of the energy consumption monitoring unit to be closed so that the standby power supply enters a discharging mode and provides electric energy for the load unit.
Specifically, this embodiment can guarantee through the mode that sets up energy consumption monitoring unit between stand-by power supply and load cell stand-by power supply can not overdischarge when providing the electric energy for the load cell, has avoided stand-by power supply leads to stand-by power supply's negative pole to cause irreversible damage because the battery overdischarging.
According to a specific implementation manner of the embodiment of the application, when the main power supply is in a power-off state, the step of controlling the on-off of the switch based on the electric quantity state of the standby power supply to control the discharge mode of the standby power supply includes:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is smaller than or equal to a preset minimum electric storage threshold value;
if the real-time electric quantity is smaller than or equal to a preset minimum electricity storage threshold value, controlling the switch to be switched off so as to control the standby power supply to stop discharging to the load unit;
and if the real-time electric quantity is greater than a preset minimum electric storage threshold value, controlling the switch to be closed so as to control the standby power supply to discharge to the load unit.
In a specific real-time manner, reference may be made to the description in the foregoing embodiment to obtain the real-time electric quantity of the standby power supply, which is not described herein again.
When the microprocessor judges that the real-time electric quantity of the standby power supply is smaller than or equal to the minimum power storage threshold, the standby power supply is indicated to be at a critical point of over-discharge of a battery at the moment, and the microprocessor sends a control signal to the switch to disconnect the switch, so that the standby power supply is stopped from continuously supplying power to the load unit, and the standby power supply can be effectively protected.
When the microprocessor judges that the real-time electric quantity of the standby power supply is larger than the minimum electricity storage threshold value, the microprocessor shows that the electric energy stored in the standby power supply can also continuously supply power for the load unit at the moment, and sends a control signal to the switch to close the switch, so that the standby power supply is ensured to continuously supply power to the load unit, and the stored electric energy of the standby power supply can be utilized at the maximum efficiency.
According to a specific real-time mode of the embodiment of the application, the charge and discharge control system further comprises an alarm prompting unit, when the microprocessor detects that the electric quantity in the standby power supply is lower than a preset minimum electricity storage threshold value, the alarm prompting unit can send battery overdischarge alarm prompting information to a fixed user terminal so as to remind a user to check the working states of the standby power supply and the main power supply.
In a specific real-time mode, when the microprocessor detects that the electric quantity in the standby power supply is higher than a preset maximum electricity storage threshold value, the alarm prompting unit sends battery overdischarge alarm prompting information to a fixed user terminal to remind a user to check the switch and the metering chip of the energy consumption monitoring unit, and the switch and the metering chip of the energy consumption monitoring unit are prevented from being damaged and being incapable of continuously and effectively protecting the standby power supply.
The charging and discharging control method provided by the embodiment of the application can protect the charging and discharging process of the standby power supply through two different control methods, and can prevent the main power supply from overcharging the standby power supply based on the real-time electric quantity control switch of the standby power supply in the charging process so as to cause overcharge damage of the battery. Can prevent at the discharge in-process based on stand-by power supply's real-time electric quantity control switch stand-by power supply the stand-by power supply is to load cell overdischarging to cause the battery to overdischarge the damage, effectively improved the availability factor of battery among the industrial environment, promoted the security that stand-by power supply used, promoted stand-by power supply's life.
Referring to fig. 2, a schematic system structure diagram of a charge and discharge control system provided in an embodiment of the present application is shown, and as shown in fig. 2, the charge and discharge control system provided in the embodiment of the present application includes: the energy consumption monitoring system comprises a main power supply, an energy consumption monitoring unit, a load unit and a standby power supply, wherein the energy consumption monitoring unit and the load unit are both connected with the main power supply, and the standby power supply is electrically connected with the load unit through the energy consumption monitoring unit;
the energy consumption monitoring unit comprises a metering chip, a microprocessor and a control switch;
the metering chip is used for acquiring electric energy parameters of the main power supply and the standby power supply, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
the microprocessor is used for acquiring the electric energy parameters acquired by the metering chip; judging the working state of the main power supply according to the electric energy parameter; when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply; when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
In a specific real-time manner, the specific real-time manner of the charge and discharge control system of this embodiment may refer to the specific real-time manner of the above method embodiment, and details are not repeated here.
Referring to fig. 3, a schematic diagram of an apparatus module of a charge and discharge control apparatus 300 according to an embodiment of the present disclosure is shown, where the charge and discharge control apparatus 300 according to the embodiment of the present disclosure is applied to a microprocessor of an energy consumption monitoring unit, the energy consumption monitoring unit further includes a metering chip and a switch, a standby power supply is electrically connected to a load unit through the energy consumption monitoring unit, the energy consumption monitoring unit and the load unit are both connected to a main power supply, as shown in fig. 3, the charge and discharge control apparatus 300 includes:
an obtaining module 301, configured to obtain an electric energy parameter collected by the metering chip, where the electric energy parameter includes a main power supply voltage, a standby power supply voltage, and a power direction;
a judging module 302, configured to judge a working state of the main power supply according to the electric energy parameter;
a first executing module 303, configured to control, when the main power supply is in a power supply state, on/off of the switch based on a power state of the standby power supply, so as to switch a charging mode of the standby power supply;
a second executing module 304, configured to control, when the main power supply is in a power-off state, on/off of the switch based on a power state of the backup power supply, so as to switch a discharging mode of the backup power supply.
According to a specific implementation manner of the embodiment of the present application, the determining module 302 is specifically configured to determine that the main power source is in a power supply state when the voltage of the main power source detected by the metering chip is greater than a preset voltage threshold;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
In addition, the embodiment of the application also provides a motor device, and the motor device comprises the charge and discharge control system in the embodiment.
The embodiment of the application provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program runs on a processor, the computer program executes the charging and discharging control method in the embodiment.
In summary, the embodiments of the present application provide a charge and discharge control method, system, apparatus, motor device, and storage medium, and two different control methods for a discharge process and a charge process of a standby power supply are set, so that overcharge damage caused by overcharge of the standby power supply in the charge process can be effectively prevented, overdischarge damage caused by overdischarge of the standby power supply in the discharge process can be prevented, and the service life of the standby power supply and the safety of the use of the standby power supply can be effectively improved. In addition, for specific implementation processes of the charge and discharge control system, the charge and discharge control device, the motor device, and the computer readable storage medium mentioned in the above embodiments, reference may be made to the specific implementation processes of the above method embodiments, and details are not described here any more.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A charge and discharge control method is characterized in that the charge and discharge control method is applied to a microprocessor of an energy consumption monitoring unit, the energy consumption monitoring unit further comprises a metering chip and a switch, a standby power supply is electrically connected with a load unit through the energy consumption monitoring unit, the energy consumption monitoring unit and the load unit are both connected with a main power supply, and the charge and discharge control method comprises the following steps:
acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
judging the working state of the main power supply according to the electric energy parameter;
when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply;
when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
2. The charge and discharge control method according to claim 1, wherein the step of determining the operating state of the main power supply based on the power parameter includes:
when the voltage of the main power supply detected by the metering chip is greater than a preset voltage threshold, judging that the main power supply is in a power supply state;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
3. The charge and discharge control method according to claim 1, wherein the step of controlling the on/off of the switch based on the state of charge of the backup power supply when the main power supply is in the power supply state to control the charging mode of the backup power supply comprises:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is greater than or equal to a preset maximum electricity storage threshold value;
if the real-time electric quantity is larger than or equal to a preset maximum electricity storage threshold value, controlling the switch to be switched off so as to control the main power supply to stop charging the standby power supply;
and if the real-time electric quantity is smaller than a preset maximum electricity storage threshold value, controlling the switch to be closed so as to control the main power supply to charge the standby power supply.
4. The charge and discharge control method according to claim 1, wherein the step of controlling the on/off of the switch based on the state of charge of the backup power supply when the main power supply is in a power-off state to control the discharge mode of the backup power supply comprises:
acquiring the real-time electric quantity of the standby power supply;
comparing whether the real-time electric quantity is smaller than or equal to a preset minimum electric storage threshold value;
if the real-time electric quantity is smaller than or equal to a preset minimum electricity storage threshold value, controlling the switch to be switched off so as to control the standby power supply to stop discharging to the load unit;
and if the real-time electric quantity is greater than a preset minimum electric storage threshold value, controlling the switch to be closed so as to control the standby power supply to discharge to the load unit.
5. The method of claim 1, wherein the step of obtaining the electrical energy parameters collected by the metering chip comprises:
initializing a read value of the metering chip;
reading main power supply voltage, standby power supply voltage, power direction and electric quantity accumulation information in the metering chip according to a preset time interval;
and respectively storing the electric quantity accumulated information in a corresponding charging electric quantity data pool and a corresponding discharging electric quantity data pool according to the power direction.
6. A charge and discharge control system, comprising: the energy consumption monitoring system comprises a main power supply, an energy consumption monitoring unit, a load unit and a standby power supply, wherein the energy consumption monitoring unit and the load unit are both connected with the main power supply, and the standby power supply is electrically connected with the load unit through the energy consumption monitoring unit;
the energy consumption monitoring unit comprises a metering chip, a microprocessor and a control switch;
the metering chip is used for acquiring electric energy parameters of the main power supply and the standby power supply, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
the microprocessor is used for acquiring the electric energy parameters acquired by the metering chip; judging the working state of the main power supply according to the electric energy parameter; when the main power supply is in a power supply state, controlling the on-off of the switch based on the electric quantity state of the standby power supply so as to switch the charging mode of the standby power supply; when the main power supply is in a power-off state, the on-off of the switch is controlled based on the electric quantity state of the standby power supply so as to switch the discharge mode of the standby power supply.
7. The utility model provides a charge-discharge control device, its characterized in that is applied to the microprocessor of energy consumption monitoring unit, energy consumption monitoring unit still includes measurement chip and switch, and stand-by power supply passes through energy consumption monitoring unit is connected with the load unit electricity, energy consumption monitoring unit with the main power supply is all connected to the load unit, charge-discharge control device includes:
the acquisition module is used for acquiring electric energy parameters acquired by the metering chip, wherein the electric energy parameters comprise main power supply voltage, standby power supply voltage and power direction;
the judging module is used for judging the working state of the main power supply according to the electric energy parameter;
the first execution module is used for controlling the on-off of the switch based on the electric quantity state of the standby power supply when the main power supply is in a power supply state so as to switch the charging mode of the standby power supply;
and the second execution module is used for controlling the on-off of the switch based on the electric quantity state of the standby power supply when the main power supply is in a power-off state so as to switch the discharge mode of the standby power supply.
8. The charge and discharge control device according to claim 7, wherein the determining module is specifically configured to determine that the main power supply is in a power supply state when the voltage of the main power supply detected by the metering chip is greater than a preset voltage threshold;
and when the voltage of the standby power supply detected by the metering chip is greater than a preset voltage threshold value and the power direction of the metering chip is towards the load unit, judging that the main power supply is in a power-off state.
9. An electric motor apparatus characterized by comprising the charge and discharge control system according to claim 6.
10. A computer-readable storage medium, in which a computer program is stored, which, when run on a processor, executes the charge and discharge control method according to any one of claims 1 to 5.
CN202210041277.3A 2022-01-14 2022-01-14 Charge and discharge control method, system and device, motor equipment and storage medium Pending CN114362349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210041277.3A CN114362349A (en) 2022-01-14 2022-01-14 Charge and discharge control method, system and device, motor equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210041277.3A CN114362349A (en) 2022-01-14 2022-01-14 Charge and discharge control method, system and device, motor equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114362349A true CN114362349A (en) 2022-04-15

Family

ID=81109239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210041277.3A Pending CN114362349A (en) 2022-01-14 2022-01-14 Charge and discharge control method, system and device, motor equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114362349A (en)

Similar Documents

Publication Publication Date Title
JP3618472B2 (en) Battery unit and device using battery unit
US8847543B2 (en) Secondary battery charging device and secondary battery charging system
CN112165156B (en) Charging/discharging device, battery system, charging/discharging control method, and storage medium
KR101916969B1 (en) Charging method of battery and battery pack thereof
CN110943261A (en) Thermal runaway monitoring device and method for power lithium ion battery pack
CN115514064B (en) Battery management system for lithium battery power supply system
JP2002315215A (en) Charger, battery pack, and charging system using them
CN109245283B (en) Standby battery monitoring system and uninterrupted power supply intelligent switching and monitoring system
JP2008236930A (en) Charging device of secondary battery
CN112467822A (en) Battery management method, device and system
CN115102266B (en) Control method of battery system, battery system and off-grid power supply system
CN111030211A (en) Battery charging and discharging control method and device, storage medium and electric vehicle
CN116707082A (en) Lithium battery discharge control method, system, terminal and storage medium
CN109586395B (en) Uninterrupted power supply intelligent switching and monitoring method
CN114362349A (en) Charge and discharge control method, system and device, motor equipment and storage medium
CN106026356A (en) Method for increasing capacity of battery
CN114084044B (en) Control method and system for dormancy and awakening of lithium battery pack protection board
JP2006148997A (en) Charging apparatus and charging method
CN109327059A (en) A kind of control method of increasing storage battery service life
JP2009033795A (en) Charging equipment, and charge type electric instrument equipped with the charging equipment
KR101078146B1 (en) Apparatus and method for charging battery cells
US9360530B2 (en) Method and system for energy storage capacity estimation of battery cells
CN102780209A (en) Storage battery protection device for communication equipment
EP4386933A1 (en) Master-slave linkage capacity expansion method and apparatus for mobile battery
CN210401603U (en) Load removal detection circuit based on battery pack

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