Automatic switching control system and control method for power supply of battery changing cabinet

By integrating voltage detection, power supply analysis, charging and discharging control and display modules in the battery swap cabinet, the charging and discharging state of the battery is automatically switched, and power supply is optimized according to the power and position, the power supply is solved. The battery swap cabinet cannot distinguish the power when the power supply is disconnected. The problem of this system is achieved continuously and efficient power supply, improving user experience and system reliability.

CN118971275APending Publication Date: 2024-11-15SUZHOU YUYING MICROELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411093868.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing battery swap cabinet cannot distinguish the battery power in the battery swap cabinet when the external power supply is disconnected, which affects the user's travel and use.

Method used

Using voltage detection module, power supply analysis module, charge and discharge control module and display module, the charging and discharge state is automatically switched by detecting the battery voltage and power supply source, and the power is displayed in real time to ensure the continuous operation of the system, and optimized by power by ordering and position. Power supply, extend power supply time.

Benefits of technology

It realizes automatic and seamless switching of power supplies, ensures continuous and normal operation of the system, improves battery utilization and power supply time, facilitates users to grasp battery dynamics, reduces energy consumption, and improves the reliability and user experience of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971275A_ABST
    Figure CN118971275A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery changing cabinets, in particular to a battery changing cabinet power supply automatic switching control system and a control method. According to the automatic switching control system for the power source of the battery changing cabinet, the voltage detection module, the power supply analysis module, the charging and discharging control module, the display module and the processor are integrated, detection of the battery voltage and the power supply source is achieved, charging and discharging and display are automatically controlled according to the detection result, and by detecting the voltage electric quantity and the power supply source of each battery, automatic switching is achieved. When the power supply source is the commercial power, each battery is controlled to charge and the electric quantity is displayed, and when the commercial power is cut off and is switched to the internal battery to supply power, a target battery is determined, the target battery is controlled to discharge to supply power to the display module, and the residual electric quantity is continuously displayed, so that automatic seamless switching of the power supply is realized, and continuous normal operation of the system is ensured; meanwhile, an electric quantity display function is integrated, a user can conveniently master battery dynamic states, and the use experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power exchange cabinets, and in particular to a power exchange cabinet automatic power switching control system and control method. Background Art

[0002] The battery swap cabinet is a very convenient public device. When a user's electric vehicle or other electric transportation tool runs low on power after using it for a period of time, the battery in the tool can be removed and placed in the battery swap cabinet for charging, and the charged battery can be taken out and placed in the electric vehicle at the same time.

[0003] With the booming development of the food delivery industry, the number of food delivery workers is increasing. Compared with motor vehicles such as motorcycles, electric vehicles have lower operating costs. Battery swap cabinets can greatly facilitate people's daily use. Usually, the battery swap cabinet is powered by the mains. After the battery is placed in, the control module detects the battery voltage and charges it. When the battery is fully charged, the system will disconnect the power supply of the battery.

[0004] However, during the use of a conventional power cabinet, if the external power supply is disconnected, the entire power cabinet system will be powered off. At this time, if someone needs to replace the battery, they will not be able to tell the power level of the battery in the battery replacement cabinet, which will affect subsequent travel use. This situation needs to be further improved. Summary of the invention

[0005] In order to solve the problem that the existing power cabinet cannot distinguish the power level of the battery in the power exchange cabinet when the external power supply is disconnected, the present application provides a power exchange cabinet power automatic switching control system and control method, which adopts the following technical solutions: In a first aspect, the present application provides a power automatic switching control system for a power exchange cabinet, including a voltage detection module, a power supply analysis module, a charge and discharge control module, a display module and a processor, wherein the processor performs the following steps: The voltage detection module detects the voltage and power of the batteries in each battery slot in the battery swap cabinet; According to the voltage of the battery in each battery slot, the power supply analysis module detects the power supply source of the current power exchange cabinet, and the power supply source includes the mains and the internal battery; According to the detection result of the power supply analysis module, when the power supply source is the mains, the processor controls the charge and discharge control module of each battery slot to be in a charging state to charge each battery; and based on the data of the battery detection module, the remaining power of each battery is displayed in real time through the display module; When the mains power off signal is received from the power supply analysis module, the power supply source is switched to the internal battery, and the target battery slot is determined based on the battery power in each battery slot detected by the voltage detection module, and the charge and discharge control module corresponding to the target battery slot is controlled to switch to a discharge state, and the battery in the target battery slot is used to power the display module, and the remaining power of each battery is continuously displayed through the display module.

