A car distance-based light / speech warning method, intelligent cockpit and vehicle thereof

By combining onboard sensors and PID control with a light/voice warning system, the problem of inaccurate distance measurement between vehicles is solved, providing real-time alerts and ensuring safe driving.

CN118457432BActive Publication Date: 2026-04-24CHINA FAW CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2024-04-30
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing vehicle safety driving systems cannot accurately measure and display the distance between vehicles, making it difficult for drivers to judge safe driving distances and potentially leading to delays or false alarms.

Method used

The vehicle obtains distance information between itself and the vehicle in front using onboard sensors, generates a following strategy using PID control principles, adjusts the parameters of the PID controller to calculate a safe distance, and provides real-time warnings in conjunction with a lighting and voice prompt system.

Benefits of technology

It enables accurate perception and timely warning of the distance between the vehicle and the vehicle in front, reducing the risk of traffic accidents, improving driving safety and comfort, and adapting to changes in different road conditions and speeds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118457432B_ABST
    Figure CN118457432B_ABST
Patent Text Reader

Abstract

The application discloses a light / sound early warning method based on a vehicle distance, an intelligent cockpit and a vehicle thereof, and belongs to the technical field of intelligent control, and comprises the following steps: acquiring distance information of a host vehicle and a preceding vehicle through a vehicle-mounted sensor; detecting a distance change value of the host vehicle and the preceding vehicle in real time, generating a following vehicle strategy based on a PID control principle, comparing the distance change value with a preset threshold value, and judging whether the current distance change value reaches the preset threshold value; if the current distance change value reaches the preset threshold value, a light warning signal is sent through a vehicle-mounted light system, and a sound prompt signal is sent through an in-vehicle sound system. The early warning method provided by the application is combined with light reminding and sound prompting, when the system detects that the distance from the preceding vehicle is too close or there is a dangerous behavior, warning information is timely transmitted to the driver through flashing warning lights and sound prompting, so that the driver takes corresponding measures to ensure driving safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a warning method, a smart cockpit and its vehicle, and more particularly to a light / voice warning method based on vehicle distance, a smart cockpit and its vehicle, belonging to the technical field of intelligent control. Background Technology

[0002] Through testing and practical application, existing vehicle safety driving systems have several issues in reflecting the distance between the vehicle and the vehicle in front. Specifically, existing systems may not accurately measure and display the actual distance between the two vehicles, making it difficult for drivers to determine whether a safe following distance has been maintained. Secondly, in certain situations, the system may experience delays or false alarms, causing confusion and unnecessary interference for the driver. Therefore, we need a technological solution that can accurately perceive the distance between the vehicle and the vehicle in front and provide warnings to address the shortcomings of existing technologies. Summary of the Invention

[0003] The purpose of this invention is to provide a distance-based light / voice warning method, an intelligent cockpit and its vehicle, and to address the shortcomings of existing technologies.

[0004] This invention provides the following solution:

[0005] A distance-based light / voice warning method includes:

[0006] The distance information between this vehicle and the vehicle in front is obtained through onboard sensors;

[0007] The distance change between the vehicle and the vehicle in front is detected in real time, and the distance change value is compared with a preset threshold to determine whether the current distance change value has reached the preset threshold.

[0008] A following strategy is generated based on the PID control principle. The parameters of the PID controller are adjusted to calculate the safe distance. The expected deceleration is obtained by subtracting the current speed of the vehicle from the expected deceleration using the PID controller.

[0009] The system detects the current distance change value and, in conjunction with the expected deceleration input, determines whether the current distance change value has reached a preset threshold. If the current distance change value has reached the preset threshold, a light warning signal is issued through the vehicle lighting system, and a voice prompt signal is issued through the in-vehicle voice system.

[0010] Furthermore, the vehicle-mounted sensors include: cameras, infrared sensors, and lidar.

[0011] Furthermore, if the current distance change value reaches a preset threshold, a light warning signal is issued through the vehicle's lighting system, and a voice prompt signal is issued through the in-vehicle voice system, specifically as follows:

[0012] When the distance between this vehicle and the vehicle in front is less than the set safe distance threshold, a light warning signal will be issued through the vehicle's lighting system, and a voice prompt signal will be issued through the in-vehicle voice system.

[0013] Furthermore, the step of emitting a light warning signal through the vehicle lighting system further includes:

[0014] The in-vehicle system provides warnings via LED lights on the vehicle's rearview mirror or dashboard.

[0015] Furthermore, the step of issuing voice prompts through the in-vehicle voice system further includes: real-time detection of the distance change between the vehicle and the vehicle in front, and when the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt.

