Disclosure of Invention
Based on the problems in the prior art, the invention provides a vehicle control system and method based on rainfall monitoring, which automatically adjust the running mode of a windscreen wiper and the state mode of a roof opening and closing device according to the rainfall so as to reduce the accident occurrence rate.
A vehicle control system based on rainfall monitoring, comprising:
the rainfall acquisition devices are arranged at different positions of the vehicle and are used for acquiring rainfall signals;
the processor is connected with the rainfall acquisition device and used for processing the rainfall signal to obtain a rainfall average value;
the signal transmission device is respectively connected with the processor and the controller and is used for transmitting the average rainfall value to the controller;
the controller is respectively connected with the windscreen wiper and the roof opening and closing device of the vehicle and is used for generating a first control instruction for adjusting the running mode of the windscreen wiper and a second control instruction for controlling the state mode of the roof opening and closing device according to the average rainfall value and a preset control strategy;
the windscreen wiper is adjusted to a corresponding running mode according to the first control instruction, and the roof opening and closing device is adjusted to a corresponding state mode according to the second control instruction.
Furthermore, the control strategy comprises a first control strategy, the first control strategy is divided into a plurality of first rainfall threshold ranges, and each first rainfall threshold range corresponds to one running mode of one windscreen wiper;
the controller includes:
the first matching module is used for matching the rainfall average value with a plurality of first rainfall threshold ranges respectively and outputting a first matching result;
the first acquisition module is connected with the first matching module and used for acquiring an operation mode corresponding to a first rainfall threshold range matched with the rainfall average value based on a first matching result;
the first instruction generating module is connected with the first acquiring module and used for generating a corresponding first control instruction according to the acquired operation mode;
and the windscreen wiper is adjusted to a corresponding running mode according to the first control instruction.
Furthermore, each operating mode is associated with a respective predetermined wiping speed and/or a respective predetermined wiping interval of the wiper blade.
Furthermore, each operation mode is respectively associated with a preset wiping speed of the windscreen wiper;
the first control strategy then comprises:
when the average rainfall value is detected to be 0, the corresponding running mode is to close the windscreen wiper;
when the average rainfall value is not 0, adjusting the water wiping speed of the windscreen wiper according to the first rainfall threshold range obtained by matching in the corresponding running mode;
the larger the first rainfall threshold range is, the faster the wiping speed of the corresponding wiper blade is.
Further, the control strategy comprises a second control strategy, a plurality of second rainfall threshold ranges are arranged in the second control strategy, and each second rainfall threshold range corresponds to the state mode of the roof opening and closing device;
the controller further includes:
the second matching module is used for matching the average rainfall value with each second rainfall threshold range respectively and outputting a second matching result;
the second obtaining module is used for connecting the second matching module and obtaining a state mode corresponding to a second rainfall threshold range matched with the rainfall average value based on a second matching result;
the second instruction generating module is connected with the second acquiring module and used for generating a corresponding second control instruction according to the acquired state mode;
and the roof opening and closing device is adjusted to a corresponding state mode according to the second control instruction. Further, the roof opening and closing device comprises a roof door on the vehicle;
each state mode is respectively related to a preset allowable opening angle of the top door; in different state modes, the maximum opening angle of the top door is equal to the corresponding allowable opening angle;
the second control strategy then comprises:
when the average rainfall value is detected to be 0, the allowable opening angle associated with the corresponding state mode is the theoretical maximum opening angle of the top door;
when the average rainfall value is not 0, the corresponding state mode is that the allowable opening angle of the top door is adjusted according to the second rainfall threshold range obtained by matching;
the larger the second rainfall threshold range is, the smaller the allowable opening angle of the corresponding top door is.
Furthermore, at least one rainfall acquisition device comprises a rainfall sensor, a vision sensor and a current meter;
the rainfall sensor and the vision sensor are both arranged on the front windshield of the vehicle;
the flow meter is disposed in a drain tank in the roof of the vehicle.
A vehicle control method based on rainfall monitoring uses the vehicle control system based on rainfall monitoring, and comprises the following steps:
step A1, collecting rainfall signals outside the vehicle through at least two rainfall collecting devices;
step A2, processing the rainfall signal to obtain a rainfall average value;
step A3, generating a first control instruction for adjusting the running mode of the windscreen wiper and a second control instruction for controlling the state mode of the roof opening and closing device according to the average rainfall value and a preset control strategy;
and step A4, adjusting the windscreen wiper to a corresponding running mode according to the first control instruction, and adjusting the roof opening and closing device to a corresponding state mode according to the second control instruction.
Further, the control strategy comprises a first control strategy, the first control strategy comprises a plurality of first rainfall threshold ranges, and each first rainfall threshold range corresponds to an operation mode of a windscreen wiper;
step a3 includes:
step A31, respectively matching the rainfall average value with a plurality of first rainfall threshold ranges, and outputting a first matching result;
step A32, acquiring an operation mode corresponding to a first rainfall threshold range matched with the average rainfall value based on the first matching result;
step A33, generating a corresponding first control instruction according to the acquired operation mode;
step a4 includes: and the windscreen wiper is adjusted to a corresponding running mode according to the first control instruction.
Furthermore, each operating mode is associated with a respective predetermined wiping speed and/or a respective predetermined wiping interval of the wiper blade.
Furthermore, each operation mode is respectively associated with a preset wiping speed of the windscreen wiper;
the first control strategy then comprises:
when the average rainfall value is detected to be 0, the corresponding running mode is to close the windscreen wiper;
when the average rainfall value is not 0, adjusting the water wiping speed of the windscreen wiper according to the first rainfall threshold range obtained by matching in the corresponding running mode;
the larger the first rainfall threshold range is, the faster the wiping speed of the corresponding wiper blade is.
Further, the control strategy comprises a second control strategy, the second control strategy comprises a plurality of second rainfall threshold ranges, and each second rainfall threshold range corresponds to the state mode of the roof opening and closing device;
step a3 includes:
step A34, matching the average rainfall value with each second rainfall threshold range respectively, and outputting a second matching result;
step A35, acquiring a state mode corresponding to a second rainfall threshold range matched with the average rainfall value based on a second matching result;
step A36, generating a corresponding second control instruction according to the acquired state mode;
step a4 includes: and the roof opening and closing device is adjusted to a corresponding state mode according to the second control instruction.
Further, the roof opening and closing device comprises a roof door on the vehicle;
each state mode is respectively related to a preset allowable opening angle of the top door; in different state modes, the maximum opening angle of the top door is equal to the corresponding allowable opening angle;
the second control strategy then comprises:
when the average rainfall value is detected to be 0, the allowable opening angle associated with the corresponding state mode is the theoretical maximum opening angle of the top door;
when the average rainfall value is not 0, the corresponding state mode is that the allowable opening angle of the top door is adjusted according to the second rainfall threshold range obtained by matching;
the larger the second rainfall threshold range is, the smaller the allowable opening angle of the corresponding top door is.
Furthermore, at least one rainfall acquisition device comprises a rainfall sensor, a vision sensor and a current meter;
the rainfall sensor and the vision sensor are both arranged on the front windshield of the vehicle;
the flow meter is disposed in a drain tank in the roof of the vehicle.
The invention has the beneficial technical effects that: the invention relates to a vehicle control system and a method based on rainfall monitoring, which detect the rainfall through various means, obtain the average rainfall value to acquire the rainfall as accurately as possible, automatically adjust the running mode of a windscreen wiper based on the average rainfall value and a preset control strategy, automatically control the state mode of a roof opening and closing device, avoid manual adjustment of a driver, reduce interference of the windscreen wiper and rainwater on the sight of the driver, and simultaneously avoid rainwater from entering the interior of a vehicle.
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 making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
Referring to fig. 1, the present invention provides a vehicle control system based on rainfall monitoring, comprising:
the rainfall acquisition devices (1) are arranged at different positions of the vehicle and are used for acquiring rainfall signals;
the processor (2) is connected with the rainfall acquisition device (1) and is used for processing the rainfall signal to obtain a rainfall average value;
the signal transmission device (3) is respectively connected with the processor (2) and the controller (4) and is used for transmitting the average rainfall value to the controller;
the controller (4) is respectively connected with a windscreen wiper (5) and a roof opening and closing device (6) of the vehicle and is used for generating a first control instruction for adjusting the running mode of the windscreen wiper and a second control instruction for controlling the state mode of the roof opening and closing device according to the average rainfall value and a preset control strategy;
the windscreen wiper (5) is adjusted to a corresponding running mode according to the first control instruction, and the roof opening and closing device is adjusted to a corresponding state mode according to the second control instruction;
the roof opening and closing device (6) is a component for realizing communication and isolation between the inner space and the outer space of the vehicle.
Specifically, the number of the rainfall collecting devices (1) is three, and the rainfall collecting devices can be of the following three types:
the rainfall sensor is used for acquiring rainfall signals outside the vehicle;
the visual sensor is used for acquiring a video signal outside the vehicle;
the flow velocity meter is used for acquiring a water flow signal of a drainage channel on the top of the vehicle;
the processor (2) is respectively connected with the rainfall sensor, the vision sensor and the current meter and is used for respectively processing the rainfall signal, the video signal and the water flow signal and acquiring a rainfall average value;
the signal transmission device (3) is respectively connected with the processor (2) and the controller (4) and is used for transmitting the average rainfall value to the controller (4);
the controller (4) is respectively connected with the windscreen wiper (5) and the roof opening and closing device (6) and is used for generating a first control instruction for adjusting the running mode of the windscreen wiper (5) according to the average rainfall value and a preset first control strategy and generating a second control instruction for controlling the state mode of the roof opening and closing device (6) according to the average rainfall value and a preset second control strategy;
the windscreen wiper (5) is adjusted to a corresponding running mode according to the first control instruction, and the roof opening and closing device (6) is adjusted to a corresponding state mode according to the second control instruction.
Specifically, the roof opening and closing device is a roof door and a skylight. Specifically, the roof opening and closing device is a gull-wing door.
Referring to fig. 2, further, the processor (2) includes:
the first processing module (21) is used for processing the rainfall signal to acquire first rainfall information;
the second processing module (22) is used for processing the video signal to acquire second rainfall information;
the third processing module (23) is used for processing the water flow signal to obtain third rainfall information;
and the fourth processing module (24) is respectively connected with the first processing module (21), the second processing module (22) and the third processing module (23) and is used for averaging the first rainfall information, the second rainfall information and the third rainfall information to obtain a rainfall average value.
Referring to fig. 3, further, the control strategy includes a first control strategy, the first control strategy is divided into a plurality of first rainfall threshold ranges, and each of the first rainfall threshold ranges corresponds to an operation mode of a wiper;
the controller (4) includes:
the first matching module (41) is used for matching the average rainfall value with a plurality of first rainfall threshold ranges respectively and outputting a first matching result;
the first obtaining module (42) is connected with the first matching module (41) and used for obtaining an operation mode corresponding to a first rainfall threshold range matched with the average rainfall value based on a first matching result;
the first instruction generating module (43) is connected with the first acquiring module (42) and used for generating a corresponding first control instruction according to the acquired operation mode;
and the windscreen wiper (5) is adjusted to a corresponding running mode according to the first control instruction.
And the windscreen wiper (5) executes a preset running mode matched with the average rainfall value according to the first control instruction.
Furthermore, each operating mode is associated with a respective predetermined wiping speed and/or a respective predetermined wiping interval of the wiper blade.
Each running mode is respectively related to a preset wiping speed of the windscreen wiper;
the first control strategy then comprises:
when the average rainfall value is detected to be 0, the corresponding running mode is to close the windscreen wiper;
when the average rainfall value is not 0, adjusting the water wiping speed of the windscreen wiper according to the first rainfall threshold range obtained by matching in the corresponding running mode;
the larger the first rainfall threshold range is, the faster the wiping speed of the corresponding wiper blade is.
Specifically, the first control strategy includes:
when the average rainfall value is 0, the running mode of the windscreen wiper is a closing mode;
the first rainfall threshold range is greater than 0 and not greater than 2.5, corresponding to a first preset wiping speed;
the second rainfall threshold range is greater than 2.5 and not greater than 8, corresponding to a second preset wiping speed;
a third rainfall threshold range, greater than 8, corresponds to a third preset wiping speed;
wherein the third preset wiping speed > the second preset wiping speed > the first preset wiping speed.
The average rainfall value is in different rainfall threshold value ranges, and the wiper takes corresponding wiping speed to match with the average rainfall value, so that the wiping speed of the wiper is automatically adjusted, manual adjustment is not performed any more, the distraction of a driver during driving is avoided, the wiping speed of the wiper is moderate, the wiper is neither too fast nor too slow, rainwater on a windshield is guaranteed to be scraped, the interference of the rainwater and the wiper to the sight of the driver is avoided, and the accident occurrence probability is reduced.
Referring to fig. 4, further, the control strategy includes a second control strategy, where the second control strategy includes a plurality of second rainfall threshold ranges, and each second rainfall threshold range also corresponds to a status mode of the roof opening and closing device;
the controller (4) further comprises:
the second matching module (44) is used for matching the average rainfall value with each second rainfall threshold range respectively and outputting a second matching result;
the second obtaining module (45) is connected with the second matching module (44) and used for obtaining a state mode corresponding to a second rainfall threshold range matched with the average rainfall value based on a second matching result;
the second instruction generating module (46) is connected with the second acquiring module (45) and used for generating a corresponding second control instruction according to the acquired state mode;
and the roof opening and closing device (6) is adjusted to a corresponding state mode according to the second control instruction.
Further, the roof opening and closing device comprises a roof door on the vehicle;
each state mode is respectively related to a preset allowable opening angle of the top door; in different state modes, the maximum opening angle of the top door is equal to the corresponding allowable opening angle;
the second control strategy then comprises:
when the average rainfall value is detected to be 0, the allowable opening angle associated with the corresponding state mode is the theoretical maximum opening angle of the top door;
when the average rainfall value is not 0, the corresponding state mode is that the allowable opening angle of the top door is adjusted according to the second rainfall threshold range obtained by matching;
the larger the second rainfall threshold range is, the smaller the allowable opening angle of the corresponding top door is.
Specifically, the second control strategy includes:
when the average rainfall value is 0, the opening angle is allowed to be in a full-opening mode;
the first rainfall threshold range is greater than 0 and not greater than 2.5, and the opening angle is allowed to be 45 degrees;
the second rainfall threshold range is larger than 2.5 and not larger than 8, and the opening angle is allowed to be 15 degrees;
the third rain threshold range is greater than 8, the status mode is off mode.
The roof opening and closing device comprises an opening mode and a closing mode, the roof opening and closing device can be opened in rainy days and light rain days, the roof opening and closing device is automatically closed in medium rain days and heavy rain days, the situation that the roof opening and closing device is manually closed is avoided, the probability of accidents is reduced, and meanwhile rainwater is prevented from being poured into the interior of the vehicle.
Further, the roof opening and closing device comprises a skylight on the vehicle;
each state mode is respectively related to a preset allowable opening degree of the skylight, and under different state modes, the maximum opening degree of the skylight is equal to the corresponding allowable opening degree;
the second control strategy then comprises:
when the average rainfall value is detected to be 0, the allowable opening degree associated with the corresponding state mode is the theoretical maximum opening degree of the skylight;
when the average rainfall value is not 0, the corresponding state mode is that the allowable opening degree of the skylight is adjusted according to the second rainfall threshold range obtained by matching;
the larger the second rainfall threshold range is, the smaller the allowable opening degree of the corresponding lathe is.
Further, the rainfall sensor is an infrared sensor.
Further, the rain sensor is provided on a front windshield of the vehicle.
As a preferable real-time mode of the invention, the division of a first rainfall threshold range of a first control strategy and a second rainfall threshold range of a second control strategy is the same, and a first matching module (41) and a second matching module (44) are combined into the same detection module.
In an optical sensor, such as an infrared sensor, light emitted from a transmitting tube is reflected by a windshield and received by a receiving tube, and when there is no rain on the windshield, the receiving tube will receive almost all of the emitted light. When rain exists on the windshield, the emitted light is partially scattered, and therefore the light received by the receiving pipe is reduced. In this way, the first processing module of the processor processes the change of the total amount of the light received by the receiving pipe to obtain the first rainfall information measured by the rainfall sensor.
Further, the rainfall sensor may employ a capacitive sensor in addition to the optical sensor.
Further, the vision sensor is provided on a front windshield of the vehicle.
The vision sensor obtains a video signal outside the vehicle, and a second processing module of the processor (3) processes the video signal, for example, the video signal is subjected to framing processing to obtain a plurality of frames of images, and the images are input into a pre-trained rainfall recognition model to recognize second rainfall information. The rainfall recognition model is a convolutional neural network, external images of a plurality of vehicles running under different rainfall degrees are selected, the images are divided into a training set and a testing set, and the convolutional neural network is trained, so that the rainfall recognition model is obtained. In addition, the driving speed is also considered when the rainfall recognition model is trained, and the driving speed is used as one of input parameters of the training.
The current meter sets up in the water drainage tank at vehicle top for detect the rivers signal in the water drainage tank, rainfall variation in size, the discharge of water drainage tank is different, and the third processing module of treater acquires third rainfall information according to discharge.
And averaging the first rainfall information, the second rainfall information and the third rainfall information to obtain a rainfall average value, wherein the rainfall average value reflects the real rainfall as accurate as possible, and the deviation caused by the rainfall acquired by a single measurer is avoided.
Referring to fig. 5, the present invention further provides a vehicle control method based on rainfall monitoring, using the foregoing vehicle control system based on rainfall monitoring, including the following steps:
step A1, collecting rainfall signals outside the vehicle through at least two rainfall collecting devices;
step A2, processing the rainfall signal to obtain a rainfall average value;
step A3, generating a first control instruction for adjusting the running mode of the windscreen wiper and a second control instruction for controlling the state mode of the roof opening and closing device according to the average rainfall value and a preset control strategy;
step A4, adjusting the windscreen wiper to a corresponding running mode according to a first control instruction, and adjusting the roof opening and closing device to a corresponding state mode according to a second control instruction;
the roof opening and closing device is a component for realizing communication and isolation between the inner space and the outer space of the vehicle.
Specifically, in step a 1: acquiring rainfall signals outside the vehicle through a rainfall sensor;
acquiring a video signal outside the vehicle through a vision sensor;
collecting a water flow signal of a drainage channel at the top of the vehicle through a current meter;
in step a2, the rainfall signal, the video signal and the water flow signal are processed respectively, and a rainfall average value is obtained;
specifically, in step a3, a first control instruction for adjusting the running mode of the wiper blade is generated according to the average rainfall value and a preset first control strategy;
specifically, in step a3, a second control command for controlling the state mode of the roof opening and closing device is generated according to the average rainfall and a preset second control strategy;
referring to fig. 6, step a2 includes:
step A21, processing the rainfall signal to obtain first rainfall information;
step A22, processing the video signal to obtain second rainfall information;
step A23, processing the water flow signal to obtain third rainfall information;
step a24, averaging the first rainfall information, the second rainfall information and the third rainfall information to obtain a rainfall average value.
Referring to fig. 7, further, the control strategy includes a first control strategy, the first control strategy is divided into a plurality of first rainfall threshold ranges, and each first rainfall threshold range corresponds to an operation mode of a wiper;
step a3 includes:
step A31, respectively matching the rainfall average value with a plurality of first rainfall threshold ranges, and outputting a first matching result;
step A32, acquiring an operation mode corresponding to a first rainfall threshold range matched with the average rainfall value based on the first matching result;
step A33, generating a corresponding first control instruction according to the acquired operation mode;
step a4 includes: and the windscreen wiper is adjusted to a corresponding running mode according to the first control instruction.
Furthermore, each operating mode is associated with a respective predetermined wiping speed and/or a respective predetermined wiping interval of the wiper blade.
Furthermore, each operation mode is respectively associated with a preset wiping speed of the windscreen wiper;
when the average rainfall value is detected to be 0, the corresponding running mode is to close the windscreen wiper;
when the average rainfall value is not 0, adjusting the water wiping speed of the windscreen wiper according to the first rainfall threshold range obtained by matching in the corresponding running mode;
the larger the first rainfall threshold range is, the faster the wiping speed of the corresponding wiper blade is.
Specifically, the first control strategy includes:
when the average rainfall value is 0, the running mode of the windscreen wiper is a closing mode;
the first rainfall threshold range is greater than 0 and not greater than 2.5, corresponding to a first preset wiping speed;
the second rainfall threshold range is greater than 2.5 and not greater than 8, corresponding to a second preset wiping speed;
a third rainfall threshold range, greater than 8, corresponds to a third preset wiping speed;
wherein the third preset wiping speed > the second preset wiping speed > the first preset wiping speed.
The average rainfall value is in different rainfall threshold value ranges, and the wiper takes corresponding wiping speed to match with the average rainfall value, so that the wiping speed of the wiper is automatically adjusted, manual adjustment is not performed any more, the distraction of a driver during driving is avoided, the wiping speed of the wiper is moderate, the wiper is neither too fast nor too slow, rainwater on a windshield is guaranteed to be scraped, the interference of the rainwater and the wiper to the sight of the driver is avoided, and the accident occurrence probability is reduced.
Referring to fig. 8, further, the control strategy includes a second control strategy, the second control strategy is divided into a plurality of second rainfall threshold ranges, and each second rainfall threshold range also corresponds to a status mode of the roof opening and closing device;
step a3 further includes:
step A34, matching the average rainfall value with each second rainfall threshold range respectively, and outputting a second matching result;
step A35, acquiring a state mode corresponding to a second rainfall threshold range matched with the average rainfall value based on a second matching result;
step A36, generating a corresponding second control instruction according to the acquired state mode;
step a4 includes: and the roof opening and closing device is adjusted to a corresponding state mode according to the second control instruction.
The roof opening and closing device comprises a roof door on the vehicle;
each state mode is respectively related to a preset allowable opening angle of the top door; in different state modes, the maximum opening angle of the top door is equal to the corresponding allowable opening angle;
the second control strategy then comprises:
when the average rainfall value is detected to be 0, the allowable opening angle associated with the corresponding state mode is the theoretical maximum opening angle of the top door;
when the average rainfall value is not 0, the corresponding state mode is that the allowable opening angle of the top door is adjusted according to the second rainfall threshold range obtained by matching;
the larger the second rainfall threshold range is, the smaller the allowable opening angle of the corresponding top door is.
The roof door may be a gull-wing door.
Further, the second control strategy further includes:
when the average rainfall value is 0, the opening angle is allowed to be fully opened;
the first rainfall threshold range is greater than 0 and not greater than 2.5, and the opening angle is allowed to be 45 degrees;
the second rainfall threshold range is larger than 2.5 and not larger than 8, and the opening angle is allowed to be 15 degrees;
the third rainfall threshold range is greater than 8 and the status mode is an off mode.
The roof opening and closing device comprises an opening mode and a closing mode, the roof opening and closing device can be opened in rainy days and light rain days, the roof opening and closing device is automatically closed in medium rain days and heavy rain days, the situation that the roof opening and closing device is manually closed is avoided, the probability of accidents is reduced, and meanwhile rainwater is prevented from being poured into the interior of the vehicle.
Further, the rainfall sensor is an infrared sensor.
Further, the rain sensor is provided on a front windshield of the vehicle.
Further, the vision sensor is provided on a front windshield of the vehicle.
Further, the roof opening and closing device is a gull-wing door.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.