Control Method, Device and Electronic Device of Charge and Discharge Electronic Lock

Through the coordinated work of the on-board charger, battery management system and vehicle controller, the charging gun connection signal and charging pile information are obtained, and the unlocking or locking operation of the electronic lock is controlled, which solves the problem of low adaptability in the charging and discharging scenarios and improves user experience and safety.

CN116512942BActive Publication Date: 2025-07-11CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310522459.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2025-07-11
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

现有的充放电电子锁控制策略在不同充放电场景下适配性低,导致用户体验差,无法有效防止充电枪线被盗拔及充电中断。

Method used

Through the on-board charger, battery management system and vehicle controller working together, the charging gun connection signal and the maximum allowable current of the charging pile are obtained, the connection status and effective status are determined, and the electronic lock is unlocked or locked, including charging reservation status, charging pile attributes, discharge power and other information, to achieve adaptive control in multiple scenarios.

Benefits of technology

It improves the adaptability of the unlocking control strategy of electronic locks and scenes, enhances the user experience, and prevents the charging gun cable from being stolen and charging interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116512942B_ABST
    Figure CN116512942B_ABST
Patent Text Reader

Abstract

The present application provides a control method, device and electronic device for a charge-discharge electronic lock. The method includes: an on-vehicle charger obtains a charging gun connection signal and the maximum allowable current passing through the charging pile, and then determines the connection state and the valid state, and sends the connection state to the battery management system and the vehicle controller, and sends the valid state to the battery management system; the battery management system determines the charge-discharge mode and the charge-discharge state based on the connection state and the valid state, and sends them to the vehicle controller; the vehicle controller obtains the electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge-discharge mode and the charge-discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge-discharge mode, the charge-discharge state and the electronic lock influence information. Through the technical solution of the present application, the adaptability of the unlocking and locking control strategy of the electronic lock to the scenario is improved, and thus the effect of improving the user experience is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electric vehicles, and particularly to a control method, device and electronic device for a charging and discharging electronic lock. Background Art

[0002] Most charging methods for electric vehicles still use a charging gun to connect the power grid and the vehicle to the charging pile for power supply. At the same time, the discharge of electric vehicles (external discharge) usually uses a discharge gun to connect to an external AC electrical appliance or the vehicle to be charged for external discharge of the vehicle.

[0003] Currently, the vehicle can control the opening and closing of the electronic lock according to the charging state, door lock state, electronic lock state, etc., which can appropriately solve the unlocking and locking requirements of the electronic lock in some scenarios and avoid the situation of the charging cable being stolen.

[0004] However, due to the complex charging and discharging application scenarios, the current control strategy for unlocking and locking the electronic lock is single and cannot fully cover various application scenarios. For example, in the scenario of scheduled charging, the vehicle is locked, but since the scheduled time has not yet arrived and charging has not been started, the charging gun is not locked, and there is a risk of the charging gun cable being stolen; it is impossible to identify a dedicated charging pile, and there may be a situation where the dedicated charging gun is stolen or the charging is interrupted; moreover, the control scenarios of AC discharge and European standard DC charging are not covered. Therefore, it will lead to the problem that the unlocking and locking control strategy of the electronic lock has low adaptability to the scenario, and further lead to the problem of poor user experience. Summary of the Invention

[0005] In view of the above-mentioned defects or deficiencies in the prior art, this application aims to provide a control method, device and electronic device for a charging and discharging electronic lock to solve the problems of low adaptability to the scenario and poor user experience caused by the same unlocking and locking control strategy of the electronic lock in different charging and discharging scenarios.

[0006] An embodiment of this application provides a control method for a charging and discharging electronic lock, which is applicable to a control device for a charging and discharging electronic lock. The control device for the charging and discharging electronic lock includes an on-vehicle charger, a battery management system, a vehicle controller, a body control module, and an electronic lock. The method includes:

[0007] The on-vehicle charger obtains a charging gun connection signal and the maximum allowable current passing through the charging pile, determines a connection state and a valid state according to the charging gun connection signal and the maximum allowable current passing through the charging pile, and sends the connection state to the battery management system and the vehicle controller, and sends the valid state to the battery management system;

[0008] Based on the connection status and the valid status, the battery management system determines the charge and discharge mode and the charge and discharge status in the charge and discharge mode, and sends the charge and discharge mode and the charge and discharge status to the vehicle controller; wherein, the charge and discharge mode includes any one of AC charging, AC discharging, and European standard DC charging; if the charge and discharge mode is AC charging or European standard DC charging, the charge and discharge status includes charging preparation, charging in progress, or charging completed; if the charge and discharge mode is AC discharging, the charge and discharge status includes discharging preparation, discharging in progress, or discharging completed;

[0009] Based on the connection status, the charge and discharge mode, and the charge and discharge status, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information; wherein, the electronic lock influence information includes at least one of charging pile attributes, charge start / stop instructions, discharge start / stop instructions, the current status of the central control lock, the change status of the central control lock, the source of the central control lock change, and the discharge power.

[0010] Optionally, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system based on the connection status, the charge and discharge mode, and the charge and discharge status, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information, including:

[0011] When the connection status is connected, the charge and discharge mode is AC charging, and the charge and discharge status is charging preparation, the vehicle controller determines the charge reservation status.

[0012] If the charge reservation status is not reserved, when the vehicle controller determines that the charge start / stop instruction sent by the battery management system is a charge start instruction, it controls the electronic lock to perform a locking operation.

[0013] If the charge reservation status is reserved, the vehicle controller obtains the current status of the central control lock from the body control module. If the current status of the central control lock is in the locked state, it controls the electronic lock to perform a locking operation.

[0014] Optionally, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system based on the connection status, the charge and discharge mode, and the charge and discharge status, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information, including:

[0015] When the connection status is "connected", the charging and discharging mode is "European standard DC charging" and the charging and discharging mode is "charging preparation", when the vehicle control unit determines that the charging start / stop command sent by the battery management system is a charging start command, it controls the electronic lock to perform a locking operation;

[0016] When the connection status is "connected", the charging and discharging mode is "AC discharging" and the charging and discharging mode is "discharging preparation", when the vehicle control unit determines that the discharging start / stop command sent by the battery management system is a discharging start command, it controls the electronic lock to perform a locking operation.

[0017] Optionally, the vehicle control unit obtains electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charging and discharging mode, and the charging and discharging status, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charging and discharging mode, the charging and discharging status, and the electronic lock influence information, including:

[0018] When the connection status is "connected", the charging and discharging mode is "AC charging" and the charging and discharging mode is "charging", the vehicle control unit obtains the central locking change status from the body control module;

[0019] If the central locking change status changes from the locked state to the unlocked state, the vehicle control unit controls the electronic lock to perform an unlocking operation and sends a start current limiting signal to the battery management system;

[0020] If the continuous duration of the electronic lock in the unlocked state reaches a preset duration and the vehicle control unit determines that the battery management system has not sent a charging stop command, the vehicle control unit controls the electronic lock to perform a locking operation and sends a cancel current limiting signal to the battery management system.

[0021] Optionally, the vehicle control unit obtains electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charging and discharging mode, and the charging and discharging status, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charging and discharging mode, the charging and discharging status, and the electronic lock influence information, including:

[0022] When the connection status is "connected", the charging and discharging mode is "AC discharging" and the charging and discharging mode is "discharging", the vehicle control unit obtains the central locking change status from the body control module;

[0023] If the central locking change status changes from the locked state to the unlocked state, the vehicle control unit obtains the discharging power from the battery management system;

[0024] If the discharge power is greater than the power threshold, the vehicle controller obtains the source of the central locking change from the body control module. When the source of the central locking change is a physical button, the vehicle controller sends a discharge stop command to the battery management system and controls the electronic lock to perform an unlocking operation. When the source of the central locking change is not a physical button, the vehicle controller controls the electronic lock to remain in the locked state;

[0025] If the discharge power is not greater than the power threshold, the vehicle controller controls the electronic lock to perform an unlocking operation and sends a start current limiting signal to the battery management system. If the duration that the electronic lock is in the unlocked state reaches the preset duration and the vehicle controller determines that the battery management system has not sent a discharge stop command, the vehicle controller controls the electronic lock to perform a locking operation and sends a cancel current limiting signal to the battery management system.

[0026] Optionally, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including:

[0027] When the connection state is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging, the vehicle controller obtains the central locking change state from the body control module;

[0028] If the central locking change state is from the locked state to the unlocked state, the vehicle controller obtains the source of the central locking change from the body control module;

[0029] When the source of the central locking change is a physical button, the vehicle controller sends a charge stop command to the battery management system and controls the electronic lock to perform an unlocking operation;

[0030] When the source of the central locking change is not a physical button, the vehicle controller controls the electronic lock to remain in the locked state.

[0031] Optionally, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including:

[0032] When the connection state is "connected", the charging and discharging mode is "AC charging", and the charging and discharging mode is "charging completed", the vehicle controller obtains the current state of the central locking from the body control module;

[0033] If the current state of the central locking is "unlocked", the vehicle controller controls the electronic lock to perform an unlocking operation;

[0034] If the current state of the central locking is "locked", the vehicle controller obtains the charging pile attributes from the battery management system. When the charging pile attributes are for a dedicated charging pile, the vehicle controller controls the electronic lock to remain in the locked state. When the charging pile attributes are for a public charging pile, the vehicle controller controls the electronic lock to perform an unlocking operation.

[0035] Optionally, the vehicle controller obtains the electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charging and discharging mode, and the charging and discharging state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charging and discharging mode, the charging and discharging state, and the electronic lock influence information, including:

[0036] When the connection state is "connected", the charging and discharging mode is "AC discharging", and the charging and discharging mode is "discharging completed", the vehicle controller obtains the current state of the central locking from the body control module. If the current state of the central locking is "locked", the vehicle controller controls the electronic lock to remain in the locked state. If the current state of the central locking is "unlocked", the vehicle controller controls the electronic lock to perform an unlocking operation;

[0037] When the connection state is "connected", the charging and discharging mode is "European standard DC charging", and the charging and discharging mode is "charging completed", the vehicle controller controls the electronic lock to perform an unlocking operation.

[0038] An embodiment of the present application further provides a control device for a charging and discharging electronic lock. The device includes: an on-vehicle charger, a battery management system, a vehicle controller, a body control module, and an electronic lock; wherein,

[0039] The on-vehicle charger is configured to obtain a charging gun connection signal and the maximum allowable current passing through the charging pile, determine a connection state and an effective state according to the charging gun connection signal and the maximum allowable current passing through the charging pile, send the connection state to the battery management system and the vehicle controller, and send the effective state to the battery management system;

[0040] The battery management system is configured to determine a charge-discharge mode and a charge-discharge status in the charge-discharge mode based on the connection status and the valid status, and send the charge-discharge mode and the charge-discharge status to the vehicle controller; wherein, the charge-discharge mode includes any one of AC charging, AC discharging, and European standard DC charging; if the charge-discharge mode is AC charging or European standard DC charging, the charge-discharge status includes charging preparation, charging in progress, or charging completed; if the charge-discharge mode is AC discharging, the charge-discharge status includes discharging preparation, discharging in progress, or discharging completed;

[0041] The body control module is configured to obtain electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charge-discharge mode, and the charge-discharge status, and control the electronic lock to perform an unlocking operation or a locking operation according to the charge-discharge mode, the charge-discharge status, and the electronic lock influence information; wherein, the electronic lock influence information includes at least one of charging pile attributes, charging start / stop instructions, discharging start / stop instructions, the current status of the central control lock, the changing status of the central control lock, the source of the central control lock change, and the discharging power.

[0042] An embodiment of the present application further provides an electronic device, which includes:

[0043] a processor and a memory;

[0044] The processor is configured to execute the steps of the control method of the charge-discharge electronic lock according to any embodiment of the present application by calling a program or an instruction stored in the memory.

[0045] In summary, the present application proposes a control method for a charge-discharge electronic lock. The on-vehicle charger obtains a charging gun connection signal and the maximum allowable current passing through the charging pile, and then determines the connection status and the valid status, and sends the connection status to the battery management system and the vehicle controller, and sends the valid status to the battery management system. The battery management system determines the charge-discharge mode and the charge-discharge status based on the connection status and the valid status, and sends the charge-discharge mode and the charge-discharge status to the vehicle controller. The vehicle controller obtains the electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charge-discharge mode, and the charge-discharge status, so as to control the electronic lock to perform an unlocking operation or a locking operation, realizing the unlocking and locking control strategy of using different electronic locks in different charge-discharge scenarios, improving the adaptability of the unlocking and locking control strategy of the electronic lock to the scenario, and further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flowchart of a control method for a charge-discharge electronic lock provided by an embodiment of the present application;