[0006] By adopting the above-mentioned technical scheme, the automatic power switching control system of the battery exchange cabinet of the present application integrates a voltage detection module, a power supply analysis module, a charge and discharge control module, a display module and a processor to realize the detection of battery voltage and power supply source, and automatically controls charging and discharging and display according to the detection results. By detecting the voltage and power level of each battery and the power supply source, when the power supply source is AC power, the charging of each battery is controlled and the power level is displayed. When the AC power is cut off and switched to the internal battery for power supply, a target battery is determined, and its discharge is controlled to supply power to the display module, and the remaining power is continuously displayed, thereby realizing automatic and seamless switching of power supply and ensuring the continuous and normal operation of the system. At the same time, the power display function is integrated to facilitate users to grasp the battery dynamics and improve the usage experience.

[0007] Optionally, after determining the target battery slot according to the power levels of the batteries in the battery slots detected by the voltage detection module, the processor further performs the following steps: According to the power of the batteries in each battery slot detected by the battery voltage detection module, the power of the batteries in each battery slot is sorted to obtain a sorting result; According to the ranking result, a plurality of target battery slots are determined in order from high to low, and according to the order of the target battery slots, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

[0008] By adopting the above-mentioned technical solution, since the battery exchange cabinet is usually equipped with multiple battery slots, when the city power is cut off and the internal battery needs to be used for power supply, using only a single battery for power supply may cause the battery to be exhausted quickly and unable to continuously power the system. This application uses multiple batteries as backup power sources one by one in order from high to low according to the power status of each battery, and disperses the use of multiple batteries to supply power in turn, thereby avoiding excessive consumption of power from a single battery; the battery utilization rate is higher and the power supply time is longer, which effectively extends the working time of the entire system in the event of a power outage, and improves the reliability and practicality of the system.

[0009] Optionally, after determining the target battery slot according to the power levels of the batteries in the battery slots detected by the voltage detection module, the processor further performs the following steps: Obtaining the location information of the target battery slot in the battery swap cabinet; According to the position information and the power of the batteries in each battery slot, a plurality of battery slots with power lower than a threshold are sorted according to the spatial proximity of the battery slot positions to obtain a target battery slot sequence; According to the order of the target battery slot sequence, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

[0010] By adopting the above-mentioned technical scheme, due to the spatial distribution of the arrangement positions of the battery slots in the battery exchange cabinet, directly using multiple batteries to supply power in turn may cause frequent switching of batteries from different positions. At the same time, using high-power batteries for power supply may cause the battery to be insufficient when the user changes the battery. This application gives priority to using adjacent low-power batteries for power supply according to the spatial position distribution and current power status of each battery slot, thereby reducing line losses and ensuring stable power supply. The batteries serving as backup power sources are concentrated, which makes it more convenient for users to operate when changing batteries, and daily inspection and maintenance work is also more convenient. During maintenance, operations can also be concentrated and continuous, thereby improving work efficiency.

[0011] Optionally, the system further includes a status detection module, which is used to detect the operating status of the power exchange cabinet; the processor further performs the following steps: Acquire the operating status detected by the status detection module, and when the operating status meets the preset conditions, control the system to enter the sleep mode, wherein the preset conditions include that the battery swap cabinet is unmanned for a preset period of time or the current power supply source is the internal battery and the battery power in each battery slot is lower than a preset threshold; When the system enters the sleep mode, the battery supplies power to the power supply analysis module, the voltage detection module, the processor and the display module; When the status detection module detects that someone is operating the battery exchange cabinet or the power of the battery in any battery slot drops to a preset critical value, the system is controlled to exit the sleep mode.

