CN117944498A - Charging cabinet power-off management method and device, electronic equipment and storage medium - Google Patents

Charging cabinet power-off management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117944498A
CN117944498A CN202410055625.1A CN202410055625A CN117944498A CN 117944498 A CN117944498 A CN 117944498A CN 202410055625 A CN202410055625 A CN 202410055625A CN 117944498 A CN117944498 A CN 117944498A
Authority
CN
China
Prior art keywords
battery
charging
charging cabinet
cabinet
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
CN202410055625.1A
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.)
Guangdong Xingyun Kaiwu Technology Co ltd
Original Assignee
Guangdong Xingyun Kaiwu 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 Guangdong Xingyun Kaiwu Technology Co ltd filed Critical Guangdong Xingyun Kaiwu Technology Co ltd
Priority to CN202410055625.1A priority Critical patent/CN117944498A/en
Publication of CN117944498A publication Critical patent/CN117944498A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to the technical field of computers, and provides a charging cabinet power-off management method, a charging cabinet power-off management device, electronic equipment and a storage medium, wherein the charging cabinet power-off management method comprises the following steps: triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected; based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet; the charging cabinet is powered based on the target battery. According to the application, after the external power supply of the charging cabinet is detected to be disconnected, the battery in the charging cabinet is directly used for supplying power to the charging cabinet, and additional battery installation is not needed, so that the operation cost of the power-off management of the charging cabinet is reduced, and meanwhile, the risk of battery theft can be avoided, and the safety of the power-off management of the charging cabinet is improved.

Description

