An interval constraint-based optimization scheduling method for charging and discharging of electric vehicles

By using a range constraint-based method to dynamically update the reliable power supply range of electric vehicles, the problem of insufficient power supply caused by the premature decay of weak cells is solved, the charging and discharging scheduling of electric vehicles is optimized, and the power supply reliability and household power supply support are improved.

CN123162971APending Publication Date: 2026-11-24CHONGQING VEHICLE TEST & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611292665.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the premature attenuation of weak cells is not fully considered in the V2H power supply process of electric vehicles, which leads to an overestimation of the vehicle's reliable discharge power and sustainable discharge duration, potentially resulting in insufficient power supply support for households.

Method used

By acquiring vehicle-side status data and historical V2H discharge response data of electric vehicles, combined with household power supply support demand data, the initial reliable power supply range on the vehicle side is determined, and the reliable power supply range is dynamically updated based on the attenuation parameters of the entire package and weak individual cells, thereby optimizing the discharge power, continuous discharge duration, and recharging trigger conditions.

Benefits of technology

It effectively reduces the risk of overestimating the vehicle's continuous power supply capacity by the total state of charge and rated power, adjusts the discharge plan in a timely manner, reduces the risk of insufficient home power supply support, and improves the power supply reliability of electric vehicles in V2H scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162971A_ABST
    Figure CN123162971A_ABST
Patent Text Reader

Abstract

This invention relates to the field of electric vehicle charging and discharging scheduling technology, and discloses an electric vehicle charging and discharging optimization scheduling method based on interval constraints. The method includes: acquiring vehicle-side state data, historical V2H discharge response data, and household-side power supply support demand data; determining an initial reliable power supply interval for the vehicle side; acquiring real-time discharge response data during V2H discharge to determine the overall discharge attenuation response parameters and the premature attenuation parameters of weak cells; determining the interval drift based on the above parameters; dynamically updating the reliable power supply interval for the vehicle side according to the interval drift; and obtaining a charging and discharging scheduling strategy using the updated reliable power supply interval for the vehicle side as a constraint. By matching historical V2H discharge response samples to determine the overall reliable power supply interval for the entire battery pack, and reducing it based on the deviation degree of weak cells, the initial reliable power supply interval for the vehicle side is obtained. This reduces the risk of overestimating the vehicle's continuous power supply capability solely based on the overall battery pack SOC, rated power, or historical overall battery pack performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electric vehicle charging and discharging scheduling technology, and in particular to an optimized charging and discharging scheduling method for electric vehicles based on interval constraints. Background Technology

[0002] Electric vehicle (EV) charging and discharging scheduling refers to a method for controlling the charging power, discharging power, and charging and discharging time periods of EVs based on the battery status, power demand, and operating status of charging and discharging equipment. EV charging and discharging optimization scheduling based on interval constraints introduces constraints such as power range, duration range, or power supply capacity range during the charging and discharging scheduling process, enabling EVs to participate in charging and discharging control while meeting vehicle status and power demand. In V2H (EV-to-Household) scenarios, EVs connect to the household power distribution system via bidirectional charging and discharging equipment. They can receive charging from either the household or the grid side, or discharge to household loads when there is a power supply support demand on the household side. Existing EV V2H charging and discharging scheduling typically determines whether a vehicle participates in discharging and the corresponding discharge power range based on the vehicle's total battery SOC (State of Charge), rated discharge power, BMS (Battery Management System) allowable discharge power, and household-side support power.

[0003] However, in current technology, the continuous discharge capability of a vehicle is usually judged by the total state of charge (SOC) of the battery pack, the rated discharge power, or the current allowable discharge power of the BMS. This makes it difficult to reflect the limitation of the continuous power supply capability of the entire battery pack on the premature approach of weak cells to the discharge protection boundary. As a result, the reliable discharge power and sustainable discharge duration of the vehicle may be overestimated during V2H power supply, leading to insufficient support for household power supply. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides an optimized scheduling method for electric vehicle charging and discharging based on interval constraints. This method solves the problem that existing V2H scheduling methods do not fully consider the early decay of weak cells, which leads to an overestimation of the vehicle's reliable discharge power and sustainable discharge duration.

[0005] To achieve the above objectives, the present invention provides the following technical solution: a method for optimizing the charging and discharging scheduling of electric vehicles based on interval constraints, comprising: S1. Obtain vehicle-side status data, historical V2H discharge response data, and household power supply support demand data for electric vehicles; S2. Based on the household power supply support demand data, extract matching historical discharge response samples from the historical V2H discharge response data, and combine them with the vehicle-side status data to determine the initial vehicle-side reliable power supply range. S3. During the V2H discharge process of the electric vehicle, real-time discharge response data is acquired, and the overall discharge attenuation response parameters and weak single-cell early attenuation parameters are determined based on the real-time discharge response data. S4. Based on the overall discharge attenuation response parameters and the weak single-cell early attenuation parameters, determine the range drift of the initial vehicle-side reliable power supply range; S5. Based on the interval drift, dynamically update the reliable discharge power range and the sustainable discharge duration range in the initial vehicle-side reliable power supply interval to obtain the updated vehicle-side reliable power supply interval. S6. Using the updated vehicle-side reliable power supply range as the range constraint, optimize the discharge power, continuous discharge duration and recharging trigger conditions of the electric vehicle in the V2H scenario to obtain the electric vehicle charging and discharging scheduling strategy.

[0006] Preferably, step S2 involves extracting matching historical discharge response samples from the historical V2H discharge response data and determining the initial vehicle-side reliable power supply range in conjunction with the vehicle-side state data, including: Based on the deviation between the historical average discharge power of the historical discharge segment and the current support power, and the deviation between the historical continuous discharge duration and the target support duration, the matching score corresponding to the historical discharge segment is determined, and the historical discharge segment whose matching score meets the preset matching conditions is used as the historical discharge response sample for matching. Based on the historical discharge power and historical continuous discharge duration before the BMS allowable discharge power began to decrease in the matched historical discharge response samples, the reliable power supply range of the entire package is determined. Extract individual cell voltage data from the vehicle-side state data, determine the degree of deviation of weak cells based on the individual cell voltage data, and reduce the overall reliable power supply range based on the degree of deviation of weak cells to obtain the initial vehicle-side reliable power supply range.