[0047] Figure 2 It is a schematic diagram of a process for controlling an electronic lock provided by an embodiment of the present application;

[0048] Figure 3 It is another schematic diagram of a process for controlling an electronic lock provided by an embodiment of the present application;

[0049] Figure 4 It is another schematic diagram of a process for controlling an electronic lock provided by an embodiment of the present application;

[0050] Figure 5 It is another schematic diagram of a process for controlling an electronic lock provided by an embodiment of the present application;

[0051] Figure 6 It is another schematic diagram of a process for controlling an electronic lock provided by an embodiment of the present application;

[0052] Figure 7 It is a schematic structural diagram of a control device for a charge-discharge electronic lock provided by an embodiment of the present application;

[0053] Figure 8 It is a schematic diagram of the usage process of a control device for a charge-discharge electronic lock provided by an embodiment of the present application;

[0054] Figure 9 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0055] The following further elaborates the present application in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are merely for explaining the related invention and not for limiting the invention. Additionally, it should be noted that for the sake of description, only the parts related to the invention are shown in the accompanying drawings.

[0056] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The following will elaborate on the present application in detail with reference to the accompanying drawings and embodiments.

[0057] Figure 1 It is a flowchart of a control method for a charge-discharge electronic lock provided by an embodiment of the present application. The control method for the charge-discharge electronic lock is applicable to a control device for a charge-discharge electronic lock. The control device for the charge-discharge electronic lock includes an on-vehicle charger, a battery management system, a vehicle controller, a body control module, and an electronic lock. Refer to Figure 1 , the control method for the charge-discharge electronic lock specifically includes:

[0058] S110. The on-board charger obtains the charging gun connection signal and the maximum allowable current passing through the charging pile, determines the connection status and the valid status based on the charging gun connection signal and the maximum allowable current passing through the charging pile, sends the connection status to the battery management system and the vehicle controller, and sends the valid status to the battery management system.

[0059] Among them, the on-board charger (OBC) refers to the charger fixedly installed on the electric vehicle, which has the ability to quickly and conveniently charge the power battery safely. It dynamically adjusts the charging current and voltage parameters according to the data provided by the battery management system (BMS), performs corresponding charging actions, and completes the charging process. The charging gun connection signal can be the CC signal. By detecting the voltage of the CC signal, it is judged whether the AC charger is plugged in and the connection status. It is determined according to the CC value. CC is a constant current, that is, discharging continuously with the same current. CC can be 10A, 16A, 32A or 64A. The subsequent connection status can be determined according to the CC resistance value. Among them, 10A and 16A are for household charging gun products, that is, dedicated charging piles; 32A and 64A are usually for public charging piles. The maximum allowable current passing through the charging pile can be the CP signal. After identifying the CP signal, the maximum allowable current passing through the charging pile can be confirmed. The connection status (CC status) can include connected and not connected, which is used to describe whether the charging gun is successfully connected. The valid status (CP status) can include valid and invalid, which is used to describe whether the power supply capacity of the power supply device is valid. The battery management system is an intelligent management and maintenance battery unit. The vehicle controller (VCU) can control the operation of the electric vehicle motor and can also control the operation of other electronic devices on the electric vehicle.

[0060] Specifically, after inserting the charging gun, the on-board charger can obtain the charging gun connection signal. After the user swipes the card, the on-board charger can obtain the maximum allowable current passing through the charging pile. Furthermore, based on the charging gun connection signal and the maximum allowable current passing through the charging pile, the connection status and the valid status can be judged, and the connection status is sent to the battery management system and the vehicle controller, and the valid status is sent to the battery management system.

[0061] S120. The battery management system determines the charge and discharge mode and the charge and discharge status in the charge and discharge mode based on the connection status and the valid status, and sends the charge and discharge mode and the charge and discharge status to the vehicle controller.

[0062] Among them, the charge and discharge mode includes any one of AC charging, AC discharging, and European standard DC charging; if the charge and discharge mode is AC charging or European standard DC charging, the charge and discharge status includes charging preparation, charging in progress, or charging completed; if the charge and discharge mode is AC discharging, the charge and discharge status includes discharging preparation, discharging in progress, or discharging completed.

[0063] Exemplarily, in the case where the charge and discharge mode is AC charging or European standard DC charging, the charge and discharge status can be understood as the charging status. Among them, charging preparation means the gun has been plugged in but charging has not started yet; charging in progress means the OBC outputs DC power to supply the vehicle; charging completed means the OBC has stopped outputting. In the case where the charge and discharge mode is AC discharging, the charge and discharge status can be understood as the discharging status. Among them, discharging preparation means the gun has been plugged in but discharging has not started yet; discharging in progress means the OBC outputs AC power to supply the external device; discharging ended means the OBC has stopped outputting.

[0064] It can be understood that when the BMS determines that the connection status is connected and the effective status is valid, it can perform a self-check to determine whether the current charging / discharging conditions are met. If the conditions are met, it can send the charge and discharge mode and the charge and discharge status to the VCU, and send a high-voltage request to the VCU, that is, the high-voltage request is a valid request.

[0065] S130. The vehicle controller obtains the electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charge and discharge mode, and the charge and discharge status, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information.

[0066] Among them, the electronic lock influence information is the collected information related to controlling the unlocking and locking of the electronic lock, and is used to judge whether to perform an unlocking operation or a locking operation on the electronic lock subsequently. The electronic lock influence information includes at least one of the charging pile attribute, the charging start and stop instruction, the discharging start and stop instruction, the current status of the central control lock, the change status of the central control lock, the source of the change of the central control lock, and the discharging power. The charging pile attribute includes a dedicated charging pile and a public charging pile. The charging start and stop instruction includes a charging start instruction and a charging stop instruction. The discharging start and stop instruction includes a discharging start instruction and a discharging stop instruction. The current status of the central control lock includes a locked state and an unlocked state. The change status of the central control lock includes changing from the locked state to the unlocked state and changing from the unlocked state to the locked state. The source of the change of the central control lock includes a physical button and a non-physical button (key, NFC, or Bluetooth, etc.). The body control module (BCM) can control the electrical appliances of the vehicle body, such as the vehicle lamps, wipers, washers, door locks, electric windows, sunroofs, electric rearview mirrors, remote control, etc., and also has functions such as power management, high and low voltage protection, delayed power-off, and system sleep.