[0016] Furthermore, the expected deceleration is a physical quantity that estimates the possible deceleration of the vehicle over a future period based on prior values ​​or observations.

[0017] Furthermore, the automatic triggering of a voice prompt by the in-vehicle system when the distance between the vehicle and the vehicle in front approaches a preset threshold further includes:

[0018] Real-time detection of the distance between the vehicle and the vehicle in front, and adjustment of the vehicle speed based on feedback mechanism;

[0019] Based on the adjusted vehicle speed, the distance between the vehicle and the vehicle in front is re-detected, and an optimized control strategy is implemented according to the current road conditions and traffic light status.

[0020] The system uses a filtering algorithm to remove environmental noise from the raw data and dynamically adjusts the threshold value based on the current driving scenario of the vehicle.

[0021] A distance-based light / voice warning system includes:

[0022] The vehicle-to-front distance information acquisition module acquires distance information between the vehicle and the vehicle in front through onboard sensors;

[0023] The vehicle-to-front distance change detection module detects the distance change between the vehicle and the vehicle in front in real time, compares the distance change value with a preset threshold, and determines whether the current distance change value has reached the preset threshold.

[0024] The PID control following strategy generation module generates a following strategy based on the PID control principle, adjusts the parameters of the PID controller to calculate the safe distance, and uses the PID controller to calculate the difference between the expected deceleration and the current speed of the vehicle to obtain the expected deceleration input of the vehicle brake.

[0025] The vehicle-mounted lighting / voice warning module detects the current distance change value and, in conjunction with the expected deceleration input, determines whether the current distance change value has reached a preset threshold. If the current distance change value has reached the preset threshold, a lighting warning signal is issued through the vehicle-mounted lighting system, and a voice prompt signal is issued through the in-vehicle voice system.

[0026] A smart cockpit, wherein the smart cockpit is equipped with the aforementioned distance-based light / voice warning system, and executes the aforementioned distance-based light / voice warning method.

[0027] An electronic device includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method.

[0028] A computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the method.

[0029] A vehicle, specifically comprising:

[0030] An electronic device for implementing the method described;

[0031] A processor that runs a program, which, when the program is running, performs the steps of the method in response to data output from the electronic device;

[0032] A storage medium for storing a program that, when run, executes the steps of the method in response to data output from an electronic device.

[0033] Compared with the prior art, the present invention has the following advantages:

[0034] This invention uses changes in distance to generate light / voice warnings, providing a more accurate reflection of the safe distance between the vehicle and the vehicle in front. This helps drivers stay constantly aware of road conditions and avoid traffic accidents caused by negligence. Furthermore, the system automatically adjusts the warning threshold and sensitivity based on different road conditions and driving speeds, ensuring effective operation in various situations.

[0035] The warning method provided by this invention combines light alerts and voice prompts, further enhancing the driver's awareness of safe driving. When the system detects that the distance to the vehicle in front is too close or that there is dangerous behavior, it will promptly convey warning information to the driver through flashing warning lights and voice prompts. In this way, it can quickly attract attention in complex traffic environments and prompt the driver to take appropriate measures to ensure driving safety.

[0036] This invention allows for setting threshold ranges based on actual operating conditions. The vehicle system can adjust threshold settings and reminder methods according to actual needs, providing a degree of flexibility. Whether cruising steadily on a highway or frequently stopping and starting in urban congestion, this invention can be set according to personal preferences or special needs and modified at any time. By providing personalized settings, it can satisfy user experience, improve driving safety, and meet the needs for vehicle safety and comfort. Attached Figure Description

[0037] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0038] Figure 1 This is a flowchart of a light / voice warning method based on vehicle distance.

[0039] Figure 1a This is a flowchart for generating a following strategy based on the PID control principle.

[0040] Figure 2 This is an architecture diagram of a headlight / voice warning system based on vehicle distance.

[0041] Figure 3 This is an implementation method of the present invention in a specific application scenario.

[0042] Figure 4 This is a schematic diagram of the electronic device. Detailed Implementation

[0043] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0044] like Figure 1The distance-based light / voice warning method shown includes:

[0045] Step S1: Obtain the distance information between the vehicle and the vehicle in front through the vehicle-mounted sensors;

[0046] For example, vehicle sensors include cameras, infrared sensors, and lidar.

[0047] Step S2: Real-time detection of the distance change between the vehicle and the vehicle in front, comparison of the distance change with a preset threshold, and determination of whether the current distance change has reached the preset threshold. Specifically, a following strategy is generated based on PID control, and the safe distance is calculated by adjusting the parameters of PID control.

