Method and device for electric vehicle to transmit electric energy to power grid in reverse direction and electric vehicle
By correcting the historical driving data and initial calibration information of electric vehicles, the target SOC that the electric vehicle allows discharge to the power grid is determined, which solves the problem of the attenuation of electric vehicle battery performance, resulting in unsatisfactory range and improves the user experience.
Patent Information
- Application Number
- CN202410709264.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-06-03
AI Technical Summary
After the electric vehicle is discharged to the power grid, the battery performance decays, causing users to be unable to meet the subsequent range needs, reducing user experience.
By obtaining the historical driving data and initial calibration information of the electric vehicle, correcting the initial calibration information based on the historical driving data, obtaining the correction coefficient, correcting the retained SOC set by the user, and determining the target SOC that the electric vehicle allows discharge to the power grid.
It avoids electric vehicles being unable to meet the subsequent range needs after discharge to the power grid, improves user experience, and ensures that electric vehicles can still meet the user's range needs after discharge.
Smart Images

Figure CN118300162B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for an electric vehicle to reversely transmit electric energy to a power grid, and an electric vehicle. Background Art
[0002] Each electric car can be regarded as a small energy storage device. As the number of electric cars continues to increase, the existing electric cars on the market have huge energy storage potential. If the energy storage function of these electric cars is effectively utilized, it can greatly help the fluctuation of power demand of the power grid and balance the daily peak and valley power consumption.
[0003] In traditional technology, electric vehicles tend to be charged from the grid during off-peak hours. By connecting the electric vehicles to the grid during peak hours, setting a target discharge amount to the grid, and then discharging, the difference in daily peak and off-peak electricity consumption can be balanced to a certain extent.
[0004] However, as the number of charge and discharge times of batteries in electric vehicles increases, battery performance decays. The power reserve set by users based on experience may result in subsequent cruising range not meeting requirements, reducing user experience. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device and electric vehicle for reversely transmitting electric energy to the power grid by the electric vehicle, which can correct the power reserve set by the user when the electric vehicle discharges to the power grid, in order to address the above technical problems.
[0006] In a first aspect, the present application provides a method for an electric vehicle to transmit electric energy in reverse to a power grid, the method comprising:
[0007] In response to the connection of the electric vehicle to the power grid, a setting interface is displayed; in response to the user setting the SOC retention operation, a preset retention SOC is generated;
[0008] Acquire historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range;
[0009] Correcting the first corresponding relationship based on historical driving data to obtain a correction coefficient;
[0010] Based on the current SOC, the preset reserve SOC and the correction factor, the target transmission SOC is obtained.
[0011] In one embodiment, the historical operation data includes SOC consumption per unit kilometer within a specific SOC range; the first corresponding relationship includes a mathematical fitting relationship f1(x) between the unit kilometer and the SOC value consumption within the corresponding SOC range; and a method for correcting the first corresponding relationship based on the historical driving data to obtain a correction coefficient includes:
[0012] Fitting the second corresponding relationship f2(x) according to the historical operation data;
[0013] Calculate the correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient.
[0014] In one embodiment, the relationship between the current SOC, the preset reserve SOC, the target power transmission SOC and the correction coefficient satisfies:
[0015] Target transmission SOC = current SOC-α*preset reserved SOC, where α is the correction factor.
[0016] In one embodiment, the initial calibration information further includes a maximum allowable discharge current; the setting interface further includes a discharge time option, and the method further includes:
[0017] In response to a user's operation of setting a discharge time, generating a preset discharge time;
[0018] Determine an allowable discharge amount based on the target power transmission SOC, and determine a required discharge time based on the allowable discharge amount and a preset discharge current;
[0019] If the required discharge time is greater than the preset discharge time, determining the required discharge current based on the preset discharge time;
[0020] If the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and electric energy is transmitted to the grid according to the actual discharge current;
[0021] If the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
[0022] In one embodiment, if the required discharge time is less than or equal to the preset discharge time, the actual discharge current is determined based on the required discharge time and the allowed discharge amount, and the electric energy is transmitted to the grid according to the actual discharge current.
[0023] In one embodiment, determining the allowable discharge amount based on the target power transmission SOC includes:
[0024] Performing battery capacity correction to obtain the corrected capacity of the battery;
[0025] The allowable discharge amount is determined based on the corrected capacity and the target transmission SOC.
[0026] In a second aspect, the present application also provides a device for an electric vehicle to transmit electric energy in reverse to a power grid, the device comprising:
[0027] A parameter setting module, for displaying a setting interface in response to the connection between the electric vehicle and the power grid; and generating a preset reserved SOC in response to a user's setting reserved SOC operation;
[0028] A first acquisition module is used to acquire historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range;
[0029] A correction module, used for correcting the first corresponding relationship based on historical driving data to obtain a correction coefficient;
[0030] The power transmission amount determination module is used to obtain the target power transmission SOC based on the current SOC, the preset reserved SOC and the correction coefficient.
[0031] In a third aspect, the present application further provides an electric vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0032] In response to the connection of the electric vehicle to the power grid, a setting interface is displayed; in response to the user setting the SOC retention operation, a preset retention SOC is generated;
[0033] Acquire historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range;
[0034] Correcting the first corresponding relationship based on historical driving data to obtain a correction coefficient;
[0035] Based on the current SOC, the preset reserve SOC and the correction factor, the target transmission SOC is obtained.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0037] In response to the connection of the electric vehicle to the power grid, a setting interface is displayed; in response to the user setting the SOC retention operation, a preset retention SOC is generated;
[0038] Acquire historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range;
[0039] Correcting the first corresponding relationship based on historical driving data to obtain a correction coefficient;
[0040] Based on the current SOC, the preset reserve SOC and the correction factor, the target transmission SOC is obtained.
[0041] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0042] In response to the connection of the electric vehicle to the power grid, a setting interface is displayed; in response to the user setting the SOC retention operation, a preset retention SOC is generated;
[0043] Acquire historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range;
[0044] Correcting the first corresponding relationship based on historical driving data to obtain a correction coefficient;
[0045] Based on the current SOC, the preset reserve SOC and the correction factor, the target transmission SOC is obtained.
[0046] In the above-mentioned method, device and electric vehicle for reverse transmission of electric energy from an electric vehicle to a power grid, a preset reserved SOC is generated after the user sets the reserved SOC, and initial calibration information is obtained, including a first correspondence between the initial SOC and the initial cruising range. Since the capacity of the battery may decay after multiple charges and discharges, the first correspondence is corrected based on historical driving data to obtain a correction parameter, and then the target transmission SOC allowed for the electric vehicle to discharge to the power grid is determined based on the correction parameter and the current SOC. The method for reverse transmission of electric energy from an electric vehicle to a power grid provided by the present application is corrected based on historical driving data, so as to avoid the electric vehicle failing to meet the subsequent cruising range requirements during driving after discharging to the power grid, thereby ensuring user needs and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 A diagram of an application environment of a method for an electric vehicle to reversely transmit electric energy to a power grid in one embodiment;
[0049] Figure 2 It is a schematic flow chart of a method for an electric vehicle to reversely transmit electric energy to a power grid in one embodiment;
[0050] Figure 3A schematic diagram of a flow chart of a step of determining a discharge current in one embodiment;
[0051] Figure 4 A schematic flow chart of a method for reversely transmitting electric energy from an electric vehicle to a power grid in another embodiment;
[0052] Figure 5 It is a structural block diagram of a device for reversely transmitting electric energy from an electric vehicle to a power grid in one embodiment;
[0053] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] The method for an electric vehicle to transmit electric energy in reverse to a power grid provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the electric car 102 is electrically connected to the power grid 104. Optionally, the electric car 102 can be connected to the power grid 104 through a charging pile 106 for charging. The charging pile 106 is usually installed in homes, businesses and public places, allowing the electric car 102 to obtain electricity from the power grid 104 for charging. When the electric car 102 is connected to the charging pile 106, the charging pile 106 will provide appropriate power to charge the battery of the electric car. This connection can also be bidirectional, allowing the battery of the electric car to release energy back to the power grid. This function is called "Vehicle-to-Grid (V2G)".
[0056] By connecting the charging station 106 to the grid 104, the user of the electric vehicle 102 can participate in energy scheduling according to the needs of the grid 106. This helps balance the grid load and supports the integration of renewable energy.
[0057] In an exemplary embodiment, Figure 2 As shown, a method for an electric vehicle to transmit electric energy to a power grid in reverse is provided. Figure 1 Taking the electric car 102 in the example as an example, the method includes the following steps 202 to 208. Among them:
[0058] In a first aspect, the present application provides a method for an electric vehicle to transmit electric energy in reverse to a power grid, the method comprising:
[0059] 202 , in response to the connection between the electric vehicle and the power grid, displaying a setting interface; in response to the user's setting of a reserved SOC operation, generating a preset reserved SOC.
[0060] The connection between the electric vehicle and the power grid may refer to an operation in which a user inserts a charging gun of a charging pile into a charging port of the electric vehicle, and the charging pile is electrically connected to the power grid, thereby electrically connecting the electric vehicle to the power grid.
[0061] Among them, SOC (State of Charge) is used to characterize the ratio of the remaining capacity of the battery to its fully charged capacity, usually expressed as a percentage. Its value range is 0~1. When SOC=0, it means that the battery is fully discharged, and when SOC=1, it means that the battery is fully charged.
[0062] The reserved SOC is the minimum power reserve preset by the user, that is, the electric vehicle discharges from the current power to the grid until the reserved SOC is reached.
[0063] Optionally, a display unit is provided in the electric vehicle, and the display unit is used to form a visually visible picture to display the setting interface. Optionally, the display unit can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen.
[0064] The user sets the reserved SOC through an input device. Optionally, the input device of the electric vehicle can be a touch layer covered on the display screen, or a set key, trackball or touchpad, or an external keyboard, touchpad or mouse.
[0065] 204 , obtaining historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range.
[0066] The historical driving data is the data before the electric vehicle discharges to the power grid this time. Optionally, the historical driving data includes the corresponding relationship between the historical discharge time, the driving mileage and the consumed power, etc.
[0067] The initial calibration information refers to the calibration information of the electric vehicle when it leaves the factory, which calibrates the factory test data of the electric vehicle.
[0068] Optionally, the first corresponding relationship is the mileage that can be traveled by the unit SOC in the factory test data, such as the kilometers that the electric vehicle can travel when SOC=90% to SOC=85%. Optionally, the first corresponding relationship can also be the SOC consumed per kilometer in the factory test data, such as the decrease in SOC per kilometer of the electric vehicle, or the decrease in SOC per 100 kilometers of the electric vehicle.
[0069] 206 , correct the first corresponding relationship based on the historical driving data to obtain a correction coefficient.
[0070] Due to the characteristics of the battery, as the number of charge and discharge cycles increases, the battery capacity will decrease, causing the actual battery capacity represented by SOC to decrease and the corresponding cruising range of the electric vehicle to decrease.
[0071] For example, in the initial calibration information, the battery capacity is 50kWh, and the corresponding battery capacity at SOC=90% is 45kWh, and the electric vehicle's range is 400km. As the electric vehicle is charged and discharged multiple times, the actual battery capacity decreases to only 40kWh. At this time, the corresponding battery capacity at SOC=90% is 36kWh, and the electric vehicle's range may be only 300km.
[0072] The purpose of users setting the reserved SOC is to ensure their subsequent driving needs. However, the reserved SOC set by users based on experience may not be able to meet the needs due to the decrease in battery capacity, so the set reserved SOC needs to be corrected.
[0073] The correction coefficient is the coefficient between the first correspondence between the initial SOC and the initial cruising range and the actual correspondence.
[0074] 208 , obtaining a target power transmission SOC based on the current SOC, the preset reserved SOC and the correction coefficient.
[0075] The target transmission SOC is determined based on a preset reserved SOC set by the user, and is an SOC value that allows reverse charging to the grid.
[0076] In the above-mentioned method of electric vehicles transmitting electric energy to the power grid in reverse, the user sets the retention SOC and generates a preset retention SOC, obtains initial calibration information, including a first correspondence between the initial SOC and the initial cruising range, and because the capacity of the battery may decay after multiple charges and discharges, the first correspondence is corrected based on historical driving data to obtain a correction parameter, and then the target transmission SOC allowed for the electric vehicle to discharge to the power grid is determined based on the correction parameter and the current SOC. The method of electric vehicles transmitting electric energy to the power grid in reverse provided by the present application is corrected based on historical driving data, so as to avoid the electric vehicle failing to meet the subsequent cruising range requirements during driving after discharging to the power grid, thereby ensuring user needs and improving user experience.
[0077] In an exemplary embodiment, the method of correcting the first corresponding relationship based on historical driving data to obtain the correction coefficient includes: the historical operating data includes the SOC consumption per unit kilometer within a specific SOC range; and fitting the second corresponding relationship f2(x) according to the historical operating data; the first corresponding relationship includes the mathematical fitting relationship f1(x) between the SOC value consumption per unit kilometer within the corresponding SOC range; and calculating the correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient.
[0078] The specific SOC range refers to the normal discharge interval of the electric vehicle. Optionally, the specific SOC range can be determined based on historical operation data, by determining the user's historically set reserved SOC as the lower limit value and SOC=1 as the upper limit value to obtain the specific SOC range.
[0079] The SOC consumption per unit kilometer refers to the decrease in SOC for every kilometer the electric vehicle travels. Optionally, it can also be the decrease in SOC for every hundred kilometers the electric vehicle travels.
[0080] The second correspondence is the correspondence of SOC consumption per kilometer. For example, f2(x)=∆SOC2=m%*1km, where m is the proportionality factor and the unit of m is km -1 , f2(x) represents the corresponding relationship between the unit kilometer number and SOC consumption after the battery capacity decays. For example, the SOC value of an electric vehicle decreases by 0.3% for every kilometer it travels, and the value of m is 0.3.
[0081] The initial calibration information includes the mathematical fitting relationship f1(x) between the unit kilometer and the SOC value consumption. For example, f1(x)=∆SOC1=n%*1km. For example, if the SOC value of an electric vehicle decreases by 0.225% for every kilometer it travels, the value of m is 0.225.
[0082] By correcting the parameters, f2(x)=αf1(x), so that the unit kilometer after capacity decay corresponds to the consumed SOC. For example, f2(x)= m%*1km=αf1(x)= α*(n%*1km), at this time m=αn, when the value of m is 0.3 and the value of n is 0.225, the value of α can be obtained, that is, α≈1.33.
[0083] That is to say, after the battery capacity decays, the SOC consumed per unit kilometer of electric vehicle travel increases by 30%.
[0084] It is understandable that the SOC consumption per kilometer is different for batteries in different SOC states. For example, for a certain battery, when the SOC is 90%, it consumes 0.3% SOC per kilometer, and when the SOC is 20%, it consumes 0.7% SOC per kilometer. This is determined by the battery's own performance.
[0085] Therefore, as a preferred implementation, based on the current SOC, a first corresponding relationship of the SOC corresponding to the initial calibration information is determined; and a second corresponding relationship of the SOC corresponding to the historical driving data is determined.
[0086] The corresponding SOC can be understood as follows: if the SOC of the current vehicle is 50%, then the first corresponding relationship and the second corresponding relationship when the SOC is 50% in the initial calibration information and the historical operation data are found.
[0087] In this embodiment, the SOC consumption per unit kilometer is determined based on the historical driving data, and a second corresponding relationship is determined. A correction parameter is determined based on the second corresponding relationship and the first corresponding relationship. The correction parameter can be used to correct the battery life after the battery capacity decays, thereby ensuring that the battery life corresponding to the SOC is accurate.
[0088] In an exemplary embodiment, the relationship among the current SOC, the preset reserve SOC, the target power transmission SOC and the correction coefficient satisfies: target power transmission SOC=current SOC-α*preset reserve SOC, where α is the correction coefficient.
[0089] Among them, the current SOC is the SOC value of the electric vehicle at the current moment; the preset reserve SOC is the lower limit of discharge set by the user; the target transmission SOC is the final discharge SOC, which reflects the actual amount of electricity charged to the grid.
[0090] For example, the current SOC is 90%, and the user presets the reserve SOC to 45%. Without correction, the amount of discharge to the grid is the difference between the current SOC and the user's preset reserve SOC, which is 45%. The user sets the preset reserve SOC based on the end-of-discharge demand. Based on the initial calibration information, the user believes that the range is 200km when the SOC is 45%. However, after battery degradation, the actual range corresponding to the SOC of 45% is 150km. This results in the user being unable to reach the destination after the discharge is completed and being forced to stop and charge, which reduces the user experience.
[0091] When making corrections based on the correction coefficient, taking the value of α as 1.33 as an example, the target transmission SOC = 90%-1.33*45% = 30.15%, that is, the actual discharge amount to the grid is the amount of electricity that drops from SOC from 90% to 59.85%, rather than from 90% to 45%. In this way, the actual remaining power is approximately 200km, which meets the user's subsequent mileage requirements.
[0092] See also Figure 3 In an exemplary embodiment, the initial calibration information further includes a maximum allowable discharge current; the setting interface further includes a discharge time option, and the method further includes the following steps:
[0093] 302 : In response to a user's operation of setting a discharge time, generate a preset discharge time.
[0094] The setting interface may also provide an option for setting the discharge time, and the user sets the discharge time through an input device.
[0095] For example, if a user wants to use an electric car in 1 hour, the charging time to the grid is set to 1 hour, and the actual discharge time cannot be greater than 1 hour.
[0096] 304 , determining an allowable discharge amount based on the target power transmission SOC, and determining a required discharge time based on the allowable discharge amount and a preset discharge current.
[0097] The target transmission SOC actually represents the SOC drop range, such as from 90% to 59.58%. The allowable discharge amount can be determined based on the target transmission SOC and the battery capacity. Optionally, the power at 90% SOC is determined first, and then the power at 59.58% SOC is determined, and the allowable discharge amount is determined based on the power difference.
[0098] It can be understood that the power W=UIt, where W is the allowable discharge capacity, U is the discharge voltage, I is the discharge current, and t is the discharge time.
[0099] Since the voltage of the charging pile is generally constant or fluctuates within a small range, when the discharge voltage is constant, the required discharge time under the preset discharge current value can be determined based on the allowed discharge amount and the preset discharge current.
[0100] The preset discharge current may be set by the user or may be a default current value based on historical data fitting.
[0101] 306 , if the required discharge time is greater than the preset discharge time, determine the required discharge current based on the preset discharge time.
[0102] Among them, the required discharge time is greater than the preset discharge time, which indicates that the discharge cannot be completed before the user uses the electric vehicle, and the discharge current needs to be increased to shorten the time.
[0103] The required discharge current is a current value that can achieve discharge just within the preset discharge time. When the discharge voltage is constant, the required discharge current is determined based on the allowed discharge amount, the preset discharge time and the discharge voltage.
[0104] Optionally, if the required discharge time is less than or equal to the preset discharge time, the actual discharge current is determined based on the required discharge time and the allowed discharge amount, and the electric energy is transmitted to the grid according to the actual discharge current.
[0105] 308, if the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and electric energy is transmitted to the grid according to the actual discharge current.
[0106] In step 306, the current value is increased to the required discharge current in order to shorten the actual discharge time. It is also necessary to ensure that the required discharge current is lower than the maximum allowable discharge current in the initial calibration information to avoid overcurrent heating of the battery and cause fire.
[0107] If the required discharge current is less than or equal to the maximum allowable discharge current, it is considered that there is no fire risk.
[0108] 310, if the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
[0109] If the required discharge current is greater than the maximum allowable discharge current, the user is reminded that the discharge cannot be completed within the preset discharge time.
[0110] Optionally, the prompt information can be sound, light or sound and light information. Optionally, the prompt information can be displayed on a display device.
[0111] In this embodiment, the user inputs a preset discharge time based on the use requirements after charging is completed, and the required discharge time is determined based on the allowed discharge amount and the preset discharge current. If the required discharge time is greater than the preset discharge time input by the user, it is considered that the user's need for using the charging car cannot be met, and the discharge current is increased to the required amplified current and compared with the maximum allowable discharge current. If it is less than the maximum allowable discharge current, it is considered that the battery will not be damaged, and the required maximum current is used as the actual discharge current. Otherwise, a prompt message is issued to the user.
[0112] In an exemplary embodiment, determining the allowable discharge amount based on the target power transmission SOC includes: performing a capacity correction on the battery to obtain a corrected capacity of the battery; and determining the allowable discharge amount according to the corrected capacity and the target power transmission SOC.
[0113] The capacity of electric vehicle batteries fades after multiple charges and discharges and needs to be corrected.
[0114] Optionally, the battery capacity correction method may be: by performing multiple complete charge and discharge cycles on the battery and then recording the actual charge and discharge capacity, thereby accurately determining the actual capacity of the battery. Optionally, the calculation may be based on historical charge and discharge data fitting.
[0115] Optionally, the corrected capacity can be read directly from a BMS (Battery Management System) system.
[0116] In this embodiment, the allowable discharge capacity is determined after the battery capacity is corrected, which ensures that the discharge capacity data is calculated accurately, avoids the actual battery life being lower than the user's expectations, and improves the user experience.
[0117] like Figure 4 As shown, Figure 4 A flow chart showing a method for an electric vehicle to reversely transmit electric energy to a power grid in another embodiment is shown, comprising the following steps:
[0118] 402, in response to the connection between the electric vehicle and the power grid, displaying a setting interface; in response to the user's setting of the reserved SOC operation, generating a preset reserved SOC; the setting interface also includes a discharge time option.
[0119] 404, obtaining historical driving data of the electric vehicle and initial calibration information of the battery carried therein; the initial calibration information includes a first correspondence relationship between an initial SOC, an initial cruising range, and a maximum allowable discharge current; the historical operating data includes SOC consumption per unit kilometer within a specific SOC range; the first correspondence includes a mathematical fitting relationship f1(x) between per unit kilometer and SOC value consumption within a corresponding SOC range.
[0120] 406 , fitting a second corresponding relationship f2(x) according to the historical operation data; calculating a correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient.
[0121] 408 , based on the current SOC, the preset reserved SOC and the correction coefficient, obtain the target power transmission SOC, the target power transmission SOC=current SOC-α*preset reserved SOC.
[0122] 410 , in response to a user's operation of setting a discharge time, generating a preset discharge time.
[0123] 412, perform battery capacity correction to obtain the corrected capacity of the battery.
[0124] 414 , determining the allowable discharge amount according to the corrected capacity and the target power transmission SOC, and determining the required discharge time based on the allowable discharge amount and the preset discharge current.
[0125] 416 , if the required discharge time is greater than the preset discharge time, determine the required discharge current based on the preset discharge time.
[0126] 418, if the required discharge time is less than or equal to the preset discharge time, the actual discharge current is determined based on the required discharge time and the allowed discharge amount, and the electric energy is transmitted to the grid according to the actual discharge current.
[0127] 420, if the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and electric energy is transmitted to the grid according to the actual discharge current.
[0128] 422, if the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
[0129] In this embodiment, the user sets a preset retention SOC, corrects the first corresponding relationship in the initial calibration information based on historical driving data, obtains a correction coefficient, and determines the target transmission SOC as the amount of electricity input to the grid based on the correction coefficient, thereby ensuring the user's mileage requirement after charging is completed. Furthermore, the user also enters a preset discharge time, first determines the time required for discharge based on the preset discharge current and discharge amount, compares and determines with the preset discharge time, and further compares with the maximum allowable discharge current in the initial calibration information to ensure that the user can complete the discharge within the preset discharge time and meet their time requirements for the electric vehicle.
[0130] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0131] Based on the same inventive concept, the embodiment of the present application also provides a device for an electric vehicle to transmit electric energy to a power grid in the reverse direction for realizing the method for an electric vehicle to transmit electric energy to a power grid in the reverse direction. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method in the above-mentioned manner, so the specific limitations in the embodiments of one or more devices for an electric vehicle to transmit electric energy to a power grid in the reverse direction provided below can refer to the limitations of the method for an electric vehicle to transmit electric energy to a power grid in the reverse direction, and will not be repeated here.
[0132] In an exemplary embodiment, Figure 5 As shown, a device 500 for an electric vehicle to transmit electric energy to a power grid in reverse is provided, comprising: a parameter setting module 502, a first acquisition module 504, a correction module 506 and a transmission amount determination module 508, wherein:
[0133] The parameter setting module 502 is used to display a setting interface in response to the connection between the electric vehicle and the power grid; and generate a preset reserved SOC in response to the user's setting reserved SOC operation.
[0134] The first acquisition module 504 is used to acquire the historical driving data of the electric vehicle and the initial calibration information of the battery carried therein; the initial calibration information includes a first corresponding relationship between the initial SOC and the initial cruising range.
[0135] The correction module 506 is used to correct the first corresponding relationship based on the historical driving data to obtain a correction coefficient.
[0136] The power transmission amount determination module 508 is used to obtain the target power transmission SOC based on the current SOC, the preset reserved SOC and the correction coefficient.
[0137] In an exemplary embodiment, the historical operating data includes SOC consumption per unit kilometer within a specific SOC range; the first corresponding relationship includes a mathematical fitting relationship f1(x) between the SOC value consumption per unit kilometer within the corresponding SOC range; the correction module 506 is also used to fit the second corresponding relationship f2(x) according to the historical operating data; and calculate the correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient.
[0138] In an exemplary embodiment, the relationship among the current SOC, the preset reserve SOC, the target power transmission SOC and the correction coefficient satisfies: target power transmission SOC=current SOC-α*preset reserve SOC, where α is the correction coefficient.
[0139] In an exemplary embodiment, the initial calibration information also includes a maximum allowable discharge current; the setting interface also includes a discharge time option, and the parameter setting module 502 is also used to generate a preset discharge time in response to the user's operation of setting the discharge time; the device 500 for the electric vehicle to reversely transmit electric energy to the power grid also includes a discharge current determination module, and the discharge current determination module is used to determine the allowable discharge amount based on the target transmission SOC, and determine the required discharge time based on the allowable discharge amount and the preset discharge current; if the required discharge time is greater than the preset discharge time, the required discharge current is determined based on the preset discharge time; if the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and the electric energy is transmitted to the power grid according to the actual discharge current; if the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
[0140] In an exemplary embodiment, the discharge current determination module is further configured to determine the actual discharge current based on the required discharge time and the allowed discharge amount if the required discharge time is less than or equal to the preset discharge time, and transmit electric energy to the grid according to the actual discharge current.
[0141] In an exemplary embodiment, the discharge current determination module is further configured to perform battery capacity correction to obtain a corrected capacity of the battery; and determine an allowable discharge amount according to the corrected capacity and a target power transmission SOC.
[0142] Each module in the above-mentioned device for reversely transmitting electric energy from an electric vehicle to a power grid can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0143] In an exemplary embodiment, a charging vehicle is provided, including a computer device, the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for an electric vehicle to reversely transmit electric energy to a power grid is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0144] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0145] In one embodiment, an electric vehicle is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0146] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0147] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0148] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0149] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0150] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for an electric vehicle to transmit electric energy in reverse to a power grid, characterized in that: The method comprises: In response to the connection of the electric vehicle to the power grid, a setting interface is displayed; in response to the user setting the SOC retention operation, a preset retention SOC is generated; Obtaining historical driving data of the electric vehicle and initial calibration information of the battery carried thereon; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range; the historical driving data includes SOC consumption per unit kilometer within a specific SOC range; the first correspondence includes a mathematical fitting relationship f1(x) between per unit kilometer and SOC value consumption within the corresponding SOC range; the specific SOC range is a reserved SOC set by a user in history as a lower limit value, and SOC=1 as an upper limit value; The first corresponding relationship is corrected based on the historical driving data to obtain a correction coefficient; including: fitting a second corresponding relationship f2(x) according to the historical driving data; calculating the correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient; Based on the current SOC, the preset reserved SOC and the correction coefficient, the target power transmission SOC is obtained; the relationship between the current SOC, the preset reserved SOC, the target power transmission SOC and the correction coefficient satisfies: Target power transmission SOC = current SOC - α * preset reserve SOC, where α is the correction coefficient.
2. The method according to claim 1, characterized in that The initial calibration information also includes a maximum allowable discharge current; the setting interface also includes a discharge time option, and the method further includes: In response to a user's operation of setting a discharge time, generating a preset discharge time; Determine an allowable discharge amount based on the target power transmission SOC, and determine a required discharge time based on the allowable discharge amount and a preset discharge current; If the required discharge time is greater than the preset discharge time, determining the required discharge current based on the preset discharge time; If the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and electric energy is transmitted to the power grid according to the actual discharge current; If the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
3. The method according to claim 2, characterized in that If the required discharge time is less than or equal to the preset discharge time, an actual discharge current is determined based on the required discharge time and the allowed discharge amount, and electric energy is transmitted to the grid according to the actual discharge current.
4. The method according to claim 2, characterized in that: The determining the allowable discharge amount based on the target power transmission SOC includes: Performing battery capacity correction to obtain the corrected capacity of the battery; The allowable discharge amount is determined based on the corrected capacity and the target power transmission SOC.
5. A device for an electric vehicle to transmit electric energy in reverse to a power grid, characterized in that: The device comprises: A parameter setting module, for displaying a setting interface in response to the connection between the electric vehicle and the power grid; and generating a preset reserved SOC in response to a user's setting reserved SOC operation; A first acquisition module is used to acquire the historical driving data of the electric vehicle and the initial calibration information of the battery carried thereon; the initial calibration information includes a first correspondence between an initial SOC and an initial cruising range; the historical driving data includes SOC consumption per unit kilometer within a specific SOC range; the first correspondence includes a mathematical fitting relationship f1(x) between per unit kilometer and SOC value consumption within the corresponding SOC range; the specific SOC range is a reserved SOC set by a user in history as a lower limit value, and SOC=1 as an upper limit value; A correction module, used to correct the first corresponding relationship based on the historical driving data to obtain a correction coefficient; and also used to: fit a second corresponding relationship f2(x) according to the historical driving data; calculate the correction coefficient so that f2(x)=αf1(x), where α is the correction coefficient; The power transmission amount determination module is used to obtain a target power transmission SOC based on a current SOC, a preset reserved SOC and the correction coefficient; the relationship between the current SOC, the preset reserved SOC, the target power transmission SOC and the correction coefficient satisfies: Target power transmission SOC = current SOC - α * preset reserve SOC, where α is the correction coefficient.
6. The device according to claim 5, characterized in that The initial calibration information also includes a maximum allowable discharge current; the setting interface also includes a discharge time option; the parameter setting module is also used to: generate a preset discharge time in response to a user's operation of setting the discharge time; The device further includes a discharge current determination module, the discharge current determination module being used to: determine an allowable discharge amount based on the target power transmission SOC, and determine a required discharge time based on the allowable discharge amount and a preset discharge current; If the required discharge time is greater than the preset discharge time, determining the required discharge current based on the preset discharge time; If the required discharge current is less than or equal to the maximum allowable discharge current, the required discharge current is used as the actual discharge current, and electric energy is transmitted to the power grid according to the actual discharge current; if the required discharge current is greater than the maximum allowable discharge current, a prompt message is issued.
7. The device according to claim 6, characterized in that The discharge current determination module is further used to: if the required discharge time is less than or equal to the preset discharge time, determine the actual discharge current based on the required discharge time and the allowed discharge amount, and transmit electric energy to the power grid according to the actual discharge current.
8. An electric vehicle, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
State of charge (SOC) value and driving range estimation system and estimation method
CN108063290A
Electric vehicle mileage dynamic estimation method
CN111583440A