[0007] Preferably, determining the degree of deviation of weak cells based on the individual cell voltage data, and reducing the overall reliable power supply range based on the degree of deviation of weak cells, includes: The minimum and average individual voltages are determined based on the individual voltage data, and the individual voltage deviation between the minimum and average individual voltages is calculated. The discharge margin of a weak cell is determined based on the difference between the minimum cell voltage and the preset discharge cutoff voltage. Based on the individual cell voltage deviation and the weak cell discharge margin, a weak cell reduction factor is determined, and the overall reliable discharge power range and overall reliable power supply duration range in the overall reliable power supply interval are reduced according to the weak cell reduction factor to obtain the initial vehicle-side reliable power supply interval.

[0008] Preferably, in step S3, determining the overall discharge attenuation response parameters and the premature attenuation parameters of weak cells based on the real-time discharge response data includes: The data on the total terminal voltage, BMS allowable discharge power, and individual cell voltage of the electric vehicle during the V2H discharge process are obtained according to a preset sampling period. The rate of decrease of the total package terminal voltage is determined based on the decrease in the total package terminal voltage within adjacent sampling periods, and the rate of change of the allowable discharge power of the BMS is determined based on the change in the allowable discharge power of the BMS within adjacent sampling periods. The rate of decrease of the lowest single-cell voltage is determined based on the decrease in the lowest single-cell voltage within adjacent sampling periods. The rate of change of the weak single-cell discharge margin is determined based on the change in the difference between the lowest single-cell voltage and the preset discharge cutoff voltage. The rate of decrease of the lowest single-cell voltage and the rate of change of the weak single-cell discharge margin are normalized and fused to obtain the weak single-cell early attenuation parameter, which is a scalar parameter characterizing the degree to which the weak single-cell approaches the discharge protection boundary in advance.

[0009] Preferably, determining the interval drift of the initial vehicle-side reliable power supply interval in step S4 includes: Using the rate of decrease of the overall terminal voltage and the rate of change of the allowable discharge power of the BMS in the matched historical discharge response samples as the overall terminal voltage attenuation benchmark, the overall terminal voltage attenuation component is determined based on the excess ratio of the current rate of decrease of the overall terminal voltage relative to the rate of decrease of the overall terminal voltage in the overall terminal voltage attenuation benchmark, and the decrease ratio of the current rate of change of the allowable discharge power of the BMS relative to the rate of change of the allowable discharge power of the BMS in the overall terminal voltage attenuation benchmark. Using the lowest cell voltage drop rate and the weak cell discharge margin change rate in the matched historical discharge response samples as the weak cell attenuation benchmark, the weak cell drift component is determined based on the excess ratio of the current lowest cell voltage drop rate relative to the lowest cell voltage drop rate in the weak cell attenuation benchmark, and the decrease ratio of the current weak cell discharge margin change rate relative to the weak cell discharge margin change rate in the weak cell attenuation benchmark. The whole packet drift component and the weak individual drift component are normalized and then weighted and fused according to the whole packet attenuation weight and the weak individual reduction weight to obtain the interval drift amount.

[0010] Preferably, the dynamic updating of the vehicle-side reliable power supply range in S5 includes: The power reduction factor and the duration reduction factor are determined based on the range drift, wherein the power reduction factor is used to characterize the degree of reduction of the reliable discharge power range, and the duration reduction factor is used to characterize the degree of reduction of the sustainable discharge duration range; The upper limit of the reliable discharge power range in the initial vehicle-side reliable power supply interval is reduced based on the power reduction factor, and the range of sustainable discharge duration in the initial vehicle-side reliable power supply interval is shortened based on the duration reduction factor. The reduced reliable discharge power range and the shortened sustainable discharge duration range are used as the updated vehicle-side reliable power supply range.

[0011] Preferably, determining the power reduction factor and duration reduction factor based on the interval drift includes: Based on the distribution of drift amount in the interval before the allowable discharge power of BMS begins to decrease in historical V2H discharge response samples, multiple drift classification boundaries are determined, and the current interval drift amount is matched with the multiple drift classification boundaries to determine the drift level; Based on the drift level, call the power reduction base value and duration reduction base value corresponding to the drift level; Based on the proportion of the weak monomer drift component in the drift amount of the interval, the power reduction base value and the duration reduction base value are corrected a second time to obtain the power reduction coefficient and the duration reduction coefficient.

[0012] Preferably, in step S6, the discharge power, continuous discharge duration, and recharging trigger conditions of the electric vehicle in the V2H scenario are optimized, including: The reliable discharge power range in the updated vehicle-side reliable power supply interval is taken as the target discharge power range, and the sustainable discharge duration range in the updated vehicle-side reliable power supply interval is taken as the allowable continuous discharge duration range. Based on the current support power in the household power supply support demand data, determine the target discharge power within the reliable discharge power range; Based on the target support duration in the household power supply support demand data, the allowable continuous discharge duration is determined within the range of the sustainable discharge duration.

[0013] Preferably, the power-up triggering conditions are optimized, including: The difference between the target discharge power and the upper limit of the reliable discharge power range is determined as the power margin, and the difference between the allowable continuous discharge duration and the lower limit of the sustainable discharge duration range is determined as the duration margin. The power margin threshold is determined based on the ratio of the current support power to the upper limit of the reliable discharge power range, and the duration margin threshold is determined based on the ratio of the target support duration to the lower limit of the sustainable discharge duration range. When the power margin is less than the power margin threshold, or the duration margin is less than the duration margin threshold, a power replenishment trigger condition is generated. The power replenishment trigger condition includes the power replenishment trigger time and the target power replenishment power.

[0014] Preferably, the electric vehicle charging and discharging scheduling strategy includes: When the power replenishment trigger condition is not generated, a V2H discharge scheduling instruction is generated based on the target discharge power and the allowed continuous discharge duration. When the power replenishment trigger condition is generated, a power replenishment scheduling instruction is generated based on the power replenishment trigger time and the target power replenishment power, and the target discharge power is reduced or the allowed continuous discharge duration is shortened before the power replenishment trigger time is reached. The V2H discharge scheduling command or the charging scheduling command is used as the electric vehicle charging and discharging scheduling strategy.

[0015] This invention provides a method for optimizing the charging and discharging scheduling of electric vehicles based on interval constraints. It has the following advantages: 1. This invention determines the reliable power supply range of the entire package by matching historical V2H discharge response samples, and reduces it based on the deviation of weak individual cells to obtain the initial reliable power supply range on the vehicle side. This reduces the risk of overestimating the vehicle's continuous power supply capability based solely on the overall package SOC, rated power, or historical overall package performance.

