Charging gun electronic lock control method, storage medium and electronic equipment

By detecting the door locking status and obtaining vehicle power outage information, determining the travel temperature and controlling the charging gun electronic lock, the problem that the charging gun electronic lock cannot automatically determine whether it is locked is achieved, and automatic control is realized when the battery is heated to ensure that the vehicle travels normally in an appropriate state.

CN119858461APending Publication Date: 2025-04-22DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510178213.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

The existing charging gun electronic lock cannot automatically determine whether the vehicle needs to be locked when power is off, which leads to the inability to heat up the electric vehicle when traveling due to being pulled by others in extreme environments, resulting in the problem that the vehicle cannot travel normally.

Method used

By responding to the gun insertion signal, detecting the door locking status, obtaining vehicle power outage information, determining the travel temperature, and controlling the charging gun electronic lock based on the travel temperature to achieve automated control to ensure that the vehicle unlocks the charging gun in an appropriate state.

Benefits of technology

When making an appointment to heat the battery, determine whether it is automatically locked, avoiding the electric vehicle being unable to heat it when traveling due to being pulled by someone in extreme environments, so that the vehicle can travel normally, and give priority to ensuring the car owner's car experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119858461A_ABST
    Figure CN119858461A_ABST
Patent Text Reader

Abstract

The invention discloses a charging gun electronic lock control method, which comprises the following steps: responding to a gun insertion signal, detecting a vehicle door locking state, acquiring vehicle power-off information according to the vehicle door locking state, determining a travel temperature according to the vehicle power-off information, and finally controlling a charging gun electronic lock according to the travel temperature. When the charging gun is inserted and the vehicle door is locked, namely the moment before the vehicle is powered off, the power-off information of the vehicle is preferentially acquired, the travel temperature is determined according to the power-off information of the vehicle, and then the electronic lock of the charging gun is controlled according to the travel temperature, so that whether automatic locking is performed or not can be judged when the battery is reserved to heat; the problem that the electric vehicle cannot be heated when going out due to the fact that the gun is pulled out by other people in an extreme environment, and the vehicle cannot normally go out is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field related to new energy vehicles, and in particular to a control method, storage medium and electronic device for an electronic lock of a charging gun. Background Art

[0002] In the winter charging design of new energy vehicles, if the battery cell temperature is too low before traveling, the vehicle cannot start normally. At this time, it is necessary to use the charging pile to heat the vehicle battery in advance so that the vehicle can set off immediately when traveling. If the charging gun is unplugged when heating or preparing to heat, the vehicle battery cannot be heated by the charging pile, resulting in the vehicle being unable to travel normally. However, if the vehicle does not need to be heated, locking the charging gun will prevent other users from using the charging pile. Therefore, it is necessary to provide a control method, storage medium and electronic device for a charging gun electronic lock that can determine whether to automatically lock when the battery is scheduled to be heated. Summary of the invention

[0003] The purpose of this application is to overcome the problem in the prior art that the electronic lock of the charging gun cannot automatically determine whether it needs to be locked when the vehicle is powered off, and to provide a control method, storage medium and electronic device for the electronic lock of the charging gun.

[0004] The technical solution of the present application provides a control method for a charging gun electronic lock, including:

[0005] In response to the gun insertion signal, detecting the door lock state, and if the door lock state is closed, obtaining vehicle power-off information;

[0006] determining a travel temperature according to the vehicle power-off information;

[0007] The charging gun electronic lock is controlled according to the travel temperature.

[0008] Furthermore, the vehicle power-off information includes power-off time, travel time and power-off battery cell temperature;

[0009] The determining of the travel temperature according to the vehicle power-off information specifically includes:

[0010] determining a standstill time according to the power outage time and the travel time;

[0011] determining a minimum ambient temperature based on the standing time;

[0012] The travel temperature is determined according to the minimum ambient temperature, the rest time and the power-off battery cell temperature.

[0013] Further, determining the travel temperature according to the minimum ambient temperature, the standstill time and the power-off battery cell temperature specifically includes:

[0014] Get cooling rate table;

[0015] Determining a cell cooling rate according to the minimum ambient temperature and the cooling rate table;

[0016] Determining the drop temperature according to the battery core cooling rate and the standing time;

[0017] A travel temperature is determined according to the power-off cell temperature and the drop temperature.

[0018] Further, the step of determining the drop temperature according to the battery core cooling rate and the standing time specifically includes:

[0019] Determine the drop temperature according to the following formula:

[0020] Δy=a n ×ΔX

[0021] Wherein, Δy is the drop temperature, a n is the cell cooling rate, and ΔX is the standing time.

[0022] Furthermore, the vehicle power-off information includes power-off time and travel time;

[0023] The determining the travel temperature according to the vehicle power-off information includes:

[0024] Detecting the air conditioning reservation state, and if the air conditioning reservation state is on, determining the idle time according to the power off time and the travel time;

