A new energy vehicle charging control method, system, medium and program product

By real-time detection and analysis of parameters such as charging current and temperature, combined with image monitoring, the safety and efficiency issues caused by data anomalies during the charging process of new energy vehicles have been resolved, thereby improving both safety and efficiency.

CN120863396BActive Publication Date: 2026-06-26SHENZHEN ARIZA ELECTRONIC CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN ARIZA ELECTRONIC CO LTD
Filing Date
2025-07-29
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies make it difficult to disconnect the charging connection in a timely manner when data is abnormal during the charging process of new energy vehicles, which increases the risk of safety accidents and reduces charging efficiency.

Method used

By real-time monitoring of charging current, battery temperature, and ambient temperature, a charging current coordinate system is established, the slope is calculated, and combined with real-time power level, it is determined whether the charging connection needs to be disconnected. The data is smoothed using a local weighted regression algorithm, and camera images are received for safety monitoring. In case of abnormality, a power-off command and prompt message are sent.

Benefits of technology

It improves the safety and efficiency of charging new energy vehicles, reduces unnecessary charging interruptions, provides timely warnings and power outage measures, and avoids safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120863396B_ABST
    Figure CN120863396B_ABST
Patent Text Reader

Abstract

A new energy vehicle charging control method, system, medium and program product, in the method, the charging current of the charging device, new energy vehicle data and environmental temperature are detected in real time; a charging current coordinate system is established with current as the vertical axis and time as the horizontal axis, and the charging current is labeled in the charging current coordinate system to obtain a charging current curve; the slope of the charging current curve is calculated, and in the case of determining that the slope is less than a preset threshold, it is judged whether the real-time power is greater than a first preset power; if the real-time power is not greater than the first preset power, it is judged whether the battery temperature is within a preset battery temperature range; if the battery temperature is within the preset battery temperature range, it is judged whether the environmental temperature is within a preset environmental temperature range; if the environmental temperature is within the preset environmental temperature range, a power-off instruction is sent to the charging device to stop supplying power to the new energy vehicle. The safety and charging efficiency of the new energy vehicle charging are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of manufacturing facilities related to new energy vehicles, and in particular relates to a charging control method, system, medium and program product for new energy vehicles. Background Technology

[0002] With the rapid development and innovation in the new energy sector, related industries are growing stronger. These include new energy vehicles, which reduce carbon emissions and have lower refueling costs than traditional gasoline vehicles, driving a large-scale demand for charging infrastructure.

[0003] In related technologies, after a new energy vehicle is connected to a charging device, the charging device monitors the vehicle's real-time status, typically checking whether the charging current is normal, whether leakage has occurred, and whether the battery temperature is normal. If one or more of these data points become abnormal, the charging device will automatically disconnect from the charging connection to the new energy vehicle.

[0004] However, the aforementioned technical solution only disconnects the charging connection to the new energy vehicle when data anomalies occur. If the duration of the data anomaly is very short, it could lead to a safety accident, as the charging equipment may not be able to disconnect the charging connection to the new energy vehicle in a timely manner. Furthermore, when data anomalies occur, it may not be a malfunction of the charging equipment or the new energy vehicle. If the charging equipment directly and automatically disconnects the charging connection to the new energy vehicle, it will reduce the charging efficiency of the new energy vehicle. Summary of the Invention

[0005] This application provides a charging control method, system, medium, and program product for new energy vehicles, which is used to detect the charging status of new energy vehicles in real time. When the charging current shows a downward trend, it determines whether it is necessary to disconnect the charging equipment from the new energy vehicle by determining whether various data are within the normal range, thereby improving the safety and charging efficiency of new energy vehicle charging.

[0006] In the first aspect, this application provides a charging control method for new energy vehicles, which, when it is determined that the new energy vehicle has started charging, detects the charging current of the charging equipment, the data of the new energy vehicle and the ambient temperature in real time. The charging current includes the charging current value and the time point corresponding to the charging current value, and the data of the new energy vehicle includes the real-time power of the new energy vehicle and the battery temperature.

[0007] Establish a charging current coordinate system with current as the vertical axis and time as the horizontal axis, and mark the charging current on the charging current coordinate system to obtain the charging current curve;

[0008] Calculate the slope of the charging current curve. If the slope is less than a preset threshold, determine whether the real-time power is greater than a first preset power. When the real-time power is the first preset power, the new energy vehicle switches from DC charging to AC charging.

[0009] If the real-time battery level is not greater than the first preset battery level, then determine whether the battery temperature is within the preset battery temperature range.

[0010] If the battery temperature is within the preset battery temperature range, then determine whether the ambient temperature is within the preset ambient temperature range.

[0011] If the ambient temperature is within the preset range, a power-off command is sent to the charging equipment to stop supplying power to the new energy vehicle.

[0012] By adopting the above technical solution, the system can intuitively reflect the changes in current during the charging process by detecting the charging current in real time and plotting the charging current curve. Secondly, by calculating the slope of the charging current curve, the trend of the charging rate can be determined. When the slope is less than a preset threshold, it indicates that the charging rate is gradually slowing down. At this point, it is necessary to combine factors such as real-time battery level, battery temperature, and ambient temperature to reasonably control the charging process. Based on multiple factors such as charging current, new energy vehicle data, and ambient temperature, the system achieves real-time detection of the charging status of new energy vehicles. When the charging current shows a downward trend, it determines whether the charging connection between the charging equipment and the new energy vehicle needs to be disconnected by checking whether various data are within the normal range, thereby improving the safety and efficiency of new energy vehicle charging.

