A charging pile safety monitoring method, device and electronic equipment

Through the combination of multiple pressure sensors and positioning modules, the status of the charging gun can be accurately identified, which solves the problem of difficulty in identifying the charging pile monitoring system in the existing technology under insufficient light or complex environments, and achieves timely early warning and detection of pulling of the charging gun. Protection improves the safety of charging piles.

CN118238664BActive Publication Date: 2024-09-10LONGRUI SANYOU NEW ENERGY VEHICLE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410662194.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-10
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

The existing charging pile monitoring system is difficult to accurately identify whether the charging gun has been pulled out when there is insufficient light or when multiple vehicles are charging. As a result, it cannot prevent vehicles from pulling the charging pile in time, causing economic losses and safety hazards.

Method used

Multiple pressure sensors (upper, lower, left, right) are used to measure the pressure value when the charging gun is connected to the vehicle, and the charging gun status is determined by calculating the pressure difference and weight value, combined with the positioning module and the three-dimensional attitude sensor , determine whether the charging gun is being pulled, and if abnormal, an early warning and disconnection command will be issued.

Benefits of technology

It can accurately identify whether the charging gun is pulled out or pulled under any light conditions, promptly remind the driver and disconnect, avoid charging pile damage and fire risks, and improve the safety and reliability of charging piles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118238664B
    Figure CN118238664B
Patent Text Reader

Abstract

The present application provides a charging pile safety monitoring method, device and electronic device, the method comprising: when the charging gun enters the discharge state to the target vehicle, obtaining the pressure reference value sent by each pressure sensor; after the charging gun ends the discharge state, if it is determined that multiple pressure reference values ​​have not entered the zero state, then determining the first pressure value corresponding to the first sensor, the second pressure value corresponding to the second sensor, the third pressure value corresponding to the third sensor, and the fourth pressure value corresponding to the fourth sensor; calculating the first pressure difference between the first pressure value and the second pressure value, and calculating the second pressure difference between the third pressure value and the fourth pressure value; if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to the preset first threshold, and the second pressure difference is greater than or equal to the preset second threshold, then preliminarily determining that the charging gun state is abnormal. The present application can identify whether the charging pile will be pulled by the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of charging pile monitoring, and in particular to a charging pile safety monitoring method, device and electronic equipment. Background Art

[0002] With the development of technology, new energy vehicles are becoming more and more popular. However, most owners of new energy vehicles do not install private charging piles, but use public charging piles. Public charging piles are a kind of infrastructure that provides power charging services for new energy vehicles. These charging piles are usually located in public places, commercial areas, parking lots or city streets to meet the charging needs of new energy vehicle users during driving.

[0003] For some car owners, when the new energy vehicle is fully charged at the charging pile, they may forget to unplug the charging gun from the car and start the vehicle and drive the vehicle. The vehicle will pull the charging pile, thereby damaging the charging pile. In serious cases, the charging pile will be pulled down and cause a fire, which will cause huge economic losses.

[0004] Although most charging piles are monitored through surveillance cameras installed nearby, manual monitoring is still required. Even if there is an algorithm to automatically identify the behavior of a vehicle pulling a charging pile, in low light conditions, especially when there are multiple vehicles charging and the image content is more complicated, the accuracy of traditional image recognition is poor and it is impossible to determine whether the charging pile is being pulled because the charging gun is not unplugged. Therefore, a method is needed to automatically identify whether a charging pile will be pulled by a vehicle. Summary of the invention

[0005] The present application provides a charging pile safety monitoring method, device and electronic equipment, which can identify whether the charging pile will be pulled by a vehicle.

[0006] In a first aspect of the present application, a charging pile safety monitoring method is provided, the method is applied to a server, the server is connected to a plurality of pressure sensors, the plurality of pressure sensors include a first sensor, a second sensor, a third sensor and a fourth sensor, the first sensor is arranged on the upper side wall of a gun head plug barrel of a charging gun, the second sensor is arranged on the lower side wall of the gun head plug barrel, the third sensor is arranged on the left side wall of the gun head plug barrel, the fourth sensor is arranged on the right side wall of the gun head plug barrel, the method includes:

[0007] When the charging gun enters a discharging state for the target vehicle, the corresponding pressure value sent by each pressure sensor is obtained, and a pressure reference value is marked;

[0008] After the charging gun ends the discharging state, if it is determined that the multiple pressure reference values ​​have not entered the zero state, then determining a first pressure value corresponding to the first sensor, a second pressure value corresponding to the second sensor, a third pressure value corresponding to the third sensor, and a fourth pressure value corresponding to the fourth sensor;

[0009] Calculating a first pressure difference between the first pressure value and the second pressure value, and calculating a second pressure difference between the third pressure value and the fourth pressure value;

[0010] If it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to the preset first threshold, and the second pressure difference is greater than or equal to the preset second threshold, it is preliminarily determined that the charging gun is in an abnormal state.

[0011] By adopting the above technical solution, when the charging gun enters the discharge state to the target vehicle, each pressure sensor will measure the corresponding pressure value and mark these values ​​as the pressure reference value. At this time, the server will sense the pressure applied to the gun head plug when the charging gun is connected to the target vehicle. When the charging gun ends the discharge state, if multiple pressure reference values ​​do not return to the zero state, it indicates that the charging gun has not been unplugged, because once the charging gun is unplugged from the target vehicle, the gun head plug will not be compressed, and the pressure values ​​measured by all pressure sensors will be zero. Then the server calculates the first pressure difference between the upper and lower sides of the charging gun, and the second pressure difference between the left and right sides. If the first pressure difference and the second pressure difference gradually increase until the first pressure difference is less than or equal to the preset first threshold value, and the second pressure difference is greater than or equal to the preset second threshold value. It indicates that the charging gun is gradually pulled, causing the pressure on one side of the car charging port to gradually increase, so that the first pressure difference gradually increases. Furthermore, since the charging gun is connected to the charging pile by a cable, it is further determined that the charging pile will be pulled by the vehicle.

[0012] Optionally, after preliminarily determining that the state of the charging gun is abnormal if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, the method further includes:

[0013] Determine, among the plurality of pressure reference values, a first pressure reference value corresponding to the first sensor, a second pressure reference value corresponding to the second sensor, a third pressure reference value corresponding to the third sensor, and a fourth pressure reference value corresponding to the fourth sensor;