[0012] By adopting the above-mentioned technical scheme, since the battery swap cabinet is unattended or the internal battery power is low, if the system continues to operate normally, it will cause unnecessary energy consumption. The present application obtains the operating status detected by the status detection module. When the preset unattended operation time or the preset internal battery low power threshold is met, the control system enters the sleep mode. In the sleep mode, only the core modules such as power supply analysis and voltage detection are powered. When operation is detected or the power of any battery drops to a critical value, the system is automatically awakened to exit the sleep mode. By automatically entering the sleep mode, energy consumption is reduced and the energy utilization efficiency is further improved. At the same time, based on the detection of the operating status and the critical battery power, the system can be awakened in time according to actual needs, taking into account both energy saving and availability.

[0013] Optionally, the display module includes multiple digital indicator lights for indicating the current working status and power status of the battery in each battery slot through different colors and numbers.

[0014] By adopting the above technical solution, the present application intuitively reflects the current working status and power status of the battery in each battery slot through indicator lights of different colors, and assists digital display in a graphical manner to improve the readability of status information.

[0015] In a second aspect, the present application provides a method for automatically switching power supply of a power exchange cabinet, comprising the following steps: Detect the voltage and power of the batteries in each battery slot in the battery swap cabinet; According to the voltage of the battery in each battery slot, the power supply source of the current power exchange cabinet is detected, and the power supply source includes the mains and the internal battery; When the power supply source is the mains electricity, each battery slot is controlled to be in a charging state, each battery is charged, and the remaining power of each battery is displayed in real time; When a mains power outage signal is received, the power supply source is switched to the internal battery, the target battery slot is determined, the charge and discharge control module corresponding to the target battery slot is controlled to switch to a discharge state, the battery in the target battery slot is used for power supply, and the remaining power of each battery is continuously displayed.

[0016] Optionally, after determining the target battery slot, the following steps are also included: Sorting the power levels of the batteries in each battery slot to obtain a sorting result; According to the sorting result, determining a plurality of target battery slots in order from high to low; According to the sequence of the plurality of target battery slots, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

[0017] Optionally, after determining the target battery slot, the following steps are also included: Obtaining the location information of the target battery slot in the battery swap cabinet; According to the position information and the power of the batteries in each battery slot, a plurality of battery slots with power lower than a threshold are sorted according to the spatial proximity of the battery slot positions to obtain a target battery slot sequence; According to the order of the target battery slot sequence, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

[0018] Optionally, the following steps are also included: Detect the operating status of the power exchange cabinet; When the operating state meets the preset conditions, the control system enters the sleep mode, and the preset conditions include that the battery swap cabinet is unmanned for a preset period of time or the current power supply source is the internal battery and the battery power in each battery slot is lower than the preset threshold; When entering the sleep mode, the battery only supplies power to the power analysis module, the voltage detection module, the processor and the display module; When it is detected that someone is operating the battery swap cabinet or the power of the battery in any battery slot drops to a preset critical value, the control system exits the sleep mode.

[0019] Optionally, the method also includes indicating the current working status and power status of the battery in each battery slot through multiple digital indicator lights.

