A control method, control chip and device of a charging gun
Patent Information
- Application Number
- CN202410124742.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2044-01-29
AI Technical Summary
[0004]有鉴于此,本申请实施例提供了一种充电枪的控制方法、控制芯片及装置,旨在解决充电枪控制准确度较差的问题,提高充电枪上锁或解锁的成功率
[0042]本申请实施例提供了一种充电枪的控制方法、控制芯片及装置。当接收到对充电枪的控制指令后,根据控制指令所指示的充电枪的状态向充电枪发送控制信号,进而控制充电枪上锁或解锁,实现了对充电枪的控制。
Smart Images

Figure CN118061842B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and in particular to a method, control chip and device for controlling a charging gun. Background Technology
[0002] With the development of new energy technologies, the number of electric vehicles is increasing daily, and the safety and reliability of electric vehicle charging have received widespread attention. The charging gun lock between the electric vehicle and the charging gun is a key factor in ensuring a safe connection. Locking the charging gun securely connects the electric vehicle and the charging gun, preventing the charging gun from detaching or becoming loose during charging and thus avoiding potential dangers. Once charging is complete, the charging gun unlocks, allowing the user to easily disconnect it and finish charging.
[0003] However, the accuracy of controlling the charging gun in related technologies is poor, often resulting in the charging gun failing to lock or unlock properly, leading to safety hazards during electric vehicle charging. Furthermore, users may be unable to unplug the charging gun after charging is complete, causing inconvenience to their travel. Summary of the Invention
[0004] In view of this, embodiments of this application provide a charging gun control method, control chip, and device, aiming to solve the problem of poor control accuracy of the charging gun and improve the success rate of locking or unlocking the charging gun.
[0005] In a first aspect, embodiments of this application provide a method for controlling a charging gun, including:
[0006] Receive control commands for the charging gun, wherein the control commands are used to instruct the charging gun to lock or unlock;
[0007] In response to the control command, a control signal is sent to the charging gun, wherein the control signal is used to control the charging gun to lock or unlock;
[0008] If the charging gun does not respond to the control signal, adjust the transmission frequency of the control signal.
[0009] In one possible implementation, sending a control signal to the charging gun in response to the control command includes:
[0010] In response to the control command, the control signal is sent to the charging gun for the first time;
[0011] If the charging gun does not respond to the control signal sent for the first time, the control signal is sent to the charging gun at a first sending frequency.
[0012] Wherein, the first transmission frequency is to send the control signal once every first interval.
[0013] In one possible implementation, adjusting the transmission frequency of the control signal when the charging gun does not respond to the control signal includes:
[0014] The number of times the control signal is sent to the charging gun is obtained;
[0015] If the number of transmissions exceeds a first preset threshold, the transmission frequency of the control signal is adjusted from a first transmission frequency to a second transmission frequency; wherein, the second transmission frequency is to transmit the control signal once every second interval, and the second interval is longer than the first interval.
[0016] In one possible implementation, adjusting the transmission frequency of the control signal when the charging gun does not respond to the control signal includes:
[0017] The number of times the control signal is sent to the charging gun is obtained;
[0018] The first interval time is adjusted according to the number of times the data is sent; the more times the data is sent, the longer the first interval time becomes.
[0019] In one possible implementation, the second interval is related to the number of transmissions or the temperature of the charging gun, wherein the more transmissions, the longer the second interval; and the higher the temperature of the charging gun, the longer the second interval.
[0020] In one possible implementation, the method further includes:
[0021] The number of times the control signal is sent to the charging gun is obtained;
[0022] If the number of transmissions exceeds a second preset threshold, the control signal will stop being sent to the charging gun.
[0023] In one possible implementation, the charging gun not responding to the control signal includes:
[0024] If the charging gun status is not adjusted to the state indicated by the control signal after the first duration of sending the control signal;
[0025] Alternatively, a failure response signal is received from the charging gun.
[0026] In one possible implementation, if the control command is used to instruct the charging gun to lock, the control signal is a 12-volt voltage signal; if the control command is used to instruct the charging gun to unlock, the control signal is a -12-volt voltage signal.
[0027] Secondly, embodiments of this application provide a control chip for a charging gun, used to receive control commands, send control signals to the charging gun, and adjust the sending frequency of the control signals when the charging gun does not respond to the control signals; wherein the control commands are used to instruct the charging gun to lock or unlock; and the control signals are used to control the charging gun to lock or unlock.
[0028] Thirdly, embodiments of this application provide a control device for a charging gun, comprising:
[0029] A receiving module is used to receive control commands for the charging gun, wherein the control commands are used to instruct the charging gun to lock or unlock.
[0030] A sending module is used to send a control signal to the charging gun in response to the control command, wherein the control signal is used to control the charging gun to lock or unlock.
[0031] An adjustment module is used to adjust the transmission frequency of the control signal when the charging gun does not respond to the control signal.
[0032] In one possible implementation, the transmitting module is specifically configured to, in response to the control command, first transmit the control signal to the charging gun; and, if the charging gun does not respond to the first transmitted control signal, transmit the control signal to the charging gun at a first transmitting frequency; wherein the first transmitting frequency is transmitting the control signal once every first interval.
[0033] In one possible implementation, the adjustment module is specifically used to obtain the number of times the control signal is sent to the charging gun; if the number of times is greater than a first preset threshold, the sending frequency of the control signal is adjusted from a first sending frequency to a second sending frequency; wherein, the second sending frequency is to send the control signal once every second interval time, and the second interval time is greater than the first interval time.
[0034] In one possible implementation, the adjustment module is specifically used to obtain the number of times the control signal is sent to the charging gun; and adjust the first interval time according to the number of times the signal is sent, wherein the more times the signal is sent, the longer the first interval time becomes.
[0035] In one possible implementation, the second interval is related to the number of transmissions or the temperature of the charging gun, wherein the more transmissions, the longer the second interval; and the higher the temperature of the charging gun, the longer the second interval.
[0036] In one possible implementation, the device further includes a stop module for acquiring the number of times the control signal is sent to the charging gun; and stopping the sending of the control signal to the charging gun when the number of times the signal is sent exceeds a second preset threshold.
[0037] In one possible implementation, the charging gun not responding to the control signal specifically means:
[0038] If, after a first duration following the transmission of the control signal, the charging gun is not detected to be adjusted to the state indicated by the control signal, or if a response failure signal is received from the charging gun.
[0039] In one possible implementation, if the control command is used to instruct the charging gun to lock, the control signal is a 12-volt voltage signal; if the control command is used to instruct the charging gun to unlock, the control signal is a -12-volt voltage signal.
[0040] Fourthly, embodiments of this application provide a device including a memory and a processor. The memory is used to store instructions or code, and the processor is used to execute the instructions or code to cause the device to perform the charging gun control method described in any one of the first aspects.
[0041] Fifthly, embodiments of this application provide a computer storage medium storing code, wherein when the code is executed, a device running the code implements the charging gun control method described in any one of the first aspects above.
[0042] This application provides a method, control chip, and device for controlling a charging gun. Upon receiving a control command for the charging gun, a control signal is sent to the charging gun according to the state indicated by the control command, thereby controlling the charging gun to lock or unlock, thus achieving control of the charging gun.
[0043] Furthermore, if the charging gun does not respond to the control signal, meaning it has not adjusted to the state indicated by the control command, adjust the frequency of the control signal transmission and attempt to control the charging gun multiple times. When charging gun control fails, resending the control signal multiple times can increase the success rate of charging gun control.
[0044] In addition, the frequency of sending control signals can be adaptively adjusted according to different situations, further improving the success rate of charging gun control. For example, when the charging gun temperature is high, the sending frequency can be reduced, and control signals can be sent at longer intervals to avoid the charging gun overheating due to frequent receiving of control signals, which could cause the charging gun lock to be unable to unlock properly due to high temperature. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 A flowchart illustrating a method for controlling a charging gun according to an embodiment of this application;
[0047] Figure 2 A schematic diagram of a pulse signal for continuously transmitting control signals is provided in an embodiment of this application;
[0048] Figure 3 This is a schematic diagram of the structure of a chip provided in an embodiment of this application;
[0049] Figure 4 A schematic diagram illustrating a charging gun locking process provided in an embodiment of this application;
[0050] Figure 5 A schematic diagram illustrating a charging gun unlocking process provided in an embodiment of this application;
[0051] Figure 6 This is a schematic diagram of a control device for a charging gun provided in an embodiment of this application. Detailed Implementation
[0052] Obviously, the embodiments described in this application are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0053] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.
[0054] With the popularization of electric vehicle charging technology and the accelerated construction of charging stations, the safety and reliability of electric vehicle charging have become a focus of attention. In this process, the gun lock between the electric vehicle and the charging gun plays a crucial role in ensuring a safe connection.
[0055] By ensuring a secure connection between the charging gun and the electric vehicle, the possibility of the charging gun accidentally detaching or becoming loosely connected during charging is prevented, thus reducing the probability of safety hazards during charging. Locking the charging gun ensures proper physical contact and electrical connection between the electric vehicle and the charging gun, guaranteeing a stable and safe charging process.
[0056] However, the accuracy of unlocking and locking the charging gun in current technology still needs improvement. Sometimes the charging gun fails to lock or unlock properly, leading to unstable connections or interruptions during charging, posing potential risks to electric vehicle charging. Furthermore, problems with unlocking the charging gun may prevent users from easily unplugging it after charging, causing inconvenience to their travel.
[0057] Therefore, improving the accuracy of unlocking and locking the charging gun is crucial.
[0058] To address the aforementioned technical problems, this application provides a method, control chip, and device for controlling a charging gun. Upon receiving a control command for the charging gun, a control signal is sent to the charging gun according to the state indicated by the control command, thereby controlling the charging gun to lock or unlock, thus achieving control of the charging gun. Furthermore, if the charging gun does not respond to the control signal, i.e., the charging gun has not adjusted to the state indicated by the control command, the sending frequency of the control signal is adjusted, and multiple attempts to control the charging gun are made. When charging gun control fails, repeatedly resending the control signal to the charging gun increases the success rate of charging gun control, improves the reliability of unlocking and locking, and provides a better user experience.
[0059] like Figure 1 As shown, Figure 1 This is a flowchart illustrating a control method for a charging gun provided in an embodiment of this application. The execution entity of this method can be a processor or control chip of a charging pile. The following description uses a processor of a charging pile (hereinafter referred to as the processor) as an example. The method includes:
[0060] S101: The processor receives control commands for the charging gun.
[0061] Control commands are used to instruct the charging gun to lock or unlock. These commands are generated based on user actions. For example, a user can trigger the "lock charging gun" or "unlock charging gun" option through the user interface of an application on a mobile device (such as a smartphone, tablet, or in-vehicle computer) or the interface displayed on the charging pile's control panel, thereby generating a control command to instruct the charging gun to lock or unlock.
[0062] As one possible implementation, when a user triggers the "lock charging gun" or "unlock charging gun" option via a mobile terminal, the mobile terminal can generate control commands based on the user's operation and send the control commands to the processor via Bluetooth or network.
[0063] As another possible implementation, when a user triggers the "charging gun lock" or "charging gun unlock" option through the charging station, the control panel can generate control commands based on the user's operation and send the control commands to the processor through the charging station's internal wiring or other wireless transmission methods.
[0064] S102: The processor responds to the control command and sends a control signal to the charging gun.
[0065] Control signals are used to lock or unlock the charging gun. After receiving a control command, the processor sends a control signal to the charging gun according to the state (locked or unlocked) indicated by the control command, thereby controlling the charging gun to switch to the state indicated by the control command.
[0066] In one possible implementation, in response to a control command, a control signal is sent to the charging gun, including:
[0067] In response to the control command, a control signal is sent to the charging gun for the first time;
[0068] If the charging gun does not respond to the first control signal, a control signal is sent to the charging gun at the first transmission frequency.
[0069] After the processor sends a control command to the charging gun, if it detects that the charging gun does not respond (i.e., the charging gun has not switched to the state indicated by the control command), it sends a control signal at a first transmission frequency. The first transmission frequency is one control signal sent every first interval. That is, calculated from the time of the last control signal transmission, a control signal is sent again after the first interval. For example, if the last transmission was the first control signal transmission, then the second control signal is sent after the first interval.
[0070] By repeatedly sending control commands to the charging gun and attempting to control it again, the success rate of charging gun control can be improved. Furthermore, the initial sending frequency can be adjusted according to actual conditions, such as: adjusting it based on the charging gun's temperature—the higher the temperature, the longer the initial interval; or adjusting it based on the number of control commands sent—the more control commands sent, the longer the initial interval.
[0071] In one possible implementation, if the control command is used to instruct the charging gun to lock, the control signal is a 12-volt (V) voltage signal; if the control command is used to instruct the charging gun to unlock, the control signal is a -12-volt voltage signal.
[0072] like Figure 2 As shown, Figure 2(a) is a schematic diagram of a pulse signal that continuously sends control signals to lock the charging gun. When it is necessary to lock the charging gun, the control signal is a 12V voltage signal. The high pulse time is mostly between 300 and 500 ms, and the low pulse voltage is 0V for 2 seconds.
[0073] Figure 2 (b) is a schematic diagram of another type of pulse signal that is sent continuously multiple times to control the unlocking of the charging gun. When the charging gun needs to be unlocked, the control signal is a -12V voltage signal. The high pulse time is mostly between 300 and 500 ms, and the low pulse voltage is 0V for 2 seconds.
[0074] In one possible implementation, the processor sends control signals to the charging gun via a chip with isolation capabilities. For example... Figure 3 As shown, Figure 3 This is a schematic diagram of a chip provided in an embodiment of this application. The chip has output isolation and short-circuit protection functions. The IN1 and IN2 pins of the chip are connected to the processor, and the processor inputs control signals; the OUT1 and OUT2 pins are connected to the charging gun and are used to output lock and unlock drive levels; the EP pin is an exposed metal grounding plate, and the GND and PGND pins are grounded; the LIIN and VM pins are connected to the power supply.
[0075] S103: If the charging gun does not respond to the control signal, the processor adjusts the sending frequency of the control signal.
[0076] The charging gun did not respond to the control signal, meaning it did not switch to the state indicated by the control command according to the control signal.
[0077] In one possible implementation, the charging gun does not respond to the control signal, including:
[0078] If the charging gun status is not adjusted to the state indicated by the control signal after the first duration of sending the control signal, or if a response failure signal is received from the charging gun.
[0079] In this embodiment, when the charging gun fails to switch to the state indicated by the control command according to the control signal, a response failure signal can be fed back to the processor. The response failure signal indicates a charging gun control failure. Alternatively, after the processing chip sends a control signal to the charging gun, it will monitor the charging gun's state in real time. If the charging gun's state is not adjusted to the state indicated by the control signal within a first time period, it indicates a charging gun control failure. It is understood that the first time period is a time interval, starting from the moment the processor sends the control signal to the charging gun. If no adjustment to the charging gun's state is detected after the first time period, it indicates a charging gun control failure. The first time period can be adjusted by the operator as needed.
[0080] In one possible implementation, the control method for the charging gun described above further includes:
[0081] Get the number of times the control signal is sent to the charging gun;
[0082] If the number of transmissions exceeds the second preset threshold, stop sending control signals to the charging gun.
[0083] The processor acquires the number of times the control signal has been sent and determines whether to continue sending control signals based on the number of transmissions. If the number of transmissions exceeds a second preset threshold, then sending control signals stops. Furthermore, the processor can also send a control failure signal to the mobile terminal or control panel to alert the user that the charging gun control has failed.
[0084] This application provides a method, control chip, and device for controlling a charging gun. Upon receiving a control command for the charging gun, a control signal is sent to the charging gun according to the state indicated by the control command, thereby controlling the charging gun to lock or unlock, thus achieving control of the charging gun.
[0085] Furthermore, if the charging gun does not respond to the control signal, meaning it has not adjusted to the state indicated by the control command, adjust the frequency of the control signal transmission and attempt to control the charging gun multiple times. When charging gun control fails, resending the control signal multiple times can increase the success rate of charging gun control.
[0086] In addition, the frequency of sending control signals can be adaptively adjusted according to different situations, further improving the success rate of charging gun control. For example, when the charging gun temperature is high, the sending frequency can be reduced, and control signals can be sent at longer intervals to avoid the charging gun overheating due to frequent receiving of control signals, which could cause the charging gun lock to be unable to unlock properly due to high temperature.
[0087] Based on the above embodiments, this application further provides two methods for adjusting the transmission frequency of control signals.
[0088] In one possible implementation, when the charging gun does not respond to the control signal, the transmission frequency of the control signal is adjusted, including:
[0089] Get the number of times the control signal is sent to the charging gun;
[0090] If the number of transmissions exceeds a first preset threshold, the transmission frequency of the control signal is adjusted from the first transmission frequency to the second transmission frequency; wherein, the second transmission frequency is to send the control signal once every second interval time, and the second interval time is longer than the first interval time.
[0091] Since the charging gun's lock is typically an electromagnetic lock, its performance is easily affected by temperature. Furthermore, the electromagnetic lock heats up under the influence of control signals. Therefore, in this embodiment, if the processor detects that a certain number of pulse signals have been sent (i.e., the number of transmissions exceeds the second transmission frequency), but the charging gun's state remains unchanged, to prevent the electromagnetic lock from overheating and burning out, the transmission frequency can be adjusted from the first transmission frequency to the second transmission frequency, i.e., increasing the time interval between two adjacent control signal transmissions.
[0092] In this embodiment, the second interval time is related to the number of transmissions or the temperature of the charging gun, wherein the more transmissions, the longer the second interval time; and the higher the temperature of the charging gun, the longer the second interval time.
[0093] Since the number of transmissions is positively correlated with the temperature of the charging gun—that is, the more transmissions, the higher the temperature of the charging gun—the second interval can be adjusted based on either the number of transmissions or the temperature of the charging gun. A higher number of transmissions indicates a higher charging gun temperature, allowing for a longer second interval and thus more time for the electromagnetic lock to cool down.
[0094] Alternatively, the processor can be used to obtain the temperature of the charging gun, and the second interval time can be adjusted accordingly. That is, the higher the temperature of the charging gun, the longer the second interval time, and correspondingly, the longer the electromagnetic lock needs to dissipate heat.
[0095] The second interval time is adjusted according to the temperature of the charging gun or the number of times the control signal is sent, and then the control signal is sent based on the second sending frequency. When the temperature is too high or the number of times the signal is sent is too high, the time interval between the control signal sending is lengthened to allow the electromagnetic lock sufficient heat dissipation time, thereby preventing the electromagnetic lock from failing due to excessive temperature and improving the success rate of charging gun control.
[0096] In this embodiment, the first preset threshold can be adjusted based on the usage of the charging gun (e.g., number of uses or years of use). For example, the first preset threshold is 15 uses during the first year of use, and 10 uses during the second year. It is understood that the years of use of the charging gun are related to its aging degree; the higher the aging degree, the higher the likelihood of overheating. Therefore, adjusting the first preset threshold based on the charging gun's usage can further improve the success rate of charging gun control.
[0097] In one possible implementation, adjusting the transmission frequency of the control signal when the charging gun does not respond to the control signal includes:
[0098] Get the number of times the control signal is sent to the charging gun;
[0099] The first interval time is adjusted based on the number of times the data is sent; the more times the data is sent, the longer the first interval time becomes.
[0100] In this embodiment, the first interval time can be directly adjusted based on the number of transmissions. The more transmissions, the higher the temperature of the charging gun, and therefore the longer the first interval time. The number of transmissions and the first interval time are positively correlated. As an example, the number of transmissions and the first interval time can be linearly positively correlated, and the relationship between the number of transmissions and the first interval time can be represented by a monotonically increasing straight line with a constant slope; as another example, the relationship between the number of transmissions and the first interval time can also be represented by a monotonically increasing curve with a gradually increasing or decreasing slope.
[0101] The first interval time is adjusted according to the number of transmissions, and then the control signal is sent based on the first transmission frequency. When the number of transmissions is too high, the time interval between control signal transmissions is lengthened to allow the electromagnetic lock sufficient heat dissipation time, thereby preventing the electromagnetic lock from failing due to excessive temperature and improving the success rate of charging gun control.
[0102] Based on the above embodiments, this application further provides a description of the charging gun locking process and the charging gun unlocking process.
[0103] like Figure 4 As shown, Figure 4 This is a schematic diagram of a charging gun locking process provided in an embodiment of this application.
[0104] When the user instructs the charging gun to lock, the processor outputs a 12V voltage signal to the charging gun. If the number of times the control signal is sent is less than or equal to a first preset threshold, the control signal is sent at a first sending frequency; if the number of times the control signal is sent is greater than the first preset threshold, the control signal is sent at a second sending frequency.
[0105] After sending the control signal, the processor checks the status of the charging gun. If the charging gun is successfully locked, the locking process is completed. If the charging gun is not successfully locked, it checks whether the number of times the current control signal has been sent exceeds a second preset threshold. If the result is yes, the locking process ends; if the result is no, it re-outputs a 12V voltage signal to the charging gun and continues to execute subsequent steps, attempting to control the charging gun to lock again until the number of times the signal is sent exceeds the second preset threshold or the charging gun is successfully locked.
[0106] like Figure 5 As shown, Figure 5 This is a schematic diagram of a charging gun unlocking process provided in an embodiment of this application.
[0107] When the user instructs the charging gun to unlock, the processor outputs a -12V voltage signal to the charging gun. If the number of times the control signal is sent is less than or equal to a first preset threshold, the control signal is sent at a first sending frequency; if the number of times the control signal is sent is greater than the first preset threshold, the control signal is sent at a second sending frequency.
[0108] After sending the control signal, the processor checks the status of the charging gun. If the charging gun has been successfully unlocked, the unlocking process is completed. If the charging gun has not been successfully unlocked, it checks whether the number of times the current control signal has been sent exceeds a second preset threshold. If the result is yes, the unlocking process ends; if the result is no, it re-outputs a -12V voltage signal to the charging gun and continues to execute subsequent steps, attempting to control the charging gun to unlock again until the number of times the signal is sent exceeds the second preset threshold or the charging gun is successfully unlocked.
[0109] The above are some specific implementations of the charging gun control method provided in the embodiments of this application. Based on this, this application also provides a corresponding device. The device provided in the embodiments of this application will be described below from the perspective of functional modularity.
[0110] like Figure 6 As shown, Figure 6 This is a schematic diagram of a control device for a charging gun provided in an embodiment of this application. The device 600 includes:
[0111] The receiving module 601 is used to receive control commands for the charging gun, wherein the control commands are used to instruct the charging gun to lock or unlock.
[0112] The sending module 602 is used to send a control signal to the charging gun in response to the control command, wherein the control signal is used to control the charging gun to lock or unlock.
[0113] The adjustment module 603 is used to adjust the transmission frequency of the control signal when the charging gun does not respond to the control signal.
[0114] The control device for the charging gun described above can send a control signal to the charging gun according to the state of the charging gun indicated by the control command after receiving a control command for the charging gun, thereby controlling the charging gun to lock or unlock, thus realizing the control of the charging gun.
[0115] In one possible implementation, the sending module 602 is specifically configured to, in response to the control command, send the control signal to the charging gun for the first time; and, if the charging gun does not respond to the first sent control signal, send the control signal to the charging gun at a first sending frequency; wherein the first sending frequency is sending the control signal once every first interval.
[0116] In one possible implementation, the adjustment module 603 is specifically used to obtain the number of times the control signal is sent to the charging gun; if the number of times is sent is greater than a first preset threshold, the sending frequency of the control signal is adjusted from a first sending frequency to a second sending frequency; wherein, the second sending frequency is to send the control signal once every second interval time, and the second interval time is greater than the first interval time.
[0117] In one possible implementation, the adjustment module 603 is specifically used to obtain the number of times the control signal is sent to the charging gun; and adjust the first interval time according to the number of times the signal is sent, wherein the more times the signal is sent, the longer the first interval time becomes.
[0118] In one possible implementation, the second interval is related to the number of transmissions or the temperature of the charging gun, wherein the more transmissions, the longer the second interval; and the higher the temperature of the charging gun, the longer the second interval.
[0119] In one possible implementation, the device further includes a stop module for acquiring the number of times the control signal is sent to the charging gun; and stopping the sending of the control signal to the charging gun when the number of times the signal is sent exceeds a second preset threshold.
[0120] In one possible implementation, the charging gun not responding to the control signal specifically means:
[0121] If, after a first duration following the transmission of the control signal, the charging gun is not detected to be adjusted to the state indicated by the control signal, or if a response failure signal is received from the charging gun.
[0122] In one possible implementation, if the control command is used to instruct the charging gun to lock, the control signal is a 12-volt voltage signal; if the control command is used to instruct the charging gun to unlock, the control signal is a -12-volt voltage signal.
[0123] This application embodiment also provides a corresponding control chip, which is used to receive control commands, send control signals to the charging gun, and adjust the sending frequency of the control signals when the charging gun does not respond to the control signals; wherein, the control commands are used to instruct the charging gun to lock or unlock; and the control signals are used to control the charging gun to lock or unlock.
[0124] This application also provides corresponding devices and computer storage media for implementing the solutions provided in this application.
[0125] The device includes a memory and a processor. The memory stores instructions or code, and the processor executes the instructions or code to enable the device to perform the control method for the charging gun described in any embodiment of this application.
[0126] The computer storage medium stores code, and when the code is executed, the device running the code implements the charging gun control method described in any embodiment of this application.
[0127] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0128] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. In particular, the device embodiments and control chip embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions in the method embodiments. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0129] The above description is merely an exemplary implementation of this application and is not intended to limit the scope of protection of this application.
Claims
1. A method for controlling a charging gun, characterized in that, include: Receive control commands for the charging gun, wherein the control commands are used to instruct the charging gun to lock or unlock; In response to the control command, a control signal is sent to the charging gun, wherein the control signal is used to control the charging gun to lock or unlock; If the charging gun does not respond to the control signal, the transmission frequency of the control signal is adjusted, and the transmission frequency is negatively correlated with the number of times the control signal is transmitted.
2. The method according to claim 1, characterized in that, The step of sending a control signal to the charging gun in response to the control command includes: In response to the control command, the control signal is sent to the charging gun for the first time; If the charging gun does not respond to the control signal sent for the first time, the control signal is sent to the charging gun at a first sending frequency. Wherein, the first transmission frequency is to send the control signal once every first interval.
3. The method according to claim 2, characterized in that, The step of adjusting the transmission frequency of the control signal when the charging gun does not respond to the control signal includes: The number of times the control signal is sent to the charging gun is obtained; If the number of transmissions exceeds a first preset threshold, the transmission frequency of the control signal is adjusted from a first transmission frequency to a second transmission frequency; wherein, the second transmission frequency is to transmit the control signal once every second interval, and the second interval is longer than the first interval.
4. The method according to claim 2, characterized in that, The step of adjusting the transmission frequency of the control signal when the charging gun does not respond to the control signal includes: The number of times the control signal is sent to the charging gun is obtained; The first interval time is adjusted according to the number of times the data is sent; the more times the data is sent, the longer the first interval time becomes.
5. The method according to claim 3, characterized in that, The second interval is related to the number of transmissions or the temperature of the charging gun, wherein the more transmissions, the longer the second interval; and the higher the temperature of the charging gun, the longer the second interval.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: The number of times the control signal is sent to the charging gun is obtained; If the number of transmissions exceeds a second preset threshold, the control signal will stop being sent to the charging gun.
7. The method according to any one of claims 1-5, characterized in that, The charging gun does not respond to the control signal, including: After the first duration of sending the control signal, the charging gun state was still not detected to be adjusted to the state indicated by the control signal; Alternatively, a failure response signal is received from the charging gun.
8. The method according to any one of claims 1-5, characterized in that, If the control command is used to instruct the charging gun to lock, the control signal is a 12-volt voltage signal; if the control command is used to instruct the charging gun to unlock, the control signal is a -12-volt voltage signal.
9. A control chip for a charging gun, characterized in that, It is used to receive control commands, send control signals to the charging gun, and adjust the sending frequency of the control signals if the charging gun does not respond to the control signals; wherein, the control commands are used to instruct the charging gun to lock or unlock; the control signals are used to control the charging gun to lock or unlock, and the sending frequency is negatively correlated with the number of times the control signals are sent.
10. A control device for a charging gun, characterized in that, include: A receiving module is used to receive control commands for the charging gun, wherein the control commands are used to instruct the charging gun to lock or unlock. A sending module is used to send a control signal to the charging gun in response to the control command, wherein the control signal is used to control the charging gun to lock or unlock. An adjustment module is used to adjust the transmission frequency of the control signal when the charging gun does not respond to the control signal, wherein the transmission frequency is negatively correlated with the number of times the control signal is transmitted.
Citation Information
Patent Citations
Control method for preventing charger from being locked and device thereof
CN111361439A
Temperature control method and device, and direct current booster circuit
CN113224946A
