Rainfall mode detection method and device, vehicle and computer program product

By obtaining the current voltage of the vehicle battery in the rainfall mode detection and determining the actual rainfall mode, the problem of automatic wiper function turning off when voltage is abnormal is solved, ensuring the normal use of the wiper function when voltage fluctuates, improving the user experience.

CN119018097AActive Publication Date: 2024-11-26BEIJING AUTOMOBILE RES GENERAL INST
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411042509.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-26
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

The existing rainfall mode detection technology cannot effectively compensate when voltage abnormality occurs, resulting in the vehicle turning off the automatic wiper function, reducing user comfort and convenience.

Method used

By obtaining the current voltage of the vehicle battery, it is determined that it is in an abnormal state, and the actual rainfall mode is determined based on the first rainfall mode before the abnormal state and the corresponding rainfall variance value, so as to maintain the voltage when it is slightly lower than or slightly higher than the normal voltage. Normal use of automatic wiper function.

Benefits of technology

It improves the impact of voltage abnormalities on the automatic wiper function, ensures that the automatic wiper function can be used normally when the voltage fluctuates, improves the user's car comfort and convenience, and enhances the robustness of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119018097A_ABST
    Figure CN119018097A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a rainfall mode detection method and device, a vehicle and a computer program product, and the method comprises the steps: obtaining the current voltage of a storage battery of the vehicle; if it is judged that the vehicle storage battery is in the abnormal state based on the current voltage, a first rainfall mode before the vehicle storage battery is in the abnormal state is obtained, and an actual rainfall mode of the vehicle is determined based on a rainfall variance value corresponding to the first rainfall mode. Therefore, the problems that an existing rainfall mode detection technology does not have a voltage compensation algorithm, so that when the voltage is abnormal, the vehicle needs to be subjected to function degradation, the automatic windscreen wiper function is closed, and the comfort and convenience of a user for using the vehicle are reduced are solved, the influence of the voltage abnormity on the automatic windscreen wiper function can be improved, and when the voltage is slightly lower or slightly higher than normal voltage, the vehicle is not influenced. And the automatic windscreen wiper function can be normally used, so that the vehicle using convenience of the user is prevented from being reduced, and the algorithm has certain robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a rainfall pattern detection method, device, vehicle and computer program product. Background Art

[0002] The normal working voltage of the rain light sensor RLS is 9-16V. When it is lower than 9V, RLS is in an undervoltage state, and when it is higher than 16V, RLS is in an overvoltage state. Both undervoltage and overvoltage states are abnormal states, which are prone to problems such as difficulty in scraping, wrong scraping, or inaccurate scraping mode. Because the rain information and light information detected by RLS in an abnormal state are inaccurate. When the voltage is low, the infrared energy emitted by the infrared emitting diode is lower than the value at normal voltage, and the variance value of the rainfall received by the receiving tube becomes smaller, which makes it easy to detect rain as no rain; when the voltage is high, the infrared energy emitted by the infrared emitting diode is higher than the value at normal voltage, and the variance value of the rainfall received by the receiving tube becomes larger, which makes it easy to detect no rain as rain.

[0003] At present, when low voltage or over voltage fault occurs, the strategy adopted by various rain light sensor manufacturers is to stop sending automatic wiper signals, or report the voltage fault to the main node, and the main node controls the front wiper.

[0004] Although the above strategy can prevent the vehicle from having the wiper function when the RLS is undervoltage or overvoltage, the automatic wiper function cannot continue to be executed. However, in actual vehicle use, voltage abnormalities are likely to occur. If the voltage is just slightly lower or higher than the normal voltage, the function will be downgraded and the automatic wiper function will be disabled. This method greatly reduces the comfort and convenience of users. Summary of the invention

[0005] The present application provides a rainfall pattern detection method, device, vehicle and computer program product to solve the problem that the existing rainfall pattern detection technology has no voltage compensation algorithm, resulting in abnormal voltage, the vehicle needs to downgrade its functions and turn off the automatic wiper function, reducing the comfort and convenience of users.