[0013] In conjunction with some embodiments of the first aspect, in some embodiments, after sending a power-off command to the charging device to stop the charging device from supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes:

[0014] If the ambient temperature is not within the preset ambient temperature range, a prompt message will be sent to the mobile terminal bound to the new energy vehicle. The prompt message will indicate that the new energy vehicle is charging safely.

[0015] If the battery temperature is not within the preset battery temperature range, a prompt message will be sent to the mobile terminal bound to the new energy vehicle.

[0016] If the real-time battery level exceeds the first preset battery level, a notification message will be sent to the mobile terminal linked to the new energy vehicle.

[0017] By adopting the above technical solution, when the ambient temperature is outside the preset range, the system will send a prompt message to the owner's mobile terminal, indicating that the vehicle is in a safe state. Similarly, when the battery temperature is abnormal or the real-time battery level exceeds a first preset level, a prompt message will also be issued, providing users with a reference to judge the charging status and improving the safety and efficiency of charging new energy vehicles.

[0018] In conjunction with some embodiments of the first aspect, in some embodiments, a charging current coordinate system is established with current as the vertical axis and time as the horizontal axis, and the charging current is marked in the charging current coordinate system to obtain a charging current curve, specifically including:

[0019] Establish a charging current coordinate system with current as the vertical axis and time as the horizontal axis;

[0020] Based on the charging current value and time point corresponding to the charging current, the charging current is marked on the charging current coordinate system to obtain several data points;

[0021] Connect all the data points to obtain the initial charging current curve;

[0022] The initial charging current curve is processed using a local weighted regression algorithm to obtain the charging current curve.

[0023] By employing the above technical solution and using a local weighted regression algorithm to smooth the initial curve, random noise in the data can be effectively removed, resulting in a more stable and smoother curve. Mathematically, local weighted regression, through weighted fitting of the neighborhood of each data point, can overcome the influence of local fluctuations while maintaining the overall shape of the curve. Therefore, the processed charging current curve can more accurately reflect the trend of current change over time. The slope value calculated based on this curve is also more reliable, providing a more accurate basis for judging the charging rate.

[0024] In conjunction with some embodiments of the first aspect, in some embodiments, after sending a power-off command to the charging device to stop the charging device from supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes:

[0025] Receives real-time images from a camera installed within a preset range of the charging device;

[0026] If it is determined from real-time images that there are people within a preset range, an alarm command is sent to the alarm device to start the alarm device according to the alarm command.

[0027] The charging equipment using the aforementioned technical solutions requires a large current, and equipment malfunctions or human error could lead to safety accidents such as electric shock and fire. Therefore, real-time monitoring of the charging site is crucial. By receiving real-time images from cameras, the system can determine in real time whether anyone is approaching. Once personnel are detected entering a preset danger zone, the system immediately triggers an alarm to alert on-site personnel to evacuate promptly and prevent accidents. Simultaneously, the warning sound also attracts the attention of vehicle owners and staff, reminding them to take emergency measures, thus improving the safety of charging new energy vehicles.

[0028] In conjunction with some embodiments of the first aspect, in some embodiments, after determining that there are people within a preset range based on real-time images, and sending an alarm command to the alarm device to cause the alarm device to start operating according to the alarm command, the method further includes:

[0029] Based on real-time images, identify several other new energy vehicles that are charging within a preset range;

[0030] Send a power-off command to several other charging devices to stop all of them from supplying power to all of the other new energy vehicles. Each of the other charging devices corresponds to one of the other new energy vehicles.

[0031] By adopting the above technical solution, the system analyzes the camera footage to identify other new energy vehicles charging within a preset range and sends a power-off command to the corresponding charging equipment, which can prevent accidents from happening to other charging equipment and effectively improve the safety of charging new energy vehicles.

[0032] In conjunction with some embodiments of the first aspect, in some embodiments, after sending a power-off command to several other charging devices to cause all several other charging devices to stop supplying power to all several other new energy vehicles, the method further includes:

[0033] Generate restricted access information, which includes a preset range and restricted time period;

[0034] Send the prohibition information to the display device so that the display device can display the prohibition information.

[0035] By adopting the above technical solution, a no-entry information is generated, which includes a preset range and a restricted time period. The no-entry information is then sent to a display device to display the no-entry information, allowing other personnel to be aware of the safety hazards within the preset range in a timely manner, informing them of the dangerous area and its duration, and effectively improving the safety of charging new energy vehicles.

[0036] In conjunction with some embodiments of the first aspect, in some embodiments, after sending a power-off command to the charging device to stop the charging device from supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes:

[0037] Generate a warning message;

[0038] Identify several other mobile terminals that are bound to all other new energy vehicles;

[0039] Warning messages are sent to the mobile terminal, all other mobile terminals, and the monitoring terminal, which is a terminal that communicates with the charging device.

[0040] By adopting the above technical solution, when the charging equipment malfunctions, a warning message is generated in a timely manner and sent to the mobile terminal, all other mobile terminals, and the monitoring terminal. The monitoring terminal is a terminal that communicates with the charging equipment, which enables vehicle owners and managers to quickly understand the potential safety accident and provides a basis for subsequent decision-making by vehicle owners and managers.

[0041] In a second aspect, embodiments of this application provide a system comprising: one or more processors and a memory; the memory being coupled to one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, and the one or more processors invoking the computer instructions to cause the system to perform the method as described in the first aspect and any possible implementation thereof.

