Vehicle brake lamp control method and device, computer equipment and vehicle
By obtaining wheel speed information to calculate the deceleration and deceleration change rate, and generating brake light control commands, the brake light strobe problem caused by deceleration fluctuations during automatic braking of the vehicle is solved, and the safety of the vehicle is improved.
Patent Information
- Application Number
- CN202311858285.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
When the vehicle is automatically braking, the deceleration fluctuates, causing the brake light to flash, affecting safety.
By obtaining wheel speed information of each wheel, calculating the deceleration and deceleration rate of change of the vehicle, generating a brake light control command, instructing the brake light controller to control the brake light according to the deceleration threshold and the change rate threshold.
It effectively avoids the flashing of brake lights when the vehicle passes through the speed bump or bumps on the road, and improves the safety of the vehicle.
Smart Images

Figure CN120229179A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicle control, and particularly to a control method, device, computer device, storage medium, and vehicle for a vehicle brake light. Background Art
[0002] When a vehicle performs automatic braking, since the driver does not step on the brake pedal, the sensor connected to the brake pedal end will not trigger to light up the brake light. However, since the vehicle is actually in a braking state, to reduce the risk of accidents, relevant regulations require that in the case of automatic braking of the vehicle, if the deceleration is greater than 1.3 m / s 2 , the brake light must be lit; if the deceleration is not greater than 1.3 m / s 2 , the brake light can be optionally lit, that is, it can be lit or not.
[0003] To meet the relevant regulations and reduce the risk of accidents, in related technologies, generally, the deceleration measured by the vehicle acceleration sensor is directly monitored. When the deceleration is higher than the threshold condition, a request to light up the brake light is sent, and when the deceleration is lower than the threshold condition, the request is withdrawn. This method is simple and can cover most usage scenarios. However, when the vehicle passes over a speed bump or a potholed road surface, the acceleration sensor will oscillate, making the measured deceleration unable to reflect the true deceleration of the vehicle, and thus causing the brake light to flicker. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a control method, device, computer device, computer-readable storage medium, and vehicle for a vehicle brake light that can avoid the brake light from flickering during automatic braking of the vehicle.
[0005] In a first aspect, this application provides a control method for a vehicle brake light, including:
[0006] Obtain the wheel speed information corresponding to each wheel of the vehicle;
[0007] Obtain the deceleration of the vehicle according to the wheel speed information, and obtain the deceleration change rate of the vehicle according to the wheel speed information;
[0008] Generate a brake light control instruction according to the deceleration and the deceleration change rate;
[0009] Send the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
[0010] In one embodiment, generating a brake light control instruction according to the deceleration and the deceleration change rate includes:
[0011] When the deceleration is greater than the first deceleration threshold and the deceleration change rate is not greater than the first change rate threshold, a first brake light control instruction is generated, and the first brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0012] In one embodiment, the method further includes:
[0013] When the deceleration is greater than the first deceleration threshold and the deceleration change rate is greater than the first change rate threshold, a second brake light control instruction is generated, and the second brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0014] In one embodiment, the method further includes:
[0015] When the brake light is on, the deceleration is less than the second deceleration threshold, and the deceleration change rate is not greater than the second change rate threshold, a third brake light control instruction is generated, and the third brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0016] In one embodiment, the method further includes:
[0017] When the brake light is on, the deceleration is less than the second deceleration threshold, and the deceleration change rate is greater than the second change rate threshold, a fourth brake light control instruction is generated, and the fourth brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0018] In one embodiment, according to the wheel speed information, obtaining the deceleration change rate of the vehicle includes:
[0019] According to the wheel speed information corresponding to each wheel, obtaining the deceleration change rate corresponding to each wheel;
[0020] Selecting the minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
[0021] In a second aspect, the present application further provides a control device for a vehicle brake light, including:
[0022] A first acquisition module for acquiring the wheel speed information corresponding to each wheel of the vehicle;
[0023] A second acquisition module for obtaining the deceleration of the vehicle according to the wheel speed information and obtaining the deceleration change rate of the vehicle according to the wheel speed information;
[0024] A generation module for generating a brake light control instruction according to the deceleration and the deceleration change rate;
[0025] A sending module for sending the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
[0026] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0027] Obtain the wheel speed information corresponding to each wheel of the vehicle;
[0028] According to the wheel speed information, obtain the deceleration of the vehicle, and according to the wheel speed information, obtain the deceleration change rate of the vehicle;
[0029] Generate a brake light control instruction according to the deceleration and the deceleration change rate;
[0030] Send the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0032] Obtain the wheel speed information corresponding to each wheel of the vehicle;
[0033] According to the wheel speed information, obtain the deceleration of the vehicle, and according to the wheel speed information, obtain the deceleration change rate of the vehicle;
[0034] Generate a brake light control instruction according to the deceleration and the deceleration change rate;
[0035] Send the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
[0036] In a fifth aspect, the present application further provides a vehicle, including the control device of the vehicle brake light described above.
[0037] For the above vehicle brake light control method, device, computer device, storage medium and vehicle, by first obtaining the wheel speed information corresponding to each wheel of the vehicle, according to the wheel speed information, obtaining the deceleration of the vehicle, and according to the wheel speed information, obtaining the deceleration change rate of the vehicle, and then, according to the deceleration and the deceleration change rate, generating a brake light control instruction, in this way, it is possible to comprehensively determine whether the brake light should be lit or extinguished according to whether the deceleration meets the threshold condition and whether the deceleration is effective, avoiding the deceleration fluctuation caused by the vehicle passing over a speed bump or a bumpy road surface, resulting in frequent flashing of the brake light. Furthermore, send the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction, so as to effectively avoid the problem of brake light strobing when the vehicle passes over a speed bump or a bumpy road surface. Brief Description of the Drawings
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0039] Figure 1 It is an application environment diagram of the control method of vehicle brake lights in an embodiment;
[0040] Figure 2 It is a schematic flowchart of the control method of vehicle brake lights in an embodiment;
[0041] Figure 3 It is a schematic flowchart of the control method of vehicle brake lights in another embodiment;
[0042] Figure 4 It is a structural block diagram of the control device of vehicle brake lights in an embodiment;
[0043] Figure 5 It is an internal structure diagram of a computer device in an embodiment. Detailed Description of the Embodiments
[0044] In order to make the purpose, technical solutions and advantages of the present application more clear and understandable, the following further details the present application in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0045] The control method of vehicle brake lights provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the brake light controller 104 is connected to the brake switch 102 by a hard wire, connected to the brake controller (Brake Control Module, BCM) 106 by a signal wire, and connected to the brake light 108 by a hard wire. Among them, when the vehicle is in a braking state, the brake controller 106 obtains the wheel speed information corresponding to each wheel of the vehicle, obtains the deceleration of the vehicle according to the wheel speed information, and obtains the deceleration change rate of the vehicle according to the wheel speed information. Then, according to the deceleration and the deceleration change rate, a brake light control instruction is generated and sent to the brake light controller 104, instructing the brake light controller 104 to control the brake light according to the state of the brake switch 102 and the brake light control instruction. The brake switch 102 is usually arranged near the brake pedal. When the driver steps on the brake pedal, the brake switch will be triggered to feedback the state of the brake pedal. The brake switch 102 can be a physical switch or a sensor, and no specific limitation is made here.
[0046] In an exemplary embodiment, as Figure 2 shown, a method for controlling a vehicle brake light is provided. Taking the brake controller 106 in Figure 1 as an example, the method includes the following steps:
[0047] S202: Obtain the wheel speed information corresponding to each wheel of the vehicle.
[0048] Among them, the wheel speed information refers to the rotational speed of the wheel.
[0049] Optionally, each wheel of the vehicle is equipped with a wheel speed sensor for detecting the wheel speed. During the driving of the vehicle, the brake controller obtains the wheel speed information corresponding to each wheel through the wheel speed sensors configured on each wheel.
[0050] S204: Obtain the deceleration of the vehicle according to the wheel speed information, and obtain the deceleration change rate of the vehicle according to the wheel speed information.
[0051] Optionally, when the wheel speed information indicates that the vehicle is in a braking state, the brake controller calculates the deceleration of the vehicle according to the wheel speed information. Among them, at least one of the multiple wheel speed information can be selected according to the running state of the vehicle to calculate the deceleration of the vehicle. For example, according to whether the vehicle is in a straight running state or a turning state, and whether the wheels are slipping and other information, the wheel speed information used to calculate the deceleration of the vehicle can be selected.
[0052] In addition, the braking controller also needs to obtain the vehicle's deceleration change rate (Jerk value) based on the wheel speed information of each wheel. When the vehicle quickly passes over a speed bump or a bumpy road surface, the waveform of the wheel speed will be different from that on a flat road surface. Therefore, the deceleration change rate can be used to determine whether the deceleration is a fluctuation value caused by the wheel passing over a speed bump or a bumpy road surface, and then, based on the determination result, optimize the control strategy of the brake light.
[0053] S206: Generate a brake light control command according to the deceleration and the deceleration change rate.
[0054] Optionally, after obtaining the deceleration and the deceleration change rate, the braking controller determines whether the brake light needs to be lit according to the magnitude relationship between the deceleration and a preset deceleration threshold, and determines whether the deceleration is valid according to the magnitude relationship between the deceleration change rate and a preset change rate threshold.
[0055] Furthermore, according to the two determination results, a brake light control command is generated, and the brake light control command is used to instruct the brake light controller to turn on or off the brake light.
[0056] In an optional implementation manner, when the vehicle is in a braking state, the braking controller generates a brake light control command according to a preset period. The preset period can be, for example, 10 ms, and no specific limitation is made here.
[0057] S208: Send the brake light control command to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control command.
[0058] Optionally, after generating the brake light control command, the braking controller sends the brake light controller to the brake light controller.
[0059] After the brake light controller obtains the brake switch state and the brake light control command, if the brake switch state indicates that the brake pedal is depressed, the brake light controller directly controls the brake light to turn on; if the brake switch state indicates that the brake pedal is not depressed, it means that the vehicle is in an automatic braking state, then the brake light controller controls the brake light to turn on or off according to the brake light control command.
[0060] In the above control method of the vehicle brake light, by first obtaining the wheel speed information corresponding to each wheel of the vehicle, according to the wheel speed information, obtaining the deceleration of the vehicle, and according to the wheel speed information, obtaining the deceleration change rate of the vehicle. Then, according to the deceleration and the deceleration change rate, generating a brake light control instruction. In this way, it is possible to comprehensively determine whether the brake light should be lit or extinguished according to whether the deceleration meets the threshold condition and whether the deceleration is valid, avoiding the deceleration fluctuation generated when the vehicle passes over a speed bump or a bumpy road surface, resulting in the brake light flickering. Furthermore, sending the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction, thereby effectively avoiding the problem of brake light flickering when the vehicle passes over a speed bump or a bumpy road surface.
[0061] In one embodiment, generating a brake light control instruction according to the deceleration and the deceleration change rate includes: when the deceleration is greater than the first deceleration threshold and the deceleration change rate is not greater than the first change rate threshold, generating a first brake light control instruction, and the first brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0062] Among them, the first deceleration threshold can be 1 m / s 2 。
[0063] Optionally, the deceleration being greater than the first deceleration threshold indicates that the deceleration meets the brake light lighting condition; the deceleration change rate not being greater than the first change rate threshold indicates that the deceleration is not the fluctuation value generated when the vehicle passes over a speed bump or a bumpy road surface, and the deceleration is valid.
[0064] Therefore, when the deceleration meets the brake light lighting condition and the deceleration is valid, the brake controller generates a first brake light control instruction, which is used to instruct the brake light controller to turn on the brake light.
[0065] In this example, by instructing the brake light controller to turn on the brake light when the deceleration meets the brake light lighting condition and the deceleration is valid, it is possible to give a brake warning in time, thereby reducing the accident risk of the vehicle.
[0066] In one embodiment, the method further includes: when the deceleration is greater than the first deceleration threshold and the deceleration change rate is greater than the first change rate threshold, generating a second brake light control instruction, and the second brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0067] Optionally, the deceleration being greater than the first deceleration threshold indicates that the deceleration meets the brake light lighting condition; the deceleration change rate being greater than the first change rate threshold indicates that the deceleration is the fluctuation value generated when the vehicle passes over a speed bump or a bumpy road surface, and the deceleration is invalid and cannot be used as the judgment basis for brake light control.
[0068] Therefore, when the deceleration satisfies the brake light lighting and the deceleration is invalid, the brake controller generates a second brake light control instruction for instructing the brake light controller to turn off the brake light.
[0069] In this example, by instructing the brake light controller to turn off the brake light when the deceleration meets the brake light lighting condition and the deceleration is invalid, it is possible to avoid brake light flickering caused by deceleration fluctuations when the vehicle passes over speed bumps or bumpy roads.
[0070] In one embodiment, the method further includes: generating a third brake light control instruction when the brake light is on, the deceleration is less than a second deceleration threshold and the deceleration change rate is not greater than a second change rate threshold, the third brake light control instruction being used to instruct the brake light controller to turn off the brake light.
[0071] The second deceleration threshold may be 0.7 m / s 2 , the second change rate threshold may be the same as the first change rate threshold.
[0072] Optionally, the deceleration is less than the second deceleration threshold, indicating that the deceleration meets the brake light off condition; the deceleration change rate is not greater than the second change rate threshold, indicating that the deceleration is not a fluctuation value caused by the vehicle passing through a speed bump or bumpy road, and the deceleration is valid.
[0073] Therefore, when the deceleration satisfies the brake light turning-off condition and the deceleration is valid, the brake controller generates a third brake light control instruction for instructing the brake light controller to turn off the brake light.
[0074] In this example, by instructing the brake light controller to turn off the brake lights when the deceleration of the vehicle meets the brake light turning off condition and the deceleration is effective, the brake warning can be released in time, thereby reducing the accident risk of the vehicle.
[0075] In one embodiment, the method further includes: generating a fourth brake light control instruction when the brake light is on, the deceleration is less than a second deceleration threshold and the deceleration change rate is greater than a second change rate threshold, the fourth brake light control instruction being used to instruct the brake light controller to light the brake light.
[0076] Optionally, the deceleration is less than the second deceleration threshold, indicating that the deceleration meets the brake light off condition; the deceleration change rate is greater than the second change rate threshold, indicating that the deceleration is a fluctuating value caused by the vehicle passing through a speed bump or bumpy road, and the deceleration is invalid and cannot be used as a basis for judging the brake light control.
[0077] Therefore, when the deceleration satisfies the brake light off condition and the deceleration is invalid, the brake controller generates a fourth brake light control instruction for instructing the brake light controller to light the brake light.
[0078] In this embodiment, when the deceleration of the vehicle meets the condition for the brake light to turn off and the deceleration is invalid, the brake light controller is instructed to turn on the brake light, which can avoid the stroboscopic flashing of the brake light caused by the deceleration fluctuation when the vehicle passes over a speed bump or a bumpy road surface.
[0079] In an alternative embodiment, when it is determined that the deceleration is invalid, a flag bit is set. For example, the flag bit is Bump flag, and when the deceleration is invalid, Bump flag = On; when the deceleration is valid, Bump flag = Off. The brake controller further generates a brake light control instruction according to the deceleration and the status of the flag bit setting. For example, when the deceleration is greater than the first deceleration threshold and the flag bit is not set, a first brake light control instruction is generated; when the deceleration is greater than the first deceleration threshold and the flag bit is set, a second brake light control instruction is generated; when the brake light is on, the deceleration is less than the second deceleration threshold and the flag bit is not set, a third brake light control instruction is generated; when the brake light is on, the deceleration is less than the second deceleration threshold and the flag bit is set, a fourth brake light control instruction is generated.
[0080] In one embodiment, according to the wheel speed information, the deceleration change rate of the vehicle is obtained, including: according to the wheel speed information corresponding to each wheel, the deceleration change rate corresponding to each wheel is obtained; the minimum value is selected from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
[0081] Optionally, during the process of determining the deceleration change rate of the vehicle, the brake controller first obtains the deceleration change rate corresponding to each wheel according to the wheel speed information corresponding to each wheel. The calculation method of the deceleration change rate corresponding to the wheel is as follows:
[0082]
[0083] In the formula, represents the deceleration change rate corresponding to the th wheel, represents the wheel speed information corresponding to the th wheel, represents the dynamic correction coefficient, which can be dynamically determined according to the vehicle running state.
[0084] Furthermore, the minimum value is selected from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle. For example, the vehicle has four wheels, and the wheel speed change rates corresponding to the four wheels are -1 m / s 3 、-1.3 m / s 3 、-1.5 m / s 3 、-1.7 m / s 3 , and -1.7 m / s3 As the deceleration change rate of the vehicle.
[0085] In this embodiment, by selecting the minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle, the wheel speed change state of the vehicle can be better reflected, so as to more accurately judge whether the deceleration is effective.
[0086] In one embodiment, as Figure 3 shown, a method for controlling a vehicle brake light is provided, and the method includes the following steps:
[0087] (1) When the vehicle is in the braking and decelerating working condition, judge whether the brake pedal is depressed. If the brake pedal is depressed, control the lighting and extinguishing of the brake light through the brake pedal sensor.
[0088] (2) If the brake pedal is not depressed, it is determined that the vehicle is in the automatic braking state, and judge whether the vehicle deceleration is greater than 1 m / s 2 .
[0089] (3) When the deceleration is greater than 1 m / s 2 , further judge whether the Bump flag is set, the purpose is to judge the effectiveness of the vehicle deceleration, and request to light the brake light when the deceleration is effective.
[0090] (4) When the vehicle is in the automatic braking state and the brake light is on, judge whether the vehicle deceleration is less than 0.7 m / s 2 .
[0091] (5) When the deceleration is less than 0.7 m / s 2 , further judge whether the Bump flag is set, the purpose is to judge the effectiveness of the vehicle deceleration, and request to extinguish the brake light when the deceleration is effective.
[0092] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps in other steps.
[0093] Based on the same inventive concept, an embodiment of the present application further provides a control device for a vehicle brake light for implementing the control method of the vehicle brake light involved above. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the control device for the vehicle brake light provided below can refer to the limitations on the control method of the vehicle brake light in the above text, and will not be elaborated here.
[0094] In an exemplary embodiment, as Figure 4 shown, a control device for a vehicle brake light is provided, including: a first acquisition module 410, a second acquisition module 420, a generation module 430, and a transmission module 440, where:
[0095] The first acquisition module 410 is configured to acquire wheel speed information corresponding to each wheel of the vehicle;
[0096] The second acquisition module 420 is configured to acquire the deceleration of the vehicle according to the wheel speed information, and acquire the deceleration change rate of the vehicle according to the wheel speed information;
[0097] The generation module 430 is configured to generate a brake light control instruction according to the deceleration and the deceleration change rate;
[0098] The transmission module 440 is configured to send the brake light control instruction to the brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
[0099] In an embodiment, the generation module 430 is further configured to generate a first brake light control instruction when the deceleration is greater than a first deceleration threshold and the deceleration change rate is not greater than a first change rate threshold, and the first brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0100] In an embodiment, the generation module 430 is further configured to generate a second brake light control instruction when the deceleration is greater than a first deceleration threshold and the deceleration change rate is greater than a first change rate threshold, and the second brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0101] In an embodiment, the generation module 430 is further configured to generate a third brake light control instruction when the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is not greater than a second change rate threshold, and the third brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0102] In one embodiment, the generating module 430 is further configured to generate a fourth brake light control instruction when the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is greater than a second change rate threshold, and the fourth brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0103] In one embodiment, the second obtaining module 420 is further configured to obtain the deceleration change rate corresponding to each wheel according to the wheel speed information corresponding to each wheel; select the minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
[0104] Each module in the above vehicle brake light control device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor in the computer device in hardware form or independent of it, or stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0105] In an exemplary embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 5 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a method for controlling a vehicle brake light.
[0106] Those skilled in the art can understand that Figure 5 the structure shown in
[0107] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: obtaining wheel speed information corresponding to each wheel of a vehicle; obtaining a deceleration of the vehicle according to the wheel speed information, and obtaining a deceleration change rate of the vehicle according to the wheel speed information; generating a brake light control instruction according to the deceleration and the deceleration change rate; sending the brake light control instruction to a brake light controller, instructing the brake light controller to control the brake light according to a brake switch state and the brake light control instruction.
[0108] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in a case where the deceleration is greater than a first deceleration threshold and the deceleration change rate is not greater than a first change rate threshold, generating a first brake light control instruction, where the first brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0109] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in a case where the deceleration is greater than the first deceleration threshold and the deceleration change rate is greater than the first change rate threshold, generating a second brake light control instruction, where the second brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0110] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in a case where the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is not greater than a second change rate threshold, generating a third brake light control instruction, where the third brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0111] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in a case where the brake light is on, the deceleration is less than the second deceleration threshold, and the deceleration change rate is greater than the second change rate threshold, generating a fourth brake light control instruction, where the fourth brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0112] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining a deceleration change rate corresponding to each wheel according to the wheel speed information corresponding to each wheel; selecting a minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining wheel speed information corresponding to each wheel of a vehicle; obtaining a deceleration of the vehicle according to the wheel speed information, and obtaining a deceleration change rate of the vehicle according to the wheel speed information; generating a brake light control instruction according to the deceleration and the deceleration change rate; and sending the brake light control instruction to a brake light controller, instructing the brake light controller to control the brake light according to a brake switch state and the brake light control instruction.
[0114] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: generating a first brake light control instruction when the deceleration is greater than a first deceleration threshold and the deceleration change rate is not greater than a first change rate threshold, where the first brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0115] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: generating a second brake light control instruction when the deceleration is greater than the first deceleration threshold and the deceleration change rate is greater than the first change rate threshold, where the second brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0116] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: generating a third brake light control instruction when the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is not greater than a second change rate threshold, where the third brake light control instruction is used to instruct the brake light controller to turn off the brake light.
[0117] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: generating a fourth brake light control instruction when the brake light is on, the deceleration is less than the second deceleration threshold, and the deceleration change rate is greater than the second change rate threshold, where the fourth brake light control instruction is used to instruct the brake light controller to turn on the brake light.
[0118] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining a deceleration change rate corresponding to each wheel according to the wheel speed information corresponding to each wheel; and selecting a minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
[0119] In one embodiment, a vehicle is provided, including the control device of the vehicle brake light described above.
[0120] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0121] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the various embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memories can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the various embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the various embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., and are not limited thereto.
[0122] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as within the scope described in this specification.
[0123] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A control method for a vehicle brake light, characterized in that Including: Obtaining wheel speed information corresponding to each wheel of the vehicle; Obtaining the deceleration of the vehicle according to the wheel speed information, and obtaining the deceleration change rate of the vehicle according to the wheel speed information; Generating a brake light control instruction according to the deceleration and the deceleration change rate; Sending the brake light control instruction to a brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
2. The method according to claim 1, wherein The generating a brake light control instruction according to the deceleration and the deceleration change rate includes: When the deceleration is greater than a first deceleration threshold and the deceleration change rate is not greater than a first change rate threshold, generating a first brake light control instruction for instructing the brake light controller to turn on the brake light.
3. The method according to claim 2, wherein The method further includes: When the deceleration is greater than the first deceleration threshold and the deceleration change rate is greater than the first change rate threshold, generating a second brake light control instruction for instructing the brake light controller to turn off the brake light.
4. The method according to claim 3, wherein The method further includes: When the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is not greater than a second change rate threshold, generating a third brake light control instruction for instructing the brake light controller to turn off the brake light.
5. The method according to claim 4, wherein The method further includes: When the brake light is on, the deceleration is less than a second deceleration threshold, and the deceleration change rate is greater than a second change rate threshold, generating a fourth brake light control instruction for instructing the brake light controller to turn on the brake light.
6. The method according to claim 1, wherein The obtaining the deceleration change rate of the vehicle according to the wheel speed information includes: Obtaining the deceleration change rate corresponding to each wheel according to the wheel speed information corresponding to each wheel; Selecting the minimum value from the deceleration change rates corresponding to multiple wheels as the deceleration change rate of the vehicle.
7. A control device for a vehicle brake light, characterized in that, The device includes: A first obtaining module for obtaining wheel speed information corresponding to each wheel of the vehicle; A second obtaining module for obtaining the deceleration of the vehicle according to the wheel speed information and obtaining the deceleration change rate of the vehicle according to the wheel speed information; A generating module for generating a brake light control instruction according to the deceleration and the deceleration change rate; A sending module for sending the brake light control instruction to a brake light controller, instructing the brake light controller to control the brake light according to the brake switch state and the brake light control instruction.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A vehicle, characterized in that, Including the control device of the vehicle brake light according to claim 7.