[0006] A first aspect of the present application provides a rainfall pattern detection method, comprising the following steps: obtaining a current voltage of a vehicle battery; if the vehicle battery is determined to be in an abnormal state based on the current voltage, obtaining a first rainfall pattern before the vehicle battery is in the abnormal state, and determining the actual rainfall pattern of the vehicle based on a rainfall variance value corresponding to the first rainfall pattern.

[0007] Optionally, determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern includes: if the battery is in an undervoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the undervoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; if the battery is in an overvoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the overvoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the overvoltage state.

[0008] Optionally, determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern includes: if the rainfall variance value corresponding to the first rainfall pattern is in a first threshold interval, determining the actual rainfall pattern of the vehicle to be the first pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a second threshold interval, determining the actual rainfall pattern of the vehicle to be the second pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a third threshold interval, determining the actual rainfall pattern of the vehicle to be the third pattern, wherein the rainfall of the third pattern is greater than the rainfall of the second pattern, which is greater than the rainfall of the first pattern.

[0009] Optionally, after determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the method includes: transmitting the actual rainfall pattern to a central control screen of the vehicle for display.

[0010] The second aspect of the present application provides a rainfall pattern detection device, including: an acquisition module for acquiring the current voltage of a vehicle battery; a detection module for acquiring a first rainfall pattern before the vehicle battery is in an abnormal state if the vehicle battery is determined to be in the abnormal state based on the current voltage, and determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern.

[0011] Optionally, the detection module is also used to: if the battery is in an undervoltage state, obtain the first rainfall pattern and the corresponding rainfall variance value before the battery is in the undervoltage state, and determine the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; if the battery is in an overvoltage state, obtain the first rainfall pattern and the corresponding rainfall variance value before the battery is in the overvoltage state, and determine the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the overvoltage state.

[0012] Optionally, the detection module is also used to: if the rainfall variance value corresponding to the first rainfall pattern is in a first threshold interval, determine that the actual rainfall pattern of the vehicle is the first pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a second threshold interval, determine that the actual rainfall pattern of the vehicle is the second pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a third threshold interval, determine that the actual rainfall pattern of the vehicle is the third pattern, wherein the rainfall of the third pattern is greater than the rainfall of the second pattern, which is greater than the rainfall of the first pattern.

[0013] Optionally, after determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the detection module is further used to: transmit the actual rainfall pattern to the central control screen of the vehicle for display.

[0014] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the rainfall pattern detection method as described in the above embodiment.

[0015] A fourth aspect of the present application provides a computer program product on which a computer program is stored. The program is executed by a processor to implement the rainfall pattern detection method as described in the above embodiment.

[0016] In the above implementation, the current voltage of the vehicle battery is obtained. If the vehicle battery is determined to be in an abnormal state based on the current voltage, the first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern. Thus, the existing rainfall pattern detection technology has no voltage compensation algorithm, which causes the vehicle to downgrade its functions when the voltage is abnormal, turns off the automatic wiper function, and reduces the comfort and convenience of the user's car. The impact of abnormal voltage on the automatic wiper function can be improved. When the voltage is slightly lower or slightly higher than the normal voltage, the automatic wiper function can be used normally, avoiding reducing the convenience of the user's car use, and making the algorithm have a certain robustness.

[0017] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0019] Figure 1 A flowchart of a rainfall pattern detection method provided according to an embodiment of the present application;

[0020] Figure 2 This is a schematic diagram of the installation of a bench test detection device according to an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a rainfall pattern detection device according to an embodiment of the present application;

[0022] Figure 4 It is a schematic diagram of a vehicle structure according to an embodiment of the present application. Description of the drawings:

[0024] 10-rainfall pattern detection device; 100-acquisition module and 200-detection module. DETAILED DESCRIPTION

[0025] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0026] The following describes the rainfall pattern detection method, device, vehicle and computer program product of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the existing rainfall pattern detection technology mentioned in the above background technology has no voltage compensation algorithm, which leads to the need for the vehicle to perform functional degradation and turn off the automatic wiper function when the voltage is abnormal, which reduces the comfort and convenience of the user's car use, the present application provides a rainfall pattern detection method, in which the current voltage of the vehicle battery is obtained, if the vehicle battery is determined to be in an abnormal state based on the current voltage, the first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern. Thus, the problem that the existing rainfall pattern detection technology has no voltage compensation algorithm, which leads to the need for the vehicle to perform functional degradation and turn off the automatic wiper function when the voltage is abnormal, which reduces the comfort and convenience of the user's car use, can be solved, and the impact of voltage abnormality on the automatic wiper function can be improved. When the voltage is slightly lower or slightly higher than the normal voltage, the automatic wiper function can be used normally, avoiding reducing the convenience of the user's car use, and making the algorithm have a certain robustness.