[0042] Thirdly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a system, cause the system to perform the method described in the first aspect and any possible implementation thereof.

[0043] Fourthly, embodiments of this application provide a computer program product, characterized in that, when the computer program product is run on a system, it causes the system to execute the method described in any possible implementation of the first aspect.

[0044] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0045] 1. This application provides a charging control method for new energy vehicles. The system detects the charging current in real time and plots a charging current curve, which can intuitively reflect the changes in current during the charging process. Secondly, by calculating the slope of the charging current curve, the trend of the charging rate can be determined. When the slope is less than a preset threshold, it indicates that the charging rate is gradually slowing down. At this point, it is necessary to combine factors such as real-time battery level, battery temperature, and ambient temperature to reasonably control the charging process. Based on multiple factors such as charging current, new energy vehicle data, and ambient temperature, the system achieves real-time detection of the charging status of the new energy vehicle. When the charging current shows a downward trend, it determines whether the charging connection between the charging equipment and the new energy vehicle needs to be disconnected by checking whether various data are within the normal range, thereby improving the safety and efficiency of new energy vehicle charging.

[0046] 2. This application provides a charging control method for new energy vehicles. When the ambient temperature is outside a preset range, the system will send a prompt message to the vehicle owner's mobile terminal, indicating that the vehicle is in a safe state. Similarly, when the battery temperature is abnormal or the real-time battery level exceeds a first preset level, a prompt message will also be issued, providing a reference for the user to judge the charging status and improving the safety and efficiency of charging new energy vehicles.

[0047] 3. This application provides a charging control method for new energy vehicles. The system analyzes the camera footage to identify other new energy vehicles charging within a preset range and sends a power-off command to the corresponding charging equipment. This can prevent accidents from happening to other charging equipment and effectively improve the safety of charging new energy vehicles. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating a new energy vehicle charging control method in an embodiment of this application.

[0049] Figure 2 This is another schematic diagram of a new energy vehicle charging control method in the embodiments of this application.

[0050] Figure 3 This is a schematic diagram of the physical structure of a new energy vehicle charging control system provided in an embodiment of this application. Detailed Implementation

[0051] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0052] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0053] The following describes one application scenario of this application:

[0054] Globally, with the increasing popularity of new energy vehicles, the construction of related supporting facilities, especially charging infrastructure, is also rapidly expanding. However, with the widespread deployment of charging facilities, charging safety has become a major concern. Data monitoring and anomaly handling during the charging process are particularly crucial, but existing technologies still have certain limitations.

[0055] A real-world issue concerning charging safety and efficiency was revealed at a new energy vehicle charging station. This station is equipped with state-of-the-art fast-charging equipment, capable of providing efficient charging services for new energy vehicles. One afternoon, an electric vehicle connected to a charging station. Shortly after charging began, the charging equipment's monitoring system detected a sudden, brief, abnormal fluctuation in the current, which could typically be caused by unstable grid pressure or fluctuations in the vehicle's battery condition.

[0056] Under current technology, charging equipment automatically disconnects the charging connection when it detects such anomalies to prevent potential safety accidents. However, this also interrupts the charging process, requiring the driver to restart it, which not only affects charging efficiency but also increases waiting time. Furthermore, since the data anomalies are short-lived and do not pose a real safety risk, such frequent interruptions are clearly unnecessary. However, failure to promptly disconnect the power could potentially lead to a safety accident.

[0057] To address the aforementioned technical issues, this application provides a new energy vehicle charging control method, system, medium, and program product for real-time detection of the charging status of new energy vehicles. When the charging current shows a downward trend, the system determines whether the charging connection between the charging equipment and the new energy vehicle needs to be disconnected by checking whether various data are within the normal range, thereby improving the safety and efficiency of new energy vehicle charging.

[0058] The following is combined with Figure 1 The present application describes a charging control method for a new energy vehicle in its embodiments:

[0059] Please see Figure 1 This is a flowchart illustrating a new energy vehicle charging control method in an embodiment of this application.

[0060] S101. When it is determined that the new energy vehicle has started charging, the charging current of the charging equipment, the data of the new energy vehicle and the ambient temperature are monitored in real time.

[0061] Once the system determines that the new energy vehicle has started charging, it monitors the charging current of the charging equipment, the new energy vehicle data, and the ambient temperature in real time. The charging current includes the charging current value and the time point corresponding to the charging current value. The new energy vehicle data includes the real-time power level and battery temperature of the new energy vehicle.

[0062] The system first needs to determine whether the new energy vehicle has started charging. This can be achieved by detecting the connection status between the charging gun and the vehicle. When it detects that the charging gun has been inserted into the vehicle's charging port and the vehicle has entered charging mode, it can be determined that the new energy vehicle has started charging.

[0063] Once the vehicle is confirmed to be charging, the system begins real-time monitoring of three key parameters: the charging current of the charging equipment, the vehicle's own data, and the ambient temperature. The charging current data includes the real-time current value and the corresponding time point. This is achieved by installing a current sensor on the charging equipment, which collects the current value at a certain frequency (e.g., 10 times per second) and records the collected data along with a timestamp, forming a current-time data pair. The vehicle's data mainly includes the real-time battery charge and temperature. This data can be obtained through the battery management system (BMS). The BMS typically monitors battery voltage, current, temperature, and other parameters in real time and can calculate the remaining battery charge (State of Charge, SOC). Ambient temperature can be measured by installing a temperature sensor near the charging equipment.