[0014] respectively calculating the first pressure reference value and a first change value of the first pressure value, the second pressure reference value and a second change value of the second pressure value, the third pressure reference value and a third change value of the third pressure value, and the fourth pressure reference value and a fourth change value of the fourth pressure value;

[0015] Obtaining a weight value corresponding to each of the pressure sensors and a relationship weight value between any two of the pressure sensors;

[0016] Calculating a weighted sum of pressure changes of the plurality of pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value;

[0017] It is determined whether the weighted sum of the pressure changes is greater than or equal to a preset pressure change threshold. If it is determined that the weighted sum of the pressure changes is greater than or equal to the preset pressure change threshold, it is determined that the state of the charging gun is abnormal.

[0018] By adopting the above technical solution and introducing the calculation of change values ​​and weights, the server can detect abnormal pressure changes more sensitively, and even local abnormalities or abnormalities of a few sensors can be comprehensively considered. Considering the weight values ​​of each sensor and the weight values ​​of the relationship between any two sensors helps to consider the contribution of different sensors to the final judgment of the charging gun status and their mutual relationship, so that the data of each sensor is comprehensively considered to more comprehensively reflect the status of the charging gun.

[0019] Optionally, the weighted sum of the pressure changes of the plurality of pressure sensors is calculated according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value, and is specifically calculated by the following formula:

[0020] ;

[0021] Wherein, C is the weighted sum of pressure changes, P1 is the first pressure value, P2 is the second pressure value, P3 is the third pressure value, P4 is the fourth pressure value, B1 is the first pressure reference value, B2 is the second pressure reference value, B3 is the third pressure reference value, B4 is the fourth pressure reference value, w ii is the weight value of the i-th pressure sensor among the multiple pressure sensors, w ij is the relationship weight value between the ith pressure sensor and the jth pressure sensor among the multiple pressure sensors.

[0022] By adopting the above technical solution, the formula introduces the calculation of comprehensive weight and relationship weight, which improves the ability to integrate multiple sensor data, thereby more comprehensively and accurately judging the abnormal situation of the charging gun status. This helps the server to more reliably detect abnormalities and monitor safety of charging guns in actual applications.

[0023] Optionally, the server is further connected to a positioning module and a three-dimensional attitude sensor, and the positioning module and the three-dimensional attitude sensor are both arranged inside the charging gun. If it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, then it is preliminarily determined that the state of the charging gun is abnormal, the method further includes:

[0024] Acquire the charging gun position data of the charging gun sent by the positioning module;

[0025] Obtaining the charging pile location data of the pre-stored charging pile;

[0026] According to the charging gun position data and the charging pile position data, determining that the charging gun is inserted into a side of the target vehicle, the side including a left side and a right side;

[0027] If it is determined that the charging gun is inserted into the right side of the target vehicle, according to the gradual increase of the second pressure difference, it is determined that the target vehicle is moving away from the charging pile;

[0028] Acquire height change data of the charging gun sent by a three-dimensional posture sensor;

[0029] If it is determined according to the height change data that the height of the charging gun has not changed, further acquiring a plurality of charging gun position data sent by the positioning module;

[0030] If it is determined according to the plurality of charging gun position data that the charging gun moves in a direction away from the charging pile, it is determined that the state of the charging gun is abnormal.

[0031] By adopting the above technical solution, by obtaining the charging gun position data sent by the positioning module and the pre-stored charging pile position data, it is possible to determine which side of the target vehicle the charging gun is inserted into. If it is determined that the charging gun is inserted into the right side of the target vehicle, and the second pressure difference gradually increases, indicating that the force on one side of the plug barrel of the charging gun is gradually increasing, it can be preliminarily determined that the target vehicle is moving away from the charging pile. Furthermore, if the height of the charging gun has not changed, it indicates that the charging gun has not been pulled out of the target vehicle, so that the height has not changed. Combined with the position data of the charging gun, it is determined that the charging gun is moving in the direction away from the charging pile, and it can be determined that the charging gun is being dragged by the target vehicle.

[0032] Optionally, judging, based on the charging gun position data and the charging pile position data, whether the charging gun is inserted into the side of the target vehicle specifically includes:

[0033] According to the charging pile position data, a preset coordinate system is established, and the charging pile is located at the origin of the preset coordinate system;

[0034] Determining, according to the charging gun position data, the quadrant in which the charging gun is located in the preset coordinate system;

[0035] If the charging gun is located in the first quadrant of the preset coordinate system, it is determined that the charging gun is inserted into the right side of the target vehicle. If the charging gun is located in the second quadrant of the preset coordinate system, it is determined that the charging gun is inserted into the left side of the target vehicle.

[0036] By adopting the above technical solution, a preset coordinate system with the charging pile as the origin is established, which provides a clear spatial background for the subsequent positional relationship. Such a coordinate system helps the server understand the positional relationship of the charging gun relative to the charging pile. According to the charging gun position data, determine in which quadrant of the preset coordinate system the charging gun is located. Since the target vehicle is usually parked in front of the charging pile, the direction of the charging gun relative to the charging pile can be intuitively determined, thereby determining the side of the charging gun inserted into the target vehicle.

[0037] Optionally, after determining that the value of the first pressure difference gradually increases and the second pressure difference gradually increases, the method further includes:

[0038] A preset sound and light warning is given to the target vehicle to remind the driver of the target vehicle to stop moving the vehicle and unplug the charging gun.

[0039] By adopting the above technical solution, after determining that the charging gun is in an abnormal state, the preset sound and light warning can remind the driver of the target vehicle in real time that an abnormal situation has occurred and that corresponding measures need to be taken. The sound and light prompts are an intuitive and obvious warning method that can quickly attract the driver's attention. Prompting the driver to unplug the charging gun further prevents problems caused by the charging gun being pulled. Unplugging the charging gun in time helps reduce potential dangers and protect the charging equipment from damage.

[0040] Optionally, the server is further connected to an emergency disconnect device, which is arranged at the tail of the charging gun. If it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, then after preliminarily determining that the state of the charging gun is abnormal, the method further includes:

[0041] According to the abnormal state of the charging gun, a disconnection instruction is sent to the emergency disconnection device, so that the emergency disconnection device disconnects the connection between the charging gun and the charging pile.

