Control method and device for automatic wiper function and storage medium

文档序号:92807 发布日期:2021-10-12 浏览:33次 中文

阅读说明:本技术 一种自动雨刮功能的控制方法、装置及存储介质 (Control method and device for automatic wiper function and storage medium ) 是由 陈忠 于 2020-04-02 设计创作,主要内容包括:本发明公开了一种自动雨刮功能的控制方法、装置及存储介质,包括:当车辆上电时,激活雨刮传感器;当通过所述雨刮传感器检测到下雨时,判断雨刮开关的档位是否处于AUTO档;若所述雨刮开关的档位未处于AUTO档,则将所述雨刮开关的档位调整到AUTO档,并根据所述雨刮传感器检测到的雨量大小控制雨刮片的工作模式;若所述雨刮开关的档位处于AUTO档,则根据所述雨刮传感器检测到的雨量大小控制雨刮片的工作模式。采用本发明的技术方案能够节省自动雨刮功能的响应时间,提高用户体验。(The invention discloses a control method, a device and a storage medium for an automatic wiper function, wherein the control method comprises the following steps: activating a wiper sensor when the vehicle is powered on; when the rain sensor detects rain, judging whether the gear of a wiper switch is in an AUTO gear or not; if the gear of the wiper switch is not in the AUTO gear, the gear of the wiper switch is adjusted to the AUTO gear, and the working mode of a wiper blade is controlled according to the rainfall detected by the wiper sensor; and if the gear of the wiper switch is in AUTO gear, controlling the working mode of the wiper blade according to the rainfall detected by the wiper sensor. By adopting the technical scheme of the invention, the response time of the automatic wiper function can be saved, and the user experience is improved.)

1. A control method for an automatic wiper function is characterized by comprising the following steps:

activating a wiper sensor when the vehicle is powered on;

when the rain sensor detects rain, judging whether the gear of a wiper switch is in an AUTO gear or not;

if the gear of the wiper switch is not in the AUTO gear, the gear of the wiper switch is adjusted to the AUTO gear, and the working mode of a wiper blade is controlled according to the rainfall detected by the wiper sensor;

and if the gear of the wiper switch is in AUTO gear, controlling the working mode of the wiper blade according to the rainfall detected by the wiper sensor.

2. The method of controlling an automatic wiper function according to claim 1, wherein the operation modes include at least an intermittent wiping mode, a low-speed continuous wiping mode, and a high-speed continuous wiping mode.

3. The method of controlling an automatic wiper function according to claim 2, wherein the method controls the operation mode of the wiper blade according to the magnitude of the rain amount detected by the wiper sensor by:

judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

when the rainfall level is the first level, controlling the working mode of the wiper blade to be the intermittent wiping mode;

when the rainfall level is the second level, controlling the working mode of the wiper blade to be the low-speed continuous wiping mode;

and when the rainfall level is the third level, controlling the working mode of the wiper blade to be the high-speed continuous wiping mode.

4. The method of controlling an automatic wiper function according to any one of claims 1 to 3, further comprising:

when the rain wiper sensor detects that the rain is not rained and the rain wiper action of the rain wiper blade exceeds a preset time threshold value, generating a corresponding dry-wiping alarm signal;

and controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

5. The method of controlling an automatic wiper function as set forth in claim 4, further comprising:

and sending corresponding text alarm information to a vehicle instrument according to the dry scraping alarm signal.

6. A control device for automatic windscreen wiper functions is characterized by comprising a sensor activation module, a windscreen wiper gear judgment module, a windscreen wiper gear adjustment module and a windscreen wiper control module; wherein the content of the first and second substances,

the sensor activation module is used for activating the wiper sensor when the vehicle is powered on;

the windscreen wiper gear judging module is used for judging whether the gear of a windscreen wiper switch is in an AUTO gear or not when the windscreen wiper sensor detects rain;

the windscreen wiper gear adjusting module is used for adjusting the gear of the windscreen wiper switch to an AUTO gear if the gear of the windscreen wiper switch is not in the AUTO gear, and controlling the working mode of a windscreen wiper blade through the windscreen wiper control module according to the rainfall detected by the windscreen wiper sensor;

the windscreen wiper control module is used for controlling the working mode of the windscreen wiper blade according to the rainfall detected by the windscreen wiper sensor if the gear of the windscreen wiper switch is in AUTO gear.