[0025] determining a minimum ambient temperature based on the standing time;

[0026] If the lowest ambient temperature is lower than the first preset temperature, the charging gun electronic lock is controlled to be locked, and the process ends;

[0027] If the minimum ambient temperature is greater than / equal to the first preset temperature, the charging gun electronic lock is controlled to unlock, and the process ends;

[0028] If the air conditioning reservation state is off, the travel temperature is determined according to the vehicle power-off information.

[0029] Furthermore, before obtaining the vehicle power-off information, the process includes:

[0030] Detecting the charging state, if the charging state is charging, taking the time when charging is completed as the power-off time, and the battery cell temperature after charging is completed as the power-off battery cell temperature;

[0031] If the charging state is not charged, the charging reservation state is detected. If the charging reservation state is reserved, the time when the scheduled charging ends is used as the power-off time, and the battery cell temperature after the scheduled charging ends is used as the power-off battery cell temperature.

[0032] Furthermore, after determining the minimum ambient temperature according to the standing time, the method further includes:

[0033] Determining the maximum ambient temperature based on the standing time;

[0034] determining a temperature difference according to the minimum ambient temperature and the maximum ambient temperature;

[0035] If the temperature difference is greater than a first preset value, the charging gun electronic lock is controlled to be locked, and the vehicle wake-up time point is determined according to the static time;

[0036] The minimum ambient temperature, the stationary time, and the power-off battery cell temperature are reconfirmed at the vehicle wake-up time point.

[0037] Further, controlling the charging gun electronic lock according to the travel temperature specifically includes:

[0038] If the travel temperature is lower than the preset battery core temperature, controlling the charging gun electronic lock to lock;

[0039] If the travel temperature is greater than / equal to the preset battery core temperature, the charging gun electronic lock is controlled to unlock.

[0040] The technical solution of the present application also provides a storage medium, which stores computer instructions. When a computer executes the computer instructions, it is used to execute the control method of a charging gun electronic lock as described above.

[0041] The technical solution of the present application also provides an electronic device, comprising at least one processor; and

[0042] a memory communicatively connected to the at least one processor; wherein,

[0043] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the charging gun electronic lock as described above.

[0044] The technical solution of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a control method for a charging gun electronic lock as described above.

[0045] After adopting the above technical solution, the following beneficial effects are achieved:

[0046] The present application provides a control method for a charging gun electronic lock, which responds to a gun plugging signal, detects the door locking state, obtains the vehicle power-off information according to the door locking state, determines the travel temperature according to the vehicle power-off information, and finally controls the charging gun electronic lock according to the travel temperature. By detecting the door locking state, it is ensured that when the charging gun is plugged in and the door is locked, that is, before the vehicle is powered off, the vehicle power-off information is obtained first, and the travel temperature is determined according to the vehicle power-off information. The charging gun electronic lock is controlled according to the travel temperature. It can determine whether to automatically lock when the battery is scheduled to be heated, thereby avoiding the problem that the electric vehicle cannot be heated when traveling due to the gun being pulled out by others in extreme environments, making the vehicle unable to travel normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. In the drawings:

[0048] Figure 1 This is a flowchart of a control method for a charging gun electronic lock in one embodiment of the present application;

[0049] Figure 2 This is a flowchart of a control method for a charging gun electronic lock in one of the embodiments of the present application;

[0050] Figure 3 is a flowchart of a control method for a charging gun electronic lock in another embodiment of the present application;

[0051] Figure 4 This is a flowchart of a control method for a charging gun electronic lock in one of the preferred embodiments of the present application;

[0052] Figure 5 This is a flowchart of a control method for a charging gun electronic lock in another preferred embodiment of the present application;

[0053] Figure 6 It is a schematic diagram of the hardware structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION

[0054] The specific implementation of the present application is further described below with reference to the accompanying drawings.

[0055] It is easy to understand that according to the technical solution of the present application, without changing the essential spirit of the present application, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present application, and should not be regarded as the entirety of the present application or as a limitation or restriction on the technical solution of the application.

[0056] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to their different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0057] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above-mentioned in this application can be understood according to the specific circumstances.

[0058] As shown in the figure, a working flow chart of a control method of a charging gun electronic lock in an embodiment of the present application includes:

[0059] Step S101: In response to a gun insertion signal, detecting a door locking state;

[0060] Step S102: If the door lock state is closed, then obtain vehicle power-off information;

[0061] Step S103: determining the travel temperature according to the vehicle power-off information;

[0062] Step S104: Control the electronic lock of the charging gun according to the travel temperature.

[0063] Specifically, in step S101, if a gun insertion signal is received, the door lock state is detected, and the next step is judged according to the door lock state. If the door lock state is open at this time, it means that the owner has not left the vehicle. At this time, the owner may just be resting in the car while charging. There is no need to schedule the heating function for the vehicle to travel, nor is there any need to perform subsequent steps.