[0064] For example, assuming the system collects data once per second, a complete charging process will yield a series of data points, such as: {(0s, 50A, 20%, 25°C, 26°C), (1s, 50A, 20%, 25°C, 26°C), ..., (1800s, 10A, 100%, 35°C, 26°C)}. These data points contain information on the charging current, battery capacity, battery temperature, and ambient temperature at each moment during the charging process, providing a foundation for subsequent data analysis.

[0065] S102. Establish a charging current coordinate system with current as the vertical axis and time as the horizontal axis, and mark the charging current in the charging current coordinate system to obtain the charging current curve.

[0066] After acquiring the charging current of the charging device, the data of the new energy vehicle, and the ambient temperature, the system establishes a charging current coordinate system with current as the vertical axis and time as the horizontal axis, and marks the charging current in the charging current coordinate system to obtain the charging current curve. Specifically: a charging current coordinate system is established with current as the vertical axis and time as the horizontal axis;

[0067] Based on the charging current value and time point corresponding to the charging current, the charging current is marked on the charging current coordinate system to obtain several data points;

[0068] Connect all the data points to obtain the initial charging current curve;

[0069] The initial charging current curve is processed using a local weighted regression algorithm to obtain the charging current curve.

[0070] First, the system establishes a two-dimensional coordinate system with current as the vertical axis and time as the horizontal axis. Then, the current value collected at each time point is marked on the corresponding position in the coordinate system, forming discrete data points. For example, if the current value is 50A at the 10th second after charging begins, a data point (10, 50) with 50A can be marked at the horizontal axis position of 10s. By marking all the collected current-time data pairs on the coordinate system in this way, a series of discrete data points are obtained, reflecting the instantaneous values ​​of the charging current at different times.

[0071] To more intuitively reflect the current variation trend, the system can connect these discrete data points to obtain an initial charging current curve. However, since the actual collected data often contains fluctuations and noise, the curve obtained by directly connecting the data points may not be smooth enough and may not accurately reflect the overall current variation trend. To solve this problem, the system can use some data smoothing and fitting algorithms, such as Locally Weighted Regression (LOWESS), to process the initial curve and obtain a smoother charging current curve that better reflects the overall trend.

[0072] For example, suppose the system collects the following data points: (0s, 50A), (10s, 50A), (20s, 49A), (30s, 51A), (40s, 48A). Connecting these points directly yields an initial curve in the shape of a broken line. However, this curve exhibits some jagged fluctuations, possibly caused by measurement errors or other factors. Smoothing using algorithms such as LOWESS yields a smoother curve, such as (0s, 50A), (10s, 50A), (20s, 49.5A), (30s, 49A), (40s, 48.5A). This smoothed curve more accurately reflects the overall trend of the charging current decreasing over time.

[0073] S103. Calculate the slope of the charging current curve. If the slope is less than a preset threshold, determine whether the real-time power is greater than the first preset power.

[0074] The system calculates the slope of the charging current curve based on the charging current curve itself. If the slope is less than a preset threshold, it determines whether the real-time battery level is greater than a first preset battery level. When the slope is less than the preset threshold, it indicates that the charging current is decreasing. When the real-time battery level reaches the first preset battery level, the new energy vehicle switches from DC charging to AC charging. During DC charging, the new energy vehicle is in the fast charging stage; during AC charging, the new energy vehicle is in the slow charging stage.

[0075] After obtaining the charging current curve, the system needs to further analyze the curve's characteristics to determine if any abnormalities have occurred during the charging process. An important characteristic is the slope of the curve, which reflects the rate at which the charging current changes over time.

[0076] The system can obtain the slope of a curve by calculating the slope between two adjacent points on the curve. Specifically, for any two adjacent data points (t1, I1) and (t2, I2) on the curve, the slope k between them can be calculated using the following formula: k = (I2 - I1) / (t2 - t1)

[0077] Where I1 and I2 represent the charging current values ​​at times t1 and t2, respectively.

[0078] Under normal charging conditions, as the battery level increases, the charging current gradually decreases until it is fully charged. Therefore, the slope of the charging current curve should typically be negative, indicating that the current is decreasing over time. If the system detects that the slope of the curve is less than a preset threshold (e.g., -0.1 A / s), it can determine that the current charging current is decreasing at a certain rate, which is usually a characteristic of a normal charging process.

[0079] When the charging current shows a downward trend, the system needs to further determine whether the current battery level has reached a certain level. This is because, at a low battery level, the decrease in charging current may be due to factors such as increased internal resistance of the battery, and does not necessarily mean that the battery is fully charged.

[0080] The system can determine whether the battery has entered a high-charge stage by reading real-time battery data reported by the new energy vehicle's BMS and comparing it with a preset battery threshold (such as 80%). If the real-time battery level is already greater than this threshold, the decrease in charging current is likely because the battery is close to being fully charged, rather than due to other abnormal reasons.

[0081] For example, suppose the system detects that one hour after charging begins, the charging current drops from 50A to 20A, exceeding the preset threshold of -0.1A / s. Simultaneously, the vehicle's BMS reports a real-time battery level of 85%, higher than the preset threshold of 80%. In this situation, the system can infer that the decrease in charging current is due to the battery reaching full charge, rather than a malfunction in the charging equipment or the battery itself. The system can continue monitoring other data to further confirm whether the charging process is normal.

