Vehicle intelligent charging method and device
By obtaining the battery capacity and charging power level and automatically controlling the charging process using the prediction model, the problem that traditional electric vehicle charging methods require users to operate manually is solved, and the charging efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410553559.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-05-07
AI Technical Summary
Traditional electric vehicle charging methods require manual operation by users, which is cumbersome and reduces the user experience.
By obtaining the battery capacity of the target vehicle and the charging power level of the charging pile, using the prediction model to determine the common or household charging threshold, automatically control the charging process, and realize intelligent charging.
It solves the problem that traditional charging methods require users to operate manually, improves charging efficiency and user experience, and realizes automatic charging.
Smart Images

Figure CN118386924B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a vehicle intelligent charging method and device. Background Art
[0002] With the popularity of electric vehicles, the number of charging piles is also increasing, and it is becoming more and more common to use charging piles to charge electric vehicles. The traditional charging method requires users to set the time to charge, which is cumbersome and reduces the user experience. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a vehicle intelligent charging method, device, electronic device and storage medium to solve the problem in the prior art that the traditional electric vehicle charging method requires manual operation by the user.
[0004] In a first aspect of an embodiment of the present application, a vehicle intelligent charging method is provided, including: obtaining the battery capacity of a target vehicle and the charging power level and the average charging power of a charging pile, wherein the charging power level and the average charging power are related; judging the type of the charging pile according to the identification number of a charging gun inserted into the charging port of the target vehicle, wherein the charging gun is arranged on the charging pile; when the charging pile is a public charging pile, determining a public charging threshold according to the battery capacity and the charging power level using a first charging threshold prediction model, and charging the target vehicle based on the public charging threshold; when the charging pile is a household charging pile, determining a gun removal time for removing the charging gun from the charging port according to the battery capacity and the average charging power using a time prediction model, determining a household charging threshold according to the battery capacity and the charging power level using a second charging threshold prediction model, and charging the target vehicle based on the household charging threshold and the gun removal time.
[0005] According to a second aspect of an embodiment of the present application, a vehicle intelligent charging device is provided, including: an acquisition module, configured to acquire the battery capacity of a target vehicle and the charging power level and the average charging power of a charging pile, wherein the charging power level is related to the average charging power; a judgment module, configured to judge the type of the charging pile according to the identification number of a charging gun inserted into the charging port of the target vehicle, wherein the charging gun is arranged on the charging pile; a public charging pile intelligent charging module, configured to, when the charging pile is a public charging pile, determine a public charging threshold according to the battery capacity and the charging power level using a first charging threshold prediction model, and charge the target vehicle based on the public charging threshold; a household charging pile intelligent charging module, configured to, when the charging pile is a household charging pile, determine a gun removal time for removing the charging gun from the charging port according to the battery capacity and the average charging power using a time prediction model, determine a household charging threshold according to the battery capacity and the charging power level using a second charging threshold prediction model, and charge the target vehicle based on the household charging threshold and the gun removal time.
[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0007] In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
[0008] Compared with the prior art, the beneficial effects of the embodiments of the present application include at least the following: when the charging pile is a public charging pile, the public charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the public charging threshold; when the charging pile is a household charging pile, the unloading time is determined according to the battery capacity and the average charging power, the household charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the household charging threshold and the unloading time. Therefore, the above-mentioned technical means can be used to solve the problem that the traditional electric vehicle charging method in the prior art requires manual operation by the user, thereby realizing intelligent charging, improving charging efficiency and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 It is a flow chart of a vehicle intelligent charging method provided in an embodiment of the present application;
[0011] Figure 2 It is a flow chart of another vehicle intelligent charging method provided in an embodiment of the present application;
[0012] Figure 3 It is a structural schematic diagram of a vehicle intelligent charging device provided in an embodiment of the present application;
[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0015] Figure 1 It is a flow chart of a vehicle intelligent charging method provided in an embodiment of the present application. Figure 1 The vehicle intelligent charging method can be executed by a vehicle control system set on the target vehicle, or by a computer or server, or a processor set on the computer or server, or software on a computer or ordinary server. The vehicle intelligent charging method includes:
[0016] S101, obtaining a battery capacity of a target vehicle and a charging power level and an average charging power of a charging pile, wherein the charging power level and the average charging power are related;
[0017] S102, determining the type of the charging pile according to the identification number of the charging gun inserted into the charging port of the target vehicle, wherein the charging gun is arranged on the charging pile;
[0018] S103, when the charging pile is a public charging pile, a public charging threshold is determined according to the battery capacity and the charging power level using a first charging threshold prediction model, and the target vehicle is charged based on the public charging threshold;
[0019] S104, when the charging pile is a household charging pile, the time prediction model is used to determine the time to remove the charging gun from the charging port based on the battery capacity and the average charging power, and the second charging threshold prediction model is used to determine the household charging threshold based on the battery capacity and the charging power level, and the target vehicle is charged based on the household charging threshold and the time to remove the charging gun.
[0020] The battery capacity is the rated capacity of the battery on the target vehicle, and the charging power level is the fast charging power supported by the charging pile manufacturer. Because the actual charging power of any fast charging protocol varies within a range, the average charging power of the charging power level can be calculated. The average charging power is the average power of the charging pile. The type of charging pile is determined by the identification number of the charging gun, and the target vehicle is charged based on the type of charging pile. Specifically: if it is a public charging pile, the target vehicle is charged based on the public charging threshold. If it is a home charging pile, the target vehicle is charged based on the home charging threshold and the gun removal time.
[0021] The embodiment of the present application is equivalent to providing a vehicle intelligent charging system, including a charging pile, a charging gun, a vehicle controller set on the target vehicle, and a radio frequency communication module in the charging port, which is also an RFID reader. An RFID tag is installed on the charging pile, and the position and direction of the RFID tag can be recognized by the RFID reader; an RFID reader is pasted inside the vehicle charging port cover, and its antenna can cover the area near the charging pile; the parameters of the RFID reader, such as communication frequency, communication protocol, data format, etc., are configured to ensure compatibility with the charging pile. Specifically: when the target vehicle stops, the vehicle controller detects that any door of the target vehicle changes from closed to open or from closed to half-open, and the RFID reader will send a radio frequency signal to activate the RFID tag. After receiving the signal, the RFID tag transmits the information stored in it (ID number, charging power, charging mode, charging fee) back to the RFID reader through a radio frequency signal. After receiving the information returned by the tag, the RFID reader decodes and processes it, and sends the result to the vehicle controller. After the vehicle controller recognizes the charging pile according to the stored information inside the RFID tag, it automatically opens the charging port cover (the lid of the charging port) and waits for the charging gun to be inserted into the charging port for charging.
[0022] According to the technical solution provided in the embodiment of the present application, when the charging pile is a public charging pile, the public charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the public charging threshold; when the charging pile is a household charging pile, the unloading time is determined according to the battery capacity and the average charging power, and the household charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the household charging threshold and the unloading time. Therefore, the above-mentioned technical means can solve the problem in the prior art that the traditional electric vehicle charging method requires manual operation by the user, thereby realizing intelligent charging, improving charging efficiency and enhancing user experience.
[0023] Furthermore, charging the target vehicle based on the home charging threshold and the gun removal time includes: determining the insertion time of the charging gun into the charging port, and calculating a first duration from the insertion of the charging gun into the charging port to the removal of the charging gun from the charging port based on the gun insertion time and the gun removal time; obtaining the remaining power of the target vehicle and the economic time period of electricity consumption in the area where the charging pile is located; calculating a second duration required to charge the target vehicle to the home charging threshold based on the remaining power, the home charging threshold and the average charging power; and charging the target vehicle based on the first duration, the economic time period and the second duration.
[0024] The difference between the time of pulling out the gun and the time of inserting the gun is taken as the first duration. The remaining power is the remaining power of the target vehicle at the current moment. The economic time period is determined according to the valley period of electricity prices in the area where the charging pile is located. That is to say, the economic time period is the time period when the electricity price in the area where the charging pile is located is relatively cheap, such as 10 pm to 8 pm. The home charging threshold is the ideal power for the home charging pile to charge the target vehicle. The second duration is obtained by dividing the difference between the home charging threshold and the battery capacity by the average charging power.
[0025] Furthermore, charging the target vehicle based on the first duration, the economic time period and the second duration includes: when the second duration is greater than or equal to the first duration, controlling the charging pile to start charging the target vehicle at the plug-in time and to end charging the target vehicle at the first target time, wherein the first target time is obtained by adding the second duration to the plug-in time; when the first duration is greater than the second duration, and the second duration is greater than the third duration corresponding to the economic time period, and the plug-in time belongs to the economic time period, controlling the charging pile to start charging the target vehicle at the plug-in time and to end charging the target vehicle at the first target time; when the first duration is greater than the second duration, and the second duration is greater than the third duration, and the plug-in time does not belong to the economic time period, controlling the charging pile to start charging the target vehicle at the second target time and to end charging the target vehicle at the unplugging time, wherein the second target time is obtained by subtracting the second duration from the unplugging time; when the third duration is greater than the second duration, controlling the charging pile to start charging the target vehicle at the plug-in time and to end charging the target vehicle at the first target time.
[0026] The time obtained by adding the plug-in time to the second time duration is used as the first target time, and the time obtained by subtracting the second time duration from the unplugging time is used as the second target time. If the first time duration is greater than the second time duration, and the second time duration is greater than the third time duration, and the plug-in time does not belong to the economic time period, charging of the target vehicle starts from the second target time and ends at the unplugging time. In other cases, charging of the target vehicle can be started at the plug-in time and ended at the first target time.
[0027] Furthermore, before using the first charging threshold prediction model to determine the common charging threshold based on the battery capacity and the charging power level, the method also includes: taking the battery capacity and the charging power level as independent variables and the common charging threshold as the dependent variable, and constructing the first charging threshold prediction model by a linear regression method; obtaining a first training data set, wherein the first training data set includes multiple data, each data including the battery capacity of a vehicle, the charging power level of the public charging pile for charging the vehicle, and the historical charging threshold for ending charging for the vehicle; inputting the battery capacity and the charging power level in each data into the first charging threshold prediction model, and outputting the common charging threshold corresponding to each data; using the mean square error loss function to calculate the loss value between the common charging threshold and the historical charging threshold corresponding to each data, and according to the loss value, adjusting the parameters in the first charging threshold prediction model to complete the training of the first charging threshold prediction model.
[0028] The first charging threshold prediction model includes:
[0029] ideal_charge_percentage_non_home=β0_non_home+β1_non_home*battery_capacity+β2_non_home*is_home_charger+β3_non_home*charger_power_level+ε_non_home;
[0030] ideal_charge_percentage_non_home is the output of the first charging threshold prediction model, that is, the dependent variable common charging threshold. battery_capacity is the battery capacity. is_home_charger is a dummy variable, which takes the value of 0 here. charger_power_level is the charging power level. β0_non_home, β1_non_home, β2_non_home, β3_non_home are all coefficients; ε_non_home is the error term.
[0031] For each piece of data: the public charging threshold is predicted by the first charging threshold prediction model based on the battery capacity and charging power level, and the historical charging threshold is equivalent to the label of the public charging threshold. The loss value between the public charging threshold and the historical charging threshold is calculated using the mean square error loss function, and the parameters in the first charging threshold prediction model are calculated based on the loss value, including β0_non_home, β1_non_home, β2_non_home, β3_non_home and ε_non_home.
[0032] In addition, the coefficient of determination (R 2The performance of the first charging threshold prediction model is evaluated by using a score, and whether to terminate the training is determined based on the score.
[0033] The battery capacity of the vehicle, the charging power level of the public charging pile for charging the vehicle, and the historical charging threshold for ending charging for the vehicle are collected, and the collected data are cleaned: the data integrity is checked, and duplicate, erroneous or abnormal data records are deleted; the cleaned data are randomly divided into the first training data set and the first test data set. The first test data set is used to test the performance of the model and determine whether to end the training. The actual processing process is similar to the first training data set.
[0034] Furthermore, the time prediction model is used to determine the unplugging time before removing the charging gun from the charging port based on the battery capacity and the average charging power. The method also includes: taking the battery capacity and the average charging power as independent variables, and taking the unplugging time as the dependent variable, and constructing the time prediction model through a linear regression method; obtaining a second training data set, wherein the second training data set includes multiple data, each of which includes a battery capacity of a vehicle, an average charging power of a home charging pile for charging the vehicle, and a historical time when the charging gun of the home charging pile is removed from the charging port of the vehicle; inputting the battery capacity and the average charging power in each piece of data into the time prediction model, and outputting the unplugging time corresponding to each piece of data; using the mean square error loss function to calculate the loss value between the unplugging time corresponding to each piece of data and the historical time, and completing the training of the time prediction model based on the parameters in the loss value time prediction model.
[0035] The time prediction models include:
[0036] home_plug_out_time=β0+β1*battery_capacity+β2*charging_average_rate+ε;
[0037] Among them, home_plug_out_time is the output of the time prediction model, that is, the time to draw the gun. β0 is the intercept term, which represents the predicted value when there is no characteristic variable; β1 is the coefficient of battery capacity; battery_capacity is the battery capacity; charging_average_rate is the average charging rate; β2 is the coefficient of the average charging rate, which indicates the degree of influence of this feature on the time to draw the gun; ε is the error term, which represents the random disturbance that cannot be explained by the model.
[0038] For each piece of data: the time to draw the gun is predicted by the time prediction model based on the battery capacity and the average charging power, and the historical time is equivalent to the label of the time to draw the gun. The mean square error loss function is used to calculate the loss value between the historical time and the time to draw the gun, based on the parameters in the loss value time prediction model, including β0, β1, β2 and ε.
[0039] Furthermore, before using the second charging threshold prediction model to determine the home charging threshold based on the battery capacity and the charging power level, the method also includes: taking the battery capacity and the charging power level as independent variables and the home charging threshold as the dependent variable, and constructing the second charging threshold prediction model by a linear regression method; obtaining a third training data set, wherein the third training data set includes multiple data, each data including the battery capacity of a vehicle, the charging power level of the home charging pile for charging the vehicle, and the historical charging threshold for ending charging for the vehicle; inputting the battery capacity and charging power level in each piece of data into the second charging threshold prediction model, and outputting the home charging threshold corresponding to each piece of data; using the mean square error loss function to calculate the loss value between the home charging threshold and the historical charging threshold corresponding to each piece of data, and according to the loss value, adjusting the parameters in the second charging threshold prediction model to complete the training of the second charging threshold prediction model.
[0040] The second charging threshold prediction model includes:
[0041] ideal_charge_percentage_home=β0_home+β1_home*battery_capacity+β2_home*is_home_charger+β3_home*charger_power_level+ε_home;
[0042] ideal_charge_percentage_home is the output of the second charging threshold prediction model, that is, the dependent variable home charging threshold. battery_capacity is the battery capacity. is_home_charger is a dummy variable, which takes the value of 1 here. charger_power_level is the charging power level. β0_home, β1_home, β2_home, β3_home are all coefficients; ε_home is the error term.
[0043] For each piece of data: the home charging threshold is predicted by the second charging threshold prediction model based on the battery capacity and charging power level, and the historical charging threshold is equivalent to the label of the home charging threshold. The loss value between the home charging threshold and the historical charging threshold is calculated using the mean square error loss function, and the parameters in the second charging threshold prediction model are based on the loss value, including β0_home, β1_home, β2_home, β3_home and ε_home.
[0044] In addition, the coefficient of determination (R 2The performance of the first charging threshold prediction model is evaluated by using a score, and whether to terminate the training is determined based on the score. The process of obtaining the second training data set is similar to the process of obtaining the first training data set.
[0045] When it is detected that the target vehicle is parked, and any door of the target vehicle is open, and a charging pile is identified within a preset range of the target vehicle, the cover of the charging port is controlled to open; after the cover of the charging port is opened for a preset period of time or when the target vehicle is locked, if the charging gun is not identified to be inserted into the charging port, the cover of the charging port is controlled to close, otherwise, the type of the charging pile is determined according to the identification number of the charging gun inserted into the charging port, and the target vehicle is charged based on the type of the charging pile.
[0046] Figure 2 is a flow chart of another vehicle intelligent charging method provided by an embodiment of the present application, such as Figure 2 As shown, including:
[0047] S201, whether the following three preset conditions are met simultaneously: the target vehicle is detected to be parked, any door of the target vehicle is opened, and a charging pile is identified within a preset range of the target vehicle;
[0048] S202, if the conditions are not met at the same time, the operation of opening the cover of the charging port is not performed;
[0049] S203, if both conditions are met, then control the cover of the charging port to be opened;
[0050] S204, after the cover of the charging port is opened for a preset time or when the target vehicle is locked, whether a charging gun is recognized to be inserted into the charging port;
[0051] S205, if no recognition is found, controlling the cover of the charging port to close;
[0052] S206: If identified, the type of the charging pile is determined according to the identification number of the charging gun inserted into the charging port, and the target vehicle is charged based on the type of the charging pile.
[0053] Charging the target vehicle based on the type of charging pile: When the charging pile is a public charging pile, the charging pile is controlled to start charging the target vehicle at the plug-in time, and the charging of the target vehicle ends when the battery power of the target vehicle reaches the public charging threshold. When the charging pile is a home charging pile, the target vehicle is charged based on the home charging threshold and the unplugging time. The unplugging time is predicted by the time prediction model, and the home charging threshold is predicted by the second charging threshold prediction model. Because the training data of the time prediction model and the second charging threshold prediction model are collected from the user's historical charging activities, the time prediction model and the second charging threshold prediction model are related to the user's habits, so the method of controlling the home charging pile to charge the target vehicle is based on the user's habits.
[0054] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0055] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0056] Figure 3 Schematic diagram of a vehicle intelligent charging device provided in an embodiment of the present application. Figure 3 As shown, the vehicle intelligent charging device includes:
[0057] The acquisition module 301 is configured to acquire the battery capacity of the target vehicle and the charging power level and the average charging power of the charging pile, wherein the charging power level and the average charging power are related;
[0058] The judgment module 302 is configured to judge the type of the charging pile according to the identification number of the charging gun inserted into the charging port of the target vehicle, wherein the charging gun is arranged on the charging pile;
[0059] The public charging pile intelligent charging module 303 is configured to, when the charging pile is a public charging pile, determine a public charging threshold according to the battery capacity and the charging power level using a first charging threshold prediction model, and charge the target vehicle based on the public charging threshold;
[0060] The home charging pile intelligent charging module 304 is configured to use a time prediction model to determine the time to remove the charging gun from the charging port based on the battery capacity and the average charging power when the charging pile is a home charging pile, and use a second charging threshold prediction model to determine the home charging threshold based on the battery capacity and the charging power level, and charge the target vehicle based on the home charging threshold and the gun removal time.
[0061] According to the technical solution provided in the embodiment of the present application, when the charging pile is a public charging pile, the public charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the public charging threshold; when the charging pile is a household charging pile, the unloading time is determined according to the battery capacity and the average charging power, and the household charging threshold is determined according to the battery capacity and the charging power level, and the target vehicle is charged based on the household charging threshold and the unloading time. Therefore, the above-mentioned technical means can solve the problem in the prior art that the traditional electric vehicle charging method requires manual operation by the user, thereby realizing intelligent charging, improving charging efficiency and enhancing user experience.
[0062] In some embodiments, the home charging pile intelligent charging module 304 is also configured to determine the insertion time of the charging gun into the charging port, calculate the first time duration from the insertion of the charging gun into the charging port to the removal of the charging gun from the charging port based on the insertion time and the removal time; obtain the remaining power of the target vehicle and the economic time period of electricity consumption in the area where the charging pile is located; calculate the second time duration required to charge the target vehicle to the home charging threshold based on the remaining power, the home charging threshold and the average charging power; and charge the target vehicle based on the first time duration, the economic time period and the second time duration.
[0063] In some embodiments, the household charging pile intelligent charging module 304 is also configured to, when the second time duration is greater than or equal to the first time duration, control the charging pile to start charging the target vehicle at the plug-in time, and end charging the target vehicle at the first target time, wherein the first target time is obtained by adding the second time duration to the plug-in time; when the first time duration is greater than the second time duration, and the second time duration is greater than the third time duration corresponding to the economic time period, and the plug-in time belongs to the economic time period, control the charging pile to start charging the target vehicle at the plug-in time, and end charging the target vehicle at the first target time; when the first time duration is greater than the second time duration, and the second time duration is greater than the third time duration, and the plug-in time does not belong to the economic time period, control the charging pile to start charging the target vehicle at the second target time, and end charging the target vehicle at the unplugging time, wherein the second target time is obtained by subtracting the second time duration from the unplugging time; when the third time duration is greater than the second time duration, control the charging pile to start charging the target vehicle at the plug-in time, and end charging the target vehicle at the first target time.
[0064] In some embodiments, the public charging pile intelligent charging module 303 is also configured to use the battery capacity and charging power level as independent variables, the public charging threshold as the dependent variable, and construct a first charging threshold prediction model through a linear regression method; obtain a first training data set, wherein the first training data set includes multiple data, each data includes a battery capacity of a vehicle, a charging power level of a public charging pile charging the vehicle, and a historical charging threshold for ending charging for the vehicle; input the battery capacity and charging power level in each piece of data into the first charging threshold prediction model, and output the public charging threshold corresponding to each piece of data; use the mean square error loss function to calculate the loss value between the public charging threshold and the historical charging threshold corresponding to each piece of data, and use the loss value as the parameter in the first charging threshold prediction model to complete the training of the first charging threshold prediction model.
[0065] In some embodiments, the home charging pile intelligent charging module 304 is also configured to use the battery capacity and the average charging power as independent variables, the gun-pulling time as the dependent variable, and construct a time prediction model through a linear regression method; obtain a second training data set, wherein the second training data set includes multiple data, each data includes a battery capacity of a vehicle, the average charging power of the home charging pile for charging the vehicle, and the historical time when the charging gun of the home charging pile is removed from the charging port of the vehicle; input the battery capacity and the average charging power in each data into the time prediction model, and output the gun-pulling time corresponding to each data; use the mean square error loss function to calculate the loss value between the gun-pulling time corresponding to each data and the historical time, and complete the training of the time prediction model based on the parameters in the loss value time prediction model.
[0066] In some embodiments, the home charging pile intelligent charging module 304 is also configured to use the battery capacity and charging power level as independent variables, the home charging threshold as the dependent variable, and construct a second charging threshold prediction model through a linear regression method; obtain a third training data set, wherein the third training data set includes multiple data, each data includes a battery capacity of a vehicle, a charging power level of a home charging pile charging the vehicle, and a historical charging threshold for ending charging for the vehicle; input the battery capacity and charging power level in each piece of data into the second charging threshold prediction model, and output the home charging threshold corresponding to each piece of data; use the mean square error loss function to calculate the loss value between the home charging threshold and the historical charging threshold corresponding to each piece of data, and use the loss value as the parameter in the second charging threshold prediction model to complete the training of the second charging threshold prediction model.
[0067] In some embodiments, the judgment module 302 is also configured to control the opening of the charging port cover when it is detected that the target vehicle is parked, any door of the target vehicle is open, and a charging pile is identified within a preset range of the target vehicle; after the charging port cover is opened for a preset period of time or when the target vehicle is locked, if the charging gun is not identified as being inserted into the charging port, the charging port cover is controlled to be closed; otherwise, the type of the charging pile is determined according to the identification number of the charging gun inserted into the charging port, and the target vehicle is charged based on the type of the charging pile.
[0068] In some embodiments, the judgment module 302 is also configured to determine whether the following three prediction conditions are met at the same time: detecting that the target vehicle is parked, any door of the target vehicle is opened, and a charging pile is identified within a preset range of the target vehicle; if all of the conditions are met at the same time, the lid of the charging port is controlled to be opened; if all of the conditions are not met at the same time, the operation of opening the lid of the charging port is not performed; after the lid of the charging port has been opened for a preset period of time or when the target vehicle is locked, whether a charging gun is recognized to be inserted into the charging port; if not, the lid of the charging port is controlled to be closed; if recognized, the type of the charging pile is determined according to the identification number of the charging gun inserted into the charging port, and the target vehicle is charged based on the type of the charging pile.
[0069] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0070] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present disclosure. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0071] The electronic device 4 may include but is not limited to a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.
[0072] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0073] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.
[0074] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0075] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0076] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle intelligent charging method, It is characterized in that include: Obtaining the battery capacity of the target vehicle and the charging power level and the average charging power of the charging pile, wherein the charging power level and the average charging power are related; Determining the type of the charging pile according to an identification number of a charging gun inserted into a charging port of the target vehicle, wherein the charging gun is arranged on the charging pile; When the charging pile is a public charging pile, a public charging threshold is determined according to the battery capacity and the charging power level using a first charging threshold prediction model, and the target vehicle is charged based on the public charging threshold; When the charging pile is a household charging pile, a time prediction model is used to determine the time for removing the charging gun from the charging port based on the battery capacity and the average charging power, and a second charging threshold prediction model is used to determine the household charging threshold based on the battery capacity and the charging power level, and the target vehicle is charged based on the household charging threshold and the time for removing the charging gun from the charging port.
2. The method according to claim 1, It is characterized in that Charging the target vehicle based on the home charging threshold and the draw time includes: Determine an insertion time of the charging gun into the charging port, and calculate a first time duration from when the charging gun is inserted into the charging port to when the charging gun is removed from the charging port according to the insertion time and the removal time; Obtaining the remaining power of the target vehicle and the economic time period for electricity consumption in the area where the charging pile is located; Calculating a second time required to charge the target vehicle to the home charging threshold according to the remaining power, the home charging threshold and the average charging power; The target vehicle is charged based on the first duration, the economic time period, and the second duration.
3. The method according to claim 2, It is characterized in that Charging the target vehicle based on the first duration, the economic time period, and the second duration includes: When the second time period is greater than or equal to the first time period, the charging pile is controlled to start charging the target vehicle at the plug-in time and to end charging the target vehicle at a first target time, wherein the first target time is obtained by adding the second time period to the plug-in time; When the first duration is greater than the second duration, and the second duration is greater than the third duration corresponding to the economic time period, and the plugging time belongs to the economic time period, the charging pile is controlled to start charging the target vehicle at the plugging time, and to end charging the target vehicle at the first target time; When the first time duration is greater than the second time duration, and the second time duration is greater than the third time duration, and the plugging time does not belong to the economic time period, the charging pile is controlled to start charging the target vehicle at the second target time, and to charge the target vehicle at the unplugging time, wherein the second target time is obtained by subtracting the second time duration from the unplugging time; When the third time period is greater than the second time period, the charging pile is controlled to start charging the target vehicle at the plug-in time and to finish charging the target vehicle at the first target time.
4. The method according to claim 1, It is characterized in that Before determining the common charging threshold according to the battery capacity and the charging power level using the first charging threshold prediction model, the method further includes: Taking the battery capacity and the charging power level as independent variables and the common charging threshold as a dependent variable, constructing the first charging threshold prediction model by a linear regression method; Acquire a first training data set, wherein the first training data set includes a plurality of pieces of data, each piece of data includes a battery capacity of a vehicle, a charging power level of a public charging pile for charging the vehicle, and a historical charging threshold for ending charging of the vehicle; Inputting the battery capacity and charging power level in each piece of data into the first charging threshold prediction model, and outputting the common charging threshold corresponding to each piece of data; The mean square error loss function is used to calculate the loss value between the common charging threshold and the historical charging threshold corresponding to each piece of data, and the parameters in the first charging threshold prediction model are adjusted according to the loss value to complete the training of the first charging threshold prediction model.
5. The method according to claim 1, It is characterized in that Before determining the time for removing the charging gun from the charging port according to the battery capacity and the average charging power using a time prediction model, the method further includes: The battery capacity and the average charging power are used as independent variables, the gun drawing time is used as a dependent variable, and the time prediction model is constructed by a linear regression method; Acquire a second training data set, wherein the second training data set includes multiple pieces of data, each piece of data includes a battery capacity of a vehicle, an average charging power of a home charging pile for charging the vehicle, and a historical time when a charging gun of the home charging pile is removed from a charging port of the vehicle; Input the battery capacity and average charging power in each piece of data into the time prediction model, and output the gun drawing time corresponding to each piece of data; The mean square error loss function is used to calculate the loss value between the gun drawing time and the historical time corresponding to each data, and the parameters in the time prediction model are adjusted according to the loss value to complete the training of the time prediction model.
6. The method according to claim 1, It is characterized in that Before determining the home charging threshold according to the battery capacity and the charging power level using the second charging threshold prediction model, the method further includes: Taking the battery capacity and the charging power level as independent variables and the home charging threshold as a dependent variable, constructing the second charging threshold prediction model by a linear regression method; Acquire a third training data set, wherein the third training data set includes a plurality of pieces of data, each piece of data includes a battery capacity of a vehicle, a charging power level of a home charging pile for charging the vehicle, and a historical charging threshold for ending charging of the vehicle; Inputting the battery capacity and charging power level in each piece of data into the second charging threshold prediction model, and outputting the home charging threshold corresponding to each piece of data; The mean square error loss function is used to calculate the loss value between the home charging threshold and the historical charging threshold corresponding to each piece of data, and the parameters in the second charging threshold prediction model are adjusted according to the loss value to complete the training of the second charging threshold prediction model.
7. The method according to claim 1, It is characterized in that The method further comprises: When it is detected that the target vehicle is parked, any door of the target vehicle is opened, and the charging pile is identified within a preset range of the target vehicle, the cover of the charging port is controlled to be opened; After the lid of the charging port is opened for a preset period of time or when the target vehicle is locked, if the charging gun is not recognized as being inserted into the charging port, the lid of the charging port is controlled to close; otherwise, the type of the charging pile is determined according to the identification number of the charging gun inserted into the charging port, and the target vehicle is charged based on the type of the charging pile.
8. A vehicle intelligent charging device, It is characterized in that include: An acquisition module is configured to acquire a battery capacity of a target vehicle and a charging power level and an average charging power of a charging pile, wherein the charging power level is related to the average charging power; A judgment module, configured to judge the type of the charging pile according to an identification number of a charging gun inserted into the charging port of the target vehicle, wherein the charging gun is arranged on the charging pile; The public charging pile intelligent charging module is configured to, when the charging pile is a public charging pile, determine a public charging threshold according to the battery capacity and the charging power level using a first charging threshold prediction model, and charge the target vehicle based on the public charging threshold; The intelligent charging module for a home charging pile is configured to, when the charging pile is a home charging pile, determine the time for removing the charging gun from the charging port based on the battery capacity and the average charging power using a time prediction model, determine the home charging threshold based on the battery capacity and the charging power level using a second charging threshold prediction model, and charge the target vehicle based on the home charging threshold and the time for removing the charging gun.
9. An electronic device, It is characterized in that The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program. It is 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 7 are implemented.
Citation Information
Patent Citations
Safety monitoring method for high-voltage charging equipment
CN117040074A
Charging control method and device, charging pile and vehicle
CN117067976A
Intelligent energy-saving control system and method for charging pile
CN117485177A
Charging pile intelligent control platform
CN117575284A
Battery Charging Management Method and Terminal
US20190379234A1