[0064] In step S102, if it is detected that the door lock state is closed, the vehicle power-off information is obtained, wherein the vehicle power-off information includes the power-off time, travel time and power-off battery cell temperature. The power-off time is the time when the vehicle is about to be powered off, and the travel time is the time when the owner is preparing to travel. It can be the time the owner has reserved in the car computer in advance, or it can be the time the owner has reserved in the app, and the power-off battery cell temperature is the battery cell temperature when the vehicle is about to be powered off. These three data can be used to determine whether the vehicle needs scheduled heating in subsequent judgments. If necessary, the charging gun electronic lock is locked. If scheduled heating is not required, the charging gun electronic lock can be unlocked so that others can also charge with the charging pile.

[0065] The reason why the charging gun electronic lock needs to be locked is that when the preset heating function is turned on, the charging gun can directly heat the battery cell of the electric vehicle, raising its temperature to a temperature range suitable for normal travel, which is usually above -20°C.

[0066] In step S103, the travel temperature is determined according to the vehicle power-off information, that is, the travel temperature is determined according to the acquired power-off time, travel time and power-off battery cell temperature. The travel temperature refers to the temperature of the battery cell during travel, which can also be understood as the travel battery cell temperature. The charging gun electronic lock can be controlled according to the travel battery cell temperature. The travel battery cell temperature here is a value calculated based on the vehicle power-off information, which is used to simulate the final value of the battery cell temperature under the influence of ambient temperature without scheduled heating.

[0067] In step S104, the charging gun electronic lock is controlled according to the travel temperature, that is, the charging gun electronic lock is controlled according to the travel battery cell temperature. The travel temperature is also the travel battery cell temperature, which can reflect the battery cell temperature of the vehicle when it travels at the scheduled travel time without scheduled heating. The travel temperature is used to determine whether the vehicle needs to schedule heating in advance if it wants to start at the travel time. If necessary, the charging gun electronic lock is locked; if not, the charging gun electronic lock is unlocked so that others can use the charging gun to charge. The travel temperature is determined by comprehensively judging the vehicle power-off information, and then the charging gun electronic lock is controlled according to the travel temperature. Automatic control can be achieved, and the owner does not need to worry about whether he can travel normally the next day. It ensures that the charging gun electronic lock is unlocked when the vehicle is in a suitable state, giving priority to the owner's car experience.

[0068] A control method for a charging gun electronic lock in an embodiment of the present application responds to a gun insertion signal, detects the door locking state, obtains the vehicle power-off information based on the door locking state, determines the travel temperature based on the vehicle power-off information, and finally controls the charging gun electronic lock based on the travel temperature. By detecting the door locking state, it is ensured that when the charging gun is plugged in and the door is locked, that is, before the vehicle is powered off, the vehicle power-off information is obtained first, and the travel temperature is determined based on the vehicle power-off information. The charging gun electronic lock is controlled based on the travel temperature. It can determine whether to automatically lock when the battery is scheduled to be heated, thereby avoiding the problem that the electric vehicle cannot be heated when traveling due to the gun being pulled out by others in extreme environments, making the vehicle unable to travel normally.

[0069] In one embodiment, the vehicle power-off information includes power-off time, travel time, and power-off battery cell temperature;

[0070] Determine the travel temperature based on the vehicle power-off information, including:

[0071] Determine the standstill time based on power outage time and travel time;

[0072] Determine the minimum ambient temperature based on the standing time;

[0073] Determine the travel temperature based on the minimum ambient temperature, standstill time, and power-off cell temperature.

[0074] In this embodiment, the vehicle power-off information includes the power-off time, the travel time and the power-off battery cell temperature. The stationary time can be determined based on the power-off time and the travel time. The stationary time is the period between the power-off time and the travel time. Subsequently, the ambient temperature during this period is determined based on the stationary time, and the lowest ambient temperature is taken as the minimum ambient temperature. The travel temperature is determined based on the minimum ambient temperature, the stationary time and the power-off battery cell temperature.

[0075] The reason why the lowest ambient temperature is used to calculate the travel temperature is that the lowest ambient temperature can reflect the most unfavorable temperature conditions of the vehicle during the period of plugging in and standing still, making the control strategy more conservative and preventing the neglect of the impact of extreme low temperatures in a short period of time. It can more comprehensively evaluate the impact of low temperatures on the battery, which helps to improve the stability and reliability of this control method.

[0076] In another embodiment, the travel temperature is determined according to the minimum ambient temperature, the standstill time, and the power-off battery cell temperature, specifically including:

[0077] Get cooling rate table;

[0078] Determine the cell cooling rate based on the minimum ambient temperature and cooling rate table;

[0079] Determine the drop temperature based on the cell cooling rate and rest time;

