Vehicle charging method, charging pile and vehicle
Through the intelligent charging function, the charging strategy is determined based on the vehicle's predicted charging time and remaining charging time, which solves the problem that existing charging strategies cannot save charging costs and achieves efficient charging management.
Patent Information
- Application Number
- CN202311795637.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2025-06-27
AI Technical Summary
Existing electric vehicle charging strategies cannot effectively save charging costs.
Through the intelligent charging function, after the vehicle is connected to the charging gun, the predicted charging time and remaining charging time are obtained, and the charging strategy is determined based on the comparison between the two. When the remaining charging time is greater than or equal to the predicted charging time, charge immediately; when the remaining charging time is less than the predicted charging time, wait for the electricity price to drop before charging.
A flexible charging strategy is realized, which can not only meet the vehicle's power needs, but also stagger the power consumption, save charging costs and improve the stability of the charging environment.
Smart Images

Figure CN120207152A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and in particular, to a vehicle charging method, a charging pile, and a vehicle. Background Art
[0002] In recent years, electric vehicle technology has developed rapidly. In practical applications, it is necessary to charge electric vehicles. Currently, the charging strategies for electric vehicles mainly include two types. For example, the user can set fixed charging start and end times. When the vehicle is plugged into the charging gun, it does not start charging immediately, but charges and powers off the vehicle automatically according to the fixed charging start and end times. Another example is that the user can set the cut-off charge amount. After the vehicle is plugged into the charging gun, it starts charging immediately and stops charging when the cut-off charge amount is reached. However, the above two charging strategies cannot save the charging cost. Summary of the Invention
[0003] In order to solve the above technical problems, the present application provides a vehicle charging method, a charging pile, and a vehicle, which can save the charging cost.
[0004] In order to achieve the above object, the technical solutions provided by the present application are as follows:
[0005] In a first aspect, the present application provides a vehicle charging method, and the method includes:
[0006] After the intelligent charging function is turned on, in response to detecting that the vehicle is plugged into the charging gun, obtain the predicted charging duration and the remaining charging duration of the vehicle for this time; the predicted charging duration for this time is determined according to the user's charging habit of the vehicle; the remaining charging duration for this time is collected by the vehicle;
[0007] When the remaining charging duration for this time is greater than or equal to the predicted charging duration for this time, control the charging gun to charge the vehicle;
[0008] When the remaining charging duration for this time is less than the predicted charging duration for this time, wait until the target time and then control the charging gun to charge the vehicle; the target time is the time when the electricity price drops.
[0009] In a second aspect, the present application provides a vehicle charging device, and the device includes:
[0010] A first acquisition unit, configured to, after the intelligent charging function is turned on, in response to detecting that the vehicle is plugged into the charging gun, obtain the predicted charging duration and the remaining charging duration of the vehicle for this time; the predicted charging duration for this time is determined according to the user's charging habit of the vehicle; the remaining charging duration for this time is collected by the vehicle;
[0011] The first control unit is configured to control the charging gun to charge the vehicle when the remaining charging duration of this time is greater than or equal to the predicted charging duration of this time;
[0012] The second control unit is configured to wait until a target time and then control the charging gun to charge the vehicle when the remaining charging duration of this time is less than the predicted charging duration of this time; the target time is the time when the electricity price drops.
[0013] In a third aspect, the present application provides a charging pile, including: a charging gun and a control system, and the control system is configured to execute the method described in the first aspect.
[0014] In a fourth aspect, the present application provides a vehicle, including: a control system, and the control system is configured to execute the method described in the first aspect.
[0015] It can be seen from the above technical solutions that the present application has the following beneficial effects:
[0016] The present application provides a vehicle charging method, a charging pile and a vehicle. After the intelligent charging function is turned on, if it is detected that the vehicle is connected to the charging gun, in response thereto, the predicted charging duration of this time and the remaining charging duration of this time of the vehicle are obtained. Among them, the predicted charging duration of this time is determined according to the user's charging habit of the vehicle, and the remaining charging duration of this time is obtained by the vehicle. Furthermore, based on the magnitude relationship between the predicted charging duration of this time and the remaining charging duration of this time, a charging strategy is determined. Specifically, when the remaining charging duration of this time is greater than or equal to the predicted charging duration of this time, it means that the charging time this time is not abundant, and at this time, the charging gun is immediately controlled to charge the vehicle to meet the power demand of the vehicle as much as possible. When the remaining charging duration of this time is less than the predicted charging duration of this time, it means that the charging time this time is relatively abundant, and the vehicle does not need to be charged immediately. Instead, it waits until the target time when the electricity price drops and then controls the charging gun to charge the vehicle. In this way, based on the comparison of the predicted charging duration of this time and the remaining charging duration of this time, the charging strategy can be flexibly determined, which can not only meet the vehicle charging demand, but also realize off-peak power consumption, save the charging cost, and improve the stability of the charging environment. Description of the Drawings
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 It is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
[0019] Figure 2 The flowchart of a vehicle charging method provided by an embodiment of the present application;
[0020] Figure 3 The schematic diagram of a user's charging habit provided by an embodiment of the present application;
[0021] Figure 4 The schematic diagram of a model prediction result provided by an embodiment of the present application;
[0022] Figure 5 The flowchart of another vehicle charging method provided by an embodiment of the present application;
[0023] Figure 6 The structural schematic diagram of a vehicle charging device provided by an embodiment of the present application. Detailed implementation manners
[0024] To make the above objects, features, and advantages of the present application more obvious and understandable, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings and specific implementation manners.
[0025] To facilitate the understanding and explanation of the technical solution provided by the embodiment of the present application, the background technology involved in the embodiment of the present application will be introduced first.
[0026] In recent years, electric vehicle technology has developed rapidly. In practical applications, it is necessary to charge electric vehicles. Currently, the charging strategies (ordinary charging habits) of electric vehicles mainly include two types. For example, the user can set fixed charging start and end times. When the vehicle inserts the charging gun, it does not immediately charge the vehicle, but automatically charges and cuts off the power of the vehicle according to the fixed charging start and end times. Another example is that the user can set the cut-off power for charging. After the vehicle inserts the charging gun, it immediately charges the vehicle and stops charging when it reaches the cut-off power. Most other chargings except the above two charging strategies are also simply arranged and combined by the above two strategies. However, the current charging strategies cannot save the charging cost.
[0027] Based on this, embodiments of the present application provide a vehicle charging method, a charging pile, and a vehicle. After the intelligent charging function is enabled, if it is detected that the vehicle is connected to the charging gun, in response thereto, the predicted charging duration and the remaining charging duration of the vehicle for this time are obtained. Among them, the predicted charging duration for this time is determined according to the user's charging habit of the vehicle, and the remaining charging duration for this time is obtained by the vehicle. Furthermore, based on the magnitude relationship between the predicted charging duration and the remaining charging duration for this time, a charging strategy is determined. Specifically, when the remaining charging duration for this time is greater than or equal to the predicted charging duration for this time, it indicates that the charging time for this time is not rich. At this time, the charging gun is immediately controlled to charge the vehicle to meet the power demand of the vehicle as much as possible. When the remaining charging duration for this time is less than the predicted charging duration for this time, it indicates that the charging time for this time is relatively rich. It is not necessary to charge the vehicle immediately, but wait until the target time when the electricity price drops, and then control the charging gun to charge the vehicle. In this way, based on the comparison of the predicted charging duration and the remaining charging duration for this time, a flexible charging strategy can be determined, which can not only meet the vehicle charging demand, but also achieve off-peak power consumption, save charging costs, and improve the stability of the charging environment.
[0028] It can be understood that for the defects existing in the above solutions, they are all the results obtained by the applicant through practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the embodiments of the present application below for the above problems should be the contributions made by the applicant to the embodiments of the present application during the process of this application.
[0029] To facilitate the understanding of the vehicle charging method provided by the embodiments of the present application, the following is described in combination with Figure 1 the following scenario example. Refer to Figure 1 , which is a framework schematic diagram of an exemplary application scenario provided by the embodiments of the present application. This vehicle charging method can be implemented by the charging pile 101 or by the vehicle 102 (i.e., the vehicle end), which is not limited here.
[0030] If this vehicle charging method is implemented by the charging pile 101, the intelligent charging function can be set in the charging pile 101 and implemented by the charging pile 101. Specifically, when the charging pile 101 detects that the charging gun is connected to the vehicle 102, in response thereto, the predicted charging duration and the remaining charging duration for this time are obtained from the vehicle 102. Furthermore, the charging pile 101 determines whether the remaining charging duration for this time is less than the predicted charging duration for this time. If not, the charging gun can be controlled to directly charge the vehicle 102. If so, it can wait until the target time when the electricity price drops, and then control the charging gun to charge the vehicle 102.
[0031] In addition, if the vehicle charging method is implemented by vehicle 102, the intelligent charging function is set in vehicle 102 and realized by vehicle 102. Specifically, when vehicle 102 detects that the vehicle is connected to the charging gun, in response thereto, vehicle 102 determines the predicted charging duration for this time according to the user's charging habit for this vehicle, and collects the remaining charging duration for this time of the vehicle. Furthermore, vehicle 102 determines whether the remaining charging duration for this time is less than the predicted charging duration for this time. If not, it can directly send a charging instruction to charging pile 101 to control the charging gun to charge the vehicle. If so, it can wait until the target time when the electricity price drops, and then send a control instruction to charging pile 101 to charge the vehicle with the charging gun.
[0032] Those skilled in the art can understand that Figure 1 The frame schematic diagram shown is only an example in which the implementation manner of the present application can be realized. The applicable scope of the implementation manner of the present application is not limited by any aspect of this frame.
[0033] To facilitate the understanding of the present application, a vehicle charging method provided by an embodiment of the present application will be described below with reference to the accompanying drawings.
[0034] See Figure 2 As shown, this figure is a flowchart of a vehicle charging method provided by an embodiment of the present application. As Figure 2 shown, the method may include S201 - S203:
[0035] S201: After the intelligent charging function is turned on, in response to detecting that the vehicle is connected to the charging gun, obtain the predicted charging duration for this time and the remaining charging duration for this time of the vehicle; the predicted charging duration for this time is determined according to the user's charging habit for the vehicle; the remaining charging duration for this time is collected by the vehicle.
[0036] The vehicle charging method provided by the embodiment of the present application can be applied to the vehicle side or the charging pile side. If it is applied on the vehicle side, the intelligent charging function is provided by the vehicle side, and the user can turn on the intelligent charging function on the vehicle side; if it is applied on the charging pile side, the intelligent charging function is provided by the charging pile side, and the user can turn on the intelligent charging function on the charging pile side. The intelligent charging function is the vehicle charging strategy provided by the embodiment of the present application.
[0037] After the intelligent charging function is turned on, if the vehicle is connected to the charging gun, in response to detecting that the vehicle is connected to the charging gun, determine that the vehicle needs to be charged, and adopt the charging strategy under the intelligent charging function to charge the vehicle. Specifically, obtain the predicted charging duration for this time and the remaining charging duration for this time of the vehicle, and determine the specific charging strategy based on the magnitude relationship between the predicted charging duration for this time and the remaining charging duration for this time of the vehicle.
[0038] Among them, the predicted charging duration of the vehicle this time is the duration of the charging time for charging the vehicle this time predicted according to the user's charging habit of the vehicle. It can be seen that different users have different charging habits. In practical applications, the user's charging habit of the vehicle can be obtained in advance. The user's charging habit of the vehicle can be represented by the charging time and the vehicle usage time (non-charging time) of the vehicle every day. Both the charging time and the vehicle usage time are time periods. For example, the user's charging habit of the vehicle within a randomly selected week in history can be obtained in advance, that is, the charging time and the vehicle usage time every day from Monday to Sunday. Based on this, in response to detecting that the vehicle is connected to the charging gun, obtain the time when the vehicle is connected to the charging gun, such as 23:00 on Monday. It can be seen that the user's charging habit of the vehicle on Monday is that the charging time is from 22:00 in the evening of Monday to 9:00 in the morning of the next day. Thus, it is determined that the predicted charging duration of the vehicle this time is from 23:00 to 9:00 in the morning of the next day. It should be noted that this is only an example here and does not constitute a limitation. The predicted charging duration of the vehicle this time can be determined according to the actual user's charging habit of the vehicle.
[0039] In addition, the remaining charging duration this time is the duration required to fully charge the vehicle based on the current vehicle battery level, which can be obtained by vehicle-side acquisition. By way of example, the vehicle-side acquires the vehicle battery information of the vehicle and calculates the remaining charging duration this time through the vehicle battery information. Among them, the vehicle battery information can be values such as the state of charge (SOC), the vehicle charging power, and the equalization time, that is, the remaining charging duration this time is calculated through the vehicle SOC, the vehicle charging power, and the equalization time.
[0040] It can be understood that when the intelligent charging function is applied to the charging pile side (that is, the vehicle charging method provided in the embodiments of the present application is applied to the charging pile side), the vehicle-side can send the predicted charging duration of the vehicle this time and the remaining charging duration this time obtained to the charging pile side, and then the charging pile side performs subsequent processing. In practical applications, the vehicle-side and the charging pile side can rely on the Bluetooth protocol and communicate through Bluetooth. This is only an example here and is not limited.
[0041] In a possible implementation manner, the charging time prediction model can be trained first, and then the predicted charging duration of the vehicle this time can be obtained based on the trained charging time prediction model.
[0042] Based on this, the embodiments of the present application provide the training process of the charging time prediction model, including the following steps:
[0043] A1: Obtain historical charging data; the historical charging data includes the charging time and the vehicle usage time within at least one historical time period.
[0044] The historical charging data of the user's vehicle mainly includes the charging time and the vehicle usage time within at least one historical time period of the user's vehicle in history. Among them, the historical time period can be one day, one week or one month in history, which is not limited here. When the historical time period is one week or one month, it is also composed of several days.
[0045] For example, the charging time and the vehicle usage time within at least one historical time period of the user's vehicle are specifically the charging time and the vehicle usage time of the vehicle every day within the past six months. There are 183 days within six months, so the number of historical time periods is approximately 183. Another example, the charging time and the vehicle usage time within at least one historical time period of the user's vehicle are specifically the charging time and the vehicle usage time of the vehicle every week within the past six months. There are 24 weeks within six months, so the number of historical time periods is approximately 24.
[0046] The charging time and the vehicle usage time are time periods. The charging time can be the vehicle charging time period within the historical time period, and the vehicle usage time, that is, the non - charging time, is the vehicle usage time period within the historical time period.
[0047] In practical applications, the average battery power of an electric vehicle is 50 - 100 kWh, and it can be considered that the vehicle will not be charged when the vehicle battery power is 0. When the historical time period is one week, after obtaining the historical charging data of each day in history, data statistics can be carried out on a weekly basis. Refer to Figure 3 , Figure 3 which is a schematic diagram of a user's charging habit provided by an embodiment of this application. Figure 3 In it, the abscissa is time, the ordinate is the vehicle's SOC, and the SOC accuracy is 1%. As Figure 3 shown, the decrease in the vehicle's SOC indicates that the vehicle is using electricity and there is driving discharge data, and the increase in the vehicle's SOC indicates that the vehicle is charging and there is charging data. After actual statistics, it can be known that the charging time for the user to charge the vehicle from Monday to Friday is 22:30 - 4:30, the charging probability on Tuesday, Thursday, and Saturday nights is higher than that on Monday, Wednesday, and Friday, and generally no charging is done on Sunday; it can also be known that the user generally starts using the vehicle at 9:00 in the morning and ends using the vehicle at about 22:00 at night.
[0048] A2: Divide at least one historical time period according to the sharding duration to obtain multiple historical time shards.
[0049] After obtaining at least one historical time period and the charging time and the vehicle usage time within each time period, at least one historical time period can be divided according to the sharding duration to obtain multiple historical time shards. Among them, the sharding duration can be half an hour or one hour, which is not limited here and can be set according to the actual situation.
[0050] For example, if the shard duration is half an hour and a historical time period for statistics is one week in history, where the charging time on Monday is from 22:30 to 4:30 and the vehicle usage time is from 9:00 to 22:00. Then, the time period from 22:30 to 23:00 on Monday is a historical time shard, which is a charging time period. The time period from 9:00 to 9:30 on Monday is another historical time shard, which is a vehicle usage time period (non - charging time period). The rest is similar and will not be elaborated here.
[0051] Exemplarily, if half or more of the time within a historical time shard is charging time, then this historical time shard is considered a charging time period. For example, within the time period from 22:30 to 22:50 on Monday, the vehicle is charging, and within the time period from 23:50 to 23:00, the vehicle is not charging. Then, it can be considered that the historical time shard from 22:30 to 23:00 is a charging time period.
[0052] A3: Input multiple historical time shards into the charging time prediction model to obtain the prediction results corresponding to each of the multiple historical time shards output by the charging time prediction model.
[0053] Taking multiple historical time shards as input, input the multiple historical time shards into the charging time prediction model to obtain the output of the charging time prediction model. The output result is the prediction results corresponding to each of the multiple historical time shards. The prediction results can be the predicted charging time or the predicted vehicle usage time.
[0054] As an optional example, the charging time prediction model can be a Support Vector Machine (SVM) model. Here, it is not limited and can also be other binary classification models. When the charging time prediction model is an SVM model, use the SVM algorithm model for training, set the kernel function to the Radial Basis Function (RBF) kernel. Since the charging time is much less than the vehicle usage time in terms of time, the charging time can be set as the positive sample and the vehicle usage time can be set as the negative sample for the SVM model to learn. After the charging time prediction model is trained, cross - validation can be performed to ensure the prediction accuracy of the charging time prediction model.
[0055] A4: Based on the prediction results corresponding to each of the multiple historical time shards and the label values corresponding to each of the multiple historical time shards, train the charging time prediction model.
[0056] The label value is the actual charging time or vehicle usage time, which is the true value and is obtained in A1. Specifically, a loss function can be constructed, and the label values corresponding to each of the multiple historical time shards of the prediction results corresponding to each of the multiple historical time shards are substituted into the loss function to calculate the loss function value. The model parameters of the charging time prediction model are adjusted through the loss function value to achieve the purpose of training the charging time prediction model.
[0057] In practical applications, if the historical time period is one week, then taking one week (7 historical time periods) as a unit, based on multiple historical time slices obtained by dividing each week and the label values corresponding to each historical time slice respectively, a charging time prediction model can be trained. Thus, using the trained charging time prediction model, the charging time and vehicle usage time of the user in the next week can be predicted.
[0058] It can be known that the trained charging time prediction model is obtained based on the user's historical charging data. The user and the charging time prediction model are matched, and each user can correspond to a charging time prediction model.
[0059] Based on the relevant content of A1 - A4 above, the embodiments of the present application provide a training method for a charging time prediction model, so as to subsequently predict the charging time of the user's vehicle based on the trained charging time prediction model.
[0060] After obtaining the trained charging time prediction model, the predicted charging duration of the vehicle for this time can be obtained based on the trained charging time prediction model.
[0061] Specifically, in a possible implementation manner, the embodiments of the present application provide a specific implementation manner for obtaining the predicted charging duration of the vehicle for this time, including:
[0062] Collect the time when the vehicle is connected to the charging gun, and obtain the next start time of using the vehicle.
[0063] Determine the duration between the time when the vehicle is connected to the charging gun and the next start time of using the vehicle as the predicted charging duration of the vehicle for this time.
[0064] That is, when the vehicle is connected to the charging gun, collect the time when the vehicle is connected to the charging gun. In addition, the next start time of using the vehicle also needs to be obtained. Exemplarily, the next start time of using the vehicle can be obtained from the trained charging time prediction model. For details, please refer to B1 - B4 below.
[0065] Furthermore, taking the time when the vehicle is connected to the charging gun as the start time and the next start time of using the vehicle as the end time, the duration between the start time and the end time is the predicted charging duration for this time.
[0066] Exemplarily, the specific implementation manner for obtaining the next start time of using the vehicle includes:
[0067] B1: Determine the target time period in which the time when the vehicle is connected to the charging gun is located.
[0068] The duration of the target time period is less than or equal to the duration of the historical time period. For example, when the historical time period is one week, the target time period can be one week or one day.
[0069] For example, if the vehicle connects to the charging gun at 22:00 on Monday, July 1st, then the target time period in which the vehicle connects to the charging gun is determined to be Monday or the week from July 1st to July 7th.
[0070] B2: Divide the target time period according to the shard duration to obtain multiple time shards under the target time period.
[0071] The shard duration in this step is the same as that in A2. For example, the shard duration is half an hour or one hour.
[0072] B3: Input the multiple time shards into the trained charging time prediction model to obtain the prediction results corresponding to the multiple time shards output by the charging time prediction model; the prediction result is the charging time or the vehicle usage time.
[0073] Among them, the prediction result is a predicted value.
[0074] B4: Determine the next start vehicle usage time of the vehicle according to the prediction results corresponding to the multiple time shards and the time when the vehicle connects to the charging gun.
[0075] Exemplarily, after determining the time when the vehicle connects to the charging gun, the time shard in which this time is located can be determined based on the time when the vehicle connects to the charging gun. If the prediction result corresponding to the time shard is the charging time, then the next start vehicle usage time of the vehicle is the start time of the next time shard whose prediction result is the vehicle usage time.
[0076] Exemplarily, when the target time period is one week, after obtaining the prediction results corresponding to the multiple time shards, the charging time or vehicle usage time of each day within one week can be determined from the prediction results corresponding to the multiple time shards. For example, if it is predicted that each time shard within the period from 9:00 am to 22:00 pm on Monday is a vehicle usage time period, then the predicted vehicle usage time on Monday is from 9:00 am to 22:00 pm. If it is predicted that each time shard within the period from 23:00 on Monday to 5:00 am the next day is a charging time period, then the predicted charging time on Monday includes from 23:00 to 0:00, and the charging time on Tuesday includes from 0:00 to 5:00 am.
[0077] See Figure 4 , Figure 4 is a schematic diagram of a model prediction result provided by an embodiment of the present application. As Figure 4 shown, based on the charging time prediction model, the charging time and vehicle usage time of the vehicle predicted within one week are obtained. As Figure 4 shown, the peaks are the charging times when users may charge the vehicle within a unit week, and the valleys are the vehicle usage times when users may use the vehicle within a unit week.
[0078] Based on this, after determining the time when the vehicle is connected to the charging gun, the next start time of using the vehicle can be determined based on the charging time or vehicle usage time of each day within a week. For example, if the time when the vehicle is connected to the charging gun is 23:00 on Monday night, and the most recent charging time is from 22:00 to 9:00 the next morning. That is, the user uses the vehicle at 9:00 in the morning, then the next start time of using the vehicle is 9:00 in the morning the next day. Based on this, it can be known that the predicted charging duration this time is 23:00 - 9:00, a total of 10 hours.
[0079] Based on the above, it can be known that the embodiment of the present application can train a charging time prediction model according to the user's historical charging data, and obtain the predicted charging duration of the user this time based on the trained charging time prediction model. It can be seen that since the charging time prediction model is trained based on a large amount of historical charging data, the prediction effect of the charging time prediction model is better, and thus the predicted charging duration of the vehicle obtained based on the trained charging time prediction model is relatively accurate.
[0080] In addition, the next start time of using the vehicle can also be directly determined according to the user's charging habits. For example, if the user starts using the vehicle at 9:00 in the morning last Tuesday, then when the vehicle is charged on Monday, the next start time of using the vehicle can be determined as 9:00 in the morning on Tuesday.
[0081] S202: When the remaining charging duration this time is less than the predicted charging duration this time, wait until the target time and then control the charging gun to charge the vehicle; the target time is the time when the electricity price drops.
[0082] The predicted charging duration this time is obtained according to the user's charging habits for the vehicle, and represents the possible charging time and possible vehicle usage time of the user for each day within a week. The remaining charging duration this time is the remaining charging duration actually obtained according to the battery condition of the vehicle this time to fully charge the vehicle. Based on this, the charging strategy can be determined based on the remaining charging duration this time and the predicted charging duration this time.
[0083] When the remaining charging duration this time is less than the predicted charging duration this time, it means that the charging time this time is relatively abundant. After fully charging the vehicle, it may still not be the time for the user to use the vehicle. Therefore, the vehicle can be not charged immediately, but wait until the target time when the electricity price drops and then control the charging gun to charge the vehicle. In this way, not only can the vehicle charging demand be met, but also peak-shaving power consumption can be realized, the charging cost can be saved, and the stability of the charging environment can be improved.
[0084] S203: When the remaining charging duration this time is greater than or equal to the predicted charging duration this time, control the charging gun to charge the vehicle.
[0085] When the remaining charging time is greater than or equal to the predicted charging time, according to the user's charging habits, the charging time is not sufficient and the user may need to use the vehicle before the vehicle is fully charged. Therefore, the charging gun is immediately controlled to charge the vehicle to meet the vehicle's power demand as much as possible.
[0086] It can be seen that if the vehicle charging method provided in the embodiment of the present application is applied to a charging pile, the charging pile can directly control the charging gun to charge the vehicle. If the vehicle charging method provided in the embodiment of the present application is applied to a vehicle, the vehicle can send a charging instruction to the charging pile, and after the charging pile receives the charging instruction, it immediately controls the charging gun to charge the vehicle.
[0087] Based on the relevant contents of S201-S203 above, it can be known that the present application provides a vehicle charging method. After the intelligent charging function is turned on, if it is detected that the vehicle is connected to the charging gun, in response to this, the predicted charging time of the vehicle and the remaining charging time of the vehicle are obtained. Among them, the predicted charging time of the vehicle is determined according to the charging habits of the user for the vehicle, and the remaining charging time of the vehicle is collected by the vehicle. Then, based on the relationship between the predicted charging time of the vehicle and the remaining charging time of the vehicle, the charging strategy is determined. Specifically, when the remaining charging time of the vehicle is greater than or equal to the predicted charging time of the vehicle, it means that the charging time of the vehicle is not sufficient. At this time, the charging gun is immediately controlled to charge the vehicle to meet the power demand of the vehicle as much as possible. When the remaining charging time of the vehicle is less than the predicted charging time of the vehicle, it means that the charging time of the vehicle is relatively sufficient, and the vehicle can be charged not immediately, but the charging gun can be controlled to charge the vehicle after waiting until the target time when the electricity price is reduced. In this way, based on the comparison of the predicted charging time of the vehicle and the remaining charging time of the vehicle, a flexible charging strategy can be determined, which can not only meet the charging needs of the vehicle, but also realize peak power consumption, save charging costs, and improve the stability of the charging environment.
[0088] In a possible implementation, the vehicle charging method provided in the embodiment of the present application further includes the following steps:
[0089] C1: After charging the vehicle, obtain the remaining power of the vehicle and the time difference between the current time and the next start time of the vehicle.
[0090] For example, the next start time of the vehicle can be directly determined according to the user's charging habits for the vehicle, or obtained according to steps B1-B4.
[0091] For example, if the current time is 6:00 a.m. and the next time the vehicle starts to be used is 9:00 a.m., the time difference between the current time and the next time the vehicle starts to be used is 3 hours. If the current time is 7:00 a.m. and the next time the vehicle starts to be used is 9:00 a.m., the time difference between the current time and the next time the vehicle starts to be used is 2 hours.
[0092] C2: If the remaining power of the vehicle reaches the preset power and the time difference is less than or equal to the target time, continue to control the charging gun to charge the vehicle; the target time is the time required to fully charge the vehicle starting from the preset power.
[0093] There is a certain proportional relationship between the preset power and the full power of the vehicle. For example, the preset power can be 80% of the full power of the vehicle, i.e., 80% SOC.
[0094] Generally, when the vehicle models are different, the target time is different. For example, the target time is 2 hours.
[0095] It can be understood that when the time difference is less than or equal to the target time, it means that the time between the current time and the next start time of using the vehicle is not enough or just enough to fully charge the vehicle. It is possible that the user needs to use the vehicle before the power is fully charged. At this time, in order to ensure that the vehicle has enough power, continue to charge the vehicle until the next start time of using the vehicle.
[0096] C3: If the remaining power of the vehicle reaches the preset power and the time difference is greater than the target time, stop charging the vehicle, and when the time difference is equal to the target time, re - control the charging gun to charge the vehicle.
[0097] If the remaining power of the vehicle reaches the preset power and the time difference is greater than the target time, it means that the time between the current time and the next start time of using the vehicle is sufficient to charge the vehicle's power from the preset power to the full power, and there is extra time. At this time, pause charging the vehicle, and when the time difference is exactly equal to the target time, resume charging the vehicle.
[0098] It can be understood that the longer the vehicle stays at full power, the more likely it is to damage the battery life of the vehicle. Through the methods of C1 - C3, according to the vehicle - using time, reasonably plan the charging progress, which can delay the time when the vehicle is fully charged, reduce the duration of the vehicle staying at full power, and improve the battery life.
[0099] Refer to Table 1. Table 1 shows the improved battery life and the saved charging costs after adopting the intelligent charging function provided by the embodiments of the present application compared with the ordinary charging habits.
[0100] Table 1
[0101]
[0102] It can be seen that Table 1 is only for illustrative purposes. As shown in Table 1, after adopting the intelligent charging function provided by the embodiments of the present application compared with the ordinary charging habits, the battery life has been improved and the charging cost has been reduced.
[0103] In a possible implementation, the vehicle charging method provided in the embodiment of the present application further includes the following steps:
[0104] In response to a shutdown operation on the smart charging function, determining to shut down the smart charging function;
[0105] In response to detecting that the vehicle is connected to the charging gun, the charging gun is controlled to charge the vehicle.
[0106] It is understandable that users may have charging situations other than their usual charging habits. For example, when the daily electricity consumption is high and there is an emergency, charging is required immediately. At this time, the smart charging function can be turned off. After the vehicle is detected to be connected to the charging gun, the charging gun is directly controlled to charge the vehicle. In this way, the use of the smart charging function is more flexible.
[0107] To facilitate understanding of the vehicle charging method provided in the embodiment of the present application, see Figure 5 , Figure 5 This is a flow chart of another vehicle charging method provided in an embodiment of the present application. Figure 5 As shown, the vehicle charging method includes S501-S508:
[0108] S501: The vehicle is connected to the charging gun.
[0109] S502: Determine whether the remaining charging time is less than the predicted charging time; if so, execute S503; otherwise, execute S504.
[0110] In response to the vehicle being connected to the charging gun, the remaining charging time is obtained to be less than the predicted charging time, and it is determined whether the remaining charging time is less than the predicted charging time. If the remaining charging time is greater than or equal to the predicted charging time, in order to ensure the power of the vehicle, the charging gun is directly controlled to charge the vehicle.
[0111] S503: Determine whether the time is within 23:00-7:00; if so, execute S504; otherwise, execute S505.
[0112] Among them, electricity prices will start to decrease from 23:00 and last until 7:00 the next morning.
[0113] If the remaining charging time is less than the predicted charging time, there is plenty of time for the vehicle to charge. At this time, it is determined whether the time is between 23:00 and 7:00. If so, the electricity price is low, and the charging gun can be directly controlled to charge the vehicle. If not, the electricity price is still high, and you can wait until 23:00 to start controlling the charging gun to charge the vehicle.
[0114] S504: Control the charging gun to charge the vehicle.
[0115] S505: Wait until 23:00 and then start controlling the charging gun to charge the vehicle.
[0116] S506: Stop charging the vehicle after it is charged to 80% SOC.
[0117] During the charging process, the vehicle's power is detected in real time. After the vehicle is charged to 80% SOC, the charging of the vehicle is paused and S507 is executed.
[0118] S507: Determine whether the time until the user's next vehicle usage is less than or equal to 2 hours; if so, execute S508, otherwise, re - execute S507.
[0119] Among them, 2 hours is the time required to fully charge the vehicle's power from 80% SOC to 100% SOC. If the time until the user's next vehicle usage is less than or equal to 2 hours, it means that the duration between the current time and the user's next vehicle usage may be insufficient or exactly sufficient to fully charge the vehicle's power from 80% SOC to 100% SOC, then continue to control the charging gun to charge the vehicle to 100% SOC. If the time until the user's next vehicle usage is greater than 2 hours, then re - execute S507 and wait until there are 2 hours left, and then control the charging gun to charge the vehicle to 100% SOC.
[0120] S508: Continue to control the charging gun to charge the vehicle to 100% SOC.
[0121] Based on the relevant content of S501 - S508, it can be seen that the vehicle charging method provided by the embodiments of the present application can reduce the user's charging cost while reducing the high - SOC storage time of the battery to improve the battery life.
[0122] Those skilled in the art can understand that in the above - mentioned method of the specific implementation manner, the writing order of each step does not mean a strict execution order and does not constitute any limitation to the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.
[0123] Based on the vehicle charging method provided by the above - mentioned method embodiments, the embodiments of the present application also provide a vehicle charging device. The vehicle charging device will be described below with reference to the accompanying drawings. Since the principle of solving problems by the device in the embodiments of the present disclosure is similar to the above - mentioned vehicle charging method of the embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0124] See Figure 6 As shown, this figure is a schematic structural diagram of a vehicle charging device provided by the embodiments of the present application. As Figure 6 shown, the vehicle charging device includes:
[0125] The first acquisition unit 601 is configured to, after the intelligent charging function is enabled, in response to detecting that the vehicle is connected to the charging gun, acquire the predicted charging duration and the remaining charging duration of the vehicle for this time; the predicted charging duration for this time is determined according to the user's charging habit of the vehicle; the remaining charging duration for this time is acquired by the vehicle;
[0126] The first control unit 602 is configured to, when the remaining charging duration for this time is greater than or equal to the predicted charging duration for this time, control the charging gun to charge the vehicle;
[0127] The second control unit 603 is configured to, when the remaining charging duration for this time is less than the predicted charging duration for this time, wait until the target time and then control the charging gun to charge the vehicle; the target time is the time when the electricity price drops.
[0128] In a possible implementation manner, the device further includes:
[0129] The second acquisition unit is configured to, after charging the vehicle, acquire the remaining power of the vehicle and the time difference between the current time and the next start time of using the vehicle; the next start time of using the vehicle is determined according to the user's charging habit of the vehicle;
[0130] The third control unit is configured to, if the remaining power of the vehicle reaches the preset power and the time difference is less than or equal to the target time, continue to control the charging gun to charge the vehicle; the target time is the time required to fully charge the vehicle starting from the preset power;
[0131] The fourth control unit is configured to, if the remaining power of the vehicle reaches the preset power and the time difference is greater than the target time, stop charging the vehicle, and when the time difference is equal to the target time, re - control the charging gun to charge the vehicle.
[0132] In a possible implementation manner, the first acquisition unit 601 includes:
[0133] The acquisition sub - unit is configured to acquire the time when the vehicle is connected to the charging gun and acquire the next start time of using the vehicle;
[0134] The first determination sub - unit is configured to determine the duration between the time when the vehicle is connected to the charging gun and the next start time of using the vehicle as the predicted charging duration for this time of the vehicle.
[0135] In a possible implementation manner, the acquisition sub - unit includes:
[0136] The second determination sub - unit is configured to determine the target time period in which the time when the vehicle is connected to the charging gun is located;
[0137] A first acquisition subunit, configured to divide the target time period according to a sharding duration to obtain a plurality of time shards under the target time period;
[0138] A second acquisition subunit, configured to input the plurality of time shards into a trained charging time prediction model to obtain prediction results respectively corresponding to the plurality of time shards output by the charging time prediction model; the prediction result is a charging time or a vehicle usage time;
[0139] A third determination subunit, configured to determine the next vehicle usage start time of the vehicle according to the prediction results respectively corresponding to the plurality of time shards and the time when the vehicle is connected to the charging gun.
[0140] In a possible implementation manner, the device further includes a training unit, and the training unit is specifically configured to train a charging time prediction model;
[0141] The training unit includes:
[0142] A third acquisition subunit, configured to acquire historical charging data; the historical charging data includes charging times and vehicle usage times within at least one historical time period; the duration of the historical time period is greater than or equal to the duration of the target time period;
[0143] A fourth acquisition subunit, configured to divide at least one of the historical time periods according to the sharding duration to obtain a plurality of historical time shards;
[0144] A fifth acquisition subunit, configured to input the plurality of historical time shards into a charging time prediction model to obtain prediction results respectively corresponding to the plurality of historical time shards output by the charging time prediction model;
[0145] A training subunit, configured to train the charging time prediction model based on the prediction results respectively corresponding to the plurality of historical time shards and the label values respectively corresponding to the plurality of historical time shards; the label value is an actual charging time or vehicle usage time.
[0146] In a possible implementation manner, the charging time prediction model is a support vector machine model.
[0147] In a possible implementation manner, the device further includes:
[0148] A determination unit, configured to determine to turn off the intelligent charging function in response to an operation to turn off the intelligent charging function;
[0149] A fifth control unit, configured to control the charging gun to charge the vehicle in response to detecting that the vehicle is connected to the charging gun.
[0150] In addition, the present application also provides a charging pile, including: a charging gun and a control system, where the control system is used to execute the vehicle charging method described in any of the above embodiments.
[0151] In addition, the present application also provides a vehicle, including: a control system, where the control system is used to execute the vehicle charging method described in any of the above embodiments.
[0152] In addition, the present application also provides an electronic device, including:
[0153] One or more processors;
[0154] A storage device having one or more programs stored thereon,
[0155] When the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle charging method described in any of the above embodiments.
[0156] Exemplarily, the electronic device may be an electronic device that carries the control system in the charging pile or the vehicle.
[0157] In addition, the present application also provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the vehicle charging method described in any of the above embodiments.
[0158] It should be noted that for the specific implementation of each unit in this embodiment, reference may be made to the relevant descriptions in the above method embodiments. The division of units in the embodiments of the present application is illustrative, merely a logical function division, and there may be other division methods in actual implementation. Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. For example, in the above embodiments, the processing unit and the sending unit may be the same unit or different units. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0159] From the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the above method embodiments can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in each embodiment or some parts of the embodiments of the present application.
[0160] It should be noted that the various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the methods disclosed in the embodiments, since they correspond to the systems disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description of the system part.
[0161] It should also be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0162] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle charging method, characterized in that, The method includes: After the intelligent charging function is turned on, in response to detecting that the vehicle is connected to the charging gun, obtaining the predicted charging duration and the remaining charging duration of the vehicle for this time; the predicted charging duration for this time is determined according to the user's charging habit of the vehicle; the remaining charging duration for this time is collected by the vehicle; When the remaining charging duration for this time is greater than or equal to the predicted charging duration for this time, controlling the charging gun to charge the vehicle; When the remaining charging duration for this time is less than the predicted charging duration for this time, waiting until the target time and then controlling the charging gun to charge the vehicle; the target time is the time when the electricity price drops.
2. The method according to claim 1, wherein The method further includes: After charging the vehicle, obtaining the remaining power of the vehicle and the time difference between the current time and the next start time of using the vehicle; the next start time of using the vehicle is determined according to the user's charging habit of the vehicle; If the remaining power of the vehicle reaches the preset power and the time difference is less than or equal to the target time, continuing to control the charging gun to charge the vehicle; the target time is the time required to fully charge the vehicle starting from the preset power; If the remaining power of the vehicle reaches the preset power and the time difference is greater than the target time, stopping charging the vehicle, and when the time difference is equal to the target time, re - controlling the charging gun to charge the vehicle.
3. The method according to claim 1, wherein The obtaining of the predicted charging duration for this time of the vehicle includes: Collecting the time when the vehicle is connected to the charging gun and obtaining the next start time of using the vehicle; Determining the duration between the time when the vehicle is connected to the charging gun and the next start time of using the vehicle as the predicted charging duration for this time of the vehicle.
4. The method according to claim 3, wherein The obtaining of the next start time of using the vehicle includes: Determining the target time period in which the time when the vehicle is connected to the charging gun is located; Dividing the target time period according to the shard duration to obtain multiple time shards under the target time period; Inputting the multiple time shards into the trained charging time prediction model to obtain the prediction results respectively corresponding to the multiple time shards output by the charging time prediction model; the prediction result is the charging time or the vehicle - using time; Determining the next start time of using the vehicle according to the prediction results respectively corresponding to the multiple time shards and the time when the vehicle is connected to the charging gun.
5. The method according to claim 4, wherein The training process of the charging time prediction model includes: Obtaining historical charging data; the historical charging data includes the charging time and the vehicle - using time within at least one historical time period; the duration of the historical time period is greater than or equal to the duration of the target time period; Dividing at least one of the historical time periods according to the shard duration to obtain multiple historical time shards; Inputting the multiple historical time shards into the charging time prediction model to obtain the prediction results respectively corresponding to the multiple historical time shards output by the charging time prediction model; Train the charging time prediction model based on the prediction results corresponding to multiple historical time slices and the label values corresponding to multiple historical time slices respectively; the label value is the actual charging time or vehicle usage time.
6. The method according to claim 1, characterized in that, The charging time prediction model is a support vector machine model.
7. The method according to claim 1, characterized in that, The method further includes: In response to an off operation of the intelligent charging function, determine to turn off the intelligent charging function; In response to detecting that the vehicle is connected to the charging gun, control the charging gun to charge the vehicle.
8. A vehicle charging device, characterized in that, The device includes: A first acquisition unit, configured to, after the intelligent charging function is turned on, in response to detecting that the vehicle is connected to the charging gun, acquire the predicted charging duration and the remaining charging duration of the vehicle for this time; the predicted charging duration for this time is determined according to the user's charging habit of the vehicle; the remaining charging duration for this time is acquired by the vehicle; A first control unit, configured to control the charging gun to charge the vehicle when the remaining charging duration for this time is greater than or equal to the predicted charging duration for this time; A second control unit, configured to wait until a target time and then control the charging gun to charge the vehicle when the remaining charging duration for this time is less than the predicted charging duration for this time; the target time is the time when the electricity price drops.
9. A charging pile, characterized in that, Includes: A charging gun and a control system, where the control system is configured to execute the method according to any one of claims 1-7.
10. A vehicle, characterized in that, Includes: A control system, where the control system is configured to execute the method according to any one of claims 1-7.