[0020] In summary, the present application includes at least one of the following beneficial technical effects: 1. The automatic power switching control system of the power exchange cabinet of the present application integrates a voltage detection module, a power supply analysis module, a charge and discharge control module, a display module and a processor to detect the battery voltage and power supply source, and automatically control the charge and discharge and display according to the detection results. By detecting the voltage and power of each battery and the power supply source, when the power supply source is the mains, it controls the charging of each battery and displays the power. When the mains power is cut off and switched to the internal battery for power supply, a target battery is determined, and its discharge is controlled to supply power to the display module, and the remaining power is continuously displayed, thereby realizing automatic and seamless switching of power supply and ensuring the continuous and normal operation of the system; at the same time, the power display function is integrated to facilitate users to grasp the battery dynamics and improve the user experience; 2. This application uses multiple batteries as backup power sources one by one according to the power status of each battery, in order from high to low, and disperses and uses multiple batteries to supply power in turn, avoiding excessive consumption of a single battery; the battery utilization rate is higher, the power supply time is longer, and the working time of the overall system in the case of power outage is effectively extended, thereby improving the reliability and practicality of the system; 3. The present application obtains the operating status detected by the status detection module. When the preset unmanned operation time or the internal battery low power preset threshold is met, the control system enters the sleep mode. In the sleep mode, only the core modules such as power supply analysis and voltage detection are powered. When operation is detected or the power of any battery drops to a critical value, the system is automatically awakened to exit sleep. By automatically entering the sleep mode, energy consumption is reduced and the efficiency of power utilization is further improved. At the same time, based on the detection of the operating status and the critical battery power, the system can be awakened in time according to actual needs, taking into account both energy saving and availability. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of a method for automatically switching power supply of a power exchange cabinet according to an embodiment of the present application; Figure 2 It is a flow chart of sorting batteries according to power in a method for automatically switching power of a power exchange cabinet according to an embodiment of the present application; Figure 3It is a flow chart of sorting batteries according to positions in a method for automatically switching power supplies of a battery swap cabinet according to an embodiment of the present application; Figure 4 It is a schematic diagram of the process of switching the sleep mode in a method for automatically switching the power supply of a power exchange cabinet in an embodiment of the present application; Figure 5 This is a module schematic diagram of an automatic power switching control system for a power exchange cabinet according to an embodiment of the present application; Figure 6 It is a diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.

[0023] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0024] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0025] In the first aspect, the present application provides a method for automatically switching the power supply of a power exchange cabinet, referring to Figure 1 , including the following steps: S10. Detect the voltage and power of the batteries in each battery slot in the battery swap cabinet.

[0026] The voltage detection module and the power detection module are provided to monitor the voltage and the remaining power level of the battery in each battery slot in real time.

[0027] Specifically, a small voltage detection circuit and a power detection circuit are integrated in each battery slot, and the battery voltage and remaining power data are accurately obtained by detecting the voltage difference between the two ends of the battery and calculating the integrated current. In this embodiment, a dual redundant detection circuit is further adopted, and the voltage and power are measured by two independent detection circuits respectively, and the two data are compared. When the deviation of the two data exceeds the threshold, it is judged as an abnormal value, thereby improving the reliability of the data.

[0028] S20. According to the voltage of the battery in each battery slot, detect the power supply source of the current power exchange cabinet, which includes AC power and internal batteries.

[0029] Among them, by setting up a power supply analysis module, it is determined whether the power supply source of the current system is the mains or the internal battery according to the detected battery voltage data.

[0030] Specifically, a voltage threshold is set. If all battery voltages are close to the rated value, it is determined that the current power supply is from the mains; if the voltage of a battery is obviously low and in a discharging state, it is determined that the current power supply is from the internal battery.

[0031] S30. When the power supply source is the mains electricity, each battery slot is controlled to be in a charging state, each battery is charged, and the remaining power of each battery is displayed in real time.

[0032] Wherein, a charge and discharge control module is provided to control each battery slot to switch to a charging state when the mains is supplying electricity, so as to perform constant current or pulse charging on the battery.

[0033] In this embodiment, the existing lithium battery charging control chip is used to automatically adjust the charging current and voltage curve according to the battery model and temperature parameters to charge each battery. At the same time, the power data of each battery is displayed in real time on the display module. The charging and discharging control module integrates an intelligent charging strategy submodule to monitor the changes in parameters such as battery temperature, internal resistance, and charging curve in real time, and dynamically adjusts the charging mode, adaptively switching between multiple charging modes such as constant voltage, constant current, and pulse to achieve better efficiency and safety.

[0034] Specifically, in the initial stage of charging, the standard constant current-constant voltage two-stage charging mode is adopted, and the changes in parameters such as temperature and internal resistance are monitored in real time. If an abnormality is detected, it is immediately switched to a pulse or other buffering mode. By pre-setting the working mode, mode matching is performed when an abnormality is detected, and the optimal mode under the current working conditions is determined as the target mode, such as using a small current constant voltage charging at 37 degrees; then the charging voltage and current are smoothly adjusted to the target mode to achieve adaptive intelligent charging.