[0080] The travel temperature is determined based on the power-off cell temperature and the drop temperature.

[0081] In this embodiment, the cooling rate table is first obtained, and then the battery cell cooling rate is determined based on the minimum ambient temperature and the cooling rate table, and then the drop temperature is determined based on the battery cell cooling rate and the standing time, and finally the travel temperature is determined based on the power-off battery cell temperature and the drop temperature.

[0082] Specifically, the cooling rate table contains the cooling rates corresponding to different temperatures. The cooling rate of the battery cell that matches the lowest ambient temperature is obtained, and then the drop temperature is determined based on the standing time and the battery cell cooling rate. Finally, the travel temperature is determined based on the power-off battery cell temperature and the drop temperature. That is, the travel temperature is obtained by subtracting the drop temperature from the power-off battery cell temperature. In subsequent judgments, the electronic lock of the charging gun can be controlled based on the travel temperature.

[0083] By obtaining the corresponding cooling rate based on the minimum ambient temperature and combining it with the stationary time, the temperature drop of the battery cell under continuous minimum ambient temperature can be accurately calculated. The reason for using the minimum ambient temperature instead of the average ambient temperature is because the minimum ambient temperature can more accurately reflect the most severe environmental conditions faced by the battery during the stationary period, and can prevent the potential impact of extreme low temperatures on battery performance in advance. It is a redundant design that helps to more comprehensively protect battery safety and ensure that car owners travel on time. On the other hand, the battery cools down faster in extreme low temperature environments. If only the average ambient temperature is considered, the actual cooling rate may be underestimated, resulting in inaccurate calculation of the travel temperature, which makes it impossible for car owners to start the vehicle normally when traveling.

[0084] Different types of batteries and different vehicles use different cooling rate tables. This is because different types of batteries have different thermal characteristics, and different vehicles have different thermal management systems. Therefore, at the same ambient temperature, the cooling rate may be different. Using cooling rate tables designed for different vehicles and batteries can more accurately predict battery temperature changes and ensure the accuracy of this control method.

[0085] In one preferred embodiment, the drop temperature is determined according to the cooling rate and the standing time of the battery cell, specifically including:

[0086] Determine the drop temperature according to the following formula:

[0087] Δy=a n ×ΔX

[0088] Where Δy is the drop temperature, a n is the cell cooling rate and ΔX is the standing time.

[0089] In this preferred embodiment, the falling temperature can be determined based on the obtained battery cell cooling rate and standing time. The falling temperature is obtained by multiplying the battery cell cooling rate and the standing time. This is because at the same temperature, the battery cell cooling curve is linear. The greater the temperature difference between the current battery cell temperature and the temperature, the faster the rate. Conversely, the smaller the temperature difference between the current battery cell temperature and the temperature, the smaller the rate. In this embodiment, the linear product of the battery cell cooling rate and the standing time is used to obtain the falling temperature, which simplifies the calculation process and avoids complex nonlinear models. It not only improves the calculation efficiency but also does not lose accuracy. Moreover, within the same temperature, the linear calculation can accurately capture the changing trend of the battery temperature and effectively predict the cooling process, which is suitable for most battery management scenarios.

[0090] In one embodiment, the vehicle power-off information includes power-off time and travel time;

[0091] Determine travel temperature based on vehicle power-off information, including:

[0092] Check the air conditioning reservation status. If the air conditioning reservation status is on, determine the idle time according to the power off time and travel time;

[0093] Determine the minimum ambient temperature based on the standing time;

[0094] If the lowest ambient temperature is lower than the first preset temperature, the charging gun electronic lock is controlled to be locked and the process ends;

[0095] If the lowest ambient temperature is greater than / equal to the first preset temperature, the charging gun electronic lock is controlled to unlock and the process ends;

[0096] If the air conditioning reservation status is off, the travel temperature is determined based on the vehicle power-off information.

[0097] In this embodiment, before determining the travel temperature based on the vehicle power-off information, that is, after obtaining the vehicle power-off information, a judgment can also be made based on the vehicle power-off information, where the vehicle power-off information includes the power-off time and the travel time. The air-conditioning reservation status is first detected, and the air-conditioning reservation status refers to the reservation status of the air-conditioning and heater. If the air-conditioning reservation status is on, that is, the reservation status of the air-conditioning and heater is on, then the standing time is determined based on the power-off time and the travel time, and the lowest ambient temperature in the time period is obtained based on the standing time, and the lowest ambient temperature is compared with the first preset temperature.

[0098] If the air conditioning reservation status is on, the car air conditioning will continue to turn on the heating for a preset time before the travel time, so that the temperature in the car will rise. The temperature rise in the car will also affect the temperature of the battery cells to a certain extent, causing the temperature of the battery cells to rise accordingly.