[0048] Step S3: Generate a following strategy based on the PID control principle, adjust the parameters of the PID controller to calculate the safe distance, and use the PID controller to calculate the difference between the expected deceleration and the current speed of the vehicle to obtain the expected deceleration input of the vehicle brake.

[0049] like Figure 1a As shown, preferably, step S3 further includes:

[0050] Step S31: Obtain the distance between the vehicle and the vehicle in front, the current deceleration of the vehicle, and the speed of the vehicle. Estimate the braking distance based on the current deceleration and speed of the vehicle.

[0051] Step S32: Subtract the braking distance from the distance between the vehicle and the vehicle in front to obtain the vehicle distance difference value;

[0052] Step S33: Input the distance difference to the PID controller for calculation to obtain the first expected deceleration. Use the difference between the first expected deceleration and the current deceleration of the vehicle as the control quantity (i.e., input quantity) and output it to the PID controller again to obtain the second expected deceleration.

[0053] Step S34: Control the brake based on the second expected deceleration as the control quantity controlled by the controller.

[0054] Vehicle deceleration is calculated by measuring the change in a vehicle's speed per unit time, and it satisfies the following formula: Deceleration = (Final speed - Initial speed) / Time interval. If the deceleration is positive, it indicates that the vehicle is decreasing its motion at a certain rate of acceleration; if the deceleration is zero, it indicates that the vehicle is maintaining a constant speed; if the deceleration is negative, it indicates that the vehicle is increasing its motion at a certain rate of acceleration (i.e., acceleration). By using deceleration, the vehicle control unit can determine the appropriate speed and intelligently calculate and predict the vehicle's stopping distance in advance, thereby ensuring driving safety.

[0055] In this embodiment, the distance between the vehicle and the vehicle in front, the current deceleration of the vehicle, and the current speed of the vehicle are obtained by the vehicle's sensors. By analyzing and calculating these data, the distance required for braking can be estimated. Based on the distance required for braking, it can be determined how much distance should be maintained from the vehicle in front to ensure safe driving.

[0056] The first expected deceleration is obtained by the PID controller after calculating the input. Then, the difference between the first expected deceleration and the current deceleration of the vehicle is used as a new input and re-inputted to the PID controller. The second expected deceleration is calculated again and finally used as the control quantity to be implemented by the controller, so as to achieve precise and effective adjustment and control of the braking system on the vehicle, thereby ensuring a safe distance between the vehicle and the vehicle in front.

[0057] For example, the brakes can be intelligently controlled through the vehicle's onboard system.

[0058] The onboard system uses the second expected deceleration as the control quantity controlled by the controller, and combines it with the current distance between the vehicle and the vehicle in front to control the brakes. It achieves intelligent control by providing light / voice warnings while intelligently reducing speed. It achieves intelligent control while monitoring the vehicle in front in real time, making the driving process safer and more convenient, and reducing the risk of traffic accidents caused by human error.

[0059] Through the above steps and processes, this embodiment can automatically judge and adjust the appropriate braking force and timing to adapt to the traffic conditions ahead during vehicle operation, thereby better maintaining a safe driving state and improving overall driving efficiency and comfort.

[0060] Step S4: Detect the current distance change value and, in conjunction with the expected deceleration input, determine whether the current distance change value has reached a preset threshold. If the current distance change value has reached the preset threshold, issue a light warning signal through the vehicle lighting system and issue a voice prompt signal through the in-vehicle voice system.

[0061] Preferably, when the distance between the vehicle and the vehicle in front is less than the set safe distance threshold, a light warning signal is issued through the vehicle lighting system and a voice prompt signal is issued through the in-vehicle voice system.

[0062] The method of emitting a light warning signal through the vehicle lighting system further includes:

[0063] The in-vehicle system uses LED lights on the vehicle's rearview mirror or dashboard to issue warnings. For example, a red light can indicate that the distance to the vehicle in front is too close and that it is necessary to slow down or maintain a safe distance.

[0064] Preferably, the system detects the distance between the vehicle and the vehicle in front in real time. When the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt. For example, the voice prompts include: "Please maintain a safe distance" and "The vehicle in front is too close, please slow down."

[0065] Preferably, in step S4, the expected deceleration is a physical quantity that estimates the possible deceleration of the vehicle in the future based on prior values ​​or observations.

[0066] Preferably, in step S4, the automatic triggering of a voice prompt by the vehicle system when the distance between the vehicle and the vehicle in front approaches a preset threshold further includes:

[0067] Real-time detection of the distance between the vehicle and the vehicle in front, and adjustment of the vehicle speed based on feedback mechanism;

[0068] Based on the adjusted vehicle speed, the distance between the vehicle and the vehicle in front is re-detected, and an optimized control strategy is implemented according to the current road conditions and traffic light status.

[0069] The system uses a filtering algorithm to remove environmental noise from the raw data and dynamically adjusts the threshold value based on the current driving scenario of the vehicle.

[0070] In step S4, the vehicle system monitors the distance between the vehicle and the vehicle in front in real time and adjusts the vehicle's speed based on a feedback mechanism. When the vehicle system detects that the distance to the vehicle in front is too close, it reduces the vehicle's speed to maintain a safe distance; conversely, when it detects that the distance to the vehicle in front is sufficiently far, it increases the vehicle's speed. Furthermore, in step S4, based on the adjusted vehicle speed, the vehicle system re-detects the distance to the vehicle in front and optimizes the control strategy by considering current road conditions and traffic light status.

[0071] For example, when stopped at a red light, the speed must be reduced to zero regardless of whether there are other vehicles ahead; however, when the light is green and the road is clear, the speed can be appropriately increased based on the actual situation. To accurately determine the distance between two vehicles and avoid error interference, the system employs a filtering algorithm to remove environmental noise from the raw data, eliminating noise interference introduced by sensors and other devices, and improving the accuracy of the measurement results. As a further improvement to the technical solution, the minimum safe distance required to maintain a safe following or overtaking distance may vary in different scenarios (such as urban roads, highways, etc.). Therefore, in this embodiment of the invention, the threshold value also needs to be dynamically adjusted.

[0072] For example, larger safety gaps are needed in congested traffic to cope with sudden stops or slowdowns, while on highways, safety gaps can be relatively smaller to improve traffic flow efficiency. The optimized control strategy provided by this invention can dynamically adjust the threshold size according to different scenarios to provide a better, more intelligent, safer, and more comfortable driving experience.

[0073] For the purpose of simplicity, the method steps disclosed in the above embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0074] like Figure 2 The distance-based light / voice warning system shown includes:

[0075] The vehicle-to-front distance information acquisition module acquires distance information between the vehicle and the vehicle in front through onboard sensors;

[0076] The vehicle-to-front distance change detection module detects the distance change between the vehicle and the vehicle in front in real time, compares the distance change value with a preset threshold, and determines whether the current distance change value has reached the preset threshold.

[0077] The PID control following strategy generation module generates a following strategy based on the PID control principle, adjusts the parameters of the PID controller to calculate the safe distance, and uses the PID controller to calculate the difference between the expected deceleration and the current speed of the vehicle to obtain the expected deceleration input of the vehicle brake.

[0078] The vehicle-mounted light / voice warning module detects the current distance change and, in conjunction with the expected deceleration input, determines whether the current distance change has reached a preset threshold. If the current distance change has reached the preset threshold, a light warning signal is issued through the vehicle-mounted light system, and a voice prompt signal is issued through the in-vehicle voice system. Based on the distance-based light / voice warning system, at least the following functions are implemented:

[0079] 1. Distance Calculation: Using technologies such as radar, infrared sensors, and cameras in the vehicle, the distance, speed, and direction to objects ahead are measured. By analyzing the signals returned by the radar, it is possible to determine whether there are obstacles ahead and calculate the distance to those obstacles.

[0080] 2. Data Processing and Analysis: By transmitting distance data acquired by sensors to a central processing unit, the system processes and analyzes the distance data. Machine learning algorithms can be used to identify and predict the movement and behavior of vehicles ahead.

[0081] 3. Light Warning: By comparing the distance to a vehicle ahead with a set threshold, the system will warn the driver via LED lights on the rearview mirror or dashboard when the distance is less than or equal to the set safe distance threshold. For example, a red light may indicate that the distance to the vehicle ahead is too close and that it is necessary to slow down or maintain a safe distance.

[0082] 4. Voice prompts: When the distance is below the safe threshold, voice prompts can also be used to remind you. When you are too close to the vehicle in front, the system will automatically trigger voice prompts, such as "Please keep a safe distance" or "You are too close to the vehicle in front, please slow down".

[0083] 5. Driver Interface: The system can also display the distance information between the current vehicle and the vehicle in front on the in-vehicle display screen, so that the driver can more intuitively understand the distance between vehicles.

[0084] The distance-based lighting and voice prompt system provides an intelligent driving assistance solution through technologies such as distance sensors, data processing and analysis, lighting reminders, and voice prompts. It helps drivers improve their perception of the distance to vehicles ahead and enhances the warning effect, thereby improving driving safety.