[0035] S40. When a mains power off signal is received, the power supply source is switched to the internal battery. The target battery slot is determined based on the power level of the batteries in each battery slot detected by the voltage detection module. The charge and discharge control module corresponding to the target battery slot is controlled to switch to a discharge state, and the battery in the target battery slot is used for power supply, and the remaining power of each battery is continuously displayed.

[0036] Among them, a mains power detection module is set to monitor the mains power failure signal. Once a power failure signal is detected, the system automatically switches to using the internal battery for power supply. The remaining battery power is displayed through multiple digital indicator lights, which correspond to multiple battery slots respectively. The current working status of the battery in each battery slot is displayed by the color of the light, and the battery power status is displayed by numbers.

[0037] Specifically, from the remaining power data of each battery, find the one with the highest power as the first discharge target. Control the corresponding charge and discharge module to switch to the discharge state, connect the battery to the power bus, and power the device. At the same time, continue to monitor and display the changes in the remaining power of each battery in real time, and display it through a digital display light. For example, the green indicator light indicates that the corresponding battery is in a charging state and has sufficient power, the yellow indicator light indicates that the corresponding battery is in a discharging state and has normal power, and the red indicator light indicates that the corresponding battery is low on power and needs to be charged or replaced. Furthermore, the system sets a power limit threshold based on the remaining battery capacity and power supply power parameters, and reduces the battery discharge current and extends the battery cycle life while meeting the power requirements.

[0038] In one embodiment, referring to Figure 2 In step S40, after determining the target battery slot, the following steps are also included: S411, sorting the power levels of the batteries in the battery slots to obtain a sorting result.

[0039] In this embodiment, a power sorting module is provided to sort the detected remaining power data of each battery from high to low to obtain a power sorting result.

[0040] Specifically, a classic sorting algorithm, such as quick sort, is used to sort the battery values ​​in descending order to obtain a battery power ranking list.

[0041] S412. Determine multiple target battery slots in order from high to low according to the sorting result.

[0042] In this embodiment, according to the power ranking result, multiple battery slots with higher power levels are selected in order as potential power supply targets.

[0043] Specifically, a power threshold is set, and when the battery power is higher than the threshold, it is regarded as the target battery slot. In a possible implementation, the power outage information of the mains is obtained, the power outage duration is extracted, and the target battery power required is pre-determined according to the power outage duration, and the first N battery slots are selected from the sorting results according to the target battery power as the target battery slots.

[0044] S413, according to the sequence of the multiple target battery slots, control the corresponding charge and discharge control modules one by one to switch to a discharge state.

[0045] In this embodiment, the system pre-sets multiple threshold gradients, sorts all battery slots from high to low according to the power level, and selects the battery slot with the highest power as the target battery slot. Then, the charge and discharge control module of the first target battery slot is switched to the discharge state, and the rest remain in standby. The system continuously monitors the power level of the currently discharging battery, and when its power level drops below the first gradient threshold, it automatically switches it back to the standby state, and at the same time activates the charge and discharge control module of the next target battery slot to the discharge state. This process is repeated, and after one cycle, the charge and discharge control module of the first target battery slot is switched to the discharge state again, and when its power level drops below the second gradient threshold, it is automatically switched back to the standby state, ensuring that the system is always powered by batteries with higher power until all target battery slots are used or the external power supply is restored. In this way, the system achieves balanced utilization of multiple batteries, extends the overall power supply time, and improves the reliability and efficiency of the system.

[0046] When a high-power battery is used as a backup power source, it may cause the battery to be insufficient when the user replaces the battery. In one embodiment, after the target battery is insufficient, a low-power battery can also be used as a backup power source. Figure 3 In step S40, after determining the target battery slot, the following steps are also included: S421. Obtain the location information of the target battery slot in the battery swap cabinet.

[0047] In this embodiment, it is necessary to obtain the specific physical location information of the target battery slot in the battery swap cabinet as a basis for subsequent sorting and control.

[0048] Specifically, a unique position code, such as row and column numbers, is set on each battery slot. When a battery slot is determined as a target, its position code is read to obtain its accurate position coordinates in the cabinet.

[0049] S422. Sort multiple battery slots with power levels lower than a threshold value according to the position information and the power levels of the batteries in each battery slot and the spatial proximity of the battery slot positions to obtain a target battery slot sequence.