[0099] If the minimum ambient temperature is lower than the first preset temperature, it means that at the minimum ambient temperature, the temperature of the battery cell is already at a low level. Even if the car's air conditioning is on, the temperature inside the car cannot drive the temperature of the battery cell to the preset cell temperature, which means that the vehicle cannot be started normally and travel. Therefore, the charging gun electronic lock needs to be locked at this time and the judgment is ended.

[0100] The judgment is ended at this time because under the current minimum ambient temperature, the air conditioning and heating cannot make the temperature of the battery cell return to the preset battery cell temperature range. Then, under the influence of this minimum ambient temperature, the subsequent travel temperature will certainly be lower than the preset battery cell temperature. Therefore, there is no need to make subsequent judgments. Directly lock the electronic lock of the charging gun and turn on the scheduled heating function of the battery cell, so that the owner can travel normally at travel time.

[0101] If the minimum ambient temperature is greater than / equal to the first preset temperature, it means that under the minimum ambient temperature, when the air conditioning preheating function in the car is turned on, the temperature of the battery cell will rise to within the preset battery cell temperature range. At this time, the owner can travel normally within the travel time period, so the electronic lock of the charging gun is unlocked, and other people can also use the charging gun for charging operations.

[0102] If the air conditioning reservation status is off, the travel temperature is determined based on the vehicle power-off information. This is because when the air conditioning preheating function is turned off, the car compartment cannot be preheated before traveling, and heat cannot be transferred into the battery cells. Therefore, it is necessary to continue to determine the travel temperature based on the vehicle power-off information.

[0103] This embodiment compares the minimum ambient temperature and the first preset temperature in combination with the air conditioning reservation status. The system can determine whether the battery cell is within a suitable temperature range when traveling, thereby deciding how to control the electronic lock of the charging gun. If the heater in the car is sufficient to heat up the battery cell, it not only increases the temperature of the car compartment to make it more comfortable, but also uses this heat energy to heat the battery cell so that it can start normally when traveling, thereby improving the overall energy efficiency and helping to optimize the vehicle's energy use strategy.

[0104] In another embodiment, before obtaining the vehicle power-off information, the process includes:

[0105] Detect the charging status. If the charging status is charging, the time when charging is completed is used as the power-off time, and the battery cell temperature after charging is completed is used as the power-off battery cell temperature;

[0106] If the charging status is not charged, the charging reservation status is detected. If the charging reservation status is reserved, the time when the scheduled charging ends is used as the power-off time, and the battery cell temperature after the scheduled charging ends is used as the power-off battery cell temperature.

[0107] In this embodiment, before obtaining the vehicle power-off information, that is, when the door lock state is detected to be closed, the charging state is detected. If the charging state is charging, the time when charging ends is used as the power-off time, and the battery cell temperature after charging ends is used as the power-off battery cell temperature. This is because the vehicle is still in a powered-on state during charging, and the battery cell temperature will rise during charging. The vehicle will be powered off after charging is completed. The battery cell temperature and time at this time are used as the power-off battery cell temperature and the power-off time, respectively, to ensure the accuracy of the vehicle power-off information, and to take the battery cell temperature change during charging into account, thereby avoiding the use of inaccurate temperature data to infer the travel temperature when the charging state is not ended, thereby improving the system safety and reliability.

[0108] If the charging status is not charged, the charging reservation status is detected. If the charging reservation status is reserved, the time when the scheduled charging ends is used as the power-off time, and the battery cell temperature after the scheduled charging ends is used as the power-off battery cell temperature, ensuring that the vehicle power-off information can be accurately obtained in the case of charging reservation, thereby improving the flexibility of charging management. In addition, since the charging electricity fee at night is cheaper, most car owners will choose to charge late at night. While meeting the needs of car owners, the vehicle power-off information obtained is also more accurate, providing accurate data for the subsequent acquisition of vehicle power-off information, thereby optimizing the car owner's charging experience.

[0109] In one preferred embodiment, after determining the minimum ambient temperature according to the standing time, the method further comprises:

[0110] Determine the maximum ambient temperature based on the standing time;

[0111] Determine the temperature difference based on the minimum ambient temperature and the maximum ambient temperature;

[0112] If the temperature difference is greater than the first preset value, the charging gun electronic lock is controlled to be locked, and the vehicle wake-up time is determined according to the static time;

[0113] Reconfirm the minimum ambient temperature, idle time and power-off battery cell temperature at the vehicle wake-up time.

[0114] In this preferred embodiment, after determining the minimum ambient temperature based on the standing time, that is, before determining the travel temperature based on the minimum ambient temperature, the standing time and the power-off battery cell temperature, it is also necessary to determine the maximum ambient temperature based on the standing time, and determine the temperature difference based on the minimum ambient temperature and the maximum ambient temperature, specifically, taking the difference between the maximum ambient temperature and the minimum ambient temperature as the temperature difference, and comparing the temperature difference with the first preset value.