[0042] By adopting the above technical solution, when it is determined that the charging gun is in an abnormal state, the server sends a disconnection command to the emergency disconnection device, and the emergency disconnection device responds quickly and performs a disconnection operation. This can quickly interrupt the connection between the charging gun and the charging pile, prevent potential problems from further developing, and ensure the safety of the charging pile.

[0043] In a second aspect of the present application, a charging pile safety monitoring device is provided, the device being a server, comprising an acquisition module, a judgment module, a processing module and an early warning module, wherein:

[0044] The acquisition module is used to acquire the corresponding pressure value sent by each pressure sensor and mark the pressure reference value when the charging gun enters the discharge state for the target vehicle;

[0045] The judgment module is used to determine a first pressure value corresponding to the first sensor, a second pressure value corresponding to the second sensor, a third pressure value corresponding to the third sensor, and a fourth pressure value corresponding to the fourth sensor if it is determined that none of the multiple pressure reference values ​​have entered a zero state after the charging gun ends the discharge state;

[0046] The processing module is used to calculate a first pressure difference between the first pressure value and the second pressure value, and calculate a second pressure difference between the third pressure value and the fourth pressure value;

[0047] The early warning module is used to preliminarily determine that the state of the charging gun is abnormal if it is determined that the value of the first pressure difference value gradually increases, the second pressure difference value gradually increases, and the first pressure difference value is less than or equal to a preset first threshold value, and the second pressure difference value is greater than or equal to a preset second threshold value.

[0048] Optionally, the judgment module is used to determine, among the multiple pressure reference values, a first pressure reference value corresponding to the first sensor, a second pressure reference value corresponding to the second sensor, a third pressure reference value corresponding to the third sensor, and a fourth pressure reference value corresponding to the fourth sensor;

[0049] The processing module is used to respectively calculate the first pressure reference value and a first change value of the first pressure value, the second pressure reference value and a second change value of the second pressure value, the third pressure reference value and a third change value of the third pressure value, and the fourth pressure reference value and a fourth change value of the fourth pressure value;

[0050] The acquisition module is used to acquire the weight value corresponding to each of the pressure sensors and the relationship weight value between any two of the pressure sensors;

[0051] The processing module is used to calculate a weighted sum of pressure changes of the plurality of pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value;

[0052] The judgment module is used to judge whether the weighted sum of pressure changes is greater than or equal to a preset pressure change threshold. If it is determined that the weighted sum of pressure changes is greater than or equal to the preset pressure change threshold, it is determined that the charging gun is in an abnormal state.

[0053] Optionally, the processing module is used to calculate the weighted sum of the pressure changes of the plurality of pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value, specifically by the following formula:

[0054] ;

[0055] Wherein, C is the weighted sum of pressure changes, P1 is the first pressure value, P2 is the second pressure value, P3 is the third pressure value, P4 is the fourth pressure value, B1 is the first pressure reference value, B2 is the second pressure reference value, B3 is the third pressure reference value, B4 is the fourth pressure reference value, w ii is the weight value of the i-th pressure sensor among the multiple pressure sensors, w ij is the relationship weight value between the ith pressure sensor and the jth pressure sensor among the multiple pressure sensors.

[0056] Optionally, the acquisition module is used to acquire the charging gun position data of the charging gun sent by the positioning module;

[0057] The acquisition module is used to acquire the charging pile location data of the pre-stored charging pile;

[0058] The judgment module is used to judge the side of the target vehicle into which the charging gun is inserted according to the charging gun position data and the charging pile position data, wherein the side includes a left side and a right side;

[0059] The judgment module is configured to determine that the target vehicle is moving away from the charging pile if it is determined that the charging gun is inserted into the right side of the target vehicle and that the second pressure difference gradually increases;

[0060] The acquisition module is used to acquire the height change data of the charging gun sent by the three-dimensional posture sensor;

[0061] The judgment module is configured to further obtain a plurality of charging gun position data sent by the positioning module if it is determined that the height of the charging gun has not changed according to the height change data;

[0062] The judgment module is used to determine that the state of the charging gun is abnormal if it is determined that the charging gun moves away from the charging pile based on the plurality of charging gun position data.

[0063] Optionally, the processing module is used to establish a preset coordinate system according to the charging pile position data, and the charging pile is located at the origin of the preset coordinate system;

[0064] The processing module is used to determine the quadrant of the preset coordinate system where the charging gun is located according to the charging gun position data;

[0065] The judgment module is used to determine that the charging gun is inserted into the right side of the target vehicle if the charging gun is located in the first quadrant of the preset coordinate system, and to determine that the charging gun is inserted into the left side of the target vehicle if the charging gun is located in the second quadrant of the preset coordinate system.

[0066] Optionally, the early warning module is used to preset sound and light warnings for the target vehicle to remind the driver of the target vehicle to stop moving the vehicle and unplug the charging gun.

[0067] Optionally, the early warning module is used to send a disconnection instruction to the emergency disconnection device according to the abnormal state of the charging gun, so that the emergency disconnection device disconnects the charging gun from the charging pile.

[0068] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.

[0069] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.

[0070] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0071] When the charging gun enters the discharge state to the target vehicle, each pressure sensor will measure the corresponding pressure value and mark these values ​​as the pressure reference value. At this time, the server will sense the pressure applied to the gun head plug when the charging gun is connected to the target vehicle. When the charging gun ends the discharge state, if multiple pressure reference values ​​do not return to the zero state, it indicates that the charging gun has not been unplugged, because once the charging gun is unplugged from the target vehicle, the gun head plug will not be compressed, and the pressure values ​​measured by all pressure sensors will be zero. Then the server calculates the first pressure difference between the upper and lower sides of the charging gun, and the second pressure difference between the left and right sides. If the first pressure difference and the second pressure difference gradually increase until the first pressure difference is less than or equal to the preset first threshold value, and the second pressure difference is greater than or equal to the preset second threshold value. It indicates that the charging gun is gradually pulled, causing the pressure on one side of the car charging port to gradually increase, so that the first pressure difference gradually increases. Furthermore, since the charging gun is connected to the charging pile by a cable, it is further determined that the charging pile will be pulled by the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 It is a flow chart of a charging pile safety monitoring method disclosed in an embodiment of the present application;

[0073] Figure 2 This is a schematic diagram of an application scenario of a charging pile safety monitoring method disclosed in an embodiment of the present application.

