Charging and discharging control method, device, computer equipment and storage medium
By obtaining the battery management information of electric vehicles, determining the charge and discharge power curve and matching the target charging robot, monitoring and updating the power in real time, the problem of traditional charging robots posing health and safety hazards to electric vehicle batteries is solved, and safe and efficient charging and discharging processing is achieved. .
Patent Information
- Application Number
- CN202410473069.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-04-19
AI Technical Summary
During the two-way interaction between the vehicle and the power grid, traditional charging robots usually discharge according to the maximum discharge power demand, causing health damage to the electric vehicle battery. Long-term discharge may cause safety hazards such as excessive temperature rise, equipment overload, and thermal fatigue failure of contact points.
By obtaining the battery management information of electric vehicles, determine its charge and discharge power curve, and match the most suitable charging robot, perform charge and discharge processing according to the curve, monitor and update power in real time to avoid overheating, and ensure the safety of batteries and equipment.
It effectively improves the safety of charging and discharging of electric vehicles, ensures the health of vehicles and equipment, and reduces safety risks while meeting business needs.
Smart Images

Figure CN118061844B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of charging robots, and in particular to a charging and discharging control method, device, computer equipment, storage medium and computer program product. Background Art
[0002] In the vehicle-to-grid (V2G) technology, mobile charging robots can provide more flexible charging and discharging services for electric vehicles, thereby realizing intelligent interaction between the power grid and electric vehicles.
[0003] In traditional technology, charging robots usually require electric vehicles to discharge according to the maximum discharge power demand. This mode has a great damage to the health of the vehicle battery. In the case of long-term discharge, excessive temperature rise and long duration may cause overload of related equipment of electric vehicles and charging robots, thermal fatigue failure of contact points and other safety hazards. Summary of the invention
[0004] Based on this, it is necessary to provide a charging and discharging control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the safety of charging and discharging of electric vehicles in response to the above technical problems.
[0005] In a first aspect, the present application provides a charge and discharge control method. The method comprises:
[0006] In response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request;
[0007] Determining a charging and discharging power curve of the electric vehicle according to the battery management information;
[0008] Determining a target charging robot that matches the charging and discharging power curve;
[0009] The target charging robot is used to charge and discharge the electric vehicle according to the charging and discharging power curve.
[0010] In one embodiment, determining the charging and discharging power curve of the electric vehicle according to the battery management information includes:
[0011] Obtaining a battery model corresponding to the electric vehicle according to vehicle information of the electric vehicle;
[0012] Obtaining the limit power information of the battery of the electric vehicle according to the battery management information and the battery model;
[0013] According to the battery management information and the limit power information, a curve fitting is performed on the charge and discharge power of the battery to obtain a charge and discharge power curve of the electric vehicle.
[0014] In one embodiment, before obtaining the battery management information of the electric vehicle corresponding to the charge and discharge request in response to the received charge and discharge request, the method further includes:
[0015] In response to the received user registration request, obtaining vehicle information of the electric vehicle corresponding to the user registration request;
[0016] According to the vehicle information, query and obtain the battery production information of the electric vehicle;
[0017] Constructing a battery model corresponding to the battery of the electric vehicle according to the battery production information;
[0018] A corresponding relationship between the battery model and the vehicle information is established.
[0019] In one embodiment, determining a target charging robot that matches the charging and discharging power curve further includes:
[0020] Obtaining the operating power information of the charging robot in an idle state;
[0021] If there are multiple charging robots in an idle state, the multiple operating power information and the charging and discharging power curves are input into the robot scheduling processing model to obtain the target operating power information corresponding to the charging and discharging power curves;
[0022] The charging robot corresponding to the target operating power information is used as the target charging robot.
[0023] In one embodiment, after the target charging robot performs charging and discharging processing on the electric vehicle according to the charging and discharging power curve, the method further includes:
[0024] Acquiring battery temperature information of the electric vehicle and gun line temperature information of a gun line connected to the electric vehicle during charging and discharging;
[0025] The charge-discharge power curve is updated according to the battery temperature information and the gun line temperature information to obtain an updated charge-discharge power curve;
[0026] The electric vehicle continues to be charged and discharged according to the updated charge and discharge power curve.
[0027] In one embodiment, the charge-discharge power curve is updated according to the battery temperature information and the gun line temperature information to obtain an updated charge-discharge power curve, including:
[0028] Determining a battery temperature threshold of the electric vehicle, and determining a gun line temperature threshold of the gun line;
[0029] If the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, the charge and discharge power curve is subjected to gradient descent processing according to the charge and discharge request to obtain the updated charge and discharge power curve.
[0030] In a second aspect, the present application also provides a charge and discharge control device. The device comprises:
[0031] A request response module, used to respond to a received charge and discharge request and obtain battery management information of the electric vehicle corresponding to the charge and discharge request;
[0032] A power determination module, used to determine a charge and discharge power curve of the electric vehicle according to the battery management information;
[0033] A robot matching module, used to determine a target charging robot that matches the charging and discharging power curve;
[0034] The charging and discharging processing module is used to perform charging and discharging processing on the electric vehicle according to the charging and discharging power curve through the target charging robot.
[0035] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0036] In response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request;
[0037] Determining a charging and discharging power curve of the electric vehicle according to the battery management information;
[0038] Determining a target charging robot that matches the charging and discharging power curve;
[0039] The target charging robot is used to charge and discharge the electric vehicle according to the charging and discharging power curve.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0041] In response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request;
[0042] Determining a charging and discharging power curve of the electric vehicle according to the battery management information;
[0043] Determining a target charging robot that matches the charging and discharging power curve;
[0044] The target charging robot is used to charge and discharge the electric vehicle according to the charging and discharging power curve.
[0045] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0046] In response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request;
[0047] Determining a charging and discharging power curve of the electric vehicle according to the battery management information;
[0048] Determining a target charging robot that matches the charging and discharging power curve;
[0049] The target charging robot is used to charge and discharge the electric vehicle according to the charging and discharging power curve.
[0050] The above-mentioned charge and discharge control method, device, computer equipment, storage medium and computer program product, in response to the received charge and discharge request, obtain the battery management information of the electric vehicle corresponding to the charge and discharge request; determine the charge and discharge power curve of the electric vehicle according to the battery management information; determine the target charging robot that matches the charge and discharge power curve; and charge and discharge the electric vehicle according to the charge and discharge power curve through the target charging robot. By adopting this method, the charge and discharge power that meets the performance of the electric vehicle can be calculated according to the actual situation of the battery of the electric vehicle, and the most suitable target charging robot can be allocated according to its charge and discharge power to provide charge and discharge services. While meeting the charge and discharge business needs, it can also ensure vehicle safety and battery health, effectively improving the safety of electric vehicle charge and discharge processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 An application environment diagram of a charge and discharge control method in an embodiment;
[0052] Figure 2 Schematic diagram of a charging and discharging control method in one embodiment;
[0053] Figure 3 A schematic diagram of a flow chart of steps for determining a charging and discharging power curve of an electric vehicle in one embodiment;
[0054] Figure 4It is a schematic diagram of a flow chart of the steps of updating the charge and discharge power curve in one embodiment;
[0055] Figure 5 is a flow chart of a charge and discharge control method in another embodiment;
[0056] Figure 6 A schematic diagram of a process for collecting vehicle information in one embodiment;
[0057] Figure 7 A schematic diagram of a process flow of a charge and discharge preparation stage in one embodiment;
[0058] Figure 8 A schematic diagram of a process for dynamically adjusting the charging and discharging process in one embodiment;
[0059] Fig. 9 is a schematic flow chart of a discharge scheduling process in one embodiment;
[0060] Fig.10 is a structural block diagram of a charge and discharge control device in an embodiment;
[0061] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0062] 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.
[0063] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0064] The charge and discharge control method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the user terminal 101, the mobile charging robot 102 and the server 103 communicate through the network. The data storage system can store the data that the server 103 needs to process. The data storage system can be integrated on the server 103, or it can be placed on the cloud or other network servers. Among them, the user terminal 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices; Internet of Things devices can be smart car-mounted devices, etc.; portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The mobile charging robot 102 (which can be referred to as a charging robot) refers to a V2G (Vehicle-to-Grid, two-way interaction between vehicles and power grids) intelligent robot with data processing capabilities, autonomous mobility functions, and can provide charging and discharging (or electricity sales) services for electric vehicles. The server 103 can be implemented with an independent server or a server cluster consisting of multiple servers. The server 103 is equipped with a V2G management platform.
[0065] In one embodiment, Figure 2 As shown, a charge and discharge control method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0066] Step S201, in response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request.
[0067] Among them, battery management information refers to information describing the current, voltage, temperature and other parameters of the battery of the electric vehicle. Charge and discharge request refers to request information for the charging robot to provide charging or discharging (or electricity sales) and other services.
[0068] Specifically, when a user drives an electric car to a parking lot and needs a charging robot to go to the parking space of his electric car to provide charging and discharging services, he can log in to the V2G application in the user terminal and authorize the V2G application to obtain the vehicle information and battery management information of his electric car and other legal information related to the charging and discharging process, and then generate a charging and discharging request based on the vehicle information and battery management information through the user terminal, and send the charging and discharging request to the server. The server receives the charging and discharging request and parses the corresponding battery management information and vehicle information of the electric car from the charging and discharging request.
[0069] In practical applications, the battery management information may be read from the battery management system (BMS) of the electric vehicle and uploaded to the user terminal.
[0070] Step S202: determining the charge and discharge power curve of the electric vehicle according to the battery management information.
[0071] Among them, the charging and discharging power curve refers to the curve that describes the power of an electric vehicle (battery) when charging or discharging over a period of time.
[0072] Specifically, the server calculates the charge and discharge power of the electric vehicle based on the battery management information and the charge and discharge amount in the charge and discharge request. In addition, the server can further adjust the calculated charge and discharge power curve based on the correlation between the charge and discharge power and the battery temperature and the correlation between the charge and discharge power and the gun line temperature to obtain a charge and discharge power curve that can maximize the charge and discharge efficiency while ensuring that the battery of the electric vehicle and the gun line of the charging robot are in a safe state.
[0073] Step S203, determining a target charging robot that matches the charging and discharging power curve.
[0074] It should be noted that although the name of the charging robot only reflects the charging function, in fact, the charging robot also has a discharge function, which is used to sell the electricity of electric vehicles to the power grid. The charging robot can also realize other functions related to V2G. For example, when the power grid is in peak demand, electric vehicles can sell electricity to the power grid through the charging robot, and when the power grid is in low demand, the charging robot can charge electric vehicles.
[0075] Specifically, after obtaining the charging and discharging power curve of the electric vehicle, the server can use the charging and discharging power curve as a basis to find a charging robot that matches its charging and discharging power curve, that is, determine the target charging robot. The server can simultaneously allocate target charging robots that match multiple electric vehicles.
[0076] Step S204, charging and discharging the electric vehicle according to the charging and discharging power curve by using the target charging robot.
[0077] Specifically, the server sends charging and discharging instructions to the target charging robot, which plans the route according to the location information of the electric vehicle, and then drives to the parking space of the electric vehicle, where it lowers the gun line it has assembled; the user connects the gun line to the electric vehicle; after the connection is successful, the target charging robot charges and discharges the electric vehicle according to the charging and discharging power curve. During the charging and discharging process, the target charging robot monitors the battery temperature and gun line temperature of the electric vehicle in real time and reports them to the server to ensure the safety of the charging and discharging process and avoid failures of the battery and gun line due to overheating.
[0078] Furthermore, after starting the discharge process, if there are multiple charging robots in the scene that need to discharge at the same time and meet the server's overall discharge requirements for the scene, the server first reads the current charge and discharge power curves of each charging robot, and then adjusts each charge and discharge power curve according to the overall discharge requirements to obtain an updated charge and discharge power curve. The charging robot then performs discharge processing according to the updated charge and discharge power curve, so as to keep the electric vehicle battery healthy and the charging robot equipment temperature normal while also meeting the server's overall discharge requirements, thereby achieving global regulation of the discharge power of multiple charging robots in the scene.
[0079] In the above-mentioned charge and discharge control method, in response to the received charge and discharge request, the battery management information of the electric vehicle corresponding to the charge and discharge request is obtained; based on the battery management information, the charge and discharge power curve of the electric vehicle is determined; a target charging robot matching the charge and discharge power curve is determined; and the target charging robot is used to charge and discharge the electric vehicle according to the charge and discharge power curve. By adopting this method, the charge and discharge power that meets the performance of the electric vehicle can be calculated according to the actual situation of the battery of the electric vehicle, and the most suitable target charging robot can be allocated according to its charge and discharge power to provide charge and discharge services. While meeting the charge and discharge business needs, it can also ensure vehicle safety and battery health, effectively improving the safety of electric vehicle charge and discharge processing.
[0080] In one embodiment, Figure 3 As shown, the above step S202, determining the charging and discharging power curve of the electric vehicle according to the battery management information, specifically includes the following contents:
[0081] Step S301, obtaining a battery model corresponding to the electric vehicle according to vehicle information of the electric vehicle.
[0082] The battery model refers to data describing the battery's production parameters, battery performance, etc. For example, the battery model includes brand, model, capacity, production batch, gun line temperature threshold, etc.
[0083] Specifically, the server queries the battery information sharing library based on the vehicle information of the electric vehicle to obtain a battery model that matches the vehicle information; wherein the battery information sharing library stores the battery models of the electric vehicles of multiple users. Table 1 shown below illustrates some data in the battery model.
[0084] Table 1
[0085]
[0086] Step S302: obtaining the limit power information of the battery of the electric vehicle according to the battery management information and the battery model.
[0087] Among them, the limit power information represents the maximum / minimum power that the battery of the electric vehicle can achieve.
[0088] Specifically, the server obtains the original achievable limit power information of the battery of the electric vehicle based on the battery model, and marks it as the original limit power information; however, the battery will produce certain losses as the usage time increases, so the server can also correct the original limit power information based on the battery management information of the battery, and calculate the current achievable limit power information of the battery of the electric vehicle, and mark it as the current limit power information. By taking the battery performance consumption of the electric vehicle into consideration, the limit power information of the battery of the electric vehicle can be determined more accurately.
[0089] Step S303, performing curve fitting on the charge and discharge power of the battery according to the battery management information and the limit power information, and obtaining the charge and discharge power curve of the electric vehicle.
[0090] Specifically, the server performs curve fitting on the battery charge and discharge power, which can be performed by Bayesian optimization processing on the battery charge and discharge power according to the battery load information in the battery management information, or by least squares processing on the battery charge and discharge power, and the battery load information in the battery management information and the current limit power information are used as constraints of the curve fitting process, and the optimal solution of the charge and discharge power is obtained after global convergence, and the server obtains the charge and discharge power curve of the electric vehicle battery. Among them, the battery load information represents the available power of the battery of the electric vehicle.
[0091] In this embodiment, the current limit power information of the battery of the electric vehicle is determined through the battery model and battery management information corresponding to the electric vehicle. When calculating the charge and discharge power curve, the actual performance of the battery of the electric vehicle is also considered based on the battery management information and the current limit power information, so that the calculated limit power information does not exceed the current actual performance upper limit of the battery, rather than rigidly using the original power parameters of the battery, effectively ensuring the safety of the subsequent charging and discharging process.
[0092] In one embodiment, in the above step S201, before obtaining the battery management information of the electric vehicle corresponding to the charge and discharge request in response to the received charge and discharge request, it also includes: obtaining the vehicle information of the electric vehicle corresponding to the user registration request in response to the received user registration request; querying the battery production information of the electric vehicle based on the vehicle information; constructing a battery model corresponding to the battery of the electric vehicle based on the battery production information; and establishing a corresponding relationship between the battery model and the vehicle information.
[0093] Among them, battery production information refers to data describing the production parameters of the battery.
[0094] When a user uses the charging and discharging service of the charging robot for the first time, he or she must also register an account through the user terminal and enter the relevant information of his or her vehicle. Specifically, the user terminal sends a user registration request to the server, and the server responds to the received user registration request, returns the registration page to the user terminal for display, and obtains the vehicle information of the electric vehicle entered by the user terminal in the displayed registration page. Based on the vehicle information, the server queries the manufacturer of the electric vehicle in the shared library to obtain the battery production information and battery performance information of the electric vehicle. The server constructs a battery model corresponding to the battery of the electric vehicle based on the battery production information and battery performance information, and establishes a corresponding relationship between the battery model and the vehicle information, and stores the battery model and the corresponding relationship in the battery information sharing library. The battery model can also be synchronized to the user portrait of the user account registered by the user.
[0095] The vehicle information refers to the relevant information describing the electric vehicle. For example, the vehicle information includes the manufacturer, production batch, mileage, brand, model, frame number, engine code, etc. Table 2 shown below illustrates some of the data in the vehicle information.
[0096] Table 2
[0097]
[0098] In this embodiment, the vehicle information of the electric vehicle corresponding to the user registration request is used to query the battery production information of the electric vehicle; then, based on the battery production information, a battery model corresponding to the battery of the electric vehicle is constructed, and a corresponding relationship between the battery model and the vehicle information is established, thereby realizing the pre-collection of the vehicle information and the battery model, so that the corresponding information can be quickly queried when providing charging and discharging services for the electric vehicle later.
[0099] In one embodiment, the above step S203, determining the target charging robot that matches the charging and discharging power curve, specifically includes the following contents: obtaining the operating power information of the charging robot in the idle state; if there are multiple charging robots in the idle state, inputting the multiple operating power information and the charging and discharging power curves into the robot scheduling processing model to obtain the target operating power information corresponding to the charging and discharging power curve; and using the charging robot corresponding to the target operating power information as the target charging robot.
[0100] The robot scheduling processing model refers to a model used to analyze the target operating power information that best matches the charging and discharging power curve from the input operating power information and the charging and discharging power curve. The robot scheduling processing model can be a model obtained by optimizing the deep neural network through the nearest neighbor optimization algorithm.
[0101] Specifically, when the server assigns a charging robot to handle charging and discharging services for an electric vehicle, it will give priority to obtaining a charging robot that is in an idle state. If there is no charging robot that is currently in an idle state, a comprehensive analysis will be conducted based on the charging and discharging end time of the charging robot and the distance from the parking space. If the server obtains operating power information of multiple charging robots in an idle state, or there are multiple electric vehicles that need charging and discharging services, that is, there are multiple charging and discharging power curves, the server can input (one or more) operating power information and (one or more) charging and discharging power curves into the robot scheduling processing model, so as to pair the operating power information and the charging and discharging power curves through the robot scheduling processing model, thereby obtaining the target operating power information that best suits each charging and discharging power curve.
[0102] Furthermore, the server generates a charge and discharge service instruction corresponding to the charge and discharge power curve, and sends the charge and discharge service instruction to a target charging robot corresponding to the target operating power information, so that the electric vehicle is charged and discharged by the target charging robot.
[0103] In addition, in addition to using the charge and discharge power curve as a processing basis, the server can also use the correlation between discharge power and gun line temperature to determine the gun line temperature curve corresponding to the charge and discharge power curve; and then input the charge and discharge power curve, gun line temperature curve of the electric vehicle, and the operating power information and gun line temperature threshold of the charging robot into the robot scheduling processing model, so as to obtain a target charge and discharge robot whose charge and discharge power curve matches the operating power information and whose gun line temperature curve matches the gun line temperature threshold.
[0104] In practical applications, the server can use the nearest neighbor optimization algorithm to fine-tune the pre-trained deep neural network, so that the trained network can determine the target operating power information corresponding to the charging and discharging power curve and the gun line temperature curve, and use the trained network as the robot scheduling processing model.
[0105] In this embodiment, the target operating power information corresponding to the charging and discharging power curve is obtained through the robot scheduling processing model; then the charging robot corresponding to the target operating power information is used as the target charging robot, thereby realizing the scheduling and allocation of the target charging robot. The charging robot that meets the performance requirements of the electric vehicle can be allocated according to its actual performance, thereby improving the rationality of the scheduling and allocation of the charging robot.
[0106] In one embodiment, Figure 4 As shown, in the above step S204, after the target charging robot performs charging and discharging processing on the electric vehicle according to the charging and discharging power curve, it also includes:
[0107] Step S401, obtaining battery temperature information of the electric vehicle and gun line temperature information of a gun line connected to the electric vehicle during charging and discharging.
[0108] The battery temperature information represents the temperature of the battery in the electric vehicle, and the gun line temperature information represents the temperature of the gun line of the charging robot connected to the electric vehicle.
[0109] Specifically, when the server is charging and discharging the electric vehicle according to the charging and discharging power curve, the charging robot connected to the electric vehicle can read the battery temperature information of the electric vehicle in real time through the BMS of the electric vehicle, and read the gun line temperature information of the gun line installed on it in real time through the temperature sensor after being authorized by the user terminal; and then send the battery temperature information and the gun line temperature information to the server, and the server obtains the battery temperature information of the electric vehicle during the charging and discharging process and the gun line temperature information of the gun line connected to the electric vehicle.
[0110] Step S402: updating the charge-discharge power curve according to the battery temperature information and the gun line temperature information to obtain an updated charge-discharge power curve.
[0111] Specifically, if the server runs according to the charge and discharge power curve for a preset time, and the battery temperature information and the gun line temperature information are both maintained below the temperature threshold, and there is still some room for rising before reaching the temperature threshold, the server can adjust the charge and discharge power curve to increase the power to speed up the charge and discharge progress and improve the charge and discharge efficiency. If any of the battery temperature information and the gun line temperature information exceeds the corresponding temperature threshold, the server can adjust the charge and discharge power curve to reduce the battery temperature and the gun line temperature to ensure the safe use of the battery and the gun line.
[0112] Step S403, continuing to charge and discharge the electric vehicle according to the updated charge and discharge power curve.
[0113] Specifically, the server sends the updated charge and discharge power curve to the target charging robot, and the target charging robot continues to charge and discharge the electric vehicle according to the updated charge and discharge power curve. In addition, the target charging robot can also display prompt information of the updated charge and discharge power on the screen for the user to view.
[0114] In this embodiment, by collecting the battery temperature information of the electric vehicle during the charging and discharging process and the gun line temperature information of the gun line connected to the electric vehicle in real time, the subsequent steps can dynamically adjust the charging and discharging power curve based on the battery temperature information and the gun line temperature information to obtain an updated charging and discharging power curve, and then the updated charging and discharging power curve can be used to dynamically adjust the charging and discharging power of the electric vehicle, while ensuring the safety of the charging and discharging process, and flexibly improving the efficiency of the charging and discharging process.
[0115] In one embodiment, the above step S402 updates the charge and discharge power curve according to the battery temperature information and the gun line temperature information to obtain an updated charge and discharge power curve, which specifically includes the following contents: determining the battery temperature threshold of the electric vehicle, and determining the gun line temperature threshold of the gun line; if the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, then according to the charge and discharge request, the charge and discharge power curve is gradient descended to obtain an updated charge and discharge power curve.
[0116] Specifically, the server obtains the battery temperature threshold of the electric vehicle based on the battery model, and obtains the gun line temperature threshold of the gun line of the target charging robot through query. If it is detected that the battery temperature information is greater than or equal to the battery temperature threshold, and / or the gun line temperature information is greater than or equal to the gun line temperature threshold, the charge and discharge amount in the charge and discharge request is used as a constraint condition, and the charge and discharge power curve is adjusted by using the stochastic gradient descent algorithm to obtain an updated charge and discharge power curve.
[0117] Furthermore, after the charging robot runs according to the charge and discharge power curve for a preset time, if the battery temperature information does not reach the battery temperature threshold, and the gun line temperature information does not reach the gun line temperature threshold, the charging robot may continue to perform charge and discharge processing according to the charge and discharge power curve.
[0118] In this embodiment, if the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, the charge and discharge power curve is gradient-descended according to the charge and discharge amount in the charge and discharge request, and the updated charge and discharge power curve obtained not only satisfies the charge and discharge amount in the charge and discharge request, but also reduces the charge and discharge power to reduce the temperature of the battery and the gun line to ensure safe operation.
[0119] In one embodiment, Figure 5 As shown, another charge and discharge control method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0120] Step S501, in response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request.
[0121] Step S502: determining the charge and discharge power curve of the electric vehicle according to the battery management information.
[0122] Step S503, determining a target charging robot that matches the charging and discharging power curve.
[0123] Step S504, charging and discharging the electric vehicle according to the charging and discharging power curve by using the target charging robot.
[0124] Step S505, obtaining the battery temperature information of the electric vehicle and the gun line temperature information of the gun line connected to the electric vehicle during the charging and discharging process.
[0125] Step S506, determining a battery temperature threshold of the electric vehicle, and determining a gun line temperature threshold of the gun line.
[0126] Step S507: if the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, the charge and discharge power curve is subjected to gradient descent processing according to the charge and discharge request to obtain an updated charge and discharge power curve.
[0127] Step S508, continuing to charge and discharge the electric vehicle according to the updated charge and discharge power curve.
[0128] The above-mentioned charging and discharging control method can achieve the following beneficial effects: it can calculate the charging and discharging power that meets the performance of the electric vehicle according to the actual situation of the battery, and allocate the most suitable target charging robot according to its charging and discharging power to provide charging and discharging services. While meeting the charging and discharging business needs, it can also ensure vehicle safety and battery health, effectively improving the safety of charging and discharging of electric vehicles.
[0129] In order to more clearly illustrate the charge and discharge control method provided by the embodiment of the present disclosure, the above charge and discharge control method is specifically described below with a specific embodiment. Another charge and discharge control method is provided, which can be applied to Figure 1 The V2G operation platform built on the server includes the following contents:
[0130] (1) Owner registration stage
[0131] Figure 6The flowchart for collecting vehicle information. The car owner registers the user through the user terminal and enters the vehicle information of the electric car. The V2G operation platform queries the vehicle manufacturer of the electric car based on the vehicle information and obtains the battery production information of the electric car; the operation platform can build a battery model based on the battery production information, or query the corresponding battery model from the battery information sharing library based on the battery production information, and then the operation platform synchronizes the battery model to the user portrait of the registered user account.
[0132] (2) Charging and discharging stage
[0133] The charging robot calculates the battery's limit discharge power, optimal discharge power and charge / discharge power curve based on the electric vehicle's battery's BMS information, remaining power (State Of Charge, SOC) information and battery model, using probability model algorithms such as least squares method and Bayesian optimization, and feeds the calculation results back to the operation platform. After determining the charge / discharge power curve, the operation platform dispatches the charging robot to start charging / discharging. Figure 7 Flowchart for the charge and discharge preparation phase.
[0134] After starting charging / discharging, the operation platform reads the temperature information of the electric vehicle's battery and the charging robot's gun line in real time; after running for a period of time according to the charge and discharge power curve, it detects whether the temperature information is working within the safe temperature threshold. If it is not working within the safe temperature threshold, the operation platform adaptively adjusts the charge and discharge power curve through the stochastic gradient descent algorithm according to the discharge demand and the temperature of the charging robot and electric vehicle BMS, so as to ensure the safety of the equipment and vehicle and the health of the battery to meet the discharge business needs as much as possible; if it is within the safe temperature threshold, it continues to operate according to the charge and discharge power curve. Figure 8 Flowchart for dynamically adjusting the charging and discharging process.
[0135] (3) Discharge scheduling stage
[0136] After the discharge starts, if there are multiple charging robots in the scene that need to discharge at the same time to meet the server's overall discharge requirements for the scene, the operation platform can first read the charge and discharge power curves of all charging robots, and then adjust each charge and discharge power curve through an algorithm according to the overall discharge requirements to obtain an updated charge and discharge power curve. Then, the charging robot starts / stops the discharge process according to the updated charge and discharge power curve, and finally completes the overall discharge requirements. Fig. 9 Flowchart of the discharge scheduling process.
[0137] In this embodiment, the charging and discharging power that meets the performance of the electric vehicle can be calculated based on the actual situation of the battery of the electric vehicle, and the most suitable target charging robot can be allocated according to its charging and discharging power to provide charging and discharging services. While meeting the charging and discharging business needs, it can also ensure vehicle safety and battery health, effectively improving the safety of charging and discharging processes for electric vehicles.
[0138] 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.
[0139] Based on the same inventive concept, the embodiment of the present application also provides a charge and discharge control device for implementing the charge and discharge control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more charge and discharge control device embodiments provided below can refer to the limitations of the charge and discharge control method above, and will not be repeated here.
[0140] In one embodiment, Fig.10 As shown, a charge and discharge control device 1000 is provided, comprising: a request response module 1001, a power determination module 1002, a robot matching module 1003 and a charge and discharge processing module 1004, wherein:
[0141] The request response module 1001 is used to respond to the received charge and discharge request and obtain the battery management information of the electric vehicle corresponding to the charge and discharge request.
[0142] The power determination module 1002 is used to determine the charging and discharging power curve of the electric vehicle according to the battery management information.
[0143] The robot matching module 1003 is used to determine a target charging robot that matches the charging and discharging power curve.
[0144] The charge and discharge processing module 1004 is used to perform charge and discharge processing on the electric vehicle according to the charge and discharge power curve through the target charging robot.
[0145] In one embodiment, the power determination module 1002 is also used to obtain a battery model corresponding to the electric vehicle based on the vehicle information of the electric vehicle; obtain the limit power information of the battery of the electric vehicle based on the battery management information and the battery model; and perform curve fitting on the charge and discharge power of the battery based on the battery management information and the limit power information to obtain the charge and discharge power curve of the electric vehicle.
[0146] In one embodiment, the charge and discharge control device 1000 also includes an information acquisition module, which is used to respond to a received user registration request, obtain vehicle information of the electric vehicle corresponding to the user registration request; query and obtain the battery production information of the electric vehicle based on the vehicle information; construct a battery model corresponding to the battery of the electric vehicle based on the battery production information; and establish a corresponding relationship between the battery model and the vehicle information.
[0147] In one embodiment, the robot matching module 1003 is also used to obtain the operating power information of the charging robot in the idle state; if there are multiple charging robots in the idle state, the multiple operating power information and the charging and discharging power curves are input into the robot scheduling processing model to obtain the target operating power information corresponding to the charging and discharging power curves; the charging robot corresponding to the target operating power information is used as the target charging robot.
[0148] In one embodiment, the charge and discharge control device 1000 also includes a temperature monitoring module, which is used to obtain battery temperature information of the electric vehicle and gun line temperature information of a gun line connected to the electric vehicle during the charge and discharge process; update the charge and discharge power curve according to the battery temperature information and the gun line temperature information to obtain an updated charge and discharge power curve; and continue to charge and discharge the electric vehicle according to the updated charge and discharge power curve.
[0149] In one embodiment, the charge and discharge control device 1000 also includes a power adjustment module, which is used to determine the battery temperature threshold of the electric vehicle and the gun line temperature threshold of the gun line; if the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, then according to the charge and discharge request, the charge and discharge power curve is subjected to gradient descent processing to obtain the updated charge and discharge power curve.
[0150] Each module in the above-mentioned charge and discharge control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0151] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as charge and discharge power curves. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a charge and discharge control method is implemented.
[0152] Those skilled in the art will understand that Fig.11 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.
[0153] In one embodiment, a computer device is further 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.
[0154] 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.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] 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 charge and discharge control method, characterized in that: The method comprises: In response to the received charge and discharge request, obtaining battery management information of the electric vehicle corresponding to the charge and discharge request; Determining a charging and discharging power curve of the electric vehicle according to the battery management information; The charge-discharge power curve is adjusted according to the correlation between the charge-discharge power of the electric vehicle and the battery temperature of the electric vehicle, and the correlation between the charge-discharge power and the gun line temperature of the charging robot; the charge-discharge power curve is used to maximize the charge-discharge power of the electric vehicle while ensuring that the battery of the electric vehicle and the gun line of the charging robot are in a safe state; Determining a target charging robot that matches the charging and discharging power curve; The target charging robot is used to charge and discharge the electric vehicle according to the charging and discharging power curve.
2. The method according to claim 1, characterized in that Determining the charging and discharging power curve of the electric vehicle according to the battery management information includes: Obtaining a battery model corresponding to the electric vehicle according to vehicle information of the electric vehicle; Obtaining the limit power information of the battery of the electric vehicle according to the battery management information and the battery model; According to the battery management information and the limit power information, a curve fitting is performed on the charge and discharge power of the battery to obtain a charge and discharge power curve of the electric vehicle.
3. The method according to claim 2, characterized in that Before obtaining the battery management information of the electric vehicle corresponding to the charge and discharge request in response to the received charge and discharge request, the method further includes: In response to the received user registration request, obtaining vehicle information of the electric vehicle corresponding to the user registration request; According to the vehicle information, query and obtain the battery production information of the electric vehicle; Constructing a battery model corresponding to the battery of the electric vehicle according to the battery production information; A corresponding relationship between the battery model and the vehicle information is established.
4. The method according to claim 1, characterized in that: The determining of a target charging robot that matches the charging and discharging power curve comprises: Obtaining the operating power information of the charging robot in an idle state; If there are multiple charging robots in an idle state, the multiple operating power information and the charging and discharging power curves are input into the robot scheduling processing model to obtain the target operating power information corresponding to the charging and discharging power curves; The charging robot corresponding to the target operating power information is used as the target charging robot.
5. The method according to claim 1, characterized in that After the target charging robot performs charging and discharging processing on the electric vehicle according to the charging and discharging power curve, the method further includes: Acquiring battery temperature information of the electric vehicle and gun line temperature information of a gun line connected to the electric vehicle during charging and discharging; The charge-discharge power curve is updated according to the battery temperature information and the gun line temperature information to obtain an updated charge-discharge power curve; The electric vehicle continues to be charged and discharged according to the updated charge and discharge power curve.
6. The method according to claim 5, characterized in that The step of updating the charge-discharge power curve according to the battery temperature information and the gun line temperature information to obtain an updated charge-discharge power curve includes: Determining a battery temperature threshold of the electric vehicle, and determining a gun line temperature threshold of the gun line; If the battery temperature information reaches the battery temperature threshold, and / or the gun line temperature information reaches the gun line temperature threshold, the charge and discharge power curve is subjected to gradient descent processing according to the charge and discharge request to obtain the updated charge and discharge power curve.
7. A charge and discharge control device, characterized in that: The device comprises: A request response module, used to respond to a received charge and discharge request and obtain battery management information of the electric vehicle corresponding to the charge and discharge request; A power determination module, used to determine a charge and discharge power curve of the electric vehicle according to the battery management information; The power determination module is used to adjust the charge and discharge power curve according to the correlation between the charge and discharge power of the electric vehicle and the battery temperature of the electric vehicle, and the correlation between the charge and discharge power and the gun line temperature of the charging robot; the charge and discharge power curve is used to maximize the charge and discharge power of the electric vehicle while ensuring that the battery of the electric vehicle and the gun line of the charging robot are in a safe state; A robot matching module, used to determine a target charging robot that matches the charging and discharging power curve; The charging and discharging processing module is used to perform charging and discharging processing on the electric vehicle according to the charging and discharging power curve through the target charging robot.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 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 6 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 6 are implemented.