[0082] It's important to note that the real-time battery level threshold needs to be set based on the battery characteristics and charging curves of different vehicle models. Generally, for lithium-ion batteries, the charging current begins to decrease significantly when the battery level reaches around 80%, entering a constant-voltage charging phase. However, different battery materials and battery management strategies may cause this threshold to vary. Therefore, this threshold needs to be adjusted and optimized according to actual conditions.

[0083] S104. Determine whether the battery temperature is within the preset battery temperature range;

[0084] If the real-time battery level is not greater than the first preset battery level, then determine whether the battery temperature is within the preset battery temperature range. The preset battery temperature range is the temperature range when the new energy vehicle battery is charging normally.

[0085] If the system determines that the real-time battery level has not yet reached the preset high battery threshold, the decrease in charging current may be due to other factors. Further checks of data such as battery temperature are needed to rule out the possibility of battery malfunction.

[0086] Battery temperature is a crucial factor affecting the safety of the charging process. During normal charging, the battery temperature should remain within a reasonable range, neither too high nor too low. If the battery temperature exceeds this range, it may lead to abnormal changes in the charging current, or even cause a safety accident.

[0087] The system can determine whether the battery temperature is normal by comparing real-time collected battery temperature data with a preset temperature range. This temperature range can be set based on factors such as the battery's material characteristics and environmental conditions. For example, for a certain lithium-ion battery, the normal charging temperature range might be 0°C to 45°C. If the system detects that the battery temperature exceeds this range, it can determine that there is an abnormal battery temperature and appropriate measures need to be taken.

[0088] For example, suppose the system detects that the battery temperature has reached 50°C during charging, which is significantly higher than the preset upper limit of the normal range of 45°C. Although the charging current may not have decreased significantly at this time, the system can determine from the battery temperature data that the battery may be at risk of overheating and needs to adjust the charging strategy in time or stop charging to ensure safety.

[0089] Acquiring and analyzing battery temperature data is crucial for ensuring charging safety. Modern new energy vehicles typically have a Battery Management System (BMS) equipped with multiple temperature sensors to monitor the battery's surface and internal temperatures in real time. The system can comprehensively assess the battery's temperature status by reading the temperature data reported by the BMS and combining it with factors such as ambient temperature, enabling timely detection and handling of temperature anomalies.

[0090] S105. Determine whether the ambient temperature is within the preset ambient temperature range;

[0091] If the battery temperature is within the preset battery temperature range, then it is determined whether the ambient temperature is within the preset ambient temperature range. The preset ambient temperature range is the temperature range that does not affect the normal charging of the new energy vehicle battery.

[0092] Besides battery temperature, ambient temperature is also a significant external factor affecting the charging process. Harsh ambient temperature conditions, such as extreme high or low temperatures, can adversely affect battery charging, leading to abnormal changes in the charging current. Therefore, after ruling out abnormal battery temperature, the system also needs to check whether the ambient temperature is within the normal range.

[0093] Similar to battery temperature, the system can preset a suitable ambient temperature range for charging. Determining this range requires considering factors such as battery characteristics and the performance of the charging equipment. For example, some charging devices may only operate normally in ambient temperatures between -20°C and 50°C. If the ambient temperature exceeds this range, even if the battery temperature is normal, the charging current may exhibit abnormal changes.

[0094] The system can collect ambient temperature data in real time by deploying ambient temperature sensors near the charging equipment. When the charging current changes abnormally and the battery temperature is normal, the system compares the ambient temperature with a preset range to determine if there is an abnormality. If the ambient temperature exceeds the normal range, the system can issue a warning to the user, indicating that the ambient temperature may affect charging performance, or suggest that the user move the vehicle to a location with a suitable temperature for charging.

[0095] For example, suppose a vehicle's normal charging ambient temperature range is set to -10°C to 45°C. During a charging process in winter, the system detects an abnormal drop in charging current, but the battery temperature data shows a temperature of 15°C, within the normal range. The system then further checks the ambient temperature and finds it to be -15°C, below the preset lower limit of -10°C. Based on this, the system can determine that the abnormal charging current is likely caused by the low ambient temperature. The system can then prompt the user to move the vehicle indoors or use the vehicle's built-in battery heating function to ensure charging performance.

[0096] S106. Send a power-off command to the charging equipment to stop the charging equipment from supplying power to the new energy vehicle.

[0097] If the ambient temperature is within the preset range, a power-off command is sent to the charging equipment to stop supplying power to the new energy vehicle. If the above three data points are ruled out as abnormal, it can be determined that either the charging equipment or the new energy vehicle has malfunctioned.

[0098] Once the system has ruled out factors such as battery charge level, battery temperature, and ambient temperature as possible causes of charging abnormalities through the previous steps, it can preliminarily deduce that the abnormal drop in charging current is likely caused by a malfunction in the charging equipment or the new energy vehicle itself. In this case, to prevent the malfunction from worsening and to protect the safety of the vehicle and equipment, the system needs to promptly stop charging.

[0099] Specifically, the system can send a power-off command to the charging device, requesting it to stop supplying power to the vehicle. This command can be implemented through the communication protocol between the charging device and the vehicle, such as the control messages specified in standards like GB / T27930-2015 "Communication Protocol between Off-board Conductive Charger and Battery Management System for Electric Vehicles".

[0100] In practical applications, the transmission of power-off commands requires a certain fault-tolerance mechanism to prevent unnecessary charging interruptions caused by misoperation or communication failures. For example, before sending the power-off command, the system can reconfirm whether various data are abnormal and communicate with the vehicle's BMS to verify the vehicle's current status. Only after multiple confirmations are successful will the final power-off operation be executed.