[0074] Figure 3 is a schematic diagram of the appearance of a charging gun disclosed in an embodiment of the present application;

[0075] Figure 4 It is a schematic diagram of generating a pressure difference disclosed in an embodiment of the present application;

[0076] Figure 5 It is a module schematic diagram of a charging pile safety monitoring device disclosed in an embodiment of the present application;

[0077] Figure 6 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.

[0078] Explanation of the accompanying drawings: 200, server; 201, first sensor; 202, second sensor; 203, third sensor; 204, fourth sensor; 205, positioning module; 206, three-dimensional posture sensor; 207, emergency disconnect device; 501, acquisition module; 502, judgment module; 503, processing module; 504, early warning module; 601, processor; 602, communication bus; 603, user interface; 604, network interface; 605, memory. DETAILED DESCRIPTION

[0079] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0080] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0081] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0082] With the development of technology, new energy vehicles are becoming more and more popular. However, most owners of new energy vehicles do not install private charging piles, but use public charging piles. Public charging piles are a kind of infrastructure that provides power charging services for new energy vehicles. These charging piles are usually located in public places, commercial areas, parking lots or city streets to meet the charging needs of new energy vehicle users during driving.

[0083] For some car owners, when the new energy vehicle is fully charged at the charging pile, they may forget to unplug the charging gun from the car and start the vehicle and drive the vehicle. The vehicle will pull the charging pile, thereby damaging the charging pile. In serious cases, the charging pile will be pulled down and cause a fire, which will cause huge economic losses.

[0084] Although most charging piles are monitored through surveillance cameras installed nearby, manual monitoring is still required. Even if there is an algorithm to automatically identify the behavior of a vehicle pulling a charging pile, in low light conditions, especially when there are multiple vehicles charging and the image content is more complicated, the accuracy of traditional image recognition is poor and it is impossible to determine whether the charging pile is being pulled because the charging gun is not unplugged. Therefore, a method is needed to automatically identify whether the charging pile is being pulled by a vehicle.

[0085] This embodiment discloses a charging pile safety monitoring method. Figure 1 , including the following steps S110-S140:

[0086] A charging pile safety monitoring method disclosed in the embodiment of the present application refers to Figure 2 The server 200 is connected to a plurality of pressure sensors, including a first sensor 201, a second sensor 202, a third sensor 203 and a fourth sensor 204. The server 200 may be a micro central control device built into the charging gun, such as a central control chip such as a CPU.

[0087] Reference Figure 3 , the first sensor 201 is arranged on the upper side wall of the gun head plug barrel of the charging gun. The first sensor 201 is preferably a patch pressure sensor, which is embedded in the outer side of the gun head plug barrel. The outer side of the sensor is flush with the outer side of the upper side wall and cannot protrude from the outer side wall. The second sensor 202 is arranged on the lower side wall of the gun head plug barrel. Because the left side wall, lower side wall and right side wall of the gun head plug barrel of the standard charging gun are all curved surfaces, the second sensor 202 is preferably a flexible pressure sensor, which is embedded in the outer side of the gun head plug barrel. Similarly, the outer surface of the sensor needs to be flush with the outer side wall. The third sensor 203 is arranged on the left side wall of the gun head plug barrel, and the fourth sensor 204 is arranged on the right side wall of the gun head plug barrel. The arrangement method of the third sensor 203 and the fourth sensor 204 refers to the second sensor 202.

[0088] S110, when the charging gun enters a discharging state for the target vehicle, the corresponding pressure value sent by each pressure sensor is obtained, and the pressure reference value is marked.

[0089] After the user connects the target vehicle to the charging gun, the charging pile discharges the target vehicle through the charging gun. Server 200 can obtain the discharge status of the charging gun to the target vehicle. At this time, the charging gun is in a state of being inserted into the car charging port. In order to jam the charging gun, the car charging port is in a compression state with the gun head plug of the charging gun, compressing the side wall of the gun head plug. At this time, multiple pressure sensors measure the pressure values ​​respectively and send the pressure values ​​to the server 200. The server 200 marks the pressure values ​​as pressure reference values, including the first pressure reference value of the first sensor 201, the second pressure reference value of the second sensor 202, the third pressure reference value of the third sensor 203, and the fourth pressure reference value of the fourth sensor 204.

[0090] S120, after the charging gun ends the discharge state, if it is determined that multiple pressure reference values ​​have not entered the zero state, then determine the first pressure value corresponding to the first sensor 201, the second pressure value corresponding to the second sensor 202, the third pressure value corresponding to the third sensor 203, and the fourth pressure value corresponding to the fourth sensor 204.

[0091] After the target vehicle is fully charged, the user should unplug the charging gun from the target vehicle. After unplugging the charging gun, the pressure values ​​measured by the four pressure sensors should all be zero, because the gun head insert is not compressed by external force, and thus no external force compresses the pressure sensor. The pressure value measured by the pressure sensor is zero, that is, the pressure reference value enters the zero state. If the user does not unplug the charging gun, the four pressure sensors measure the pressure values ​​again respectively. The first sensor 201 measures the first pressure value, the second sensor 202 measures the second pressure value, the third sensor 203 measures the third pressure value, and the fourth sensor 204 measures the fourth pressure value.

[0092] S130, calculating a first pressure difference between the first pressure value and the second pressure value, and calculating a second pressure difference between the third pressure value and the fourth pressure value.

[0093] The server 200 calculates the difference (first pressure difference) between the first pressure value corresponding to the first sensor 201 and the second pressure value corresponding to the second sensor 202 , and calculates the difference (second pressure difference) between the third pressure value corresponding to the third sensor 203 and the fourth pressure value corresponding to the fourth sensor 204 .

[0094] S140, if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to the preset first threshold, and the second pressure difference is greater than or equal to the preset second threshold, it is preliminarily determined that the charging gun is in an abnormal state.

[0095] Reference Figure 4 When the user does not unplug the charging gun after the target vehicle is fully charged and is still driving the vehicle, and the vehicle is away from the charging pile, the target vehicle moves with the charging gun. However, the charging gun is connected to the charging pile through a cable, so it will cause the charging gun to be pulled. As a result, among the pressure sensors on the left and right sides, the pressure sensor on one side is compressed by the inner wall of the car charging port and the measured pressure value gradually increases, while the pressure sensor on the other side gradually moves away from the inner wall of the car charging port, and the measured pressure value gradually decreases. As a result, the difference in the pressure values ​​measured by the two pressure sensors gradually increases.