7. The apparatus for controlling an automatic wiper function according to claim 6, wherein the wiper control module comprises:

the rainfall level judging unit is used for judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

the first wiper control unit is used for controlling the working mode of the wiper blade to be the intermittent wiping mode when the rainfall level is the first level;

the second wiper control unit is used for controlling the working mode of the wiper blade to be the low-speed continuous wiping mode when the rainfall level is the second level;

and the third wiper control unit is used for controlling the working mode of the wiper blade to be the high-speed continuous wiping mode when the rainfall level is the third level.

8. The control device of an automatic wiper function according to claim 6 or 7, wherein the device further comprises a wiper dry-wiping detection module;

the wiper dry-scraping detection module is used for generating a corresponding dry-scraping alarm signal when the wiper sensor detects that the wiper does not rain and the wiper action of the wiper blade exceeds a preset time threshold value within a preset time;

the wiper control module is used for controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the control method of the automatic wiper function according to any one of claims 1 to 5.

10. A control device of an automatic wiper function, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the control method of the automatic wiper function according to any one of claims 1 to 5 when executing the computer program.

Technical Field

The present invention relates to the field of vehicle wiper system technologies, and in particular, to a method and an apparatus for controlling an automatic wiper function, and a computer-readable storage medium.

Background

At present, the automatic windscreen wiper function of all vehicles in the market all need to beat the windscreen wiper switch to automatic windscreen wiper gear (AUTO shelves), just begins to activate automatic windscreen wiper function, has the automatic windscreen wiper function of many vehicles even to need the user to start the back manual activation at every turn vehicle, and automatic windscreen wiper function activates the back, and the windscreen wiper action can get into following state machine and jump the process: the wiper is used for one time, intermittent wiping, low-speed continuous wiping and high-speed continuous wiping, due to the fact that the use scenes of users are various, when the wiper switch is switched to an automatic wiper gear from other gears under the working condition of medium rain or heavy rain, the corresponding wiper sensor needs to spend longer state machine jump time (the time required by different sensors is not consistent and is more than 5 seconds), the wiper action can correspond to the actual rain condition, the actual requirement of the users can not be met by the long-time wiper action, and the user experience is poor.

Disclosure of Invention

The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for controlling an automatic wiper function, and a computer-readable storage medium, which can save the response time of the automatic wiper function and improve the user experience.

In order to solve the above technical problem, an embodiment of the present invention provides a method for controlling an automatic wiper function, including:

activating a wiper sensor when the vehicle is powered on;

when the rain sensor detects rain, judging whether the gear of a wiper switch is in an AUTO gear or not;

if the gear of the wiper switch is not in the AUTO gear, the gear of the wiper switch is adjusted to the AUTO gear, and the working mode of a wiper blade is controlled according to the rainfall detected by the wiper sensor;

and if the gear of the wiper switch is in AUTO gear, controlling the working mode of the wiper blade according to the rainfall detected by the wiper sensor.

Further, the working modes at least comprise an intermittent scraping mode, a low-speed continuous scraping mode and a high-speed continuous scraping mode.

Further, the method controls the working mode of the wiper blade according to the rainfall detected by the wiper sensor through the following steps:

judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

when the rainfall level is the first level, controlling the working mode of the wiper blade to be the intermittent wiping mode;

when the rainfall level is the second level, controlling the working mode of the wiper blade to be the low-speed continuous wiping mode;

and when the rainfall level is the third level, controlling the working mode of the wiper blade to be the high-speed continuous wiping mode.

Further, the method further comprises:

when the rain wiper sensor detects that the rain is not rained and the rain wiper action of the rain wiper blade exceeds a preset time threshold value, generating a corresponding dry-wiping alarm signal;

and controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

Further, the method further comprises:

and sending corresponding text alarm information to a vehicle instrument according to the dry scraping alarm signal.

In order to solve the above technical problem, an embodiment of the present invention further provides a control device for an automatic wiper function, including a sensor activation module, a wiper gear determination module, a wiper gear adjustment module, and a wiper control module; wherein the content of the first and second substances,

the sensor activation module is used for activating the wiper sensor when the vehicle is powered on;

the windscreen wiper gear judging module is used for judging whether the gear of a windscreen wiper switch is in an AUTO gear or not when the windscreen wiper sensor detects rain;