[0050] In this embodiment, a position optimization sorting module is provided to optimize and sort multiple battery slots with power levels lower than a threshold value according to the spatial proximity of their positions.

[0051] Specifically, a weighted directed graph G=(V, E) is constructed to represent the line topology inside the battery swap cabinet, where V is the set of all battery slots, E is the set of lines connecting each battery slot, and the edge weight is the corresponding line length. For any two battery slots u and v, the shortest path distance d(u, v) from u to v is calculated on the graph G, and 1 / d(u, v) is used as the proximity score A(u, v) between u and v to construct a proximity matrix A. For the M target battery slots with power below the threshold, extract the corresponding M×M submatrix B in the complete matrix A, and then optimize and sort the row sequence in B to maximize the objective function F=ΣB(i, j), and obtain an optimal target battery sequence as the control order for discharging in sequence in step S423, so as to minimize the line energy transmission loss and improve the overall power supply efficiency.

[0052] S423 . According to the order of the target battery slot sequence, control the corresponding charge and discharge control modules one by one to switch to a discharge state.

[0053] In this embodiment, the charge and discharge control module of the target battery slot is switched to the discharge state, and the rest remain in standby state. The system continuously monitors the power of the currently discharging battery, and when its power drops below the low power threshold, it automatically switches it back to the standby state, and activates the charge and discharge control module of the next target battery slot in the target battery slot sequence to the discharge state. This continues until all target battery slots are used or the external power supply is restored.

[0054] In one embodiment, referring to Figure 4 , further comprising the steps of: S50: Detect the operating status of the battery swap cabinet.

[0055] In this embodiment, an operation status detection module is provided to monitor the current usage status of the battery swap cabinet in real time.

[0056] Specifically, infrared or other motion sensors are used to detect whether the cabinet door is opened, whether a person is approaching, etc., to determine whether the power exchange cabinet is being operated.

[0057] S60: When the operating state meets the preset conditions, the control system enters the sleep mode.

[0058] Among them, there are two preset conditions. The first condition is that the battery swap cabinet is not operated by anyone within the preset time; the second condition is that the current power supply source is the internal battery and the power of the battery in each battery slot is lower than the preset threshold.

[0059] In this embodiment, if it is monitored that the battery exchange cabinet has been unattended for a long time, or is currently in battery-powered state and the remaining power is about to be exhausted, the system is automatically triggered to enter a sleep low-power mode. Specifically, a no-operation timer is set, and if it exceeds 30 minutes, it is regarded as a long period of unattended operation; at the same time, when the battery power is lower than 20%, it is considered that the power is about to be exhausted, and the system switches to sleep mode.

[0060] S70. When entering the sleep mode, the battery only supplies power to the power analysis module, the voltage detection module, the processor and the display module.

[0061] In this embodiment, in the sleep mode, the system will switch to a power-saving state, only supplying power to the core module to maintain basic functions, and the other components will stop working.

[0062] Specifically, the power management chip can be used to power only key modules such as power analysis, voltage monitoring, CPU and display screen. Other modules such as charging and discharging modules and refrigeration modules are temporarily shut down, greatly reducing energy consumption.

[0063] S80: When it is detected that someone is operating the battery exchange cabinet or the power of the battery in any battery slot drops to a preset critical value, the control system exits the sleep mode.

[0064] In this embodiment, once it is detected that the user operates the battery swap cabinet again, or the power of any battery drops to a critical value, such as 5%, in order to ensure reliable power supply, the system will automatically exit the sleep state and resume normal operation of all modules.

[0065] Specifically, corresponding trigger conditions may be set in the operation status detection module and the power analysis module, and when the conditions are met, a control instruction to exit the sleep state is sent to the power management chip.

[0066] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0067] In the second aspect, the present application provides an automatic power switching control system for a battery swap cabinet. The automatic power switching control system for a battery swap cabinet of the present application is described below in combination with the above-mentioned automatic power switching control method for a battery swap cabinet.