[0085] The implementation methods of the system described above are merely illustrative. For example, the various functional modules, units, or subsystems within the system may or may not be physically separate, or they may or may not be physical units; that is, they may be located in the same place or distributed across multiple different systems and their subsystems or modules. Those skilled in the art can select some or all of the functional modules, units, or subsystems to achieve the objectives of the embodiments of the present invention according to actual needs. Those skilled in the art can understand and implement the above-described situations without any creative effort.

[0086] like Figure 3 The embodiments of the present invention shown are implemented in specific application scenarios, providing a technology for reminding drivers to maintain a safe distance from the vehicle in front. Figure 3 The timing diagram should include at least:

[0087] Distance is obtained based on vehicle location using radar and cameras; for example, vehicle location can be vehicle location information obtained through physical devices (such as the vehicle's current geographical location information).

[0088] Based on the vehicle-mounted sensors, the system calculates whether a threshold distance has been reached.

[0089] The system calculates the distance, and when the distance to the vehicle is less than or equal to the threshold set, it issues a corresponding warning signal through the vehicle's lighting system and voice prompts.

[0090] The above-mentioned technologies can be further elaborated, including:

[0091] 1. Vehicle Sensors (Onboard Sensors): This system is equipped with forward vehicle detection sensors, which can monitor the distance between the vehicle in front and the vehicle in real time. These sensors and devices typically include technologies such as radar, cameras, infrared, and lidar.

[0092] 2. Distance Calculation: The system uses data obtained from vehicle sensors to calculate the actual distance to the vehicle ahead. A certain safe distance threshold is set according to safe driving regulations.

[0093] 3. Lighting Reminder: When the distance to the vehicle in front is less than the set safe distance threshold, the system will warn you via LED lights on the rearview mirror or dashboard. For example, a red light can indicate that the distance to the vehicle in front is too close and you need to slow down or maintain a safe distance.

[0094] 4. Voice prompts: In addition to light warnings, the system can also issue warnings to the driver via voice prompts. When the distance to the vehicle in front is too close, the system will automatically trigger voice prompts, such as: "Please maintain a safe distance" or "The vehicle in front is too close, please slow down."

[0095] 5. Warning duration: The system allows setting the warning duration to remind the driver to maintain a safe distance from the vehicle in front within a certain range.

[0096] This invention provides a light reminder and voice prompt system based on vehicle distance, and also provides a corresponding implementation method for the system. The aim is to improve the driver's ability to perceive the distance to vehicles ahead and increase driving safety. Specific implementation details may vary depending on different car brands and models, and will not be elaborated here due to space limitations.

[0097] As a further improvement to the technical solution, the present invention also provides other embodiments. These embodiments include at least the following:

[0098] 1. Forward vehicle detection sensor: One of the key features of the vehicle system is the use of a forward vehicle detection sensor to monitor the distance to the vehicle in front in real time. This sensor can accurately capture the position and distance information of the vehicle in front.

[0099] 2. Safe Distance Threshold Setting: The in-vehicle system sets a certain safe distance threshold based on safe driving regulations. This threshold is dynamically adjusted according to factors such as vehicle speed and road conditions to ensure a safe distance from the vehicle in front. Details are as follows:

[0100] 2.1 Car-following Strategy Selection: Choosing the appropriate car-following strategy is crucial. The most common car-following strategy is PID control, where:

[0101] P (proportion): Controlled based on the difference between the current vehicle distance and the target vehicle distance, for example:

[0102] P = Kp * (d target -d current )

[0103] The I (integral) term is used to reduce steady-state error, for example: I = Ki*∫(d target -d curren t ) dt

[0104] The D (differential) term is used to reduce oscillations, for example: D = Kd * d / dt (d target -d current )

[0105] Where P represents the parameter value that needs to be adjusted, and d target It is the expected safe distance, d current The current vehicle distance is Kp, Ki, and Kd are control gains, and I is used to adjust the stability of the control input and eliminate steady-state error. ∫(d target -d curren dt) represents the integral of the difference between the target value and the current value, used to eliminate steady-state error and enhance the stability of the control system.

[0106] dt: represents a small change in time, indicating the time step of the integration operation.

[0107] D: The output value of the controller.

[0108] d / dt: The derivative operation, representing the derivative with respect to time.

[0109] d: Indicates distance.

[0110] 2.2 Vehicle speed and road conditions: The threshold for dynamically adjusting the safe distance can be calculated based on the following factors:

[0111] Speed ​​factor: Adjust the safety interval according to the current vehicle speed, for example: d target = Kv * V current Where Kv is the velocity coefficient. V current Indicates the current distance or displacement

[0112] Road conditions: Adjust according to road conditions (such as rain, snow, etc.), for example: dtarget= Kr *Rcondition, where Kr It is the road condition coefficient, R condition It is a measure of road conditions.

[0113] 2.3. Final Control Strategy: Integrating the above formulas into the control system, the final safe distance d is determined. target It can be a combination of multiple factors, for example: d target = Kp * (d current -d front ) + Kv * V current + Kr *R condition .

[0114] 2.4. Control Feedback: The system continuously monitors the speed and position of vehicles ahead, as well as the speed and position of the vehicle itself. Then, it calculates the target safe distance using the formula mentioned above and sets the threshold value through acceleration and braking.

[0115] 3. Lighting and Voice Prompts: The system alerts the driver through both LED lights and voice prompts. When the distance to the vehicle ahead falls below the set safe distance threshold, the system will trigger corresponding lighting and voice prompts to remind the driver to maintain a safe distance.

[0116] Warning Duration: The system also allows you to set the warning duration, reminding the driver to maintain a safe distance from the vehicle in front within a certain range. This duration can be adjusted according to actual needs to achieve the best warning effect.

[0117] 5. Diversification: Different prompts can be set for reminders, or users can upload their own, which can meet the personalized needs and preferences of different drivers.

[0118] This embodiment provides a PID control method for following distance. Based on this control method, it can be used in an autonomous driving system. By measuring the distance between the vehicle and the vehicle in front, and adjusting the vehicle speed according to the set target following distance, a safe and appropriate driving interval can be maintained.

[0119] PID stands for Proportional-Integral-Derivative, a feedback control algorithm in which proportional, integral, and derivative components play different roles in controlling the distance between the vehicle and the vehicle in front.

[0120] Proportional: Adjusts the speed based on the difference between the actual following distance and the target distance. If the actual following distance is less than the target distance, increase the speed; if the actual following distance is greater than the target distance, decrease the speed.

[0121] Integral: Considers the accumulation of errors over a period of time and compensates for the errors. When steady-state errors exist, the integral term can help eliminate these errors.

[0122] Derivative: Considers the current trend of error change, providing a faster response when instantaneous changes are large. The derivative term is determined by calculating the slope between the current error and the previous measurement result.

[0123] For example, this vehicle aims to maintain a certain driving distance from the vehicle in front. The vehicle's onboard system monitors the distance between the vehicle and the vehicle in front in real time. During the real-time monitoring, if it is found that the actual driving distance between the vehicle and the vehicle in front is less than the expected driving distance, the proportional term increases the vehicle speed to increase the gap between the two. At the same time, the integral term records the steady-state error caused by multiple consecutive occurrences of excessively small driving distances and adjusts the vehicle speed to compensate for the steady-state error. The derivative term is used to adjust the vehicle speed accordingly based on the driving distance.

[0124] As can be seen, the PID control method disclosed in this embodiment enables the autonomous driving system to better maintain and adjust a reasonable and safe driving distance between the vehicle and the vehicle in front. It can effectively remind the driver to maintain a safe driving distance, reduce the occurrence of rear-end collisions, and can be used as part of a vehicle safety assistance system to improve the driver's safety awareness and driving safety.

[0125] like Figure 4 As shown, based on the distance-based headlight voice warning method and system, this invention also provides corresponding electronic devices, storage media, smart cockpits, and vehicles:

[0126] A smart cockpit is provided, wherein a distance-based light / voice warning system is installed in the smart cockpit, and the distance-based light / voice warning method is executed according to the distance-based light / voice warning system.

[0127] An electronic device includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory stores a computer program, which, when executed by the processor, causes the processor to perform steps of a distance-based light / voice warning method.

[0128] A computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of a distance-based light / voice warning method.

[0129] A vehicle, specifically comprising:

[0130] Electronic devices for implementing distance-based light / voice warning methods;

[0131] A processor that runs a program that, when the program is running, performs steps of a distance-based light / voice warning method in response to data output from the electronic device;

[0132] A storage medium for storing a program that, when running, performs steps of a distance-based light / voice warning method in response to data output from an electronic device.

[0133] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 4 A block diagram is shown that is suitable for implementing embodiments of the present invention. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the present invention. This electronic device can typically be a device within an electronic product that operates based on the distance-based light / voice warning method described in the above embodiments. For example, it could be an electronic device in an electric vehicle. Figure 4 As shown, electronic device 500 is represented in the form of a general-purpose computing device. Components of electronic device 500 may include, but are not limited to: one or more processing units or processors 516, memory 528, and a bus 518 connecting different system components (including memory 528 and processor 516). Bus 518 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0134] Electronic device 500 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 500, including volatile and non-volatile media, removable and non-removable media. Memory 528 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532. Electronic device 500 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 534 may be used to read and write non-removable, non-volatile magnetic media (not shown in the figure, commonly referred to as a "hard disk drive"). Although not shown in the figure, storage system 534 may provide a disk drive for reading and writing to removable non-volatile disks (e.g., floppy disks, portable hard drives, hot-swappable storage media) and an optical disk drive for reading and writing to removable non-volatile optical disks (e.g., CD-ROMs, DVD-ROMs, or other optical media). In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Memory 528 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention. A program / utility 540 having a set (at least one) of program modules 542 may be stored, for example, in memory 528. Such program modules 542 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 542 typically perform the functions and / or methods described in the embodiments of the present invention.