[0027] Specifically, Figure 1 A schematic flow chart of a rainfall pattern detection method provided in an embodiment of the present application.

[0028] like Figure 1 As shown, the rainfall pattern detection method comprises the following steps:

[0029] Before detecting the actual rainfall pattern, the bench test of the embodiment of the present application includes the following items, such as Figure 2 As shown:

[0030] 1) Automatic nozzle: simulates rain conditions and can control the amount of water sprayed by the nozzle according to the rainfall conditions such as light rain, moderate rain, heavy rain, etc.

[0031] 2) Front windshield or a vehicle with automatic wiper function: Install according to the actual light transmittance and bevel angle of the vehicle, with wipers, and the wipers can work normally when it rains;

[0032] 3) RLS: Installed on the front windshield according to the actual vehicle layout;

[0033] 4) Adjustable power supply: to supply power to RLS, the power supply voltage value can be continuously adjusted within 0-26V;

[0034] 5) Detection equipment: It can detect the infrared energy emitted by the RLS infrared emitting diode and the infrared energy received by the receiving diode.

[0035] Specifically, the embodiments of the present application are as follows Figure 2 After arranging the test device, power on the RLS to confirm that the RLS and wipers can work normally. Calculate the rainfall variance values ​​of light rain, moderate rain and heavy rain under different battery voltages.

[0036] 1. Simulate the light rain condition of the vehicle: set the nozzle to the light rain spray volume towards the RLS detection, adjust the power supply voltage according to the table below, and detect and record the variance value of the light rain under different battery voltages.

[0037] (1) When the battery voltage is normal, the rainfall variance values ​​corresponding to different voltages are shown in Table 1:

[0038] Table 1

[0039]

[0040] After the test, it can be observed that δ 1 The value of ~δ15 is very close. Compared with the calibration threshold, it exceeds the light rain amount but is less than the moderate rain amount. That is, when it is light raining and the battery is powered normally, the variance of the rainfall detected by RLS is

[0041] (2) When the battery voltage is undervoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 2:

[0042] Table 2

[0043]

[0044] After the test, it can be observed that the values ​​of δ21~δ35 are not as close as the values ​​of δ1~δ15, δ21<δ22<...<δ35<δa. That is, the lower the voltage, the smaller the rainfall variance detected by RLS, and the greater the difference with the calibrated rainfall variance value during normal power supply.

[0045] (3) When the battery voltage is overvoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 3:

[0046] Table 3

[0047]

[0048] After the test, it can be observed that the values ​​of δ41~δ55 are not as close as the values ​​of δ1~δ15 in Table 1, δa<δ41<δ42<...<δ55. That is, the higher the voltage, the greater the rainfall variance detected by RLS, and the greater the difference with the calibrated rainfall variance value during normal power supply.

[0049] 2. Moderate rain: Set the nozzle to spray water at moderate rain towards the RLS test, adjust the power supply voltage according to the table below, and detect and record the variance values ​​of moderate rain under different voltages.

[0050] (1) When the battery voltage is normal, the rainfall variance values ​​corresponding to different voltages are shown in Table 4:

[0051] Table 4

[0052]

[0053] After the test, it can be observed that the values ​​of δ1~δ15 are very close (the δ1~δ15 here are different from the δ1~δ15 recorded in the light rain mode in Table 1). Compared with the calibration threshold, it exceeds the moderate rain amount but is less than the heavy rain amount. That is, when it rains moderately and the battery is powered normally, the rainfall variance detected by RLS is

[0054] (2) When the battery voltage is undervoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 5:

[0055] Table 5

[0056]

[0057] After the test, it can be observed that the values ​​of δ21~δ35 are not as close as the values ​​of δ1~δ15 in Table 4 (the δ21~δ35 here are different from the δ21~δ35 recorded in the light rain mode), δ21<δ22<...<δ35<δb. That is, the lower the voltage, the smaller the variance of the rainfall detected by RLS, and the larger the variance of the rainfall with the calibration under normal power supply.

