CN108819834B - Brake lamp control method and device, vehicle control unit and electric vehicle - Google Patents

Brake lamp control method and device, vehicle control unit and electric vehicle Download PDF

Info

Publication number
CN108819834B
CN108819834B CN201810701074.6A CN201810701074A CN108819834B CN 108819834 B CN108819834 B CN 108819834B CN 201810701074 A CN201810701074 A CN 201810701074A CN 108819834 B CN108819834 B CN 108819834B
Authority
CN
China
Prior art keywords
deceleration
vehicle speed
speed
negative torque
vehicle
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
CN201810701074.6A
Other languages
Chinese (zh)
Other versions
CN108819834A (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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201810701074.6A priority Critical patent/CN108819834B/en
Publication of CN108819834A publication Critical patent/CN108819834A/en
Application granted granted Critical
Publication of CN108819834B publication Critical patent/CN108819834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/26Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
    • B60Q1/44Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating braking action or preparation for braking, e.g. by detection of the foot approaching the brake pedal
    • B60Q1/445Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating braking action or preparation for braking, e.g. by detection of the foot approaching the brake pedal controlled by inertial devices
    • B60Q1/447Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating braking action or preparation for braking, e.g. by detection of the foot approaching the brake pedal controlled by inertial devices with indication of the braking strength or speed changes, e.g. by changing the shape or intensity of the indication

Abstract

The invention provides a brake lamp control method and device, a vehicle controller and an electric vehicle, and relates to the technical field of vehicle control, wherein the brake lamp control method comprises the following steps: when the electric automobile is in a sliding energy recovery working condition, acquiring the speed of the electric automobile in real time; calculating deceleration braking parameters of the electric automobile according to the real-time acquired speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque; and controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration braking parameters. According to the scheme, under the condition that the electric automobile is in the sliding energy recovery working condition, the brake lamp of the electric automobile is controlled to be turned on or turned off according to the negative torque and/or the deceleration, so that other vehicles around the electric automobile are reminded that the electric automobile is in the deceleration state at present, and traffic accidents are avoided.

Description

Brake lamp control method and device, vehicle control unit and electric vehicle
Technical Field
The invention belongs to the technical field of vehicle control, and particularly relates to a brake lamp control method and device, a vehicle control unit and an electric vehicle.
Background
The vehicle coasting is an operation method in which a driver places a shift lever in a neutral position to separate an engine from a clutch of a driving wheel and runs by inertia of a vehicle while the vehicle is running. Neither the accelerator pedal nor the brake pedal of the vehicle is depressed during coasting. In the prior art, the brake lamp of the vehicle can be turned on only when the brake pedal is stepped, so that the brake lamp of the electric automobile is always in an off state under the condition of sliding energy recovery, and other vehicles cannot timely know that the sliding vehicle is in a deceleration state, so that traffic accidents are caused.
Disclosure of Invention
The embodiment of the invention aims to provide a brake lamp control method and device, a vehicle controller and an electric vehicle, so that the problem that traffic accidents occur due to the fact that other surrounding vehicles cannot be reminded by lightening a brake lamp under the condition that the vehicle is in a sliding energy recovery working condition is solved.
In order to achieve the above object, the present invention provides a brake lamp control method including:
when the electric automobile is in a sliding energy recovery working condition, acquiring the speed of the electric automobile in real time;
calculating deceleration braking parameters of the electric automobile according to the real-time acquired speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque;
and controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration braking parameters.
When the deceleration braking parameters comprise deceleration, the step of calculating the deceleration braking parameters of the electric automobile according to the real-time acquired automobile speed comprises the following steps:
calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment;
calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2;
calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference.
The step of calculating the first average speed of the electric automobile according to the speed of the current time and the speeds of the previous N times adjacent to the current time comprises the following steps:
deleting a first maximum vehicle speed and a first minimum vehicle speed in the current vehicle speed and the vehicle speeds at the previous N moments;
calculating the first average vehicle speed according to the N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds;
the step of calculating the second average speed of the electric vehicle according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment comprises the following steps:
deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds;
calculating a second average vehicle speed according to the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
When the deceleration braking parameters comprise negative torque, the step of calculating the deceleration braking parameters of the electric automobile according to the vehicle speed acquired in real time comprises the following steps:
and acquiring the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque.
When the deceleration braking parameter comprises deceleration, the step of controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration braking parameter comprises the following steps:
when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range, controlling the brake lamp to be turned on; and when the stop lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the stop lamp to be extinguished.
When the braking parameter comprises negative torque, the step of controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration braking parameter comprises the following steps:
when the brake lamp is in a current off state and the negative torque is within a preset negative torque range, controlling the brake lamp to be turned on; and when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off.
An embodiment of the present invention further provides a brake light control device, including:
the acquisition module is used for acquiring the speed of the electric automobile in real time when the electric automobile is in a sliding energy recovery working condition;
the calculating module is used for calculating deceleration braking parameters of the electric automobile according to the real-time acquired automobile speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque;
and the control module is used for controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration brake parameter.
Wherein the calculation module comprises:
the first calculation submodule is used for calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment when the deceleration braking parameters comprise deceleration;
the second calculation submodule is used for calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2;
the third calculation submodule is used for calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference.
Wherein the first computation submodule comprises:
the first deleting unit is used for deleting a first maximum vehicle speed and a first minimum vehicle speed in the vehicle speed at the current moment and the vehicle speeds at the previous N moments;
a first calculation unit configured to calculate the first average vehicle speed based on N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds;
wherein the second computation submodule comprises:
the second deleting unit is used for deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds;
a second calculation unit that calculates the second average vehicle speed from the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
Wherein the calculation module comprises:
and the obtaining submodule is used for obtaining the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque when the deceleration braking parameters comprise the negative torque.
When the deceleration braking parameters comprise deceleration, the control module is used for controlling the brake lamp to be turned on when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range; and when the stop lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the stop lamp to be extinguished.
When the braking parameter comprises negative torque, the control module is used for controlling the brake lamp to be turned on when the brake lamp is in an off state at present and the negative torque is within a preset negative torque range; and when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off.
The embodiment of the invention also provides an electric automobile which comprises the brake lamp control device.
The embodiment of the invention also provides a vehicle control unit, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the brake lamp control method are realized.
Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the brake light control method described above are implemented.
The technical scheme of the invention at least has the following beneficial effects:
according to the invention, when the electric automobile is in a sliding energy recovery working condition, the brake lamp of the electric automobile is controlled to be turned on or turned off according to the required negative torque of the electric automobile, or the brake lamp is controlled to be turned on or turned off according to the deceleration of the electric automobile, so that the purpose of reminding other vehicles in time is realized, and the possibility of traffic accidents is reduced.
Drawings
Fig. 1 is a schematic diagram illustrating the basic steps of a brake lamp control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of the basic components of the stop lamp control device according to the embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a brake lamp control method and device, a vehicle control unit and an electric vehicle, aiming at the problem that a brake lamp cannot be lightened under the condition that a vehicle slides under the condition of energy recovery in the prior art.
As shown in fig. 1, an embodiment of the present invention provides a brake lamp control method, including:
and step 11, acquiring the speed of the electric automobile in real time when the electric automobile is in a sliding energy recovery working condition.
In this embodiment, the real-time obtaining may be understood as obtaining the speed of the electric vehicle at a preset time interval, where the preset time interval may be a period for sending message information between the speed sensor and the vehicle controller, and the period of the message information is very short, and is generally 0.2 ms.
Step 12, calculating deceleration braking parameters of the electric automobile according to the real-time acquired speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque.
In this embodiment, the deceleration braking parameter may include only deceleration, only negative torque, and both deceleration and negative torque; the specific process of controlling the brake lamp to be turned on or off will be described later according to specific parameters contained in the deceleration braking parameters.
And step 13, controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration brake parameter.
According to the brake lamp control method provided by the embodiment of the invention, when the electric automobile is in a sliding energy recovery working condition, the brake lamp of the electric automobile is controlled to be turned on or turned off according to the deceleration and/or negative torque of the electric automobile, so that other vehicles around the electric automobile are reminded that the electric automobile is in a deceleration state at present, and the possibility of traffic accidents is reduced.
On one hand, when the deceleration braking parameters include deceleration, step 12, calculating the deceleration braking parameters of the electric vehicle according to the vehicle speed obtained in real time, includes:
calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment; calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2; calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference.
It should be noted that each of the N times corresponds to a time for acquiring the vehicle speed, that is, the vehicle controller determines the time for the vehicle speed according to the currently received message information; or, a preset time interval for acquiring two adjacent vehicle speeds of the electric vehicle, wherein the time interval is a fixed value. In addition, the N moments in this embodiment are N moments (packet information periods) located before and adjacent to the current moment (current packet information period), and the N moments are consecutive N moments.
Compared with the method for calculating the deceleration of the electric automobile, which directly uses the ratio of the difference value of the current-time automobile speed and the previous-time automobile speed to the time difference to calculate the deceleration of the electric automobile, the method for calculating the deceleration of the electric automobile improves the accuracy of calculating the deceleration.
More specifically, the step of calculating a first average speed of the electric vehicle based on the vehicle speed at the current time and the vehicle speeds at the previous N times adjacent to the current time includes:
deleting a first maximum vehicle speed and a first minimum vehicle speed in the current vehicle speed and the vehicle speeds at the previous N moments; calculating the first average vehicle speed according to the N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds.
More specifically, the step of calculating the second average vehicle speed of the electric vehicle according to the vehicle speed at the previous time adjacent to the current time and the vehicle speeds at the previous M times adjacent to the previous time comprises the following steps:
deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds;
calculating a second average vehicle speed according to the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
In the embodiment, the maximum vehicle speed and the lowest vehicle speed in a plurality of adjacent vehicle speeds are deleted, so that the rapidly increased or decreased vehicle speed of the electric vehicle caused by uneven road surface, such as instant depression or protrusion, is not used as a parameter for calculating the average vehicle speed of the electric vehicle, and the accuracy for calculating the average vehicle speed is further improved.
Specifically, when the deceleration braking parameter includes deceleration, step 13, controlling the brake lamp of the electric vehicle to be turned on or off according to the deceleration braking parameter includes:
when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range, controlling the brake lamp to be turned on; and when the stop lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the stop lamp to be extinguished.
It should be noted that, if the stop lamp is currently in the lighting state and the deceleration is within the preset deceleration range, no operation is performed, and the stop lamp is still in the lighting state; similarly, if the stop lamp is currently in an off state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, no operation is performed, and the stop lamp is still in the off state.
On the other hand, when the deceleration braking parameter includes a negative torque, step 12, calculating the deceleration braking parameter of the electric vehicle according to the vehicle speed acquired in real time, includes:
and acquiring the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque.
The corresponding relation table of the vehicle speed and the negative torque is a one-to-one corresponding relation of the vehicle speed and the negative torque determined by a tester according to a large amount of test data of the electric vehicle under the sliding energy recovery working condition; the negative torque is the torque which needs to be output by the motor and is determined by the vehicle control unit according to the current time speed of the electric vehicle.
When the braking parameter includes a negative torque, step 13, controlling the brake lamp of the electric vehicle to be turned on or off according to the deceleration braking parameter, including:
when the brake lamp is in a current off state and the negative torque is within a preset negative torque range, controlling the brake lamp to be turned on; and when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off.
It should be noted that, if the brake lamp is currently in the on state and the negative torque is within the preset negative torque range, no operation is performed, and the brake lamp is still in the on state; similarly, if the stop lamp is in the off state currently and the negative torque is greater than the maximum value of the preset negative torque range or less than the minimum value of the preset negative torque range, no operation is performed, and the stop lamp is still in the off state.
On the other hand, if the deceleration braking parameter includes the deceleration and the negative torque, step 13, controlling a brake lamp of the electric vehicle to be turned on or off according to the deceleration braking parameter includes:
controlling the brake lamp to be turned on or off according to the deceleration brake parameter including the control mode of the negative torque; if the negative torque corresponding to the current time vehicle speed cannot be acquired, or the acquired negative torque corresponding to the current time vehicle speed is larger than the maximum negative torque normally output by the motor of the electric vehicle or smaller than the minimum negative torque normally output by the motor of the electric vehicle; the brake lamp is controlled to be turned on or off according to the control mode that the deceleration brake parameters comprise the deceleration.
Here, it should be noted that, in the embodiment of the present invention, when the electric vehicle is in the coasting energy recovery condition, it is preferable to control the brake lamp to be turned on or off according to the negative torque corresponding to the vehicle speed at the current time and the current state of the brake lamp; in order to avoid that the brake lamp cannot be normally turned on or off due to the failure of the mode, the embodiment of the invention also provides a mode of controlling the brake lamp to be turned on or off according to the deceleration of the electric automobile and the current state of the brake lamp when the brake lamp is controlled to be abnormally turned on according to the negative torque and the current state of the brake lamp.
Of course, a default mode of controlling the brake lamp to be turned on or off according to the deceleration of the electric vehicle and the current state of the brake lamp may be set in advance, and when the default mode is abnormal, the brake lamp may be controlled to be turned on or off according to the negative torque corresponding to the vehicle speed at the current moment and the current state of the brake lamp.
The brake lamp is controlled to be turned on or turned off by setting multiple control modes, so that the reliability of the electric automobile for controlling the brake lamp to be turned on or turned off is improved, and traffic accidents are avoided to a great extent.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program (instructions), which when executed by a processor, implement the steps of:
when the electric automobile is in a sliding energy recovery working condition, acquiring the speed of the electric automobile in real time; calculating deceleration braking parameters of the electric automobile according to the real-time acquired speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque; and controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration braking parameters.
Optionally, when the deceleration braking parameter comprises deceleration, the program (instructions) when executed by the processor may further implement the steps of:
calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment; calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2; calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference.
Optionally, the program (instructions), when executed by the processor, may further implement the steps of:
the step of calculating the first average speed of the electric automobile according to the speed of the current time and the speeds of the previous N times adjacent to the current time comprises the following steps:
deleting a first maximum vehicle speed and a first minimum vehicle speed in the current vehicle speed and the vehicle speeds at the previous N moments; calculating the first average vehicle speed according to the N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds.
The step of calculating the second average speed of the electric vehicle according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment comprises the following steps:
deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds; calculating a second average vehicle speed according to the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
Optionally, when the retarding brake parameter comprises negative torque, the program (instructions), when executed by the processor, further implements the steps of:
and acquiring the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque.
Optionally, when the deceleration braking parameter comprises deceleration, the program (instructions) when executed by the processor may further implement the steps of:
when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range, controlling the brake lamp to be turned on; and when the stop lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the stop lamp to be extinguished.
Optionally, when the braking parameter comprises negative torque, the program (instructions) when executed by the processor may further implement the steps of:
when the brake lamp is in a current off state and the negative torque is within a preset negative torque range, controlling the brake lamp to be turned on; and when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As shown in fig. 2, an embodiment of the present invention further provides a brake light control device, including:
the obtaining module 21 is configured to obtain a speed of the electric vehicle in real time when the electric vehicle is in a sliding energy recovery working condition;
the calculating module 22 is used for calculating deceleration braking parameters of the electric automobile according to the vehicle speed acquired in real time; wherein the deceleration braking parameters comprise deceleration and/or negative torque;
and the control module 23 is configured to control the brake lamp of the electric vehicle to be turned on or turned off according to the deceleration braking parameter.
Specifically, the calculation module 22 includes:
and the first calculation submodule is used for calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment when the deceleration braking parameters comprise deceleration.
The second calculation submodule is used for calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2.
The third calculation submodule is used for calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference.
More specifically, the first calculation submodule includes:
and the first deleting unit is used for deleting a first maximum vehicle speed and a first minimum vehicle speed in the vehicle speed at the current moment and the vehicle speeds at the previous N moments.
A first calculation unit configured to calculate the first average vehicle speed based on N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds.
More specifically, the second calculation submodule includes:
and the second deleting unit is used for deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds.
A second calculation unit that calculates the second average vehicle speed from the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
Specifically, the calculation module 22 includes:
and the obtaining submodule is used for obtaining the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque when the deceleration braking parameters comprise the negative torque.
Specifically, when the deceleration braking parameter includes deceleration, the control module 23 is configured to control the brake lamp to be turned on when the brake lamp is currently in an off state and the deceleration is within a preset deceleration range; and when the stop lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the stop lamp to be extinguished.
Specifically, when the braking parameter includes a negative torque, the control module 23 is configured to control the brake lamp to be turned on when the brake lamp is currently in an off state and the negative torque is within a preset negative torque range; and when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off.
Here, it should be noted that, when the electric vehicle is in the coasting energy recovery mode, the brake lamp control device may control the brake lamp in a first mode: controlling the brake lamp to be turned on or off only according to the deceleration of the electric automobile and the current state of the brake lamp; the second method comprises the following steps: the brake lamp can be controlled to be turned on or off only according to the negative torque of the electric automobile corresponding to the current speed and the current state of the brake lamp; the third method comprises the following steps: if the abnormality occurs when the brake lamp is controlled to be turned on or turned off in the first mode, the control is carried out in the second mode; the method is as follows: if the brake lamp is controlled to be turned on or off in the second mode, the first mode is adopted for control; thereby improving the control reliability of the stop lamp and reducing the danger of traffic accidents.
The embodiment of the invention also provides an electric automobile which comprises the brake lamp control device.
An embodiment of the present invention further provides a vehicle control unit, including: the braking light control method comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the embodiment of the braking light control method is realized, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A brake lamp control method is applied to an electric automobile and is characterized by comprising the following steps:
when the electric automobile is in a sliding energy recovery working condition, acquiring the speed of the electric automobile in real time;
calculating deceleration braking parameters of the electric automobile according to the real-time acquired speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque;
controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration brake parameter;
when the deceleration braking parameter comprises deceleration, the step of controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration braking parameter comprises the following steps:
when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range, controlling the brake lamp to be turned on; when the brake lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the brake lamp to be turned off;
when the deceleration braking parameters comprise deceleration, the step of calculating the deceleration braking parameters of the electric automobile according to the real-time acquired automobile speed comprises the following steps:
calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment;
calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2;
calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference;
the step of calculating the first average speed of the electric automobile according to the speed of the current time and the speeds of the previous N times adjacent to the current time comprises the following steps:
deleting a first maximum vehicle speed and a first minimum vehicle speed in the current vehicle speed and the vehicle speeds at the previous N moments;
calculating the first average vehicle speed according to the N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds;
the step of calculating the second average speed of the electric vehicle according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment comprises the following steps:
deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds;
calculating a second average vehicle speed according to the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds;
when the braking parameter comprises negative torque, the step of controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration braking parameter comprises the following steps:
when the brake lamp is in a current off state and the negative torque is within a preset negative torque range, controlling the brake lamp to be turned on; when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off;
when the deceleration braking parameters comprise deceleration and the negative torque, the step of controlling the brake lamp of the electric automobile to be turned on or off according to the deceleration braking parameters comprises the following steps:
controlling the brake lamp to be turned on or off according to the deceleration brake parameter including the control mode of the negative torque; if the negative torque corresponding to the current time vehicle speed cannot be acquired, or the acquired negative torque corresponding to the current time vehicle speed is larger than the maximum negative torque normally output by the motor of the electric vehicle or smaller than the minimum negative torque normally output by the motor of the electric vehicle; the brake lamp is controlled to be turned on or off according to the deceleration braking parameter and the deceleration control mode.
2. The brake lamp control method according to claim 1, wherein when the deceleration braking parameter includes a negative torque, the step of calculating the deceleration braking parameter of the electric vehicle based on the vehicle speed acquired in real time includes:
and acquiring the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque.
3. A brake light control device, comprising:
the acquisition module is used for acquiring the speed of the electric automobile in real time when the electric automobile is in a sliding energy recovery working condition;
the calculating module is used for calculating deceleration braking parameters of the electric automobile according to the real-time acquired automobile speed; wherein the deceleration braking parameters comprise deceleration and/or negative torque;
the control module is used for controlling the brake lamp of the electric automobile to be turned on or turned off according to the deceleration brake parameter;
when the deceleration braking parameters comprise deceleration, the control module is used for controlling the brake lamp to be turned on when the brake lamp is in an off state at present and the deceleration is within a preset deceleration range; when the brake lamp is in a lighting state and the deceleration is greater than the maximum value of the preset deceleration range or less than the minimum value of the preset deceleration range, controlling the brake lamp to be turned off;
when the braking parameter comprises negative torque, the control module is used for controlling the brake lamp to be turned on when the brake lamp is in an off state at present and the negative torque is within a preset negative torque range; when the brake lamp is in a lighting state at present and the negative torque is larger than the maximum value of the preset negative torque range or smaller than the minimum value of the preset negative torque range, controlling the brake lamp to be turned off;
when the deceleration braking parameters comprise deceleration and the negative torque, controlling the brake lamp to be turned on or turned off according to a control mode that the deceleration braking parameters comprise the negative torque; if the negative torque corresponding to the current time vehicle speed cannot be acquired, or the acquired negative torque corresponding to the current time vehicle speed is larger than the maximum negative torque normally output by the motor of the electric vehicle or smaller than the minimum negative torque normally output by the motor of the electric vehicle; controlling the brake lamp to be turned on or off according to the deceleration braking parameters and the deceleration control mode;
wherein the calculation module comprises:
the first calculation submodule is used for calculating a first average speed of the electric automobile according to the speed at the current moment and the speeds at the previous N moments adjacent to the current moment when the deceleration braking parameters comprise deceleration;
the second calculation submodule is used for calculating a second average speed of the electric automobile according to the speed of the previous moment adjacent to the current moment and the speeds of the previous M moments adjacent to the previous moment; wherein M and N are the same integer and are greater than or equal to 2;
the third calculation submodule is used for calculating the deceleration of the electric automobile according to the first average speed, the second average speed and the time difference between the current moment and the previous moment; wherein the deceleration is a ratio of a difference between the first average vehicle speed and the second average vehicle speed to the time difference;
wherein the first computation submodule comprises:
the first deleting unit is used for deleting a first maximum vehicle speed and a first minimum vehicle speed in the vehicle speed at the current moment and the vehicle speeds at the previous N moments;
a first calculation unit configured to calculate the first average vehicle speed based on N-1 vehicle speeds after the first maximum vehicle speed and the first minimum vehicle speed are deleted; wherein the first average vehicle speed is an average of N-1 vehicle speeds;
the second calculation submodule includes:
the second deleting unit is used for deleting a second maximum vehicle speed and a second minimum vehicle speed in the vehicle speed at the previous moment and the previous M vehicle speeds;
a second calculation unit that calculates the second average vehicle speed from the M-1 vehicle speeds after the second maximum vehicle speed and the second minimum vehicle speed are deleted; wherein the second average vehicle speed is an average of M-1 vehicle speeds.
4. The stop lamp control device according to claim 3, wherein the calculation module comprises:
and the obtaining submodule is used for obtaining the negative torque corresponding to the vehicle speed at the current moment according to a pre-stored corresponding relation table of the vehicle speed and the negative torque when the deceleration braking parameters comprise the negative torque.
5. An electric vehicle characterized by comprising the stop lamp control device according to any one of claims 3 to 4.
6. A vehicle control unit, characterized by comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the brake light control method according to any one of claims 1 to 2.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the brake light control method according to any one of claims 1 to 2.
CN201810701074.6A 2018-06-29 2018-06-29 Brake lamp control method and device, vehicle control unit and electric vehicle Active CN108819834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810701074.6A CN108819834B (en) 2018-06-29 2018-06-29 Brake lamp control method and device, vehicle control unit and electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810701074.6A CN108819834B (en) 2018-06-29 2018-06-29 Brake lamp control method and device, vehicle control unit and electric vehicle

Publications (2)

Publication Number Publication Date
CN108819834A CN108819834A (en) 2018-11-16
CN108819834B true CN108819834B (en) 2021-05-25

Family

ID=64134107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810701074.6A Active CN108819834B (en) 2018-06-29 2018-06-29 Brake lamp control method and device, vehicle control unit and electric vehicle

Country Status (1)

Country Link
CN (1) CN108819834B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114454810B (en) * 2022-02-25 2023-08-25 重庆金康赛力斯新能源汽车设计院有限公司 New energy vehicle tail lamp warning control method, device based on method and vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2428360Y (en) * 2000-07-06 2001-05-02 朱斌 Braking light displaying speed-reducing of vehicle
CN101589362A (en) * 2006-10-23 2009-11-25 视觉工厂有限责任公司 Absolute acceleration sensor for use within moving vehicles
CN201380790Y (en) * 2009-04-20 2010-01-13 杨舒 Automotive vehicle electric control brake intensity display tail lamp
CN102416897A (en) * 2011-10-27 2012-04-18 上海市七宝中学 Vehicle running safety warning system and warning method
CN103747571A (en) * 2013-12-25 2014-04-23 浙江吉利控股集团有限公司 Vehicle speed based brake lamp automatic control method and control apparatus
CN106314268A (en) * 2016-09-19 2017-01-11 北京新能源汽车股份有限公司 Brake lamp control method and device of blade electric vehicle and blade electric vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2428360Y (en) * 2000-07-06 2001-05-02 朱斌 Braking light displaying speed-reducing of vehicle
CN101589362A (en) * 2006-10-23 2009-11-25 视觉工厂有限责任公司 Absolute acceleration sensor for use within moving vehicles
CN201380790Y (en) * 2009-04-20 2010-01-13 杨舒 Automotive vehicle electric control brake intensity display tail lamp
CN102416897A (en) * 2011-10-27 2012-04-18 上海市七宝中学 Vehicle running safety warning system and warning method
CN103747571A (en) * 2013-12-25 2014-04-23 浙江吉利控股集团有限公司 Vehicle speed based brake lamp automatic control method and control apparatus
CN106314268A (en) * 2016-09-19 2017-01-11 北京新能源汽车股份有限公司 Brake lamp control method and device of blade electric vehicle and blade electric vehicle

Also Published As

Publication number Publication date
CN108819834A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN111376738B (en) Vehicle speed control method and system
KR100520565B1 (en) Method and system for controlling regenerative braking of a four wheel drive electric vehicle
CN110281782B (en) Vehicle output power determination method and device
CN107415946B (en) A kind of adaptive cruise torque control method, device and automobile
CN109484206B (en) Method and device for adjusting output torque of motor and electric vehicle
KR101588790B1 (en) Vehicle control system having motor
US10906547B2 (en) Controlling engine idle sailing in a vehicle using relative vehicle speed
CN109278568B (en) Method and device for adjusting automobile driving force and automobile
CN108819834B (en) Brake lamp control method and device, vehicle control unit and electric vehicle
US20100082191A1 (en) Motor control method for electric-powered vehicle and driving apparatus for electric-powered vehicle
US11873892B2 (en) Method and system for controlling gear of two-speed gearbox
CN111894747A (en) Hybrid vehicle engine starting control method and system and hybrid vehicle
WO2023134605A1 (en) Adaptive energy recovery method and apparatus for automobile, and automobile
CN113752852B (en) Control method and device for vehicle torque zero crossing
CN112660097A (en) Engine start-stop control method and system and vehicle
CN111619363A (en) Parking control method and device and electric automobile
JP2005124287A (en) Drive control arrangement for vehicle
KR101724505B1 (en) Apparatus and method for shift control of vehicle
CN112757909A (en) Vehicle control method and device, electronic equipment and storage medium
CN108945091B (en) Steering control method and device, electric power steering system controller and automobile
CN104859655A (en) Vehicle coasting fuel-saving running control method and vehicle control system
CN113119742A (en) Method and system for determining required torque of vehicle and vehicle
JP2017061293A (en) Method for driving brake system specific to vehicle having motor and control device for at least one motor of brake system specific to vehicle
JP2013244838A (en) Vehicle automatic operation system
JP5343590B2 (en) Vehicle deceleration control device and vehicle deceleration control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant