CN114750597B - Mode switching method and device, electronic equipment and storage medium - Google Patents

Mode switching method and device, electronic equipment and storage medium

Info

Publication number
CN114750597B
CN114750597B CN202210440689.4A CN202210440689A CN114750597B CN 114750597 B CN114750597 B CN 114750597B CN 202210440689 A CN202210440689 A CN 202210440689A CN 114750597 B CN114750597 B CN 114750597B
Authority
CN
China
Prior art keywords
signal
wake
charging
electric automobile
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210440689.4A
Other languages
Chinese (zh)
Other versions
CN114750597A (en
Inventor
范永臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hozon New Energy Automobile Co Ltd
Original Assignee
Hozon New Energy Automobile Co Ltd
Filing date
Publication date
Application filed by Hozon New Energy Automobile Co Ltd filed Critical Hozon New Energy Automobile Co Ltd
Priority to CN202210440689.4A priority Critical patent/CN114750597B/en
Publication of CN114750597A publication Critical patent/CN114750597A/en
Application granted granted Critical
Publication of CN114750597B publication Critical patent/CN114750597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application relates to the technical field of vehicle control, and discloses a mode switching method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal; if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out; and after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode. In this embodiment, through the prompt of whether to charge, after receiving the information representing that the electric vehicle is not charged, it is determined that the charging connection signal is abnormal, and the electric vehicle is controlled to enter a driving mode, so that the electric vehicle can be started to run normally.

Description

Mode switching method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of vehicle control technologies, and in particular, to a mode switching method, a mode switching device, an electronic device, and a storage medium.
Background
Along with the development of science and technology, electric vehicles are becoming more popular, and belong to new energy vehicles, and are driven to run by using electric energy as a power source through an electric motor. The whole vehicle control mode of the electric automobile comprises a parking mode, a driving mode and a charging mode.
In the related art, mode switching is performed based on a controller area network (Controller Area Network, CAN) signal. However, CAN signals sometimes experience anomalies, resulting in an inability to accurately switch modes.
Disclosure of Invention
The application provides a mode switching method, a mode switching device, electronic equipment and a storage medium, which are used for accurately switching modes.
In a first aspect, an embodiment of the present application provides a mode switching method, where the method includes:
Responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out;
and after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode.
According to the scheme, after the information representing the driving mode is received, whether the charging wake-up signal of the electric automobile represents wake-up or not and whether the charging connection signal of the electric automobile represents connection or not are determined; if the charging wake-up signal is characterized by not waking up, and the charging connection signal is characterized by being connected, the probability of abnormal charging connection signals caused by the problems of wiring harnesses and the like is higher, so that prompt on whether to charge is needed, after information representing that the charging is not performed is received, the abnormal charging connection signals are determined, and the electric automobile is controlled to enter a driving mode, so that the electric automobile can be started to run normally, and the utilization rate and the robustness of the electric automobile are improved.
In some alternative embodiments, the method further comprises:
When the electric automobile is in a driving mode, if a pulse width modulation (Pulse Width Modulation, PWM) wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
According to the scheme, the redundancy detection of the slow charge related signals is carried out, if the PWM wave signal is detected, the slow charge wake-up signal is used for representing wake-up, the slow charge connection signal is used for representing connection, the fact that the electric automobile has real slow charge needs is explained, and if the current speed of the electric automobile is smaller than the preset speed at this time, the electric automobile is controlled to enter a slow charge mode, the occurrence of emergency stop of the electric automobile is reduced, and the driving safety is improved.
In some optional embodiments, before controlling the electric vehicle to enter the slow charge mode, it is determined that at least one of:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
According to the scheme, redundancy detection is performed on the quick charge related signals, as long as the handshake failure of the communication handshake message flag bit representation is met, one of the quick charge wake-up signal representation and the quick charge connection signal representation is not connected can be normally and slowly charged, the real slow charge requirement when the quick charge mode is entered is ensured, and the quick charge requirement is not met.
In some alternative embodiments, the method further comprises:
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
According to the scheme, when the electric automobile is in the driving mode, the redundancy detection of the quick charge related signals is carried out, if the communication handshake message flag bit representation handshake is detected to be successful, the quick charge wakeup signal representation is awakened, the quick charge connection signal representation is connected, the fact that the electric automobile is required to be charged really is indicated, if the current speed of the electric automobile is smaller than the preset speed at this time, the electric automobile is controlled to enter the quick charge mode, the emergency stop of the electric automobile is reduced, and the driving safety is improved. When the electric automobile is in a slow charging mode, the redundancy detection of the quick charging related signals is also carried out, if the communication handshake message flag bit is detected to be successful in characteristic handshake, the quick charging wake-up signal is used for indicating that the electric automobile has a real quick charging requirement, the electric automobile is controlled to enter the quick charging mode, and the real quick charging requirement when entering the quick charging mode is ensured.
In some optional embodiments, after determining whether the charging wake-up signal of the electric vehicle characterizes wake-up and whether the charging connection signal of the electric vehicle characterizes connection, further comprising:
and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
Above-mentioned scheme, when the wakeup signal characterization that charges is not awakened, and the connection signal characterization that charges is not connected, confirm that electric automobile does not have the demand of charging, and the connection signal that charges is normal to control electric automobile accurately and get into driving mode.
In a second aspect, an embodiment of the present application provides a mode switching device, including:
The signal determining module is used for responding to the information representing the driving mode and determining whether a charging wake-up signal of the electric automobile represents wake-up or not and whether a charging connection signal of the electric automobile represents connection or not; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
The prompting module is used for prompting whether the charging wake-up signal represents non-wake-up and the charging connection signal represents connection or not;
and the control module is used for controlling the electric automobile to enter a driving mode after receiving the information representing uncharged state.
In some alternative embodiments, the control module is further configured to:
When the electric automobile is in a driving mode, if a PWM wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
In some optional embodiments, before the control module controls the electric vehicle to enter the slow charge mode, the control module is further configured to determine that at least one of the following is satisfied:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
In some alternative embodiments, the control module is further configured to:
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
In some optional embodiments, after the signal determination module determines whether a charging wake-up signal of an electric vehicle characterizes wake-up and whether a charging connection signal of the electric vehicle characterizes connection, the control module is further configured to:
and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the mode switching method of any of the first aspects.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the mode switching method according to any one of the first aspects.
In addition, the technical effects caused by any implementation manner of the second aspect to the fourth aspect may refer to the technical effects caused by different implementation manners of the first aspect, which are not described herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system architecture diagram provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a first mode switching method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a second mode switching method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a mode switching device according to an embodiment of the present application;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, unless explicitly stated and limited otherwise, the term "coupled" is to be interpreted broadly, as for example, directly coupled, indirectly coupled through an intervening medium, and as an internal communication between two devices. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
The whole vehicle control mode of the electric automobile comprises a parking mode, a driving mode and a charging mode. Referring to fig. 1, the electronic device performs signal interaction with a Battery management system (Battery MANAGEMENT SYSTEM, BMS), an On Board Charger (OBC), and a fast charging pile, wherein a fast charging wake-up signal triggered by the fast charging pile and a slow charging wake-up signal triggered by the OBC are hard line signals, and information (key On electrical signal) representing a driving mode is also the hard line signals, and other signals are CAN signals.
The electronic device is a device for controlling the electric automobile, and in implementation, the control device may be a whole automobile controller (Vehicle control unit, VCU).
The BMS acquires a quick charging connection signal (CC 2) of the quick charging gun, the CC2 represents whether the quick charging gun is connected or not, and meanwhile, the BMS performs CAN signal interaction with the quick charging pile;
The OBC acquires a slow charging connection signal (CC) and a charging control signal (CP) of the slow charging pile, wherein the CC represents whether a slow charging gun is connected or not, and the CP signal represents the power supply capacity of the slow charging pile and is a signal in a PWM wave form;
The quick charging pile sends a quick charging wake-up signal to the electronic equipment, and CAN interact with the BMS through CAN signals.
The CAN signal sometimes becomes abnormal, resulting in failure to perform mode switching accurately. For example: when the driving mode needs to be entered, the charging connection signal may be abnormal, so that the driving mode cannot be entered normally.
Based on this, the embodiment of the application provides a mode switching method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal; if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out; and after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode.
According to the scheme, after the information representing the driving mode is received, whether the charging wake-up signal of the electric automobile represents wake-up or not and whether the charging connection signal of the electric automobile represents connection or not are determined; if the charging wake-up signal is characterized by not waking up, and the charging connection signal is characterized by being connected, the probability of abnormal charging connection signals caused by the problems of wiring harnesses and the like is higher, so that prompt on whether to charge is needed, after information representing that the charging is not performed is received, the abnormal charging connection signals are determined, and the electric automobile is controlled to enter a driving mode, so that the electric automobile can be started to run normally, and the utilization rate and the robustness of the electric automobile are improved.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems with reference to the drawings and specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
The embodiment of the application provides a first mode switching method, as shown in fig. 2, which may include:
Step S201: and responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection.
If the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal.
In implementation, the charging connection signal may be abnormal (for example, the charging gun is not connected in the charging port of the whole vehicle, but the charging connection signal represents connection), if the charging connection signal represents connection, the electric vehicle cannot normally start to run without entering the driving mode. While the charge connection signal is abnormal, but in practice there is no charge, the charge wake-up signal is typically indicative of not waking up. Based on this, the embodiment determines whether the charging wake-up signal of the electric vehicle represents wake-up and whether the charging connection signal of the electric vehicle represents connection after receiving the information representing the driving mode.
For example, the slow charge is ac charge, slow charge wake signal=12v, characterizing wake, slow charge wake signal=0v, characterizing no wake; slow charge connection signal = 12V, characterizing connection, slow charge connection signal = 0V, characterizing disconnection;
the rapid charging is direct-current charging, the rapid charging wake-up signal=12v, the characteristic wake-up is that the rapid charging wake-up signal=0v, and the characteristic wake-up is that the rapid charging is not performed; quick charge connect signal = 12V, characterizing connect, quick charge connect signal = 0V, characterizing disconnect.
Step S202: if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out.
As described above, the charging connection signal may be abnormal due to a wire harness or the like, but the charging wake-up signal is generally indicative of not waking up when no charging is actually performed. Therefore, when the charging wake-up signal is characterized as not being waken up and the charging connection signal is characterized as being connected, the probability of the abnormal charging connection signal caused by the problems of wire harnesses and the like is relatively high, and prompt on whether to charge is needed, so that a user can further confirm whether to charge.
The specific implementation manner of the prompt for whether to charge is not limited in this embodiment, for example, an interface including "please confirm whether to charge" is displayed through a display screen of the electric vehicle, or a voice of "please confirm whether to charge" is broadcasted, etc.
Step S203: and after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode.
In this embodiment, if the information indicating that the electric vehicle is not charged is received, it indicates that the user has confirmed that the electric vehicle is not charged, and the charging connection signal indicates that the connection is caused by an abnormality of the charging connection signal, so as to control the electric vehicle to enter the driving mode.
The specific implementation manner of triggering the information representing the uncharged information is not limited, for example, a display screen of the electric automobile displays a prompt of whether to charge in a mode of containing an interface of 'please confirm whether to charge', and a user triggers the information representing the uncharged information by clicking a key of 'uncharged' in the interface; if the prompt of whether to charge is performed by broadcasting the voice of 'please confirm whether to charge', the user triggers the information representing the uncharged state by inputting the voice of 'uncharged state'.
According to the scheme, after the information representing the driving mode is received, whether the charging wake-up signal of the electric automobile represents wake-up or not and whether the charging connection signal of the electric automobile represents connection or not are determined; if the charging wake-up signal is characterized by not waking up, and the charging connection signal is characterized by being connected, the probability of abnormal charging connection signals caused by the problems of wiring harnesses and the like is higher, so that prompt on whether to charge is needed, after information representing that the charging is not performed is received, the abnormal charging connection signals are determined, and the electric automobile is controlled to enter a driving mode, so that the electric automobile can be started to run normally, and the utilization rate and the robustness of the electric automobile are improved.
In some alternative embodiments, the mode switching method further comprises the steps of:
When the electric automobile is in a driving mode, if a PWM wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
In the implementation, if the speed of the electric vehicle is high during the running process of the electric vehicle, the electric vehicle suddenly enters a slow charging mode, the vehicle can lose power, and the electric vehicle runs on a highway at high risk and has the risk of being knocked into the rear.
In addition, only the slow charging connection signal represents connection, and the abnormal situation of the slow charging connection signal caused by the problems of wire harnesses and the like can occur.
Based on the above, the embodiment performs redundancy detection of the slow charge related signals, if the PWM wave signal is detected, the slow charge wake-up signal is used for representing wake-up, and the slow charge connection signal is used for representing connection, so that the electric automobile has real slow charge requirements, and if the current speed of the electric automobile is smaller than the preset speed at this time, the electric automobile is controlled to enter a slow charge mode, the occurrence of emergency stop of the electric automobile is reduced, and the running safety is improved.
In some optional embodiments, before the controlling the electric vehicle to enter the slow charging mode, it is determined that at least one of the following is satisfied:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
In implementation, the priority of the fast charging mode is higher than that of the slow charging mode, in the slow charging process of the electric automobile, if a fast charging related signal is abnormal or the fast charging gun is inserted by mistake, the electric automobile can end the slow charging function to conduct power down, at the moment, the slow charging is ended, the fast charging is not started, the electric automobile is not fully charged, and the trip is influenced.
Based on this, the embodiment performs redundancy detection on the fast-charging related signal, so long as the handshake failure of the communication handshake message flag bit is satisfied, the fast-charging wake-up signal is characterized by not being woken up, and one of the fast-charging connection signal is characterized by not being connected, the fast-charging related signal can be normally and slowly charged, so that the real slow-charging requirement is ensured when the fast-charging mode is entered, and the fast-charging requirement is not satisfied.
In some alternative embodiments, the mode switching method further comprises the steps of:
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
In the implementation, if the speed of the electric automobile is high during the running process of the electric automobile, the electric automobile suddenly enters a fast mode, the automobile can lose power, and the electric automobile runs on a highway at a very dangerous speed, so that the electric automobile has the risk of being knocked into the rear.
In addition, only the quick charge connection signal represents connection, and the abnormal situation of the quick charge connection signal caused by the problems of wiring harness and the like can occur.
Based on this, the embodiment carries out the redundant detection of the quick charge related signal, if the communication handshake message flag bit representation handshake is detected to be successful, the quick charge wake-up signal representation wakes up, and the quick charge connection signal representation is connected, so that the electric automobile has real quick charge requirements, and if the current speed of the electric automobile is smaller than the preset speed at this time, the electric automobile is controlled to enter the quick charge mode, the occurrence of the emergency stop of the electric automobile is reduced, and the running safety is improved.
In implementation, the priority of the fast charging mode is higher than that of the slow charging mode, only the fast charging connection signals are used for representing connection, and the situation that the fast charging connection signals are abnormal due to the problems of wiring harnesses and the like can occur. At this time, although the slow charging is finished, the fast charging is not started, so that the electric automobile is not fully charged, and the travel is influenced.
Based on this, the embodiment performs the redundancy detection of the quick charge related signal, if the communication handshake message flag bit is detected to be successful in the handshake, the quick charge wake-up signal is characterized to be waken, and the quick charge connection signal is characterized to be connected, which indicates that the electric automobile has a real quick charge requirement, controls the electric automobile to enter a quick charge mode, and ensures the real quick charge requirement when entering the quick charge mode.
The embodiment of the application provides a second mode switching method, as shown in fig. 3, which may include:
step S301: and responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection.
If the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal.
The specific implementation of step S301 may refer to the above embodiment, and will not be described herein.
Step S302: and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
In implementation, if the charging wake-up signal is characterized by not waking up and the charging connection signal is characterized by not being connected, the electric automobile is not required to be charged, and the charging connection signal is normal.
Based on this, in this embodiment, if the charging wake-up signal indicates that the vehicle is not woken up, and the charging connection signal indicates that the vehicle is not connected, the electric vehicle is directly controlled to enter the driving mode.
Above-mentioned scheme, when the wakeup signal characterization that charges is not awakened, and the connection signal characterization that charges is not connected, confirm that electric automobile does not have the demand of charging, and the connection signal that charges is normal to control electric automobile accurately and get into driving mode.
In addition, when the electric automobile is in a driving mode, a slow charging mode or a fast charging mode, if no wake-up source (fast charging wake-up signal, slow charging wake-up signal, key ON signal) exists, the electric automobile is controlled to enter a parking mode.
In implementation, when the electric automobile is in the parking mode, redundant detection of charging related signals is also required, and details are not repeated here.
As shown in fig. 4, based on the same inventive concept, an embodiment of the present application provides a mode switching apparatus 400 including:
The signal determining module 401 is configured to determine, in response to information indicating a driving mode, whether a charging wake-up signal of an electric vehicle indicates wake-up, and whether a charging connection signal of the electric vehicle indicates connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
a prompting module 402, configured to prompt whether to charge if the charging wake-up signal indicates that the charging wake-up signal is not wake-up and the charging connection signal indicates connection;
And the control module 403 is configured to control the electric vehicle to enter a driving mode after receiving the information indicating that the electric vehicle is not charged.
In some alternative embodiments, the control module 403 is further configured to:
When the electric automobile is in a driving mode, if a PWM wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
In some optional embodiments, before the control module 403 controls the electric vehicle to enter the slow charging mode, it is further configured to determine that at least one of the following is satisfied:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
In some alternative embodiments, the control module 403 is further configured to:
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
In some alternative embodiments, after the signal determining module 401 determines whether the charging wake-up signal of the electric vehicle characterizes wake-up and whether the charging connection signal of the electric vehicle characterizes connection, the control module 403 is further configured to:
and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
Since the device is the device in the method according to the embodiment of the present application, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 5, based on the same inventive concept, an embodiment of the present application provides an electronic device 500, including: a processor 501 and a memory 502;
the memory 502 may be a volatile memory (RAM), such as a random-access memory (RAM); the memory 502 may also be a nonvolatile memory (non-volatile memory), such as a read-only memory, a flash memory (flash memory), a hard disk (HARD DISK DRIVE, HDD) or a solid state disk (solid-state disk) (STATE DRIVE, SSD); or memory 502 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. Memory 502 may be a combination of the above.
The processor 501 may include one or more central processing units (central processing unit, CPU), graphics processing units (Graphics Processing Unit, GPU), or digital processing units, among others.
The specific connection medium between the memory 502 and the processor 501 is not limited in the embodiment of the present application. In the embodiment of the present application, the memory 502 and the processor 501 are connected through the bus 503 in fig. 5, the bus 503 is represented by a thick line in fig. 5, and the bus 503 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
Wherein the memory 502 stores program code that, when executed by the processor 501, causes the processor 501 to perform the following process:
Responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out;
and after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode.
In some alternative embodiments, processor 501 also performs:
When the electric automobile is in a driving mode, if a PWM wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
In some alternative embodiments, processor 501 determines that at least one of the following is satisfied before controlling the electric vehicle to enter a slow charge mode:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
In some alternative embodiments, processor 501 also performs:
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
In some alternative embodiments, after the processor 501 determines whether the charging wake signal of the electric vehicle characterizes wake and whether the charging connection signal of the electric vehicle characterizes connection, it further performs:
and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
Since the electronic device is an electronic device for executing the method in the embodiment of the present application, and the principle of the electronic device for solving the problem is similar to that of the method, the implementation of the electronic device may refer to the implementation of the method, and the repetition is omitted.
An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the mode switching method described above. Wherein the readable storage medium may be a non-volatile readable storage medium.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, 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, and/or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the present application may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Still further, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. A method of mode switching, the method comprising:
Responding to the information representing the driving mode, determining whether a charging wake-up signal of the electric automobile represents wake-up and whether a charging connection signal of the electric automobile represents connection; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
if the charging wake-up signal represents that the charging wake-up signal is not wake-up and the charging connection signal represents connection, prompting whether to charge or not is carried out;
after receiving the information representing uncharged state, controlling the electric automobile to enter a driving mode;
When the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or alternatively
When the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
2. The method according to claim 1, wherein the method further comprises:
When the electric automobile is in a driving mode, if a Pulse Width Modulation (PWM) wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
3. The method of claim 2, wherein prior to controlling the electric vehicle to enter a slow charge mode, determining that at least one of:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
4. The method of claim 1, wherein determining whether a charge wake-up signal of an electric vehicle characterizes wake-up and whether a charge connection signal of the electric vehicle characterizes connection further comprises:
and if the charging wake-up signal represents that the electric vehicle is not waken, and the charging connection signal represents that the electric vehicle is not connected, controlling the electric vehicle to enter a driving mode.
5. A mode switching device, the device comprising:
The signal determining module is used for responding to the information representing the driving mode and determining whether a charging wake-up signal of the electric automobile represents wake-up or not and whether a charging connection signal of the electric automobile represents connection or not; if the charging wake-up signal is a slow charging wake-up signal, the charging connection signal is a slow charging connection signal; if the charging wake-up signal is a fast charging wake-up signal, the charging connection signal is a fast charging connection signal;
The prompting module is used for prompting whether the charging wake-up signal represents non-wake-up and the charging connection signal represents connection or not;
The control module is used for controlling the electric automobile to enter a driving mode after receiving the information representing uncharged state; when the electric automobile is in a driving mode, if the communication handshake message flag bit indicates that handshake is successful, the quick charge wake-up signal indicates wake-up, the quick charge connection signal indicates connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a quick charge mode; or when the electric automobile is in the slow charging mode, if the communication handshake message flag bit indicates that handshake is successful, the fast charging wake-up signal indicates wake-up, and the fast charging connection signal indicates connection, the electric automobile is controlled to enter the fast charging mode.
6. The apparatus of claim 5, wherein the control module is further configured to:
When the electric automobile is in a driving mode, if a PWM wave signal is detected, the slow charge wake-up signal represents wake-up, the slow charge connection signal represents connection, and the current speed of the electric automobile is smaller than a preset speed, the electric automobile is controlled to enter a slow charge mode.
7. The apparatus of claim 6, wherein the control module is further configured to determine that at least one of:
the communication handshake message flag bit represents handshake failure;
the fast charge wake-up signal characterizes that the fast charge wake-up signal is not waken up;
the fast charge connection signal characterizes the disconnection.
8. An electronic device, comprising: a processor and a memory;
wherein the memory stores program code which, when executed by the processor, causes the processor to perform the mode switching method of any one of claims 1 to 4.
9. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the mode switching method according to any one of claims 1 to 4 is implemented.
CN202210440689.4A 2022-04-25 Mode switching method and device, electronic equipment and storage medium Active CN114750597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210440689.4A CN114750597B (en) 2022-04-25 Mode switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210440689.4A CN114750597B (en) 2022-04-25 Mode switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114750597A CN114750597A (en) 2022-07-15
CN114750597B true CN114750597B (en) 2024-07-09

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107097667A (en) * 2017-04-28 2017-08-29 北京新能源汽车股份有限公司 The charging method and device of a kind of electric automobile
CN107415741A (en) * 2017-08-04 2017-12-01 北京新能源汽车股份有限公司 Control method, device and the electric automobile of vehicle-mounted charge machine controller working condition

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107097667A (en) * 2017-04-28 2017-08-29 北京新能源汽车股份有限公司 The charging method and device of a kind of electric automobile
CN107415741A (en) * 2017-08-04 2017-12-01 北京新能源汽车股份有限公司 Control method, device and the electric automobile of vehicle-mounted charge machine controller working condition

Similar Documents

Publication Publication Date Title
US8655541B2 (en) Vehicle upgrade system and method thereof
CN107323433B (en) Fault detection and maintenance method and device for vehicle and storage medium
CN112297950A (en) Charging and discharging human-computer interaction control method and device, vehicle and storage medium
CN113442750B (en) Control method of charging port cover, charging pile, vehicle, medium and equipment
CN103863129A (en) Electric automobile charging prompting method and system
CN113002478A (en) Vehicle anti-theft method, system and electronic equipment
WO2024017149A1 (en) Engine start control method and apparatus for hybrid vehicle, vehicle, and medium
CN113626056A (en) Vehicle remote upgrading method and device, electronic equipment, vehicle-mounted terminal and storage medium
CN107487321B (en) Clutch control method and device of hybrid electric vehicle
CN110329036B (en) Power supply control method of parking air conditioner
CN114750597B (en) Mode switching method and device, electronic equipment and storage medium
CN113085879B (en) Vehicle control method, device, storage medium, electronic device, and vehicle
CN113335267A (en) Engine starting control method, device and system, vehicle and related equipment
CN114590241A (en) Vehicle idle charging method and device
CN112526329A (en) Relay adhesion diagnosis method and battery management system
CN114750597A (en) Mode switching method and device, electronic equipment and storage medium
WO2023197501A1 (en) Power-on control method and apparatus for electric vehicle, power-off control method and apparatus for electric vehicle, and related device
CN112590560B (en) Energy consumption reduction control method and device for electric automobile
CN110861576B (en) Control method and device of brake lamp
CN111845627A (en) Vehicle engine remote control method, storage medium, and electronic device
CN118003919B (en) Charging method, system, storage medium and vehicle
CN114683970B (en) Battery energy management method, device, equipment and medium
CN115891967B (en) Hybrid power system control method, device, equipment and medium
CN114954015A (en) Method, device, equipment and medium for controlling power on and power off of electric automobile
CN116101258B (en) Vehicle control method, device, terminal and medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang

Applicant after: United New Energy Automobile Co.,Ltd.

Address before: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang

Applicant before: Hozon New Energy Automobile Co., Ltd.

GR01 Patent grant