Electric vehicle charging management method and system, electronic equipment and storage medium
By using the convolutional neural network model trained by the reinforcement learning algorithm in the electric vehicle charging management system, the value of the target state value function in the charging state is estimated, and the charging strategy is determined, which solves the problem of poor charging effect in the existing technology and achieves a better Efficient and stable charging process.
Patent Information
- Application Number
- CN202311643226.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-18
AI Technical Summary
The control logic of the existing electric vehicle charging management system is simple, resulting in poor charging results.
A convolutional neural network model trained based on reinforcement learning algorithm is used to estimate the target state value function value in the charging state, thereby determining the optimized charging strategy.
The charging effect is improved, the determined charging strategy is more suitable for the current charging state, and the charging efficiency and stability are improved.
Smart Images

Figure CN118790085A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to an electric vehicle charging management method, system, electronic equipment and storage medium. Background Art
[0002] In the prior art, the electric vehicle charging management system optimizes the charging strategy by using the power detected by the power sensor, but its disadvantages are that the control logic is simple and the control effect is poor. Summary of the invention
[0003] In order to solve at least one technical problem in the prior art, the present disclosure provides an electric vehicle charging management method, system, electronic device and storage medium to improve the charging effect.
[0004] According to a first aspect of the present disclosure, there is provided an electric vehicle charging management method, comprising:
[0005] Obtain target charging status data, wherein the target charging status data is charging status data detected by the charging pile end, and the charging status data includes battery status, charging speed and charging power;
[0006] Obtaining a pre-trained charging state value function model, wherein the charging state value function model is a convolutional neural network model that simulates the charging state value function, and is used to estimate the target state value function value under the corresponding charging state according to the charging state data, and the charging state value function model is trained based on a reinforcement learning algorithm;
[0007] The charging state value function model is used to estimate the target state value function value under the corresponding charging state according to the target charging state data, and the charging strategy of the charging vehicle is determined according to the target state value function value.
[0008] Optionally, the convolutional neural network model includes an input layer, a convolution layer, a pooling layer, a fully connected layer and an output layer, the data of the input layer includes the charging status data, and the data of the output layer includes the status value under the corresponding charging status.
[0009] Optionally, training the charging state value function model includes:
[0010] Training the charging state value function model based on a deep learning algorithm;
[0011] The charging state value function model is trained based on a reinforcement learning algorithm.
[0012] Optionally, the charging state value function is:
[0013]
[0014] Among them, V(s) represents the state value function of state s, Q(s, a) represents the behavior value after performing action a in state s, and Q(s, a) is estimated using a deep neural network.
[0015] Optionally, the training of the charging state value function model based on a reinforcement learning algorithm includes:
[0016] Acquire a sample set, the sample set comprising a plurality of samples, each of the samples comprising charging state data of a first state, a first action, a reward for performing the first action in the first state, and charging state data of a second state, wherein the second state is a state after the first state performs the first action;
[0017] Calculate, based on at least one sample in the sample set, an estimated value of the state value function in the first state and a target value of the state value function in the first state;
[0018] A loss function value is calculated according to the estimated value and the target value, and parameters of the charging state value function model are updated according to the loss function value.
[0019] Optionally, the estimated value of the state value function in the first state is estimated using the charging state value function model;
[0020] The target value of the state value function in the first state is calculated using the following formula:
[0021]
[0022] Q(s, a) represents the target value of the behavior value after executing action a in state s, R(s, a) represents the reward for executing action a in state s, and γ is the discount factor, which ranges from 0 to 1. is the behavior value after executing action a′ in state s′, and state s′ is the state after executing action a in state s. It is estimated using the state-of-charge value function model.
[0023] Optionally, obtaining a sample set includes:
[0024] Acquiring charging state data of a first state;
[0025] Using the charging state value function model, estimating first action values corresponding to all actions in the first state according to the charging state data of the first state;
[0026] Determine the first action according to the first action values corresponding to all the actions using the ∈-greedy method;
[0027] The first action is performed in the first state to obtain the charging state data of the second state and a reward for the first action.
[0028] According to a second aspect of the present disclosure, there is provided an electric vehicle charging management system, comprising:
[0029] A data acquisition module is used to acquire target charging status data, wherein the target charging status data is the charging status data detected by the charging pile end, and the charging status data includes battery status, charging speed and charging power;
[0030] A model acquisition module, used to acquire a pre-trained charging state value function model, wherein the charging state value function model is a convolutional neural network model that simulates the charging state value function, and is used to estimate the target state value function value under the corresponding charging state according to the charging state data, and the charging state value function model is trained based on a reinforcement learning algorithm;
[0031] The strategy determination module is used to use the charging state value function model to estimate the target state value function value under the corresponding charging state according to the target charging state data, and determine the charging strategy of the charging vehicle according to the target state value function value.
[0032] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0033] Processor; and
[0034] Memory for storing programs,
[0035] The program includes instructions, which, when executed by the processor, cause the processor to perform any of the methods described above.
[0036] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any one of the methods described above.
[0037] One or more technical solutions provided in the embodiments of the present application determine the target state value function value under the corresponding state according to the target charging state data based on the charging state value function model obtained by intensive training, and determine the corresponding charging strategy based on the target state value function value, so that the estimated and determined target state value function value is more accurate, and the determined charging strategy is more suitable for the current charging state, thereby improving the charging effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0039] Figure 1 A schematic diagram showing an example system in which the methods described herein may be implemented according to an exemplary embodiment of the present disclosure;
[0040] Figure 2 A flow chart of an electric vehicle charging management method according to an exemplary embodiment of the present disclosure is shown;
[0041] Figure 3 A sub-flow chart of an electric vehicle charging management method according to an exemplary embodiment of the present disclosure is shown;
[0042] Figure 4 A schematic block diagram of an electric vehicle charging management system according to an exemplary embodiment of the present disclosure is shown;
[0043] Figure 5 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0044] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0045] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0046] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0047] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0048] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0049] See also Figure 1 , Figure 1 It is a schematic diagram of an example system in which the method described herein can be implemented according to an exemplary embodiment of the present disclosure, which includes a charging pile 101, a cloud platform 102, and a user terminal 103. The cloud platform 102 is respectively connected to the charging pile 101 and the user terminal 103 through a network communication. Specifically, the charging pile 101 and the cloud platform 102 can be connected based on the Internet of Things.
[0050] Aspects of the present disclosure are described below with reference to the accompanying drawings.
[0051] See also Figure 2 , a method for managing charging of an electric vehicle, comprising:
[0052] S201, obtaining target charging status data, the target charging status data is the charging status data detected by the charging pile end, and the charging status data includes battery status, charging speed and charging power.
[0053] This embodiment is illustrative in that a cloud platform executes the electric vehicle charging management method. It should be understood that the electric vehicle charging management method can also be executed on other service terminals.
[0054] After collecting charging status data such as battery status, charging speed and charging power, the sensor at the charging pile uploads the data to the cloud platform. After receiving the data, the cloud platform can clean and process it through data preprocessing technology to obtain target charging status data. The platform receives the target charging status data and analyzes and formulates corresponding charging strategies according to the target charging status data according to the electric vehicle charging management method of this example, so as to make the charging process smoother and more efficient.
[0055] S202, obtaining a pre-trained charging state value function model, which is a convolutional neural network model that simulates the charging state value function, and is used to estimate the target state value function value under the corresponding charging state based on the charging state data. The charging state value function model is trained based on a reinforcement learning algorithm.
[0056] In this embodiment, a neural network model is used to simulate the charging state value function to estimate the state value of the corresponding charging state according to the charging state data. In some embodiments, a convolutional neural network is used to establish a charging state value function model, including an input layer, a convolutional layer, a pooling layer, a fully connected layer, and an output layer, wherein the data of the input layer includes the charging state data, and the data of the output layer includes the state value under the corresponding charging state, and the weights and biases of the convolutional neural network are corrected by training to optimize the effect and accuracy of the model.
[0057] In this embodiment, the charging state value function model is trained based on a reinforcement learning algorithm and does not require labeling. Feedback rewards can be obtained through interaction with the environment. The strategy and value function model are adjusted according to the rewards to improve training efficiency and training results.
[0058] In some embodiments, the charging state value function model is trained based on a deep learning algorithm; and the charging state value function model is trained based on a reinforcement learning algorithm. Exemplarily, the charging state value function model is first trained based on a deep learning algorithm so that the charging state value function model can obtain the terminal state value under the optimal strategy, and then the charging state value function model is trained based on a reinforcement learning algorithm so that the charging state value function model can obtain the terminal state value under a strategy with more charging efficiency and stability, and then the corresponding strategy is obtained. Exemplarily, the charging state value function model is trained using the optimal charging strategy deep learning algorithm, and the charging state value function model is trained using the reinforcement learning algorithm.
[0059] In some embodiments, the state of charge value function is:
[0060]
[0061] Among them, V(s) represents the state value function of state s, Q(s, a) represents the behavior value after executing action a in state s, and Q(s, a) is estimated using a deep neural network. The behavior value function is simulated using a deep neural network to estimate the behavior value after executing action a in state s. The charging state value function model can determine the charging state value based on the behavior value after executing each action in state s estimated by the deep neural network.
[0062] In some embodiments, see Figure 3 , based on the reinforcement learning algorithm to train the charging state value function model, including:
[0063] S301, obtaining a sample set, the sample set includes multiple samples, each sample includes charging state data of a first state, a first action, a reward for performing the first action in the first state, and charging state data of a second state, the second state being the state after the first action is performed in the first state.
[0064] S302: Calculate an estimated value of a state-value function in a first state and a target value of the state-value function in the first state according to at least one sample in the sample set.
[0065] The sample set can be obtained in various ways. Exemplarily, obtaining the sample set includes: obtaining charging state data of the first state; using the charging state value function model to estimate the first action value corresponding to all actions in the first state according to the charging state data of the first state; using the ∈-greedy method to determine the first action according to the first action value corresponding to all actions; executing the first action in the first state to obtain the charging state data of the second state and the reward of the first action.
[0066] The estimated value of the state value function in the first state is calculated using the charging state value function model, and the actual value can be calculated using various methods. For example, the target value of the state value function in the first state is calculated using the following formula:
[0067]
[0068] Q(s, a) represents the target value of the behavior value after executing action a in state s, R(s, a) represents the reward for executing action a in state s, and γ is the discount factor, which ranges from 0 to 1. is the behavior value after executing action a′ in state s′, and state s′ is the state after executing action a in state s. It is estimated using the state-of-charge value function model. The state value after executing the optimal action in the next state can be used as the network parameter of the charging state value function model.
[0069] In one embodiment, all factors and variables related to the charging state of the electric vehicle are defined and encoded into a state vector. Exemplarily, the charging state data can be encoded to form a state vector.
[0070] In one embodiment, a state-action function is defined to map the state space and the action space to determine the optimal action strategy. Exemplarily, the state space and the action space can be mapped using the function described above.
[0071] In one embodiment, the charging strategy to be adopted is determined, and the battery status of the electric vehicle is monitored and responded to during the actual application of the charging pile to gradually optimize the action strategy. The charging strategy to be adopted is determined, actions are performed according to the charging strategy, the battery status is monitored, and the action strategy is optimized according to the battery status optimization model.
[0072] In one embodiment, a reward function can be designed based on the battery status, charging speed, current and voltage of the electric vehicle to obtain the corresponding reward R(s, a) to provide feedback on the optimal action strategy in order to optimize the action strategy.
[0073] In one embodiment, the forward propagation of the neural network of the state of charge value function model can be:
[0074] z l =w l a l-1 +b l , a l =σ(z l )
[0075] where a l-1 represents the activation value of the l-1th layer, W l is the weight from layer l to layer l-1, b l represents the bias vector of layer l, σ(z l ) is the activation function.
[0076] S303, calculating the loss function value according to the estimated value and the target value, and updating the parameters of the charging state value function model according to the loss function value.
[0077] The loss function can be used to calculate the loss function value according to the estimated value and the target value, and the parameters of the charging state value function model can be updated through the back propagation of the neural network according to the loss function value.
[0078] In the disclosed embodiment, the model can be trained multiple times to continuously optimize the model effect, so that the reinforcement learning algorithm gradually approaches the optimal solution.
[0079] S203, using the charging state value function model, estimating the target state value function value under the corresponding charging state according to the target charging state data, and determining the charging strategy of the charging vehicle according to the target state value function value.
[0080] In this step, when the target state value function value is determined, the charging strategy can be determined by using a strategy iteration method. When the charging state value function model includes a simulated action value function, the action value function can also simulate the relationship between the partially determined action and state to determine the corresponding strategy.
[0081] It can be known that the above-mentioned electric vehicle charging management method can be used on a cloud platform. In actual application scenarios, the strategy can be sent to the charging pile, and the charging pile can charge according to the strategy.
[0082] It can be known that the above-mentioned electric vehicle charging management method can be on the cloud platform. In actual application scenarios, the cloud platform can provide other services. For example, the cloud platform uses APP or web pages to provide users with reservation services and display charging status and charging conditions to enhance the charging experience. For example, the cloud platform monitors the status of the charging pile to ensure the safety and stability of the charging process, and promptly alarms or prompts when there are abnormal conditions to ensure the safety of users.
[0083] It can be known that the above-mentioned electric vehicle charging management method can be used on the cloud platform. In the actual application scenario, at the charging pile end, the user can confirm the identity through the face recognition, password authentication and other methods provided by the platform, and start the charging pile; the charging pile collects data through sensors and uploads the charging power, charging speed, battery status and other data to the cloud platform. At the same time, the charging pile also receives instructions from the cloud platform to adjust the charging voltage, current, stop or resume charging, etc.
[0084] For example, when a user arrives at a charging station, he or she enters the charging pile user interface through face recognition or password authentication, and the system will verify the user's information in the cloud. When the user connects the electric car to the charging pile, the system will detect the status of the charging pile interface to determine whether charging can begin. After the charging pile is started, the relevant sensors and control modules will be started, and relevant data will be collected in real time and uploaded to the cloud platform. The system will monitor the current, voltage, power and other data of the electric vehicle during the charging process in real time, and complete the corresponding charging scheduling according to different conditions to ensure the quality and efficiency of charging. The charging pile will also continuously detect its own performance and status. If there is any abnormality, the system will promptly alarm or prompt so that maintenance personnel can carry out maintenance in time to ensure the safety and stability of the system.
[0085] It can be known that the above-mentioned electric vehicle charging management method can be used on the cloud platform. In the actual application scenario, at the user end, the user can install the APP to realize operations such as base station reservation, charging pile query, and charging pile location positioning, and receive relevant information reminders when charging starts and charging is completed. At the same time, users can also provide feedback information through the APP, thereby continuously optimizing the user experience of the system.
[0086] For example, the user installs the APP and registers and logs in to enter a series of charging function operation interfaces. The user can view the charging status, such as charging progress, charging speed, remaining power, etc. If charging is required at a later time, the user can make an appointment for the time and charging station, which is convenient for the user to arrange a charging plan. After the user completes charging, the system will automatically calculate the charging fee and provide a variety of payment methods. The user can locate the location of the charging pile through the APP to ensure that the charging pile is found quickly and charging is completed, which is convenient and fast.
[0087] See also Figure 4 , an electric vehicle charging management system, comprising:
[0088] The data acquisition module 401 is used to acquire target charging status data. The target charging status data is the charging status data detected by the charging pile end. The charging status data includes battery status, charging speed and charging power.
[0089] The model acquisition module 402 is used to obtain a pre-trained charging state value function model. The charging state value function model is a convolutional neural network model that simulates the charging state value function. It is used to estimate the target state value function value under the corresponding charging state based on the charging state data. The charging state value function model is trained based on a reinforcement learning algorithm.
[0090] The strategy determination module 403 is used to use the charging state value function model to estimate the target state value function value under the corresponding charging state according to the target charging state data, and determine the charging strategy of the charging vehicle according to the target state value function value.
[0091] In some embodiments, the convolutional neural network model includes an input layer, a convolution layer, a pooling layer, a fully connected layer and an output layer, the data of the input layer includes charging status data, and the data of the output layer includes status values under corresponding charging states.
[0092] In some embodiments, the system further includes a training module for training a state of charge value function model.
[0093] The training module is used to train the charging state value function model, specifically for: training the charging state value function model based on a deep learning algorithm; training the charging state value function model based on a reinforcement learning algorithm.
[0094] In some embodiments, the state of charge value function is:
[0095]
[0096] Among them, V(s) represents the state value function of state s, Q(s, a) represents the behavior value after performing action a in state s, and Q(s, a) is estimated using a deep neural network.
[0097] In some embodiments, a training module, when used to train a charging state value function model based on a reinforcement learning algorithm, is specifically used to: obtain a sample set, the sample set includes multiple samples, each sample includes charging state data of a first state, a first action, a reward for performing the first action in the first state, and charging state data of a second state, and the second state is the state after the first state performs the first action; based on at least one sample in the sample set, calculate an estimated value of the state value function in the first state and a target value of the state value function in the first state; calculate a loss function value based on the estimated value and the target value, and update the parameters of the charging state value function model based on the loss function value.
[0098] In some embodiments, the estimated value of the state value function in the first state is estimated using a charging state value function model; the target value of the state value function in the first state is calculated using the following formula:
[0099]
[0100] Q(s, a) represents the target value of the behavior value after executing action a in state s, R(s, a) represents the reward for executing action a in state s, and γ is the discount factor, which ranges from 0 to 1. is the behavior value after executing action a′ in state s′, and state s′ is the state after executing action a in state s. It is estimated using the state-of-charge value function model.
[0101] In some embodiments, the training module is used to obtain a sample set and is specifically used to: obtain charging state data of a first state; use a charging state value function model to estimate first action values corresponding to all actions in the first state based on the charging state data of the first state; use an ∈-greedy method to determine the first action based on the first action values corresponding to all actions; and execute the first action in the first state to obtain the charging state data of the second state and a reward for the first action.
[0102] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.
[0103] Exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method according to an embodiment of the present disclosure.
[0104] The exemplary embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program is used to cause the computer to execute the method according to the embodiments of the present disclosure when the computer program is executed by a processor of a computer.
[0105] refer to Figure 5 , a block diagram of an electronic device 500 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0106] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0107] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 may be any type of device capable of inputting information to the electronic device 500, and the input unit 506 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 507 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 may include, but is not limited to, a disk, an optical disk. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0108] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the method of the embodiment of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. In some embodiments, the computing unit 501 may be configured to perform the method of the embodiment of the present disclosure in any other appropriate manner (e.g., by means of firmware).
[0109] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0111] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0112] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0113] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0114] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
Claims
1. A method for managing electric vehicle charging, characterized in that: include: Obtain target charging status data, wherein the target charging status data is charging status data detected by the charging pile end, and the charging status data includes battery status, charging speed and charging power; Obtaining a pre-trained charging state value function model, wherein the charging state value function model is a convolutional neural network model that simulates the charging state value function, and is used to estimate the target state value function value under the corresponding charging state according to the charging state data, and the charging state value function model is trained based on a reinforcement learning algorithm; The charging state value function model is used to estimate the target state value function value under the corresponding charging state according to the target charging state data, and the charging strategy of the charging vehicle is determined according to the target state value function value.
2. The method according to claim 1, characterized in that The convolutional neural network model includes an input layer, a convolution layer, a pooling layer, a fully connected layer and an output layer. The data of the input layer includes the charging state data, and the data of the output layer includes the state value under the corresponding charging state.
3. The method according to claim 1, characterized in that Training the charging state value function model includes: Training the charging state value function model based on a deep learning algorithm; The charging state value function model is trained based on a reinforcement learning algorithm.
4. The method according to any one of claims 1 to 3, characterized in that: The charging state value function is: Among them, V(s) represents the state value function of state s, Q(s, a) represents the behavior value after performing action a in state s, and Q(s, a) is estimated using a deep neural network.
5. The method according to claim 4, characterized in that The method of training the charging state value function model based on a reinforcement learning algorithm includes: Acquire a sample set, the sample set comprising a plurality of samples, each of the samples comprising charging state data of a first state, a first action, a reward for performing the first action in the first state, and charging state data of a second state, wherein the second state is a state after the first state performs the first action; Calculate, based on at least one sample in the sample set, an estimated value of the state value function in the first state and a target value of the state value function in the first state; A loss function value is calculated according to the estimated value and the target value, and parameters of the charging state value function model are updated according to the loss function value.
6. The method according to claim 5, characterized in that The estimated value of the state value function in the first state is estimated by using the charging state value function model; The target value of the state value function in the first state is calculated using the following formula: Q(s, a) represents the target value of the behavior value after executing action a in state s, R(s, a) represents the reward for executing action a in state s, and γ is the discount factor, which ranges from 0 to 1. is the behavior value after executing action a′ in state s′, and state s′ is the state after executing action a in state s. It is estimated using the state-of-charge value function model.
7. The method according to claim 6, characterized in that The obtaining of the sample set comprises: Acquiring charging state data of a first state; Using the charging state value function model, estimating first action values corresponding to all actions in the first state according to the charging state data of the first state; Determine the first action according to the first action values corresponding to all the actions using the ∈-greedy method; The first action is performed in the first state to obtain the charging state data of the second state and a reward for the first action.
8. An electric vehicle charging management system, characterized in that: include: A data acquisition module is used to acquire target charging status data, wherein the target charging status data is the charging status data detected by the charging pile end, and the charging status data includes battery status, charging speed and charging power; A model acquisition module, used to acquire a pre-trained charging state value function model, wherein the charging state value function model is a convolutional neural network model that simulates the charging state value function, and is used to estimate the target state value function value under the corresponding charging state according to the charging state data, and the charging state value function model is trained based on a reinforcement learning algorithm; The strategy determination module is used to use the charging state value function model to estimate the target state value function value under the corresponding charging state according to the target charging state data, and determine the charging strategy of the charging vehicle according to the target state value function value.
9. An electronic device, characterized in that: include: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
Citation Information
Cited By
Scheduling method and device for automatic charging system, storage medium, and computer program product
WO2026157140A1