[0115] If the temperature difference is greater than the first preset value, it means that the temperature difference during the static time is too large. In most cases, it manifests as a large temperature difference between morning and evening. At this time, judging only based on the minimum ambient temperature may not be accurate, so the charging gun electronic lock is controlled to lock, and the vehicle wake-up time point is determined according to the static time. The vehicle wake-up time point can be the center point of the static time period or the time point before the lowest ambient temperature.

[0116] After waking up the vehicle at the vehicle wake-up time point, the vehicle will reconfirm the minimum ambient temperature, the static time and the power-off battery cell temperature at this time, and confirm the travel temperature based on the reconfirmed minimum ambient temperature, static time and the power-off battery cell temperature, so as to ensure the accuracy of the travel temperature. Combined with the judgment of the temperature difference and the flexible wake-up strategy, this control method can dynamically adjust the state of the charging gun electronic lock according to changes in environmental conditions, provide more reliable travel protection for the vehicle, and ensure that the vehicle travels normally during the travel time period.

[0117] In one embodiment, controlling the electronic lock of the charging gun according to the travel temperature specifically includes:

[0118] If the travel temperature is lower than the preset battery cell temperature, the charging gun electronic lock is controlled to lock;

[0119] If the travel temperature is greater than / equal to the preset battery cell temperature, the charging gun electronic lock is controlled to unlock.

[0120] In this embodiment, the charging gun electronic lock is controlled according to the travel temperature, including comparing the travel temperature with the preset battery cell temperature. If the travel temperature is lower than the preset battery cell temperature, it means that in this environment, if the battery preheating function is not started, the battery cell temperature will be too low during the travel time period and cannot be started normally. At this time, the charging gun electronic lock is controlled to be locked, and the battery preheating function is turned on, so that the battery cell can be directly heated by the charging gun, and the charging gun will not be unplugged by others during the static time, ensuring that the vehicle can travel normally during the travel time period.

[0121] If the travel temperature is greater than / equal to the preset battery cell temperature, it means that in this environment, even if the battery preheating function is not started, the battery cell temperature will be greater than / equal to the preset battery cell temperature during the travel time period. That is to say, the vehicle can also be started normally at this time, and there is no need to start the battery preheating function. The charging gun electronic lock is controlled to unlock, so that others can also use the charging gun for charging. While ensuring the normal travel of the car owner, it also provides convenience to others and improves the user's car experience.

[0122] like Figure 2 As shown, a flow chart of a control method of a charging gun electronic lock in one embodiment of the present application includes:

[0123] S201: In response to the gun insertion signal, detecting the door locking state;

[0124] S202: If the door lock state is closed, obtaining vehicle power-off information;

[0125] S203: The vehicle power-off information includes power-off time, travel time and power-off battery cell temperature, and the standstill time is determined according to the power-off time and travel time;

[0126] S204: Determine the minimum ambient temperature according to the static time;

[0127] S205: Determine a travel temperature according to the minimum ambient temperature, the rest time, and the power-off battery cell temperature;

[0128] S206: Obtain cooling rate table;

[0129] S207: Determine a cell cooling rate according to the minimum ambient temperature and the cooling rate table;

[0130] S208: Determine a drop temperature according to the battery core cooling rate and the standing time;

[0131] S209: Determine a travel temperature according to the power-off battery cell temperature and the drop temperature;

[0132] S210A: If the travel temperature is lower than the preset battery cell temperature, control the charging gun electronic lock to be locked;

[0133] S210B: If the travel temperature is greater than / equal to the preset battery cell temperature, control the charging gun electronic lock to unlock.

[0134] like Figure 3 As shown, a flow chart of a control method of a charging gun electronic lock in another embodiment of the present application includes:

[0135] S301: In response to the gun insertion signal, detecting the door locking state;

[0136] S302: If the door lock state is closed, obtaining vehicle power-off information, the vehicle power-off information including power-off time, travel time, and detecting air conditioning reservation state;

[0137] S303A: If the air conditioning reservation state is on, determine the idle time according to the power off time and the travel time, and execute step S305A;

[0138] S303B: If the air conditioning reservation state is off, execute step S305B;

[0139] S304A: Determine the minimum ambient temperature according to the standing time;

[0140] S305A: If the lowest ambient temperature is lower than the first preset temperature, the charging gun electronic lock is controlled to be locked, and the determination ends;

[0141] S305C: If the lowest ambient temperature is greater than / equal to the first preset temperature, controlling the electronic lock of the charging gun to unlock, and ending the determination;

[0142] S303B: Determine a standstill time according to the power-off time and the travel time;

[0143] S304B: Determine the minimum ambient temperature according to the standing time;

[0144] S305B: Determine the travel temperature according to the minimum ambient temperature, the rest time, and the power-off battery cell temperature;

[0145] S306B: Obtain cooling rate table;