[0135] Electronic device 500 can also communicate with one or more external devices 514 (e.g., keyboard, pointing device, display 524, etc.), and with one or more devices that enable a user to interact with electronic device 500, and / or with any device that enables electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 522. Furthermore, electronic device 500 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 520. Network adapter 520 communicates with other modules of electronic device 500 via bus 518. It should be understood that, although not shown in the figures, those skilled in the art can use other hardware and / or software modules in conjunction with electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems. The processor 516 executes various functional applications and data processing by running programs stored in the memory 528, such as implementing the methods provided in any one or more embodiments of the present invention.

[0136] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this specification.

[0137] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, any of the embodiments claimed in the claims can be used in any combination of embodiments of the invention.

[0138] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0139] Furthermore, the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are feasible for those skilled in the art. If the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

[0140] All features disclosed in this specification, or steps in all disclosed methods or processes, may be combined in any way, except for mutually exclusive features and / or steps. Any feature disclosed in this specification, unless specifically stated otherwise, may be replaced by other equivalent or similar features. That is, unless specifically stated otherwise, each feature is merely one example of a series of equivalent or similar features. Throughout this specification, the same reference numerals indicate the same elements.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A light / voice warning method based on vehicle distance, characterized in that, include: The distance information between this vehicle and the vehicle in front is obtained through onboard sensors; The distance change between the vehicle and the vehicle in front is detected in real time, and the distance change value is compared with a preset threshold to determine whether the current distance change value has reached the preset threshold. A following strategy is generated based on the PID control principle. The parameters of the PID controller are adjusted to calculate the safe distance. The expected deceleration is obtained by subtracting the current speed of the vehicle from the expected deceleration using the PID controller. The system detects the current distance change value and, in conjunction with the expected deceleration input, determines whether the current distance change value has reached a preset threshold. If the current distance change value has reached the preset threshold, a light warning signal is issued through the vehicle lighting system, and a voice prompt signal is issued through the in-vehicle voice system. A following strategy is generated based on the PID control principle. The parameters of the PID controller are adjusted to calculate the safe distance. The expected deceleration is obtained by subtracting the current speed of the vehicle from the expected deceleration of the PID controller. Further steps include: Step S31: Obtain the distance between the vehicle and the vehicle in front, the current deceleration of the vehicle, and the speed of the vehicle. Estimate the braking distance based on the current deceleration and speed of the vehicle. Step S32: Subtract the braking distance from the distance between the vehicle and the vehicle in front to obtain the vehicle distance difference value; Step S33: Input the distance difference to the PID controller for calculation to obtain the first expected deceleration. Use the difference between the first expected deceleration and the current deceleration of the vehicle as the control quantity and output it to the PID controller again to obtain the second expected deceleration. When the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt, further including: Real-time detection of the distance between the vehicle and the vehicle in front, and adjustment of the vehicle speed based on feedback mechanism; Based on the adjusted vehicle speed, the distance between the vehicle and the vehicle in front is re-detected, and an optimized control strategy is implemented according to the current road conditions and traffic light status. The system uses a filtering algorithm to remove environmental noise from the raw data and dynamically adjusts the threshold value based on the current driving scenario of the vehicle.

