The present disclosure relates to the field of vehicles, and in particular, to a vehicle control method, a vehicle, and a storage medium.
At present, a rainfall detection device used during rainfall detection includes, for example, a capacitive raindrop sensor, a resistive raindrop sensor, an infrared raindrop sensor, a piezoelectric vibrator raindrop sensor, or a charge-coupled device (CCD) raindrop sensor. These sensors for detecting rainfall have shortcomings in precision and reliability of real-time rainfall detection. In addition, an application of rainfall detection in vehicle control is relatively single.
The present disclosure aims to solve at least one of the technical problems existing in the related art. Therefore, an objective of the present disclosure is to propose a vehicle control method. The method can precisely and reliably detect real-time rainfall and enrich an application of vehicle control based on rainfall detection.
A second objective of the present disclosure is to propose a vehicle.
A third objective of the present disclosure is to propose a computer-readable storage medium.
In order to achieve the above objectives, a vehicle control method according to an example of a first aspect of the present disclosure is provided. A vehicle is provided with an ultra wide band (UWB) sensor configured to measure a rainfall value. The method includes: The UWB sensor is waken up in response to a trigger instruction for starting rainfall detection, to cause the UWB sensor to measure a rainfall value. The rainfall value measured by the UWB sensor is acquired. The vehicle is controlled to execute a preset control instruction action according to the rainfall value.
A vehicle according to an example of a second aspect of the present disclosure includes: a UWB sensor, where the UWB sensor is configured to detect a rainfall value; at least one processor; and a memory. The memory stores a computer program executable by the at least one processor, and the computer program, when executed by the at least one processor, implements the vehicle control method according to any example of the first aspect of the present disclosure.
A computer-readable storage medium according to an example of a third aspect of the present disclosure is provided. The computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the vehicle control method according to any example of the first aspect of the present disclosure.
The vehicle, the method, and the storage medium according to the examples of the present disclosure have at least the following technical effects:
In the vehicle control method, the vehicle, and the storage medium according to the examples of the present disclosure, the rainfall is detected based on the UWB sensor, and the UWB sensor emits an electromagnetic wave, which is less affected by the environment and has high anti-interference performance. Therefore, a detected real-time rainfall value is more accurate and stable, and the vehicle is controlled to execute a preset control instruction action according to the rainfall value. That is, the rainfall detection is combined with vehicle body control, thereby enriching the application of the rainfall detection in vehicle control.
Some of the additional aspects and advantages of the present disclosure are set forth in the following description, and some become apparent from the following description, or are learned by practice of the present disclosure.
The above and/or additional aspects and advantages of the present disclosure become apparent and readily comprehensible from the description of examples with reference to the following accompanying drawings, in which:
Vehicle 100; vehicle body 10, UWB sensor 20, body control module 30, memory 40, and at least one processor 50; UWB signal emitter 21, UWB signal receiver 22, and control module 23.
Examples of the present disclosure are described in detail below with reference to the accompanying drawings.
In a relevant scheme of rainfall detection, a generally used rainfall detection device includes, for example, a capacitive raindrop sensor, a resistive raindrop sensor, an infrared raindrop sensor, a piezoelectric vibrator raindrop sensor, or a CCD raindrop sensor. However, these sensors for detecting rainfall have shortcomings in precision and reliability of real-time rainfall detection. In addition, in terms of rainfall detection control logic, a detected rainfall magnitude is not closely related to logic of vehicle body state control, such as sunroof and vehicle window opening-closing control, wiper speed adjustment, and vehicle speed adjustment, which leads to a relatively single application of rainfall detection in vehicle control.
In a vehicle control method according to an example of the present disclosure, a detected more accurate real-time rainfall value can be obtained by detecting the rainfall based on an ultra wide band (UWB) sensor that a vehicle is provided with, and an application of rainfall detection in vehicle control can be enriched by combining the rainfall detection with vehicle body state control.
The vehicle control method according to the example of the present disclosure is described below with reference to
In the example of the present disclosure, a vehicle is provided with a UWB sensor, and rainfall is detected in real time by the UWB sensor.
The UWB sensor 20 is connected to the body control module 30. The UWB sensor 20 uses a UWB technology. By a principle that electromagnetic waves emitted by the UWB sensor have different propagation times in different media, a propagation time of the electromagnetic waves in the case of different rainfall values can be correspondingly associated with the rainfall values, so that the UWB sensor 20 can automatically detect a moisture content in the air based on a time of flight of the electromagnetic waves and detect the rainfall value.
Moreover, the UWB detection technology is not affected by a light environment, so using the UWB sensor 20 to detect rainfall has high accuracy and stability. In addition, with the development of in-vehicle intelligence, UWB is used more and more in vehicles, such as welcoming guests and high-precision positioning. Therefore, using the UWB sensor 20 to detect rainfall does not require additional hardware, and is low in cost.
S1: A UWB sensor is waken up in response to a trigger instruction for starting rainfall detection, to cause the UWB sensor to measure a rainfall value.
In some examples, as shown in
The signal emitter of the UWB sensor is controlled to emit an electromagnetic wave signal during rainfall detection. The signal receiver of the UWB sensor is controlled to receive the electromagnetic wave signal propagated through a preset spatial range. The rainfall value is calculated and obtained according to a time of flight of the received electromagnetic wave signal.
Specifically, rainfall detection based on the UWB technology uses the principle that electromagnetic waves propagate at different speeds in different media. The vehicle according to the example of the present disclosure uses the UWB sensor as a new use manner, and the UWB signal emitter 21 and the UWB signal receiver 22 are placed on both sides of an object to be detected. A medium directly affects data detected by the UWB sensor 20, or the data detected by the UWB sensor 20 is affected by the medium that electromagnetic waves pass through. The electromagnetic waves released by the UWB sensor 20 pass through air and water, and a proportion of the air and the water in an electromagnetic wave motion path of the UWB sensor 20 directly affects data measured by the UWB sensor 20. A propagation speed of electromagnetic waves in water is less than that in air. A proportion of water in an electromagnetic wave propagation path is in a linear relationship with the data detected by the UWB sensor 20. A speed at which electromagnetic waves pass through a detection space is much faster than that of rainwater passing through the detection space, so that it can be believed that a position of the rainwater relative to the detection space is static within a time during which electromagnetic waves propagate back and forth through the detection space. In this case, the UWB sensor 20 can measure a ratio θ of a volume of water to a volume of the detection space at a moment, that is, a proportion of the water in the detection space. A proportion of the water in a certain space can be used as an index to measure rainfall. 0 may be used as an index to measure the rainfall. A large value of the rainfall index denotes a high rainwater content in the air and a high rainfall intensity. The UWB sensor 20 can measure the index in real time. The UWB signal emitter 21 transmits an electromagnetic wave to the UWB signal receiver 22, and the UWB signal receiver 22 detects a current rainfall magnitude through a processing operation by the control module 23 according to a time of flight of the received electromagnetic wave.
A transmission time of electromagnetic waves emitted by the UWB signal emitter is calculated according to a time-of-flight (TOF) calculation principle (t=d/v). Transmission times of the electromagnetic waves emitted by the UWB signal emitter 21 in different media (such as air and water) are different, and a rainfall magnitude is determined according to the fact that the transmission time of electromagnetic waves becomes longer when there is large rainfall and the transmission time of electromagnetic wave becomes shorter when there is small rainfall. In this way, high accuracy of detecting the rainfall magnitude and high anti-interference performance are achieved. In addition, the principle of rainfall detection by the UWB sensor is simple, which can control the vehicle body (such as vehicle speed adjustment) in coordination with a body domain, thereby bringing better experience to a user.
In some examples, in a driving state, it is detected that the vehicle is in an ignition state, and a trigger instruction for starting rainfall detection is sent. Therefore, the UWB sensor 20 can be automatically waked up, and the UWB sensor 20 starts to operate, that is, to detect rainfall. Alternatively, in some other examples, the vehicle includes a vehicle window, and when it is detected that the vehicle is in a flameout state and the vehicle window of the vehicle is in an open state, a trigger instruction for starting rainfall detection is sent. That is, in response to an engine of the vehicle flaming out and the vehicle window being in the open state, the UWB sensor 20 can be automatically waked up, and the UWB sensor 20 starts to operate, that is, to detect rainfall. Alternatively, the user may set another trigger condition to automatically wake up the UWB sensor 20. Therefore, the UWB sensor 20 can be automatically waked up more intelligently without a manual operation by the user, especially when the user forgets to close the window in the flameout state.
S2: The rainfall value detected by the UWB sensor is acquired.
For example, the UWB sensor sends the detected rainfall value to a vehicle domain controller, such as the body control module, and the body control module receives the rainfall value and combines the rainfall value with a vehicle body state, thereby enriching an application of rainfall detection in vehicle control.
S3: The vehicle is controlled to execute a preset control instruction action according to the rainfall value.
Specifically, the vehicle execution device is connected to the body control module 30, and the vehicle execution device is configured to execute a preset control action on the vehicle body according to a control signal, such as controlling the vehicle window to be opened or closed, adjusting an action speed of the wiper, and controlling the in-vehicle multimedia to play relevant information, that is, to closely relate a detected rainfall magnitude to logic of vehicle body state control, such as sunroof and vehicle window opening-closing control, wiper speed adjustment, and vehicle speed adjustment in terms of rainfall detection control logic, thereby enriching the application of rainfall detection in vehicle control.
In the vehicle control method according to the example of the present disclosure, real-time rainfall is detected based on the UWB sensor, and the UWB sensor emits an electromagnetic wave, which is less affected by the environment and has high anti-interference performance. Therefore, a detected real-time rainfall value is more accurate and stable. Moreover, the rainfall detection is combined with the vehicle body control, and the vehicle body is controlled to execute a preset control action according to the rainfall value, thereby enriching the application of the rainfall detection in vehicle control.
In some examples, the vehicle includes a vehicle window, and that the vehicle is controlled to execute a preset control instruction action according to the rainfall value may specifically include: It is determined that the rainfall value reaches a preset window closing rainfall threshold, and the vehicle window is controlled to be closed, in response to detecting that the vehicle window is in an open state.
The window closing rainfall threshold can be determined according to whether the rainfall affects property safety in the vehicle.
Specifically, the body control module compares a received real-time rainfall value detected by the UWB sensor with the preset window closing rainfall threshold, and controls, if the rainfall value reaches the window closing rainfall threshold and there is a vehicle window in an open state, such as a vehicle side window or a sunroof, the vehicle window in the open state to be closed, so that rainwater can be prevented from entering the vehicle and accumulating, thereby avoiding an economic loss caused to the user when the vehicle window is not closed in the case of rainfall.
In the vehicle control method according to the example of the present disclosure, the UWB sensor of the vehicle is waken up to detect the rainfall, and the UWB sensor emits an electromagnetic wave, which is less affected by the environment and has high anti-interference performance, so that the detected real-time rainfall value is more accurate and stable. Moreover, the UWB sensor obtains the rainfall through a time of flight of the electromagnetic wave, and an algorithm principle is simple. The rainfall detection is combined with the vehicle window control, thereby enriching the application of the rainfall detection in vehicle control. When the rainfall value is greater than the window closing rainfall threshold, the opened vehicle window is controlled to be closed, so that rainwater, especially rainstorm water, can be prevented from entering the vehicle, thereby avoiding an economic loss caused to the user when the vehicle window is not closed in the case of rainfall.
In some examples, the UWB sensor is controlled to automatically enter a sleep mode when the vehicle is in a flameout state, and it is detected that the vehicle window is in a closed state. For example, in the flameout state, the body control module detects whether the vehicle side window and the sunroof are open. If there is a vehicle window in the open state, the body control module wakes up the UWB sensor, and controls the opened vehicle window to be closed when the rainfall value reaches the window closing rainfall threshold. If no vehicle window is in an open state, the UWB sensor automatically enters a sleep mode to reduce energy consumption.
Specifically,
In some examples of the present disclosure, the rainfall detection may further be combined with wiper control of the vehicle. That the vehicle is controlled to execute a preset control instruction action according to the rainfall value may specifically include: It is determined that the rainfall value meets a preset rain wiping condition, and the wiper is controlled to wipe rain at a target speed, in response to detecting that the vehicle is in a driving state, where the target speed is determined according to a preset mapping relationship, and the mapping relationship represents a corresponding relationship between a speed of the wiper and the rainfall value. The preset rain wiping condition can be set as required, for example, when the rainfall value is greater than a value or less than a value or between two values, which may not be specifically limited here. For example, when the vehicle is in a driving state, an action speed of the wiper of the vehicle is controlled according to the rainfall value detected by the UWB sensor, where a greater rainfall value indicates a higher wiper action speed. Therefore, driving safety can be improved.
The method for controlling the action speed of the wiper based on rainfall in the example of the present disclosure can be applied not only to a conventional vehicle wiper, but also to other wipers having the same effect as a physical wiper such as an ultrasonic cleaning wiper and a gas wiper.
In some examples, different speed gears for a wiper action can be set, and different speed gears are suitable for different rainfall, so that a driver can see road conditions clearly during rainfall through the vehicle window, thereby improve driving safety on a rainy day. For example, the rain wiping condition may be that the rainfall value is greater than the window closing rainfall threshold. In this case, it is believed that the rainfall may affect the driver's sight through the vehicle window, so that the wiper is controlled to act at an appropriate speed to improve driving safety. For example, that the wiper is controlled to wipe rain at a target speed may specifically include: A target speed gear for an action of the wiper is determined according to the rainfall value, and the wiper is controlled to wipe rain at a speed of the target speed gear.
For example, two speed gears of the wiper may be set. For example, if the wiper is controlled to act at a first speed if the rainfall value is greater than the window closing rainfall threshold and less than a first rainfall threshold, where the first rainfall threshold is greater than the window closing rainfall threshold. The wiper is controlled to act at a second speed if the rainfall value is greater than the first rainfall threshold and less than a second rainfall threshold, where the second rainfall threshold is greater than the first rainfall threshold, and the second speed is greater than the first speed. Alternatively, three speed gears for a wiper action may be set. Further, the wiper is controlled to act at a third speed if it is determined that the rainfall value is greater than the second rainfall threshold, where the third speed is greater than the second speed. That is, larger rainfall indicates a higher speed at which the wiper is controlled to act. In the example, the speed gear may be based on the rainfall and the speed of the wiper action, so that the driver can see road conditions ahead clearly, which can prevent the blurred vision of the driver caused by a large amount of accumulated water on the vehicle window, thereby improving the driving safety.
In the example, different speed gears of the wiper can be provided based on different rainfall, such as providing a high speed gear and a low speed gear, or providing a high speed gear, a medium speed gear and a low speed gear, or providing more specific gears according to the rainfall. This is not specifically limited here. During the driving process, the UWB sensor detects rainfall in real time, determines a target speed gear for controlling an action of the wiper according to the rainfall value, and controls the wiper to act at a speed of the target speed gear, so that the wiper action speed can be automatically controlled without manual adjustment by the user, and can adapt to current rainfall, thereby improving driving safety of the user.
As shown in
Further, with the increase of rainfall, there is a safety hazard when the vehicle speed is too high. In the example of the present disclosure, in-vehicle multimedia is controlled to perform rainfall prompting and speed limit warning, and the vehicle is controlled to drive at a limited speed in the case of rainfall, in response to the rainfall value being greater than the second rainfall threshold. The limited speed in the case of rainfall may be a lower speed to improve driving safety on a rainy day. For example, as shown in
Specifically,
Accordingly, in the vehicle control method according to the example of the present disclosure, the rainfall is detected by the UWB technology to intelligently control open and closed states of the vehicle window and the sunroof, and adjust the action speed of the wiper according to the rainfall amplitude. By the principle that electromagnetic waves emitted by the UWB sensor have different propagation times in different media, the moisture content in the air can be detected automatically, and a real-time state of weather can be detected when the vehicle window and the sunroof are in an open state. A rainfall detection sensor based on the UWB technology has the advantages of high detection precision, high reliability, convenient mounting, low costs and simple algorithm, and closely relates the rainfall magnitude detected in real time to logic of vehicle body state control (such as sunroof and vehicle window opening-closing control, wiper speed adjustment, and vehicle speed adjustment), which implements a diversified control application of the rainfall detection on the vehicle based on the UWB technology. In addition, the rainfall detection control based on the UWB technology can automatically close the vehicle window and the sunroof of the vehicle in rainy weather, and can assist the driver to drive safely on a rainy day, thereby improving user experience.
An example of a second aspect of the present disclosure proposes a vehicle. As shown in
As a computer-readable storage medium, the memory 40 may be configured to store a software program and a computer-executable program, such as program instructions/modules corresponding to the method according to each example of the present disclosure. The processor 50 executes functional applications and data processing by running the software program, instructions and modules stored in the memory 40, to implement the vehicle control method according to any of the above method examples.
An example of a third aspect of the present disclosure proposes a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the vehicle control method according to any example of the first aspect of the present disclosure. The above computer-readable storage medium may be a transient computer-readable storage medium or a non-transient computer-readable storage medium.
In the vehicle 100 according to the example of the present disclosure, the rainfall is detected by the UWB sensor 20, and the UWB sensor 20 emits an electromagnetic wave, which is less affected by the environment and has high anti-interference performance, so that the detected real-time rainfall value is more accurate and stable. Moreover, the UWB sensor 20 obtains the rainfall through a time of flight of the electromagnetic wave, and an algorithm principle is simple. The rainfall detection is combined with the vehicle window control, thereby enriching the application of the rainfall detection in vehicle control. When the rainfall value is greater than the window closing rainfall threshold, the opened vehicle window is controlled to be closed, so that rainwater, especially rainstorm water, can be prevented from entering the vehicle, thereby avoiding an economic loss caused to the user when the vehicle window is not closed in the case of rainfall.
In addition, when the vehicle is in a driving state, the rainfall detection can be further combined with wiper speed control without manual adjustment by the driver, thereby improving driving safety.
In the description of this specification, the description with reference to the terms such as “an example”, “some examples”, “an illustrative example”, “an example”, “a specific example”, or “some examples” means that specific features, structures, materials, or characteristics described with reference to the example or example are included in at least one example or example of the present disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same example or example.
Although the examples of the present disclosure have been shown and described, it can be understood by a person of ordinary skill in the art that many changes, modifications, replacements and variations may be made to these examples without departing from the principles and purposes of the present disclosure, and the scope of the present disclosure is defined by the claims and equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
202210883958.4 | Jul 2022 | CN | national |
The present application is a continuation application of PCT application No. PCT/CN2023/103846, filed on Jun. 29, 2023, which claims priority to Chinese Patent Application No. 202210883958.4, entitled “VEHICLE CONTROL METHOD, VEHICLE, AND STORAGE MEDIUM” and filed on Jul. 26, 2022. The entire content of all of the above-referenced applications is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/103846 | Jun 2023 | WO |
Child | 19021531 | US |