[0096] By adopting the above technical solution, when the charging gun enters the discharge state to the target vehicle, each pressure sensor will measure the corresponding pressure value and mark these values ​​as the pressure reference value. At this time, the server 200 will sense the pressure applied to the gun head plug when the charging gun is connected to the target vehicle. When the charging gun ends the discharge state, if multiple pressure reference values ​​do not return to the zero state, it indicates that the charging gun has not been unplugged, because once the charging gun is unplugged from the target vehicle, the gun head plug will not be compressed, and the pressure values ​​measured by all pressure sensors will be zero. Then the server 200 calculates the first pressure difference between the upper and lower sides of the charging gun, and the second pressure difference between the left and right sides. If the first pressure difference and the second pressure difference gradually increase until the first pressure difference is less than or equal to the preset first threshold value, and the second pressure difference is greater than or equal to the preset second threshold value. It shows that the charging gun is gradually pulled, causing the pressure on one side of the car charging port to gradually increase, so that the first pressure difference gradually increases.

[0097] At the same time, the pulling force applied by the target vehicle to the charging gun is not completely horizontal, and there will be a difference in pressure between the upper and lower parts. The reason for the longitudinal pressure difference of the charging gun is similar to the reason for the difference in lateral pressure, but the value of the first pressure difference between the first pressure value and the second pressure value is much smaller than the second pressure difference. As the target vehicle gradually pulls the charging gun, the first pressure difference gradually increases, and the second pressure difference gradually increases. At this time, the server 200 preliminarily determines that the charging gun may be pulled, and then uses the preset sound and light warning module 504 to provide the target vehicle with a preset sound and light warning, including but not limited to flashing the warning light, and the speaker plays a voice prompt similar to "Please take out the charging gun" to remind the driver of the target vehicle to stop and pull out the charging gun from the vehicle.

[0098] After determining that the charging gun is in an abnormal state, the preset sound and light warning can remind the driver of the target vehicle in real time that an abnormal situation has occurred and that appropriate measures need to be taken. The sound and light prompts are an intuitive and obvious warning method that can quickly attract the driver's attention. Prompting the driver to unplug the charging gun further prevents problems caused by the charging gun being pulled. Unplugging the charging gun in time helps reduce potential dangers and protect the charging equipment from damage.

[0099] The first pressure difference gradually increases, and the second pressure difference also gradually increases, until the second pressure difference is greater than or equal to the preset second threshold value, and at the same time, the first pressure difference is less than or equal to the preset first threshold value, indicating that the charging gun is subjected to a large pulling force, so that the lateral second pressure difference applied by the charging port to the charging gun is greater than or equal to the preset second threshold value, at which time the server 200 preliminarily determines that the charging gun is in an abnormal state. The preset first threshold value and the preset second threshold value can be adjusted according to actual conditions, and the embodiments of the present application do not make specific limitations.

[0100] Furthermore, in order to assist in determining whether the charging gun is pulled, it is also necessary to combine the overall changes of the four pulling force values ​​to determine whether the charging gun is pulled. First, the server 200 calculates the first change value between the first pressure reference value and the first pressure value, the second change value between the second pressure reference value and the second pressure value, the third change value between the third pressure reference value and the third pressure value, and the fourth change value between the fourth pressure reference value and the fourth pressure value.

[0101] Then, the weight value corresponding to each pressure sensor and the weight value of the relationship between any two pressure sensors are obtained. According to the actual situation, the pressure values ​​of the first sensor 201 and the second sensor 202 have little effect on determining whether the charging gun is pulled, so the weight value w corresponding to the first sensor 201 is 11 , the weight value w corresponding to the second sensor 202 22 On the contrary, because the third sensor 203 and the fourth sensor 204 are arranged horizontally, the influence on judging whether the charging gun is pulled is greater, so the weight value w corresponding to the third sensor 203 is 33 , the weight value w corresponding to the fourth sensor 204 44 Larger settings.

[0102] The determination of the relationship weight value between the two pressure sensors needs to be determined according to the direction in which the charging gun is pulled. If the charging gun is inserted into the left side of the target vehicle, the third sensor 203 is closer to the front of the vehicle than the fourth sensor 204, then the relationship weight value w between the third sensor 203 and the first sensor 201 is 31 , relative to the relationship weight value W between the first sensor 201 and the second sensor 202 12 The relationship between the size of other relationship weight values ​​is derived in the same way. As for how to judge whether the charging gun is inserted into the side of the target vehicle, it will be introduced in detail below.

[0103] For the specific values ​​of weights and relationship weights, it is necessary to collect pressure values ​​measured by four sensors when the target vehicle is in charging state, and use a large amount of pressure value data to determine the weights and relationship weights through machine learning or optimization algorithms, so that the weighted sum of pressure changes when the charging gun is not pulled approaches zero, and automatically adjust according to the feedback from actual tests.

[0104] Then, the server 200 calculates the weighted sum of the pressure changes of the multiple pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value, specifically by the following formula:

[0105] ;

[0106] Wherein, C is the weighted sum of pressure changes, P1 is the first pressure value, P2 is the second pressure value, P3 is the third pressure value, P4 is the fourth pressure value, B1 is the first pressure reference value, B2 is the second pressure reference value, B3 is the third pressure reference value, B4 is the fourth pressure reference value, w ii is the weight value of the i-th pressure sensor among multiple pressure sensors, w ij is a relationship weight value between the ith pressure sensor and the jth pressure sensor among the multiple pressure sensors.

[0107] Finally, it is determined whether the weighted sum of pressure changes is greater than or equal to the preset pressure change threshold, where the preset pressure change threshold can be adjusted according to the actual situation. When the weighted sum of pressure changes is less than the preset pressure change threshold, the charging gun should be in a state of not being pulled. When the weighted sum of pressure changes is greater than or equal to the preset pressure change threshold, it indicates that the charging gun is pulled and the state is abnormal.