[0067] Specifically, after receiving the connection status, charge and discharge mode, and charge and discharge status, the VCU can determine the current scenario and determine the information for controlling the electronic lock to perform unlocking and locking operations in the current scenario, that is, the electronic lock impact information. Furthermore, the electronic lock impact information is obtained from the body control module and / or the battery management system, and in the current scenario, based on the obtained electronic lock impact information, it is analyzed to determine whether to perform an unlocking operation or a locking operation on the electronic lock.

[0068] Based on the above example, when the connection status of the vehicle control unit is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging preparation, the electronic lock impact information can be obtained and the electronic lock can be controlled to perform unlocking or locking operations through the following methods:

[0069] When the connection status of the vehicle control unit is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging preparation, the charging reservation status is determined;

[0070] If the charging reservation status is not reserved, when the vehicle control unit determines that the charge start and stop instruction sent by the battery management system is a charge start instruction, it controls the electronic lock to perform a locking operation;

[0071] If the charging reservation status is reserved, the vehicle control unit obtains the current status of the central locking from the body control module. If the current status of the central locking is the locked state, it controls the electronic lock to perform a locking operation.

[0072] Among them, the charging reservation status includes reserved and not reserved. Reserved means that a fixed time for charging has been reserved, and not reserved means that charging can start immediately after inserting the gun and swiping the card without waiting.

[0073] Specifically, in the scenario where the connection status is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging preparation, first, it is judged whether the user has set a reserved charge, that is, the charging reservation status is determined. If the charging reservation status is not reserved, it indicates that charging can be started immediately in the current scenario. Therefore, after the user triggers and issues a charge start instruction based on the battery management system, the electronic lock is controlled to perform a locking operation, and the specific process is as Figure 2 shown. If the charging reservation status is reserved, it indicates that charging is not required at present. When the user leaves the vehicle, the electronic lock can be locked. Therefore, the vehicle control unit obtains the current status of the central locking from the body control module. If it is in the locked state, it indicates that the user has left the vehicle, and the electronic lock should be controlled to perform a locking operation so that the reserved charge operation can be performed after the user leaves. The specific process is as Figure 3 shown.

[0074] Based on the above examples, when the vehicle controller is in the connected state, the charging and discharging mode is the European standard DC charging, and the charging and discharging mode is the charging preparation mode, or when the vehicle controller is in the connected state, the charging and discharging mode is the AC discharge mode, and the charging and discharging mode is the discharge preparation mode, the electronic lock influence information can be obtained in the following ways, and the electronic lock can be controlled to perform an unlocking operation or a locking operation:

[0075] When the vehicle controller is in the connected state, the charging and discharging mode is the European standard DC charging, and the charging and discharging mode is the charging preparation mode, and when it is determined that the charging start and stop command sent by the battery management system is a charging start command, the electronic lock is controlled to perform a locking operation;

[0076] When the vehicle controller is in the connected state, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharge preparation, and when it is determined that the discharge start and stop command sent by the battery management system is a discharge start command, the electronic lock is controlled to perform a locking operation.

[0077] Specifically, when the connection status is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is ready for charging, it indicates that the current scene cannot be reserved and charging is required immediately. Therefore, after the user triggers and initiates the charge start instruction based on the battery management system, the electronic lock is controlled to perform the locking operation. When the connection status is connected, the charge and discharge mode is AC discharge, and the charge and discharge mode is ready for discharge, it indicates that the current scene cannot be reserved and discharging is required immediately. Therefore, after the user triggers and initiates the discharge start instruction based on the battery management system, the electronic lock is controlled to perform the locking operation.

[0078] Based on the above example, when the vehicle controller is in the connected state, the charging and discharging mode is AC charging, and the charging and discharging mode is charging, the electronic lock influence information can be obtained in the following ways, and the electronic lock can be controlled to perform an unlocking operation or a locking operation:

[0079] When the vehicle controller is in the connected state, the charging and discharging mode is AC charging, and the charging and discharging mode is charging, the vehicle controller obtains the central lock change state from the body control module;

[0080] If the central lock changes state from locked to unlocked, the vehicle controller controls the electronic lock to perform the unlocking operation and sends a start current limiting signal to the battery management system;

[0081] If the electronic lock is in the unlocked state for a preset time and the vehicle controller determines that the battery management system has not sent a charging stop command, the vehicle controller controls the electronic lock to perform a locking operation and sends a current limit release signal to the battery management system.

[0082] Among them, the start current limiting signal can be a signal that limits the charging current and the discharging current to a safe range. The release current limiting signal can be a signal that restores the charging current and the discharging current to the current during normal charging and discharging. The preset duration can be the duration used to determine whether to restore the original electronic lock and current conditions during charging, for example, it can be 30s, etc. The specific value can be set according to actual needs.

[0083] Specifically, when the connection status is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging, it is possible to preliminarily determine whether the user has the need to unplug the charging gun based on the change in the central lock, that is, the change in the central lock state. If the central lock changes from a locked state to an unlocked state, it indicates that the user opens the central lock and may want to start the vehicle, so there may be a need to unplug the charging gun. Based on this, the electronic lock can be controlled to perform an unlocking operation, and a start current limiting signal can be sent to the battery management system to limit the current charging current and avoid danger when the charging gun is unplugged. However, if the duration of the electronic lock being in the unlocked state reaches a preset duration and the vehicle controller determines that the battery management system has not sent a charging stop instruction, it indicates that the user has no need to stop charging, and may just unlock the central lock to perform some operations that have nothing to do with stopping charging. Therefore, the vehicle controller controls the electronic lock to perform a locking operation, and sends a release current limiting signal to the battery management system to restore the current during normal charging when the electronic lock is locked. The specific process is as follows: Figure 4 shown.

[0084] Based on the above example, when the vehicle controller is in the connected state, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharging, the electronic lock influence information can be obtained in the following ways, and the electronic lock can be controlled to perform an unlocking operation or a locking operation:

[0085] When the vehicle controller is in the connected state, the charge and discharge mode is in AC discharge, and the charge and discharge mode is in discharge, the vehicle controller obtains the central lock change state from the body control module;

[0086] If the central lock changes state from locked state to unlocked state, the vehicle controller obtains the discharge power from the battery management system;

[0087] If the discharge power is greater than the power threshold, the vehicle controller obtains the source of the central lock change from the body control module. If the source of the central lock change is a physical button, the vehicle controller sends a discharge stop command to the battery management system and controls the electronic lock to perform an unlocking operation. If the source of the central lock change is a non-physical button, the vehicle controller controls the electronic lock to remain locked.

[0088] If the discharge power is not greater than the power threshold, the vehicle controller controls the electronic lock to perform an unlocking operation and sends a start current-limiting signal to the battery management system. If the duration of the electronic lock in the unlocked state reaches the preset duration and the vehicle controller determines that the battery management system has not sent a discharge stop command, the vehicle controller controls the electronic lock to perform a locking operation and sends a cancel current-limiting signal to the battery management system.

[0089] Among them, the power threshold can be the discharge power used to determine whether the electronic lock can be unlocked by current limiting under safe conditions.

[0090] Specifically, when the connection state is connected, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharging, it indicates that the change state of the central control lock can be continuously obtained from the body control module, so as to preliminarily judge whether the user has the need to pull out the charging gun according to the change state of the central control lock. If the change state of the central control lock is from the locked state to the unlocked state, it indicates that the user has opened the central control lock and may start the vehicle, so there may be a need to pull out the charging gun. Accordingly, the vehicle controller obtains the discharge power from the battery management system. If the discharge power is greater than the power threshold, it indicates that the charging gun cannot be safely pulled out by current limiting at present. Therefore, the source of the central control lock change can be further judged. When the source of the central control lock change is a physical button, since the physical button is located inside the vehicle, it indicates that the user is inside the vehicle, and it can be determined that the user has the need to pull out the charging gun. Therefore, a discharge stop command can be sent to the battery management system to stop the discharge, ensure safety, and control the electronic lock to perform an unlocking operation. When the source of the central control lock change is not a physical button, it indicates that the user may not be inside the vehicle. At this time, the remote control method is used to control the central control lock. Therefore, the electronic lock can be controlled to remain in the locked state. If the discharge power is not greater than the power threshold, it indicates that the charging gun can be safely pulled out by current limiting. Therefore, the electronic lock can be controlled to perform an unlocking operation, and a start current-limiting signal can be sent to the battery management system to limit the current discharge current and avoid danger when pulling out the charging gun. However, if the duration of the electronic lock in the unlocked state reaches the preset duration and the vehicle controller determines that the battery management system has not sent a discharge stop command, it indicates that the user does not have the need to stop the discharge, and may just unlock the central control lock for some operations, which has nothing to do with stopping the discharge. Therefore, the vehicle controller controls the electronic lock to perform a locking operation and sends a cancel current-limiting signal to the battery management system to restore the current during normal discharge when the electronic lock is locked.

[0091] Based on the above example, when the connection state is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging, the vehicle controller can obtain the electronic lock influence information and control the electronic lock to perform an unlocking operation or a locking operation through the following method:

[0092] When the connection status of the vehicle control unit is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging, the vehicle control unit obtains the central locking change status from the body control module;

[0093] If the central locking change status is from the locked state to the unlocked state, the vehicle control unit obtains the source of the central locking change from the body control module;

[0094] When the source of the central locking change is a physical button, the vehicle control unit sends a charging stop command to the battery management system and controls the electronic lock to perform an unlocking operation;

[0095] When the source of the central locking change is not a physical button, the vehicle control unit controls the electronic lock to remain in the locked state.

[0096] Specifically, when the connection status is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging, it is possible to judge whether the user has the need to unplug the charging gun according to the central locking change status. If the central locking change status is from the locked state to the unlocked state, it indicates that the user has opened the central locking and may start the vehicle, so there may be a need to unplug the charging gun. Based on this, the source of the central locking change can be further determined. When the source of the central locking change is a physical button, since the physical button is located inside the vehicle, it indicates that the user is inside the vehicle, and it can be determined that the user has the need to unplug the charging gun. Therefore, a charging stop command can be sent to the battery management system to stop charging, ensure safety, and control the electronic lock to perform an unlocking operation. When the source of the central locking change is not a physical button, it indicates that the user may not be inside the vehicle. At this time, the central locking is controlled by a remote control method, so the electronic lock can be controlled to remain in the locked state.

[0097] Based on the above example, when the connection status of the vehicle control unit is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging completed, the following method can be used to obtain the electronic lock influence information and control the electronic lock to perform an unlocking operation or a locking operation:

[0098] When the connection status of the vehicle control unit is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging completed, the vehicle control unit obtains the current central locking status from the body control module;

[0099] If the current central locking status is the unlocked state, the vehicle control unit controls the electronic lock to perform an unlocking operation;

[0100] If the current central locking status is the locked state, the charging pile attributes are obtained from the battery management system. When the charging pile attributes are for a dedicated charging pile, the vehicle control unit controls the electronic lock to remain in the locked state. When the charging pile attributes are for a public charging pile, the vehicle control unit controls the electronic lock to perform an unlocking operation.

[0101] Specifically, when the connection status is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging completed, it is possible to first determine whether there is someone in the vehicle according to the current status of the central locking system. If the current status of the central locking system is the unlocked state, it indicates that there is someone in the vehicle, and the vehicle control unit can control the electronic lock to perform an unlocking operation to achieve the effect of automatic unlocking. The specific process is as Figure 5 shown. If the current status of the central locking system is the locked state, the charging pile attribute can be further determined. If the charging pile attribute is a dedicated charging pile, it indicates that if the electronic lock is controlled to perform an unlocking operation, the charging gun may be lost. Therefore, control the electronic lock to remain in the locked state. If an electronic lock unlocking request is triggered subsequently, then perform an unlocking operation on the electronic lock. The specific process is as Figure 6 shown, where it can be determined that the charging pile attribute is a dedicated charging pile according to CC resistance value = 16A. If the charging pile attribute is a public charging pile, it indicates that if the electronic lock is not unlocked for a long time, it will occupy public resources and prevent other vehicles from performing charging operations. Therefore, control the electronic lock to perform an unlocking operation.

[0102] Based on the above example, when the connection status is connected, the charge and discharge mode is AC discharging, and the charge and discharge mode is discharging completed, or when the connection status is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging completed, the vehicle control unit can obtain the electronic lock impact information and control the electronic lock to perform an unlocking operation or a locking operation through the following method:

[0103] When the connection status is connected, the charge and discharge mode is AC discharging, and the charge and discharge mode is discharging completed, the vehicle control unit obtains the current status of the central locking system from the body control module. If the current status of the central locking system is the locked state, control the electronic lock to remain in the locked state. If the current status of the central locking system is the unlocked state, control the electronic lock to perform an unlocking operation;

