Disclosure of Invention
The embodiment of the invention provides a charging control method, and aims to charge according to a charging mode preset by a client when the client wants to change the charging mode and forgets to pull out a charging gun connected in advance, so that charging can be performed according to the intention of the client, and the vehicle using experience of the client is improved.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a charging control method, where the charging control method includes:
detecting the connection type of the charging gun;
when the connection type of the charging gun is that a slow charging gun and a fast charging gun are connected simultaneously, acquiring preset charging mode information;
determining a charging mode according to the preset charging mode information, wherein the charging mode is a fast charging mode or a slow charging mode;
and charging by adopting the determined fast charging mode or slow charging mode.
Optionally, the preset charging mode information includes: the fast charging priority and the slow charging priority;
the step of determining a charging mode according to the preset charging mode information includes:
if the preset charging mode information is a quick charging priority, determining that the charging mode is a quick charging mode;
and if the preset charging mode information is a slow charging priority, determining that the charging mode is a slow charging mode.
Optionally, before the step of detecting a charging gun connection type, the method further comprises:
receiving preset charging mode information input by a user;
storing the preset charging mode information locally;
the step of acquiring the preset charging mode information includes:
and acquiring the preset charging mode information which is stored in the local at the last time.
Optionally, after the step of detecting a charging gun connection type, the charging control method further includes:
when the connection type of the charging gun is that only a slow charging gun is connected, directly determining that the charging mode is a slow charging mode;
the step of charging in the determined fast charging mode or slow charging mode comprises:
and charging by adopting the slow charging mode.
Optionally, after the step of detecting a charging gun connection type, the charging control method further includes:
when the connection type of the charging gun is that only a quick charging gun is connected, directly determining that the charging mode is a quick charging mode;
the step of charging in the determined fast charging mode or slow charging mode comprises:
and charging by adopting the quick charging mode.
In a second aspect, an embodiment of the present invention provides a charge control device, including:
the detection module is used for detecting the connection type of the charging gun;
the acquisition module is used for acquiring preset charging mode information when the connection type of the charging gun is that a slow charging gun and a fast charging gun are connected simultaneously;
the first determining module is used for determining a charging mode according to the preset charging mode information, wherein the charging mode is a fast charging mode or a slow charging mode;
and the charging module is used for charging in the determined fast charging mode or the determined slow charging mode.
Optionally, the preset charging mode information includes: fast charging and slow charging are preferred;
the first determining module includes:
the first determining submodule is used for determining that the charging mode is a quick charging mode if the preset charging mode information is quick charging priority;
and the second determining submodule is used for determining that the charging mode is a slow charging mode if the preset charging mode information is a slow charging priority.
Optionally, before the detecting module, the apparatus further comprises:
the receiving module is used for receiving preset charging mode information input by a user;
the storage module is used for storing the preset charging mode information locally;
the acquisition module includes:
and the acquisition submodule is used for acquiring the preset charging mode information which is stored in the local at the last time.
Optionally, after the detecting module, the charging control apparatus further includes:
the second determination module is used for directly determining that the charging mode is the slow charging mode when the connection type of the charging gun is that only the slow charging gun is connected;
the charging module includes:
and the first charging submodule is used for charging in the slow charging mode.
Optionally, after the detecting module, the charging control apparatus further includes:
the second determination module is used for directly determining that the charging mode is the quick charging mode when the connection type of the charging gun is that only the quick charging gun is connected;
the charging module includes:
and the second charging submodule is used for charging by adopting the quick charging mode.
In a third aspect, an embodiment of the present invention additionally provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the charging control method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the charging control method according to the first aspect are implemented.
According to the invention, by detecting the connection type of the charging gun, when the connection type of the charging gun is that a slow charging gun and a fast charging gun are connected simultaneously, the preset charging mode information is obtained, the charging mode is determined according to the preset charging mode information, and finally the charging mode is adopted for charging. Through the method, when a customer wants to change the charging mode and forgets to pull out the charging gun connected firstly, namely the slow charging gun and the fast charging gun are connected simultaneously, the charging can be carried out according to the charging mode preset by the customer, so that the charging can be carried out according to the wish of the customer, and the vehicle using experience of the customer is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the phenomenon of energy shortage is increasingly obvious, the call for developing new energy is stronger and stronger in all countries in the world, and China is to strongly support the development of the new energy automobile industry through various policies. For a new energy vehicle, the unique charging function of the new energy vehicle is more and more concerned and loved by people, along with the increasing development of new energy vehicle technology, the vehicle endurance mileage is more and more concerned by people, along with the increase of the new energy vehicle endurance mileage, the capacity of a power battery pack on the new energy vehicle is increased, and the problem of long charging time is accompanied, so that in order to meet the requirements of more customers, the new energy vehicle is additionally provided with a direct-current quick charging function on the basis of the original slow charging function, so that the power battery pack can be charged more quickly, and the requirements of the customers are met.
In the related art, for an externally-insertable charging vehicle with both fast charging and slow charging functions, the vehicle is charged in the current charging mode when only one charging gun is connected to the vehicle, that is: slowly charging when the slow charging gun is connected, and quickly charging when the quick charging gun is connected;
the unable automatic identification of vehicle when filling the rifle slowly and filling the rifle simultaneously and connecting soon can only use the rifle that charges that connects successfully earlier to charge as the standard, promptly: firstly connecting the slow charging gun and then connecting the fast charging gun, and then charging in a slow charging mode; connect the rifle that charges soon earlier and connect the rifle that charges slowly, just charge with the slow mode.
If a customer wants to change the charging mode and forgets to pull out the charging gun connected first, the vehicle cannot be charged according to the wishes of the customer, and customer complaints are easily caused (for example, after the customer connects the slow charging gun first, the customer connects the fast charging gun to charge in the fast charging mode, but forgets to cut off the slow charging gun, so that the vehicle continues to charge in the slow charging mode), and after-sales problems are caused.
In order to overcome the problems, the application provides a charging control method, which aims to charge according to a charging mode preset by a client when the client wants to change the charging mode and forgets to pull out a charging gun connected in advance, so that the charging is carried out according to the intention of the client, and the vehicle using experience of the client is improved.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a charging control method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step S101: and detecting the connection type of the charging gun.
In this embodiment, the accessible vehicle-mounted charge controller detects the connection type of the rifle that charges, and wherein, the connection type of the rifle that charges can be divided into only to fill the rifle slowly and connect, only fill the rifle soon and connect and fill the rifle slowly and fill the rifle simultaneously soon.
Step S102: and when the connection type of the charging gun is that the slow charging gun and the fast charging gun are connected simultaneously, acquiring preset charging mode information.
In this embodiment, when it is detected that the connection type of the charging gun is that the slow charging gun and the fast charging gun are connected at the same time, the preset charging mode information needs to be acquired, where the preset charging mode information is preset information about the selection of the charging mode.
Step S103: and determining a charging mode according to the preset charging mode information, wherein the charging mode is a fast charging mode or a slow charging mode.
In this embodiment, the preset charging mode information is preset information about the selection of the charging mode, and the charging mode can be determined to be a fast charging mode or a slow charging mode according to the preset charging mode information.
Step S104: and charging by adopting the determined fast charging mode or slow charging mode.
In this embodiment, after the specific charging mode is determined, the vehicle may be charged in the fast charging mode or the slow charging mode according to the determined charging mode.
In the embodiment of the invention, by detecting the connection type of the charging gun, when the connection type of the charging gun is that the slow charging gun and the fast charging gun are connected simultaneously, the preset charging mode information is obtained, the charging mode is determined according to the preset charging mode information, and finally the charging mode is adopted for charging. Through the method, when a customer wants to change the charging mode and forgets to pull out the charging gun connected firstly, namely the slow charging gun and the fast charging gun are connected simultaneously, the charging can be carried out according to the charging mode preset by the customer, so that the charging can be carried out according to the wish of the customer, and the vehicle using experience of the customer is improved.
Referring to fig. 2, fig. 2 is a control flow diagram of a charging control method according to an embodiment of the present invention, as shown in fig. 2, in a possible implementation manner, the preset charging mode information includes: fast charging and slow charging are preferred;
the step S103 specifically includes:
if the preset charging mode information is a quick charging priority, determining that the charging mode is a quick charging mode;
and if the preset charging mode information is a slow charging priority, determining that the charging mode is a slow charging mode.
In this embodiment, in fig. 2, the OBC is a vehicle-mounted charging controller, the preset charging mode information may include a slow charging priority and a fast charging priority, and when the obtained preset charging mode information is the fast charging priority, it may be determined that the charging mode is the fast charging mode, specifically, an association relationship between the preset charging mode information and the charging mode may be established, for example, the fast charging priority is associated with the fast charging mode, and the slow charging priority is associated with the slow charging mode, and when the preset charging mode information is obtained, the charging mode may be determined.
In a possible implementation, before step S101, the method further includes:
receiving preset charging mode information input by a user;
storing the preset charging mode information locally;
the step of acquiring the preset charging mode information includes:
and acquiring the preset charging mode information which is stored in the local at the last time.
In this embodiment, before the step of detecting the connection type of the charging gun, it is necessary to receive the preset charging mode information input by the user, where the preset charging mode information includes a fast charging priority and a slow charging priority, and specifically, the user may set the charging mode through a HUT (vehicle-mounted host) so as to charge according to the intention of the user. After receiving the preset charging mode information input by the user, the preset charging mode information is stored locally, specifically, the HUT (vehicle-mounted host) sends the preset charging mode information to the VCU (vehicle control unit), so that the preset charging mode information is stored through the VCU.
The user can change the preset charging mode information at any time according to the self requirement to change the charging form, and the user changes the preset charging mode information in the charging process and charges in the charging mode corresponding to the changed preset charging mode information in the next charging cycle. Specifically, when the preset charging mode information is stored, for each preset charging mode information, a storage time may be associated, or an identifier of the newly stored preset charging mode information may be identified, or the last stored preset charging mode information may be directly replaced with the latest preset charging mode information, so that when the connection type of the charging gun is that the slow charging gun and the fast charging gun are connected at the same time, the last stored local preset charging mode information may be acquired.
In one possible embodiment, after step S101, the charging control method further includes:
when the connection type of the charging gun is that only a slow charging gun is connected, directly determining that the charging mode is a slow charging mode;
the step of charging in the determined fast charging mode or slow charging mode comprises:
and charging by adopting the slow charging mode.
In this embodiment, when it is detected that the connection type of the charging gun is only the slow charging gun connection, the charging gun can only be used for charging at this time, so that the charging mode can be directly determined to be the slow charging mode without determining the charging mode through the preset charging mode information, then the vehicle is charged in the determined slow charging mode, and at this time, the vehicle is charged only by using the slow charging gun, and the fast charging gun does not work.
In one possible embodiment, after step S101, the charging control method further includes:
when the connection type of the charging gun is that only a quick charging gun is connected, directly determining that the charging mode is a quick charging mode;
the step of charging in the determined fast charging mode or slow charging mode comprises:
and charging by adopting the quick charging mode.
In this embodiment, when it is detected that the connection type of the charging gun is only the quick charging gun connection, the charging gun can only be used for charging at this time, so that the charging mode can be directly determined as the quick charging mode without determining the charging mode through the preset charging mode information, then the vehicle is charged in the determined quick charging mode, and at this time, only the quick charging gun is used for charging the vehicle, and the slow charging gun does not work.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a charging connection determination method according to an embodiment of the present invention, as shown in fig. 3, wherein CC is vehicle control device connection confirmation, CP is ac power on confirmation, PE is ground, L is three-phase current "U", N is three current "neutral", DC +: DC positive, DC negative, PE is ground, S +: CAN high, S-: CAN low, CC1': charging connection confirmation, CC2: charging connection confirmation, a +:12V +, a-: 12V-. When the connection type of the charging gun is detected, whether a slow charging gun is connected or not can be confirmed by detecting the resistance value of CC1, whether a fast charging gun is connected or not can be confirmed by detecting the resistance value of CC2, and after the slow charging gun is connected, the OBC detects the resistance value of CC1 and sends the resistance value to the VCU to confirm the connection of the slow charging gun; the VCU confirms the resistance value of CC2 and judges whether the quick charging gun is connected or not; and further the condition that the slow charging gun and the fast charging gun are connected at the same time can be confirmed.
Referring to fig. 4, fig. 4 is a schematic diagram of a charging control device according to an embodiment of the present invention, and as shown in fig. 4, based on the same inventive concept, an embodiment of the present invention provides a charging control device, including:
thedetection module 401 is used for detecting the connection type of the charging gun;
an obtainingmodule 402, configured to obtain preset charging mode information when the connection type of the charging gun is that a slow charging gun and a fast charging gun are connected at the same time;
a first determiningmodule 403, configured to determine a charging mode according to the preset charging mode information, where the charging mode is a fast charging mode or a slow charging mode;
acharging module 404, configured to perform charging in the determined fast charging mode or slow charging mode.
Optionally, the preset charging mode information includes: fast charging and slow charging are preferred;
the first determining module includes:
the first determining submodule is used for determining that the charging mode is a quick charging mode if the preset charging mode information is quick charging priority;
and the second determining submodule is used for determining that the charging mode is a slow charging mode if the preset charging mode information is a slow charging priority.
Optionally, before the detecting module, the apparatus further comprises:
the receiving module is used for receiving preset charging mode information input by a user;
the storage module is used for storing the preset charging mode information locally;
the acquisition module includes:
and the acquisition submodule is used for acquiring the preset charging mode information which is stored in the local at the last time.
Optionally, after the detecting module, the charging control apparatus further includes:
the second determination module is used for directly determining that the charging mode is the slow charging mode when the connection type of the charging gun is that only the slow charging gun is connected;
the charging module includes:
and the first charging submodule is used for charging in the slow charging mode.
Optionally, after the detecting module, the charging control apparatus further includes:
the second determination module is used for directly determining that the charging mode is the quick charging mode when the connection type of the charging gun is that only the quick charging gun is connected;
the charging module includes:
and the second charging submodule is used for charging by adopting the quick charging mode.
According to the invention, by detecting the connection type of the charging gun, when the connection type of the charging gun is that a slow charging gun and a fast charging gun are connected simultaneously, the preset charging mode information is obtained, the charging mode is determined according to the preset charging mode information, and finally the charging mode is adopted for charging. Through the method, when a customer wants to change the charging mode and forgets to pull out the charging gun connected firstly, namely the slow charging gun and the fast charging gun are connected simultaneously, the charging can be carried out according to the charging mode preset by the customer, so that the charging can be carried out according to the wish of the customer, and the vehicle using experience of the customer is improved.
Fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present invention, and as shown in fig. 5, the present application further provides an electronic device, including:
aprocessor 51;
amemory 52 having instructions stored thereon, and a computer program stored on the memory and executable on the processor, which when executed by theprocessor 51, causes the apparatus to perform an engine torque transient response method.
The present application also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by aprocessor 51 of an electronic device, enables the electronic device to perform a method of implementing an engine torque transient response as described.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The charging control method, the charging control apparatus, the electronic device and the readable storage medium provided by the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.