[0108] By introducing the calculation of the change value and weight, the server 200 can detect the abnormality of the pressure change more sensitively, and even local abnormalities or abnormalities of a few sensors can be comprehensively considered. Considering the weight value of each sensor and the weight value of the relationship between any two sensors helps to consider the contribution of different sensors to the final judgment of the charging gun state and their mutual relationship, so that the data of each sensor is comprehensively considered to more comprehensively reflect the state of the charging gun.

[0109] Furthermore, if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to the preset first threshold, and the second pressure difference is greater than or equal to the preset second threshold, then after preliminarily determining that the charging gun is in an abnormal state, the position change of the charging gun can also be used to assist in determining whether the charging gun is pulled.

[0110] Reference Figure 2 The server 200 is also connected to a positioning module 205 and a three-dimensional attitude sensor 206. The positioning module 205 is preferably a UWB positioning module 205, which is suitable for the precise positioning requirements of this application. The positioning module 205 and the three-dimensional attitude sensor 206 are both arranged inside the charging gun. The server 200 obtains the position data of the charging gun through the positioning module 205. Since the charging pile is fixed, the position data is fixed, so the pre-stored charging pile position data is obtained, including the position, direction and other information of the charging pile.

[0111] Then, according to the charging gun position data and the charging pile position data, determine the side of the target vehicle where the charging gun is inserted, and the side includes the left side and the right side. According to the charging pile position data, establish a preset coordinate system. Because only the left and right directions need to be determined, the preset coordinate system can be a two-dimensional coordinate system with the charging pile as the origin, in which the position of the charging pile is used as the origin of the coordinate system. According to the charging gun position data, the coordinate system is converted to obtain the position coordinates of the charging gun in the preset coordinate system. Determine which quadrant of the preset coordinate system the charging gun is located in. The determination of the quadrant is usually based on the positive and negative relationship of the coordinate values. If the charging gun is located in the first quadrant, it means that the charging gun is to the right relative to the charging pile, and the target vehicle is usually located directly in front of the charging pile during charging, so it can be determined that the charging gun is inserted on the right side of the target vehicle. If the charging gun is located in the second quadrant, it means that the charging gun is to the left relative to the charging pile, and the target vehicle is usually located directly in front of the charging pile during charging, so it is determined that the charging gun is inserted on the left side of the target vehicle.

[0112] By establishing a preset coordinate system with the charging pile as the origin, a clear spatial background is provided for the subsequent positional relationship. Such a coordinate system helps the server 200 understand the positional relationship of the charging gun relative to the charging pile. According to the charging gun position data, determine in which quadrant of the preset coordinate system the charging gun is located. Since the target vehicle is usually parked in front of the charging pile, the direction of the charging gun relative to the charging pile can be intuitively determined, thereby determining the side of the charging gun inserted into the target vehicle.

[0113] Then, if the server 200 determines that the charging gun is inserted into the right side of the target vehicle, and the second pressure difference gradually increases, indicating that the third sensor 203 is compressed, it is determined that the target vehicle is moving away from the charging pile. Then obtain the height change data of the charging gun sent by the three-dimensional posture sensor 206. If it is determined that the height of the charging gun has not changed according to the height change data, it indicates that the charging gun has not been unplugged. Because after the user pulls out the charging gun, the height of the charger usually changes. However, if the charging gun is not unplugged, as the vehicle moves, the movement of the vehicle within a short distance is basically translation, so the height of the charging gun will not change. Then the server 200 obtains the position data of multiple charging guns sent by the positioning module 205. According to the position data at different times, the moving direction of the charging gun is calculated. If it is determined that the charging gun is moving away from the charging pile, it is further determined that the charging gun is pulled and the state of the charging gun is abnormal.

[0114] By acquiring the charging gun position data and the pre-stored charging pile position data sent by the positioning module 205, it is possible to determine which side of the target vehicle the charging gun is inserted into. If it is determined that the charging gun is inserted into the right side of the target vehicle, and the second pressure difference gradually increases, indicating that the force on one side of the plug barrel of the charging gun gradually increases, it can be preliminarily determined that the target vehicle is moving away from the charging pile. Furthermore, if the height of the charging gun has not changed, it indicates that the charging gun has not been pulled out of the target vehicle, so that the height has not changed. Combined with the position data of the charging gun, it is determined that the charging gun is moving in the direction away from the charging pile, and it can be determined that the charging gun is being dragged by the target vehicle.

[0115] Reference Figure 2 The server 200 is also connected to an emergency disconnect device 207. The emergency disconnect device 207 is preferably arranged at the connection between the charging gun and the cable. When the server 200 determines that the charging gun is pulled, it sends a disconnection instruction to the emergency disconnect device 207. The instruction is an instruction and command to direct the operation of the electronic equipment, which can be understood as a code that specifies the execution of a certain operation or a certain control to achieve a certain function. According to the disconnection instruction, the emergency disconnect device 207 activates the electronic buckle or other electronic device to disconnect the charging gun from the cable, thereby disconnecting the charging gun from the charging pile to prevent the charging pile from being pulled down by the car. It should be noted that the technology involved in the emergency disconnect device 207 is only a conventional technical means in the relevant technical field, so the specific structure will not be further described here.

[0116] When it is determined that the charging gun is in an abnormal state, the server 200 sends a disconnection command to the emergency disconnection device 207, and the emergency disconnection device 207 responds quickly and performs a disconnection operation. This can quickly interrupt the connection between the charging gun and the charging pile, prevent potential problems from further developing, and ensure the safety of the charging pile.

[0117] This embodiment also discloses a charging pile safety monitoring device in the second aspect of the present application, the device is a server 200, referring to Figure 5 , including an acquisition module 501, a judgment module 502, a processing module 503 and an early warning module 504, wherein:

[0118] The acquisition module 501 is used to acquire the corresponding pressure value sent by each pressure sensor and mark the pressure reference value when the charging gun enters the discharge state for the target vehicle.

[0119] The judgment module 502 is used to determine the first pressure value corresponding to the first sensor 201, the second pressure value corresponding to the second sensor 202, the third pressure value corresponding to the third sensor 203, and the fourth pressure value corresponding to the fourth sensor 204 if it is determined that multiple pressure reference values ​​have not entered the zero state after the charging gun ends the discharge state.

[0120] The processing module 503 is used to calculate a first pressure difference between the first pressure value and the second pressure value, and calculate a second pressure difference between the third pressure value and the fourth pressure value.

[0121] The early warning module 504 is used to preliminarily determine that the charging gun state is abnormal if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to the preset first threshold, and the second pressure difference is greater than or equal to the preset second threshold.

[0122] In a possible implementation, the judgment module 502 is used to determine, among multiple pressure reference values, a first pressure reference value corresponding to the first sensor 201, a second pressure reference value corresponding to the second sensor 202, a third pressure reference value corresponding to the third sensor 203, and a fourth pressure reference value corresponding to the fourth sensor 204.

[0123] The processing module 503 is used to respectively calculate the first pressure reference value and the first change value of the first pressure value, the second pressure reference value and the second change value of the second pressure value, the third pressure reference value and the third change value of the third pressure value, and the fourth pressure reference value and the fourth change value of the fourth pressure value.

[0124] The acquisition module 501 is used to acquire the weight value corresponding to each pressure sensor and the relationship weight value between any two pressure sensors.

[0125] The processing module 503 is used to calculate the weighted sum of the pressure changes of the multiple pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value.

[0126] The judgment module 502 is used to judge whether the weighted sum of pressure changes is greater than or equal to a preset pressure change threshold. If it is determined that the weighted sum of pressure changes is greater than or equal to the preset pressure change threshold, it is determined that the charging gun state is abnormal.

[0127] In a possible implementation, the processing module 503 is used to calculate the weighted sum of the pressure changes of the multiple pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value, specifically by the following formula:

[0128] ;

[0129] Wherein, C is the weighted sum of pressure changes, P1 is the first pressure value, P2 is the second pressure value, P3 is the third pressure value, P4 is the fourth pressure value, B1 is the first pressure reference value, B2 is the second pressure reference value, B3 is the third pressure reference value, B4 is the fourth pressure reference value, w ii is the weight value of the i-th pressure sensor among multiple pressure sensors, wij is a relationship weight value between the ith pressure sensor and the jth pressure sensor among the multiple pressure sensors.

[0130] In a possible implementation, the acquisition module 501 is configured to acquire the charging gun position data of the charging gun sent by the positioning module 205 .

[0131] The acquisition module 501 is used to acquire the charging pile location data of the pre-stored charging pile.

[0132] The judgment module 502 is used to judge the side of the target vehicle into which the charging gun is inserted according to the charging gun position data and the charging pile position data, where the side includes the left side and the right side.

[0133] The judgment module 502 is used to determine that the target vehicle is moving away from the charging pile if it is determined that the charging gun is inserted into the right side of the target vehicle and the second pressure difference gradually increases.

[0134] The acquisition module 501 is used to acquire the height change data of the charging gun sent by the three-dimensional posture sensor 206 .

[0135] The judgment module 502 is used to further obtain multiple charging gun position data sent by the positioning module 205 if it is determined that the height of the charging gun has not changed according to the height change data.

[0136] The judgment module 502 is used to determine that the charging gun is in an abnormal state if it is determined that the charging gun moves away from the charging pile based on the plurality of charging gun position data.

[0137] In a possible implementation, the processing module 503 is used to establish a preset coordinate system according to the charging pile position data, and the charging pile is located at the origin of the preset coordinate system.

[0138] The processing module 503 is used to determine the quadrant in which the charging gun is located in the preset coordinate system according to the charging gun position data.

[0139] The judgment module 502 is used to determine that the charging gun is inserted into the right side of the target vehicle if the charging gun is located in the first quadrant of the preset coordinate system, and to determine that the charging gun is inserted into the left side of the target vehicle if the charging gun is located in the second quadrant of the preset coordinate system.

[0140] In a possible implementation, the warning module 504 is used to preset sound and light warnings for the target vehicle to remind the driver of the target vehicle to stop moving the vehicle and unplug the charging gun.

[0141] In a possible implementation, the early warning module 504 is used to send a disconnection instruction to the emergency disconnection device 207 according to the abnormal state of the charging gun, so that the emergency disconnection device 207 disconnects the connection between the charging gun and the charging pile.

[0142] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0143] This embodiment also discloses an electronic device, referring to Figure 6 The electronic device may include: at least one processor 601 , at least one communication bus 602 , a user interface 603 , a network interface 604 , and at least one memory 605 .

[0144] The communication bus 602 is used to realize the connection and communication between these components.

[0145] The user interface 603 may include a display screen (Display) and a camera (Camera). The optional user interface 603 may also include a standard wired interface and a wireless interface.

[0146] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0147] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts within the entire server 200, and executes various functions and processes data of the server 200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (ProgrammableLogic Array, PLA). The processor 601 can integrate one or a combination of a central processing unit 601 (Central Processing Unit, CPU), an image processor 601 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and can be implemented separately through a chip.