the windscreen wiper gear adjusting module is used for adjusting the gear of the windscreen wiper switch to an AUTO gear if the gear of the windscreen wiper switch is not in the AUTO gear, and controlling the working mode of a windscreen wiper blade through the windscreen wiper control module according to the rainfall detected by the windscreen wiper sensor;

the windscreen wiper control module is used for controlling the working mode of the windscreen wiper blade according to the rainfall detected by the windscreen wiper sensor if the gear of the windscreen wiper switch is in AUTO gear.

Further, the wiper control module specifically includes:

the rainfall level judging unit is used for judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

the first wiper control unit is used for controlling the working mode of the wiper blade to be the intermittent wiping mode when the rainfall level is the first level;

the second wiper control unit is used for controlling the working mode of the wiper blade to be the low-speed continuous wiping mode when the rainfall level is the second level;

and the third wiper control unit is used for controlling the working mode of the wiper blade to be the high-speed continuous wiping mode when the rainfall level is the third level.

Further, the device also comprises a wiper dry-scraping detection module;

the wiper dry-scraping detection module is used for generating a corresponding dry-scraping alarm signal when the wiper sensor detects that the wiper does not rain and the wiper action of the wiper blade exceeds a preset time threshold value within a preset time;

the wiper control module is used for controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program controls the apparatus in which the computer readable storage medium is located to perform any one of the above-mentioned control methods of the automatic wiper function when running.

The embodiment of the invention also provides a control device of the automatic wiper function, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the control method of the automatic wiper function when executing the computer program.

Compared with the prior art, the embodiment of the invention provides a control method and a control device for an automatic wiper function and a computer readable storage medium, wherein when a vehicle is powered on, a wiper sensor is activated; when the rain sensor detects rain, judging whether the gear of a wiper switch is in an AUTO gear or not; if the gear of the wiper switch is not in the AUTO gear, the gear of the wiper switch is adjusted to the AUTO gear, and the working mode of a wiper blade is controlled according to the rainfall detected by the wiper sensor; if the gear of the wiper switch is in AUTO gear, controlling the working mode of the wiper blade according to the rainfall detected by the wiper sensor; therefore, the response time of the automatic wiper function can be saved, and the user experience is improved.

Drawings

Fig. 1 is a flowchart of a preferred embodiment of a control method of an automatic wiper function according to the present invention;

fig. 2 is a block diagram of a preferred embodiment of a control apparatus for an automatic wiper function according to the present invention;

fig. 3 is a block diagram of another preferred embodiment of a control apparatus for an automatic wiper function according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.

An embodiment of the present invention provides a method for controlling an automatic wiper function, which is a flowchart of a preferred embodiment of the method for controlling an automatic wiper function according to the present invention, as shown in fig. 1, and the method includes steps S11 to S14:

step S11, when the vehicle is powered on, activating the wiper sensor;

step S12, when the rain sensor detects rain, judging whether the gear of the wiper switch is in AUTO gear;

step S13, if the gear of the wiper switch is not in AUTO gear, the gear of the wiper switch is adjusted to AUTO gear, and the working mode of the wiper blade is controlled according to the rainfall detected by the wiper sensor;

and step S14, if the gear of the wiper switch is in AUTO gear, controlling the working mode of the wiper blade according to the rainfall detected by the wiper sensor.

Specifically, when a vehicle is powered on, a wiper sensor is directly activated, whether the external environment of the vehicle rains or not is detected in real time through the wiper sensor, when the rain is detected, whether the gear of a wiper switch of the vehicle is in an AUTO gear or not is judged, if the gear of the wiper switch is not in the AUTO gear, the gear of the wiper switch is adjusted to the AUTO gear, and the working mode of a wiper blade is controlled through a wiper motor according to the rain quantity detected by the wiper sensor in real time; if the gear of the wiper switch is in AUTO gear, the working mode of the wiper blade is directly controlled by the wiper motor according to the rainfall detected by the wiper sensor in real time.

It should be noted that the gears of the wiper switch at least include five gears of OFF, AUTO, intermittent, low speed and high speed, when the gears are in automatic gear, the wiper action of the wiper blade matches the magnitude of the rainfall detected by the wiper sensor in real time, when the gears are in non-automatic gear (i.e. any gear other than automatic gear), the wiper action of the wiper blade is driven and controlled by the wiper motor according to the actual gear of the wiper switch, wherein the gears of the wiper switch can be manually controlled by the driver, and other feasible control methods can also be implemented, and the embodiment of the invention is not particularly limited.