[0058] (3) When the battery voltage is overvoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 1:

[0059] Table 6

[0060]

[0061] After the test, it can be observed that the values ​​of δ41~δ55 are not as close as the values ​​of δ1~δ15 in Table 4, δb<δ41<δ42<...<δ55. That is, the higher the voltage, the greater the variance of the rainfall detected by RLS, and the greater the variance value of the rainfall under normal power supply.

[0062] 3. Heavy rain: Set the nozzle to spray water at heavy rain towards the RLS detection, adjust the power supply voltage according to the table below, and detect and record the variance values ​​of heavy rain under different voltages.

[0063] (1) When the battery voltage is normal, the rainfall variance values ​​corresponding to different voltages are shown in Table 7:

[0064] Table 7

[0065]

[0066] After the test, it can be observed that the values ​​of δ1~δ15 are very close. Compared with the calibration threshold, when the rainfall exceeds the heavy rain, that is, when it rains heavily and the battery is powered normally, the variance of the rainfall detected by RLS is

[0067] (2) When the battery voltage is undervoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 8:

[0068] Table 8

[0069]

[0070] After the test, it can be observed that the values ​​of δ21~δ36 are not as close as the values ​​of δ1~δ15 in Table 7, δ21<δ22<...<δ35<δc. That is, the lower the voltage, the smaller the variance of the rainfall detected by RLS, and the larger the variance of the rainfall with the calibration under normal power supply.

[0071] (3) When the battery voltage is overvoltage, the rainfall variance values ​​corresponding to different voltages are shown in Table 9:

[0072] Table 9

[0073]

[0074] After the test, it can be observed that the values ​​of δ41~δ55 are not as close as the values ​​of δ1~δ15 in Table 7, δc<δ41<δ42<...<δ55. That is, the higher the voltage, the greater the variance of the rainfall detected by RLS, and the greater the difference with the calibrated heavy rain threshold during normal power supply.

[0075] The above 9 tables test the rainfall mode detection of undervoltage and overvoltage at different rainfall levels according to the change of 0.1V voltage. Due to space limitations, the undervoltage mode value detects the situation of 7.5V to 8.9V, and the overvoltage mode only detects the situation of 9.1V to 10.5V. When actually performing the test, the voltage range can be expanded to detect the situation of 6V to 8.9V and 9.1V to 11V. It is worth noting that it is not advisable to expand the detection voltage range too much. When the voltage is too low, the MCU or other chips of RLS can no longer work properly. When the voltage is too high, it may affect the normal use of some components, and voltage compensation is meaningless.

[0076] It should be noted that the calculation method of the rainfall variance value corresponding to different voltages is as follows:

[0077] The bottom layer software processes the A and B channel receiving diode signals and performs filtering. The rate of change adopts the variance processing strategy, which is also called sliding filtering. The following example illustrates the A channel data processing strategy.

[0078] Table 10

[0079]

[0080] The underlying software calculates the variance of each data array in real time. The first 9 points are ignored and processing starts from the 10th point. The processing process is as follows:

[0081] δk(1-10)=ABS[D10-SUM(D1:D10) / 10];

[0082] δk+1(2-11)=ABS[D11-SUM(D2:D11) / 10];

[0083] δk+2(3-12)=ABS[D12-SUM(D3:D12) / 10];

[0084] And so on.

[0085] Therefore, one data is collected every 10ms, and 10 data are taken as a group, which is recorded as: δk, which is used as the calculated rate of change.

[0086] In step S101 , the current voltage of the vehicle battery is obtained.

[0087] In step S102, if the vehicle battery is determined to be in an abnormal state based on the current voltage, a first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and an actual rainfall pattern of the vehicle is determined based on a rainfall variance value corresponding to the first rainfall pattern.

[0088] The abnormal state includes an undervoltage state and an overvoltage state.

[0089] It should be understood that whether the vehicle battery is in an abnormal state is determined based on the current voltage of the vehicle battery. If the vehicle battery is determined to be in an abnormal state based on the current voltage, the first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern.