[0068] Reference Figure 5 , a power automatic switching control system for a power exchange cabinet, including a voltage detection module, a power supply analysis module, a charge and discharge control module, a display module and a processor, the processor performs the following steps: The voltage and power of the batteries in each battery slot in the battery swap cabinet are detected through the voltage detection module; According to the voltage of the battery in each battery slot, the power supply analysis module detects the power supply source of the current power exchange cabinet, which includes AC power and internal batteries; According to the detection result of the power supply analysis module, when the power supply source is the mains, the processor controls the charge and discharge control modules of each battery slot to be in a charging state to charge each battery; and based on the data of the battery detection module, the remaining power of each battery is displayed in real time through the display module; When the AC power off signal is received from the power supply analysis module, the power supply source is switched to the internal battery. The target battery slot is determined based on the battery power in each battery slot detected by the voltage detection module, and the charge and discharge control module corresponding to the target battery slot is controlled to switch to the discharge state. The battery in the target battery slot is used to power the display module, and the remaining power of each battery is continuously displayed through the display module.

[0069] The display module includes a plurality of digital indicator lights for indicating the current working status and power status of the battery in each battery slot through different colors and numbers.

[0070] In one embodiment, after determining the target battery slot according to the power level of the batteries in each battery slot detected by the voltage detection module, the processor further performs the following steps: According to the power of the batteries in each battery slot detected by the battery voltage detection module, the power of the batteries in each battery slot is sorted to obtain a sorting result; According to the sorting result, a plurality of target battery slots are determined in order from high to low, and according to the order of the target battery slots, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

[0071] In one embodiment, after determining the target battery slot according to the power level of the batteries in each battery slot detected by the voltage detection module, the processor further performs the following steps: Obtain the location information of the target battery slot in the battery swap cabinet; According to the position information and the power of the batteries in each battery slot, multiple battery slots with power lower than a threshold are sorted according to the spatial proximity of the battery slot positions to obtain a target battery slot sequence; According to the order of the target battery slot sequence, the corresponding charge and discharge control modules are controlled one by one to switch to the discharge state.

[0072] In one embodiment, the system further includes a status detection module, which is used to detect the operating status of the power exchange cabinet; the processor further performs the following steps: Obtain the operating status detected by the status detection module. When the operating status meets the preset conditions, the control system enters the sleep mode. The preset conditions include that the battery swap cabinet is unmanned for a preset period of time or the current power supply source is the internal battery and the battery power in each battery slot is lower than the preset threshold; When the system enters sleep mode, the battery supplies power to the power analysis module, voltage detection module, processor and display module; When the status detection module detects that someone is operating the battery swap cabinet or the power of the battery in any battery slot drops to a preset critical value, the control system exits the sleep mode.

[0073] In one embodiment, the present application provides an electronic device, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for automatically switching the power supply of a power exchange cabinet is implemented.

[0074] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0075] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0076] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0077] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A power automatic switching control system for a power exchange cabinet. It is characterized in that It includes a voltage detection module, a power supply analysis module, a charge and discharge control module, a display module and a processor, and the processor performs the following steps: The voltage detection module detects the voltage and power of the batteries in each battery slot in the battery swap cabinet; According to the voltage of the battery in each battery slot, the power supply analysis module detects the power supply source of the current power exchange cabinet, and the power supply source includes the mains and the internal battery; According to the detection result of the power supply analysis module, when the power supply source is the mains, the processor controls the charge and discharge control module of each battery slot to be in a charging state to charge each battery; and based on the data of the battery detection module, the remaining power of each battery is displayed in real time through the display module; When the mains power off signal is received from the power supply analysis module, the power supply source is switched to the internal battery, and the target battery slot is determined based on the battery power in each battery slot detected by the voltage detection module, and the charge and discharge control module corresponding to the target battery slot is controlled to switch to a discharge state, and the battery in the target battery slot is used to power the display module, and the remaining power of each battery is continuously displayed through the display module.

2. According to the power supply automatic switching control system of the power exchange cabinet according to claim 1, It is characterized in that After determining the target battery slot according to the power level of the batteries in each battery slot detected by the voltage detection module, the processor further performs the following steps: According to the power of the batteries in each battery slot detected by the battery voltage detection module, the power of the batteries in each battery slot is sorted to obtain a sorting result; According to the ranking result, a plurality of target battery slots are determined in order from high to low, and according to the order of the target battery slots, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