[0101] Upon receiving the power-off command, the charging equipment should immediately cease output and disconnect its electrical connection to the vehicle. Simultaneously, the system should send a charging stop notification to the vehicle's BMS, instructing it to enter a shutdown state, and record various data at the time of power failure, such as cumulative charging time, charging capacity, and battery voltage, current, and temperature, for subsequent fault analysis and maintenance.

[0102] For example, suppose the system detects an abnormal drop in charging current while charging a vehicle, even though battery level, temperature data, and ambient temperature are all within normal ranges. The system first sends a status query message to the vehicle's BMS (Battery Management System), which replies confirming that the vehicle and battery are currently in normal condition. Based on this, the system sends a charging stop message, as specified in GB / T27930-2015, to the charging equipment, requesting it to stop charging. Upon receiving the message, the charging equipment immediately shuts down its output relay, disconnecting the charging connection from the vehicle. Simultaneously, the system sends a charging end message to the BMS, causing the BMS to enter a shutdown state and log the start and end times of the charging, the charging level, and the reason for termination. The system also saves key data from the power outage to the server for subsequent fault diagnosis.

[0103] S107. Send a notification message to the mobile terminal that is linked to the new energy vehicle.

[0104] If one or more of the following conditions are met: the ambient temperature is not within the preset ambient temperature range, the battery temperature is not within the preset battery temperature range, or the real-time battery charge is greater than the first preset battery charge, it indicates that the charging current is affected by other factors and there is no safety hazard. In this case, the system sends a prompt message to the mobile terminal bound to the new energy vehicle, which indicates that the charging of the new energy vehicle is safe.

[0105] The above embodiments have the following beneficial effects:

[0106] The system monitors the charging current in real time and plots a charging current curve, providing a clear view of current changes during charging. Secondly, by calculating the slope of the charging current curve, the system can determine the trend of the charging rate. When the slope is less than a preset threshold, it indicates that the charging rate is gradually slowing down. At this point, it is necessary to combine factors such as real-time battery level, battery temperature, and ambient temperature to rationally control the charging process. Based on multiple factors including charging current, new energy vehicle data, and ambient temperature, the system achieves real-time monitoring of the charging status of new energy vehicles. When the charging current shows a downward trend, it determines whether the charging connection between the charging equipment and the new energy vehicle needs to be disconnected by checking whether various data are within the normal range, thereby improving the safety and efficiency of new energy vehicle charging.

[0107] When the ambient temperature is outside the preset range, the system will send a notification to the owner's mobile device, indicating that the vehicle is in a safe condition. Similarly, when the battery temperature is abnormal or the real-time battery level exceeds a first preset level, a notification will also be issued, providing the user with a reference for judging the charging status and improving the safety and efficiency of charging new energy vehicles.

[0108] Smoothing the initial curve using a locally weighted regression algorithm effectively removes random noise from the data, resulting in a more stable and smoother curve. Mathematically, locally weighted regression, by weighting and fitting the neighborhood of each data point, can overcome the influence of local fluctuations while maintaining the overall shape of the curve. Therefore, the processed charging current curve more accurately reflects the trend of current change over time. The slope value calculated based on this curve is also more reliable, providing a more accurate basis for judging the charging rate.

[0109] Even after disconnecting the charging equipment from the power supply to the new energy vehicle, it is still necessary to further prevent safety accidents. The following will combine... Figure 2 The following describes how this application avoids potential security risks:

[0110] Please see Figure 2 This is another flowchart illustrating a new energy vehicle charging control method in an embodiment of this application.

[0111] S201, Receive real-time images sent by the camera;

[0112] The system receives real-time images from cameras installed within a preset range of the charging equipment, such as around charging piles or near charging parking spaces. Their function is to monitor personnel activity and vehicle status within the charging area in real time, providing visual information for subsequent safety management.

[0113] Cameras can employ various types of imaging devices, such as CCD and CMOS, with different parameters including resolution, frame rate, and color mode. To meet the needs of real-time monitoring, camera image transmission is typically digital, such as transmitting image data to the monitoring system via Ethernet or USB interfaces. The system decodes and processes this data to obtain real-time video footage of the charging site.

[0114] For example, suppose the system connects to four 1080P network cameras, installed in the four corners of the charging area. These cameras transmit H.264 encoded video streams to the system via Ethernet at a frame rate of 25 FPS. The system uses a video decoder to decode these video streams into an RGB format image sequence, with each image having a resolution of 1920×1080 pixels. The system can then stitch and correct these four images to generate a panoramic image covering the entire charging area for subsequent analysis and processing.

[0115] S202. If it is determined from the real-time image that there are people within the preset range, send an alarm command to the alarm device to make the alarm device start running according to the alarm command.

[0116] After acquiring real-time images of the charging area, the system needs to analyze the image content to determine if any safety hazards exist. One important analytical task is to identify whether personnel are present in the image. During the charging process, unauthorized personnel approaching the charging equipment may cause various safety issues, such as electric shock or mechanical injury. Therefore, when the system detects personnel in the charging area, it needs to issue a timely warning to remind them to stay away.

[0117] The system can employ various image recognition and object detection algorithms to automatically identify people in images. Commonly used algorithms include feature-based methods (such as Haar features, HOG features, etc.) and deep learning-based methods (such as CNN, YOLO, etc.). These algorithms can locate and identify people in images by extracting human features from them and comparing them with pre-trained models.