[0090] The reason for determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern before the abnormal state is that:

[0091] Taking the compensation strategy of 7.5V voltage as an example, assuming that before undervoltage occurs, RLS is in light rain mode, the variance value calculated by RLS at 7.5V is δ21, and the variance value when working at normal voltage is determined by the rainfall variance value before undervoltage (δa), and the compensation value a1=δa-δ21. When RLS detects that the power supply voltage is 7.5V, it calls the compensation value a1, adds the compensation value to the detected variance value to obtain the compensated variance δx, δx=δ1+δ21=δa-δ21+δ21=δa. That is, the compensated variance δx is the same as the variance when the voltage is positive, so the first rainfall mode before the abnormal state is used, and the actual rainfall mode of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall mode.

[0092] For example, if the rainfall mode of the vehicle battery before the undervoltage state is the light rain mode, and the voltage before the abnormal state is 9V, the current actual rainfall mode of the vehicle is the light rain mode, and the controller controls the wipers to perform the wiper function according to the light rain mode.

[0093] Optionally, in some embodiments, the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern, including: if the battery is in an undervoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the undervoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; if the battery is in an overvoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the overvoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the overvoltage state.

[0094] For example, if the voltage of the vehicle battery is 7.5V at this time, it is determined that the vehicle battery is in an undervoltage state, and the first rainfall mode before the undervoltage state is obtained as the heavy rain mode, and the battery voltage before the undervoltage is 9V, then the rainfall variance value corresponding to the first rainfall mode is δ1, and the actual rainfall mode of the vehicle at this time is determined to be the heavy rain mode, and the controller controls the wiper to perform the wiper function according to the heavy rain mode.

[0095] Optionally, in some embodiments, the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern, including: if the rainfall variance value corresponding to the first rainfall pattern is in a first threshold interval, then the actual rainfall pattern of the vehicle is determined to be the first pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a second threshold interval, then the actual rainfall pattern of the vehicle is determined to be the second pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a third threshold interval, then the actual rainfall pattern of the vehicle is determined to be the third pattern, wherein the rainfall of the third pattern is greater than the rainfall of the second pattern which is greater than the rainfall of the first pattern.

[0096] It can be understood that if the rainfall variance value corresponding to the first rainfall pattern before the abnormal state is in the rainfall variance value interval corresponding to the light rain pattern (i.e., the first threshold interval, the first threshold interval is δ1~δ15 in Table 1), it is determined that the actual rainfall pattern at this time is the light rain pattern; if the rainfall variance value corresponding to the first rainfall pattern before the abnormal state is in the rainfall variance value interval corresponding to the moderate rain pattern (i.e., the second threshold interval, the third threshold interval is δ1~δ15 in Table 4), it is determined that the actual rainfall pattern at this time is the moderate rain pattern; if the rainfall variance value corresponding to the first rainfall pattern before the abnormal state is in the rainfall variance value interval corresponding to the heavy rain pattern (i.e., the third threshold interval, the third threshold interval is δ1~δ15 in Table 7), it is determined that the actual rainfall pattern at this time is the heavy rain pattern.

[0097] Optionally, in some embodiments, after determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the method further includes: transmitting the actual rainfall pattern to a central control screen of the vehicle for display.

[0098] It should be understood that the actual rainfall pattern information is sent to the central control screen of the vehicle to remind the user of the current actual rainfall pattern.

[0099] Therefore, the embodiment of the present application determines the actual rainfall pattern through the quantitative relationship between the voltage anomaly deviation and the rainfall deviation, and the steps are as follows:

[0100] 1) Subtract the variance values ​​of different voltages from the variance values ​​of normal voltages under the three rainfall modes to obtain rainfall compensation values ​​at different voltages, thereby obtaining a compensation value database;

[0101] 2) When RLS works at abnormal voltage, it calls the corresponding compensation value according to the voltage value before the abnormal voltage. (Except for being splashed with water, the change of rainfall is generally a gradual process. RLS can determine which rain condition (light rain, moderate rain, heavy rain) to call the variance value according to the variance value at the moment before the voltage abnormality);

[0102] 3) The compensation value is added to the current variance value to obtain the compensated variance value, that is, the rainfall variance value corresponding to the first rainfall mode under the normal battery voltage is obtained.