3. According to claim 1, the automatic power switching control system for the power exchange cabinet, It is characterized in that After determining the target battery slot according to the power level of the batteries in each battery slot detected by the voltage detection module, the processor further performs the following steps: Obtaining the location information of the target battery slot in the battery swap cabinet; According to the position information and the power of the batteries in each battery slot, a plurality of battery slots with power lower than a threshold are sorted according to the spatial proximity of the battery slot positions to obtain a target battery slot sequence; According to the order of the target battery slot sequence, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

4. According to claim 1, the automatic power switching control system for the power exchange cabinet, It is characterized in that The system further includes a status detection module, which is used to detect the operating status of the power exchange cabinet; the processor further performs the following steps: Acquire the operating status detected by the status detection module, and when the operating status meets the preset conditions, control the system to enter the sleep mode, wherein the preset conditions include that the battery swap cabinet is unmanned for a preset period of time or the current power supply source is the internal battery and the battery power in each battery slot is lower than a preset threshold; When the system enters the sleep mode, the battery supplies power to the power supply analysis module, the voltage detection module, the processor and the display module; When the status detection module detects that someone is operating the battery exchange cabinet or the power of the battery in any battery slot drops to a preset critical value, the system is controlled to exit the sleep mode.

5. According to claim 1, the automatic power switching control system for the power exchange cabinet, It is characterized in that The display module includes a plurality of digital indicator lights for indicating the current working state and power state of the battery in each battery slot through different colors and numbers.

6. A method for automatically switching power supply of a power exchange cabinet, It is characterized in that The steps include: Detect the voltage and power of the batteries in each battery slot in the battery swap cabinet; According to the voltage of the battery in each battery slot, the power supply source of the current power exchange cabinet is detected, and the power supply source includes the mains and the internal battery; When the power supply source is the mains electricity, each battery slot is controlled to be in a charging state, each battery is charged, and the remaining power of each battery is displayed in real time; When a mains power outage signal is received, the power supply source is switched to the internal battery, the target battery slot is determined, the charge and discharge control module corresponding to the target battery slot is controlled to switch to a discharge state, the battery in the target battery slot is used for power supply, and the remaining power of each battery is continuously displayed.

7. The power automatic switching control method of the power exchange cabinet according to claim 6, It is characterized in that After determining the target battery slot, the following steps are also included: Sorting the power levels of the batteries in each battery slot to obtain a sorting result; According to the sorting result, determining a plurality of target battery slots in order from high to low; According to the sequence of the plurality of target battery slots, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

8. The power automatic switching control method of the power exchange cabinet according to claim 6, It is characterized in that After determining the target battery slot, the following steps are also included: Obtaining the location information of the target battery slot in the battery swap cabinet; According to the position information and the power of the batteries in each battery slot, a plurality of battery slots with power lower than a threshold are sorted according to the spatial proximity of the battery slot positions to obtain a target battery slot sequence; According to the order of the target battery slot sequence, the corresponding charge and discharge control modules are controlled one by one to switch to a discharge state.

9. The power automatic switching control method of the power exchange cabinet according to claim 6, It is characterized in that Also includes the following steps: Detect the operating status of the power exchange cabinet; When the operating state meets the preset conditions, the control system enters the sleep mode, and the preset conditions include that the battery swap cabinet is unmanned for a preset period of time or the current power supply source is the internal battery and the battery power in each battery slot is lower than the preset threshold; When entering the sleep mode, the battery only supplies power to the power analysis module, the voltage detection module, the processor and the display module; When it is detected that someone is operating the battery swap cabinet or the power of the battery in any battery slot drops to a preset critical value, the control system exits the sleep mode.

10. The power automatic switching control method of the power exchange cabinet according to claim 6, It is characterized in that The method also includes indicating the current working state and power state of the battery in each battery slot by means of a plurality of digital indicator lights.

Citation Information

Cited By

  • Low-temperature control system and method of intelligent power conversion cabinet, power conversion cabinet and storage medium

    CN119297450A