According to the control method for the automatic wiper function, provided by the embodiment of the invention, the related functions of the wiper sensor are activated when a vehicle is powered on, and when the rain is detected in real time by the wiper sensor and the gear of the wiper switch is in the AUTO gear, the working mode of the wiper blade is adjusted according to the rain amount detected in real time by the wiper sensor, so that the wiper action of the wiper blade can be matched with the current rain amount in time, the response time of the automatic wiper function can be saved, and the user experience is improved.

In another preferred embodiment, the operation modes include at least an intermittent wiping mode, a low-speed continuous wiping mode, and a high-speed continuous wiping mode.

Specifically, in combination with the above embodiment, the operation modes of the wiper blade at least include an intermittent wiping mode, a low-speed continuous wiping mode and a high-speed continuous wiping mode, which correspond to different magnitudes of the rainfall.

It will be appreciated that the operational modes of the wiper blade also include a stop mode, i.e. when no rain is detected (corresponding to the amount of rain being no rain), the wiper blade is controlled to stop by the wiper motor.

In a further preferred embodiment, the method controls the operating mode of the wiper blade in dependence on the magnitude of the rain detected by the wiper sensor by:

judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

when the rainfall level is the first level, controlling the working mode of the wiper blade to be the intermittent wiping mode;

when the rainfall level is the second level, controlling the working mode of the wiper blade to be the low-speed continuous wiping mode;

and when the rainfall level is the third level, controlling the working mode of the wiper blade to be the high-speed continuous wiping mode.

Specifically, with reference to the above embodiment, the rainfall may be classified according to the magnitude of the rainfall, the classified rainfall classes at least include a first class, a second class and a third class (for example, the first class corresponds to light rain, the second class corresponds to medium rain, and the third class corresponds to heavy rain or heavy rain), and when the working mode of the wiper blade is adjusted according to the magnitude of the rainfall detected by the wiper sensor in real time, the corresponding rainfall class is determined according to the magnitude of the rainfall detected by the wiper sensor; when the rainfall level is judged to be a first level (light rain), the working mode of the wiper blade is controlled to be an intermittent wiping mode through the wiper motor; when the rainfall level is judged to be a second level (medium rain), the working mode of the wiper blade is controlled to be a low-speed continuous wiping mode through the wiper motor; when it is determined that the rainfall level is the third level (heavy rain or heavy rain), the operating mode of the wiper blade is controlled to be a high-speed continuous wiping mode by the wiper motor.

It is understood that the rain-out condition may be classified into a fourth level, and when it is determined that the rain amount level is the fourth level, the operation mode of the wiper blade is controlled to a stop mode, i.e., the wiper blade stops operating, by the wiper motor.

In yet another preferred embodiment, the method further comprises:

when the rain wiper sensor detects that the rain is not rained and the rain wiper action of the rain wiper blade exceeds a preset time threshold value, generating a corresponding dry-wiping alarm signal;

and controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

Specifically, with the above embodiment, when the external environment of the vehicle changes from rain to non-rain, the wiper motor may still control the wiper blade to perform the corresponding wiper action due to some reasons (e.g., the driver forgets to adjust the gear of the wiper switch to the OFF gear, the wiper control system of the vehicle fails, etc.), and at this time, the wiper blade may be dry-wiped (i.e., there is no wiper brush), and the dry-wiped has great damage to the wiper motor and the wiper blade, so when the non-rain is detected by the wiper sensor and the wiper action of the wiper blade exceeds the preset number threshold (e.g., the number of wiper actions after the rain stops is greater than 20), it is determined that the wiper blade is dry-wiped, and a corresponding dry-wiping alarm signal is generated, so that the wiper blade is controlled by the wiper motor to stop the wiper action according to the dry-wiping alarm signal.

According to the control method for the automatic wiper function provided by the embodiment of the invention, the dry wiping prevention operation can be used for preventing the dry wiping condition of the wiper blade when the wiper blade does not rain after the misoperation of a user or the failure of a wiper system, so that the damage to the wiper motor and the wiper blade can be effectively reduced.

In yet another preferred embodiment, the method further comprises:

and sending corresponding text alarm information to a vehicle instrument according to the dry scraping alarm signal.