[0103] 4) Use the compensated variance value to determine the actual rainfall pattern.

[0104] According to the rainfall pattern detection method proposed in the embodiment of the present application, the current voltage of the vehicle battery is obtained. If the vehicle battery is determined to be in an abnormal state based on the current voltage, the first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern. Thus, the problem that the existing rainfall pattern detection technology has no voltage compensation algorithm, resulting in the need for the vehicle to perform functional downgrades and turn off the automatic wiper function when the voltage is abnormal, which reduces the comfort and convenience of the user's use of the vehicle, can be solved. The impact of voltage abnormalities on the automatic wiper function can be improved. When the voltage is slightly lower or slightly higher than the normal voltage, the automatic wiper function can be used normally, avoiding reducing the convenience of the user's use of the vehicle, and making the algorithm have a certain degree of robustness.

[0105] Next, the rainfall pattern detection device proposed in the embodiment of the present application is described with reference to the accompanying drawings.

[0106] Figure 3 is a block diagram of a rainfall pattern detection device according to an embodiment of the present application.

[0107] like Figure 3 As shown, the rainfall pattern detection device 10 includes: an acquisition module 100 and a detection module 200 .

[0108] Among them, the acquisition module 100 is used to obtain the current voltage of the vehicle battery; the detection module 200 is used to obtain the first rainfall pattern before the vehicle battery is in the abnormal state if it is determined based on the current voltage that the vehicle battery is in an abnormal state, and determine the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern.

[0109] Optionally, in some embodiments, the detection module 200 is also used for: if the battery is in an undervoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the undervoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; if the battery is in an overvoltage state, obtaining the first rainfall pattern and the corresponding rainfall variance value before the battery is in the overvoltage state, and determining the actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the overvoltage state.

[0110] Optionally, in some embodiments, the detection module 200 is further used to: if the rainfall variance value corresponding to the first rainfall pattern is in a first threshold interval, determine that the actual rainfall pattern of the vehicle is the first pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a second threshold interval, determine that the actual rainfall pattern of the vehicle is the second pattern; if the rainfall variance value corresponding to the first rainfall pattern is in a third threshold interval, determine that the actual rainfall pattern of the vehicle is the third pattern, wherein the rainfall of the third pattern is greater than the rainfall of the second pattern which is greater than the rainfall of the first pattern.

[0111] Optionally, in some embodiments, after determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the detection module 200 is further used to: transmit the actual rainfall pattern to the central control screen of the vehicle for display.

[0112] It should be noted that the above explanations of the embodiment of the rainfall pattern detection method are also applicable to the rainfall pattern detection device of this embodiment, and will not be repeated here.

[0113] According to the rainfall pattern detection device proposed in the embodiment of the present application, the current voltage of the vehicle battery is obtained. If the vehicle battery is determined to be in an abnormal state based on the current voltage, the first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and the actual rainfall pattern of the vehicle is determined based on the rainfall variance value corresponding to the first rainfall pattern. Thus, the problem that the existing rainfall pattern detection technology has no voltage compensation algorithm, resulting in the need for the vehicle to perform functional downgrades and turn off the automatic wiper function when the voltage is abnormal, which reduces the comfort and convenience of the user's use of the vehicle, can be solved. The impact of voltage abnormalities on the automatic wiper function can be improved. When the voltage is slightly lower or slightly higher than the normal voltage, the automatic wiper function can be used normally, avoiding reducing the convenience of the user's use of the vehicle, and making the algorithm have a certain degree of robustness.

[0114] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0115] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0116] When the processor 402 executes the program, the rainfall pattern detection method provided in the above embodiment is implemented.

[0117] Furthermore, the vehicle also includes:

[0118] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0119] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0120] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0121] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0122] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0123] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0124] The embodiment of the present application also provides a computer program product, on which a computer program is stored, and when the program is executed by a processor, the above rainfall pattern detection method is implemented.

[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0126] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0127] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0128] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer program product for use with an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer program product" can be any device that can contain, store, communicate, propagate or transmit a program for use with an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer program products (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). Furthermore, the computer program product may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example by optically scanning the paper or other medium and then editing, interpreting or, if necessary, processing it in another suitable manner, and then storing it in a computer memory.