[0016] 2. This invention determines the range drift by using the overall discharge attenuation response parameters and the weak cell early attenuation parameters, and dynamically updates the reliable discharge power range and the sustainable discharge duration range accordingly, enabling the vehicle-side power supply range to be corrected in a timely manner as the actual V2H discharge state changes.

[0017] 3. This invention uses the updated vehicle-side reliable power supply range as a scheduling constraint to optimize the discharge power, continuous discharge duration, and power replenishment triggering conditions. It can trigger power replenishment or adjust the discharge plan in advance when the vehicle power supply margin is insufficient, thereby reducing the risk of insufficient household power supply support. Attached Figure Description

[0018] Figure 1 This is a diagram illustrating the electric vehicle charging and discharging optimization scheduling method according to an embodiment of the present invention. Detailed Implementation

[0019] The technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0020] like Figure 1 As shown in the figure, this invention proposes an optimal scheduling method for electric vehicle charging and discharging based on interval constraints, including: S1. Obtain vehicle-side status data, historical V2H discharge response data, and household power supply support demand data for electric vehicles; After an electric vehicle is connected to a home power distribution system via a bidirectional charging and discharging device, the built-in on-board controller acquires the following three types of data: (1) Vehicle-side status data The on-board controller reads the vehicle-side status data provided by the electric vehicle's battery management system or bidirectional charging and discharging equipment communication interface according to the current V2H scheduling window, and then timestamps the vehicle-side status data with the current scheduling window.

[0021] (2) Household power supply support demand data The vehicle controller reads the household power supply support demand data formed by the current power consumption and target support duration required by the household power distribution system according to the current V2H scheduling window. Then, it associates and stores the household power supply support demand data with the current scheduling window, which is used to determine the historical discharge response samples that are compatible with the current V2H scheduling window in subsequent processing.

[0022] (3) Historical V2H discharge response data The on-board controller reads historical V2H discharge response data from the operation records generated when the electric vehicle previously performed V2H discharge. Then, it organizes the historical V2H discharge response data according to historical discharge segments. Each historical discharge segment corresponds to at least one continuous V2H discharge process and records the discharge power change, BMS allowable discharge power change, and discharge duration during the continuous V2H discharge process.

[0023] S2. Based on the household power supply support demand data, extract matching historical discharge response samples from the historical V2H discharge response data, and combine them with the vehicle-side status data to determine the initial vehicle-side reliable power supply range. The historical V2H discharge response data is divided into multiple historical discharge segments, each corresponding to one continuous V2H discharge process. For each historical discharge segment, the historical average discharge power and historical continuous discharge duration are extracted, and the deviations are calculated with the current support power and target support duration in the household power supply support demand data to obtain the corresponding matching score, as follows:

[0024] in, Indicates the first Matching scores for historical discharge segments, Indicates the first The historical average discharge power of each historical discharge segment Indicates the current supporting power. Indicates the first The duration of continuous discharge in each historical discharge segment Indicates the duration of target support; Indicates the power deviation weight. This indicates the weight of the duration deviation.

[0025] Historical discharge segments with matching scores below a preset score threshold, or multiple historical discharge segments with the highest matching scores, are used as historical discharge response samples for matching. The preset score threshold can be determined based on the statistical distribution of the matching scores of historical discharge segments.

[0026] After determining the matching historical discharge response samples, the change process of the BMS allowable discharge power in the historical discharge response samples is read, the BMS allowable discharge power is sorted according to the historical sampling time, and the difference of the BMS allowable discharge power in adjacent historical sampling periods is calculated.

[0027] When the difference in the allowable discharge power of the BMS within multiple consecutive historical sampling periods all represent a power decrease, and the cumulative decrease reaches the preset decrease judgment amount, the first sampling time of this continuous decrease process is determined as the time when the allowable discharge power of the BMS begins to decrease, and the corresponding historical discharge stage before the allowable discharge power of the BMS begins to decrease is determined. The reliable discharge power range of the entire pack is determined based on the historical discharge power within this historical discharge stage, and the reliable power supply duration range of the entire pack is determined based on the historical continuous discharge duration corresponding to this historical discharge stage. The reliable power supply interval of the entire pack is formed by the reliable discharge power range of the entire pack and the reliable power supply duration range of the entire pack. This reliable power supply interval of the entire pack is used to characterize the power and duration boundaries that the battery pack as a whole can maintain stable output in historical V2H scenarios similar to the current support requirements.

[0028] After forming a reliable power supply range for the entire package, the individual cell voltage data is extracted from the vehicle-side status data. First, the lowest individual cell voltage is determined from the individual cell voltages corresponding to the same sampling time, and the average value of each individual cell voltage is calculated to obtain the average individual cell voltage. Then, the individual cell voltage deviation is determined based on the degree of deviation of the lowest individual cell voltage from the average individual cell voltage.

[0029] The individual cell voltage deviation is used to characterize the degree of deviation of the lowest voltage cell from the overall average state of the battery pack. The larger the individual cell voltage deviation, the more obvious the difference between the lowest voltage cell and the overall average voltage of the battery pack. The lowest voltage cell is more likely to approach the discharge protection boundary before other cells during continuous V2H discharge. After determining the minimum cell voltage, the weak cell discharge margin is further determined based on the difference between the minimum cell voltage and the preset discharge cutoff voltage. This weak cell discharge margin is used to characterize the remaining space between the minimum cell voltage and the discharge cutoff boundary. The smaller the weak cell discharge margin, the closer the minimum cell is to the discharge cutoff boundary, and the easier it is to trigger BMS power limiting or discharge termination during subsequent continuous discharge.

[0030] Then, based on the individual cell voltage deviation and the weak cell discharge margin, the weak cell reduction factor is calculated using the following formula:

[0031] in, Indicates the reduction factor for weak monomers. Indicates the voltage deviation of a single unit. Indicates the average voltage of a single cell. Indicates the discharge margin of a weak cell. Indicates the weighting of individual cell voltage deviations. Indicates the discharge margin weight of weak cells. This represents a very small positive number used to avoid a denominator of zero. Through this weak cell reduction factor, the limitation of the weak cell on the continuous power supply capability of the whole package can be transformed into a reduction in the reliable power supply range of the whole package.