Charging cabinet power-off management method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for managing power failure of a charging cabinet, an electronic device, and a storage medium.
Background
With the popularization of electric bicycles, the problem of hidden danger of charging is more and more serious, so that many areas prescribe that electric bicycles/storage batteries and the like cannot be brought into indoor charging. The shared charging pile and the shared battery changing cabinet become a solution, and the problem of hidden danger of charging can be effectively solved.
For a shared charging cabinet, if a sudden power failure condition is encountered, the battery cannot be taken out. To solve this problem, a scheme adopts a power-off unlocking technology, however, the scheme adopting the power-off unlocking technology may cause the risk of battery theft. Another solution is to add a battery of a certain capacity as a backup power source to maintain the operation of the shared charging cabinet in case of power failure, however, this solution requires management of charge and discharge of the battery and additional battery capacity to support the operation of the charging cabinet, thereby increasing the cost of the charging cabinet.
In summary, how to effectively manage the power failure of the charging cabinet becomes a problem to be solved.
Disclosure of Invention
The application provides a method, a device, electronic equipment and a storage medium for managing power failure of a charging cabinet, which are used for solving the problem of power failure management of the charging cabinet.
The application provides a method for managing power failure of a charging cabinet, which comprises the following steps:
triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
Based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet;
and supplying power to the charging cabinet based on the target battery.
In one embodiment, determining the target battery includes:
Determining a voltage value of at least one battery in the charging cabinet;
and taking the battery with the maximum voltage value as the target battery.
In one embodiment, after the power is supplied to the charging cabinet based on the target battery, the method further includes:
Determining the discharging time and inverse charging information of the target battery;
Determining the discharge electric quantity of the target battery based on the discharge time or the inverse charging information;
And after the charging cabinet resumes charging, replenishing the electric quantity of the target battery based on the discharging electric quantity.
In one embodiment, after the power is supplied to the charging cabinet based on the target battery, the method further includes:
determining a battery to be taken out based on a battery taking-out instruction;
If the battery to be taken out is the target battery and the charging cabinet has no standby battery, controlling a cabinet door corresponding to the target battery to be unlocked; the standby battery is other batteries except the target battery in the charging cabinet.
In one embodiment, after the battery to be removed is determined based on the battery removal instruction, the method further includes:
If the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, switching to the standby battery with the largest voltage value to supply power for the charging cabinet, and controlling the cabinet door corresponding to the target battery to unlock;
and if the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, controlling the cabinet door corresponding to the standby battery with the largest voltage value to be unlocked.
In one embodiment, determining charging information for the target battery includes:
Determining the charging amount of the target battery when the power is off; the charging amount is determined based on charging time or charging power;
determining a deduction amount of the target battery based on the inverse charging information;
And determining the charging amount to be paid of the target battery based on the charging amount and the deducted amount.
In one embodiment, detecting disconnection of an external power source of the charging cabinet includes:
Detecting the input voltage of the charging cabinet;
and if the input voltage is smaller than a set voltage threshold, determining that the external power supply of the charging cabinet is disconnected.
The application provides a charging cabinet power-off management device, which comprises:
the detection module is used for triggering a control signal of the controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
the control module is used for controlling the controllable switch to switch on a charging unit corresponding to the target battery to the voltage conversion circuit based on the control signal; the target battery is a battery in the charging cabinet;
And the power supply module is used for supplying power to the charging cabinet based on the target battery.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the power-off management method of the charging cabinet when executing the program.
The present application also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of managing power down of a charging cabinet as described in any one of the above.
According to the charging cabinet power-off management method, the charging cabinet power-off management device, the electronic equipment and the storage medium, when the external power supply of the charging cabinet is detected to be disconnected, the control signal of the controllable switch is triggered; based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet; the charging cabinet is powered based on the target battery. According to the application, after the external power supply of the charging cabinet is detected to be disconnected, the battery in the charging cabinet is directly used for supplying power to the charging cabinet, and additional battery installation is not needed, so that the operation cost of the power-off management of the charging cabinet is reduced, and meanwhile, the risk of battery theft can be avoided, and the safety of the power-off management of the charging cabinet is improved.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for managing power failure of a charging cabinet provided by the application;
fig. 2 is a schematic circuit diagram of a method for managing power failure of a charging cabinet according to the present application;
Fig. 3 is a schematic structural diagram of a power-off management device of a charging cabinet provided by the application;
Fig. 4 is a schematic structural diagram of an electronic device provided by the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The charging cabinet power-off management method, the charging cabinet power-off management device, the electronic equipment and the storage medium of the application are described below with reference to fig. 1 to 4.
Specifically, the application provides a method for managing power failure of a charging cabinet, and referring to fig. 1, fig. 1 is a schematic flow chart of the method for managing power failure of the charging cabinet.
The charging cabinet power-off management method provided by the embodiment of the application comprises the following steps:
Step 100, triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
The charging cabinet may measure the input voltage through a voltage sensor or a voltage measurement module connected to the power input terminal, and determine that the external power of the charging cabinet is disconnected if the input voltage is less than a set voltage threshold. The input voltage may be an ac voltage or a dc voltage.
If the charging cabinet uses an alternating current power supply, whether the external power supply is disconnected or not can be judged by detecting the alternating current voltage input by the socket. For example, the control board of the charging cabinet detects the ac voltage input by the socket in real time, and determines that the external power supply has been disconnected once it is detected that the ac voltage drops below a set voltage threshold (e.g., from 220V to 200V).
If the charging cabinet uses the direct current power supply, whether the external power supply is disconnected or not can be judged by detecting the direct current voltage input by the socket. For example, the control board detects the direct current voltage input by the socket in real time, and once the direct current voltage is detected to be lower than a set voltage threshold (for example, the voltage of 24V is lowered to be lower than 20V), the control board judges that the external power supply is disconnected.
Alternatively, it is also possible to determine whether the external power source has been disconnected by monitoring the output current of the power source module. For example, when the output current drops to approximately zero, it is determined that the external power supply is interrupted.
When the external power supply of the charging cabinet is detected to be disconnected, a control signal of the controllable switch is triggered. For example, referring to fig. 2, the controllable switch is connected to a charging unit corresponding to each battery in the charging cabinet, a voltage conversion circuit (i.e., a DC/DC circuit for converting the voltage of the battery in the charging cabinet to the operating voltage of the charging cabinet control board), and a control board for controlling conduction between the charging unit and the DC/DC circuit. When the external power supply of the charging cabinet is detected to be disconnected, the control board triggers a control signal of the controllable switch and sends the control signal to the controllable switch. The control signal may be a digital signal or a level signal, and is used to control the state of the controllable switch. It is understood that each charging unit does not charge the battery after external power is off. And as the controllable switch is turned on, the selected battery is connected to the DC/DC, thereby replacing an external power supply to supply power to the components such as a control board, a door lock, a fire-fighting device and the like of the charging cabinet.
Fig. 2 also includes an AC/DC circuit for converting AC power to DC power, wherein the AC/DC circuit is connected to the input voltage 220V at one end and to the control board at the other end. It will be appreciated that when the charging cabinet is connected to an external AC power source, it is necessary to convert AC power to DC power for use by the control board and other components of the charging cabinet, and at this time, it is necessary to convert AC power to DC power by the AC/DC circuit.
In fig. 2, each battery corresponds to a charging unit for providing electrical charging for the battery or other chargeable device. Optionally, the charging unit is provided with a battery connection interface, which can be matched with different types of battery interfaces, so that the charging unit can charge various batteries. Optionally, the charging unit is provided with a display/indicator light for displaying the current state of the charging unit and the charging progress. Optionally, the charging unit is provided with a charging controller for monitoring and controlling the charging process. The charging controller can adjust the output voltage and current by detecting parameters such as the battery voltage, the temperature and the like so as to ensure the safety and the charging efficiency of the charging process.
Alternatively, each charging unit device may be provided with a corresponding controllable switch, so that the control board may select a battery in a particular channel for powering.
Step 200, based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit;
and 300, supplying power to the charging cabinet based on the target battery.
The control signal generated by the control board carries target battery information, wherein the target battery is a battery with the largest voltage value in the charging cabinet and is used for supplying power to the charging cabinet. The control board instructs the controllable switch to switch on the charging unit corresponding to the target battery to the voltage conversion circuit through the control signal, and then supplies power to the charging cabinet through the target battery.
For example, the control board records the voltage state of each battery, and then selects the battery with the largest voltage value as the power supply battery. Based on this, the number of battery replacement times can be reduced, the life of the battery pack can be prolonged, and the maintenance cost can be reduced to some extent. On the other hand, for the merchant, since the use of the battery is more reasonable and efficient, the amount of money that needs to be subsidized to the user due to the replacement of the battery can be reduced, thereby reducing the operation cost.
According to the charging cabinet power-off management method provided by the embodiment of the application, when the external power supply of the charging cabinet is detected to be disconnected, the control signal of the controllable switch is triggered; based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet; the charging cabinet is powered based on the target battery. According to the embodiment of the application, after the external power supply of the charging cabinet is detected to be disconnected, the battery in the charging cabinet is directly used for supplying power to the charging cabinet, and additional battery installation is not needed, so that the operation cost of the power-off management of the charging cabinet is reduced, the risk of battery theft can be avoided, and the safety of the power-off management of the charging cabinet is improved.
Based on the above embodiment, after the power is supplied to the charging cabinet based on the target battery, the method further includes:
step 311, determining the discharging time and inverse charging information of the target battery;
Step 312, determining the discharge capacity of the target battery based on the discharge time or the inverse charging information;
And step 313, after the charging cabinet resumes charging, replenishing the electric quantity of the target battery based on the discharged electric quantity.
In the process that the target battery supplies power for the charging cabinet, the power supply time, namely the discharging time, of the target battery is recorded, and meanwhile, the target battery is charged reversely, wherein the reverse charging is an electric power charging mode and can be understood as reverse charging or negative charging, namely, the charging compensation is carried out on the target battery according to the electricity consumption behavior of the user, and the charging is not carried out on the user. The reverse charging information comprises the information such as the time of reverse charging, the reverse charging electric quantity, the reverse charging unit price, the reverse charging mode and the like.
And determining the discharge electric quantity of the target battery based on the discharge time or the inverse charging information, wherein the discharge electric quantity refers to the electric energy released by the battery in the discharge process. For another example, the reverse charging electric quantity is acquired based on the reverse charging information, and the reverse charging electric quantity is used as the discharge electric quantity.
After the charging cabinet resumes charging, the control panel carries out electric quantity replenishment to the target battery based on the recorded discharging electric quantity, namely, the electric quantity required to be replenished is determined according to the discharging condition and the consumption before the target battery.
According to the embodiment of the application, the electric quantity is supplied to the target battery through the discharge electric quantity, so that the energy storage of the battery can be recovered, and the continuity of power supply is ensured.
Based on the above embodiment, after the power is supplied to the charging cabinet based on the target battery, the method further includes:
step 321, determining a battery to be taken out based on a battery taking-out instruction;
Step 322, if the battery to be taken out is the target battery and there is no standby battery in the charging cabinet, controlling the cabinet door corresponding to the target battery to unlock; the standby battery is other batteries except the target battery in the charging cabinet.
When the control panel receives a battery taking-out instruction sent by the server in a power-off state of the charging cabinet, the battery to be taken out is determined based on the battery taking-out instruction. For example, in a charging cabinet, each battery has a unique identifier, such as a battery number or ID. The control board may acquire status and identifier information of each battery in the charging cabinet by communicating with the battery management system. The fetching instruction forwarded by the server contains the battery identifier appointed by the user. The control board analyzes the extraction instruction, extracts a battery identifier designated by a user, and can determine the battery to be extracted based on the battery identifier.
And further judging whether the battery to be taken out is a target battery, if so, determining whether a standby battery exists in the charging cabinet, wherein the standby battery is other batteries except the target battery in the charging cabinet. If there is no backup battery, the control board stores critical data, for example, the critical data in the control board is stored in a non-volatile memory (such as flash memory) to ensure that the data can be retained after power is turned off. The data to be saved may include: system configuration information: including various setup parameters, system status, etc., running logs: recording the running state of the system, error information, event records and the like, and equipment state: recording running state of equipment, sensor data, equipment connection state and the like, and caching data: temporary data, cached data, so that after power down can continue to be used, user data: data entered by a user, etc.
And after the key data are stored, controlling the cabinet door corresponding to the target battery to unlock so as to enable the user to take out the battery. After the battery is taken out, the control board and other peripherals can continue to operate within a certain time when the capacitor can be maintained, and then stop operating. For example, the control board sends a shutdown instruction to other peripheral devices and shuts down itself, at which time the other peripheral devices and the control board continue to operate for the duration of the capacitor maintenance.
In addition, the control panel sends a status instruction to the server when entering the power-off mode, and the server marks the charging cabinet until the charging cabinet is powered on again. When the user scans the code and requests the server to start the charging cabinet to charge, the server can send a message of refusing service and prompt the user that the charging cabinet cannot be used currently. The detailed steps are as follows:
a. control panel status command transmission: when the control panel detects that the charging cabinet is about to enter the power-off mode, a state instruction is sent to the server to inform the server that the charging cabinet is about to stop running and enter the power-off mode. Wherein the status instructions may include a unique identifier of the charging cabinet or other necessary information for the server to tag the charging cabinet.
B. the server marks the device status: after receiving the state instruction sent by the control panel, the server marks the charging cabinet as a disabled state or a power-off state. The server will store the identifier and status information of the charging cabinet in a database for subsequent querying and management.
C. user sweeps a yard request to charge: when a user uses the code scanning equipment to scan the two-dimensional code on the charging cabinet or make other modes of requests, the server receives the user requests and acquires the state information of the charging cabinet.
D. The server refuses service: if the server inquires that the charging cabinet requested by the user is in a state marked as 'disabled' or 'powered off', the server can send a service rejection message to the user to prompt the user that the charging cabinet cannot be used currently. This message may be displayed to the user by the code scanning device or otherwise notified to the user.
Based on the scheme realized by the steps, the user can be ensured to obtain timely state feedback when using the charging equipment, and the situation that the charging equipment cannot be used due to unknown equipment state is avoided. Meanwhile, the management and maintenance of the equipment are facilitated, and the equipment is ensured to provide service to the outside when in a normal running state.
In an embodiment, if the battery to be taken out is a target battery and at least one standby battery exists in the charging cabinet, the standby battery with the largest voltage value is switched to supply power for the charging cabinet, and the cabinet door corresponding to the target battery is controlled to be unlocked. For example, assuming more than two batteries in the charging cabinet, each battery has a voltage sensor for monitoring the voltage condition of the battery, the control board can read the voltage information of the battery periodically or in real time. When the charging cabinet is powered off, the battery with the highest voltage (namely the target battery) is determined to be powered on, if a user scans the code at the moment to take out the target battery, before the cabinet is opened, the control board can determine the standby battery with the highest current voltage by comparing the voltage information of the standby battery, then the control board can switch the power supply of the charging cabinet to the standby battery, and then the cabinet door corresponding to the target battery is controlled to be unlocked. For example, assume that there are three batteries in the charging cabinet numbered 1,2, 3. When the charging cabinet is powered off, the voltage of the battery 2 is highest through detection, and the battery 2 supplies power for the charging cabinet. If the user needs to take out the battery 2, comparing the voltage values of the battery 1 and the battery 3, if the voltage of the battery 3 is highest, switching the battery 3 to continuously supply power to the charging cabinet, and then opening a cabinet door corresponding to the battery 2 to allow the user to take out the battery 2. Based on this, it is ensured that in the power-off state, the highest voltage battery is always used for power supply, so as to prolong the operation time of the device and maximally utilize the battery resources.
According to the embodiment of the application, the standby battery is switched to continuously supply power to the charging cabinet, so that the charging cabinet can be ensured to continuously supply power during power failure, the energy of the battery is fully utilized, and the reliability and stability of the equipment are improved. Meanwhile, after the user takes out the battery, the next highest-voltage battery can be powered preferentially, so that the user experience is prevented from being interrupted.
In an embodiment, if the battery to be taken out is a target battery and at least one standby battery exists in the charging cabinet, the cabinet door corresponding to the standby battery with the largest control voltage value is unlocked. For example, assuming more than two batteries in the charging cabinet, each battery has a voltage sensor, the control board can read the voltage information of the battery periodically or in real time. When the charging cabinet is powered off, the battery with the highest voltage (namely the target battery) is determined to be powered on, if a user scans the code at the moment to take out the target battery, before the cabinet is opened, the control board can determine the standby battery with the highest current voltage by comparing the voltage information of the standby battery, and then the cabinet door corresponding to the standby battery with the highest voltage is controlled to unlock, namely, in order to avoid switching the power supply battery, the standby battery with the highest voltage is provided for the user. For example, assume that there are three batteries in the charging cabinet numbered 1,2, 3. When the charging cabinet is powered off, the voltage of the battery 2 is highest through detection, and the battery 2 supplies power for the charging cabinet. If the user needs to take out the battery 2, comparing the voltage values of the battery 1 and the battery 3, and if the voltage of the battery 3 is highest, opening a cabinet door corresponding to the battery 3 to take out the battery 3 by the user. It should be noted that, since the battery 2 is not provided to the user at last, the situation may be described to the user, for example, a prompt message may be sent to the user, which indicates that the battery 2 that needs to be taken out currently is a power supply battery. Optionally, the user's consent may be solicited in advance, and if the user agrees to replace other batteries, the cabinet door corresponding to the battery 3 is opened; and if the user does not agree to replace other batteries, opening the cabinet door corresponding to the battery 2.
According to the embodiment of the application, the standby battery with the largest voltage value in the charging cabinet is directly taken out, and the battery does not need to be switched to supply power for the charging cabinet, so that the number of times of battery replacement can be reduced, and the service life of the battery pack can be prolonged.
Based on the above embodiment, determining charging information of the target battery includes:
Step 411, determining a charging amount of the target battery when the target battery is powered off; the charging amount is determined based on charging time or charging power;
Step 412, determining a deduction amount of the target battery based on the inverse charging information;
and 413, determining the charging amount to be paid of the target battery based on the charging amount and the deduction amount.
(1) If the target battery is taken out in the process of supplying power to the charging cabinet, the charging amount to be paid is calculated as follows:
1.1 A charging amount of the target battery at the time of power outage, wherein the charging amount may be determined based on the charging time or the charging power, e.g., in a manner that the charging amount is determined based on the charging time or the charging power:
Charging according to time: determining a charging period of the battery, i.e., a time interval from the start of charging to the end of charging; then, the charging unit price per hour or per minute is determined, the charging time length is calculated according to the charging start time and the charging end time, and the charging time length is multiplied by the charging unit price to obtain the charging amount.
And (3) charging according to power: during charging, electrical energy is transferred to the battery at a certain power, the magnitude of which depends on the voltage, current and load conditions. The basic principle of power-based billing is therefore to calculate the cost from the electrical energy power consumed during charging. For example, the power (unit: watt) of the battery is determined, the unit of charging per watt is determined, then the charging duration is calculated according to the charging start time and the charging end time, the total energy consumed in the charging process can be obtained by multiplying the charging power by the charging duration, and finally the charging total energy is multiplied by the unit of charging, so that the charging amount can be obtained.
1.2 Based on the inverse charging information, a deduction amount of the target battery is determined. For example, the discharge time length (i.e., the power supply time length) of the target battery is determined based on the inverse charging information, and the reduction amount can be obtained by multiplying the discharge time length by the charging unit price.
1.3 Based on the charged amount and the deducted amount, determining a charged amount to be paid of the target battery. For example, the amount to be paid=the amount to be charged-the amount to be deducted.
If the charge amount is charged by time, the charging service stops charging when power is cut off. For the power supply unit (i.e. the target battery), a reverse charging can be performed, i.e. the user is exempted from the charging time before the power failure. Based on this, it is ensured that the user does not incur additional costs due to the power outage, while the power supply unit is adjusted to reflect the actual situation.
If the amount is charged per power, the last data that has been charged needs to be used for charging when the power is off. For the power supply unit, the power may be estimated based on the power supply time during the power-off period, and the charging may be performed according to the estimation result, or the charging may be performed using the measurement result. Based on this, charging can be performed according to the actual charging situation, ensuring that the power supply unit can accurately record the charging power consumption during the outage.
(2) If the target battery is in the process of supplying power to the charging cabinet, the charging cabinet resumes charging, and the charging cabinet continues to supply power to the target battery, and at the moment, the calculation mode of the charging amount to be paid is as follows:
2.1 Determining a first billing amount for the target battery when the target battery is powered off;
2.2 Determining a deduction amount of the target battery based on the inverse charging information;
2.3 Determining a charge duration of the target battery after recharging to calculate a second billing amount for the target battery based on the charge duration;
2.4 A charging amount to be paid of the target battery is determined based on the first charging amount, the deducted amount, and the second charging amount. For example, the to-be-paid charging amount=first charging amount-deducted amount+second charging amount.
The embodiment of the application can charge according to the actual charging time length for the time charging mode, and can exempt the power supply unit according to the power supply time length, thereby not only ensuring the rights and interests of users, but also avoiding the loss of resources due to the fact that the power supply unit is stopped in the middle of charging service. For the mode of charging according to the power, the charging consumption of the battery can be accurately reflected, and the problem of inaccurate charging caused by fluctuation of the charging power is avoided.
Fig. 3 is a schematic structural diagram of a charging cabinet power-off management device provided by the application, and referring to fig. 3, an embodiment of the application provides a charging cabinet power-off management device, which includes a detection module 301, a control module 302 and a power supply module 303.
The detection module 301 is configured to trigger a control signal of the controllable switch when detecting that an external power supply of the charging cabinet is disconnected;
The control module 302 is configured to control the controllable switch to turn on a charging unit corresponding to the target battery to the voltage conversion circuit based on the control signal; the target battery is a battery in the charging cabinet;
and the power supply module 303 is used for supplying power to the charging cabinet based on the target battery.
According to the charging cabinet power-off management device provided by the embodiment of the application, when the external power supply of the charging cabinet is detected to be disconnected, the control signal of the controllable switch is triggered; based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet; the charging cabinet is powered based on the target battery. According to the embodiment of the application, after the external power supply of the charging cabinet is detected to be disconnected, the battery in the charging cabinet is directly used for supplying power to the charging cabinet, and additional battery installation is not needed, so that the operation cost of the power-off management of the charging cabinet is reduced, the risk of battery theft can be avoided, and the safety of the power-off management of the charging cabinet is improved.
In one embodiment, the control module 302 is configured to:
Determining a voltage value of at least one battery in the charging cabinet;
and taking the battery with the maximum voltage value as the target battery.
In one embodiment, the power module 303 is configured to:
Determining the discharging time and inverse charging information of the target battery;
Determining the discharge electric quantity of the target battery based on the discharge time or the inverse charging information;
And after the charging cabinet resumes charging, replenishing the electric quantity of the target battery based on the discharging electric quantity.
In one embodiment, the power module 303 is configured to:
determining a battery to be taken out based on a battery taking-out instruction;
If the battery to be taken out is the target battery and the charging cabinet has no standby battery, controlling a cabinet door corresponding to the target battery to be unlocked; the standby battery is other batteries except the target battery in the charging cabinet.
In one embodiment, the power module 303 is configured to:
If the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, switching to the standby battery with the largest voltage value to supply power for the charging cabinet, and controlling the cabinet door corresponding to the target battery to unlock;
and if the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, controlling the cabinet door corresponding to the standby battery with the largest voltage value to be unlocked.
In one embodiment, the charging cabinet outage management apparatus further comprises a charging amount determination module configured to:
Determining the charging amount of the target battery when the power is off; the charging amount is determined based on charging time or charging power;
determining a deduction amount of the target battery based on the inverse charging information;
And determining the charging amount to be paid of the target battery based on the charging amount and the deducted amount.
In one embodiment, the detection module 301 is configured to:
Detecting the input voltage of the charging cabinet;
and if the input voltage is smaller than a set voltage threshold, determining that the external power supply of the charging cabinet is disconnected.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (CommunicationsInterface) 420, memory 430, and communication bus 440, wherein processor 410, communication interface 420, and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a charging cabinet power down management method comprising:
triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
Based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet;
and supplying power to the charging cabinet based on the target battery.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the charging cabinet power-off management method provided by the above methods, the method comprising:
triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
Based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet;
and supplying power to the charging cabinet based on the target battery.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The utility model provides a cabinet outage management method that charges which characterized in that includes:
triggering a control signal of a controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
Based on the control signal, controlling the controllable switch to switch on a charging unit corresponding to the target battery to a voltage conversion circuit; the target battery is a battery in the charging cabinet;
and supplying power to the charging cabinet based on the target battery.
2. The charging cabinet power-down management method according to claim 1, wherein determining the target battery comprises:
Determining a voltage value of at least one battery in the charging cabinet;
and taking the battery with the maximum voltage value as the target battery.
3. The method for managing power failure of a charging cabinet according to claim 1, further comprising, after the power is supplied to the charging cabinet based on the target battery:
Determining the discharging time and inverse charging information of the target battery;
Determining the discharge electric quantity of the target battery based on the discharge time or the inverse charging information;
And after the charging cabinet resumes charging, replenishing the electric quantity of the target battery based on the discharging electric quantity.
4. The method for managing power failure of a charging cabinet according to claim 1, further comprising, after the power is supplied to the charging cabinet based on the target battery:
determining a battery to be taken out based on a battery taking-out instruction;
If the battery to be taken out is the target battery and the charging cabinet has no standby battery, controlling a cabinet door corresponding to the target battery to be unlocked; the standby battery is other batteries except the target battery in the charging cabinet.
5. The method according to claim 4, wherein after determining the battery to be taken out based on the battery take-out instruction, further comprising:
If the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, switching to the standby battery with the largest voltage value to supply power for the charging cabinet, and controlling the cabinet door corresponding to the target battery to unlock;
and if the battery to be taken out is the target battery and at least one standby battery exists in the charging cabinet, controlling the cabinet door corresponding to the standby battery with the largest voltage value to be unlocked.
6. The charging cabinet power-off management method according to claim 3, wherein determining charging information of the target battery comprises:
Determining the charging amount of the target battery when the power is off; the charging amount is determined based on charging time or charging power;
determining a deduction amount of the target battery based on the inverse charging information;
And determining the charging amount to be paid of the target battery based on the charging amount and the deducted amount.
7. The charging cabinet power-off management method according to claim 1, wherein detecting the external power supply disconnection of the charging cabinet comprises:
Detecting the input voltage of the charging cabinet;
and if the input voltage is smaller than a set voltage threshold, determining that the external power supply of the charging cabinet is disconnected.
8. The utility model provides a cabinet outage management device charges which characterized in that includes:
the detection module is used for triggering a control signal of the controllable switch when the external power supply of the charging cabinet is detected to be disconnected;
the control module is used for controlling the controllable switch to switch on a charging unit corresponding to the target battery to the voltage conversion circuit based on the control signal; the target battery is a battery in the charging cabinet;
And the power supply module is used for supplying power to the charging cabinet based on the target battery.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for managing power down of a charging cabinet according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the charging cabinet power-off management method according to any one of claims 1 to 7.
CN202410055625.1A 2024-01-15 2024-01-15 Charging cabinet power-off management method and device, electronic equipment and storage medium Pending CN117944498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410055625.1A CN117944498A (en) 2024-01-15 2024-01-15 Charging cabinet power-off management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410055625.1A CN117944498A (en) 2024-01-15 2024-01-15 Charging cabinet power-off management method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117944498A true CN117944498A (en) 2024-04-30