[0118] When the system detects personnel in an image, it sends an alarm command to the alarm device. This alarm device can be an audible and visual alarm, a warning sign, etc., used to remind personnel to be aware of safety and leave the charging area immediately. Upon receiving the command, the alarm device will activate according to the instructions, such as emitting a siren or flashing warning lights. Simultaneously, the system can also send voice or text prompts to personnel on site via broadcasts or SMS to further enhance the warning effect.

[0119] For example, suppose the system, while analyzing an image, identifies a person in work clothes approaching a vehicle that is charging. The system immediately sends an alarm command to a group of nearby audible and visual alarms, instructing them to sound their horns for 10 seconds and flash red warning lights. The alarms sound a piercing siren accompanied by a bright light effect, alerting people on site. Simultaneously, the system also broadcasts a voice prompt to the occupants of the vehicle via the in-vehicle loudspeaker: "Warning, unauthorized personnel detected approaching the charging area. Please maintain a safe distance!" This combination of warnings effectively improves people's safety awareness and reduces the risk of accidents.

[0120] S203. Based on real-time images, identify several other new energy vehicles that are charging within a preset range;

[0121] In addition to monitoring personnel activity, the system also needs to keep track of the charging status of other vehicles within the charging area in real time. This information is crucial for coordinating charging resources and preventing cascading accidents. By analyzing images captured by cameras, the system can identify other new energy vehicles charging within the charging area.

[0122] To achieve vehicle recognition, the system can employ specialized vehicle image recognition algorithms, such as edge-feature-based methods and deep learning-based methods. These algorithms extract features such as the vehicle's contour, texture, and color from the image and match them with a vehicle model database to achieve vehicle localization, classification, and tracking. Furthermore, the system can further determine the vehicle's specific model and identity information by recognizing license plate numbers, vehicle logos, and other information.

[0123] After identifying vehicles within the charging area, the system also needs to determine whether these vehicles are currently charging. This can be achieved in several ways, such as identifying the physical connection between the vehicle and the charging equipment, detecting the status indicator lights on the vehicle's charging port, and analyzing behavioral patterns around the vehicle. By comprehensively utilizing this information, the system can accurately determine which vehicles are currently charging.

[0124] S204. Send a power-off command to several other charging devices to cause all several other charging devices to stop supplying power to all several other new energy vehicles.

[0125] The system sends power-off commands to several other charging devices, causing all of these devices to stop supplying power to several other new energy vehicles. Each charging device corresponds one-to-one with a specific new energy vehicle. When the system detects an anomaly within the charging area, simply cutting off charging to the problematic vehicle may not be sufficient; preventative measures must also be taken for other vehicles currently charging to prevent the problem from escalating or causing a chain reaction. Therefore, the system issues power-off commands to all vehicles currently charging, requiring them to immediately cease charging.

[0126] Specifically, the system first needs to determine which charging devices within the charging area fall under the "other" category, i.e., devices other than the problematic device. This can be achieved by analyzing the vehicle-to-charging-device correspondence identified in step S203. After identifying the target devices, the system establishes a communication connection with these devices and sends power-off control commands to them.

[0127] Power-off control commands can be based on relevant standards and protocols, such as the Chinese national standard GB / T27930 and IEC61851. These standards specify the communication format and control procedures between the vehicle and the charging equipment. The system generates a power-off control message according to the standard, which includes key fields such as the target device ID, operation command, and timestamp. Then, the system sends the message to the target device through the communication interface with the device.

[0128] Upon receiving a power outage control message, the charging equipment will immediately cut off power to the vehicle and enter standby or fault mode as required by the message. Simultaneously, the onboard BMS will also perform corresponding power outage operations, such as shutting down the high-voltage relay and disconnecting the charging circuit, to ensure safety. After the power outage process is complete, both the vehicle and the equipment will send a power outage completion message to the system, reporting their respective status and relevant parameters.

[0129] S205. Generate access restriction information and send the access restriction information to the display device so that the display device displays the access restriction information;

[0130] While performing the power outage operation, the system should also promptly notify on-site personnel, instructing them to evacuate the charging area as soon as possible to prevent personal injury. An effective notification method is to display a prohibition message on a display device.

[0131] The system first determines the restricted area and duration based on the current environmental conditions. Generally, the restricted area should cover the entire charging area and extend appropriately to surrounding areas, forming a "safety island." The restricted duration should take into account factors such as accident handling and site restoration, and is usually set to 12 hours after the incident. After determining the restricted elements, the system automatically generates a restricted information record, which includes the reason for the restriction, the area, the time, and precautions.

[0132] Restricted access information can be displayed through various devices, such as LED displays and electronic bulletin boards. These devices are typically installed in prominent locations such as entrances and exits of charging areas and main passageways, operating 24 hours a day to facilitate timely awareness of the situation. The system sends the restricted access information to these devices according to a specific format and protocol, which then display it to the public through scrolling text, pop-up notifications, or other means.

[0133] S206. Generate a warning message, identify several other mobile terminals that are bound to all other new energy vehicles, and send the warning message to the mobile terminals, all other mobile terminals, and the monitoring terminal respectively.

[0134] The system generates a warning message, identifies several other mobile terminals that are bound to several other new energy vehicles, and sends the warning message to the mobile terminals, all other mobile terminals, and the monitoring terminal, which is a terminal that communicates with the charging equipment.