[0032] After determining the reduction factor for weak cells, the range of reliable discharge power and the range of reliable power supply duration for the entire package are reduced within the reliable power supply range for the entire package:

[0033]

[0034] in, This indicates the upper limit of the reliable discharge power range for the entire package. This indicates the upper limit or reference reliable power supply duration for the entire package. This indicates the upper limit of the initial reliable discharge power range on the vehicle side. This indicates the upper limit or baseline sustainable discharge duration range on the initial vehicle side. This represents the effect of the weak cell reduction factor on reliable discharge power. This represents the effect of the weak monomer reduction factor on the duration of sustained discharge, and then the interval ( This serves as an initial vehicle-side reliable power supply range that is closer to the actual discharge limits of the current battery pack.

[0035] For example, within a given current scheduling window, the upper limit of the reliable discharge power range for the entire package determined by historical samples is: The total reliable power supply time for the entire package is If the current individual cell voltage data indicates that the lowest individual cell voltage is significantly lower than the average individual cell voltage, and the margin between the lowest individual cell voltage and the preset discharge cutoff voltage is small, then the reduction factor for weak cells increases, and the reduced value... and This reduces the corresponding power consumption, thereby avoiding overestimation of the vehicle's reliable discharge power and sustainable discharge duration in the current V2H scenario based solely on the historical discharge performance of the entire package.

[0036] S3. During the V2H discharge process of the electric vehicle, real-time discharge response data is acquired, and the overall discharge attenuation response parameters and weak single-cell early attenuation parameters are determined based on the real-time discharge response data. During the V2H discharge process of an electric vehicle, real-time discharge response data is continuously acquired according to a preset sampling period. This data includes at least the total terminal voltage, the allowable discharge power of the BMS, and the individual cell voltage data. Each sampled data is cached in the order of sampling time, so that the voltage and power changes in adjacent sampling periods can be used to characterize the attenuation trend in the current V2H discharge process. This sampling process occurs during the period when the vehicle is actually outputting electrical energy to the household power distribution system, and therefore can reflect the real-time discharge status of the vehicle under the continuous traction of the household load.

[0037] The rate of decrease of the overall package terminal voltage is determined by the decrease in the overall package terminal voltage within adjacent sampling periods. The difference between the overall package terminal voltage of the previous sampling period and the overall package terminal voltage of the current sampling period is used to obtain the decrease in the overall package terminal voltage. The rate of decrease in the overall package terminal voltage is then determined by the ratio of the decrease in the overall package terminal voltage to the time interval between adjacent sampling periods. The decrease in the allowable discharge power of the BMS is obtained by the difference between the allowable discharge power of the BMS of the previous sampling period and the allowable discharge power of the BMS of the current sampling period. The rate of change of the allowable discharge power of the BMS is then determined by the ratio of the decrease in the allowable discharge power of the BMS to the time interval between adjacent sampling periods.

[0038] The overall voltage drop rate is used to characterize the rate at which the battery pack's voltage decays during the current discharge process. The BMS-allowed discharge power change rate is used to characterize whether the vehicle's discharge capability is showing a narrowing trend. If the overall voltage drop is rapid, or the BMS-allowed discharge power decreases continuously, it indicates that the overall continuous power supply capability of the battery pack is weakening. This data is used as the overall discharge decay response parameter to participate in the subsequent determination of the range drift.

[0039] Meanwhile, within each sampling period, the minimum cell voltage is determined based on the cell voltage data, and the rate of decrease of the minimum cell voltage is determined based on the decrease of the minimum cell voltage in adjacent sampling periods. Then, the change of the difference between the minimum cell voltage and the preset discharge cutoff voltage in adjacent sampling periods is compared to obtain the rate of change of the discharge margin of the weak cell. The rate of decrease of the minimum cell voltage is used to characterize whether the voltage of the weak cell decreases faster than the normal state, and the rate of change of the discharge margin of the weak cell is used to characterize the degree to which the weak cell approaches the discharge cutoff boundary. Through these two quantities, it can be identified whether the weak cell has approached the discharge protection boundary in advance when the overall state of the battery pack is not obviously abnormal. After determining the minimum cell voltage drop rate and the rate of change of weak cell discharge margin, the two are normalized and fused to obtain the weak cell early decay parameter expressed in scalar form. This weak cell early decay parameter can be calculated according to the following formula:

[0040] in, Indicates the first The weak single-cell early decay parameter corresponding to each sampling period Indicates the first The lowest single-cell voltage drop rate corresponding to each sampling period Indicates the first Rate of change of weak cell discharge margin corresponding to each sampling period This represents the normalization processing function. Indicates the weight of the lowest individual cell voltage drop rate. The weights representing the rate of change of discharge margin of weak cells are obtained after normalization and fusion. This is a scalar parameter. The larger the value, the closer the weak cell is to the discharge protection boundary, and the more obvious the limitation on the vehicle's continuous V2H power supply capability.

[0041] For example, during a V2H discharge process, if the overall package voltage drops relatively steadily over several adjacent sampling periods, but the lowest individual cell voltage continues to drop and the margin between it and the preset discharge cutoff voltage decreases rapidly, the overall package discharge attenuation response parameters may not yet show obvious abnormalities, while the premature attenuation parameters of weak cells will increase. In this way, when determining the range drift in the subsequent process, it is possible to avoid judging whether the vehicle still has a stable power supply capability based solely on the overall package voltage or the BMS allowable discharge power, thereby reflecting the limitations of weak cells on the reliable discharge power range and the range of sustainable discharge duration earlier.

[0042] S4. Based on the overall discharge attenuation response parameters and the weak single-cell early attenuation parameters, determine the range drift of the initial vehicle-side reliable power supply range; The historical pack terminal voltage drop rate and historical BMS allowable discharge power change rate in the matched historical discharge response samples are used as the pack attenuation benchmark. The pack terminal voltage drop rate and BMS allowable discharge power change rate in the current V2H discharge process are compared with the pack attenuation benchmark. When the current pack terminal voltage drop rate is higher than the historical pack terminal voltage drop rate, or the current BMS allowable discharge power decrease trend is stronger than the historical samples, it indicates that the overall reliable power supply capability of the battery pack has deviated from the historical reliable state, thus forming the pack drift component.

[0043] The weak cell drift component is used to characterize the extent to which the lowest voltage cell approaches the discharge protection boundary ahead of time. Specifically, the historical lowest cell voltage drop rate and the historical weak cell discharge margin change rate in the matched historical discharge response samples are used as the weak cell attenuation benchmark. The current lowest cell voltage drop rate and weak cell discharge margin change rate in the V2H discharge process are then processed in correspondence with the weak cell attenuation benchmark. When the current lowest cell voltage drop rate is higher than the historical lowest cell voltage drop rate, or the current weak cell discharge margin shrinkage rate is stronger than that of the historical samples, it indicates that the lowest voltage cell approaches the discharge cutoff boundary faster than in the historical reliable state, thus forming the weak cell drift component.

[0044] The above-mentioned whole-pack drift component and weak-unit drift component can be calculated separately using the same drift component calculation formula:

[0045] in, This represents the drift component to be calculated (whole packet drift component or weak single-unit drift component). and These represent the weights of the two types of decay parameters, This represents a very small positive number used to avoid a denominator of zero.

[0046] When calculating the whole package drift component, for , This represents the current rate of voltage drop across the entire package. The historical rate of voltage drop across the entire package. This represents the decrease in the allowable discharge power change rate of the current BMS. This represents the decrease in the allowable discharge power change rate corresponding to the historical BMS; when calculating the weak cell drift component, for , This represents the lowest current rate of voltage drop in a single cell. This represents the lowest rate of voltage drop in a single cell in history. This represents the rate of change of the discharge margin of the current weak single cell. The historical weak cell discharge margin variation rate is used to calculate two different levels of drift components by substituting the whole package side parameters and weak cell side parameters into the same formula, without confusing the data sources.

[0047] After obtaining the overall packet drift component and the weak cell drift component, the two are normalized and then fused according to the overall packet attenuation weight and the weak cell reduction weight to obtain the initial vehicle-side reliable power supply range drift amount:

[0048] in, Indicates the interval drift. Indicates the total drift component of the package. Indicates the weak monomer drift component. Represents the normalization function. Indicates the attenuation weight of the entire package. The weak cell drift component represents the weight reduction of the weak cell, the overall pack drift component reflects the change in the overall discharge capacity of the battery pack, and the weak cell drift component reflects the change in the lowest voltage cell approaching the protection boundary earlier. The range drift obtained by combining the two is used to dynamically update the reliable discharge power range and the sustainable discharge duration range.

[0049] S5. Based on the interval drift, dynamically update the reliable discharge power range and the sustainable discharge duration range in the initial vehicle-side reliable power supply interval to obtain the updated vehicle-side reliable power supply interval. The interval drift values ​​corresponding to multiple historical discharge response samples before the BMS allowable discharge power begins to decrease are sorted in ascending order. Based on the sorting results, the interval drift values ​​corresponding to different quantile positions are selected as drift classification boundaries. For example, the first quantile boundary and the second quantile boundary can be used as the boundaries between low drift level, medium drift level and high drift level, respectively. When the current interval drift value is not higher than the first quantile boundary, it is determined to be a low drift level; when it is higher than the first quantile boundary but not higher than the second quantile boundary, it is determined to be a medium drift level; and when it is higher than the second quantile boundary, it is determined to be a high drift level.

[0050] For historical discharge response samples belonging to the same drift level, the reliable discharge power contraction ratio and reliable power supply duration contraction ratio are statistically analyzed before and after the BMS allowable discharge power begins to decrease. The statistical representative value of the reliable discharge power contraction ratio is used as the power reduction base value corresponding to the drift level, and the statistical representative value of the reliable power supply duration contraction ratio is used as the duration reduction base value corresponding to the drift level. The higher the drift level, the greater the deviation of the current V2H discharge process from the historical reliable power supply state, and the larger the corresponding power reduction base value and duration reduction base value. The power reduction base value is used to perform basic reduction on the reliable discharge power range, and the duration reduction base value is used to perform basic reduction on the sustainable discharge duration range. Through this graded calling method, the frequent changes in the vehicle-side reliable power supply range when the drift amount fluctuates slightly can be avoided, and the reduction magnitude can be increased in a timely manner when the drift amount increases significantly.

[0051] A secondary correction is performed based on the proportion of the weak monomer drift component in the interval drift, and the calculation formula is as follows:

[0052] in, This indicates the proportion of the weak monomer drift component in the range drift. Indicates the weak monomer drift component. Indicates the total drift component of the package. Represents the normalization function. This represents a very small positive number used to avoid a denominator of zero, when... When the value is large, it indicates that the current range drift is mainly caused by the weak cells approaching the discharge protection boundary in advance. In this case, the reduction should be further increased based on the basic reduction value.

[0053] Accordingly, the power reduction factor and the duration reduction factor can be determined according to the following formulas:

[0054]

[0055] in, This represents the power reduction factor. This represents the duration reduction factor. Indication and drift level The corresponding power reduction base value, Indication and drift level The corresponding duration is reduced by the base value. This indicates the drift level corresponding to the current drift amount within the interval. This represents the correction factor for the power reduction caused by the proportion of weak monomer drift. The power reduction factor represents the correction coefficient for the duration reduction due to the proportion of weak cell drift. The larger the range drift, the more significant the deviation of the current V2H discharge process from the historical reliable power supply state. The reliable discharge power range and the sustainable discharge duration range in the initial vehicle-side reliable power supply range need to be correspondingly reduced. Therefore, the power reduction factor is used to represent the reduction ratio of the upper limit of the reliable discharge power range, and the duration reduction factor is used to represent the shortening ratio of the sustainable discharge duration range.

[0056] Therefore, when the current range drift mainly originates from changes in the overall package terminal voltage or the allowable discharge power of the BMS, a base reduction is applied according to the corresponding drift level. When the current range drift mainly originates from premature decay of weak cells, then... Further increase the reduction margin so that the power reduction factor and duration reduction factor can reflect the dominant limitation of weak cells on the vehicle's continuous V2H power supply capability.

[0057] For example, in a certain scheduling window, if the current interval drift falls into the medium drift level, the corresponding medium-level power reduction base value and duration reduction base value will be called. If the proportion of weak individual drift components is low at this time, the power reduction coefficient and duration reduction coefficient are mainly determined by the drift level. If the proportion of weak individual drift components is high, it means that the lowest individual is approaching the discharge cutoff boundary faster. Even if the overall attenuation of the entire package is not significant, a more conservative reduction is needed for the reliable discharge power range and the sustainable discharge duration range. This can avoid underestimating the impact of the premature attenuation of weak individual components on the continuous power supply of V2H by only determining the reduction range based on the attenuation degree of the entire package.

[0058] After determining the power reduction factor and duration reduction factor, the initial vehicle-side reliable power supply range is dynamically updated. Specifically, the upper limit of the reliable discharge power range in the initial vehicle-side reliable power supply range is lowered according to the power reduction factor, and the range of sustainable discharge duration in the initial vehicle-side reliable power supply range is shortened according to the duration reduction factor. The calculation formula is as follows:

[0059]

[0060] in, This indicates the upper limit of the updated reliable discharge power range. This indicates the upper limit of the reliable discharge power range within the initial reliable power supply range on the vehicle side. Indicates the power reduction factor. This indicates the upper limit or baseline value of the updated sustainable discharge duration range. This indicates the upper limit or reference value of the sustainable discharge duration range within the initial reliable power supply range on the vehicle side. This represents the duration reduction factor. Through this update method, the interval drift is converted into an actual contraction of the reliable power supply interval on the vehicle side, so that the updated interval can reflect the change in the continuous power supply capability of the electric vehicle during the current V2H discharge process. After completing the above updates, the reduced reliable discharge power range and the shortened sustainable discharge duration range will be combined to form the updated vehicle-side reliable power supply range. For example, in a certain V2H discharge process, if the upper limit of the reliable discharge power range in the initial vehicle-side reliable power supply range is... The upper limit of the range of sustainable discharge time is The current range drift indicates a faster voltage drop across the entire package and that weaker cells approach the discharge protection boundary more quickly. Consequently, the power reduction factor and duration reduction factor increase accordingly. The updated... and If the value is lower than the initial value, then in subsequent scheduling, the electric vehicle will not continue to perform V2H power supply according to the initial large discharge power range and duration. Instead, the discharge power, continuous discharge duration and power replenishment trigger conditions will be determined based on the updated vehicle-side reliable power supply range.

[0061] S6. Using the updated vehicle-side reliable power supply range as the range constraint, optimize the discharge power, continuous discharge duration and recharging trigger conditions of the electric vehicle in the V2H scenario to obtain the electric vehicle charging and discharging scheduling strategy.

[0062] After obtaining the updated vehicle-side reliable power supply range, the reliable discharge power range within it is used as the target discharge power range, and the sustainable discharge duration range within it is used as the allowable continuous discharge duration range. In other words, when the electric vehicle subsequently participates in V2H discharge, its discharge power is no longer determined according to the rated discharge power or initial discharge capacity, but rather selected within the updated reliable discharge power range; its continuous discharge duration is also no longer determined according to the initial estimated duration, but rather within the updated sustainable discharge duration range. Therefore, the updated vehicle-side reliable power supply range serves as a scheduling constraint, limiting the discharge intensity and continuous discharge time of the electric vehicle within the current scheduling window.

[0063] When determining the target discharge power, the current support power in the household power supply support demand data is selected within the reliable discharge power range. If the current support power falls within the reliable discharge power range, the current support power can be used as the target discharge power. If the current support power is higher than the upper limit of the reliable discharge power range, the upper limit of the reliable discharge power range is used as the target discharge power. If the current support power is lower than the lower limit of the reliable discharge power range, the target discharge power can be determined according to the lower limit of the reliable discharge power range or the standby strategy. In this way, the target discharge power can respond to the current support demand of the household without exceeding the vehicle's reliable discharge capacity in the current state.

[0064] When determining the allowable continuous discharge duration, the target support duration in the household power supply support demand data is selected within the range of sustainable discharge duration. If the target support duration falls within the range of sustainable discharge duration, the target support duration can be used as the allowable continuous discharge duration. If the target support duration is higher than the upper limit of the sustainable discharge duration range, the upper limit of the sustainable discharge duration range is used as the allowable continuous discharge duration. In this way, when the reliable power supply range on the vehicle side has shrunk due to the overall attenuation or the premature attenuation of weak individual cells, the scheduling strategy will not continue to require the vehicle to continue discharging according to the original target duration, thereby reducing the risk of premature power limitation or discharge interruption of the vehicle during V2H power supply.

[0065] After determining the target discharge power and the allowable continuous discharge duration, the insufficient continuous power supply is addressed in the power replenishment triggering conditions: the difference between the updated upper limit of the reliable discharge power range and the target discharge power is used as the power margin, and the difference between the allowable continuous discharge duration and the updated lower limit of the sustainable discharge duration range is used as the duration margin. The power margin characterizes the remaining space between the target discharge power and the vehicle's current reliable discharge upper limit, and the duration margin characterizes the remaining space of the allowable continuous discharge duration relative to the minimum reliable discharge duration. The power margin and duration margin can be determined according to the following formula:

[0066]

[0067] in, Indicates power margin. This indicates the upper limit of the updated reliable discharge power range. Indicates the target discharge power. Indicates remaining time. Indicates the allowed continuous discharge duration. This indicates the lower limit of the updated range of sustainable discharge duration or the minimum reliable duration.

[0068] After obtaining the power margin and duration margin, the power margin threshold is determined based on the ratio between the current supporting power and the upper limit of the reliable discharge power range, and the duration margin threshold is determined based on the ratio between the target supporting duration and the lower limit of the sustainable discharge duration range. The calculation formulas are as follows:

[0069]

[0070] in, Indicates the power margin threshold. Indicates the remaining time threshold. Indicates the current supporting power. Indicates the duration of target support. This represents the power margin threshold adjustment coefficient. This represents the duration margin threshold adjustment coefficient. This indicates an extremely small positive number used to avoid a denominator of zero. When the current support power is close to the upper limit of the vehicle's reliable discharge power, or when the target support duration is close to the vehicle's minimum reliable duration, the corresponding threshold is increased to make the power replenishment trigger judgment more sensitive.

[0071] The power margin and duration margin are compared with their corresponding thresholds. If the power margin is less than the power margin threshold, or the duration margin is less than the duration margin threshold, a power replenishment trigger condition is generated. The power replenishment trigger condition includes the power replenishment trigger time and the target power replenishment. The target power replenishment can be determined based on the degree of insufficient power margin and duration margin, and the calculation formula is as follows:

[0072] in, Indicates the target power compensation. This indicates the power conversion factor for insufficient power margin. The power replenishment conversion factor indicates that the power replenishment margin is insufficient. The power replenishment trigger time can be set to the moment when the above triggering conditions are met within the current scheduling window, or a power replenishment preparation time can be reserved before the allowed continuous discharge time is reached. The time after deducting the power replenishment preparation time from the allowed continuous discharge time is taken as the power replenishment trigger time. Thus, the power replenishment action is directly associated with the updated vehicle-side reliable power supply range, rather than being triggered solely based on a fixed SOC threshold.

[0073] Meanwhile, when generating the power replenishment trigger condition, it indicates that the margin of the reliable power supply range on the vehicle side is insufficient relative to the current support demand on the household side. At this time, a power replenishment scheduling instruction is generated based on the power replenishment trigger time and the target power replenishment power, and the current discharge scheduling is adjusted before the power replenishment trigger time arrives. Specifically, the target discharge power can be reduced so that the vehicle can continue to participate in V2H power supply at a lower power, or the allowable continuous discharge time can be shortened so that the vehicle exits the continuous discharge process in advance, and power replenishment is performed according to the target power replenishment power at the power replenishment trigger time. Thus, the power replenishment scheduling is not passively executed after the vehicle has entered the power-limited state, but intervenes in advance when the reliable power supply range on the vehicle side is close to the boundary.

[0074] For example, in a certain scheduling window, if the target discharge power is close to the upper limit of the updated reliable discharge power range, and the allowed continuous discharge duration is also close to the updated minimum reliable duration, then both the power margin and the duration margin are small. When either of these margins is lower than the corresponding threshold, a power replenishment trigger condition is generated, and the target power replenishment is determined according to the degree of margin insufficiency. This allows for power replenishment to be arranged in advance before the reliable power supply range on the vehicle side continues to shrink, reducing the risk that electric vehicles may suddenly be unable to support household needs due to premature attenuation of weak cells or attenuation of the entire package during V2H power supply.

[0075] Conversely, if the above-mentioned conditions for generating a power replenishment trigger are not met, then no power replenishment trigger is generated. This indicates that there is still a usable margin between the current target discharge power and the updated reliable discharge power range, and the allowed continuous discharge duration is not close to the updated sustainable discharge duration boundary. In this case, a V2H discharge scheduling instruction is generated according to the aforementioned determined target discharge power and allowed continuous discharge duration. The V2H discharge scheduling instruction may include the discharge start time, target discharge power, allowed continuous discharge duration, and discharge termination conditions, so that the electric vehicle supplies power to the home power distribution system within the updated vehicle-side reliable power supply range.

[0076] When determining the final scheduling strategy, the output V2H discharge scheduling command or the power supply scheduling command is selected based on whether the power supply trigger condition is generated. When the power supply trigger condition is not generated, the V2H discharge scheduling command is used as the electric vehicle charging and discharging scheduling strategy. When the power supply trigger condition is generated, the power supply scheduling command is used as the electric vehicle charging and discharging scheduling strategy. Alternatively, the reduced V2H discharge command and the power supply scheduling command can be used together as the electric vehicle charging and discharging scheduling strategy. Thus, in the V2H scenario, electric vehicles can participate in home power supply according to the updated reliable power supply range, and can switch to power supply or power reduction operation state in advance when the power margin or time margin is insufficient. For example, within a certain scheduling window, if the updated vehicle-side reliable power supply range can still cover the current target discharge power and allowable continuous discharge duration, a V2H discharge scheduling instruction is generated, allowing the electric vehicle to continuously supply power according to the target discharge power until the allowable continuous discharge duration ends. If, within another scheduling window, the charging trigger condition has already been generated, the target discharge power is reduced or the allowable continuous discharge duration is shortened before the charging trigger time arrives, and charging is performed according to the target charging power at the charging trigger time. This can prevent the electric vehicle from continuing to run outside the reliable power supply range boundary according to the original discharge plan, thereby reducing the risk of insufficient household power supply support due to the decrease in vehicle-side power supply capacity during V2H power supply.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. An interval constraint-based electric vehicle charging and discharging optimization scheduling method, characterized in that, include: S1. Obtain vehicle-side status data, historical V2H discharge response data, and household power supply support demand data for electric vehicles; S2. Based on the household power supply support demand data, extract matching historical discharge response samples from the historical V2H discharge response data, and combine them with the vehicle-side status data to determine the initial vehicle-side reliable power supply range. S3. During the V2H discharge process of the electric vehicle, real-time discharge response data is acquired, and the overall discharge attenuation response parameters and weak cell early attenuation parameters are determined based on the real-time discharge response data. S4. Based on the overall discharge attenuation response parameters and the weak single-cell early attenuation parameters, determine the range drift of the initial vehicle-side reliable power supply range; S5. Based on the interval drift, dynamically update the reliable discharge power range and the sustainable discharge duration range in the initial vehicle-side reliable power supply interval to obtain the updated vehicle-side reliable power supply interval. S6. Using the updated vehicle-side reliable power supply range as the range constraint, optimize the discharge power, continuous discharge duration and recharging trigger conditions of the electric vehicle in the V2H scenario to obtain the electric vehicle charging and discharging scheduling strategy. 2.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 1, wherein, In step S2, matching historical discharge response samples are extracted from the historical V2H discharge response data, and the initial vehicle-side reliable power supply range is determined in conjunction with the vehicle-side state data, including: Based on the deviation between the historical average discharge power of the historical discharge segment and the current support power, and the deviation between the historical continuous discharge duration and the target support duration, the matching score corresponding to the historical discharge segment is determined, and the historical discharge segment whose matching score meets the preset matching conditions is used as the historical discharge response sample for matching. Based on the historical discharge power and historical continuous discharge duration before the BMS allowable discharge power began to decrease in the matched historical discharge response samples, the reliable power supply range of the entire package is determined. Extract individual cell voltage data from the vehicle-side status data, determine the degree of deviation of weak cells based on the individual cell voltage data, and reduce the overall reliable power supply range based on the degree of deviation of weak cells to obtain the initial vehicle-side reliable power supply range. 3.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 2, wherein, The degree of deviation of weak cells is determined based on the individual cell voltage data, and the reliable power supply range of the entire package is reduced based on the degree of deviation of weak cells, including: The minimum and average individual voltages are determined based on the individual voltage data, and the individual voltage deviation between the minimum and average individual voltages is calculated. The discharge margin of a weak cell is determined based on the difference between the minimum cell voltage and the preset discharge cutoff voltage. Based on the individual cell voltage deviation and the weak cell discharge margin, a weak cell reduction factor is determined, and the overall reliable discharge power range and overall reliable power supply duration range in the overall reliable power supply interval are reduced according to the weak cell reduction factor to obtain the initial vehicle-side reliable power supply interval. 4.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 1, wherein, In step S3, the parameters for overall discharge attenuation response and the parameters for premature attenuation of weak cells are determined based on the real-time discharge response data, including: The data on the total terminal voltage, BMS allowable discharge power, and individual cell voltage of the electric vehicle during the V2H discharge process are obtained according to a preset sampling period. The rate of decrease of the total package terminal voltage is determined based on the decrease in the total package terminal voltage within adjacent sampling periods, and the rate of change of the allowable discharge power of the BMS is determined based on the change in the allowable discharge power of the BMS within adjacent sampling periods. The rate of decrease of the lowest single-cell voltage is determined based on the decrease in the lowest single-cell voltage within adjacent sampling periods. The rate of change of the weak single-cell discharge margin is determined based on the change in the difference between the lowest single-cell voltage and the preset discharge cutoff voltage. The rate of decrease of the lowest single-cell voltage and the rate of change of the weak single-cell discharge margin are normalized and fused to obtain the weak single-cell early attenuation parameter, which is a scalar parameter characterizing the degree to which the weak single-cell approaches the discharge protection boundary in advance.

5. The interval-constrained-based optimization scheduling method for charging and discharging of electric vehicles according to claim 4, characterized in that, Determining the interval drift of the initial vehicle-side reliable power supply interval in step S4 includes: Using the rate of decrease of the overall terminal voltage and the rate of change of the allowable discharge power of the BMS in the matched historical discharge response samples as the overall terminal voltage attenuation benchmark, the overall terminal voltage attenuation component is determined based on the excess ratio of the current rate of decrease of the overall terminal voltage relative to the rate of decrease of the overall terminal voltage in the overall terminal voltage attenuation benchmark, and the decrease ratio of the current rate of change of the allowable discharge power of the BMS relative to the rate of change of the allowable discharge power of the BMS in the overall terminal voltage attenuation benchmark. Using the lowest cell voltage drop rate and the weak cell discharge margin change rate in the matched historical discharge response samples as the weak cell attenuation benchmark, the weak cell drift component is determined based on the excess ratio of the current lowest cell voltage drop rate relative to the lowest cell voltage drop rate in the weak cell attenuation benchmark, and the decrease ratio of the current weak cell discharge margin change rate relative to the weak cell discharge margin change rate in the weak cell attenuation benchmark. The whole packet drift component and the weak individual drift component are normalized and then weighted and fused according to the whole packet attenuation weight and the weak individual reduction weight to obtain the interval drift amount. 6.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 5, wherein, The dynamic updating of the vehicle-side reliable power supply range in S5 includes: The power reduction factor and the duration reduction factor are determined based on the range drift, wherein the power reduction factor is used to characterize the degree of reduction of the reliable discharge power range, and the duration reduction factor is used to characterize the degree of reduction of the sustainable discharge duration range; The upper limit of the reliable discharge power range in the initial vehicle-side reliable power supply interval is reduced based on the power reduction factor, and the range of sustainable discharge duration in the initial vehicle-side reliable power supply interval is shortened based on the duration reduction factor. The reduced reliable discharge power range and the shortened sustainable discharge duration range are used as the updated vehicle-side reliable power supply range.

7. The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 6, characterized in that, The power reduction factor and duration reduction factor are determined based on the interval drift, including: Based on the distribution of drift amount in the interval before the allowable discharge power of BMS begins to decrease in the historical V2H discharge response samples, multiple drift classification boundaries are determined, and the current interval drift amount is matched with the multiple drift classification boundaries to determine the drift level; Based on the drift level, call the power reduction base value and duration reduction base value corresponding to the drift level; Based on the proportion of the weak monomer drift component in the drift amount of the interval, the power reduction base value and the duration reduction base value are corrected a second time to obtain the power reduction coefficient and the duration reduction coefficient. 8.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 1, wherein, S6 optimizes the discharge power, continuous discharge duration, and recharging trigger conditions of the electric vehicle in the V2H scenario, including: The range of reliable discharge power in the updated vehicle-side reliable power supply interval is taken as the range of target discharge power, and the range of sustainable discharge duration in the updated vehicle-side reliable power supply interval is taken as the range of allowable continuous discharge duration. Based on the current support power in the household power supply support demand data, determine the target discharge power within the reliable discharge power range; Based on the target support duration in the household power supply support demand data, the allowable continuous discharge duration is determined within the range of the sustainable discharge duration. 9.The interval-constrained based optimal scheduling method for charging and discharging of electric vehicles according to claim 8, wherein, The power-up triggering conditions have been optimized, including: The difference between the target discharge power and the upper limit of the reliable discharge power range is determined as the power margin, and the difference between the allowable continuous discharge duration and the lower limit of the sustainable discharge duration range is determined as the duration margin. The power margin threshold is determined based on the ratio of the current support power to the upper limit of the reliable discharge power range, and the duration margin threshold is determined based on the ratio of the target support duration to the lower limit of the sustainable discharge duration range. When the power margin is less than the power margin threshold, or the duration margin is less than the duration margin threshold, a power replenishment trigger condition is generated. The power replenishment trigger condition includes the power replenishment trigger time and the target power replenishment power. 10.The interval constraint-based optimization scheduling method for charging and discharging of electric vehicles according to claim 9, wherein, The obtained electric vehicle charging and discharging scheduling strategy includes: When the power replenishment trigger condition is not generated, a V2H discharge scheduling instruction is generated based on the target discharge power and the allowed continuous discharge duration. When the power replenishment trigger condition is generated, a power replenishment scheduling instruction is generated based on the power replenishment trigger time and the target power replenishment power, and the target discharge power is reduced or the allowed continuous discharge duration is shortened before the power replenishment trigger time is reached. The V2H discharge scheduling command or the charging scheduling command is used as the electric vehicle charging and discharging scheduling strategy.