2. The light / voice warning method based on vehicle distance according to claim 1, characterized in that, The vehicle-mounted sensors include: cameras, infrared sensors, and lidar.

3. The light / voice warning method based on vehicle distance according to claim 1, characterized in that, If the current distance change reaches a preset threshold, a light warning signal will be issued through the vehicle's lighting system, and a voice prompt signal will be issued through the in-vehicle voice system, specifically: When the distance between this vehicle and the vehicle in front is less than the set safe distance threshold, a light warning signal will be issued through the vehicle's lighting system, and a voice prompt signal will be issued through the in-vehicle voice system.

4. The light / voice warning method based on vehicle distance according to claim 1, characterized in that, The method of emitting a light warning signal through the vehicle lighting system further includes: The in-vehicle system provides warnings via LED lights on the vehicle's rearview mirror or dashboard.

5. The light / voice warning method based on vehicle distance according to claim 1, characterized in that, The provision of issuing voice prompts through the in-vehicle voice system further includes: real-time detection of the distance change between the vehicle and the vehicle in front; when the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt.

6. The light / voice warning method based on vehicle distance according to claim 5, characterized in that, The expected deceleration is a physical quantity that estimates the possible deceleration of a vehicle over a future period based on prior values ​​or observations.

7. The light / voice warning method based on vehicle distance according to claim 5, characterized in that, When the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt, further including: Real-time detection of the distance between the vehicle and the vehicle in front, and adjustment of the vehicle speed based on feedback mechanism; Based on the adjusted vehicle speed, the distance between the vehicle and the vehicle in front is re-detected, and an optimized control strategy is implemented according to the current road conditions and traffic light status. The system uses a filtering algorithm to remove environmental noise from the raw data and dynamically adjusts the threshold value based on the current driving scenario of the vehicle.