[0104] When the connection status is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging completed, the vehicle control unit controls the electronic lock to perform an unlocking operation.

[0105] Specifically, when the connection status is connected, the charge and discharge mode is AC discharging, and the charge and discharge mode is discharging completed, since the charging gun used for discharging is usually a dedicated charging gun, it is possible to judge whether there is someone around according to the current status of the central locking system. If the current status of the central locking system is the locked state, it indicates that there is no one around, avoiding the loss of the charging gun and keeping the electronic lock in the locked state. If the current status of the central locking system is the unlocked state, it indicates that there is someone around, and the electronic lock can be controlled to perform an unlocking operation to achieve the purpose of automatic unlocking for easy removal of the charging gun.

[0106] A control method for a charging and discharging electronic lock provided by an embodiment of the present application. The on-vehicle charger obtains a charging gun connection signal and the maximum allowable current passing through the charging pile. Furthermore, it determines the connection state and the valid state, and sends the connection state to the battery management system and the vehicle controller, and sends the valid state to the battery management system. The battery management system determines the charging and discharging mode and the charging and discharging state based on the connection state and the valid state, and sends the charging and discharging mode and the charging and discharging state to the vehicle controller. The vehicle controller obtains the electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charging and discharging mode, and the charging and discharging state, so as to control the electronic lock to perform an unlocking operation or a locking operation, realizing the unlocking and locking control strategy of using different electronic locks in different charging and discharging scenarios, improving the adaptability of the unlocking and locking control strategy of the electronic lock to the scenario, and further improving the user experience effect.

[0107] Figure 7 It is a schematic structural diagram of a control device for a charging and discharging electronic lock provided by an embodiment of the present application. The device includes an on-vehicle charger 710, a battery management system 720, a vehicle controller 730, a body control module 740, and an electronic lock 750; wherein,

[0108] The on-vehicle charger 710 is configured to obtain a charging gun connection signal and the maximum allowable current passing through the charging pile, determine the connection state and the valid state according to the charging gun connection signal and the maximum allowable current passing through the charging pile, and send the connection state to the battery management system 720 and the vehicle controller 730, and send the valid state to the battery management system 720;

[0109] The battery management system 720 is configured to determine the charging and discharging mode and the charging and discharging state in the charging and discharging mode based on the connection state and the valid state, and send the charging and discharging mode and the charging and discharging state to the vehicle controller 730; wherein, the charging and discharging mode includes any one of AC charging, AC discharging, and European standard DC charging; if the charging and discharging mode is AC charging or European standard DC charging, the charging and discharging state includes charging preparation, charging in progress, or charging completed; if the charging and discharging mode is AC discharging, the charging and discharging state includes discharging preparation, discharging in progress, or discharging completed;

[0110] The body control module 740 is used to obtain the electronic lock 750 impact information from the body control module 740 and / or the battery management system 720 according to the connection status, the charging and discharging mode and the charging and discharging status, and control the electronic lock 750 to perform an unlocking operation or a locking operation according to the charging and discharging mode, the charging and discharging status and the electronic lock 750 impact information; wherein the electronic lock 750 impact information includes at least one of charging pile attributes, charging start and stop instructions, discharging start and stop instructions, central control lock current state, central control lock change state, central control lock change source and discharge power.

[0111] Optionally, the vehicle controller 730 is also used to determine the charging reservation status when the connection status is connected, the charging and discharging mode is AC charging, and the charging and discharging mode is charging preparation; if the charging reservation status is not reserved, the vehicle controller 730 controls the electronic lock 750 to perform a locking operation when it determines that the charging start and stop instructions sent by the battery management system 720 are charging start instructions; if the charging reservation status is reserved, the vehicle controller 730 obtains the current state of the central lock from the body control module 740, and if the current state of the central lock is a locked state, controls the electronic lock 750 to perform a locking operation.

[0112] Optionally, the vehicle controller 730 is also used to control the electronic lock 750 to perform a locking operation when it is determined that the charging start and stop instructions sent by the battery management system 720 are charging start instructions when the connection state is connected, the charging and discharging mode is European standard DC charging, and the charging and discharging mode is charging preparation; the vehicle controller 730 is also used to control the electronic lock 750 to perform a locking operation when it is determined that the discharge start and stop instructions sent by the battery management system 720 are discharge start instructions when the connection state is connected, the charging and discharging mode is AC discharge, and the charging and discharging mode is discharging preparation.

[0113] Optionally, the vehicle controller 730 is also used to obtain the central lock change state from the body control module 740 when the connection state is connected, the charging and discharging mode is AC charging, and the charging and discharging mode is charging; if the central lock change state is from a locked state to an unlocked state, the vehicle controller 730 controls the electronic lock 750 to perform an unlocking operation, and sends a start current limiting signal to the battery management system 720; if the duration of the electronic lock 750 in the unlocked state reaches a preset duration and the vehicle controller 730 determines that the battery management system 720 has not sent a charging stop instruction, the vehicle controller 730 controls the electronic lock 750 to perform a locking operation, and sends a release current limiting signal to the battery management system 720.

[0114] Optionally, the vehicle controller 730 is also used to obtain the central lock change state from the body control module 740 when the connection state is connected, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharging; if the central lock change state is from a locked state to an unlocked state, the vehicle controller 730 obtains the discharge power from the battery management system 720; if the discharge power is greater than the power threshold, the vehicle controller 730 obtains the source of the central lock change from the body control module 740, and when the source of the central lock change is a physical button, the vehicle controller 730 sends a discharge stop instruction to the battery management system 720, and controls the The electronic lock 750 performs an unlocking operation. When the source of the change in the central lock is a non-physical button, the electronic lock 750 is controlled to remain in a locked state. If the discharge power is not greater than the power threshold, the vehicle controller 730 controls the electronic lock 750 to perform an unlocking operation and sends a start current limiting signal to the battery management system 720. If the duration of the electronic lock 750 in the unlocked state reaches a preset duration and the vehicle controller 730 determines that the battery management system 720 has not sent a discharge stop instruction, the vehicle controller 730 controls the electronic lock 750 to perform a locking operation and sends a release current limiting signal to the battery management system 720.

[0115] Optionally, the vehicle controller 730 is also used to obtain the central lock change state from the body control module 740 when the connection state is connected, the charging and discharging mode is European standard DC charging, and the charging and discharging mode is charging; if the central lock change state is from a locked state to an unlocked state, the vehicle controller 730 obtains the source of the central lock change from the body control module 740; when the source of the central lock change is a physical button, the vehicle controller 730 sends a charging stop instruction to the battery management system 720, and controls the electronic lock 750 to perform an unlocking operation; when the source of the central lock change is a non-physical button, the vehicle controller 730 controls the electronic lock 750 to remain in a locked state.