[0146] S307B: Determine a cell cooling rate according to the minimum ambient temperature and the cooling rate table;

[0147] S308B: Determine the drop temperature according to the battery core cooling rate and the standing time;

[0148] S309B: Determine a travel temperature according to the power-off battery cell temperature and the drop temperature;

[0149] S310B: If the travel temperature is lower than the preset battery core temperature, control the charging gun electronic lock to lock

[0150] S310D: If the travel temperature is greater than / equal to the preset battery cell temperature, control the charging gun electronic lock to unlock.

[0151] like Figure 4 As shown, a flow chart of a control method of a charging gun electronic lock in one of the preferred embodiments of the present application includes:

[0152] S401: In response to the gun insertion signal, detecting the door lock state, if the door lock state is closed, detecting the charging state, if the charging state is not charged, detecting the charging reservation state;

[0153] S402A: If the charging state is charging, the time when charging is completed is used as the power-off time, and the battery cell temperature after charging is completed is used as the power-off battery cell temperature;

[0154] S402B: If the charging reservation status is reserved, the time when the scheduled charging ends is used as the power-off time, and the battery cell temperature after the scheduled charging ends is used as the power-off battery cell temperature.

[0155] S402C: If the charging reservation status is not reserved, obtaining vehicle power-off information;

[0156] S403: The vehicle power-off information includes power-off time, travel time and power-off battery cell temperature, and the standstill time is determined according to the power-off time and travel time;

[0157] S404: Determine the minimum ambient temperature according to the standing time;

[0158] S405: Determine a travel temperature according to the minimum ambient temperature, the rest time, and the power-off battery cell temperature;

[0159] S406: Obtain cooling rate table;

[0160] S407: Determine a cell cooling rate according to the minimum ambient temperature and the cooling rate table;

[0161] S408: Determine a drop temperature according to the battery core cooling rate and the standing time;

[0162] S409: determining a travel temperature according to the power-off battery cell temperature and the drop temperature;

[0163] S410A: If the travel temperature is lower than the preset battery cell temperature, control the charging gun electronic lock to be locked;

[0164] S410B: If the travel temperature is greater than / equal to the preset battery cell temperature, control the charging gun electronic lock to unlock.

[0165] like Figure 5 As shown, a flow chart of a control method of a charging gun electronic lock in another preferred embodiment of the present application includes:

[0166] S501: In response to the gun insertion signal, detecting the door locking state;

[0167] S502: If the door lock state is closed, obtaining vehicle power-off information;

[0168] S503: The vehicle power-off information includes power-off time, travel time and power-off battery cell temperature, and the standstill time is determined according to the power-off time and travel time;

[0169] S504: Determine the minimum ambient temperature according to the static time;

[0170] S505: Determine the maximum ambient temperature according to the static time;

[0171] S506: Determine a temperature difference according to the minimum ambient temperature and the maximum ambient temperature;

[0172] S507: If the temperature difference is greater than a first preset value, the charging gun electronic lock is controlled to be locked, and a vehicle wake-up time point is determined according to the static time;

[0173] S508: reconfirming the minimum ambient temperature, the static time, and the power-off battery cell temperature at the vehicle wake-up time point;

[0174] S509: Determine a travel temperature according to the minimum ambient temperature, the rest time, and the power-off battery cell temperature;

[0175] S510: Obtain a cooling rate table;

[0176] S511: Determine a cell cooling rate according to the minimum ambient temperature and the cooling rate table;

[0177] S512: Determine a drop temperature according to the battery core cooling rate and the standing time;

[0178] S513: determining a travel temperature according to the power-off battery cell temperature and the drop temperature;

[0179] S514A: If the travel temperature is lower than the preset battery cell temperature, control the charging gun electronic lock to be locked;

[0180] S514B: If the travel temperature is greater than / equal to the preset battery cell temperature, control the charging gun electronic lock to unlock.

[0181] As needed, the above technical solutions can be combined to achieve the best technical effect.

[0182] The technical solution of the present application also provides a storage medium, which stores computer instructions. When a computer executes the computer instructions, it is used to execute a control method for a charging gun electronic lock in any of the aforementioned embodiments.

[0183] Figure 6 An electronic device of the present application is shown, comprising:

[0184] at least one processor 601; and,

[0185] A memory 602 is communicatively connected to the at least one processor 601; wherein,

[0186] The memory 602 stores instructions that can be executed by the at least one processor 601, and the instructions are executed by the at least one processor 601 so that the at least one processor 601 can execute all steps of a control method for a charging gun electronic lock in any of the aforementioned method embodiments.

[0187] Figure 6Take a processor 601 as an example:

[0188] The electronic device may further include: an input device 603 and an output device 604 .

[0189] The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.

[0190] The memory 602 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to a control method for a charging gun electronic lock in an embodiment of the present application, for example, Figure 1-5 The processor 601 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 602, that is, implements a control method for a charging gun electronic lock in the above embodiment.

