Vehicle charging electronic lock control method, device and equipment and storage medium
By detecting the vehicle status and charging gun information, and controlling the unlocking and locking of the electric vehicle charging electronic lock, the problem of inaccurate electronic lock control in the prior art is solved, and the convenience and safety of the charging process are improved.
Patent Information
- Application Number
- CN202410008042.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
The existing electric vehicle electronic lock control methods cannot accurately control based on user needs and vehicle status, resulting in inconvenient charging process and insufficient safety.
By detecting the vehicle door status or vehicle unlocking command, the charging electronic lock is driven to unlock, and the electronic lock is further controlled according to the status information of the charging gun, simplifying the gun pulling operation during the charging process, improving convenience and safety.
It realizes the rapid pull-out of the charging gun without swiping the card on the charging pile to stop charging, which improves the user experience and enhances the safety and anti-theft performance of the charging process.
Smart Images

Figure CN120260159A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging control, and particularly to a method, device, equipment and storage medium for controlling an electronic lock for vehicle charging. Background Art
[0002] At present, the vast majority of electric vehicles are charged by connecting a charging gun to the power grid. Therefore, it is necessary to control the electronic lock of the charging gun head to ensure the safe and reliable operation of the charging system.
[0003] The existing control of the electronic lock of electric vehicles is to control the electronic lock based on the state of the vehicle key, and it is impossible to accurately control the electronic lock. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for controlling an electronic lock for vehicle charging, aiming to solve the technical problem that the existing control of the electronic lock is not accurate enough.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling an electronic lock for vehicle charging. The method for controlling an electronic lock for vehicle charging includes the following steps:
[0006] When an unlocking instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlocking instruction;
[0007] Detecting the status information of the charging gun;
[0008] Controlling the electronic lock according to the status information.
[0009] This embodiment provides a method for controlling an electronic lock for vehicle charging. The method includes: when an unlocking instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlocking instruction; detecting the status information of the charging gun; controlling the electronic lock according to the status information. By unlocking the electronic lock for vehicle charging based on the received unlocking instruction, the unlocking control of the electronic lock can be effectively performed according to the user's needs, and the electronic lock can be further controlled according to the status information of the electronic lock, ensuring the reliability of charging and the convenience of operation.
[0010] In some embodiments, the step of unlocking the electronic lock for vehicle charging based on the unlocking instruction when the vehicle is in a charging state includes:
[0011] When the vehicle is in a charging state, detecting the door state of the vehicle;
[0012] When it is detected that the door state is that the door is open, determining that the unlocking instruction is received;
[0013] Unlocking the electronic lock for vehicle charging based on the unlocking instruction.
[0014] In the technical solution of the embodiment of the present application, by detecting the door state of the vehicle, when the door is opened, it is determined that an unlocking instruction for the vehicle is received, and the electronic lock for vehicle charging is quickly unlocked, without having to perform a series of operations such as swiping a card on the charging pile to stop charging before the charging gun can be pulled out, improving the convenience for the user to pull out the charging gun.
[0015] In some embodiments, when an unlocking instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlocking instruction includes:
[0016] When the vehicle is in a charging state, detecting the vehicle state;
[0017] When it is detected that the vehicle state is vehicle unlocked, determining that an unlocking instruction is received;
[0018] Unlocking the electronic lock for vehicle charging based on the unlocking instruction.
[0019] In the technical solution of the embodiment of the present application, by detecting the vehicle state, when the vehicle is unlocked, the electronic lock for vehicle charging is unlocked according to the unlocking instruction, without having to perform a series of operations such as swiping a card on the charging pile to stop charging before the charging gun can be pulled out, improving the convenience for the user to pull out the charging gun.
[0020] In some embodiments, unlocking the electronic lock for vehicle charging based on the unlocking instruction includes:
[0021] Generating a charging current reduction request based on the unlocking instruction;
[0022] Reducing the charging current of the vehicle to a preset charging current according to the charging current reduction request;
[0023] Driving the unlocking of the electronic lock for vehicle charging.
[0024] In the technical solution of the embodiment of the present application, when the electronic lock needs to be unlocked, the current charging current is reduced to a preset charging current, and then the electronic lock for vehicle charging is driven to unlock, thus ensuring the safety of the user during the charging process.
[0025] In some embodiments, controlling the electronic lock according to the status information includes:
[0026] When the status information is that the charging gun for vehicle charging has not been pulled out, controlling the electronic lock of the charging gun to be locked.
[0027] In the technical solution of the embodiment of the present application, if the status information indicates that the charging gun for vehicle charging has not been unplugged, the electronic lock of the charging gun is continuously controlled to be locked to improve the anti-theft performance of the charging gun.
[0028] In some embodiments, when the status information indicates that the charging gun for vehicle charging has not been unplugged, controlling the electronic lock of the charging gun to be locked includes:
[0029] Obtaining the waiting time after the electronic lock is unlocked;
[0030] When the waiting time is greater than a preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, controlling the electronic lock of the charging gun to be locked;
[0031] Controlling the charging current of the vehicle to resume to the charging request current.
[0032] In the technical solution of the embodiment of the present application, by setting the waiting time after the electronic lock is unlocked, when the waiting time is greater than the preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, the charging request current can be restored, driving the electronic lock to be locked, preventing the electronic lock from remaining unlocked and charging with a low current when the user has no intention of unplugging the gun, and improving the charging efficiency and the security of the electronic lock.
[0033] In some embodiments, the method further includes:
[0034] When the vehicle is in the charging completed state, maintaining the locked state of the electronic lock.
[0035] In the technical solution of the embodiment of the present application, after the vehicle charging is completed, maintaining the locked state of the electronic lock improves the anti-theft performance of the charging gun.
[0036] In some embodiments, the method further includes:
[0037] Detecting the working state of the vehicle charging system;
[0038] When the working state is the power-down sleep state, detecting the status information of the charging gun;
[0039] When the status information indicates that the user has not unplugged the charging gun for vehicle charging, controlling the electronic lock of the charging gun to be locked.
[0040] In the technical solution of the embodiment of the present application, by detecting the working state of the vehicle charging system, when the working state is the power-down sleep state, it proves that the charging is completed at this time. At this time, by detecting the status information of the electronic lock, it can be detected whether the user has performed relevant operations on the charging gun. If the user has not unplugged the charging gun for vehicle charging, the electronic lock of the charging gun is controlled to maintain the locked state, improving the anti-theft performance of the charging gun.
[0041] In some embodiments, before unlocking the electronic lock for charging the vehicle based on the unlocking instruction when the unlocking instruction is received while the vehicle is in a charging state, the method further includes:
[0042] When the vehicle charging system is powered on, detecting the charging interface information;
[0043] When it is detected that the charging interface information indicates that the charging gun is inserted, determining whether the vehicle meets the charging conditions;
[0044] When the vehicle meets the charging conditions, controlling the electronic lock of the charging gun to be locked and obtaining the charging request current of the vehicle;
[0045] Charging the vehicle with the charging request current.
[0046] In the technical solution of the embodiments of the present application, when the vehicle charging system is powered on, the charging interface information can be detected to determine whether the vehicle meets the charging conditions. When the vehicle meets the charging conditions, the electronic lock of the charging gun is controlled to be locked and the vehicle is charged with the charging request current, ensuring the reliability of vehicle charging and the security of the electronic lock.
[0047] In a second aspect, an embodiment of the present invention further provides a vehicle charging electronic lock control device, where the vehicle charging electronic lock control device includes:
[0048] A receiving module, configured to unlock the electronic lock for charging the vehicle based on the unlocking instruction when the unlocking instruction is received while the vehicle is in a charging state;
[0049] A detection module, configured to detect the status information of the charging gun;
[0050] A control module, configured to control the electronic lock according to the status information.
[0051] In a third aspect, an embodiment of the present invention further provides a vehicle charging electronic lock control device, where the vehicle charging electronic lock control device includes: a memory, a processor, and a vehicle charging electronic lock control program stored on the memory and executable on the processor, and the vehicle charging electronic lock control program is configured to implement the vehicle charging electronic lock control method described above.
[0052] In a fourth aspect, an embodiment of the present invention further provides a storage medium, on which a vehicle charging electronic lock control program is stored, and when the vehicle charging electronic lock control program is executed by a processor, it implements the vehicle charging electronic lock control method as described above. Description of the Drawings
[0053] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.
[0054] Figure 1 It is a schematic structural diagram of a vehicle charging electronic lock control device in the hardware operating environment related to an embodiment of the present invention;
[0055] Figure 2 It is a schematic flowchart of an embodiment of a vehicle charging electronic lock control method proposed by an embodiment of the present invention;
[0056] Figure 3 It is a schematic overall flowchart of a vehicle charging electronic lock control method proposed by an embodiment of the present invention;
[0057] Figure 4 It is another schematic flowchart of an embodiment of a vehicle charging electronic lock control method proposed by an embodiment of the present invention;
[0058] Figure 5 It is another schematic flowchart of an embodiment of a vehicle charging electronic lock control method proposed by an embodiment of the present invention;
[0059] Figure 6 It is a schematic structural diagram of an embodiment of a vehicle charging electronic lock control device proposed by an embodiment of the present invention.
[0060] The realization of the object of the present invention, functional features and advantages will be further described with reference to the embodiments and the accompanying drawings. Detailed Embodiments
[0061] The following will describe in detail the embodiments of the technical solutions of the present invention with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, so they are only examples and cannot be used to limit the protection scope of the present invention.
[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above drawings are intended to cover non-exclusive inclusion.
[0063] In the description of the embodiments of the present invention, technical terms such as "first" and "second" are only used to distinguish different objects, and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity, specific order, or primary-secondary relationship of the indicated technical features. In the description of the embodiments of the present invention, the meaning of "a plurality of" is more than two, unless otherwise specifically defined.
[0064] Reference to "embodiments" in this document means that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0065] In the description of the embodiments of the present invention, the term "and / or" is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after.
[0066] In the description of the embodiments of the present invention, the term "a plurality of" refers to more than two (including two). Similarly, "a plurality of groups" refers to more than two groups (including two groups), and "a plurality of pieces" refers to more than two pieces (including two pieces).
[0067] In the description of the embodiments of the present invention, the orientation or positional relationship indicated by technical terms such as "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as a limitation on the embodiments of the present invention.
[0068] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, technical terms such as "installation", "connection", "connection", "fixation", etc. should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can also be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and can be the communication inside two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0069] Currently, when controlling the charging electronic lock of an electric vehicle, during the vehicle charging process, the usage status of the vehicle is detected in real time. When it is detected that the vehicle is in use, the charging power is restricted, and at the same time, the charging electronic lock is unlocked; when it is detected that the vehicle is not in use, the vehicle is controlled to charge at full power, and at the same time, the charging electronic lock is controlled to lock. However, the above method can only control the electronic lock through the status of the vehicle key. If the user does not use or forgets to lock the vehicle with the key after inserting the charging gun, the electronic lock cannot be locked and the vehicle cannot be charged at full power, resulting in inaccurate and incomplete control of the vehicle electronic lock.
[0070] To solve the above defects, the inventive concept of this application is as follows:
[0071] During the AC charging process of the vehicle, the charging electronic lock of the vehicle is driven to unlock through the door status or the user's unlocking instruction for the vehicle, and the electronic lock is further controlled according to the operation status of the electronic lock. There is no need to perform a series of operations such as swiping the card on the charging pile to stop charging before the charging gun can be pulled out, optimizing the electronic lock control strategy, simplifying the gun-pulling process during charging, improving the convenience of pulling out the gun, and enhancing the user experience.
[0072] Based on the above considerations, to solve the problem of inaccurate control of the vehicle electronic lock, after in-depth research, a vehicle charging electronic lock control method, device, equipment, and storage medium are proposed, which are applicable to various scenarios of electric vehicle charging, such as specific application scenarios like charging at a fast charging station or using a public charging station or home charging for an electric vehicle.
[0073] Please refer to Figure 1 , Figure 1 which is a schematic structural diagram of a vehicle charging electronic lock control device in the hardware operating environment involved in an embodiment of this application.
[0074] As Figure 1As shown in the figure, the vehicle charging electronic lock control device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0075] Those skilled in the art can understand that Figure 1 the structure shown in
[0076] does not constitute a limitation on the vehicle charging electronic lock control device, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Figure 1 As shown in
[0077] the memory 1005, as a storage medium, may include an operating system, a network communication module, a user interface module, and a vehicle charging electronic lock control program. Figure 1 In the vehicle charging electronic lock control device shown in
[0078] the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the vehicle charging electronic lock control device of the present invention may be provided in the vehicle charging electronic lock control device. The vehicle charging electronic lock control device calls the vehicle charging electronic lock control program stored in the memory 1005 through the processor 1001 and executes the vehicle charging electronic lock control method provided by the embodiments of the present invention.
[0079] To illustrate the technical solution of the present application, specific embodiments will be used for illustration below.
[0080] In some embodiments of the present invention, referring to Figure 2 , an embodiment of the present invention provides a vehicle charging electronic lock control method, which may include:
[0081] Step S10: When an unlocking instruction is received while the vehicle is in a charging state, unlock the electronic lock for vehicle charging based on the vehicle charging electronic lock control unlocking instruction.
[0082] It should be understood that when the vehicle is in a charging state, that is, the charging gun is inserted into the vehicle's charging interface and the vehicle meets the charging conditions for AC charging.
[0083] When the vehicle is in a charging state, the electronic lock of the charging gun is in a locked state, thereby reducing the risk of the charging gun being stolen and improving the anti-theft performance.
[0084] It should be noted that the unlocking instruction is an instruction for the user to unlock the vehicle. The user can unlock the vehicle by operating the vehicle, the remote control key or the mobile terminal. For example, when the user unlocks the vehicle with the remote control key, the vehicle charging electronic lock control device receives the unlocking instruction, and thus unlocks the electronic lock for vehicle charging, that is, unlocks the electronic lock that locks the charging gun. At this time, the charging gun can be directly pulled out.
[0085] Step S20: Detect the status information of the charging gun.
[0086] It can be understood that the status information of the charging gun can be the operation information of the user on the charging gun.
[0087] Exemplarily, the status information of the charging gun can be that the user pulls out the charging gun or the user does not pull out the charging gun, which can be detected by a sensor installed on the charging interface or on the charging gun.
[0088] Step S30: Control the electronic lock according to the status information.
[0089] It should be noted that the electronic lock can be correspondingly controlled according to different status information.
[0090] Exemplarily, if the status information is that the user pulls out the charging gun, there is no need to continue controlling the electronic lock, and the charging of the vehicle is ended.
[0091] Exemplarily, if the status information is that the user does not pull out the charging gun, the electronic lock can be continuously controlled to be locked.
[0092] As Figure 3 shown, Figure 3It is a schematic diagram of the overall process of the vehicle charging electronic lock control method. After the BMS (Battery Management System) is powered on, if it detects that the AC charging gun is inserted, it checks whether the vehicle meets the charging conditions. If the vehicle meets the charging conditions, it charges the vehicle with the charging request current and locks the electronic lock of the charging gun. When the vehicle is in the normal charging state, if the user opens the door or unlocks the vehicle by operating the mobile terminal, it reduces the charging gun request current of the vehicle to the preset charging current and unlocks the electronic lock. At this time, it detects the status information of the charging gun. If the charging gun is pulled out, the charging ends. If the charging gun is not pulled out after waiting for 30s, it controls the electronic lock to lock. If the normal charging ends, it controls the electronic lock to lock, and the BMS powers off and enters the sleep state.
[0093] In this embodiment, when an unlock instruction is received while the vehicle is in the charging state, the electronic lock for vehicle charging is unlocked based on the vehicle charging electronic lock control unlock instruction; the status information of the electronic lock is detected; and the electronic lock is controlled according to the status information. Unlocking the electronic lock for vehicle charging through the received unlock instruction can effectively control the unlocking of the electronic lock according to the user's needs, and further control the electronic lock according to the status information of the electronic lock, ensuring the reliability of charging and the convenience of operation.
[0094] In some embodiments, the unlock instruction can be obtained in different ways. The electronic lock for vehicle charging can be unlocked according to the received unlock instruction. Refer to Figure 4 , step S10 specifically includes:
[0095] S101: When the vehicle is in the charging state, detect the door state of the vehicle.
[0096] It should be noted that when the vehicle is in the charging state, the door state of the vehicle can be detected in real time to determine whether the vehicle is unlocked and whether the user has the need to use the vehicle.
[0097] S102: When it is detected that the door state is the door being open, it is determined that the unlock instruction is received.
[0098] It can be understood that the user can unlock the vehicle by operating the door, such as opening the door with the car key or unlocking and opening the door through the button on the door.
[0099] In a specific implementation, the door state can be detected by installing an angle sensor on the door. When the door state is the door being open, it is determined that the unlock instruction of the vehicle is received.
[0100] S103: Unlock the electronic lock for vehicle charging based on the unlock instruction.
[0101] It should be noted that after receiving the unlocking instruction, for the convenience of the user's usage requirements, the electronic lock for charging the vehicle can be unlocked according to the vehicle's unlocking instruction, that is, the state of the charging gun is changed from the locked state to the unlocked state.
[0102] In the technical solution of the embodiment of the present application, by detecting the door state of the vehicle, when the door is opened, it is determined that the unlocking instruction for the vehicle is received, and the electronic lock for charging the vehicle is quickly unlocked, without having to perform a series of operations such as swiping a card on the charging pile to stop charging before the charging gun can be pulled out, which improves the convenience of the user pulling out the charging gun.
[0103] In some embodiments, the unlocking instruction can also be generated by the user operating on the mobile terminal, and the electronic lock for charging the vehicle can be unlocked according to the received unlocking instruction. Refer to Figure 5 , step S10 specifically includes:
[0104] Step S101': When the vehicle is in the charging state, detect the vehicle state of the vehicle.
[0105] It should be noted that when the vehicle is in the charging state, the vehicle state of the vehicle can be detected in real time, so as to determine whether the vehicle is unlocked and whether the user has the need to use the vehicle.
[0106] It should be understood that the vehicle state can be the vehicle being unlocked or the vehicle being locked.
[0107] In a specific implementation, the user can unlock the vehicle by remote control key or remote operation on the mobile terminal.
[0108] Step S102': When it is detected that the vehicle state is the vehicle being unlocked, it is determined that the unlocking instruction is received.
[0109] It should be noted that if it is detected that the vehicle state is the vehicle being unlocked, it is determined that the unlocking instruction is received.
[0110] Step S103': Unlock the electronic lock for charging the vehicle based on the unlocking instruction.
[0111] It can be understood that after receiving the unlocking instruction, for the convenience of the user's usage requirements, the electronic lock for charging the vehicle can be unlocked according to the vehicle's unlocking instruction, that is, the state of the charging gun is changed from the locked state to the unlocked state.
[0112] In the technical solution of the embodiment of the present application, by detecting the vehicle state, when the vehicle is unlocked, the electronic lock for charging the vehicle is unlocked according to the unlocking instruction, without having to perform a series of operations such as swiping a card on the charging pile to stop charging before the charging gun can be pulled out, which improves the convenience of the user pulling out the charging gun.
[0113] In some embodiments, when it is necessary to unlock the electronic lock of the charging gun, to ensure the safety of the user when picking up the charging gun, the charging current needs to be reduced to a safe current. Therefore, the steps of unlocking the electronic lock of the vehicle charging based on the unlocking instruction specifically include:
[0114] Generate a charging current reduction request based on the unlocking instruction;
[0115] Reduce the charging current of the vehicle to a preset charging current according to the charging current reduction request;
[0116] Drive the unlocking of the electronic lock of the vehicle charging.
[0117] It should be noted that to ensure the safety of the user, a charging current reduction request can be generated first according to the unlocking instruction. The charging current reduction request is a request related to reducing the current charging current of the vehicle.
[0118] In specific implementation, the charging current of the vehicle can be reduced to a preset charging current according to the charging current reduction request. The preset charging current is the safe current when the user picks up the charging gun. The preset charging current can be set to 16A, 20A, etc. This embodiment does not limit this, and this embodiment takes 16A as an example for illustration.
[0119] In specific implementation, after reducing the charging current of the vehicle to the preset charging current, the electronic lock of the vehicle charging gun can be driven to unlock, so as to facilitate the user to pick up the charging gun, simplify the gun-pulling process during charging, improve the convenience of gun-pulling, and improve the user experience.
[0120] In the technical solution of the embodiment of the present application, when it is necessary to unlock the electronic lock, the current charging current is reduced to the preset charging current, and then the electronic lock of the vehicle charging is driven to unlock, so as to ensure the safety of the user during the charging process.
[0121] In some embodiments, since the user's operations on the charging gun are different and the status information of the charging gun is also different, the electronic lock can be further controlled according to the status information of the charging gun. Then step S30 specifically includes:
[0122] Step S301: When the status information is that the charging gun for vehicle charging has not been pulled out, control the electronic lock of the charging gun to lock.
[0123] It should be noted that if the status information of the charging gun is that the charging gun for vehicle charging has not been pulled out, it proves that the user has no need to use the vehicle at this time and needs to continue charging the vehicle. Therefore, the electronic lock of the charging gun can be controlled to lock.
[0124] In the technical solution of the embodiment of the present application, if the status information is that the charging gun for vehicle charging has not been pulled out, the electronic lock of the charging gun is continuously controlled to lock to improve the anti-theft performance of the charging gun.
[0125] Further, after the electronic lock of the charging gun is unlocked and the charging current is reduced to a preset current, to improve the charging efficiency of the vehicle, step S301 specifically includes:
[0126] Obtain the waiting time after the electronic lock is unlocked;
[0127] When the waiting time is greater than a preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, control the electronic lock of the charging gun to lock;
[0128] Control the charging current of the vehicle to resume to the charging request current.
[0129] In a specific implementation, a preset time threshold can be set, such as 20s or 30s, to detect the waiting time after the electronic lock is unlocked. If the waiting time is greater than the preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, it means that the user has no need to use the vehicle. To improve the charging efficiency of the vehicle and ensure the safety of the charging gun, the electronic lock of the charging gun can be controlled to lock continuously, and the charging current of the vehicle can be resumed to the charging request current. The charging request current is the current for normal vehicle charging, such as 100A, so as to charge the vehicle quickly through the charging request current.
[0130] In the technical solution of the embodiment of the present application, by setting the waiting time after the electronic lock is unlocked, when the waiting time is greater than the preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, the charging request current can be restored, the electronic lock can be driven to lock, preventing the electronic lock from remaining unlocked and charging with a low current when the user has no intention of unplugging the gun, improving the charging efficiency and the security of the electronic lock.
[0131] In some embodiments, to improve the anti-theft performance of the charging gun, after the vehicle charging is completed, the electronic lock can also be kept locked. Therefore, after step S30, the method further includes:
[0132] When the vehicle is in a charging completed state, keep the locking state of the electronic lock.
[0133] It should be noted that if the vehicle charging is completed, in the current solution, the electronic lock of the charging gun is automatically unlocked after the vehicle charging is completed, which cannot play an anti-theft role. Therefore, in this embodiment, if the vehicle charging is completed, the locking state of the electronic lock is continued until the user unlocks the vehicle and then unlocks the electronic lock.
[0134] In the technical solution of the embodiment of the present application, after the vehicle charging is completed, the locking state of the electronic lock is kept to improve the anti-theft performance of the charging gun.
[0135] In some embodiments, the method further includes:
[0136] Detect the working state of the vehicle charging system;
[0137] When the working state is the power-off sleep state, detect the status information of the charging gun;
[0138] When the status information indicates that the user has not unplugged the charging gun of the vehicle, control the electronic lock of the charging gun to lock.
[0139] It should be noted that the working state of the vehicle charging system can be the power-on state and the power-off sleep state. The vehicle charging system is the BMS system. When the vehicle is ready to charge, the BMS powers on first to manage the charging of the battery. After the vehicle charging is completed, the BMS powers off and enters the sleep state.
[0140] In a specific implementation, if the working state of the vehicle charging system is the power-off sleep state, it can be detected whether the user operates the charging gun. If the user has not unplugged the charging gun, to ensure the safety of the charging gun, the electronic lock of the charging gun is controlled to lock. Before the BMS is ready to power off and enter the sleep state after the charging is completed, if the gun has still not been unplugged, the electronic lock is driven to lock, reducing the risk of the charging gun being stolen and improving the anti-theft performance.
[0141] In the technical solution of the embodiment of the present application, by detecting the working state of the vehicle charging system, when the working state is the power-off sleep state, it proves that the charging is completed at this time. At this time, by detecting the status information of the electronic lock, it is detected whether the user performs relevant operations on the charging gun. If the user has not unplugged the charging gun of the vehicle, the electronic lock of the charging gun is controlled to remain in the locked state, improving the anti-theft performance of the charging gun.
[0142] In some embodiments, when an unlock instruction is received while the vehicle is in the charging state, before unlocking the electronic lock for vehicle charging based on the unlock instruction, it further includes:
[0143] When the vehicle charging system powers on, detect the charging interface information;
[0144] When it is detected that the charging interface information indicates that the charging gun is inserted, determine whether the vehicle meets the charging conditions;
[0145] When the vehicle meets the charging conditions, control the electronic lock of the charging gun to lock and obtain the charging request current of the vehicle;
[0146] Charge the vehicle with the charging request current.
[0147] It should be understood that when the vehicle needs to be charged, control the vehicle charging system to power on first and detect the vehicle charging interface information.
[0148] The charging interface information can be that the charging gun is inserted into the charging interface or the charging gun is not inserted into the charging interface. The charging interface of the vehicle can be continuously detected to determine whether a charging gun is inserted.
[0149] In a specific implementation, when it is detected that the charging interface information indicates that the charging gun is inserted, it can be determined whether the vehicle meets the charging conditions. The vehicle meeting the charging conditions can mean that the charging gun is fully connected to the vehicle's charging interface, there is no fault in the internal self-check of the BMS system, and the charging pile gives a signal indicating that charging is possible. Thus, when the vehicle meets the charging conditions, the electronic lock of the charging gun is controlled to lock, and the charging request current of the vehicle is obtained, and the vehicle is charged through the charging request current.
[0150] In the technical solution of the embodiment of the present application, when the vehicle charging system is powered on, the charging interface information can be detected to determine whether the vehicle meets the charging conditions. When the vehicle meets the charging conditions, the electronic lock of the charging gun is controlled to lock and the vehicle is charged through the charging request current, ensuring the reliability of vehicle charging and the security of the electronic lock.
[0151] To achieve the above object, an embodiment of the present invention also proposes a vehicle charging electronic lock control device. Figure 6 FIG. shows a structural diagram of an embodiment of the vehicle charging electronic lock control device provided by the embodiment of the present application. The vehicle charging electronic lock control device includes:
[0152] A receiving module 10, configured to unlock the electronic lock for vehicle charging based on an unlock instruction when an unlock instruction is received while the vehicle is in a charging state.
[0153] A detection module 20, configured to detect the status information of the charging gun.
[0154] A control module 30, configured to control the electronic lock according to the status information.
[0155] In this embodiment, the receiving module is configured to unlock the electronic lock for vehicle charging based on an unlock instruction when an unlock instruction is received while the vehicle is in a charging state; the detection module is configured to detect the status information of the charging gun; the control module is configured to control the electronic lock according to the status information; unlocking the electronic lock for vehicle charging through the received unlock instruction can effectively control the unlocking of the electronic lock according to the user's needs, and further control the electronic lock according to the status information of the electronic lock, ensuring the reliability of charging and the convenience of operation.
[0156] In an embodiment, the receiving module 10 is further configured to detect the door status of the vehicle while the vehicle is in a charging state; when it is detected that the door status is that the door is open, it is determined that an unlock instruction is received; and the electronic lock for vehicle charging is unlocked based on the unlock instruction.
[0157] In one embodiment, the receiving module 10 is further configured to detect the vehicle status when the vehicle is in a charging state; when the detected vehicle status is that the vehicle is unlocked, determine that an unlocking instruction is received; and unlock the electronic lock for charging the vehicle based on the unlocking instruction.
[0158] In one embodiment, the receiving module 10 is further configured to generate a charging current reduction request based on the unlocking instruction; reduce the charging current of the vehicle to a preset charging current according to the charging current reduction request; and drive the unlocking of the electronic lock for charging the vehicle.
[0159] In one embodiment, the control module 30 is further configured to lock the electronic lock of the charging gun when the status information indicates that the charging gun for vehicle charging has not been unplugged.
[0160] In one embodiment, the control module 30 is further configured to obtain the waiting time after the electronic lock is unlocked; when the waiting time is greater than a preset time threshold and the status information indicates that the charging gun for vehicle charging has not been unplugged, lock the electronic lock of the charging gun; and control the charging current of the vehicle to resume to the charging request current.
[0161] In one embodiment, the control module 30 is further configured to maintain the locked state of the electronic lock when the vehicle is in a charging completed state.
[0162] In one embodiment, the control module 30 is further configured to detect the working state of the vehicle charging system; when the working state is a power-off and sleep state, detect the status information of the charging gun; and when the status information indicates that the user has not unplugged the charging gun for vehicle charging, lock the electronic lock of the charging gun.
[0163] In one embodiment, the receiving module 10 is further configured to detect the charging interface information when the vehicle charging system is powered on; when the detected charging interface information indicates that the charging gun is inserted, determine whether the vehicle meets the charging conditions; when the vehicle meets the charging conditions, lock the electronic lock of the charging gun and obtain the charging request current of the vehicle; and charge the vehicle with the charging request current.
[0164] To achieve the above object, an embodiment of the present invention further provides a storage medium, on which a vehicle charging electronic lock control program is stored. When the vehicle charging electronic lock control program is executed by a processor, the steps of the vehicle charging electronic lock control method as described above are implemented.
[0165] Since this storage medium adopts all the technical solutions of the above all embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, and will not be described in detail herein one by one.
[0166] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.
Claims
1. A vehicle charging electronic lock control method, characterized in that, The vehicle charging electronic lock control method includes: When an unlock instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlock instruction; Detecting the status information of the charging gun; Controlling the electronic lock according to the status information.
2. The vehicle charging electronic lock control method according to claim 1, wherein, The step of, when an unlock instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlock instruction includes: When the vehicle is in a charging state, detecting the door state of the vehicle; When it is detected that the door state is that the door is open, determining that an unlock instruction has been received; Unlocking the electronic lock for vehicle charging based on the unlock instruction.
3. The vehicle charging electronic lock control method according to claim 1, characterized in that, The step of, when an unlock instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlock instruction includes: When the vehicle is in a charging state, detecting the vehicle state of the vehicle; When it is detected that the vehicle state is that the vehicle is unlocked, determining that an unlock instruction has been received; Unlocking the electronic lock for vehicle charging based on the unlock instruction.
4. The vehicle charging electronic lock control method according to claim 2 or 3, characterized in that, The step of unlocking the electronic lock for vehicle charging based on the unlock instruction includes: Generating a charging current reduction request based on the unlock instruction; Reducing the charging current of the vehicle to a preset charging current according to the charging current reduction request; Driving the unlocking of the electronic lock for vehicle charging.
5. The vehicle charging electronic lock control method according to claim 1, wherein, The step of controlling the electronic lock according to the status information includes: When the status information is that the charging gun for vehicle charging has not been unplugged, controlling the electronic lock of the charging gun to be locked.
6. The vehicle charging electronic lock control method according to claim 5, wherein, The step of, when the status information is that the charging gun for vehicle charging has not been unplugged, controlling the electronic lock of the charging gun to be locked includes: Obtaining the waiting time after the electronic lock is unlocked; When the waiting time is greater than a preset time threshold and the status information is that the charging gun for vehicle charging has not been unplugged, controlling the electronic lock of the charging gun to be locked; Controlling the charging current of the vehicle to resume to the charging request current.
7. The vehicle charging electronic lock control method according to any one of claims 1 to 6, characterized in that, The method further includes: When the vehicle is in a charging completed state, maintaining the locked state of the electronic lock.
8. The vehicle charging electronic lock control method according to any one of claims 1 to 7, characterized in that, The method further includes: Detecting the working state of the vehicle charging system; When the working state is a power-down sleep state, detecting the status information of the charging gun; When the status information is that the user has not unplugged the charging gun for vehicle charging, controlling the electronic lock of the charging gun to be locked.
9. The vehicle charging electronic lock control method according to any one of claims 1 to 7, characterized in that, Before the step of, when an unlock instruction is received while the vehicle is in a charging state, unlocking the electronic lock for vehicle charging based on the unlock instruction, the method further includes: When the vehicle charging system is powered on, detecting the charging interface information; When it is detected that the charging interface information is that the charging gun is inserted, determining whether the vehicle meets the charging conditions; When the vehicle meets the charging conditions, controlling the electronic lock of the charging gun to be locked and obtaining the charging request current of the vehicle; Charging the vehicle with the charging request current.
10. A vehicle charging electronic lock control device, characterized in that, The vehicle charging electronic lock control device includes: A receiving module, configured to unlock the electronic lock for vehicle charging based on the unlock instruction when an unlock instruction is received while the vehicle is in a charging state; A detecting module, configured to detect the status information of the charging gun; A control module, configured to control the electronic lock according to the status information.
11. A vehicle charging electronic lock control device, characterized in that, The vehicle charging electronic lock control device includes: a memory, a processor, and a vehicle charging electronic lock control program stored on the memory and executable on the processor, the vehicle charging electronic lock control program being configured to implement the vehicle charging electronic lock control method according to any one of claims 1 to 9.
12. A storage medium, characterized in that, A vehicle charging electronic lock control program is stored on the storage medium, and when the vehicle charging electronic lock control program is executed by a processor, it implements the vehicle charging electronic lock control method according to any one of claims 1 to 9.