Control method of electromagnetic lock, energy storage system, electromagnetic lock and vehicle
Through the control method of electromagnetic locks, the BMS automatically responds to the charge and discharge status of the energy storage system to achieve automatic locking of electrical connection components, solving the low automation and safety problems caused by manual operation of mechanical locks, and improving the automation and safety of the energy storage system.
Patent Information
- Application Number
- CN202510912465.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-02
- Publication Date
- 2025-09-23
AI Technical Summary
In the prior art, electrical connection components in the energy storage system are locked by manually operating mechanical locks, which has a low degree of automation and is limited by the user's manual ability, resulting in the energy storage system being easily damaged by the battery pack and causing malfunctions during charging and discharging.
The control method of the electromagnetic lock is adopted. The battery management system (BMS) responds to the charge and discharge status of the energy storage system to output a driving signal, obtains the electrical parameters of the electromagnetic lock, determines whether the locking mechanism has completed the locking operation, and realizes the automatic locking of the electrical connection components.
The automation level of the electromagnetic lock is improved, user misoperation is avoided, and the safe locking of the electrical connection components in the charging and discharging state is ensured, thereby improving the overall safety and reliability of the energy storage system.
Smart Images

Figure CN120684056A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electromagnetic lock control, and in particular relates to a control method for an electromagnetic lock, an energy storage system, an electromagnetic lock, a vehicle, and a computer storage medium. Background Art
[0002] With the development of energy storage technology, more and more energy storage devices, featuring high compatibility and intelligence, are being widely used in energy storage systems. For example, in household storage systems or RV scenarios, a photovoltaic power generation system can be used to convert solar energy into electricity, and energy storage devices, such as battery packs, can be used to store the electricity converted by the photovoltaic power generation system. In these scenarios, the photovoltaic power generation system and energy storage devices form an energy storage system, and users can adjust the energy storage capacity of the energy storage system by adding or removing battery packs. Adding or removing battery packs while the energy storage system is charging or discharging can easily damage the battery packs and may also cause the energy storage system to malfunction and become inoperable. For this reason, related technical solutions often require manual mechanical locks to secure the electrical connections in the energy storage system to prevent the addition or removal of battery packs while the energy storage system is charging or discharging.
[0003] However, manually operating a mechanical lock to lock the electrical connection components in the energy storage system not only has a low degree of automation, but is also limited by the user's manual ability. Summary of the Invention
[0004] The purpose of this application is to provide an electromagnetic lock control method, an energy storage system, an electromagnetic lock, a vehicle and a computer storage medium, aiming to provide an electromagnetic lock control solution with a high degree of automation and greater safety.
[0005] A first aspect of an embodiment of the present application provides a control method for an electromagnetic lock, which is applied to a battery management system (BMS) in an energy storage system. The electromagnetic lock is used to lock electrical connection components in the energy storage system. The control method for the electromagnetic lock includes:
[0006] In response to the charge and discharge state of the energy storage system, outputting a first drive signal to the electromagnetic lock, the first drive signal being used to instruct a locking mechanism of the electromagnetic lock to perform a locking operation;
[0007] Acquiring electrical parameters of the electromagnetic lock in a process of responding to the first driving signal;
[0008] If it is determined that the electrical parameters meet the preset conditions, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation.
[0009] An embodiment of the present application provides a control method for an electromagnetic lock, which is applied to a battery management system (BMS) in an energy storage system. The electromagnetic lock is used to lock an electrical connection component in the energy storage system. The BMS outputs a first drive signal to the electromagnetic lock in response to the charge / discharge status of the energy storage system. Because the first drive signal instructs the electromagnetic lock's locking mechanism to perform a locking operation, and the electromagnetic lock's electrical parameters can be used to indicate whether the electromagnetic lock has responded to the first drive signal, the BMS can determine whether the electromagnetic lock's locking mechanism has completed the locking operation by obtaining the electromagnetic lock's electrical parameters during its response to the first drive signal. If the electrical parameters meet preset conditions, the electromagnetic lock's locking mechanism can be determined to have completed the locking operation. Based on this, the electromagnetic lock's locking mechanism can be instructed to perform a locking operation when the energy storage system is in a charge / discharge state, thereby establishing a correlation between the charge / discharge state and the locking operation. This allows the electromagnetic lock to automatically lock the electrical connection component based on the energy storage system's operating state without requiring manual user operation, thereby improving the electromagnetic lock's automation level. Furthermore, since the user does not need to manually operate the electromagnetic lock, user misoperation can be avoided, making the electromagnetic lock safer to control.
[0010] A second aspect of an embodiment of the present application provides a control method for an electromagnetic lock, which is applied to the electromagnetic lock. The electromagnetic lock is controlled by a battery management system (BMS) in an energy storage system. The electromagnetic lock is used to lock electrical connection components in the energy storage system. The control method for the electromagnetic lock includes:
[0011] Receiving a first drive signal output by a battery management system; wherein the first drive signal is output by the BMS when the BMS determines that the energy storage system is in a charging or discharging state;
[0012] controlling the locking mechanism to perform a locking operation according to the first drive signal;
[0013] The BMS is used to obtain electrical parameters of the electromagnetic lock in response to the first drive signal; if it is determined that the electrical parameters meet a preset condition, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation.
[0014] A third aspect of the embodiments of the present application provides an energy storage system, including:
[0015] The electrical connection component comprises a first end and a second end, wherein the first end and / or the second end is provided with an electromagnetic lock, and the electromagnetic lock is used to lock the corresponding first end and / or second end;
[0016] a battery pack connected to one end of the electrical connection component;
[0017] a high-voltage box connected to the other end of the electrical connection component to form an electrical connection with the battery pack through the electrical connection component;
[0018] The high-voltage box includes a BMS, and the BMS is used to execute the steps of the electromagnetic lock control method provided in the first aspect.
[0019] The fourth aspect of an embodiment of the present application provides an electromagnetic lock, comprising: a memory, a processor, and a computer program stored in the memory and executable on a vehicle. When the processor executes the computer program, the steps of the electromagnetic lock control method provided in the second aspect are implemented.
[0020] The fifth aspect of an embodiment of the present application provides a vehicle, a memory, a processor, and a computer program stored in the memory and executable on the vehicle. When the processor executes the computer program, the steps of the electromagnetic lock control method provided in the first aspect are implemented; or the steps of the electromagnetic lock control method provided in the second aspect are implemented.
[0021] The sixth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the electromagnetic lock control method provided by the first aspect above; or implements the steps of the electromagnetic lock control method provided by the second aspect above.
[0022] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first or second aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of the use of an electromagnetic lock in an energy storage system according to an embodiment of the present application;
[0024] Figure 2 A flowchart of a control method for an electromagnetic lock provided in an embodiment of the present application;
[0025] Figure 3 A flowchart of a control method for an electromagnetic lock provided in another embodiment of the present application;
[0026] Figure 4 A schematic diagram of the structure of an energy storage system provided in an embodiment of the present application;
[0027] Figure 5 A structural block diagram of a magnetic lock provided in an embodiment of the present application;
[0028] Figure 6 A structural block diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the technical problems, technical solutions and beneficial effects to be solved by this application more clearly understood, this application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0030] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise specifically defined.
[0031] For example, in the scenario of a household storage system or RV, a photovoltaic power generation system can be used to convert solar energy into electrical energy, and energy storage equipment, such as a battery pack, can be used to store the electrical energy converted by the photovoltaic power generation system. In the above scenario, the photovoltaic power generation system and the energy storage equipment constitute an energy storage system, and the user can adjust the storage capacity of the energy storage system by increasing or decreasing the number of battery packs. When the energy storage system is in a charging and discharging state, increasing or decreasing the battery packs in the energy storage system may not only easily cause damage to the battery packs, but may also cause the energy storage system to malfunction and fail to work. Based on this, in related technical solutions, it is usually necessary to manually use mechanical locks to lock the electrical connection components in the energy storage system to prevent the battery packs in the energy storage system from being increased or decreased when the energy storage system is in a charging and discharging state.
[0032] However, manually operating a mechanical lock to lock the electrical connection components in the energy storage system not only has a low degree of automation, but is also limited by the user's manual ability.
[0033] In order to solve the above technical problems, this embodiment provides a control method for an electromagnetic lock, which can not only improve the automation level of the electromagnetic lock, but also make the control of the electromagnetic lock safer. Figure 1 Schematic diagram of the use environment of the control method of the electromagnetic lock shown. Figure 1 The figure shows a schematic diagram of the use of electromagnetic lock in an energy storage system. Figure 1 As shown in the figure, the photovoltaic power generation system, high voltage box and battery pack constitute the energy storage system. It is understandable that in the specific implementation Figure 1The photovoltaic power generation system can also be any other existing power generation system, such as a wind power generation system, a thermal power generation system, etc., which is not limited here. In the energy storage system, the high-voltage box is equipped with a battery management system 10, namely BMS, and the high-voltage box can be connected / carried with multiple battery packs at the same time. Here, the high-voltage box can be regarded as the control box of the energy storage system. The high-voltage box and the battery pack can be connected through an electrical connection component 30, and the electrical connection component 30 can be locked by setting an electromagnetic lock 20. Figure 1 As shown, when the battery pack is connected to the high-voltage box, specifically, N battery packs can be connected to the high-voltage box through different ports, for example, Figure 1 Battery pack 1, battery pack 2... battery pack N. Alternatively, multiple battery packs can be connected in parallel or in parallel to the high voltage box, for example. Figure 1 Battery pack 1, battery pack 101...battery pack 10N.
[0034] Specifically, the BMS outputs a first drive signal to the electromagnetic lock 20 in response to the charge and discharge status of the energy storage system. Since the first drive signal is used to instruct the locking mechanism of the electromagnetic lock 20 to perform a locking operation, and the electrical parameters of the electromagnetic lock 20 can be used to indicate whether the electromagnetic lock 20 has responded to the first drive signal, the BMS can determine whether the locking mechanism of the electromagnetic lock 20 has completed the locking operation by obtaining the electrical parameters of the electromagnetic lock 20 during its response to the first drive signal. If it is determined that the electrical parameters meet preset conditions, it can be determined that the locking mechanism of the electromagnetic lock 20 has completed the locking operation. Based on this, the locking mechanism of the electromagnetic lock 20 can be instructed to perform a locking operation when the energy storage system is in a charge and discharge state, thereby establishing a correlation between the charge and discharge state and the locking operation. In this way, the electrical connection component 30 can be automatically locked according to the operating state of the energy storage system without manual user operation, thereby improving the automation level of the electromagnetic lock 20. Since the user does not need to manually operate the electromagnetic lock 20, user error operation of the electromagnetic lock 20 can be avoided, making the control of the electromagnetic lock 20 safer.
[0035] exist Figure 1 In the example shown, the BMS in the high-voltage box can implement locking control of the electromagnetic locks 20 corresponding to each electrical connection component 30 in the energy storage system by executing the electromagnetic lock control method provided in this embodiment. In a specific implementation, each battery pack can be equipped with only an analog front-end unit (not shown) to detect various electrical parameters of the battery pack and transmit these electrical parameters to the BMS in the high-voltage box via the electrical connection component 30.
[0036] It is easy to understand that in all embodiments of the present application, the execution subject of the electromagnetic lock control method is the BMS, which can specifically be the controller and / or processor in the BMS. In some examples, a battery management system BMS can also be provided in the battery pack. Accordingly, the high-voltage box can be used to perform energy management for all battery packs by setting up an energy management system (EMS) with higher authority. That is, in the case where the battery pack has a battery management system, the high-voltage box can be used to execute the electromagnetic lock control method provided in this embodiment by setting up an EMS, which can specifically be the controller and / or processor in the EMS as the execution subject to implement the electromagnetic lock control method provided in the embodiment of the present application. Here, since the EMS is also implemented by interacting with the battery pack when executing the electromagnetic lock control method provided in this embodiment, the EMS can also be regarded as the BMS in the high-voltage box. That is, in the specific implementation, the execution subject of the electromagnetic lock control method provided in this embodiment can be the BMS in the high-voltage box or the EMS in the high-voltage box, and there is no limitation here.
[0037] The following only takes the battery management system / BMS in the high-voltage box as the execution subject as an example to explain in detail the control method of an electromagnetic lock provided by this embodiment through a specific implementation method. It can be understood that in all embodiments of the application, BMS specifically refers to Figure 1 Battery management system in medium and high voltage box. Figure 2 , Figure 2 FIG1 shows a flow chart of a control method for an electromagnetic lock provided by an embodiment of the present application. Figure 2 As shown, the control method of the electromagnetic lock includes the following steps:
[0038] 110 : In response to the charge and discharge status of the energy storage system, output a first drive signal to the electromagnetic lock, where the first drive signal is used to instruct the locking mechanism of the electromagnetic lock to perform a locking operation.
[0039] In 110 , the charge and discharge state refers to the charge and discharge state of the energy storage device in the energy storage system, that is, the charge and discharge state of the battery pack in the energy storage system.
[0040] It is easy to understand that, unless otherwise specified, the energy storage device can specifically be a battery pack. That is, in all embodiments of this application, when an energy storage device appears, the energy storage device can be understood as a battery pack, and when a battery pack appears, the battery pack can be understood as a type of energy storage device. Therefore, the energy storage device and the battery pack can be considered the same device, used to store electrical energy in the energy storage system, and will not be further described.
[0041] In this embodiment, the battery pack is incorporated into the energy storage system, specifically by connecting the battery pack to the high-voltage box using an electrical connection component. Here, the electrical connection component can be used not only to transmit electrical energy, but also for data exchange between the BMS and the battery pack. Specifically, the battery pack can be configured with an analog front-end unit for collecting the charge and discharge parameters of the battery pack, and the collected electrical parameters can be sent to the BMS through the electrical connection component. In addition, the BMS can also control the charge and discharge circuits and / or balancing circuits inside the battery pack through the electrical connection device, thereby realizing charge and discharge control and / or balancing control of the battery pack.
[0042] In a specific implementation, when the battery pack is connected to the high-voltage box via an electrical connection component, the analog front-end unit in the battery pack can periodically provide feedback to the BMS regarding the battery pack's charge and discharge parameters, such as at least one of the battery pack's charge and discharge current, voltage, power, and temperature. Based on these charge and discharge parameters, the BMS can determine whether the battery pack is currently in a charge or discharge state. Upon determining the charge or discharge state of the energy storage system, the BMS can output a first drive signal to the electromagnetic lock.
[0043] It should be noted that the electromagnetic lock is used to lock the electrical connection component. Since the electrical connection component can be used to connect the battery pack to the high-voltage box or to connect the battery pack to another battery pack, in all embodiments of this application, the electromagnetic lock can generally refer to any electromagnetic lock in the energy storage system. In other words, the electromagnetic lock can be an electromagnetic lock on the end connecting the electrical connection component to the battery pack and / or an electromagnetic lock on the end connecting the electrical connection component to the high-voltage box, without limitation.
[0044] For example, in a specific implementation, the electromagnetic lock can be electrically connected to an electrical connection component, and can then obtain electrical energy from the electrical connection component to operate.
[0045] As an example, the electromagnetic lock can be powered by a unified high-voltage box. For example, a power supply module compatible with the electromagnetic lock, such as a voltage conversion circuit and a power supply circuit, can be set up in the high-voltage box to convert the power provided by the energy storage system to provide the appropriate operating power for the electromagnetic lock.
[0046] As another example, the electromagnetic lock can switch between different power supply modes depending on the charge and discharge status. For example, when the battery pack is charging, the high-voltage box can supply power to the battery pack via the electrical connection component. In this case, the power obtained by the electromagnetic lock from the electrical connection component can be provided by the high-voltage box. In another example, when the battery pack is discharging, the battery pack can discharge power to the high-voltage box via the electrical connection component, such as through the high-voltage box performing DC-to-AC conversion to power the load. In this case, the power obtained by the electromagnetic lock from the electrical connection component can be provided by the battery pack.
[0047] In this way, when the electromagnetic lock receives the first drive signal, it can drive the locking structure to perform a locking operation according to the first drive signal, thereby locking the electrical connection component. Here, when the electromagnetic lock is used to lock the electrical connection component, the user cannot separate the battery pack from the high-voltage box by pulling the electrical connection component.
[0048] 120: Acquire electrical parameters of the electromagnetic lock in a process of responding to the first driving signal.
[0049] In step 120 , the electrical parameters are used to indicate whether the electromagnetic lock has responded to the first drive signal. That is, the BMS can determine whether the locking mechanism of the electromagnetic lock has completed the locking operation by obtaining the electrical parameters of the electromagnetic lock in the process of responding to the first drive signal.
[0050] For example, in a specific implementation, an electromagnetic lock can be understood as a single electromagnetic lock or as a pair of electromagnetic locks. For example, the electromagnetic lock can include a first electromagnetic lock for locking the end of the electrical connection component connected to the battery pack, or a second electromagnetic lock for locking the end of the electrical connection component connected to the high-voltage box. As another example, the electromagnetic lock pair can include a first electromagnetic lock for locking the end of the electrical connection component connected to the battery pack, and a second electromagnetic lock for locking the end of the electrical connection component connected to the high-voltage box.
[0051] In conjunction with the above example, in one embodiment, both the positive and negative terminals of a battery pack are connected to the high-voltage box via electrical connectors. Accordingly, when a single battery pack is connected to the high-voltage box, two sets of electromagnetic locks can be simultaneously controlled to lock the electrical connectors. In other words, outputting a first drive signal to the electromagnetic locks is equivalent to simultaneously controlling four electromagnetic locks to lock the two ends of the electrical connectors.
[0052] In conjunction with any of the above examples, for each pair / each electromagnetic lock, since it can be powered by a high-voltage box, in a specific implementation, the high-voltage box can sample the electrical parameters of the electromagnetic lock or electromagnetic lock pair through a sampling circuit to obtain the corresponding electrical parameters. The BMS can be connected to the sampling circuit through a digital input interface (DI) to obtain the electrical parameters of the electromagnetic lock in response to the first drive signal.
[0053] It is understandable that, in other embodiments, the analog front-end unit in the battery pack may also sample the electrical parameters of the electromagnetic lock, and then the analog front-end unit sends the sampled electrical parameters to the BMS.
[0054] As for when to obtain the electrical parameters of the electromagnetic lock in the process of responding to the first driving signal, it can be performed within a preset period of time after the BMS outputs the first driving signal.
[0055] Scenario 1: When the BMS outputs a first drive signal to the electromagnetic lock, it obtains the electrical parameters of the electromagnetic lock in response to the first drive signal through the DI port.
[0056] For example, when the BMS outputs the first drive signal to the electromagnetic lock, it also sends a corresponding sampling instruction to the sampling circuit in the high-voltage box, instructing the sampling circuit to sample the electrical parameters of the electromagnetic lock in the process of responding to the first drive signal, and send the sampled electrical parameters to the BMS.
[0057] Scenario 2: When the BMS outputs the first driving signal to the electromagnetic lock, it instructs the analog front-end unit of the battery pack to return the electrical parameters of the electromagnetic lock.
[0058] For example, when the BMS outputs the first drive signal to the electromagnetic lock, the BMS also sends an instruction to the analog front end for collecting the electrical parameters of the electromagnetic lock, so as to instruct the analog front end unit to obtain the electrical parameters of the electromagnetic lock in the process of responding to the first drive signal, and send the sampled electrical parameters to the BMS.
[0059] As an embodiment, step 120 may include: obtaining a loop current value of the electromagnetic lock in a process of responding to the first driving signal as an electrical parameter.
[0060] In this embodiment, the loop current value of the electromagnetic lock can be used to indicate whether the electromagnetic lock responds to the first driving signal.
[0061] It is easy to understand that since the electromagnetic lock generates an electromagnetic field through the locking mechanism under the action of the first drive signal, and then generates a strong suction force to lock the electrically connected components, when obtaining the loop current value of the electromagnetic lock in the process of responding to the first drive signal, it can be specifically obtained to obtain the loop current value of the loop where the locking mechanism of the electromagnetic lock is located, and then the current value can be used to characterize whether the locking mechanism has generated a corresponding electromagnetic field, thereby determining whether the electromagnetic lock has responded to the first drive signal.
[0062] For example, in a specific implementation, the loop current value can be sampled by a Hall sensor, a sampling circuit, etc., and the BMS can obtain the loop current value through the DI port. This eliminates the need for setting up additional linkage mechanisms to control the electromagnetic lock. By reusing the BMS port, the electrical parameters of the electromagnetic lock can be obtained, maximizing the utilization of the BMS data port.
[0063] 130: If it is determined that the electrical parameters meet the preset conditions, then determine that the locking mechanism of the electromagnetic lock completes the locking operation.
[0064] In 130 , the preset condition is used to describe an electrical parameter threshold or an electrical parameter standard of the electromagnetic lock when responding to the first driving signal.
[0065] In this embodiment, determining that the electromagnetic lock's locking mechanism has completed the locking operation specifically refers to the BMS configuring the electromagnetic lock's status in the program. In other words, by confirming that the electromagnetic lock's locking mechanism has completed the locking operation, the BMS can indicate that the current connection between the battery pack and the high-voltage box is reliable, thus providing a basis for the BMS to subsequently control the battery pack's high-power charging and discharging operations.
[0066] It is easy to understand that in actual implementation, due to the differences in the specific implementation methods and / or specifications of electromagnetic locks, a relationship list describing the models / identifications of different electromagnetic locks and preset conditions can be stored in the BMS. The BMS can obtain the model / identification information of the electromagnetic lock and then, based on this model / identification information, retrieve the corresponding preset conditions from the relationship list.
[0067] Based on this, in some embodiments, step 130 may include: determining a target preset condition corresponding to the electromagnetic lock from a preset relationship list based on the electrical parameters, and determining that the locking mechanism of the electromagnetic lock completes the locking operation when the electrical parameters meet the target preset condition.
[0068] In this embodiment, the preset relationship list describes the correspondence between the electromagnetic lock model / identification information and the preset conditions. Because different electromagnetic locks utilize different implementation principles or specifications, their electrical parameters vary. Based on this, the electromagnetic lock's electrical parameters can be used as the model / identification information, allowing the preset conditions to be distinguished in the relationship list.
[0069] As an embodiment, the preset condition includes at least a current threshold. Accordingly, step 130 may include: if it is determined that the loop current value is greater than the current threshold, determining that the locking mechanism of the electromagnetic lock completes the locking operation.
[0070] For example, in a specific implementation, the current threshold may be a specific value, such as 0.8 A. When it is determined that the loop current value is greater than 0.8 A, it can be determined that the locking mechanism of the electromagnetic lock has completed the locking operation.
[0071] In the above solution, the BMS in the energy storage system outputs a first drive signal to the electromagnetic lock in response to the charge and discharge status of the energy storage system. Since the first drive signal is used to instruct the electromagnetic lock's locking mechanism to perform a locking operation, and the electromagnetic lock's electrical parameters can be used to indicate whether the electromagnetic lock has responded to the first drive signal, the BMS can determine whether the electromagnetic lock's locking mechanism has completed the locking operation by obtaining the electromagnetic lock's electrical parameters during its response to the first drive signal. If the electrical parameters are determined to meet preset conditions, it can be determined that the electromagnetic lock's locking mechanism has completed the locking operation. Based on this, the electromagnetic lock's locking mechanism can be instructed to perform a locking operation when the energy storage system is in a charge and discharge state, thereby establishing a correlation between the charge and discharge state and the locking operation. This allows the electrical connection component to be automatically locked based on the operating status of the energy storage system without manual user operation, thereby improving the automation level of the electromagnetic lock. Since manual user operation of the electromagnetic lock is not required, user error can be avoided, making the electromagnetic lock safer to control.
[0072] As an embodiment, after step 110, the following steps may also be included:
[0073] When a preset unlocking event is detected, a second driving signal is output to the electromagnetic lock, where the second driving signal is used to instruct the locking mechanism of the electromagnetic lock to stop performing the locking operation.
[0074] In this embodiment, the preset unlocking event generally refers to the condition that controls the unlocking of the electromagnetic lock. In specific implementation, any event in the energy storage system that allows the battery pack to be disconnected from the high-voltage box can serve as the preset unlocking event, without limitation here.
[0075] As an embodiment, the above step of: outputting a second drive signal to the electromagnetic lock when a preset unlocking event is detected, the second drive signal being used to instruct the locking mechanism of the electromagnetic lock to stop performing the locking operation, may include step 1 or step 2. Specifically, step 1 and step 2 are parallel steps, that is, they are executed in no particular order. After step 1 is executed, step 2 will not be executed, and after step 2 is executed, step 1 will not be executed. Specifically:
[0076] Step 1: If the preset unlocking event is that the energy storage system exits the charging and discharging state, the holding time of the first driving signal is determined, and after the delay holding time, a second driving signal is output to the electromagnetic lock.
[0077] Step 2: If the preset unlocking event is a preset forced unlocking instruction, a second driving signal is output to the electromagnetic lock.
[0078] In step 1, the energy storage system exits the charge and discharge state, which means that all battery packs in the energy storage system are not in the charge state or the discharge state. In other words, the energy storage system stops charging and discharging at this time.
[0079] For another example, the preset unlocking event may be a failure of the energy storage system. When the BMS in the high-voltage box automatically triggers a deactivation instruction, it can be regarded as automatically triggering the preset unlocking event.
[0080] In step 2, the preset forced unlocking instruction can be manually triggered by the user.
[0081] For example, an unlocking switch or emergency button is provided on the high-voltage box. For example, when the user operates the unlocking switch or emergency button, such as pressing and holding the unlocking switch or emergency button for 5 seconds, it can be regarded as triggering a preset unlocking event.
[0082] In a specific implementation, the second drive signal may be an electrical signal opposite to the first drive signal. For example, when the first drive signal is a high-level signal, the second electrical signal may be a low-level signal. Alternatively, when the first drive signal is a low-level signal, the second electrical signal may be a high-level signal.
[0083] In the above scheme, when a preset unlocking event is detected, a second drive signal is output to the electromagnetic lock, which can instruct the locking mechanism of the electromagnetic lock to stop performing the locking operation. The electromagnetic lock can be unlocked when it is necessary to separate the battery pack from the high-voltage box, making it easier for the user to unplug the electrical connection components and separate the battery pack from the high-voltage box.
[0084] As an embodiment, after step 130, steps A to C may be further included, specifically:
[0085] Step A: monitoring the state feedback signal returned by the electromagnetic lock according to the first driving signal.
[0086] Step B: If a status feedback signal is detected within the first preset time period, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation.
[0087] Step C: If the state feedback signal is detected within the second preset time period, it is determined that the locking mechanism of the electromagnetic lock performs an abnormal locking operation and triggers an alarm message.
[0088] In this embodiment, the status feedback signal returned by the electromagnetic lock in response to the first drive signal can be used to indicate the status of the electromagnetic lock's locking mechanism. It is easy to understand that, unlike step 130, which determines whether the electromagnetic lock's locking mechanism has completed the locking operation based on electrical parameters, the electromagnetic lock can actively send this status feedback signal to the BMS when responding to the first drive signal, thereby implementing the electromagnetic lock's active status feedback function. That is, step 130 can be viewed as the BMS actively detecting whether the electromagnetic lock's locking mechanism has completed the locking operation, and steps A to C above can be viewed as the electromagnetic lock actively reporting its status by returning the status feedback signal, allowing the BMS to learn whether the electromagnetic lock's locking mechanism has completed the locking operation.
[0089] It should be noted that, in this embodiment, the first preset period is used to characterize the normal feedback delay or normal feedback time of the status feedback signal. If the status feedback signal is detected within the first preset period, it indicates that the electromagnetic lock is responding normally to the first drive signal, which means that the locking mechanism of the electromagnetic lock has completed the locking operation. In contrast to the first preset period, the second preset period is used to characterize the abnormal feedback delay or abnormal feedback time of the status feedback information. If the status feedback signal is detected within the second preset period, it indicates that the electromagnetic lock is not responding normally to the first drive signal, which means that the locking mechanism of the electromagnetic lock has not completed the locking operation. In this case, the user can be prompted to conduct an investigation by triggering an alarm message.
[0090] By monitoring the status feedback signal returned by the electromagnetic lock in response to the first drive signal, the above solution enables the electromagnetic lock to proactively report the status of its locking mechanism by automatically returning the status feedback signal, allowing the BMS to determine whether the electromagnetic lock's locking mechanism has completed the locking operation. This, combined with the BMS's determination of whether the electromagnetic lock's locking mechanism has completed the locking operation based on electrical parameters, creates a two-way verification mechanism, which not only improves the accuracy of electromagnetic lock status verification but also enhances the overall intelligence of the energy storage system.
[0091] Figure 3 FIG2 shows a flow chart of a control method for an electromagnetic lock according to another embodiment of the present invention. Figure 2 The difference between the embodiments is that the execution subject of the electromagnetic lock control method provided in this embodiment is the electromagnetic lock, specifically the control unit of the electromagnetic lock. Figure 1 In the example shown, the executor of this embodiment is an electromagnetic lock 20, which is controlled by the battery management system (BMS) 10 in the energy storage system. The electromagnetic lock 20 can be used to lock the electrical connection component 30 in the energy storage system. Here, locking the electrical connection component 30 in the energy storage system specifically refers to locking the connection end of the electrical connection component 30, which can be the connection end between the electrical connection component 30 and the high-voltage box or the connection end between the electrical connection component 30 and the battery pack, without limitation.
[0092] like Figure 3 As shown, the control method of an electromagnetic lock provided in this embodiment includes:
[0093] 210: Receive a first driving signal output by a battery management system.
[0094] In 210 , the first driving signal is output by the BMS when it is determined that the energy storage system is in a charging or discharging state.
[0095] It is understandable that the principle, motivation and related concept description of BMS outputting the first drive signal when determining that the energy storage system is in the charge and discharge state have been Figure 1 and Figure 2 In the embodiment described in detail, in step 210 of this embodiment Figure 2 In the case corresponding to step 110 of the illustrated embodiment, repeated concepts or repeated contents will not be described again here.
[0096] 220: Control the locking mechanism to perform a locking operation according to the first driving signal.
[0097] In 220, the locking mechanism refers to a component in the electromagnetic lock that generates an electromagnetic field and locks the electrically connected component. Here, the electromagnetic lock generates an electromagnetic field through the locking mechanism under the action of the first drive signal, thereby generating a strong suction force to lock the electrically connected component.
[0098] In this embodiment, the BMS is used to obtain electrical parameters of the electromagnetic lock in response to the first drive signal. If the BMS determines that the electrical parameters meet a preset condition, it determines that the locking mechanism of the electromagnetic lock completes the locking operation.
[0099] It is easy to understand that the execution subject of the steps provided in this embodiment is a vehicle, which can be Figure 2 The steps in the embodiment correspond to each other. Therefore, when implementing the embodiment, you can refer to Figures 1 to 2 Corresponding embodiment, corresponding implementation Figure 3 The control method steps and effects of the electromagnetic lock in the embodiment will not be described in detail here.
[0100] Figure 4 FIG. 1 shows a schematic diagram of the structure of an energy storage system provided in an embodiment of the present application. Figure 4 As shown, the energy storage system 100 includes: an electrical connection component 101 , an electromagnetic lock 102 , a battery pack 103 and a high-voltage box 104 .
[0101] The electrical connection component 101 includes a first end and a second end. An electromagnetic lock 102 is provided at the first end and / or the second end. The electromagnetic lock 102 is used to secure the corresponding first end and / or second end. A battery pack 103 is connected to the first end of the electrical connection component 101. A high-voltage box 104 is connected to the second end of the electrical connection component 101, establishing an electrical connection with the battery pack 103 through the electrical connection component 101. The high-voltage box 104 includes a battery management system 1041, which is used to execute the steps of the electromagnetic lock control method provided in the above-described embodiment.
[0102] It is easy to understand that the energy storage system provided in this embodiment, the improvements and specific implementations related to this application are all in Figures 2 to 3 The embodiment shown is described in detail. Therefore, when implementing it specifically, you can refer to Figures 2 to 3 The corresponding embodiments are not described in detail here.
[0103] Figure 5 This is a structural block diagram of an electromagnetic lock provided by an embodiment of the present application. Figure 5 As shown, the electromagnetic lock 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50, such as a program for the electromagnetic lock control method. When the processor 50 executes the computer program 52, the steps in each embodiment of the electromagnetic lock control method described above are implemented, such as Figure 2 For details, please refer to Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0104] Figure 6 This is a structural block diagram of a vehicle provided in an embodiment of the present application. Figure 6 As shown, the vehicle 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a program for the electromagnetic lock control method. When the processor 60 executes the computer program 62, the steps in each embodiment of the electromagnetic lock control method described above are implemented, such as Figure 2 or Figure 3 For details, please refer to Figure 2 or Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0105] The electromagnetic lock and the vehicle may include, but are not limited to, a processor and a memory. It will be understood by those skilled in the art that Figure 5 This is just an example of an electromagnetic lock 5. Figure 6 It is only an example of vehicle 6 and does not constitute a limitation on the electromagnetic lock 5 or vehicle 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the vehicle may also include input and output devices, network access devices, buses, etc.
[0106] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0107] The memory may be an internal storage unit of the electromagnetic lock 5 or vehicle 6, such as a hard disk or memory of the electromagnetic lock 5 or vehicle 6. The memory may also be an external storage device of the electromagnetic lock 5 or vehicle 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electromagnetic lock 5 or vehicle 6. Furthermore, the memory may include both an internal storage unit of the electromagnetic lock 5 or vehicle 6 and an external storage device. The memory is used to store the computer program and other programs and data required by the vehicle. The memory may also be used to temporarily store data that has been output or is about to be output.
[0108] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A control method for an electromagnetic lock, characterized in that: The electromagnetic lock is used for locking the electrical connection components in the energy storage system. The control method of the electromagnetic lock includes: In response to the charge and discharge state of the energy storage system, outputting a first drive signal to the electromagnetic lock, wherein the first drive signal is used to instruct a locking mechanism of the electromagnetic lock to perform a locking operation; Acquiring electrical parameters of the electromagnetic lock in a process of responding to the first driving signal; If it is determined that the electrical parameter satisfies the preset condition, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation.
2. The control method of the electromagnetic lock according to claim 1, characterized in that: The acquiring of the electrical parameters of the electromagnetic lock in response to the first driving signal includes: A loop current value of the electromagnetic lock in a process of responding to the first drive signal is obtained as the electrical parameter.
3. The control method of the electromagnetic lock according to claim 2, characterized in that: The preset condition includes at least a current threshold; If it is determined that the electrical parameter satisfies a preset condition, determining that the locking mechanism of the electromagnetic lock completes the locking operation includes: If it is determined that the loop current value is greater than the current threshold, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation.
4. The control method of the electromagnetic lock according to claim 1, wherein: Also includes: monitoring a state feedback signal returned by the electromagnetic lock in response to the first driving signal; If the state feedback signal is detected within a first preset time period, it is determined that the locking mechanism of the electromagnetic lock completes the locking operation; If the state feedback signal is detected within a second preset period, it is determined that the locking mechanism of the electromagnetic lock performs the locking operation abnormally, and an alarm message is triggered.
5. The control method of an electromagnetic lock according to any one of claims 1 to 4, characterized in that: After the step of outputting a first drive signal to the electromagnetic lock in response to the charge and discharge state of the energy storage system, the method further includes: When a preset unlocking event is detected, a second driving signal is output to the electromagnetic lock, where the second driving signal is used to instruct the locking mechanism of the electromagnetic lock to stop performing the locking operation.
6. The control method of the electromagnetic lock according to claim 5, characterized in that: When a preset unlocking event is detected, outputting a second drive signal to the electromagnetic lock, wherein the second drive signal is used to instruct the locking mechanism of the electromagnetic lock to stop performing the locking operation, includes: If the preset unlocking event is that the energy storage system exits the charge-discharge state, determining a holding time of the first drive signal, and outputting the second drive signal to the electromagnetic lock after delaying the holding time; If the preset unlocking event is a preset forced unlocking instruction, the second driving signal is output to the electromagnetic lock.
7. A control method for an electromagnetic lock, characterized in that: Applied to an electromagnetic lock, the electromagnetic lock is controlled by a battery management system (BMS) in an energy storage system, and is used to lock electrical connection components in the energy storage system. The control method of the electromagnetic lock includes: Receiving a first drive signal output by the battery management system; wherein the first drive signal is output by the BMS when it determines that the energy storage system is in a charging or discharging state; controlling the locking mechanism to perform a locking operation according to the first driving signal; The BMS is used to obtain electrical parameters of the electromagnetic lock in response to the first drive signal; if it is determined that the electrical parameters meet preset conditions, then determine that the locking mechanism of the electromagnetic lock completes the locking operation.
8. An energy storage system, characterized in that: include: An electrical connection component, comprising a first end and a second end, wherein the first end and / or the second end is provided with an electromagnetic lock, and the electromagnetic lock is used to lock the corresponding first end and / or the second end; a battery pack connected to the first end of the electrical connection component; a high-voltage box connected to the second end of the electrical connection component so as to form an electrical connection with the battery pack through the electrical connection component; The high-voltage box includes a BMS, and the BMS is used to execute the steps of the electromagnetic lock control method according to any one of claims 1 to 6.
9. An electromagnetic lock, characterized in that: include: A memory, a processor, and a computer program stored in the memory and operable on the electromagnetic lock, wherein when the processor executes the computer program, the steps of the electromagnetic lock control method according to claim 7 are implemented.
10. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the vehicle, wherein when the processor executes the computer program, the steps of the electromagnetic lock control method according to any one of claims 1 to 6 are implemented; or the steps of the electromagnetic lock control method according to claim 7 are implemented.