[0148] Among them, the memory 605 may include a random access memory 605 (Random Access Memory, RAM), and may also include a read-only memory 605 (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 605 may also be at least one storage device located away from the aforementioned processor 601. As shown in the figure, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface 603 module, and an application program for a charging pile safety monitoring method.

[0149] exist Figure 6In the electronic device shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 601 can be used to call an application program storing a charging pile safety monitoring method in the memory 605. When executed by one or more processors 601, the electronic device executes one or more methods in the above-mentioned embodiments.

[0150] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0151] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0152] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0155] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory 605. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 605 and includes several instructions for a computer device (which can be a personal computer, server 200 or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory 605 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.

[0156] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A charging pile safety monitoring method, It is characterized in that The method is applied to a server (200), the server (200) being connected to a plurality of pressure sensors, the plurality of pressure sensors comprising a first sensor (201), a second sensor (202), a third sensor (203) and a fourth sensor (204), the first sensor (201) being arranged on the upper side wall of a gun head insert barrel of a charging gun, the second sensor (202) being arranged on the lower side wall of the gun head insert barrel, the third sensor (203) being arranged on the left side wall of the gun head insert barrel, and the fourth sensor (204) being arranged on the right side wall of the gun head insert barrel, the method comprising: When the charging gun enters a discharging state for the target vehicle, the corresponding pressure value sent by each pressure sensor is obtained, and a pressure reference value is marked; After the charging gun ends the discharge state, if it is determined that the plurality of pressure reference values ​​have not entered a zero state, then determining a first pressure value corresponding to the first sensor (201), a second pressure value corresponding to the second sensor (202), a third pressure value corresponding to the third sensor (203), and a fourth pressure value corresponding to the fourth sensor (204); Calculating a first pressure difference between the first pressure value and the second pressure value, and calculating a second pressure difference between the third pressure value and the fourth pressure value; If it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, it is preliminarily determined that the charging gun is in an abnormal state; After preliminarily determining that the state of the charging gun is abnormal if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold value, and the second pressure difference is greater than or equal to a preset second threshold value, the method further includes: Determining, among the plurality of pressure reference values, a first pressure reference value corresponding to the first sensor (201), a second pressure reference value corresponding to the second sensor (202), a third pressure reference value corresponding to the third sensor (203), and a fourth pressure reference value corresponding to the fourth sensor (204); respectively calculating the first pressure reference value and a first change value of the first pressure value, the second pressure reference value and a second change value of the second pressure value, the third pressure reference value and a third change value of the third pressure value, and the fourth pressure reference value and a fourth change value of the fourth pressure value; Obtaining a weight value corresponding to each of the pressure sensors and a relationship weight value between any two of the pressure sensors; Calculating a weighted sum of pressure changes of the plurality of pressure sensors according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value; Determining whether the weighted sum of the pressure changes is greater than or equal to a preset pressure change threshold, and if it is determined that the weighted sum of the pressure changes is greater than or equal to the preset pressure change threshold, determining that the charging gun is in an abnormal state; The weighted sum of the pressure changes of the plurality of pressure sensors is calculated according to the first change value, the second change value, the third change value, the fourth change value, the weight value and the relationship weight value, specifically by the following formula: ; Where C is the weighted sum of pressure changes, P 1 is the first pressure value, P 2 is the second pressure value, P 3 is the third pressure value, P 4 is the fourth pressure value, B 1 is the first pressure reference value, B 2 is the second pressure reference value, B 3 is the third pressure reference value, B 4 is the fourth pressure reference value, w ii is the weight value of the i-th pressure sensor among the multiple pressure sensors, w ij is the relationship weight value between the ith pressure sensor and the jth pressure sensor among the multiple pressure sensors.

2. A charging pile safety monitoring method according to claim 1, It is characterized in that The server (200) is further connected to a positioning module (205) and a three-dimensional posture sensor (206), and the positioning module (205) and the three-dimensional posture sensor (206) are both arranged inside the charging gun. If it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, then it is preliminarily determined that the state of the charging gun is abnormal, the method further comprises: Acquiring charging gun position data of the charging gun sent by the positioning module (205); Obtaining the charging pile location data of the pre-stored charging pile; According to the charging gun position data and the charging pile position data, determining that the charging gun is inserted into a side of the target vehicle, the side including a left side and a right side; If it is determined that the charging gun is inserted into the right side of the target vehicle, according to the gradual increase of the second pressure difference, it is determined that the target vehicle is moving away from the charging pile; Acquiring height change data of the charging gun sent by a three-dimensional posture sensor (206); If it is determined according to the height change data that the height of the charging gun has not changed, then further acquiring a plurality of charging gun position data sent by the positioning module (205); If it is determined according to the plurality of charging gun position data that the charging gun moves in a direction away from the charging pile, it is determined that the state of the charging gun is abnormal.

3. A charging pile safety monitoring method according to claim 2, It is characterized in that The step of determining, based on the charging gun position data and the charging pile position data, whether the charging gun is inserted into the side of the target vehicle specifically includes: According to the charging pile position data, a preset coordinate system is established, and the charging pile is located at the origin of the preset coordinate system; Determining, according to the charging gun position data, the quadrant in which the charging gun is located in the preset coordinate system; If the charging gun is located in the first quadrant of the preset coordinate system, it is determined that the charging gun is inserted into the right side of the target vehicle. If the charging gun is located in the second quadrant of the preset coordinate system, it is determined that the charging gun is inserted into the left side of the target vehicle.

4. A charging pile safety monitoring method according to claim 1, It is characterized in that After determining that the value of the first pressure difference gradually increases and the second pressure difference gradually increases, the method further includes: A preset sound and light warning is given to the target vehicle to remind the driver of the target vehicle to stop moving the vehicle and unplug the charging gun.

5. A charging pile safety monitoring method according to claim 1, It is characterized in that The server (200) is further connected to an emergency disconnect device (207), the emergency disconnect device (207) being arranged at the rear of the charging gun, and if it is determined that the value of the first pressure difference gradually increases, the second pressure difference gradually increases, and the first pressure difference is less than or equal to a preset first threshold, and the second pressure difference is greater than or equal to a preset second threshold, then after preliminarily determining that the state of the charging gun is abnormal, the method further comprises: According to the abnormal state of the charging gun, a disconnection instruction is sent to the emergency disconnection device (207), so that the emergency disconnection device (207) disconnects the connection between the charging gun and the charging pile.

6. A charging pile safety monitoring device, It is characterized in that The device is used to execute the method according to any one of claims 1 to 5, the device is a server (200), comprising an acquisition module (501), a judgment module (502), a processing module (503) and an early warning module (504), wherein: The acquisition module (501) is used to acquire the corresponding pressure value sent by each pressure sensor and mark the pressure reference value when the charging gun enters the discharge state for the target vehicle; The judgment module (502) is used to determine, after the charging gun ends the discharge state, a first pressure value corresponding to the first sensor (201), a second pressure value corresponding to the second sensor (202), a third pressure value corresponding to the third sensor (203), and a fourth pressure value corresponding to the fourth sensor (204), if it is determined that none of the multiple pressure reference values ​​have entered the zero state; The processing module (503) is used to calculate a first pressure difference between the first pressure value and the second pressure value, and to calculate a second pressure difference between the third pressure value and the fourth pressure value; The early warning module (504) is used to preliminarily determine that the state of the charging gun is abnormal if it is determined that the value of the first pressure difference value gradually increases, the second pressure difference value gradually increases, and the first pressure difference value is less than or equal to a preset first threshold value, and the second pressure difference value is greater than or equal to a preset second threshold value.

7. An electronic device, It is characterized in that The electronic device comprises a processor (601), a memory (605), a user interface (603) and a network interface (604), wherein the memory (605) is used to store instructions, the user interface (603) and the network interface (604) are both used to communicate with other devices, and the processor (601) is used to execute the instructions stored in the memory (605) so that the electronic device executes the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 5 is performed.