New energy vehicle-oriented orderly charging control method and system in offline mode
By adopting an offline-mode orderly charging control method in new energy vehicle charging facilities, the problem of poor charging control caused by communication interruption of charging facilities is solved, and orderly charging is realized in the case of communication interruption, ensuring charging safety and grid stability.
Patent Information
- Application Number
- CN202611656951.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-27
AI Technical Summary
In scenarios where communication is interrupted at new energy vehicle charging facilities, existing technologies cannot accurately attribute the cause to platform-side anomalies or local link anomalies, resulting in poor charging control, inability to achieve orderly charging, and a high risk of overload or charging delays.
An offline-mode orderly charging control method is adopted. By verifying vehicle demand locally, calculating the power margin of the charging station area, sorting the vehicles according to their urgency of leaving the site, allocating charging power, and gradually converging to the platform strategy after the link is restored, the charging safety and order are ensured.
It achieves orderly charging control in communication interruption scenarios, takes into account individual vehicle differences, avoids overload and charging delays, and ensures charging experience and grid safety.
Smart Images

Figure CN123169733A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of control technology for charging facilities for new energy vehicles, and in particular to a method and system for orderly charging control in offline mode for new energy vehicles. Background Technology
[0002] New energy vehicle charging facilities are typically connected to an operation platform, relying on heartbeat interaction, remote policy distribution, and orderly charging control to achieve load coordination within the charging area. In online mode, the platform can uniformly grasp vehicle demand, charging power, and transformer load, improving charging safety and grid adaptability, and is therefore widely used in residential areas, public parking lots, and other scenarios.
[0003] Communication between charging piles and the platform is affected by objective factors such as network coverage in the distribution area, power line carrier quality, access equipment status, and platform maintenance. Fluctuations in heartbeat response, clock calibration, and probe response are inevitable. It is difficult to distinguish between platform-side service anomalies, distribution area outgoing link anomalies, and local anomalies in the probe path based solely on a single timeout or a single channel. Variations in average network round-trip time, clock inaccuracies, and short-term interruptions can also make offline determinations unstable. After a network outage, platform policies become unreachable, but vehicles may still connect to charge, leading to continuous fluctuations in non-charging load in the distribution area. Without local coordination, this can easily cause overload or charging delays.
[0004] Existing technologies mostly employ a strategy of reducing power, stopping charging, or waiting for platform recovery after a heartbeat timeout. They lack inter-pile network verification, local demand validation, rolling calculation of power margin in charging areas, and convergence and handover during the recovery transition period. Their limitations lie in: the inability to accurately attribute the cause between platform-side anomalies and local link anomalies; the inability to perform local orderly allocation based on vehicle departure urgency and final charging status; the difficulty in avoiding power oscillations caused by concurrent reconnection of multiple piles and strategy switching during recovery; and the inability of offline execution records to support safety traceability. Therefore, existing technologies have limited effectiveness in orderly charging control under communication interruption scenarios and cannot meet the high reliability, safety, and collaborative usage requirements of new energy vehicle charging facilities. Summary of the Invention
[0005] The purpose of this invention is to provide an orderly charging control method and system for new energy vehicles in offline mode in order to solve the above-mentioned problems.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: An orderly charging control method for new energy vehicles in offline mode includes: After both the platform heartbeat channel and the local link detection channel fail, the system enters offline mode from the offline preparation state and starts offline execution recording. In offline mode, the vehicle is locally verified, and the target battery level and expected departure time are collected to generate a vehicle charging requirement entry. The total load power of the transformer area is obtained by collecting the load on the low-voltage side of the transformer area. The power margin of the transformer area is obtained by subtracting the difference between the total load power of the transformer area and the total charging power gathered by the inter-pile network from the open capacity of the transformer area. The urgency of departure is determined based on the expected departure time of the vehicle charging demand items, and each vehicle is sorted. The power allocation is generated with the power margin of the transformer area as the total constraint. When the sum of the allocated power exceeds the power margin of the transformer area, it is reduced by the narrowing ratio. After the link is restored, the offline execution record is re-uploaded to the platform during the verification period. After the verification is passed, the strategy convergence period begins. The charging power converges towards the target power according to the target strategy issued by the platform. Throughout the convergence process, the sum of the charging power of each charging pile is constrained by the power margin of the substation. After each charging pile reaches the convergence progress point, the formal takeover period begins and the charging control is transferred to the platform. If the link is lost again during the transition period and the preset number of link loss occurs, the charging power at the current convergence position is frozen as the breakpoint power value and the convergence progress point is recorded. After the link is restored again, the convergence continues from the convergence progress point using the breakpoint power value.
[0007] Preferably, entering offline mode from offline preparation state includes: After both the platform heartbeat channel and the local link detection channel fail, the system enters the offline preparation state and starts timing. When the timing reaches the preset stable duration and neither the platform heartbeat channel nor the local link detection channel recovers, the system is determined to enter offline mode. If either the platform heartbeat channel or the local link detection channel recovers during the timing period, exit the offline preparation state and reset the timer.
[0008] Preferably, generating vehicle charging demand entries includes: If the target battery level and desired departure time are not entered within the preset input waiting time, the system will generate the system according to the default requirement rules. The default requirement rules are as follows: The concentration range of historical charging volume during the same access period is determined according to the preset concentration range ratio, and the default target power is obtained by multiplying the median value of the historical charging volume of the concentration range by the preset target power ratio. Take the median of historical parking duration, and add the median of historical parking duration to the access time to obtain the default expected departure time.
[0009] Preferably, the total charging power aggregated by the inter-pile network is aggregated in the following manner: Each charging pile broadcasts its measured charging power to the inter-pile network according to a preset reporting cycle. If the measured charging power is not received from any charging pile after the preset reporting timeout period, the rated power of the corresponding charging pile will be included in the total charging power. Once the corresponding charging station resumes broadcasting, the measured charging power of the resumed broadcast will replace the rated power value.
[0010] Preferably, the reduction according to the narrowing ratio includes: Vehicles whose target charge level and current charge level are not greater than the preset end-stage gap value are determined to be in the end-stage charging stage. Vehicles in the end-stage charging stage do not participate in the reduction and maintain the current power allocation. The sum of the power allocation of the remaining vehicles after reduction does not exceed the difference between the power margin of the transformer area and the power allocation it maintains. Once a vehicle in the final stage of charging has completed charging, the allocated quota it occupied is released and included in the power margin of the substation in the next preset allocation cycle for reallocation. After being reduced by the narrowing ratio, vehicles with allocated power lower than the preset minimum power will be powered by the preset minimum power. The preset minimum power is determined by multiplying the average demand power of the corresponding vehicle by the preset minimum ratio. The average demand power is obtained by dividing the remaining charging gap by the available charging time. The remaining charging gap is the difference between the target power and the current power. The available charging time is the time from the current moment to the expected departure moment. The total power supplied by all operating charging piles at the preset minimum power level shall not exceed the preset safety boundary.
[0011] Preferably, during the verification period, the offline execution record is supplemented to the platform. If the verification fails, the current charging power is frozen and the system enters the observation and control state. The meter readings and the total data of the distribution area are uploaded to the platform to rebuild the offline archive. After the reconstruction is completed, the system is re-verified. After the re-verification is passed, the system exits the observation and control state and enters the strategy convergence period. The frozen power of charging piles under observation and control is included in the sum of the charging power of each charging pile.
[0012] Preferably, during the strategy convergence period, a rolling constraint check is performed once per preset acquisition cycle. The rolling constraint check includes: The sum of the charging power of each charging pile after convergence shall not exceed the local measured power margin of the charging station. The sum of power includes the frozen power of the charging pile in the observation and management state and the holding power of the vehicle in the final stage of charging. The vehicle in the final stage of charging is determined to be charging when the difference between the target power and the current power is not greater than the preset final stage gap value. If the verification fails, each charging pile will be re-verified after reducing the convergence adjustment amount of this round by the same proportion. The same proportion is the ratio of the local measured power margin of the substation to the sum of the charging power of each charging pile after convergence. Each charging pile independently performs rolling constraint verification based on the power data shared between the piles in the network. When the input and verification rules are consistent, the verification results are consistent.
[0013] Preferably, during the convergence period of the strategy, the convergence completion time of each vehicle is no later than the latest full-power charging time. The latest full-power charging time is obtained by dividing the difference between the target power and the current power by the current power allocated to the corresponding vehicle to obtain the required charging time, and then by subtracting the required charging time from the expected departure time. For vehicles whose convergence time based on the preset adjustment step size will be later than the latest full-power charging time, the adjustment amount per round will be increased according to the preset downshift ratio.
[0014] Preferably, freezing the charging power at the current convergence position as the breakpoint power value includes: The power margin of the charging station area verified by dual sources within the most recent preset collection period before the chain break is used as the freezing benchmark. When the sum of the power values of each charging pile break point exceeds the freezing benchmark, the power values of each charging pile break point are reduced by the same proportion. The ratio of the freezing benchmark to the sum of the power values of each charging pile break point is taken by the same proportion, and the charging station is re-frozen after the reduction. Vehicles whose target charge level and current charge level are not greater than the preset end-stage gap value are determined to be in the end-stage charging stage. The breakpoint power value of vehicles in the end-stage charging stage is not reduced and remains frozen at its original value. During the freeze, each charging station will maintain its output power at the interrupted power value, waiting for the link to be restored.
[0015] An orderly charging control system for new energy vehicles in offline mode includes: Module 1: After both the platform heartbeat channel and the local link detection channel fail, the system enters offline mode from the offline preparation state and starts offline execution recording. Module 2: In offline mode, locally verify the vehicle, collect the target battery level and expected departure time to generate a vehicle charging requirement entry; Module 3: Collect the load on the low-voltage side of the transformer in the distribution area to obtain the total load power of the distribution area. Subtract the difference between the total load power of the distribution area and the total charging power gathered by the inter-pile network from the open capacity of the distribution area to obtain the power margin of the distribution area. Module 4: Determine the urgency of departure based on the expected departure time of the vehicle charging demand items and sort the vehicles. Generate the allocated power with the power margin of the transformer area as the total constraint. When the sum of the allocated power exceeds the power margin of the transformer area, it is reduced by the narrowing ratio. Module 5: After the link is restored, the offline execution record is re-uploaded to the platform during the verification period. After the verification is passed, the strategy convergence period begins. The charging power converges towards the target according to the target strategy issued by the platform. Throughout the convergence process, the sum of the charging power of each charging pile is constrained by the power margin of the substation. After each charging pile reaches the convergence progress point, the formal takeover period begins, and the charging control is transferred to the platform. If the link is interrupted again during the transition period and the preset number of interruptions is reached, the charging power at the current convergence position is frozen as the breakpoint power value and the convergence progress point is recorded. After the link is restored again, the convergence continues from the convergence progress point using the breakpoint power value.
[0016] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. This invention uses independent and mutually reinforcing monitoring of the platform heartbeat channel and the local link detection channel, combined with the counting of consecutive failures and the failure event of the inter-pile network broadcast, and freezes the last version of the strategy after entering offline mode, enables the local clock to run autonomously, and calculates and executes local orderly charging control according to the power margin of the transformer area.
[0017] 2. This invention, upon vehicle access, confirms the connection via control guidance, parses the vehicle identification number, battery rated capacity, and current state of charge, verifies this information using a local database, and generates a target charge level, desired departure time, and end-of-charge indicator. During allocation, charges are prioritized based on departure urgency, ensuring that vehicles charging to the end of the charge phase do not participate in the narrowing and reduction process, unregistered vehicles are treated with limited quotas, and reserve vehicles are started in sequence. This not only takes into account the individual differences and departure needs of different vehicles but also avoids the impact of small charging tasks, ineffective parking, and overload reduction on the charging experience, reducing departure delays and repeated adjustments to the battery at the end of the charge phase. Attached Figure Description
[0018] Further details, features, and advantages of this application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which: Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0019] Several embodiments of this application will now be described in more detail with reference to the accompanying drawings to enable those skilled in the art to implement this application. This application may be embodied in many different forms and for various purposes and should not be limited to the embodiments set forth herein. These embodiments are provided to make this application thorough and complete, and to fully convey the scope of this application to those skilled in the art. The embodiments described do not limit this application.
[0020] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It will be further understood that terms such as those defined in commonly used dictionaries shall be interpreted as having a meaning consistent with their meaning in the relevant field and / or the context of this specification, and shall not be interpreted in an idealized or overly formal sense unless expressly defined herein.
[0021] Example 1 Its specific implementation method is combined with the appendix Figure 1 Please provide a detailed explanation.
[0022] In this embodiment, it includes: Step 1, Communication Link Monitoring and Offline Determination: While the charging pile is online on the platform, it maintains a heartbeat interaction with the charging operation platform. The heartbeat interaction is performed according to a preset heartbeat cycle. In each preset heartbeat cycle, the charging pile sends a heartbeat message to the platform and waits for the platform's response. The heartbeat message carries the charging pile identifier, network sequence number and operating status word. The operating status word records whether the charging pile is currently charging, the current charging power level and fault flag. The platform's response message carries a platform-side timestamp. The charging pile uses this platform-side timestamp to calibrate its local clock. Calibration uses the Network Time Protocol (NTP), a well-known protocol that synchronizes clocks at both ends via network-interaction time messages. The charging pile records the round-trip delay of several recent consecutive heartbeats and takes the average of these delays as the network average round-trip delay. The preset base interval is set according to a preset delay multiple of the network average round-trip delay. This preset base interval is obtained by multiplying the network average round-trip delay by a preset delay multiple, typically 3 to 5 times. This ensures the preset base interval covers delays caused by normal network fluctuations, preventing misjudgments caused by single delay jitter.
[0023] Heartbeat timeout determination is performed in two stages: timeout timing and re-attack backoff. After the charging pile sends a heartbeat message, it starts timing. If no response is received from the platform after the preset basic interval is reached, the heartbeat timeout is determined. After a heartbeat timeout, the charging pile will successively increase the retransmission interval and retransmit the heartbeat message according to a preset interval increase ratio. The preset interval increase ratio is in the range of 1 to 2 times. The retransmission interval is equal to the preset base interval multiplied by the preset interval lengthening ratio. The exponentiation is gradually increased to reduce the density of retransmitted messages during the link outage, thus avoiding congestion of the substation's outgoing link caused by the superposition of a large number of retransmitted messages.
[0024] When a response is received from the platform after any retransmission, the retransmission interval is restored to the preset base interval, and the short interruption count is cleared.
[0025] Link monitoring employs a dual-channel structure, with the two channels operating independently and mutually reinforcing each other. This avoids misjudgments caused by a single channel being affected by short-term platform maintenance or device restarts. The dual-channel structure is as follows: The first channel is the platform heartbeat channel, which is the channel formed by the aforementioned heartbeat interaction; The second channel is the local link detection channel. The charging pile periodically sends link detection messages to the platform access address and waits for a response. The preset detection period is 3 to 5 times the preset heartbeat period, so that the timeliness of link fault detection is balanced with the traffic overhead of detection messages. If the detection period is too short, it will occupy the egress bandwidth of the substation; if it is too long, it will delay the detection time of offline judgment.
[0026] Clock validity is verified by determining calibration deviation.
[0027] Each time the charging pile calibrates the local clock using the platform-side timestamp, it records the calibration deviation. The calibration deviation is the difference between the local clock and the platform-side timestamp before calibration.
[0028] When the calibration deviation exceeds the preset clock deviation range, the local clock is determined to be inaccurate, and the timing determination based on the local clock is suspended. Only the timeout determination based on the round-trip message is retained. The preset clock deviation range is set according to the upper limit of the time synchronization error statistics of the network time synchronization protocol in the network environment of the distribution station. That is, the upper limit of each historical time synchronization deviation is taken, and then a margin is left according to the preset margin ratio of the upper limit.
[0029] When the calibration deviation falls back to within the preset clock deviation range, the timing determination based on the local clock is restored.
[0030] Short-term interrupts are filtered out based on the number of consecutive failures.
[0031] A single heartbeat timeout is counted as a short-term interruption in the platform's heartbeat channel, and a single probe without a response is counted as a short-term interruption in the local link probe channel.
[0032] When the number of consecutive failures of any channel reaches the preset number of short-term interruptions, the corresponding channel is deemed to be in failure. The preset number of short-term interruptions is set according to the communication network quality classification statistics, that is, the duration distribution of historical short-term interruptions in the network of the distribution area is statistically analyzed, and the number is set to 3 to 6 times based on the principle of covering the upper limit of normal jitter duration.
[0033] When any channel returns to normal, the short-term interruption count for that channel is reset to zero.
[0034] If only the platform heartbeat channel fails while the local link detection channel is normal, it is determined that the platform-side service is abnormal while the area exit link is normal. The charging pile maintains the platform online status, keeps the heartbeat retransmission interval at the current extended interval and continues to try, and broadcasts the platform heartbeat channel failure event in the inter-pile network.
[0035] When only the local link detection channel fails while the platform heartbeat channel is normal, the detection path is determined to be locally abnormal. The charging pile maintains the platform online status, clears the short-term interruption count of the local link detection channel to zero, and re-detects according to the preset detection cycle. When the number of consecutive re-detections still fails reaches the preset number of short-term interruptions, the detection channel failure event is broadcast in the inter-pile network.
[0036] Broadcast events are used to verify the link status among individual nodes, preventing a single node from mistakenly determining that the entire network is offline due to a failure of its own access point.
[0037] Within the charging station area, each charging pile forms an inter-pile network via power line carrier or RS485 bus. Power line carrier refers to a communication method that uses existing power lines to transmit data, while RS485 bus refers to a differential serial bus standard that supports multi-point connection. Both can achieve inter-pile communication within the charging station area without relying on the platform link. The network sequence number is uniformly allocated by the platform during online periods and distributed to the local storage of each charging pile. The network sequence number is used for addressing messages within the inter-pile network and for various peak-shifting sorting during offline periods. When the number of charging piles in the charging station area changes during platform online periods, the platform reallocates and updates the network sequence number. Each charging pile replaces the locally stored network sequence number after receiving the update.
[0038] During platform online operation, in addition to heartbeat interaction with the platform, each charging pile also broadcasts a network heartbeat message sequentially within the inter-pile network according to its network sequence number. The network heartbeat message carries the network sequence number, the in-service flag, and the current charging status. Each charging pile receives network heartbeat messages from other charging piles and updates its locally maintained list of in-service charging piles. The list of in-service charging piles records the network sequence number of each charging pile within the inter-pile network and the time of the most recent network heartbeat. When the network heartbeat of any charging pile within the inter-pile network is interrupted, each pile marks the corresponding network sequence number as inactive in its local list of in-service charging piles. This list serves as the statistical basis for valid members within the inter-pile network in offline mode.
[0039] While the charging pile is online on the platform, it uploads the charging records generated locally to the platform in real time. The uploaded content includes the charging start time, charging amount, and charging end time. The charging records stored on the platform are consistent with those stored locally, so that the retransmission after communication is restored only needs to cover the offline execution records generated during the offline period, reducing the amount of data to be retransmitted. Charging records that fail to upload are marked as pending transmission locally and will be retransmitted first after the link is restored.
[0040] Each charging pile determines the transmission timing of its local link detection channel according to its locally stored network sequence number. The staggered transmission timing adopts a time-division multiplexing mechanism, which refers to a known communication method that occupies the channel in a round-robin fashion according to time slices. The network sequence number is [number missing]. The charging pile on the platform has a transmission time offset within each preset detection cycle. Each unit time slot is uniformly agreed upon within the pile network; the sending time of each pile's detection message is staggered sequentially within the preset detection period to avoid multiple piles sending detection messages at the same time, which would cause an instantaneous increase in traffic on the transformer area's exit link and prevent the detection traffic itself from inducing short-term congestion in the platform's heartbeat channel.
[0041] When both the platform heartbeat channel and the local link detection channel are determined to be faulty, the charging pile enters the offline preparation state; the timer starts after entering the offline preparation state.
[0042] When the timer reaches the preset stable duration and neither channel recovers, it is determined to enter offline mode. The preset stable duration is set to be no less than the time required for the platform to complete one full data synchronization, and is taken as a preset stable multiple of the preset heartbeat cycle to prevent the platform from being mistakenly judged as offline due to short-term restarts or network interruptions.
[0043] If any channel recovers during the timing period, exit the offline preparation state and reset the timer. Heartbeat interaction and link detection will resume normal execution.
[0044] During the offline preparation state, the charging pile maintains the currently executing charging task, does not start new charging tasks, and does not change the power allocation of each vehicle being charged, thus avoiding repeated adjustments to the charging power due to brief link jitter.
[0045] After entering offline mode, the charging station performs the following actions: The last version of the charging strategy from the platform is frozen as the local initial strategy. The local initial strategy includes the power allocation for each charging vehicle and the waiting order of the queued vehicles. The local clock is set to run autonomously, and subsequent timing decisions are based on the autonomously running local clock. Local orderly charging control is started. Local recording of offline execution records is started, and the start time of the record is marked as the offline start time. The offline start time is written into the first entry of the offline execution record.
[0046] Step 2: Vehicle verification and charging demand collection: Once in offline mode, the charging station performs local verification and charging demand collection for newly connected vehicles, without relying on platform interaction throughout the process.
[0047] The charging pile confirms the vehicle connection status according to the control guidance method specified in the national standard GB / T18487.1. The control guidance method refers to the charging control method specified in this standard, which uses the change of control guidance signal level to characterize the vehicle plug connection status. The charging pile detects the control guidance signal level.
[0048] When the voltage level change meets the connection confirmation sequence specified in the standard, the vehicle connection is determined to be established.
[0049] If the connection confirmation sequence is not met, the vehicle is determined to be unreliably connected, and subsequent verification will not be initiated.
[0050] After the vehicle connection is established, the charging pile establishes communication with the vehicle's battery management system via the charging controller. The communication follows the charging communication protocol specified in the national standard GB / T27930. GB / T27930 refers to the communication protocol that specifies the message format and interaction process between the charger and the battery management system. The messages are transmitted via the controller local area network bus. Bus conflicts are handled by the bus arbitration mechanism. The bus arbitration mechanism refers to the non-destructive bit-by-bit arbitration performed by the controller local area network bus according to the priority of the message identifier. Messages with higher priority continue to be transmitted, while messages with lower priority automatically exit transmission and wait for the bus to be idle before retransmitting. The charging pile parses the handshake message to obtain the vehicle identification number, battery rated capacity, and current state of charge.
[0051] When the handshake message parsing fails, the handshake is re-initiated according to the preset number of retries. The preset number of retries is set according to the recovery time of the bus transient interference, and is set to 2 to 3 times, so that the parsing failure caused by transient interference can be retried within the recovery window.
[0052] If the retries fail after reaching the preset number of retries, the vehicle parameter reading is deemed to have failed, charging is refused, and the failure event is recorded.
[0053] Local identity verification is completed independently at the pile end.
[0054] The charging pile will compare the vehicle identification number (VIN) it reads with the local registered vehicle database. The local registered vehicle database is issued and stored locally when the platform is online, and records the VIN and vehicle attributes of registered vehicles in the charging area. When the vehicle registration changes during the platform's online period, it will be updated and issued in real time. When offline, the last updated version stored locally shall prevail.
[0055] If the match is successful, the verification is deemed passed.
[0056] When the comparison fails, the user is prompted to complete the identity verification on the charging pile interface. When the number of identity verification failures reaches the preset number of verification failures, the verification is deemed unsuccessful. The preset number of verification failures is set to 3 to 5 times to prevent repeated attempts, which both prevents unregistered vehicles from making continuous attempts and tolerates occasional input errors by legitimate users.
[0057] Vehicles that fail the verification will be refused to start charging.
[0058] Vehicles that pass verification but are not registered will be handled according to the rules for unregistered vehicles.
[0059] After verification, the charging station receives two charging requests from the user via the interactive interface. The first is the desired departure time, and the second is the target charge level, which is expressed as the desired state of charge or the desired charge level. The charging station starts timing after issuing an input prompt. The timing duration is limited by a preset input waiting time, which is set based on the time it takes for the user to complete the two inputs, ranging from 30 seconds to 3 minutes, covering the normal time for the user to read the prompt and complete the operation.
[0060] When the user completes the input within the preset input waiting time, the charging station displays the input content and waits for the user's confirmation. The timing of the confirmation process is limited by the preset input confirmation time, which is 10 to 30 seconds based on the time it takes for the user to read the displayed content and confirm it. After confirmation, a charging request is generated based on the user's input.
[0061] If the user does not complete the input within the preset input waiting time or does not confirm the input within the preset input confirmation time, a charging request will be generated according to the default demand rules.
[0062] The default requirement generation process is as follows: The charging station queries the local historical charging archives for the vehicle's charging records. When the number of records reaches the preset sample size, the default requirement is generated based on the historical records. The preset sample size is based on the median value to ensure that the median value is not affected by individual abnormal records.
[0063] The default target battery level is generated as follows: Take the historical charging volume records for the same access period, sort the charging volume of each record from smallest to largest, and take the middle record interval after sorting according to the preset concentration interval ratio as the concentration interval. Take the middle value of the charging volume of each record in the concentration interval as the median value of the historical charging volume. When the number of records is even, take the average value of the charging volume of the two middle records as the median value of the historical charging volume. Then multiply the battery rated capacity by the preset target capacity ratio to obtain the default target capacity. The preset target capacity ratio is taken as 70% to 90% of the rated capacity according to the commonly used charging depth statistics of the substation operation.
[0064] The default expected exit time is generated as follows: Take historical parking duration records for the same access period, sort the parking duration of each record from smallest to largest, and select the middle record interval after sorting according to the preset concentration interval ratio. Use the median value of the parking duration of each record within the concentration interval as the median value of the historical parking duration. When the number of records is even, take the average of the parking durations of the two middle records as the median value of the historical parking duration. Then add the access time to the median value of the historical parking duration to get the default expected departure time. The preset parking duration is set according to the average parking duration of the service scenario, the overnight parking duration for residential scenarios, and the hourly parking duration for public scenarios.
[0065] When the number of historical records is insufficient to meet the preset sample size, default requirements are generated using the district-level default parameters. The district-level default parameters are issued by the platform based on the historical statistics of all vehicles in the district during the platform's online period.
[0066] The charging station performs two checks on the generated charging demand: The first check is that the difference between the target charge and the current charge is not less than the preset minimum charging increment. The preset minimum charging increment is set according to the greater of the minimum charge step size that the battery management system can recognize and the metering accuracy of the charging pile, so as to avoid generating tiny charging tasks that cannot be executed or cannot be measured.
[0067] The second verification step is that the time from the access time to the expected departure time is not less than the preset minimum parking time. The preset minimum parking time is set as a multiple of the preset parking time required for a complete charging start-up process, so that the vehicle can complete at least one effective charging start-up and charging.
[0068] If the verification fails, the corresponding item will be corrected according to the default parameters at the substation level.
[0069] The charging pile identifies the vehicle in the final stage of charging based on the current state of charge and the target charge level. If the difference between the target charge level and the current charge level is not greater than the preset end-stage gap value, or if the current state of charge is not lower than the preset end-stage state of charge value, the vehicle is determined to be in the final stage of charging. The preset end-stage gap value is taken as 5% to 10% of the rated capacity based on the characteristic of the current naturally falling back in the final stage of charging, and the preset end-stage state of charge value is taken as 80% to 90%, corresponding to the starting range of the constant voltage charging stage of lithium-ion batteries. The identification result is written into the vehicle charging demand entry for reference in the allocation strategy of step four and the handover processing of step five.
[0070] For vehicles that are not registered but whose identities have been verified, the charging power limit is allocated according to the preset limited quota. The preset limited quota is no greater than the preset limited ratio of the rated power of a single charging pile. The preset limited ratio is set at a small proportion of the power margin occupied by the charging station area, so that unregistered vehicles can obtain basic charging services without crowding out the charging resources of registered vehicles. The charging needs of unregistered vehicles are generated according to the default parameters at the charging station area level.
[0071] The charging pile summarizes the vehicle identification number, battery rated capacity, current state of charge, target charge, expected departure time, last charging mark, and registration mark into a vehicle charging demand item, writes it into the local demand queue, and marks the access time; the vehicle charging demand item is broadcast to other charging piles in the area through the inter-pile network, and each pile knows the total charging demand in the area accordingly.
[0072] When a vehicle disconnects its charging gun and leaves the site, the corresponding vehicle charging request entry is removed from the local demand queue, and the charging process is written to the local historical charging file.
[0073] Local historical charging records are archived by vehicle identification number. The total number of records is constrained by a preset upper limit, which is calculated based on the allocated capacity of the charging pile's non-volatile storage area and the number of bytes per record. When a record is full, records are discarded according to the least recently used rule. The least recently used rule refers to the well-known cache management strategy of discarding the least recently accessed records based on their last access time. Detailed records of the charging process are stored using a circular overwrite method. Circular overwrite means that when the storage area is full, the oldest record is overwritten by the newest record, ensuring uninterrupted recording during offline periods.
[0074] Step 3, Load Data Acquisition and Margin Calculation for Transformer Areas: Within a transformer substation area, one charging pile is responsible for collecting load data. This responsibility is assigned by the platform while the platform is online and distributed to each charging pile's local storage along with the substation's data file. Each charging pile then knows its current network sequence number for collecting data. When the charging pile responsible for collecting data becomes unusable, the active charging pile with the smallest network sequence number in the inter-pile network automatically takes over. The taking over charging pile also takes over the data collection authority for the low-voltage side metering circuit of the transformer. The takeover result is broadcast through the inter-pile network to ensure that there is always a charging pile to perform the data collection responsibility during offline periods.
[0075] The platform's data is distributed to the local storage of each charging station during the platform's online period. The distributed content is as follows: The transformer area archive records the transformer's rated capacity, preset safety factor, preset lifespan, preset amplitude, preset acquisition cycle, preset number of continuous points, preset number of filtering points, preset reporting cycle, preset reporting timeout duration, preset phase threshold, preset rate of change threshold, preset voltage threshold, preset conservative coefficient, preset inter-source deviation, and preset safety boundary settings, as well as the network sequence number responsible for collecting transformer area load data. When the platform adjusts the settings, it reissues the transformer area archive during online periods, and each data point replaces the corresponding settings stored locally upon receipt. During offline periods, the settings are based on the last reissued version stored locally.
[0076] The charging piles responsible for data collection collect three-phase voltage, three-phase current, and three-phase power through the metering circuit on the low-voltage side of the transformer in the distribution area. The data collection is performed on a rolling basis according to a preset collection cycle, which is 10 seconds to 1 minute. This cycle matches the time scale of load changes in the distribution area, ensuring that the margin calculation can track load fluctuations without introducing excessive metering noise. The collected sequences are then processed by median filtering before being used in the calculation. Median filtering is a known filtering method that uses the median of each sampled value within a sliding window as the output. It is used to suppress sudden pulse sampling changes. The preset number of filtering points is an odd number of windows of 3 to 7 points. The odd number of windows ensures that the median is unique and that the window span does not overshadow the true trend of load changes.
[0077] When the number of points where continuous data acquisition is interrupted reaches the preset number of continuous points, the acquisition circuit is determined to be faulty and the acquisition responsibility is triggered to take over. The preset number of continuous points is calculated as 3 to 5 points based on the allowable interruption duration and the preset acquisition cycle. The allowable interruption duration is set according to the minimum duration of significant load changes.
[0078] Each charging pile broadcasts its measured charging power to the inter-pile network according to the preset reporting cycle. The charging pile responsible for data collection receives and summarizes the reports from each pile. The preset reporting timeout period is twice the preset reporting cycle.
[0079] If a charging pile fails to report within the preset reporting timeout period, the charging power of that pile will be included in the total based on its rated power, taking a conservative approach to avoid underestimating the charging load in the area and thus overestimating the margin.
[0080] After the charging pile is restored and reported, the rated power will be replaced with the reported measured charging power.
[0081] The available capacity of the transformer area is calculated based on the rated capacity, the preset safety factor, and the aging margin.
[0082] The open capacity of the distribution area is calculated by multiplying the rated capacity of the transformer by the preset safety factor and then subtracting the aging margin. The preset safety factor is set to 0.8 to 0.9, based on the temperature rise constraint for long-term safe operation of the transformer. The aging margin is determined by multiplying the portion of the transformer's service life that exceeds the preset service life by a preset range. The preset service life is set at two-thirds of the transformer's design life, and the preset range is set based on the statistical value of the peak-valley difference of the daily load curve of the distribution area. When the service life has not exceeded the preset service life, the aging margin is zero.
[0083] The preset safety boundary refers to the lower limit of the safety margin that the power margin of the transformer area must maintain. It is set according to the preset boundary ratio of the rated capacity of the transformer, and the preset boundary ratio is 5% to 10%, so that there is always a margin above the charging load to cope with sudden load increases and metering errors. When the power margin of the transformer area is lower than the preset safety boundary, step four suspends the start of new charging tasks and narrows the power allocation of vehicles being charged. Step five handover verification takes the condition that the power margin of the transformer area rises back to above the preset safety boundary as the condition for lifting the restriction.
[0084] The capacity that can be opened in each phase is determined as one-third of the capacity that can be opened in the area. The phase margin component of each phase is the difference between the capacity that can be opened in each phase and the corresponding non-charging load power.
[0085] When the phase margin component of any phase is lower than the preset phase threshold, the phase sequence rotation strategy is triggered. The preset phase threshold is set at one-third of the preset safety boundary. The phase sequence rotation strategy refers to the known means of transferring single-phase load between three phases through a phase switching switch to balance the three-phase load. The rotation result is written to the offline execution record.
[0086] The calculation process for the power margin of the transformer area is as follows: The power margin of the transformer substation is the difference between the available capacity of the substation and the power of the non-charging load. The power of the non-charging load is the difference between the total load power of the substation and the total charging power. The total load power of the substation is the sum of the three-phase power after median filtering of the metering circuit on the low-voltage side of the transformer. The total charging power is the result of the aggregation of the charging piles in the network. The power margin of the substation is the upper limit of the charging power that can be opened to all charging piles in the substation. The allocation strategy in step four uses the power margin of the substation as the total constraint. When the sum of the allocated power of each charging pile does not exceed the power margin of the substation, the total load of the substation does not exceed the available capacity of the substation.
[0087] The power margin of the charging station area is calculated on a rolling basis according to a preset collection cycle. It is updated once in each preset collection cycle and written into the offline execution record. At the same time, it is broadcast to each charging station through the inter-charging station network. The broadcast power margin of the charging station area carries the calculation time. Each station participates in the local strategy generation with the latest value at the calculation time.
[0088] Non-charging load power includes the sum of the power of residential loads, public lighting loads and other non-charging equipment loads within the transformer area; the non-charging load power is obtained by subtracting the total charging power from the total load power of the transformer area, so that all electricity demand other than charging loads can be prioritized in the margin calculation.
[0089] Multi-source data are aligned by timestamp and then used in the same period calculation.
[0090] There are differences in the data collection times of the low-voltage side metering circuit of the transformer, the total meter of the distribution area and each charging pile. Data participating in the same cycle calculation are aligned by timestamp, and the latest data from each source that falls within the same preset collection cycle shall be used. If any source has no valid data in the corresponding cycle, that source shall be treated as having no data in that cycle and shall not be mixed with data from other cycles for calculation.
[0091] Trend abrupt change verification is determined by the margin change rate.
[0092] The margin change rate is the quotient of the difference in power margin of the substation area between two adjacent preset acquisition cycles and the preset acquisition cycle.
[0093] When the absolute value of the margin change rate exceeds the preset change rate threshold, it is determined that a sudden change has occurred in the load of the distribution area. The preset change rate threshold is set statistically based on the power change amplitude caused by the start-up and shutdown of large-capacity loads in the distribution area. After the sudden change is determined, the minimum value of the power margin of the distribution area in each of the most recent preset collection period is used as the power margin of the distribution area for subsequent allocation, until the margin change rate falls back to within the preset change rate threshold.
[0094] Voltage anomaly linkage is triggered by a single-phase voltage exceeding the limit.
[0095] When the voltage of any phase is lower than the preset voltage threshold, the voltage of the distribution area is determined to be abnormal. The preset voltage threshold is 90% to 93% of the rated voltage and is set according to the standard provisions for allowable deviation of the power supply voltage. During the voltage abnormality period, the power margin of the distribution area is multiplied by a preset conservative coefficient and then used for distribution. The preset conservative coefficient is 0.7 to 0.9 and is set according to the statistical results of the deviation of the historical load curve from the measured value, so that the charging load has a margin during the voltage abnormality period and avoids the charging load from aggravating the voltage drop.
[0096] Once the voltage of each phase recovers to above the preset voltage threshold and continues for a preset recovery multiple for a preset acquisition period, the conservative coefficient is canceled.
[0097] Dual-source comparison is checked for deviations between the two measurement sources.
[0098] The load of the transformer substation is obtained from two sources: the low-voltage side metering circuit of the transformer and the substation master meter. When the load value deviation between the two sources exceeds the preset inter-source deviation, the smaller load value of the two sources is used in the calculation, and the source mark of the data used is written into the offline execution record. The preset inter-source deviation is set at twice the difference between the metering accuracy levels of the two sources. The source mark is used to distinguish whether the data comes from the low-voltage side metering circuit of the transformer or the substation master meter, and serves as the basis for safety verification and attribution explanation when the chain break freeze occurs in step five.
[0099] When the calculated power margin of the charging station is negative, it is determined that the charging station is in an overload state. The power margin of the charging station is issued as zero and the overload event is marked in the offline execution record. After each charging pile receives the zero power margin of the charging station, the allocated power of the charging vehicle will be reduced to the preset minimum power. If the total load of the charging station is still higher than the capacity that the charging station can open after the reduction, the new charging output will be cut off.
[0100] Step 4, Local Policy Generation and Power Execution: The charging station reads the charging demand entries of each vehicle in the local demand queue, calculates the remaining charging gap and available charging time for each vehicle, the remaining charging gap is the difference between the target charging capacity and the current charging capacity, and the available charging time is the time from the current moment to the expected departure moment; the average demand power of the vehicle is obtained by dividing the remaining charging gap by the available charging time, and the average demand power represents the power level required to complete charging before the expected departure moment according to the current allocation rhythm; when the average demand power exceeds the rated power of a single charging station, it participates in the allocation according to the rated power of the single charging station, and the average demand power of unregistered vehicles does not exceed the preset limit.
[0101] The charging piles sort the vehicles according to their urgency of departure, with vehicles having an earlier expected departure time ranked first; when the expected departure times are the same, vehicles with a higher average power demand are ranked first; the ranking result serves as the priority order for the allocation strategy, and is broadcast through the inter-pile network to ensure that the ranking criteria of each pile are consistent, and is written into the offline execution record.
[0102] The local strategy is executed on a rolling basis according to a preset allocation cycle, which is 1 to 3 times the preset collection cycle. This ensures that the allocation updates follow the changes in the load of the distribution area, without causing frequent fluctuations in charging power due to excessive updates.
[0103] The allocation strategy adopts one of the preset common scheduling strategies. The strategy type used by the distribution station is issued along with the distribution station file during the platform's online period. The first-come, first-served strategy refers to a method of allocating charging resources according to the order in which vehicles connect to the network, thus satisfying their charging needs sequentially.
[0104] The demand-based allocation strategy refers to the method of allocating total charging power according to the proportion of each vehicle's remaining charging gap to the total remaining charging gap.
[0105] Priority-based allocation strategy refers to a method of satisfying charging needs in descending order of vehicle priority.
[0106] If the sum of the allocated power obtained by each vehicle according to the sorting and allocation strategy does not exceed the power margin of the transformer area, all vehicles shall be executed according to the allocation result.
[0107] When the sum of the allocated power exceeds the power margin of the transformer area, the allocated power of each vehicle is uniformly reduced according to the narrowing ratio. The narrowing ratio is the ratio of the current power margin of the transformer area to the sum of the allocated power of each vehicle before the reduction. The allocated power of each vehicle after the reduction is equal to the allocated power before the reduction multiplied by the narrowing ratio, so that the sum of the allocated power after the reduction does not exceed the power margin of the transformer area.
[0108] After the newly connected vehicle completes the verification and demand collection in step two, the charging pile compares the current power margin of the substation with the preset safety boundary.
[0109] When the power margin of the distribution area is not lower than the preset safety boundary, the vehicle will be included in the current allocation and charging will be started.
[0110] When the power margin of the transformer area is lower than the preset safety boundary, the vehicle enters the waiting queue and is temporarily not started. The waiting order is arranged according to the access time, and the queuing status is displayed on the interactive interface. The start determination is re-executed every preset allocation cycle. When the power margin of the transformer area rises back to above the preset safety boundary, the vehicles are started in the waiting order.
[0111] Vehicles in the final stage of charging do not participate in the narrowing reduction and maintain their current power allocation. The narrowing reduction is only performed between non-final stage vehicles. The sum of the power allocation of non-final stage vehicles after reduction does not exceed the difference between the power margin of the substation and the power maintained by the final stage vehicles. After the final stage vehicles complete charging, they release the allocated quota they occupy. The released quota is included in the power margin of the substation in the next preset allocation cycle and participates in the redistribution.
[0112] When a user modifies the target battery level or desired departure time via the interactive interface during charging, the charging station recalculates the remaining charging gap, available charging time, and average demand power, updates the corresponding vehicle charging demand entries, and reorders them. The changed demand participates in the allocation of the next preset allocation cycle, while the output power already executed in this cycle remains unchanged. When the same vehicle changes its demand multiple times consecutively, the demand parameters of the last change are used for allocation. The change event and the demand parameters before and after the change are written to the offline execution record.
[0113] After each round of allocation, each charging pile broadcasts the allocated power of each vehicle at its own pile and the converged and adjusted charging power to other charging piles in the area via the pile network. The broadcast message carries the network sequence number, the vehicle charging demand item number and the power value. After receiving the broadcast, each pile summarizes the charging power distribution of each charging pile in the area. This summary result is used for the rolling constraint verification during the recovery transition period in step five, so that any pile can independently obtain all the power data required for verification.
[0114] The output power of each charging pile gradually approaches the allocated power according to the preset adjustment step size. The preset adjustment step size is set at 5% to 10% of the rated power of a single pile, so that the power adjustment achieves a balance between convergence speed and current stability, avoiding the impact of power step on the battery and the power grid in the area. Both upward and downward adjustments are executed according to the preset adjustment step size until the output power is consistent with the allocated power. When there are both upward and downward adjustments in the same preset allocation cycle, the downward adjustment is executed before the upward adjustment, so that the total charging power in the area does not exceed the power margin of the area during the adjustment process.
[0115] For vehicles whose power allocation is lower than the preset minimum power after narrowing and reduction, power will be supplied according to the preset minimum power. The preset minimum power is determined by multiplying the average power demand of the vehicle by the preset minimum ratio, which is between 20% and 40%, to ensure that the reduced vehicles maintain a basic charging progress. The lower limit of the preset minimum power is set according to the minimum power required to maintain the battery management system online and the battery thermal management. The setting of the preset minimum power also meets the total power constraint, that is, the total power when all charging piles in operation in the area are supplied with power at the preset minimum power does not exceed the preset safety boundary, to prevent the total power supply from exceeding the limit when all charging vehicles reach the minimum power at the same time. After the power margin of the area is restored, the power allocation for each vehicle is recalculated according to the narrowing ratio.
[0116] If the battery management system requests abnormal parameters, the vehicle connection status is abnormal, or communication is interrupted during the charging process, the charging pile will cut off the output in accordance with the charging safety cut-off requirements specified in the national standard GB / T18487.1. The charging safety cut-off requirements refer to the safety requirements specified in this standard that the output must be stopped and the power circuit disconnected within a specified time limit when there is a connection or communication abnormality.
[0117] When the number of consecutive disconnections of the same charging interface reaches the preset safe disconnection number, the charging interface is locked and no new charging task is started. The preset safe disconnection number is 2 to 3 times based on the principle of eliminating occasional interference and identifying persistent faults. The locking event is written to the offline execution record.
[0118] The charging pile compares the measured charging power with the allocated power according to a preset collection cycle. When the deviation exceeds the preset execution deviation range, the current allocation is re-executed and the deviation event is written to the offline execution record. The preset execution deviation range is set by combining the adjustment accuracy and metering accuracy of the charging pile output stage, and is taken as 2% to 5% of the rated power of a single pile. The power adjustment is achieved through the charging control method of PWM duty cycle adjustment. The charging control method of PWM duty cycle adjustment refers to the method specified in the national standard GB / T18487.1, which uses the duty cycle of the control guide signal to notify the vehicle of the upper limit of the available charging current. The vehicle draws power according to the upper limit of the current corresponding to the duty cycle, and the charging pile adjusts the output power by adjusting the duty cycle.
[0119] The charging power reported by each charging pile to the inter-pile network is the measured charging power, not the allocated power. This ensures that the total charging power obtained in step three reflects the actual charging load of the area. The rolling calculation of the area's power margin thus forms a loop based on measured feedback correction. Systematic deviations between the allocated value and the measured value are covered by the preset execution deviation range monitoring. When the deviation exceeds the preset execution deviation range for multiple consecutive preset acquisition cycles, the output level of the pile is determined to be abnormal. The output is cut off according to the charging safety cut-off requirements, and the abnormal event is written into the offline execution record.
[0120] Offline execution records are written on a rolling basis according to a preset recording cycle. The preset recording cycle is calculated in minutes based on the remaining capacity of the non-volatile storage area and the expected offline duration, so that the recording density during offline periods matches the storage capacity. The content of each round of writing is as follows: The power allocated to each vehicle in this round, the measured charging power, the power margin of the transformer area used, the strategy version number, and the sorting results are written into the offline execution record; the strategy version number is incremented each time the allocation strategy parameters change, so that the record verification in step five can distinguish the strategy evolution during the offline period.
[0121] During offline periods, the allocation strategy is fixed to the strategy issued by the district file, and each charging pile does not switch the strategy type on its own. The strategy parameters issued by the district file and the settings in step three remain consistent during offline periods. Each pile executes the same allocation rules with the same input to obtain the same allocation result, thus avoiding power oscillations caused by inconsistent allocation results between piles.
[0122] Step 5, Resume the transitional transfer of control: The recovery transition period is divided into three stages: the record verification period, the strategy convergence period, and the formal takeover period. The three stages are executed sequentially, and the next stage can only be entered after the entry conditions of the previous stage are met.
[0123] When both the platform's heartbeat channel and the local link detection channel return to normal and remain stable for a preset duration without failing again, the link is considered restored, and the link restoration time is recorded. After the link is restored, each charging pile does not immediately reconnect to the platform simultaneously. Instead, each charging pile determines its own reconnection backoff time slot according to its network sequence number. Charging piles with smaller network sequence numbers reconnect first. The duration of the reconnection backoff time slot is limited by the preset time slot duration. The preset time slot duration is set as a multiple of the preset time slot multiple of the sum of the transmission time of a single charging pile's supplementary data packet and the platform's single processing delay, so that the supplementary transmission messages of each charging pile arrive at the platform in sequence, avoiding platform access congestion caused by concurrent reconnections.
[0124] For charging piles whose current charging power is higher than the preset forward power threshold, their reconnection backoff time slot is moved forward by one position. The preset forward power threshold is set according to the median value of the rated power of the charging piles in operation in the area, so that the offline execution records of the charging piles that bear the main load are prioritized for retransmission, and the platform can grasp the main load source of the area as early as possible.
[0125] The process for recording the verification period is as follows: Each charging pile retransmits its offline execution records to the platform within its respective reconnection and backoff time slot. The retransmission scope includes all records from the offline start time to the link recovery time. The platform verifies the retransmitted records by comparing the charging power in the retransmitted records with the power readings on the charging pile's meter.
[0126] When the deviation is within the preset verification deviation range, the verification is passed and a verification confirmation is issued to the corresponding charging pile. The preset verification deviation range is set according to the allowable error corresponding to the accuracy level of the meter.
[0127] After the charging pile sends a supplementary transmission, it waits for verification and confirmation. The waiting time is limited by the preset issuance waiting time, which is set according to the statistical upper limit of the platform's verification and processing delay.
[0128] If no verification confirmation is received after the preset issuance waiting time, the verification status will be queried from the platform according to the preset query cycle. The preset query cycle is a preset query multiple of the preset heartbeat cycle to avoid intensive queries occupying platform processing resources.
[0129] When all the charging piles in operation in the area have passed the verification, the verification period is recorded as over and the strategy convergence period begins.
[0130] Charging piles that fail verification enter the observation and management state, freezing their current charging power and preventing them from participating in subsequent convergence adjustments. The platform reconstructs the offline file of the pile using the meter readings and the data from the district's overall meter. After reconstruction, the pile is re-verified. Once the re-verification is successful, the pile exits the observation and management state and enters the strategy convergence period. The frozen power of charging piles in the observation and management state continues to occupy the district's capacity and is included in the sum of power for rolling constraint verification.
[0131] The convergence execution process during the strategy convergence period is as follows: The platform generates and distributes target strategies based on the supplemented offline execution records. These strategies include the target charging power for each charging pile. Upon receiving the target strategy, each charging pile gradually converges from its current charging power towards the target charging power according to a preset adjustment step size. The convergence process is subject to rolling constraints based on the power margin of the charging area. Each charging pile performs a rolling constraint check once per preset data acquisition cycle, satisfying the following formula: ; in, represent Time of the first The charging power of the charging piles after convergence is obtained by the charging power of each charging pile after each convergence adjustment through the inter-pile network reporting. The total number of charging piles participating in the convergence within the substation area is obtained from the number of in-service charging piles counted according to the network heartbeat within the pile network. represent The power margin of the transformer area measured locally at any time is taken from the latest value updated according to the preset acquisition cycle of the rolling calculation results in step three.
[0132] The sum of power for rolling constraint verification includes the frozen power of the observed charging pile in the control state and the holding power of the charging vehicle at the end. Neither of them participates in the convergence adjustment but still occupies the capacity of the substation. If they are not included, the total power after convergence will exceed the actual available margin.
[0133] If the verification fails, each charging pile will reduce the convergence adjustment amount of this round by the same proportion and re-verify. The reduction proportion is the ratio of the local measured power margin of the substation to the sum of the charging power of each charging pile after convergence. Each charging pile will independently perform the verification using the same power data shared by the inter-pile network and the same verification rules. If the inputs and rules are consistent, the verification results will be consistent, and no additional arbitration is required.
[0134] The convergence progress is determined based on the target deviation.
[0135] When the deviation between the charging power of each charging pile and the target charging power is within a preset threshold ratio, the pile is determined to have reached the convergence progress point. The preset threshold ratio is set according to the accuracy requirements of the convergence determination, and is taken as 5% to 10% of the target charging power. Each pile will broadcast the event of reaching the convergence progress point through the pile network and report it to the platform.
[0136] When the platform verifies the target strategy, it uses the total load power of the transformer area measured locally before the link recovery time as the benchmark. If the deviation between the total power of the target strategy and the benchmark is within the preset load deviation, the target strategy is deemed valid. The preset load deviation is set by combining the data acquisition and metering accuracy with the normal load fluctuation range.
[0137] When the timestamp deviation between the target strategy snapshot and the local power snapshot is within the preset snapshot deviation duration, it participates in the verification. The preset snapshot deviation duration is twice the preset collection period to ensure that both sides are taken from the same load state.
[0138] The convergence time is constrained by the latest full-power charging time.
[0139] The latest full-power charging time is obtained by dividing the vehicle's remaining charging gap by the vehicle's current allocated power to get the required charging time, and then subtracting the required charging time from the expected departure time; the convergence completion time of each vehicle is no later than the latest full-power charging time.
[0140] For vehicles whose convergence will be later than the latest full-power charging time according to the preset adjustment step size, the adjustment amount per round will be increased according to the preset downshift ratio. The preset downshift ratio is set to 30% to 70%, based on the principle that convergence can still be completed within the expected transition period after downshifting without causing a sudden change in power, so that vehicles with urgent departure time can complete convergence first.
[0141] The process of freezing the breakpoint during the transition period when the chain breaks again is as follows: If a link is restored and then disconnected again within a preset time window, and the number of disconnections reaches the preset number of disconnections, the breakpoint will be frozen. The preset time window is set according to the expected handover duration, and the preset number of disconnections is 2 to 3 times to distinguish between occasional jitter and link instability.
[0142] When a freeze is triggered, each charging pile is frozen with the charging power at the current convergence position as the breakpoint power value, and the current convergence progress point is recorded at the same time. The freeze is performed to perform a safety check and correction, with the power margin of the substation verified by dual sources in the most recent preset collection period before the chain break as the freeze benchmark.
[0143] When the sum of the power values at each charging pile breakpoint exceeds the freezing benchmark, the power values at each breakpoint are reduced by the same ratio. The reduction ratio is the ratio of the freezing benchmark to the sum of the power values at each charging pile breakpoint. After the reduction, the charging pile is re-frozen.
[0144] The power value at the breakpoint of the last-stage charging vehicle is not included in the reduction and remains frozen at its original value; during the freezing period, the output power of each charging pile is kept unchanged at the breakpoint power value, waiting for the link to be restored.
[0145] Resume interrupted downloads according to the convergence progress point.
[0146] After the link is restored and confirmed after a preset stabilization period, each charging pile continues to converge from the recorded convergence progress point, adjusting towards the target charging power with the frozen breakpoint power value as the convergence starting point; before resuming transmission, the rolling constraint check is re-executed.
[0147] When the sum of the power values at each charging pile breakpoint exceeds the local measured power margin of the charging station area, the power will be reduced by the same ratio. The reduction ratio is the ratio of the local measured power margin of the charging station area to the sum of the power values at each charging pile breakpoint.
[0148] If the link is lost again during the resume transmission, the breakpoint freeze will be re-executed. The number of link losses will be accumulated within a preset time window. When the preset number of link losses is reached, the frozen state will be maintained until the link becomes stable.
[0149] If the cumulative number of disconnections within the preset time window is less than the preset number of disconnections, the link is considered stable. Link stability is one of the prerequisites for entering the formal takeover period.
[0150] The formal takeover period will begin after all charging piles reach the convergence progress point.
[0151] When all operating charging piles in the area reach the convergence progress point and the link is stable, the formal takeover period begins; the platform formally takes over the charging control of each charging pile, and each pile exits local orderly charging control and resumes execution according to the charging strategy issued by the platform.
[0152] When the platform takes over, if the total power of the target strategy exceeds the power margin of the local measured area, the target strategy will be scaled up by the same ratio. The scaling ratio is the ratio of the local measured power margin of the area to the total power of the target strategy. After scaling, the strategy will be issued and executed.
[0153] Vehicles still in the final stage of charging will maintain their current power allocation during the takeover period until charging is complete, at which point they will be integrated into the platform's strategy. The handover completion event and the time records of each handover stage will be written into the offline execution log and uploaded to the platform for archiving, thus ending the transition period.
[0154] Example 2 An orderly charging control system for new energy vehicles in offline mode includes: Module 1: After both the platform heartbeat channel and the local link detection channel fail, the system enters offline mode from the offline preparation state and starts offline execution recording. Module 2: In offline mode, locally verify the vehicle, collect the target battery level and the expected departure time to generate a vehicle charging requirement entry; Module 3: Collect the load on the low-voltage side of the transformer in the distribution area to obtain the total load power of the distribution area. Subtract the difference between the total load power of the distribution area and the total charging power gathered by the inter-pile network from the open capacity of the distribution area to obtain the power margin of the distribution area. Module 4: Determine the urgency of departure based on the expected departure time of the vehicle charging demand items and sort the vehicles. Generate the allocated power with the power margin of the transformer area as the total constraint. When the sum of the allocated power exceeds the power margin of the transformer area, it is reduced by the narrowing ratio. Module 5: After the link is restored, the offline execution record is re-uploaded to the platform during the verification period. After successful verification, the strategy convergence period begins. The system converges towards the target charging power according to the target strategy issued by the platform. Throughout the convergence process, the sum of the charging power of each charging pile is constrained by the power margin of the charging area. Once each charging pile reaches its convergence progress point, the formal takeover period begins, transferring charging control to the platform. If the link is lost again during the transition period, reaching the preset number of loss periods, the charging power at the current convergence position is frozen as the breakpoint power value, and the convergence progress point is recorded. After the link is restored, convergence continues from the convergence progress point using the breakpoint power value. The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for orderly charging control in offline mode for new energy vehicles, characterized in that, include: After both the platform heartbeat channel and the local link detection channel fail, the system enters offline mode from the offline preparation state and starts offline execution recording. In offline mode, the vehicle is locally verified, and the target battery level and expected departure time are collected to generate a vehicle charging requirement entry. The total load power of the transformer area is obtained by collecting the load on the low-voltage side of the transformer area. The power margin of the transformer area is obtained by subtracting the difference between the total load power of the transformer area and the total charging power gathered by the inter-pile network from the open capacity of the transformer area. The urgency of departure is determined based on the expected departure time of the vehicle charging demand items, and each vehicle is sorted. The power allocation is generated with the power margin of the transformer area as the total constraint. When the sum of the allocated power exceeds the power margin of the transformer area, it is reduced by the narrowing ratio. After the link is restored, the offline execution record is re-uploaded to the platform during the verification period. After the verification is passed, the strategy convergence period begins. The charging power converges towards the target power according to the target strategy issued by the platform. Throughout the convergence process, the sum of the charging power of each charging pile is constrained by the power margin of the substation. After each charging pile reaches the convergence progress point, the formal takeover period begins and the charging control is transferred to the platform. If the link is lost again during the transition period and the preset number of link loss occurs, the charging power at the current convergence position is frozen as the breakpoint power value and the convergence progress point is recorded. After the link is restored again, the convergence continues from the convergence progress point using the breakpoint power value.
2. The offline mode ordered charging control method for new energy vehicles according to claim 1, characterized in that, Entering offline mode from offline preparation state includes: After both the platform heartbeat channel and the local link detection channel fail, the system enters the offline preparation state and starts timing. When the timing reaches the preset stable duration and neither the platform heartbeat channel nor the local link detection channel recovers, the system is determined to enter offline mode. If either the platform heartbeat channel or the local link detection channel recovers during the timing period, exit the offline preparation state and reset the timer.
3. The offline mode ordered charging control method for new energy vehicles according to claim 1, characterized in that, Generate vehicle charging requirement entries, including: If the target battery level and desired departure time are not entered within the preset input waiting time, the system will generate the system according to the default requirement rules. The default requirement rules are as follows: The concentration range of historical charging volume during the same access period is determined according to the preset concentration range ratio, and the default target power is obtained by multiplying the median value of the historical charging volume of the concentration range by the preset target power ratio. Take the median of historical parking durations, and add the median of historical parking durations to the access time to obtain the default expected departure time.
4. The offline mode ordered charging control method for new energy vehicles according to claim 1, characterized in that, The total charging power aggregated by the inter-pile network is aggregated in the following manner: Each charging pile broadcasts its measured charging power to the inter-pile network according to a preset reporting cycle. If the measured charging power is not received from any charging pile after the preset reporting timeout period, the rated power of the corresponding charging pile will be included in the total charging power. Once the corresponding charging station resumes broadcasting, the measured charging power of the resumed broadcast will replace the rated power value.
5. The orderly charging control method for new energy vehicles in offline mode according to claim 1, characterized in that, Reductions based on the narrowing ratio include: Vehicles whose target charge level and current charge level are not greater than the preset end-stage gap value are determined to be in the end-stage charging stage. Vehicles in the end-stage charging stage do not participate in the reduction and maintain the current power allocation. The sum of the power allocation of the remaining vehicles after reduction does not exceed the difference between the power margin of the transformer area and the power allocation it maintains. Once a vehicle in the final stage of charging has completed charging, the allocated quota it occupied is released and included in the power margin of the substation in the next preset allocation cycle for reallocation. After being reduced by the narrowing ratio, vehicles with allocated power lower than the preset minimum power will be powered by the preset minimum power. The preset minimum power is determined by multiplying the average demand power of the corresponding vehicle by the preset minimum ratio. The average demand power is obtained by dividing the remaining charging gap by the available charging time. The remaining charging gap is the difference between the target power and the current power. The available charging time is the time from the current moment to the expected departure moment. The total power supplied by all operating charging piles at the preset minimum power level shall not exceed the preset safety boundary.
6. The orderly charging control method for new energy vehicles in offline mode according to claim 1, characterized in that, During the verification period, offline execution records are uploaded to the platform. If the verification fails, the current charging power is frozen and the system enters the observation and control state. The meter readings and the total data of the distribution area are uploaded to the platform to rebuild the offline files. After the reconstruction is completed, the system is re-verified. After the re-verification is passed, the system exits the observation and control state and enters the strategy convergence period. The frozen power of charging piles under observation and control is included in the sum of the charging power of each charging pile.
7. The orderly charging control method for new energy vehicles in offline mode according to claim 6, characterized in that, During the strategy convergence period, a rolling constraint check is performed once every preset data collection cycle. The rolling constraint check includes: The sum of the charging power of each charging pile after convergence shall not exceed the local measured power margin of the charging station. The sum of power includes the frozen power of the charging pile in the observation and management state and the holding power of the vehicle in the final stage of charging. The vehicle in the final stage of charging is determined to be charging when the difference between the target power and the current power is not greater than the preset final stage gap value. If the verification fails, each charging pile will be re-verified after reducing the convergence adjustment amount of this round by the same proportion. The same proportion is the ratio of the local measured power margin of the substation to the sum of the charging power of each charging pile after convergence. Each charging pile independently performs rolling constraint verification based on the power data shared between the piles in the network. When the input and verification rules are consistent, the verification results are consistent.
8. The orderly charging control method for new energy vehicles in offline mode according to claim 1, characterized in that, During the strategy convergence period, the convergence completion time of each vehicle is no later than the latest full-power charging time. The latest full-power charging time is obtained by dividing the difference between the target energy and the current energy by the current power allocated to the corresponding vehicle to get the required charging time, and then by subtracting the required charging time from the expected departure time. For vehicles whose convergence time based on the preset adjustment step size will be later than the latest full-power charging time, the adjustment amount per round will be increased according to the preset downshift ratio.
9. The orderly charging control method for new energy vehicles in offline mode according to claim 1, characterized in that, The charging power at the current convergence position is frozen as the breakpoint power value, including: The power margin of the charging station area verified by dual sources within the most recent preset collection period before the chain break is used as the freezing benchmark. When the sum of the power values of each charging pile break point exceeds the freezing benchmark, the power values of each charging pile break point are reduced by the same proportion. The ratio of the freezing benchmark to the sum of the power values of each charging pile break point is taken by the same proportion, and the charging station is re-frozen after the reduction. Vehicles whose target charge level and current charge level are not greater than the preset end-stage gap value are determined to be in the end-stage charging stage. The breakpoint power value of vehicles in the end-stage charging stage is not reduced and remains frozen at its original value. During the freeze, each charging station will maintain its output power at the interrupted power value, waiting for the link to be restored.
10. An orderly charging control system for new energy vehicles in offline mode, comprising the orderly charging control method for new energy vehicles in offline mode according to any one of claims 1-9, characterized in that, include: Module 1: After both the platform heartbeat channel and the local link detection channel fail, the system enters offline mode from the offline preparation state and starts offline execution recording. Module 2: In offline mode, locally verify the vehicle, collect the target battery level and the expected departure time to generate a vehicle charging requirement entry; Module 3: Collect the load on the low-voltage side of the transformer in the distribution area to obtain the total load power of the distribution area. Subtract the difference between the total load power of the distribution area and the total charging power gathered by the inter-pile network from the open capacity of the distribution area to obtain the power margin of the distribution area. Module 4: Determine the urgency of departure based on the expected departure time of the vehicle charging demand items and sort the vehicles. Generate the allocated power with the power margin of the transformer area as the total constraint. When the sum of the allocated power exceeds the power margin of the transformer area, it is reduced by the narrowing ratio. Module 5: After the link is restored, the offline execution record is re-uploaded to the platform during the verification period. After verification, the strategy convergence period begins. The charging power converges towards the target power according to the target strategy issued by the platform. Throughout the convergence process, the sum of the charging power of each charging pile is constrained by the power margin of the substation. After each charging pile reaches the convergence progress point, the formal takeover period begins, and the charging control is transferred to the platform. If the link is interrupted again during the transition period and the preset number of interruptions is reached, the charging power at the current convergence position is frozen as the breakpoint power value and the convergence progress point is recorded. After the link is restored again, the convergence continues from the convergence progress point using the breakpoint power value.