[0135] The above embodiments have the following beneficial effects:

[0136] Charging equipment requires a large current, and equipment malfunctions or human error could lead to safety accidents such as electric shock and fire. Therefore, real-time monitoring of the charging site is crucial. By receiving real-time images from cameras, the system can determine in real time whether anyone is approaching. Once personnel are detected entering a preset danger zone, the system immediately triggers an alarm to alert on-site personnel to evacuate immediately and prevent accidents. Simultaneously, the warning sound also attracts the attention of vehicle owners and staff, reminding them to take emergency measures, thus improving the safety of charging new energy vehicles.

[0137] The system analyzes camera footage to identify other new energy vehicles charging within a preset range and sends a power-off command to the corresponding charging equipment, which can prevent accidents from happening to other charging equipment and effectively improve the safety of charging new energy vehicles.

[0138] The system generates restricted access information, which includes a preset range and a restricted time period. This information is then sent to a display device, allowing other personnel to be promptly informed of any safety hazards within the preset range, and to be notified of the dangerous area and its duration. This effectively improves the safety of charging new energy vehicles.

[0139] When a charging device malfunctions, a warning message is generated in a timely manner and sent to the mobile terminal, all other mobile terminals, and the monitoring terminal. The monitoring terminal is a terminal that communicates with the charging device, enabling vehicle owners and managers to quickly learn about potential safety incidents and providing a basis for subsequent decision-making by vehicle owners and managers.

[0140] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0141] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0142] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0143] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A charging control method for new energy vehicles, characterized in that, include: Once it is determined that the new energy vehicle has started charging, the charging current of the charging equipment, the new energy vehicle data, and the ambient temperature are monitored in real time. The charging current includes the charging current value and the time point corresponding to the charging current value. The new energy vehicle data includes the real-time power level and battery temperature of the new energy vehicle. A charging current coordinate system is established with current as the vertical axis and time as the horizontal axis, and the charging current is marked in the charging current coordinate system to obtain the charging current curve. Calculate the slope of the charging current curve. If the slope is less than a preset threshold, determine whether the real-time power is greater than a first preset power. When the real-time power is the first preset power, the new energy vehicle switches from DC charging to AC charging. If the real-time power level is not greater than the first preset power level, then determine whether the battery temperature is within the preset battery temperature range; If the battery temperature is within the preset battery temperature range, then determine whether the ambient temperature is within the preset ambient temperature range; If the ambient temperature is within the preset ambient temperature range, a power-off command is sent to the charging device to stop the charging device from supplying power to the new energy vehicle.

2. The method according to claim 1, characterized in that, After the step of sending a power-off command to the charging device to stop supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes: If the ambient temperature is not within the preset ambient temperature range, a prompt message is sent to the mobile terminal bound to the new energy vehicle. The prompt message indicates that the new energy vehicle is charging safely. If the battery temperature is not within the preset battery temperature range, the prompt message is sent to the mobile terminal bound to the new energy vehicle. If the real-time battery level is greater than the first preset battery level, then the notification message is sent to the mobile terminal bound to the new energy vehicle.

3. The method according to claim 1, characterized in that, The process of establishing a charging current coordinate system with current as the vertical axis and time as the horizontal axis, and marking the charging current in the charging current coordinate system to obtain a charging current curve, specifically includes: Establish the charging current coordinate system with the current as the vertical axis and the time as the horizontal axis; Based on the charging current value and time point corresponding to the charging current, the charging current is marked in the charging current coordinate system to obtain several data points; Connect all the aforementioned data points to obtain the initial charging current curve; The initial charging current curve is processed using a local weighted regression algorithm to obtain the charging current curve.

4. The method according to claim 1, characterized in that, After the step of sending a power-off command to the charging device to stop supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes: Receives real-time images from a camera installed within a preset range of the charging device; If it is determined from the real-time image that there are people within the preset range, an alarm command is sent to the alarm device to cause the alarm device to start operating according to the alarm command.

5. The method according to claim 4, characterized in that, After determining that a person exists within the preset range based on the real-time image, and sending an alarm command to the alarm device to cause the alarm device to start operating according to the alarm command, the method further includes: Based on the real-time images, identify several other new energy vehicles that are charging within the preset range; The power-off command is sent to several other charging devices to stop all of the other charging devices from supplying power to all of the other new energy vehicles. Each of the other charging devices corresponds to one of the other new energy vehicles.

6. The method according to claim 5, characterized in that, After sending the power-off command to the other charging devices to stop all the other charging devices from supplying power to all the other new energy vehicles, the method further includes: Generate restricted access information, which includes the preset range and the restricted time period; The prohibition information is sent to the display device so that the display device displays the prohibition information.

7. The method according to claim 5, characterized in that, After the step of sending a power-off command to the charging device to stop supplying power to the new energy vehicle if the ambient temperature is within a preset ambient temperature range, the method further includes: Generate a warning message; Identify several other mobile terminals that are bound to all of the aforementioned other new energy vehicles; The warning information is sent to the mobile terminal, all other mobile terminals, and the monitoring terminal, which is a terminal that is communicatively connected to the charging device.

8. A charging control system for new energy vehicles, characterized in that, The system includes: One or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the system to perform the method as described in any one of claims 1-7.

9. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on the system, the system performs the method as described in any one of claims 1-7.

10. A computer program product, characterized in that, When the computer program product is run on the system, the system performs the method as described in any one of claims 1-7.