Specifically, in combination with the above embodiment, when it is detected that the wiper blade is dry-scraped, the corresponding dry-scraping alarm signal is generated to control the wiper blade to stop operating, and the corresponding text alarm information can be generated and sent to the vehicle instrument to remind the driver to check the abnormality of the wiper system, and meanwhile, the corresponding fault code can be recorded to provide reference data for subsequent vehicle maintenance.

The embodiment of the invention also provides a control device for the automatic wiper function, which can realize all the processes of the control method for the automatic wiper function in any embodiment, and the functions and the realized technical effects of each module and unit in the device are respectively the same as the functions and the realized technical effects of the control method for the automatic wiper function in the embodiment, and are not repeated herein.

Referring to fig. 2, it is a block diagram of a preferred embodiment of a control device for an automatic wiper function according to the present invention, the device includes a sensor activation module 11, a wiper gear determination module 12, a wiper gear adjustment module 13, and a wiper control module 14; wherein the content of the first and second substances,

the sensor activation module 11 is used for activating the wiper sensor when the vehicle is powered on;

the wiper gear judging module 12 is configured to judge whether a gear of a wiper switch is in AUTO gear when rain is detected by the wiper sensor;

the wiper gear adjusting module 13 is configured to adjust the gear of the wiper switch to AUTO gear if the gear of the wiper switch is not AUTO gear, and control the working mode of the wiper blade according to the magnitude of the rain detected by the wiper sensor through the wiper control module 14;

the wiper control module 14 is configured to control a working mode of the wiper blade according to the magnitude of the rain amount detected by the wiper sensor if the gear of the wiper switch is AUTO gear.

Preferably, the operation modes include at least an intermittent wiping mode, a low-speed continuous wiping mode, and a high-speed continuous wiping mode.

Preferably, the wiper control module 14 specifically includes:

the rainfall level judging unit is used for judging the rainfall level according to the rainfall detected by the wiper sensor; wherein the rainfall levels comprise at least a first level, a second level and a third level;

the first wiper control unit is used for controlling the working mode of the wiper blade to be the intermittent wiping mode when the rainfall level is the first level;

the second wiper control unit is used for controlling the working mode of the wiper blade to be the low-speed continuous wiping mode when the rainfall level is the second level;

and the third wiper control unit is used for controlling the working mode of the wiper blade to be the high-speed continuous wiping mode when the rainfall level is the third level.

Preferably, the device further comprises a wiper dry-wiping detection module;

the wiper dry-scraping detection module is used for generating a corresponding dry-scraping alarm signal when the wiper sensor detects that the wiper does not rain and the wiper action of the wiper blade exceeds a preset time threshold value within a preset time;

the wiper control module 14 is used for controlling the wiper blade to stop the wiper action according to the dry-wiping alarm signal.

Preferably, the device further comprises a wiper dry-scraping alarm module;

and the windscreen wiper dry-scraping alarm module is used for sending corresponding text alarm information to a vehicle instrument according to the dry-scraping alarm signal.

An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program controls the device on which the computer readable storage medium is located to execute the control method of the automatic wiper function according to any one of the above embodiments when running.

An embodiment of the present invention further provides a control device of an automatic wiper function, which is shown in fig. 3 and is a block diagram of another preferred embodiment of the control device of the automatic wiper function provided by the present invention, the device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10 implements the control method of the automatic wiper function according to any one of the embodiments when executing the computer program.

Preferably, the computer program can be divided into one or more modules/units (e.g. computer program 1, computer program 2,) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the apparatus.

The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the apparatus, and various interfaces and lines are used to connect various parts of the apparatus.

The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.

It should be noted that the above-mentioned apparatus may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram in fig. 3 is only an example of the above-mentioned apparatus, and does not constitute a limitation of the apparatus, and may include more or less components than those shown, or combine some components, or different components.

To sum up, the control method, the device and the computer readable storage medium for the automatic wiper function provided by the embodiments of the present invention activate the related functions of the wiper sensor when the vehicle is powered on, and adjust the working mode of the wiper blade according to the magnitude of the rainfall detected by the wiper sensor in real time when the rain is detected by the wiper sensor in real time and the gear of the wiper switch is in AUTO gear, so that the wiper action of the wiper blade can be matched with the current rainfall in time, thereby saving the response time of the automatic wiper function and improving the user experience.

The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种汽车后视镜除雾清洁装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!