[0116] Optionally, the vehicle controller 730 is further configured to obtain the current state of the central locking from the body control module 740 when the connection state is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging completed; if the current state of the central locking is the unlocked state, the vehicle controller 730 controls the electronic lock 750 to perform an unlocking operation; if the current state of the central locking is the locked state, obtain the charging pile attribute from the battery management system 720, and when the charging pile attribute is a dedicated charging pile, the vehicle controller 730 controls the electronic lock 750 to remain in the locked state, and when the charging pile attribute is a public charging pile, the vehicle controller 730 controls the electronic lock 750 to perform an unlocking operation.

[0117] Optionally, the vehicle controller 730 is further configured to obtain the current state of the central locking from the body control module 740 when the connection state is connected, the charge and discharge mode is AC discharging, and the charge and discharge mode is discharging completed. If the current state of the central locking is the locked state, control the electronic lock 750 to remain in the locked state. If the current state of the central locking is the unlocked state, control the electronic lock 750 to perform an unlocking operation; the vehicle controller 730 is further configured to control the electronic lock 750 to perform an unlocking operation when the connection state is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging completed.

[0118] Figure 8 FIG. is a schematic diagram of the usage process of a control device for a charge and discharge electronic lock provided by an embodiment of the present application. The specific implementation process can be referred to the descriptions in the above examples.

[0119] The control device for a charge and discharge electronic lock provided by an embodiment of the present application can execute the control method for a charge and discharge electronic lock in any embodiment of the present application, and can have the same technical effects as the control method for a charge and discharge electronic lock in the above embodiments.

[0120] Figure 9 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 9 shown, the electronic device 900 includes one or more processors 901 and a memory 902.

[0121] The processor 901 may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 900 to perform desired functions.

[0122] The memory 902 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory, etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage media, and the processor 901 may run the program instructions to implement the control method of the charge-discharge electronic lock according to any embodiment of the present application described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage media.

[0123] In one example, the electronic device 900 may further include: an input device 903 and an output device 904, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown). The input device 903 may include, for example, a keyboard, a mouse, etc. The output device 904 may output various information to the outside, including warning prompt information, braking force, etc. The output device 904 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0124] Of course, for simplicity, Figure 9 only some of the components related to the present application in the electronic device 900 are shown, and components such as buses, input / output interfaces, etc. are omitted. In addition, according to specific application scenarios, the electronic device 900 may further include any other appropriate components.

[0125] In addition to the above methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, and when the computer program instructions are run by a processor, the processor is caused to execute the steps of the control method of the charge-discharge electronic lock provided in any embodiment of the present application.

[0126] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present application. The programming languages include object-oriented programming languages, such as Java, C++, etc., and also include conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, executed as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0127] In addition, an embodiment of the present application may also be a computer-readable storage medium storing computer program instructions, which, when run by a processor, cause the processor to execute the steps of the control method of the charge and discharge electronic lock provided in any embodiment of the present application.

[0128] The computer-readable storage medium may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but not be limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0129] It should be noted that the terms used in the present application are only for describing specific embodiments and do not limit the scope of the present application. As shown in the specification and claims of the present application, unless the context clearly indicates otherwise, words such as "a", "an", "one", and / or "the" are not specifically singular and may also include plural. The term "comprising", "including", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, or device including the element.

[0130] It should also be noted that the orientation or positional relationship indicated by terms such as "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the present application. Unless otherwise clearly specified and limited, terms such as "installed", "connected", "connected to" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific cases.

[0131] In this article, specific examples are used to elaborate on the principles and implementation manners of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. The above is only the preferred implementation manner of this application. It should be noted that due to the limited nature of language expression and objectively infinite specific structures, for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements, refinements or changes can be made, or the above technical features can be combined in an appropriate manner; these improvements, refinements, changes or combinations, or directly applying the concept and technical solution of the invention to other occasions without improvement, should all be regarded as the protection scope of this application.

Claims

1. A control method for a charge-discharge electronic lock, characterized in that, A control device applicable to a charge-discharge electronic lock. The control device of the charge-discharge electronic lock includes an on-vehicle charger, a battery management system, a vehicle controller, a body control module, and an electronic lock, and includes: The on-vehicle charger obtains a charging gun connection signal and the maximum allowable current passing through the charging pile, determines a connection state and a valid state according to the charging gun connection signal and the maximum allowable current passing through the charging pile, and sends the connection state to the battery management system and the vehicle controller, and sends the valid state to the battery management system; Based on the connection state and the valid state, the battery management system determines a charge-discharge mode and a charge-discharge state in the charge-discharge mode, and sends the charge-discharge mode and the charge-discharge state to the vehicle controller; wherein, the charge-discharge mode includes any one of AC charging, AC discharging, and European standard DC charging; if the charge-discharge mode is AC charging or European standard DC charging, the charge-discharge state includes charging preparation, charging in progress, or charging completed; if the charge-discharge mode is AC discharging, the charge-discharge state includes discharging preparation, discharging in progress, or discharging completed; According to the connection state, the charge-discharge mode, and the charge-discharge state, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge-discharge mode, the charge-discharge state, and the electronic lock influence information; wherein, the electronic lock influence information includes at least one of charging pile attributes, charging start / stop instructions, discharging start / stop instructions, the current state of the central control lock, the change state of the central control lock, the source of the change of the central control lock, and the discharging power; According to the connection state, the charge-discharge mode, and the charge-discharge state, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge-discharge mode, the charge-discharge state, and the electronic lock influence information, including: When the connection state is connected, the charge-discharge mode is AC charging, and the charge-discharge mode is charging preparation, the vehicle controller determines a charging reservation state; If the charging reservation state is not reserved, when the vehicle controller determines that the charging start / stop instruction sent by the battery management system is a charging start instruction, it controls the electronic lock to perform a locking operation; If the charging reservation state is reserved, the vehicle controller obtains the current state of the central control lock from the body control module. If the current state of the central control lock is a locked state, it controls the electronic lock to perform a locking operation.