[0129] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0130] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer program product, which, when executed, includes one or a combination of the steps of the method embodiment.

[0131] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer program product.

[0132] The computer program product mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A rainfall pattern detection method, characterized in that: The following steps are involved: Get the current voltage of the vehicle battery; If it is determined based on the current voltage that the vehicle battery is in an abnormal state, a first rainfall pattern before the vehicle battery is in the abnormal state is obtained, and an actual rainfall pattern of the vehicle is determined based on a rainfall variance value corresponding to the first rainfall pattern.

2. The method according to claim 1, characterized in that The determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern comprises: If the battery is in an undervoltage state, obtaining a first rainfall pattern and a corresponding rainfall variance value before the battery is in the undervoltage state, and determining an actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; If the battery is in an overvoltage state, a first rainfall pattern and a corresponding rainfall variance value before the battery is in the overvoltage state are obtained, and an actual rainfall pattern of the vehicle is determined based on the corresponding rainfall variance value before the overvoltage state.

3. The method according to claim 1, characterized in that The determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern comprises: If the rainfall variance value corresponding to the first rainfall pattern is within a first threshold range, determining that the actual rainfall pattern of the vehicle is the first pattern; If the rainfall variance value corresponding to the first rainfall pattern is within a second threshold range, determining that the actual rainfall pattern of the vehicle is the second pattern; If the rainfall variance value corresponding to the first rainfall pattern is within a third threshold interval, the actual rainfall pattern of the vehicle is determined to be a third pattern, wherein the rainfall in the third pattern is greater than the rainfall in the second pattern, which is greater than the rainfall in the first pattern.

4. The method according to claim 1, characterized in that After determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the method further comprises: The actual rainfall pattern is transmitted to the central control screen of the vehicle for display.

5. A rainfall pattern detection device, characterized in that: include: An acquisition module, used for acquiring the current voltage of the vehicle battery; The detection module is used to obtain a first rainfall pattern before the vehicle battery is in the abnormal state if it is determined based on the current voltage that the vehicle battery is in the abnormal state, and determine an actual rainfall pattern of the vehicle based on a rainfall variance value corresponding to the first rainfall pattern.

6. The device according to claim 5, characterized in that The detection module is further used for: If the battery is in an undervoltage state, obtaining a first rainfall pattern and a corresponding rainfall variance value before the battery is in the undervoltage state, and determining an actual rainfall pattern of the vehicle based on the corresponding rainfall variance value before the undervoltage state; If the battery is in an overvoltage state, a first rainfall pattern and a corresponding rainfall variance value before the battery is in the overvoltage state are obtained, and an actual rainfall pattern of the vehicle is determined based on the corresponding rainfall variance value before the overvoltage state.

7. The device according to claim 5, characterized in that The detection module is further used for: If the rainfall variance value corresponding to the first rainfall pattern is within a first threshold range, determining that the actual rainfall pattern of the vehicle is the first pattern; If the rainfall variance value corresponding to the first rainfall pattern is within a second threshold range, determining that the actual rainfall pattern of the vehicle is the second pattern; If the rainfall variance value corresponding to the first rainfall pattern is within a third threshold interval, the actual rainfall pattern of the vehicle is determined to be a third pattern, wherein the rainfall in the third pattern is greater than the rainfall in the second pattern, which is greater than the rainfall in the first pattern.

8. The device according to claim 5, characterized in that After determining the actual rainfall pattern of the vehicle based on the rainfall variance value corresponding to the first rainfall pattern, the detection module is further configured to: The actual rainfall pattern is transmitted to the central control screen of the vehicle for display.

9. A vehicle, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the rainfall pattern detection method as described in any one of claims 1 to 4.

10. A computer program product, wherein the computer program product stores a computer program, characterized in that: When the program is executed by a processor, the rainfall pattern detection method as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Wiper level switching processing method, system and automobile

    CN104386025A

  • Rainfall detection system as well as rainfall state detection method and device

    CN106772699A

  • Rain sensor of vehicle, and method of controlling the same

    CN107953858A

  • Wiper drive device

    CN110650871A

  • Rainfall sensor

    CN203324498U