Disclosure of Invention
The invention aims to provide a power-off protection method for an electric automobile, which is characterized in that after a power battery is powered off, an encoder is used for monitoring the displacement of the automobile, so that effective braking and braking are effectively carried out according to the state of the automobile, and the safety of the automobile and an occupant on the automobile is ensured.
The invention discloses a power-off protection method of an electric automobile, which comprises the following steps:
after an automobile power battery is offline, an auxiliary power supply is started, and a first encoder reading connected with a motor shaft is obtained;
initializing the reading of a second encoder connected with the wheel axle, and recording the reading as the initial position of the wheel axle;
when the reading of the second encoder changes, judging whether the reading change value of the first encoder is the same as the reading change value of the second encoder, if so, driving the motor by the auxiliary power supply to work so that the wheel axle returns to the initial position; and otherwise, the auxiliary power supply sends a limit value of the second encoder, and when the reading of the second encoder reaches the limit value, the wheel brake pad works to clamp the wheel shaft.
Further, the offline judgment criteria of the automobile power battery include: the voltage of the power battery terminal is zero, the whole vehicle control unit does not respond, the battery management unit does not respond, and the MCU power supply is disconnected.
Further, after the automobile power battery is offline, judging whether a collision sensor senses the collision or not, and if so, giving an alarm; and otherwise, starting the auxiliary power supply.
Further, the number of the wheel shafts is at least one, and each wheel shaft is provided with a second encoder; when the readings of the second encoders change and the readings of the plurality of second encoders are the same as the readings of the first encoders, the auxiliary power supply drives the motor to work so that the wheel axle returns to the initial position.
Further, when the reading change value of the first encoder is the same as that of the second encoder, the auxiliary power supply drives the motor to increase the power output according to the reading change value of the second encoder so that the wheel axle returns to the initial position.
Further, the second encoder is an absolute value encoder, the reading of the second encoder is zero when the reading of the second encoder is initialized, the auxiliary power supply sends a limit value of the second encoder to be n, and when the reading of the second encoder reaches n or-n, the wheel brake pad works to clamp the wheel shaft.
Further, when the change value of the first encoder reading is different from the change value of the second encoder reading, whether the change value of the second encoder reading is larger than a preset threshold value in preset unit time is judged, and the wheel brake pad works to clamp the wheel shaft.
According to a second aspect of the present invention, there is provided an electric automobile power-off protection device comprising:
auxiliary power supply starting module: the auxiliary power supply is started after the automobile power battery is offline, and a first encoder reading connected with a motor shaft is obtained;
an initialization module: for initializing a second encoder reading associated with the axle as an initial position of the axle;
and a judging module: when the reading of the second encoder changes, judging whether the reading change value of the first encoder is the same as the reading change value of the second encoder;
a first response module: the auxiliary power supply is used for informing the auxiliary power supply to drive the motor to work so that the wheel axle returns to the initial position;
and a second response module: the auxiliary power supply is used for informing the auxiliary power supply to send the limit value of the second encoder, and the wheel brake pad works to clamp the wheel shaft when the reading of the second encoder reaches the limit value.
Further, an electric automobile power-off protection device still includes:
and a second judging module: the automobile body collision sensor is used for judging whether the automobile body collision sensor senses collision after the automobile power battery is offline;
an alarm module for giving an alarm when the collision sensor senses a collision;
and the notification module is used for notifying the auxiliary power supply starting module to start the auxiliary power supply when the collision sensor does not sense collision.
According to a third aspect of the present invention, there is provided a vehicle including the above-described power-off protection device for an electric vehicle.
The beneficial effects of the invention are as follows: after the power battery is powered off, the displacement of the vehicle is monitored by using the encoder, and effective braking and braking are effectively carried out according to the state of the vehicle, so that the safety of the vehicle and a driver on the vehicle is ensured.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention and the technical solutions in the prior art, the following description will explain the specific embodiments of the present invention with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the invention, from which other drawings and other embodiments can be obtained by a person skilled in the art without undue effort. The term "design azimuth" merely means a relative positional relationship between the respective members, not an absolute positional relationship.
Example 1
As shown in fig. 1, according to a first aspect of the present invention, there is provided a power-off protection method for an electric automobile, including:
after an automobile power battery is offline, an auxiliary power supply is started, and a first encoder reading connected with a motor shaft is obtained;
in the embodiment of the invention, the auxiliary power supply is different from the power battery, the voltage of the auxiliary power supply is not higher than 24V, wheels are connected to the two ends of the wheel shaft of the automobile, the wheel shaft is connected with the motor shaft of the wheel shaft motor, the auxiliary power supply is converted into 300V voltage through the inverter to control the wheel shaft motor to work, and the auxiliary power supply has small electricity storage quantity and poor cruising ability because of low voltage to high voltage conversion, and is started only in emergency after the power battery of the automobile is offline, so that the safety of the automobile is ensured.
In the invention, the offline judgment standard of the automobile power battery is quite large, and the battery is powered off, for example, the terminal voltage of the power battery is zero, and other elements of the automobile are damaged and cannot receive power supply of the power battery or manage the battery, for example, a whole automobile control unit is not powered and is not responsive, a battery management unit cannot acquire battery data and is not responsive, MCU power supply is not powered off, and the like.
In addition, during normal operation of the vehicle, the rotation of the axle converts excess energy into auxiliary power for charging.
The motor shaft of the wheel shaft motor is connected with a first encoder, the first encoder is a city-increasing encoder, the rotation quantity of the motor shaft can be obtained through the reading of the first encoder, namely the rotation quantity of the motor for driving the wheel shaft to rotate is obtained, the first encoder works at all times, and the data of the first encoder cannot be obtained when the auxiliary power supply is turned off; the first encoder reading may be taken only after the auxiliary power is turned on.
It should be noted that after the automobile power battery is offline, judging whether a collision sensor senses the collision, if so, indicating that the battery is offline, which is caused by the collision of the automobile, the posture of the automobile cannot be monitored, the auxiliary power supply cannot ensure the safety of the automobile, and if the stay of people on the automobile has risks, giving an alarm; otherwise, the vehicle is in a stable posture without collision, the vehicle control degree is high, and the auxiliary power supply is started to carry out vehicle safety protection.
When an alarm is sent, an alarm can be sent to a mobile terminal of a vehicle holder, a system terminal of a vehicle manufacturer and a system terminal of a road safety department.
Initializing the reading of a second encoder connected with the wheel axle, and recording the reading as the initial position of the wheel axle;
the wheel axle is also connected with a second encoder, the second encoder is an absolute value encoder, the reading of the second encoder is zero when the reading of the second encoder is initialized, the rotation of the wheel axle is restarted to be monitored, the wheel axle rotates forward, and the reading of the encoder is increased; conversely, when the wheel axle reverses the vehicle back, the encoder reading is reduced, the encoder reading is zero, and the wheel axle returns to the original position.
When the reading of the second encoder changes, judging whether the reading change value of the first encoder is the same as the reading change value of the second encoder, if so, driving the motor by the auxiliary power supply to work so that the wheel axle returns to the initial position; and otherwise, the auxiliary power supply sends a limit value of the second encoder, and when the reading of the second encoder reaches the limit value, the wheel brake pad works to clamp the wheel shaft.
In the embodiment of the invention, because the accumulated reading change difference is not necessarily the vehicle displacement distance due to the fact that the positive and negative changes of the reading of the second encoder can be carried out, in fact, when the reading of the second encoder is changed, whether the instantaneous change value of the reading of the first encoder is the same as the instantaneous change value of the reading of the second encoder or not is judged, the change value is the absolute value of the difference between the reading before the change and the reading after the change, if the instantaneous change value of the reading of the first encoder is the same as the instantaneous change value of the reading of the second encoder, the vehicle displacement sensed from the motor shaft is unified with the vehicle displacement sensed from the motor shaft, namely, the motor shaft can normally control the wheel shaft, and the auxiliary power supply drives the motor to work at the moment, so that the driving motor drives the wheel shaft to rotate to drive the vehicle to the initial position.
It is understood that the number of the wheel shafts is at least one, and each wheel shaft is provided with a second encoder; when the readings of the second encoder change and the instantaneous change values of the readings of the plurality of second encoders are the same as those of the readings of the first encoder, the auxiliary power supply drives the motor to work so that the wheel shaft returns to the initial position.
In the invention, after the power battery is powered off, if the vehicle is displaced, three points may exist: when the power battery is powered off, the vehicle slides downwards on a steep slope under the action of gravity after the power battery is powered off and the vehicle is pushed to move by manpower after the power battery is powered off, the vehicle and the driver on the vehicle are dangerous, the auxiliary power supply is started, the vehicle is limited in moving, and the vehicle and personnel are protected safely.
The manual pushing of the vehicle displacement comprises the pushing of the vehicle owner and the pushing of an unknown person, and the displacement of the vehicle is limited for the power-off anti-theft of the vehicle, if the vehicle owner pushes, the auxiliary power supply only needs to be turned off in the vehicle.
As an embodiment of the invention, when the reading change value of the first encoder is the same as the reading change value of the second encoder, the auxiliary power supply increases the power output according to the reading change value of the second encoder, so that the wheel shaft returns to the initial position, that is, the larger the displacement of the vehicle is, the larger the force for driving the wheel shaft to return to the original position is.
In the embodiment of the invention, when the reading change value of the first encoder is different from the reading change value of the second encoder, whether the accumulated change value of the reading of the second encoder in the preset unit time is larger than a preset threshold value is judged, and the wheel brake pad works to clamp the wheel shaft. After the power battery is powered off, the vehicle is braked by the auxiliary power supply, the vehicle still moves far or continuously moves and continuously recovers, so that the safety of the vehicle is not controlled effectively, the wheels are directly braked at the moment, the wheels are clamped, the wheel shafts cannot rotate, and the vehicle is stopped in place.
In addition, when the second encoder reading changes, if the first encoder reading instantaneous change value is different from the second encoder reading instantaneous change value, this indicates that the vehicle displacement volume that senses from the motor shaft is inconsistent with the vehicle displacement volume that senses from the axle, can't normally control the shaft through the motor shaft, and the shaft motor need not work, and auxiliary power supply directly controls vehicle safety through the second encoder, and the control mode is: the auxiliary power supply sends a limit value of the second encoder, and when the reading of the second encoder reaches the limit value, the wheel brake pad works to clamp the wheel shaft.
It can be understood that, because the second encoder is an absolute value encoder, the reading is zero when the reading of the second encoder is initialized, the auxiliary power supply sends the limit value of the second encoder to be n, and when the reading of the second encoder reaches n or-n, the wheel brake pad works to clamp the wheel axle.
Therefore, after the power battery of the electric automobile is powered off, only the auxiliary electrode with lower electricity storage capacity is used for providing lower power, and the automobile after power off is subjected to displacement control, so that safety protection can be carried out.
According to the power-off protection method for the electric automobile, after the power battery is powered off, the displacement of the automobile is monitored by using the encoder, and effective braking and braking are effectively carried out according to the state of the automobile, so that the safety of the automobile and an occupant on the automobile is ensured.
Example two
According to a second aspect of the present invention, there is provided an electric automobile power-off protection device comprising:
auxiliary power supply starting module: the auxiliary power supply is started after the automobile power battery is offline, and a first encoder reading connected with a motor shaft is obtained;
an initialization module: for initializing a second encoder reading associated with the axle as an initial position of the axle;
and a judging module: when the reading of the second encoder changes, judging whether the reading change value of the first encoder is the same as the reading change value of the second encoder;
a first response module: the auxiliary power supply is used for informing the auxiliary power supply to drive the motor to work so that the wheel axle returns to the initial position;
and a second response module: the auxiliary power supply is used for informing the auxiliary power supply to send the limit value of the second encoder, and the wheel brake pad works to clamp the wheel shaft when the reading of the second encoder reaches the limit value.
The invention relates to an electric automobile power-off protection device, which further comprises:
and a second judging module: the automobile body collision sensor is used for judging whether the automobile body collision sensor senses collision after the automobile power battery is offline;
an alarm module for giving an alarm when the collision sensor senses a collision;
and the notification module is used for notifying the auxiliary power supply starting module to start the auxiliary power supply when the collision sensor does not sense collision.
Example III
The vehicle provided by the embodiment of the invention comprises the protection device for power failure of the electric automobile.
The protection device for the power failure of the electric automobile can realize the protection method for the power failure of the electric automobile.
According to the vehicle provided by the embodiment of the application, after the power battery is powered off, the displacement of the vehicle is monitored by the encoder, and effective braking and braking are effectively carried out according to the state of the vehicle, so that the safety of the vehicle and a driver on the vehicle is ensured.
In an embodiment of the invention, the vehicle comprises at least one central processing unit, at least one network interface, a control interface, a memory, at least one communication bus.
The communication bus is used for realizing connection communication and information interaction among all the components.
The network interface may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface), among others.
The control interface is used for outputting control operation according to the instruction.
Wherein the central processor may comprise one or more processing cores. The central processing unit connects the respective parts in the whole terminal by various interfaces and lines, and performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory according to the method of the first embodiment.
The Memory may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory).
Optionally, the memory includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory may be used to store instructions, programs, code sets, or instruction sets. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), a protection method for implementing the above-described power-off of the electric automobile, etc.; the storage data area may store data or the like referred to in the above respective method embodiments.
The present invention also provides a computer-readable storage medium having stored thereon a computer program that is provided on the above-described vehicle and that, when executed by a processor, implements the above-described protection method for power outage of an electric vehicle. The computer readable storage medium may include, among other things, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, micro-drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present invention may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present invention. And the memory includes: a U-disk, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by hardware associated with a program that is stored in a computer readable memory, which may include: flash disk, read-only memory (ROM), random access memory (RandomAccessMemory, RAM), magnetic or optical disk, and the like.
It is noted that relational terms such as first and second, and the like are 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. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific examples described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.