2. The method according to claim 1, wherein According to the connection state, the charge-discharge mode, and the charge-discharge state, the vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge-discharge mode, the charge-discharge state, and the electronic lock influence information, including: When the vehicle controller determines that the charging start / stop instruction sent by the battery management system is a charging start instruction, and the connection state is connected, the charging and discharging mode is European standard DC charging, and the charging and discharging mode is charging preparation, the electronic lock is controlled to perform a locking operation; When the vehicle controller determines that the discharge start and stop instruction sent by the battery management system is a discharge start instruction and the connection state is connected, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharge preparation, the electronic lock is controlled to perform a locking operation.

3. The method according to claim 1, wherein The vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including: The vehicle controller obtains the central lock change state from the body control module when the connection state is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging; If the central lock changes state from a locked state to an unlocked state, the vehicle controller controls the electronic lock to perform an unlocking operation and sends a start current limiting signal to the battery management system; If the duration of the electronic lock being in the unlocked state reaches a preset duration and the vehicle controller determines that the battery management system has not sent a charging stop instruction, the vehicle controller controls the electronic lock to perform a locking operation and sends a current limiting release signal to the battery management system.

4. The method according to claim 1, wherein The vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including: The vehicle controller obtains a central lock change state from the body control module when the connection state is connected, the charge and discharge mode is AC discharge, and the charge and discharge mode is discharging; If the central lock changes state from a locked state to an unlocked state, the vehicle controller obtains the discharge power from the battery management system; If the discharge power is greater than the power threshold, the vehicle controller obtains the change source of the central lock from the body control module, and when the change source of the central lock is a physical button, sends a discharge stop instruction to the battery management system and controls the electronic lock to perform an unlocking operation, and when the change source of the central lock is a non-physical button, controls the electronic lock to remain locked; If the discharge power is not greater than the power threshold, the vehicle controller controls the electronic lock to perform an unlocking operation and sends a start current-limiting signal to the battery management system. If the duration of the electronic lock being in the unlocked state reaches the preset duration and the vehicle controller determines that the battery management system has not sent a discharge stop instruction, the vehicle controller controls the electronic lock to perform a locking operation and sends a cancel current-limiting signal to the battery management system.

5. The method according to claim 1, characterized in that, The vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including: When the connection state is connected, the charge and discharge mode is European standard DC charging, and the charge and discharge mode is charging, the vehicle controller obtains the central control lock change state from the body control module. If the central control lock change state is from the locked state to the unlocked state, the vehicle controller obtains the central control lock change source from the body control module. When the central control lock change source is a physical button, the vehicle controller sends a charge stop instruction to the battery management system and controls the electronic lock to perform an unlocking operation. When the central control lock change source is not a physical button, the vehicle controller controls the electronic lock to remain in the locked state.

6. The method according to claim 1, wherein The vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including: When the connection state is connected, the charge and discharge mode is AC charging, and the charge and discharge mode is charging completed, the vehicle controller obtains the current state of the central control lock from the body control module. If the current state of the central control lock is the unlocked state, the vehicle controller controls the electronic lock to perform an unlocking operation. If the current state of the central control lock is the locked state, the vehicle controller obtains the charging pile attribute from the battery management system. When the charging pile attribute is a dedicated charging pile, the vehicle controller controls the electronic lock to remain in the locked state. When the charging pile attribute is a public charging pile, the vehicle controller controls the electronic lock to perform an unlocking operation.

7. The method according to claim 1, wherein The vehicle controller obtains electronic lock influence information from the body control module and / or the battery management system according to the connection state, the charge and discharge mode, and the charge and discharge state, and controls the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge state, and the electronic lock influence information, including: When the connection status is "connected", the charge and discharge mode is "AC discharge", and the charge and discharge mode is "discharge completed", the vehicle controller obtains the current status of the central locking from the body control module. If the current status of the central locking is "locked", the vehicle controller controls the electronic lock to remain in the locked state. If the current status of the central locking is "unlocked", the vehicle controller controls the electronic lock to perform an unlocking operation. When the connection status is "connected", the charge and discharge mode is "European standard DC charging", and the charge and discharge mode is "charging completed", the vehicle controller controls the electronic lock to perform an unlocking operation.

8. A control device for a charge-discharge electronic lock, characterized in that Comprising: An on-vehicle charger, a battery management system, a vehicle controller, a body control module, and an electronic lock; wherein, The on-vehicle charger is configured to obtain a charging gun connection signal and the maximum allowable current passing through the charging pile, determine the connection status and the valid status according to the charging gun connection signal and the maximum allowable current passing through the charging pile, send the connection status to the battery management system and the vehicle controller, and send the valid status to the battery management system. The battery management system is configured to determine the charge and discharge mode and the charge and discharge status in the charge and discharge mode based on the connection status and the valid status, and send the charge and discharge mode and the charge and discharge status to the vehicle controller; wherein, the charge and discharge mode includes any one of AC charging, AC discharge, and European standard DC charging; if the charge and discharge mode is AC charging or European standard DC charging, the charge and discharge status includes charging preparation, charging in progress, or charging completed; if the charge and discharge mode is AC discharge, the charge and discharge status includes discharge preparation, discharge in progress, or discharge completed. The body control module is configured to obtain electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charge and discharge mode, and the charge and discharge status, and control the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information; wherein, the electronic lock influence information includes at least one of charging pile attributes, charging start / stop instructions, discharge start / stop instructions, the current status of the central locking, the change status of the central locking, the source of the change of the central locking, and the discharge power. Obtaining electronic lock influence information from the body control module and / or the battery management system according to the connection status, the charge and discharge mode, and the charge and discharge status, and controlling the electronic lock to perform an unlocking operation or a locking operation according to the charge and discharge mode, the charge and discharge status, and the electronic lock influence information, includes: When the connection status is "connected", the charge and discharge mode is "AC charging", and the charge and discharge mode is "charging preparation", the vehicle controller determines the charging reservation status. If the charging reservation status is "not reserved", when the vehicle controller determines that the charging start / stop instruction sent by the battery management system is a charging start instruction, the vehicle controller controls the electronic lock to perform a locking operation. If the charging reservation status is reserved, the vehicle control unit obtains the current status of the central locking from the body control module. If the current status of the central locking is the locked state, it controls the electronic lock to perform a locking operation.

9. An electronic device, characterized in that, The electronic device includes: a processor and a memory; By calling the program or instruction stored in the memory, the processor is configured to execute the steps of controlling the charge and discharge electronic lock according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for controlling electronic lock of socket-type charging pile, and charging pile and charging apparatus

    US20250026213A1