8. A headlight / voice warning system based on vehicle distance, characterized in that, include: The vehicle-to-front distance information acquisition module acquires distance information between the vehicle and the vehicle in front through onboard sensors; The distance change detection module between this vehicle and the vehicle in front detects the distance change between this vehicle and the vehicle in front in real time, compares the distance change value with a preset threshold, and determines whether the current distance change value has reached the preset threshold. The PID control following strategy generation module generates a following strategy based on the PID control principle, adjusts the parameters of the PID controller to calculate the safe distance, and uses the PID controller to calculate the difference between the expected deceleration and the current speed of the vehicle to obtain the expected deceleration input of the vehicle brake. The vehicle-mounted lighting / voice warning module detects the current distance change value and, in conjunction with the expected deceleration input, determines whether the current distance change value has reached a preset threshold. If the current distance change value has reached the preset threshold, a lighting warning signal is issued through the vehicle-mounted lighting system, and a voice prompt signal is issued through the in-vehicle voice system. A following strategy is generated based on the PID control principle. The parameters of the PID controller are adjusted to calculate the safe distance. The expected deceleration is obtained by subtracting the current speed of the vehicle from the expected deceleration of the PID controller. Further steps include: Step S31: Obtain the distance between the vehicle and the vehicle in front, the current deceleration of the vehicle, and the speed of the vehicle. Estimate the braking distance based on the current deceleration and speed of the vehicle. Step S32: Subtract the braking distance from the distance between the vehicle and the vehicle in front to obtain the vehicle distance difference value; Step S33: Input the distance difference to the PID controller for calculation to obtain the first expected deceleration. Use the difference between the first expected deceleration and the current deceleration of the vehicle as the control quantity and output it to the PID controller again to obtain the second expected deceleration. When the distance between the vehicle and the vehicle in front approaches a preset threshold, the in-vehicle system automatically triggers a voice prompt, further including: Real-time detection of the distance between the vehicle and the vehicle in front, and adjustment of the vehicle speed based on feedback mechanism; Based on the adjusted vehicle speed, the distance between the vehicle and the vehicle in front is re-detected, and an optimized control strategy is implemented according to the current road conditions and traffic light status. The system uses a filtering algorithm to remove environmental noise from the raw data and dynamically adjusts the threshold value based on the current driving scenario of the vehicle.

9. An intelligent cockpit, characterized in that, The intelligent cockpit is equipped with the distance-based light / voice warning system as described in claim 8, and executes the distance-based light / voice warning method as described in any one of claims 1 to 7.

10. An electronic device, characterized in that, include: The system includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that, It stores a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the method according to any one of claims 1 to 7.

12. A vehicle, characterized in that, Specifically, it includes: An electronic device for implementing the method according to any one of claims 1 to 7; A processor that runs a program that, when the program is running, performs the steps of the method according to any one of claims 1 to 7 on data output from the electronic device. A storage medium for storing a program that, when run, performs the steps of the method according to any one of claims 1 to 7 on data output from an electronic device.

Citation Information

Patent Citations

  • Automatic driving vehicle parking control method and device

    CN112356825A

  • Automatic vehicle following distance warning method and device

    CN113830082A