[0191] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of a control method for a charging gun electronic lock, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to a device for executing a control method for a charging gun electronic lock via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0192] The input device 603 can receive input user clicks and generate signal inputs related to user settings and function control of the control method of the charging gun electronic lock. The output device 604 can include display devices such as display screens.

[0193] The one or more modules are stored in the memory 602 , and when executed by the one or more processors 601 , a method for controlling a charging gun electronic lock in any of the above method embodiments is executed.

[0194] The technical solution of the present application also provides a vehicle, which includes a vehicle body and the electronic device as described above installed on the vehicle body.

[0195] The above description is only the principle and preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this field, the implementation methods obtained by appropriately combining the technical solutions disclosed in different embodiments are also included in the technical scope of the present invention. On the basis of the principle of the present application, several other variations can be made, which should also be regarded as the protection scope of the present application.

Claims

1. A control method for a charging gun electronic lock, characterized in that: include: In response to the gun insertion signal, detecting the door lock state, and if the door lock state is closed, obtaining vehicle power-off information; determining a travel temperature according to the vehicle power-off information; The charging gun electronic lock is controlled according to the travel temperature.

2. A control method for a charging gun electronic lock according to claim 1, characterized in that: The vehicle power-off information includes power-off time, travel time and power-off battery cell temperature; The determining of the travel temperature according to the vehicle power-off information specifically includes: determining a standstill time according to the power outage time and the travel time; determining a minimum ambient temperature based on the standing time; The travel temperature is determined according to the minimum ambient temperature, the rest time and the power-off battery cell temperature.

3. A control method for a charging gun electronic lock according to claim 2, characterized in that: Determining the travel temperature according to the minimum ambient temperature, the standstill time and the power-off battery core temperature specifically includes: Get cooling rate table; Determining a cell cooling rate according to the minimum ambient temperature and the cooling rate table; Determining the drop temperature according to the battery core cooling rate and the standing time; A travel temperature is determined according to the power-off cell temperature and the drop temperature.

4. A control method for a charging gun electronic lock according to claim 3, characterized in that: The step of determining the drop temperature according to the battery core cooling rate and the standing time specifically includes: Determine the drop temperature according to the following formula: Δy=a n ×ΔX Wherein, Δy is the drop temperature, a n is the cell cooling rate, and ΔX is the standing time.

5. The control method of a charging gun electronic lock according to claim 1, characterized in that: The vehicle power-off information includes power-off time and travel time; The determining the travel temperature according to the vehicle power-off information includes: Detecting the air conditioning reservation state, and if the air conditioning reservation state is on, determining the idle time according to the power off time and the travel time; determining a minimum ambient temperature based on the standing time; If the lowest ambient temperature is lower than the first preset temperature, the charging gun electronic lock is controlled to be locked, and the process ends; If the minimum ambient temperature is greater than / equal to the first preset temperature, the charging gun electronic lock is controlled to unlock, and the process ends; If the air conditioning reservation state is off, the travel temperature is determined according to the vehicle power-off information.

6. A control method for a charging gun electronic lock according to claim 1, characterized in that: Before obtaining the vehicle power-off information, the following steps are included: Detecting the charging state, if the charging state is charging, taking the time when charging is completed as the power-off time, and the battery cell temperature after charging is completed as the power-off battery cell temperature; If the charging state is not charged, the charging reservation state is detected. If the charging reservation state is reserved, the time when the scheduled charging ends is used as the power-off time, and the battery cell temperature after the scheduled charging ends is used as the power-off battery cell temperature.

7. A control method for a charging gun electronic lock according to claim 2, characterized in that: After determining the minimum ambient temperature according to the standing time, the method further includes: Determining the maximum ambient temperature based on the standing time; determining a temperature difference according to the minimum ambient temperature and the maximum ambient temperature; If the temperature difference is greater than a first preset value, the charging gun electronic lock is controlled to be locked, and the vehicle wake-up time point is determined according to the static time; The minimum ambient temperature, the stationary time, and the power-off battery cell temperature are reconfirmed at the vehicle wake-up time point.

8. The control method of a charging gun electronic lock according to claim 1, characterized in that: The controlling the charging gun electronic lock according to the travel temperature specifically includes: If the travel temperature is lower than the preset battery core temperature, controlling the charging gun electronic lock to lock; If the travel temperature is greater than / equal to the preset battery core temperature, the charging gun electronic lock is controlled to unlock.

9. A storage medium, characterized in that: The storage medium stores computer instructions, and when a computer executes the computer instructions, it is used to execute a control method for a charging gun electronic lock as described in any one of claims 1-8.

10. An electronic device, characterized in that: comprising at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of a charging gun electronic lock as described in any one of claims 1-8.

11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by the processor, a control method for a charging gun electronic lock as described in any one of claims 1 to 8 is implemented.