Family

ID=90802489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410055625.1A Pending CN117944498A (en) 2024-01-15 2024-01-15 Charging cabinet power-off management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117944498A (en)

Similar Documents

Publication Publication Date Title
US10459506B1 (en) Battery state detection by use of voltage in a shared power system background
US7304454B2 (en) Information processing apparatus for setting charge-start criteria level based on power supply drive history
CN102593540A (en) Battery activating method, battery activating module and terminal
JPH10290533A (en) Battery charging system
CN114844191B (en) Intelligent power supplementing method and device, storage medium and electronic device
CN105703475A (en) Method and system of uninterrupted intelligent power supply of ATM
CN106338690A (en) Standby battery detection method, device and system and power supply method
CN102117939A (en) Battery management device and portable computer
US7466105B2 (en) Autonomic battery reconditioning
CN116513899A (en) Elevator power supply control method, system, computer equipment and storage medium
CN117944498A (en) Charging cabinet power-off management method and device, electronic equipment and storage medium
JP3552586B2 (en) Uninterruptible power system
CN213521298U (en) Photovoltaic range extender hybrid power generation system
CN112918291B (en) Battery charging station and battery management method
JP2809661B2 (en) Battery driven information processing device, battery power supply system, and battery management device
EP2469686B1 (en) System and method for hot-swapping of power sources in portable electronic devices
CN113629845A (en) Container power-on control method and device, electronic equipment and storage medium
CN114683959A (en) Intelligent power supplementing method for storage battery in electric vehicle and intelligent power supplementing system for storage battery in electric vehicle
JP6981015B2 (en) Power supply system, control device, control method and program
CN117856313B (en) Control method, device and equipment of energy storage battery and storage medium
US11697357B2 (en) System and method of managing battery of vehicle
CN108304059A (en) A kind of computer abnormal power-down auto shutdown system and method
US20230052129A1 (en) Energy storage system and control method thereof
US11378626B2 (en) System and method for managing battery of vehicle
JP2013246590A (en) Power control apparatus and program

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