Electric vehicle charging control methods, devices and electric vehicles
By obtaining the scheduled charging settings and plug-in time from electric vehicles, and combining them with hour, minute, year, month, and day verification, the problem of inaccurate scheduled charging calculation for electric vehicles is solved, achieving efficient and accurate scheduled charging control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2026-04-03
AI Technical Summary
The existing method for calculating the scheduled charging time for electric vehicles relies on network synchronization time. This is prone to errors due to network failures or inaccurate information, which can lead to inaccurate calculation of the start time for scheduled charging and affect the effectiveness of the scheduled charging function.
By obtaining the scheduled charging settings information, including the start and end times of the scheduled charging, and combining the plug-in time and the validity period of the charging time, it is determined whether the electric vehicle meets the time conditions for starting charging. The scheduled time calculation is performed by considering only the hour and minute, and the redundancy check of year, month, and day is combined to ensure the accuracy of the calculation.
It improves the accuracy and calculation efficiency of the scheduled charging function, avoids inaccurate scheduling due to network time synchronization errors, reduces the need for calculations across months, years, and holidays, and saves the controller's memory load.
Smart Images

Figure CN116767001B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electric vehicle technology, and in particular to an electric vehicle charging control method, device, and electric vehicle. Background Technology
[0002] In related technologies, the calculation method for scheduled charging of electric vehicles mainly originates from the synchronized network time, which is transmitted through the intermediate CAN (Controller Area Network) network to the time calculation and processing actuator, such as the vehicle-to-everything (TBOX) controller or the vehicle control unit (VCU). When the actual time is greater than or equal to the scheduled charging start time, the charging system is activated and charging begins. However, this method is susceptible to problems when network synchronization fails or the actual date information is inaccurate during intermediate transmission, leading to inaccurate calculation of the scheduled start time and thus affecting the scheduled charging function. Summary of the Invention
[0003] This disclosure provides a charging control method, device, and electric vehicle for electric vehicles.
[0004] According to a first aspect of the present disclosure, a charging control method for an electric vehicle is provided, the method being applied to the electric vehicle, the method comprising:
[0005] Obtain scheduled charging settings information, which includes scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock count and minute count;
[0006] Based on the scheduled charging start time and the scheduled charging end type, determine whether the electric vehicle currently meets the time conditions for starting charging;
[0007] In response to the electric vehicle currently meeting the time condition for starting charging, the charging system is activated to perform a charging operation on the electric vehicle.
[0008] In some embodiments, determining whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type includes:
[0009] If the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun and obtain the charging time validity period.
[0010] The time interval of the insertion time is determined to be greater than or equal to the time interval of the scheduled charging start time;
[0011] Based on the insertion time, the validity period of the charging time, and the time of the scheduled charging start time, it is determined whether the electric vehicle currently meets the time conditions for starting charging.
[0012] In one possible implementation, determining whether the electric vehicle currently meets the time condition for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes:
[0013] It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross midnight;
[0014] If the time of insertion is less than or equal to the sum of the time of the scheduled charging start time and the first threshold, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0015] In one possible implementation, determining whether the electric vehicle currently meets the time condition for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes:
[0016] It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time spans across midnight;
[0017] If the time of insertion is less than or equal to a second threshold, or if the time of insertion is greater than or equal to 0 and less than or equal to the difference between the time of the scheduled charging start time and a third threshold, the electric vehicle is determined to currently meet the charging start time condition.
[0018] In one possible implementation, determining whether the electric vehicle currently meets the time condition for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes:
[0019] Once it is determined that the insertion time is greater than the scheduled charging start time plus the time after the charging time validity period, the system enters the scheduled waiting phase.
[0020] If the time for starting charging crosses midnight during the reservation waiting process, the charging gun is locked, and if the time of the current actual time is greater than or equal to the time of the reserved charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0021] In one possible implementation, determining whether the electric vehicle currently meets the time condition for starting charging based on the scheduled charging start time and the scheduled charging end type includes:
[0022] When the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun;
[0023] If the time of insertion is less than the time of scheduled charging start time, obtain the current actual time.
[0024] If the hour and minute of the current actual time are greater than or equal to the hour and minute of the scheduled charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0025] In some embodiments, determining whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type includes:
[0026] Obtain the current actual time, which includes year, month, day, hour, and minute information;
[0027] Based on the current actual time (year, month, and day), determine the year, month, and day of the scheduled charging start time;
[0028] If the current actual time (year, month, day, hour, minute) is greater than or equal to the scheduled charging start time (year, month, day, hour, minute), and the electric vehicle is plugged into the charging gun, then the electric vehicle currently meets the time condition for starting charging.
[0029] In one possible implementation, determining the year, month, and day of the scheduled charging start time based on the current actual time includes:
[0030] Determine whether the scheduled charging settings have been changed;
[0031] If the scheduled charging settings have not changed, then obtain the current actual time;
[0032] The charging start time (year, month, and day) is determined based on the hour and minute of the current actual time, the year, month, and day of the current actual time, and the hour and minute of the scheduled charging start time.
[0033] If the hour and minute of the current actual time are greater than or equal to the sum of the hour and minute of the scheduled charging start time and the first threshold, and a charging gun removal or insertion event is triggered, the removal time of the charging gun removal event and the insertion time of the charging gun insertion event are obtained.
[0034] Calculate the first value based on the year, month, and day of the charging start time, the year, month, and day of the gun removal time, and the year, month, and day of the gun insertion time;
[0035] The number of days to be accumulated is determined based on the first value, and the date of the scheduled charging start time is determined based on the date of the charging start time and the number of days to be accumulated.
[0036] In one possible implementation, the formula for calculating the first value is as follows:
[0037] T = ceil(max{min{(date of insertion - date of charging start), (date of removal - date of charging start)}, 0} / 1440)
[0038] Where T is the first value, ceil is the rounding function, min is the minimum value, and max is the maximum value.
[0039] In one optional implementation, determining the year, month, and day of the scheduled charging start time based on the current actual time further includes:
[0040] If the scheduled charging settings change, the current actual time (year, month, day) will be determined as the start time (year, month, day) of the scheduled charging.
[0041] In one alternative implementation, the method further includes:
[0042] If the hour and minute of the current actual time are less than the sum of the hour and minute of the scheduled charging start time and the first threshold, and / or if no event of unplugging or plugging in the charging gun is triggered, the year, month, and day of the charging start time shall be determined as the year, month, and day of the scheduled charging start time.
[0043] In some embodiments, determining whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type includes:
[0044] When the scheduled charging end type is set to "schedule charging end time", the insertion time of the electric vehicle into the charging gun is obtained, and the scheduled charging end time is obtained; wherein, the scheduled charging end time includes clock hours and minutes.
[0045] If the time of the scheduled start time of charging is less than the time of the scheduled end time of charging, and the time of plugging in the charging gun is greater than or equal to the time of the scheduled start time of charging and less than or equal to the time of the scheduled end time of charging, then the electric vehicle is determined to currently meet the time conditions for starting charging.
[0046] According to a second aspect of the present disclosure, an electric vehicle charging control device is provided, the device being disposed in the electric vehicle, the device comprising:
[0047] The acquisition module is used to acquire scheduled charging setting information, which includes scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock count and minute count;
[0048] The determining module is used to determine whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type.
[0049] The control module is used to wake up the charging system to perform a charging operation on the electric vehicle when the electric vehicle currently meets the time condition for starting charging.
[0050] In some embodiments, the determining module includes:
[0051] The first acquisition unit is used to acquire the insertion time of the electric vehicle into the charging gun and the validity period of the charging time when the scheduled charging end type is full charge.
[0052] The first determining unit is used to determine that the hour and minute of the insertion time is greater than or equal to the hour and minute of the scheduled charging start time;
[0053] The second determining unit is used to determine whether the electric vehicle currently meets the time conditions for starting charging based on the insertion time, the validity period of the charging time, and the time of the scheduled charging start time.
[0054] In one possible implementation, the second determining unit is specifically used for:
[0055] It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross midnight;
[0056] If the time of insertion is less than or equal to the sum of the time of the scheduled charging start time and the first threshold, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0057] In one possible implementation, the second determining unit is specifically used for:
[0058] It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time spans across midnight;
[0059] If the time of insertion is less than or equal to a second threshold, or if the time of insertion is greater than or equal to 0 and less than or equal to the difference between the time of the scheduled charging start time and a third threshold, the electric vehicle is determined to currently meet the charging start time condition.
[0060] In one possible implementation, the second determining unit is specifically used for:
[0061] Once it is determined that the insertion time is greater than the scheduled charging start time plus the time after the charging time validity period, the system enters the scheduled waiting phase.
[0062] If the time for starting charging crosses midnight during the reservation waiting process, the charging gun is locked, and if the time of the current actual time is greater than or equal to the time of the reserved charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0063] In one possible implementation, the determining module is specifically used for:
[0064] When the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun;
[0065] If the time of insertion is less than the time of scheduled charging start time, obtain the current actual time.
[0066] If the hour and minute of the current actual time are greater than or equal to the hour and minute of the scheduled charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0067] In some embodiments, the determining module includes:
[0068] The second acquisition unit is used to acquire the current actual time, which includes year, month, day, hour and minute information;
[0069] The third determining unit is used to determine the year, month, and day of the scheduled charging start time based on the year, month, and day of the current actual time.
[0070] The fourth determining unit is used to determine that the electric vehicle currently meets the time condition for starting charging when the current actual time (year, month, day, hour, and minute) is greater than or equal to the scheduled charging start time (year, month, day, hour, and minute) and the electric vehicle is plugged into the charging gun.
[0071] In one possible implementation, the third determining unit is specifically used for:
[0072] Determine whether the scheduled charging settings have been changed;
[0073] If the scheduled charging settings have not changed, then obtain the current actual time;
[0074] The charging start time (year, month, and day) is determined based on the hour and minute of the current actual time, the year, month, and day of the current actual time, and the hour and minute of the scheduled charging start time.
[0075] If the hour and minute of the current actual time are greater than or equal to the sum of the hour and minute of the scheduled charging start time and the first threshold, and a charging gun removal or insertion event is triggered, the removal time of the charging gun removal event and the insertion time of the charging gun insertion event are obtained.
[0076] Calculate the first value based on the year, month, and day of the charging start time, the year, month, and day of the gun removal time, and the year, month, and day of the gun insertion time;
[0077] The number of days to be accumulated is determined based on the first value, and the date of the scheduled charging start time is determined based on the date of the charging start time and the number of days to be accumulated.
[0078] In one possible implementation, the formula for calculating the first value is as follows:
[0079] T = ceil(max{min{(date of insertion - date of charging start), (date of removal - date of charging start)}, 0} / 1440)
[0080] Where T is the first value, ceil is the rounding function, min is the minimum value, and max is the maximum value.
[0081] In one optional implementation, the third determining unit is further configured to:
[0082] If the scheduled charging settings change, the current actual time (year, month, day) will be determined as the start time (year, month, day) of the scheduled charging.
[0083] In one optional implementation, the third determining unit is further configured to:
[0084] If the hour and minute of the current actual time are less than the sum of the hour and minute of the scheduled charging start time and the first threshold, and / or if no event of unplugging or plugging in the charging gun is triggered, the year, month, and day of the charging start time shall be determined as the year, month, and day of the scheduled charging start time.
[0085] In some embodiments, the determining module is specifically used for:
[0086] When the scheduled charging end type is set to "schedule charging end time", the insertion time of the electric vehicle into the charging gun is obtained, and the scheduled charging end time is obtained; wherein, the scheduled charging end time includes clock hours and minutes.
[0087] If the time of the scheduled start time of charging is less than the time of the scheduled end time of charging, and the time of plugging in the charging gun is greater than or equal to the time of the scheduled start time of charging and less than or equal to the time of the scheduled end time of charging, then the electric vehicle is determined to currently meet the time conditions for starting charging.
[0088] According to a third aspect of the present disclosure, an electric vehicle is provided, comprising:
[0089] At least one processor; and
[0090] A memory communicatively connected to the at least one processor; wherein,
[0091] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect above.
[0092] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electric vehicle, the electric vehicle is enabled to perform the method described in the first aspect.
[0093] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.
[0094] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0095] During the scheduled charging time calculation process, the system can determine whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and scheduled charging end type. This implements a calculation strategy for situations where the user has not set a scheduled charging end time, and is compatible with various user scheduling settings. Furthermore, by considering only the time and minute for scheduled charging calculation, inaccurate calculations due to lost network time synchronization messages or inaccurate date information in the network time synchronization can be avoided, thus effectively ensuring the normal execution of the scheduled charging function. In addition, calculating scheduled charging by considering only the time and minute improves calculation efficiency and system response speed, eliminating the need to consider calculations across months, years, and holidays, thereby increasing the speed of scheduled charging calculation and reducing controller memory load. This disclosure also adds a redundant algorithm that considers the date for scheduled charging, performing a secondary verification on the algorithm that only considers the time and minute. That is, combining the algorithms that only consider the time and minute and those that consider the date and month, with redundant verification, can further improve the accuracy of scheduled control timing.
[0096] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0097] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0098] Figure 1 This is an example diagram illustrating the interaction process of a scheduled charging system provided in an embodiment of this disclosure.
[0099] Figure 2 A flowchart of an electric vehicle charging control method provided in an embodiment of this disclosure.
[0100] Figure 3 An example diagram of the interactive interface provided in the embodiments of this disclosure.
[0101] Figure 4 A flowchart of an electric vehicle charging control method provided in an embodiment of this disclosure.
[0102] Figure 5 An example diagram of an algorithm for setting the end time of timed charging based on only time minutes, provided in an embodiment of this disclosure.
[0103] Figure 6 A flowchart of another electric vehicle charging control method provided in this disclosure embodiment.
[0104] Figure 7 An example diagram illustrating the calculation strategy for timed charging until fully charged, as provided in an embodiment of this disclosure.
[0105] Figure 8A flowchart of another electric vehicle charging control method provided in this disclosure embodiment.
[0106] Figure 9 An example diagram illustrating a calculation strategy for redundancy checking that combines two algorithms—one considering only time and the other considering year, month, and day—provided for embodiments of this disclosure.
[0107] Figure 10 This is a block diagram illustrating an electric vehicle charging control device according to an exemplary embodiment.
[0108] Figure 11 This is a block diagram illustrating an electric vehicle according to an exemplary embodiment. Detailed Implementation
[0109] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0110] To better understand the electric vehicle charging control method disclosed in this disclosure, the scheduled charging system applicable to this disclosure is described below.
[0111] Please see Figure 1 , Figure 1 This is an example diagram illustrating the interaction process of a scheduled charging system provided in an embodiment of this disclosure. Wherein, as... Figure 1 As shown, the scheduled charging system may include, but is not limited to, a domain controller 10, a TBOX (vehicle-to-everything controller) 20, a TBOX cloud (also called a TBOX cloud server) 30, a BMS (Battery Management System) 40, a charging pile 50, and a charging pile cloud (also called a charging pile cloud server) 60. The domain controller 10, TBOX 20, and BMS 40 are configured on the electric vehicle. As an example, users can set scheduled charging information, such as the scheduled charging start time and the scheduled charging end type, through the central control screen on the electric vehicle or an application on the terminal device. The scheduled charging end type includes options such as charging until full charge without setting an end time or setting a scheduled charging end time. With multiple combinations of these types, the electric vehicle charging control method provided in this embodiment can adapt to various user scheduling settings to achieve the scheduled charging function.
[0112] like Figure 1As shown, TBOX 20 receives the user's scheduled charging settings information and transmits this information along with network authorization to domain controller 10. Domain controller 10 includes a scheduled charging calculation module for processing all scheduled timing algorithms, such as the scheduled timing calculation in this embodiment. Domain controller 10 also includes an RTC (Real-Time Clock) peripheral chip for wake-up upon scheduled charging. Domain controller 10 sends vehicle configuration information to BMS 40 and TBOX 20 via CAN (Controller Area Network) communication. BMS 40 and charging pile 50 exchange private messages, and charging pile 50 parses the vehicle configuration information forwarded by BMS 40 and uploads it to charging pile cloud 60. TBOX 20 receives and parses the vehicle configuration information and uploads it to TBOX cloud 30. Authentication is completed between charging pile cloud 60 and TBOX cloud 30. The verification result can be fed back to the charging pile 50 to see if it supports the reservation. The BMS 40 then feeds the feedback to the domain controller 10, and finally the reservation charging time is calculated within the domain controller 10.
[0113] It should be noted that the domain controller 10 in this embodiment can be an integrated regional ECU (Electronic Control Unit) controller. The electric vehicle in this embodiment can be an electric vehicle.
[0114] It is understood that the scheduled charging system described in this disclosure is for the purpose of more clearly illustrating the technical solutions of this disclosure, and does not constitute a limitation on the technical solutions provided in this disclosure. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in this disclosure are also applicable to similar technical problems.
[0115] The electric vehicle charging control method, device, and electric vehicle provided in this disclosure will be described in detail below with reference to the accompanying drawings.
[0116] Please see Figure 2 , Figure 2 This is a flowchart illustrating a charging control method for an electric vehicle according to an embodiment of this disclosure. It should be noted that this method can be applied to electric vehicles; as an example, the method can be executed by a domain controller on the electric vehicle. Figure 2 As shown, the method may include, but is not limited to, the following steps.
[0117] In step 201, the scheduled charging settings information is obtained, which includes the scheduled charging start time and scheduled charging end type.
[0118] In the embodiments of this disclosure, the scheduled charging start time includes clock hours and minutes. That is, this disclosure may only consider the calculation of the scheduled charging time in hours and minutes.
[0119] As an example, an interactive interface can be provided to the user, such as Figure 3 As shown, the interactive interface has a setting control 1 for the scheduled charging start time, a setting control 2 for the scheduled charging end type, and a setting control 3 for the scheduled charging type. Users can make various scheduling settings through these controls. This interactive interface can be on a central control screen or an application interface on a terminal device. That is, users can set scheduled charging information through the central control screen on the electric vehicle or the application on the terminal device. The central control screen or terminal device obtains the user's scheduled charging settings information and sends it to the electric vehicle, thus enabling the electric vehicle to receive the scheduled charging settings information.
[0120] In step 202, based on the scheduled charging start time and scheduled charging end type, it is determined whether the electric vehicle currently meets the time conditions for starting charging.
[0121] Optionally, in the embodiments of this disclosure, when obtaining the scheduled charging setting information, it can be determined whether the scheduled charging type in the scheduled charging setting information is timed charging. If the scheduled charging type is timed charging, it can be determined whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and scheduled charging end type.
[0122] It should be noted that this disclosure only considers the calculation of reservation time in hours and minutes (i.e., only hours and minutes), and does not consider the year, month, and day. Therefore, different reservation time calculation methods are required for different types of scheduled charging end times to determine whether the electric vehicle currently meets the time conditions for starting charging. Examples of two different reservation time calculation methods are given below:
[0123] As an example of a possible implementation, when the scheduled charging end type is set to a scheduled charging end time, that is, when the user sets a scheduled charging start time and a scheduled charging end time, it is not necessary to consider the time when the user plugs in the charging gun (i.e., the electric vehicle plugs into the charging gun). Based on the current actual time, the scheduled charging start time and the scheduled charging end time, it can be determined whether the electric vehicle currently meets the time conditions for starting charging.
[0124] As an example of another possible implementation, when the scheduled charging end type is "until full charge", that is, when the scheduled charging end type is "until full charge" without setting a scheduled charging end time, it can be determined whether the electric vehicle currently meets the time condition for starting charging based on the scheduled charging start time and the plug-in time.
[0125] Optionally, in some embodiments, if the scheduled charging type is not timed charging, it can be considered as real-time charging. When the electric vehicle is plugged into the charging gun and successfully authenticated and other charging conditions are met, charging is performed immediately, that is, the charging system is woken up to perform the charging operation on the electric vehicle.
[0126] In step 203, in response to the electric vehicle currently meeting the time condition for starting charging, the charging system is woken up to perform the charging operation on the electric vehicle.
[0127] Optionally, in one implementation, when it is determined that the electric vehicle currently meets the time conditions for starting charging, the charging system can be woken up via RTC to perform charging operations on the electric vehicle. This charging system can be the charging system on the electric vehicle itself, and may include, but is not limited to, charging circuits, BMS, etc., or may include other components. This disclosure does not impose any limitations on this, nor will it elaborate further.
[0128] Optionally, in some embodiments, if the electric vehicle does not currently meet the time conditions for starting charging, it can enter a waiting period, i.e., the charging operation is not performed.
[0129] In the embodiments of this disclosure, during the scheduled charging time calculation process, it can be determined whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and scheduled charging end type. This implements a calculation strategy when the user has not set a scheduled charging end time, and is compatible with various user scheduling settings. Furthermore, by considering only the time and minute for scheduled charging calculation, inaccurate calculations due to lost network time synchronization messages or inaccurate network time synchronization date information can be avoided, thus effectively ensuring the normal execution of the scheduled charging function. In addition, by considering only the time and minute for scheduled charging calculation, computational efficiency and system response speed can be improved. Calculations across months, years, and various holidays are not required, increasing the speed of scheduled charging calculation and saving controller memory load.
[0130] It should be noted that different scheduled charging end types require different scheduled timing calculation methods to determine whether the electric vehicle currently meets the time conditions for starting charging. Optionally, when the scheduled charging end type is set to "set scheduled charging end time," the insertion time of the user plugging in the charging gun (i.e., the electric vehicle inserting into the charging gun) does not need to be considered. The determination of whether the electric vehicle currently meets the time conditions for starting charging can be based on the current actual time, the scheduled charging start time, and the scheduled charging end time. Please refer to [link / reference]. Figure 4 , Figure 4 This is a flowchart illustrating a charging control method for an electric vehicle according to an embodiment of this disclosure. It should be noted that this method can be applied to electric vehicles; as an example, the method can be executed by a domain controller on the electric vehicle. Figure 4 As shown, the method may include, but is not limited to, the following steps.
[0131] In step 401a, the scheduled charging setting information is obtained, which includes the scheduled charging start time and the scheduled charging end type; wherein, the scheduled charging start time includes clock hours and minutes.
[0132] In the embodiments of this disclosure, step 401a can be implemented in any of the above embodiments, and no limitation is made here, nor will it be described in detail.
[0133] In step 402a, if the scheduled charging end type is set to "set scheduled charging end time", the insertion time of the electric vehicle into the charging gun is obtained, and the scheduled charging end time is obtained.
[0134] Optionally, in embodiments of this disclosure, when obtaining the scheduled charging setting information, it can be determined whether the scheduled charging type in the scheduled charging setting information is timed charging. If the scheduled charging type is timed charging, the scheduled charging end type can be determined. If the scheduled charging end type is a set scheduled charging end time, the insertion time of the electric vehicle into the charging gun and the scheduled charging end time are obtained. This facilitates comparison between the insertion time and the scheduled charging start time and end time, i.e., determining whether the scheduled start time has been reached. In embodiments of this disclosure, the scheduled charging end time includes clock hours and minutes.
[0135] Optionally, in some embodiments, if the scheduled charging type is not timed charging, it can be considered as real-time charging. When the electric vehicle is plugged into the charging gun and successfully authenticated and other charging conditions are met, charging is performed immediately, that is, the charging system is woken up to perform the charging operation on the electric vehicle.
[0136] In step 403a, if the time of the scheduled start time of charging is less than the time of the scheduled end time of charging, and the time of plugging in the charging gun is greater than or equal to the time of the scheduled start time of charging and less than or equal to the time of the scheduled end time of charging, it is determined that the electric vehicle currently meets the time conditions for starting charging.
[0137] Optionally, in some embodiments, when the time of the scheduled charging start time is less than the time of the scheduled charging end time, it is determined whether the time of the current actual time is greater than or equal to the time of the scheduled charging start time and less than or equal to the time of the scheduled charging end time.
[0138] In the embodiments of this disclosure, the scheduled charging start time and scheduled charging end time can be compared. If the time of the scheduled charging start time is less than the time of the scheduled charging end time, for example, if the user sets the scheduled charging start time to 9:00 and the scheduled charging end time to 22:00, it can be determined whether the time of the current actual time is greater than or equal to the time of the scheduled charging start time and less than or equal to the time of the scheduled charging end time.
[0139] It is understood that in this embodiment, the time in hours and minutes refers to converting hours and minutes into minutes. For example, taking 2:30 as an example, the time in hours and minutes is 150, and the unit is minutes. This time includes, but is not limited to, the scheduled charging start time, the scheduled charging end time, and the current actual time.
[0140] Optionally, if the time of the scheduled start time of charging is less than the time of the scheduled end time of charging, and the time of plugging in the charging gun is greater than or equal to the time of the scheduled start time of charging and less than or equal to the time of the scheduled end time of charging, it is determined that the electric vehicle currently meets the time conditions for starting charging.
[0141] Optionally, in some embodiments, if the time of plugging in the charging gun is less than the scheduled start time, or if the time of plugging in the charging gun is greater than the scheduled end time, it can be determined that the electric vehicle does not currently meet the time conditions for starting charging. Optionally, in some embodiments, if the electric vehicle does not currently meet the time conditions for starting charging, it can enter a scheduled waiting state, that is, the charging operation is not performed.
[0142] In step 404a, in response to the electric vehicle currently meeting the time condition for starting charging, the charging system is woken up to perform a charging operation on the electric vehicle.
[0143] In the embodiments of this disclosure, step 404a can be implemented in any of the above embodiments, and no limitation is made here, nor will it be described in detail.
[0144] To facilitate a better understanding of the time-division-only algorithm for setting the end time of timed charging, the following section combines... Figure 5 Provide a detailed description.
[0145] For example, such as Figure 5As shown, the algorithm for setting the end time for scheduled charging only considers the hour and minute. When the user sets both the scheduled start time and the scheduled end time (step 501), the user's plug-in time is not considered. It is determined that the hour and minute of the scheduled start time is less than the hour and minute of the scheduled end time (step 502). When the hour and minute of the scheduled start time is less than the hour and minute of the scheduled end time (e.g., from 9:00 to 22:00), it is determined whether the current actual time is less than or equal to the scheduled end time and greater than or equal to the scheduled start time (step 503). If the scheduled start time is less than or equal to the current actual time and less than or equal to the scheduled end time, the scheduled start time has been reached. After plug-in authentication, other charging conditions are met, and charging begins immediately (step 504). If the current actual time is less than the scheduled start time, or greater than the scheduled end time, the user enters the scheduled waiting phase (step 505). When the hour and minute of the scheduled start time is greater than or equal to the hour and minute of the scheduled end time (e.g., from 22:00 to 9:00), it is determined whether the current actual time is less than or equal to the scheduled start time and greater than or equal to the scheduled end time (step 506). If the scheduled charging end time is less than or equal to the current actual time and less than or equal to the scheduled charging start time, then upon reaching the scheduled start time, after plugging in the charging gun for authentication and meeting other charging conditions, charging will begin immediately (step 504). If the current actual time is less than the scheduled charging end time, or greater than the scheduled charging start time, then the system will enter a waiting state (step 505).
[0146] In the embodiments of this disclosure, if the scheduled charging end type is set to a scheduled charging end time, then the insertion time of the user plugging in the charging gun (i.e., the electric vehicle plugging into the charging gun) does not need to be considered. Based on the current actual time, the scheduled charging start time, and the scheduled charging end time, it can be determined whether the electric vehicle currently meets the time conditions for starting charging. If the electric vehicle currently meets the time conditions for starting charging, the charging system is activated to perform the charging operation on the electric vehicle, thus completing the reservation function. Furthermore, in the reservation timing calculation process, this disclosure uses only time and minute considerations for the reservation timing calculation, which avoids inaccurate reservation calculations caused by lost network time synchronization messages or inaccurate year, month, and day information in the network time synchronization, thereby effectively ensuring the normal execution of the scheduled charging function. In addition, by considering only time and minute considerations for the reservation timing calculation, computational efficiency and system response speed can be improved. It eliminates the need to consider calculations across months, years, and various holidays, increasing the reservation timing calculation speed and saving controller memory load.
[0147] It should be noted that different scheduled charging end types require different scheduled timing calculation methods to determine whether the electric vehicle currently meets the time conditions for starting charging. Optionally, when the scheduled charging end type is "until full charge," the determination of whether the electric vehicle currently meets the time conditions for starting charging can be based on the scheduled charging start time and the time the charging gun is plugged in. Please refer to [link / reference]. Figure 6 , Figure 6 This is a flowchart illustrating another electric vehicle charging control method provided in this disclosure. It should be noted that this method can be applied to electric vehicles; as an example, the method can be executed by a domain controller on the electric vehicle. Figure 6 As shown, the method may include, but is not limited to, the following steps.
[0148] In step 601, the scheduled charging setting information is obtained, which includes the scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock hours and minutes.
[0149] In the embodiments of this disclosure, step 601 can be implemented in any of the above embodiments, and no limitation is made here, nor will it be described in detail.
[0150] In step 602, if the scheduled charging end type is "until full charge", the insertion time of the electric vehicle into the charging gun is obtained, and the charging time validity period is obtained; wherein, the insertion time includes clock hours and minutes.
[0151] Optionally, in embodiments of this disclosure, when obtaining the scheduled charging setting information, it can be determined whether the scheduled charging type in the scheduled charging setting information is timed charging. If the scheduled charging type is timed charging, the scheduled charging end type can be determined. If the scheduled charging end type is until full charge, the insertion time of the electric vehicle into the charging gun can be obtained. In one implementation, the real-time time (e.g., including only clock and minute counts) when the electric vehicle is inserted into the charging gun can be obtained, and this real-time time can be used as the insertion time. This facilitates comparison between the insertion time and the scheduled charging start time to determine whether the electric vehicle currently meets the time conditions for starting charging.
[0152] In the embodiments of this disclosure, it is also necessary to obtain the charging time validity period. For example, if the plug-in time is within the charging time validity period before the start of charging, then the charging operation of the electric vehicle is allowed based on the charging start time condition; if the plug-in time is outside the charging time validity period before the start of charging, then a reservation waiting is entered, and if the current actual time does not cross midnight during the reservation waiting process, then the charging operation of the electric vehicle is not allowed; if the current actual time crosses midnight during the reservation waiting process, then the charging operation of the electric vehicle is allowed when the reservation start time is reached.
[0153] In one possible implementation, the above-mentioned charging time validity period can be 6 hours.
[0154] In step 603, it is determined that the time of insertion is greater than or equal to the time of scheduled charging start time.
[0155] Optionally, it can be determined whether the time of plugging in is greater than or equal to the time of the scheduled charging start time. It should be noted that whether the plugging in time is before or after the scheduled charging start time will affect the method used to determine if the electric vehicle currently meets the time conditions for starting charging. Therefore, it is necessary to compare the time of plugging in with the time of the scheduled charging start time, and use different methods to determine whether the electric vehicle currently meets the time conditions for starting charging based on different comparison results.
[0156] In step 604, based on the plug-in time, the validity period of the charging time, and the time of the scheduled charging start time, it is determined whether the electric vehicle currently meets the time conditions for starting charging.
[0157] In some embodiments, if the hour minute of the plug-in time is greater than or equal to the hour minute of the scheduled charging start time, then it is determined whether the electric vehicle currently meets the time conditions for starting charging based on the hour minute of the scheduled charging start time, the hour minute of the plug-in time, and the charging time validity period.
[0158] In one implementation, it is determined that the plug-in time is less than or equal to the scheduled charging start time plus the charging time validity period, and the time does not cross midnight; if the hour-minute portion of the plug-in time is less than or equal to the sum of the hour-minute portion of the scheduled charging start time and a first threshold, it is determined that the electric vehicle currently meets the time condition for starting charging. As an example, the aforementioned charging time validity period can be 6 hours; the aforementioned first threshold can be 360, in minutes.
[0159] For example, when the hour and minute of the plug-in time are greater than or equal to the hour and minute of the scheduled charging start time, the system can determine this based on the user-set scheduled charging start time. If the clock count of the scheduled charging start time is greater than or equal to 0 and less than 18, it can be determined that the plug-in time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross midnight. In this case, it can be determined whether the hour and minute of the plug-in time are less than or equal to the sum of the hour and minute of the scheduled charging start time and 360. If the hour and minute of the plug-in time are less than or equal to the sum of the hour and minute of the scheduled charging start time and 360, it is determined that the electric vehicle currently meets the time conditions for starting charging.
[0160] In another implementation, the plug-in time is determined to be less than or equal to the scheduled charging start time plus the charging time validity period, and the time spans midnight. If the hour-minute portion of the plug-in time is less than or equal to a second threshold, or if the hour-minute portion of the plug-in time is greater than or equal to 0 and less than or equal to the difference between the hour-minute portion of the scheduled charging start time and a third threshold, the electric vehicle is determined to currently meet the time condition for starting charging. As an example, the second threshold can be 1439 in minutes; the third threshold can be the value of the charging time validity period converted from clock time to minutes, and the third threshold can be 1080 in minutes.
[0161] For example, when the hour and minute of the plug-in time are greater than or equal to the hour and minute of the scheduled charging start time, the system can determine this based on the user-set scheduled charging start time. If the clock count of the scheduled charging start time is greater than or equal to 18 and less than 24, it can be determined that the plug-in time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross midnight. If the hour and minute of the plug-in time are less than or equal to 1439, or if the hour and minute of the plug-in time are greater than or equal to 0 and less than or equal to the difference between the hour and minute of the scheduled charging start time and 1080, then it is determined that the electric vehicle currently meets the time conditions for starting charging.
[0162] Optionally, in some embodiments, if the plug-in time is greater than the scheduled charging start time plus the charging time validity period, a waiting period is initiated. If the waiting period crosses midnight, the charging gun is locked, and if the current actual time is greater than or equal to the scheduled charging start time, it is determined that the electric vehicle currently meets the time conditions for starting charging. Optionally, if the plug-in time is 6 hours after the charging start time, i.e., if the plug-in time is greater than the scheduled charging start time plus the charging time validity period, a waiting period is initiated, and charging is not performed on the electric vehicle. If the current actual time crosses midnight during the waiting period, the charging gun is locked, and if the current actual time is greater than or equal to the scheduled charging start time, it is determined that the electric vehicle currently meets the time conditions for starting charging, thus allowing charging to be performed on the electric vehicle.
[0163] Therefore, this embodiment mainly calculates the charging time from the start of charging to a certain period of time (such as 6 hours), taking into account the sudden change in actual time and minutes when crossing the zero point.
[0164] In this step, when it is determined that the electric vehicle currently meets the time conditions for starting charging, step 606 can be executed, that is, waking up the charging system to perform the charging operation on the electric vehicle.
[0165] In step 605, if the time of plugging in the charging gun is less than the time of the scheduled charging start time, then the current actual time is obtained. If the time of the current actual time is greater than or equal to the time of the scheduled charging start time, then the electric vehicle is determined to meet the time condition for starting charging.
[0166] In one implementation, when the time of plugging in the charging gun is less than the scheduled charging start time, the current actual time can be obtained, and it can be determined whether the time of the current actual time is greater than or equal to the scheduled charging start time. If the time of the current actual time is greater than or equal to the scheduled charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
[0167] In other words, if the plug-in time is before the scheduled charging start time (i.e., the plug-in time is less than the scheduled charging start time), then once the actual charging start time is reached... When the scheduled charging start time is set, it is determined that the electric vehicle currently meets the time conditions for starting charging, and step 606 is executed, which is to wake up the charging system to perform charging operations on the electric vehicle, such as immediately locking the start of charging until the charging gun is unplugged or the scheduled settings are changed.
[0168] Optionally, in some embodiments, step 605 is optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0169] In step 606, in response to the electric vehicle currently meeting the time condition for starting charging, the charging system is woken up to perform the charging operation on the electric vehicle.
[0170] In the embodiments of this disclosure, step 606 can be implemented in any of the ways described in the above embodiments, and no limitation is made here, nor will it be described in detail.
[0171] To help those skilled in the art more easily understand the time-division-only algorithm for timed charging until full charge, the following section combines... Figure 7 Provide a detailed description.
[0172] For example, such as Figure 7The diagram illustrates the calculation strategy for timed charging until full charge. This strategy is used when the scheduled charging type is set to timed charging, the scheduled charging start time is set, and the scheduled charging end type is set to full charge. This calculation strategy only considers hours and minutes, ignoring the year, month, and day. When the user plugs in the charging gun, the real-time time and minutes are obtained as the insertion time, and then compared with the scheduled charging start time. When the plug-in time reaches the scheduled charging start time and is within 6 hours of the scheduled charging start time, the system primarily determines the charging start time based on the user-set time. If 0 ≤ the clock count of the scheduled charging start time < 18, the system checks if the hour minute of the scheduled charging start time ≤ the hour minute of the plug-in time ≤ the hour minute of the scheduled charging start time + 360 (condition 1). Conversely, if 18 ≤ the clock count of the scheduled charging start time < 24, the system checks if the hour minute of the scheduled charging start time ≤ the hour minute of the plug-in time ≤ 1439 || 0 ≤ the hour minute of the plug-in time ≤ the hour minute of the scheduled charging start time - 1080 (condition 2). If either condition 1 or condition 2 is met, charging begins immediately. If neither condition 1 nor condition 2 is met, the system enters a waiting period. This calculation primarily determines whether charging can continue within 6 hours of the charging start time (TBD), taking into account the sudden change in the actual hour minute when crossing midnight.
[0173] In this example, if the plug-in time is 6 hours after the scheduled charging start time, such as Figure 7 As shown, when 0 ≤ the clock count of the scheduled charging start time < 18 (condition 3), if neither condition 1 nor condition 2 is met, and the actual time crosses midnight, then the time is latched until the charging gun is removed and reset (condition 4); (for example, if the scheduled charging start time is 5 PM, the charging gun is inserted at 7 PM, and the gun is not removed afterward, the schedule loops until 5 PM the next day when charging is required). If both conditions 3 and 4 are met, the time is immediately latched and charging begins until the gun is removed or the schedule setting is changed. If neither condition 3 nor condition 4 is met, the timer enters a waiting state.
[0174] In this example, if the plug-in time is before the scheduled charging start time, i.e. Figure 7 As shown, if the time of inserting the charging gun is less than the time of the scheduled charging start time (condition 5), then once the actual time is greater than or equal to the time of the scheduled charging start time, charging will be immediately latched and started until the charging gun is removed or the scheduled settings are changed.
[0175] In the embodiments of this disclosure, if the scheduled charging end type is "until full charge," the insertion time of the user (i.e., the electric vehicle inserting into the charging gun) is considered. Based on the scheduled charging start time and insertion time, it can be determined whether the electric vehicle currently meets the time condition for starting charging. If the electric vehicle currently meets the time condition for starting charging, the charging system is activated to perform the charging operation on the electric vehicle, thereby completing the reservation function. Furthermore, in the reservation timing calculation process, this disclosure avoids inaccurate reservation calculations due to lost network time synchronization messages or inaccurate network time synchronization date information, thus effectively ensuring the normal execution of the scheduled charging function. In addition, by considering only the time and minute for reservation timing calculation, computational efficiency and system response speed can be improved. There is no need to consider calculations spanning months, years, and various holidays, increasing the reservation timing calculation speed and saving controller memory load.
[0176] To further improve the accuracy of reservation control timing, this disclosure can combine two algorithms: one considering only the hour and minute, and the other considering the year, month, and day, with redundant verification, i.e., performing a secondary verification on the algorithm that only considers the hour and minute. Optionally, please refer to [link to relevant documentation]. Figure 8 , Figure 8 This is a flowchart illustrating another electric vehicle charging control method provided in this disclosure. It should be noted that this method can be applied to electric vehicles; as an example, the method can be executed by a domain controller on the electric vehicle. Figure 8 As shown, the method may include, but is not limited to, the following steps.
[0177] In step 801, the scheduled charging setting information is obtained, which includes the scheduled charging start time and the scheduled charging end type; wherein, the scheduled charging start time includes clock hours and minutes.
[0178] In the embodiments of this disclosure, step 801 can be implemented in any of the above embodiments, and no limitation is made here, nor will it be described in detail.
[0179] In step 802, the current actual time is obtained; the current actual time includes year, month, day, hour, and minute information.
[0180] Optionally, in the embodiments of this disclosure, when obtaining the scheduled charging setting information, it can be determined whether the scheduled charging type in the scheduled charging setting information is timed charging. If the scheduled charging type is timed charging, the current actual time can be obtained, which includes year, month, day, hour, and minute information.
[0181] In step 803, the date of the scheduled charging start time is determined based on the current actual date.
[0182] In other words, this embodiment adds a redundant algorithm that considers the year, month, and day for timed charging, and performs a secondary verification on the algorithm that only considers the hour and minute, thereby further improving the accuracy of the scheduled charging time. In this step, the year, month, and day of the current actual time can be used to determine the year, month, and day of the scheduled charging start time.
[0183] As an example of a possible implementation, the method for determining the year, month, and day of the scheduled charging start time based on the current actual time can be as follows: Determine if the scheduled charging settings have changed; if the settings have not changed, obtain the current actual time; determine the year, month, and day of the charging start time based on the hour and minute of the current actual time, the year, month, and day of the current actual time, and the hour and minute of the scheduled charging start time; if the hour and minute of the current actual time are greater than or equal to the sum of the hour and minute of the scheduled charging start time and a second threshold, and a charging gun removal or insertion event is triggered, obtain the removal time of the charging gun removal event and the insertion time of the charging gun insertion event; calculate a first value based on the year, month, and day of the charging start time, the removal time, and the insertion time; determine the number of days to be accumulated based on the first value, and determine the year, month, and day of the scheduled charging start time based on the year, month, and day of the charging start time and the number of days to be accumulated. As an example, the second threshold can be 360, in minutes.
[0184] In the embodiments of this disclosure, the calculation formula for the first numerical value is as follows:
[0185] T = ceil(max{min{(date of insertion - date of charging start), (date of removal - date of charging start)}, 0} / 1440)
[0186] Where T is the first value, ceil is the rounding function, min is the minimum value, and max is the maximum value.
[0187] Optionally, in some embodiments, if the hour and minute of the current actual time are less than the sum of the hour and minute of the scheduled charging start time and the second threshold, and / or if no event of unplugging or plugging in the charging gun is triggered, the year, month, and day of the charging start time shall be determined as the year, month, and day of the scheduled charging start time.
[0188] Optionally, in some embodiments, if the scheduled charging settings change, the current actual time (year, month, day) can be determined as the scheduled charging start time (year, month, day).
[0189] In step 804, if the current actual time (year, month, day, hour, minute) is greater than or equal to the scheduled charging start time (year, month, day, hour, minute), and the electric vehicle is plugged into the charging gun, it is determined that the electric vehicle currently meets the time conditions for starting charging.
[0190] In this embodiment, after determining the date and time of the scheduled charging start time, it can be determined whether the current actual time (date, hour, and minute) is greater than or equal to the date and time of the scheduled charging start time. If the current actual time (date, hour, and minute) is greater than or equal to the date and time of the scheduled charging start time, and the electric vehicle is plugged into the charging gun, it is determined that the electric vehicle currently meets the time conditions for starting charging. Optionally, if the current actual time (date, hour, and minute) is less than the date and time of the scheduled charging start time, it is determined that the electric vehicle currently does not meet the time conditions for starting charging, and thus enters a waiting period.
[0191] In step 805, in response to the electric vehicle currently meeting the time condition for starting charging, the charging system is woken up to perform the charging operation on the electric vehicle.
[0192] In the embodiments of this disclosure, step 805 can be implemented in any of the above embodiments, and no limitation is made here, nor will it be described in detail.
[0193] To facilitate understanding by those skilled in the art, the implementation method of combining two algorithms—one considering only time and the other considering year, month, and day—for redundancy checking is described below. Figure 9 Provide a detailed description.
[0194] For example, such as Figure 9 As shown, if a user sets a scheduled charging time and a scheduled charging start time (step 901), and there are no changes to the scheduled settings (step 902), since the user-set scheduled charging start time only includes hours and minutes, a redundant algorithm considering the year, month, and day can be added. A secondary verification can be performed on the algorithm that only considers hours and minutes to obtain the year, month, day, hour, and minute of the scheduled charging start time. This facilitates comparing the (Yr) month (Mth) day (Day) hour (Hr) minute (Min) of the scheduled charging start time with the current actual time to determine if the scheduled start time has been reached. The update strategy for the year, month, day, hour, and minute of the scheduled charging start time can be as follows: the year, month, and day of the charging start time can be calculated by comparing the current actual time with the scheduled charging start time. For example... Figure 9As shown, determine whether the current actual time is greater than the scheduled charging start time (step 903). If the current actual time is greater than the scheduled charging start time, then the day (Day) of the charging start time = the current actual time + 1, the month (Mth) of the charging start time = the month (Mth) corresponding to the current actual time + 1, and the year (Yr) of the charging start time = the year (Yr) corresponding to the current actual time + 1 (step 904). If the current actual time is less than or equal to the scheduled charging start time, then the day (Day) of the charging start time = the current actual time, the month (Mth) of the charging start time = the current actual time, and the year (Yr) of the charging start time = the current actual time (step 905).
[0195] like Figure 9 As shown, it is also necessary to determine whether the current actual time is less than or equal to the scheduled charging start time + 360 and whether a charging gun removal or insertion event has been triggered (step 906). If the current actual time is greater than or equal to the scheduled charging start time + 360 and a charging gun removal or insertion event has been triggered, then the first value T is calculated from the year, month, and day of the charging start time, the year, month, and day of the charging removal time, and the year, month, and day of the charging insertion time: T = ceil(max{min{(year, month, and day of the insertion time - year, month, and day of the charging start time), (year, month, and day of the charging removal time - year, month, and day of the charging start time)}, 0} / 1440) (step 907). Determine whether T equals 0 (step 908). If T equals 0, then the accumulated days need to be 1; if T does not equal 0, then the accumulated days need to be equal to T. If the current actual time is greater than or equal to the scheduled charging start time + 360 and a charging gun removal or insertion event has not been triggered, then the accumulated days need to be 0. Add the year, month, and day of the charging start time to the number of days to be accumulated, and then combine this with normalization calculation to obtain the new year, month, day, hour, and minute of the scheduled charging start time. That is, the minute (Min) of the scheduled charging start time = the minute (Min) of the scheduled charging start time, the hour (Hr) of the scheduled charging start time = the hour (Hr) of the scheduled charging start time, the day (Day) of the scheduled charging start time = the day (Day) of the charging start time + the Day after normalization of the number of days to be accumulated, the month (Mth) of the scheduled charging start time = the day (Day) of the charging start time + the Mth after normalization of the number of days to be accumulated, and the year (Yr) of the scheduled charging start time = the day (Day) of the charging start time + the Yr after normalization of the number of days to be accumulated (step 909).
[0196] like Figure 9As shown, after obtaining the new scheduled charging start time (year, month, day, hour, and minute), the new scheduled charging start time (year, month, day, hour, and minute) can be compared with the current actual time (year, month, day, hour, and minute) to determine whether the current actual time (year, month, day, hour, and minute) is greater than or equal to the scheduled charging start time (step 910). If the current actual time (year, month, day, hour, and minute) is greater than or equal to the scheduled charging start time (year, month, day, hour, and minute), charging will begin immediately after plugging in the charging gun and verifying that other charging conditions are met (step 911); otherwise, the system will enter a waiting period for charging.
[0197] like Figure 9 As shown, if the user sets a scheduled charging time and then changes any of the scheduled settings, the hour and minute of the scheduled charging start time will be equal to the scheduled start time and minute, and the year, month, and day of the scheduled charging start time will be equal to the current actual time (step 912). If the current actual time is greater than or equal to the scheduled charging start time and minute, the charging will begin immediately after plugging in the gun and other charging conditions are met (step 911); otherwise, the user will enter the scheduled waiting phase.
[0198] In this embodiment, by considering only the hour and minute for the reservation timing calculation, inaccurate calculations due to lost network time synchronization messages or inaccurate date and year information can be avoided, thus effectively ensuring the normal execution of the reservation charging function. Furthermore, calculating reservation timing by considering only the hour and minute improves calculation efficiency and system response speed, eliminating the need to consider calculations spanning months, years, and holidays, thereby increasing the speed of reservation timing calculations and reducing controller memory load. Additionally, this disclosure can combine both hour-minute-only and date-only algorithms for redundancy verification, i.e., performing secondary verification on the hour-minute-only algorithm, further improving the accuracy of reservation control timing.
[0199] Figure 10 This is a block diagram illustrating a charging control device for an electric vehicle according to an exemplary embodiment. It should be noted that, in the embodiments of this disclosure, the device is configured on an electric vehicle. (Refer to...) Figure 10 The device may include an acquisition module 1010, a determination module 1020, and a control module 1030.
[0200] The acquisition module 1010 is used to acquire scheduled charging setting information, which includes scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock count and minute count.
[0201] The determination module 1020 is used to determine whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and scheduled charging end type.
[0202] The control module 1030 is used to wake up the charging system to perform charging operations on the electric vehicle when the electric vehicle currently meets the time conditions for starting charging.
[0203] In one implementation, the determining module 1020 is specifically used to: when the scheduled charging end type is set to set a scheduled charging end time, obtain the insertion time of the electric vehicle into the charging gun and obtain the scheduled charging end time; wherein, the scheduled charging end time includes clock hours and minutes; when the hour and minute of the scheduled charging start time are less than the hour and minute of the scheduled charging end time, and when the hour and minute of the insertion time are greater than or equal to the hour and minute of the scheduled charging start time and less than or equal to the hour and minute of the scheduled charging end time, determine that the electric vehicle currently meets the time conditions for starting charging.
[0204] Optionally, in some embodiments, the determining module 1020 includes: a first acquiring unit, a first determining unit, and a second determining unit. The first acquiring unit is used to acquire the insertion time of the electric vehicle into the charging gun and the charging time validity period when the scheduled charging end type is "until full charge". The first determining unit is used to determine that the time of insertion is greater than or equal to the time of the scheduled charging start time. The second determining unit is used to determine whether the electric vehicle currently meets the time conditions for starting charging based on the insertion time, the charging time validity period, and the time of the scheduled charging start time.
[0205] In one possible implementation, the second determining unit is specifically used to: determine that the plugging time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross zero; and determine that the electric vehicle currently meets the time condition for starting charging when the hour portion of the plugging time is less than or equal to the sum of the hour portion of the scheduled charging start time and the first threshold.
[0206] In one possible implementation, the second determining unit is specifically used to: determine that the plug-in time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time spans zero; and determine that the electric vehicle currently meets the time condition for starting charging when the time fraction of the plug-in time is less than or equal to a second threshold, or when the time fraction of the plug-in time is greater than or equal to 0 and less than or equal to the difference between the time fraction of the scheduled charging start time and a third threshold.
[0207] In one possible implementation, the second determining unit is specifically used to: determine that the plugging time is greater than the scheduled charging start time plus the time after the charging time validity period, and enter the reservation waiting; if the time crosses midnight during the reservation waiting process, lock the charging gun, and when the hour and minute of the current actual time are greater than or equal to the hour and minute of the scheduled charging start time, determine that the electric vehicle currently meets the time condition for starting charging.
[0208] In one possible implementation, the determining module 1020 is specifically used to: obtain the insertion time of the electric vehicle into the charging gun when the scheduled charging end type is full charge; determine that the time of insertion is less than the time of scheduled charging start time, and obtain the current actual time; and determine that the electric vehicle currently meets the time condition for starting charging when the time of the current actual time is greater than or equal to the time of scheduled charging start time.
[0209] In some embodiments, the determining module 1020 includes a second acquiring unit, a third determining unit, and a fourth determining unit. The second acquiring unit is used to acquire the current actual time, which includes year, month, day, hour, and minute information. The third determining unit is used to determine the year, month, and day of the scheduled charging start time based on the year, month, and day of the current actual time. The fourth determining unit is used to determine that the electric vehicle currently meets the time conditions for starting charging if the year, month, day, hour, and minute of the current actual time are greater than or equal to the year, month, day, hour, and minute of the scheduled charging start time, and the electric vehicle is plugged into the charging gun.
[0210] In one possible implementation, the third determining unit is specifically used to: determine whether the scheduled charging settings information has changed; if the scheduled charging settings information has not changed, obtain the current actual time; determine the year, month, and day of the charging start time based on the hour and minute of the current actual time, the year, month, and day of the current actual time, and the hour and minute of the scheduled charging start time; if the hour and minute of the current actual time is greater than or equal to the sum of the hour and minute of the scheduled charging start time and a first threshold, and a charging gun removal or insertion event is triggered, obtain the removal time of the charging gun removal event and the insertion time of the charging gun insertion event; calculate a first value based on the year, month, and day of the charging start time, the year, month, and day of the removal time, and the year, month, and day of the insertion time; determine the number of days to be accumulated based on the first value, and determine the year, month, and day of the scheduled charging start time based on the year, month, and day of the charging start time and the number of days to be accumulated.
[0211] In one possible implementation, the formula for calculating the first value is as follows: T=ceil(max{min{(date of insertion - date of charging start),(date of removal - date of charging start)},0} / 1440); where T is the first value, ceil is the rounding function, min is the minimum value, and max is the maximum value.
[0212] In one optional implementation, the third determining unit is further configured to: if the scheduled charging settings information changes, determine the current actual time (year, month, day) as the scheduled charging start time (year, month, day).
[0213] In an optional implementation, the third determining unit is further configured to: determine the year, month, and day of the charging start time as the year, month, and day of the scheduled charging start time if the hour and minute of the current actual time is less than the sum of the hour and minute of the scheduled charging start time and the first threshold, and / or if no event of unplugging or plugging in the charging gun is triggered.
[0214] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0215] Figure 11 This is a block diagram illustrating an electric vehicle according to an exemplary embodiment. (Refer to...) Figure 11 The electric vehicle 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power component 1106, a multimedia component 1108, an audio component 1110, an input / output (I / O) interface 1112, a sensor component 1114, and a communication component 1116.
[0216] Processing component 1102 typically controls the overall operation of electric vehicle 1100, such as operations associated with vehicle control. Processing component 1102 may include one or more processors 1120, which may be integrated into the domain controller of electric vehicle 1100. These processors 1120 execute instructions to complete all or part of the steps described above. Furthermore, processing component 1102 may include one or more modules to facilitate interaction between processing component 1102 and other components. For example, processing component 1102 may include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102.
[0217] Memory 1104 is configured to store various types of data to support the operation of electric vehicle 1100. Examples of such data include instructions for any application or method operating on electric vehicle 1100, contact data, phone book data, etc. Memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0218] The power assembly 1106 provides power to various components of the electric vehicle 1100. The power assembly 1106 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the electric vehicle 1100.
[0219] The multimedia component 1108 includes a screen that provides an output interface between the electric vehicle 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation.
[0220] Audio component 1110 is configured to output and / or input audio signals. For example, audio component 1110 includes a microphone (MIC) configured to receive external audio signals when the electric vehicle 1100 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1104 or transmitted via communication component 1116. In some embodiments, audio component 1110 also includes a speaker for outputting audio signals.
[0221] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0222] Sensor assembly 1114 includes one or more sensors for providing state assessments of various aspects of the electric vehicle 1100. For example, sensor assembly 1114 may detect the open / closed state of a door of the electric vehicle 1100, the orientation of the electric vehicle 1100, or acceleration / deceleration. In some embodiments, sensor assembly 1114 may also include an accelerometer, a gyroscope, a magnetometer, a radar sensor, a pressure sensor, or a temperature sensor.
[0223] Communication component 1116 is configured to facilitate wired or wireless communication between electric vehicle 1100 and other devices. Electric vehicle 1100 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1116 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1116 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0224] In an exemplary embodiment, the electric vehicle 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0225] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, which can be executed by a processor 1120 of an electric vehicle 1100 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0226] In an exemplary embodiment, a computer program product is also provided, including a computer program that, when executed by a processor 1120 of an electric vehicle 1100, implements the steps of the method described in any of the above embodiments.
[0227] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0228] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A charging control method for electric vehicles, characterized in that, The method is applied to the electric vehicle, and the method includes: Obtain scheduled charging settings information, which includes scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock count and minute count; Based on the scheduled charging start time and the scheduled charging end type, determine whether the electric vehicle currently meets the time conditions for starting charging; In response to the electric vehicle currently meeting the time condition for starting charging, the charging system is activated to perform a charging operation on the electric vehicle; The step of determining whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type includes: If the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun and obtain the charging time validity period. The time interval of the insertion time is determined to be greater than or equal to the time interval of the scheduled charging start time; Based on the insertion time, the validity period of the charging time, and the time of the scheduled charging start time, it is determined whether the electric vehicle currently meets the time conditions for starting charging.
2. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time conditions for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes: It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time does not cross midnight; If the time of insertion is less than or equal to the sum of the time of the scheduled charging start time and the first threshold, it is determined that the electric vehicle currently meets the time condition for starting charging.
3. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time conditions for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes: It is determined that the insertion time is less than or equal to the scheduled charging start time plus the time after the charging time validity period, and the time spans across midnight; If the time of insertion is less than or equal to a second threshold, or if the time of insertion is greater than or equal to 0 and less than or equal to the difference between the time of the scheduled charging start time and a third threshold, the electric vehicle is determined to currently meet the charging start time condition.
4. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time conditions for starting charging based on the plug-in time, the charging time validity period, and the scheduled charging start time includes: Once it is determined that the insertion time is greater than the scheduled charging start time plus the time after the charging time validity period, the system enters the scheduled waiting phase. If the time for starting charging crosses midnight during the reservation waiting process, the charging gun is locked, and if the time of the current actual time is greater than or equal to the time of the reserved charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
5. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time condition for starting charging based on the scheduled charging start time and the scheduled charging end type further includes: When the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun; If the time of insertion is less than the time of scheduled charging start time, obtain the current actual time. If the hour and minute of the current actual time are greater than or equal to the hour and minute of the scheduled charging start time, it is determined that the electric vehicle currently meets the time condition for starting charging.
6. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time condition for starting charging based on the scheduled charging start time and the scheduled charging end type further includes: Obtain the current actual time, which includes year, month, day, hour, and minute information; Based on the current actual time (year, month, and day), determine the year, month, and day of the scheduled charging start time; If the current actual time (year, month, day, hour, minute) is greater than or equal to the scheduled charging start time (year, month, day, hour, minute), and the electric vehicle is plugged into the charging gun, then the electric vehicle currently meets the time condition for starting charging.
7. The method as described in claim 6, characterized in that, Determining the start date of the scheduled charging based on the current actual time includes: Determine whether the scheduled charging settings have been changed; If the scheduled charging settings have not changed, then obtain the current actual time; The charging start time (year, month, and day) is determined based on the hour and minute of the current actual time, the year, month, and day of the current actual time, and the hour and minute of the scheduled charging start time. If the hour and minute of the current actual time are greater than or equal to the sum of the hour and minute of the scheduled charging start time and the first threshold, and a charging gun removal or insertion event is triggered, the removal time of the charging gun removal event and the insertion time of the charging gun insertion event are obtained. Calculate the first value based on the year, month, and day of the charging start time, the year, month, and day of the gun removal time, and the year, month, and day of the gun insertion time; The number of days to be accumulated is determined based on the first value, and the date of the scheduled charging start time is determined based on the date of the charging start time and the number of days to be accumulated.
8. The method as described in claim 7, characterized in that, The formula for calculating the first value is as follows: T = ceil(max{min{(date of insertion - date of charging start), (date of removal - date of charging start)}, 0} / 1440) Where T is the first value, ceil is the rounding function, min is the minimum value, and max is the maximum value.
9. The method as described in claim 7, characterized in that, The method of determining the year, month, and day of the scheduled charging start time based on the current actual time also includes: If the scheduled charging settings change, the current actual time (year, month, day) will be determined as the start time (year, month, day) of the scheduled charging.
10. The method as described in claim 7, characterized in that, The method further includes: If the hour and minute of the current actual time are less than the sum of the hour and minute of the scheduled charging start time and the first threshold, and / or if no event of unplugging or plugging in the charging gun is triggered, the year, month, and day of the charging start time shall be determined as the year, month, and day of the scheduled charging start time.
11. The method as described in claim 1, characterized in that, The step of determining whether the electric vehicle currently meets the time condition for starting charging based on the scheduled charging start time and the scheduled charging end type further includes: When the scheduled charging end type is set to "schedule charging end time", the insertion time of the electric vehicle into the charging gun is obtained, and the scheduled charging end time is obtained; wherein, the scheduled charging end time includes clock hours and minutes. If the time of the scheduled start time of charging is less than the time of the scheduled end time of charging, and the time of plugging in the charging gun is greater than or equal to the time of the scheduled start time of charging and less than or equal to the time of the scheduled end time of charging, then the electric vehicle is determined to currently meet the time conditions for starting charging.
12. A charging control device for electric vehicles, characterized in that, The device is configured in the electric vehicle, and the device includes: The acquisition module is used to acquire scheduled charging setting information, which includes scheduled charging start time and scheduled charging end type; wherein, the scheduled charging start time includes clock count and minute count; The determining module is used to determine whether the electric vehicle currently meets the time conditions for starting charging based on the scheduled charging start time and the scheduled charging end type. The control module is used to wake up the charging system to perform a charging operation on the electric vehicle when the electric vehicle currently meets the time condition for starting charging. The determining module is specifically used for: If the scheduled charging end type is "until full charge", obtain the insertion time of the electric vehicle into the charging gun and obtain the charging time validity period. The time interval of the insertion time is determined to be greater than or equal to the time interval of the scheduled charging start time; Based on the insertion time, the validity period of the charging time, and the time of the scheduled charging start time, it is determined whether the electric vehicle currently meets the time conditions for starting charging.
13. An electric vehicle, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electric vehicle, the electric vehicle is able to perform the method as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Reserved charging method for automobile, TBOX, computer readable storage medium and charging system
CN110071338A
Electric vehicle charging control method and device, electronic equipment and storage medium
CN116061739A