Intelligent vehicle window drives platform
Technical field
The present invention relates to field of intelligent control more particularly to a kind of intelligent vehicle window to drive platform.
Background technology
Vehicle window is generally divided into front and rear windows, vent window, heat-insulated side window, four kinds of sunshade roof window.
First, the forward and backward air regulator generally use of front and rear windows, automobile is conducive to the visual field and beautiful bend glass, sedan-chair
The front and rear windows of vehicle are also known as front-rear windshield glass.
Second, vent window, for ease of gravity-flow ventilation, certain automobiles are equipped with triangle vent window, triangle vent window on car door
Can be rotated around vertical axis, the front of window to car rotation and rear portion is rotated to outside vehicle, make air is formed in its vicinity be vortexed and around
Vehicle window circulates.
Third, heat-insulated side window, side window glass use dark brown or carry thermal insulation layer, can make indoor heat insulating and have relaxed quiet
Comfort.Coach luxury coach with perfect cold air, heating, ventilation and air-conditioning equipment is usually by sidelite design at can not open
Formula, to improve the leakproofness of vehicle body.
4th, sunshade roof window, sunshade roof window (also referred to as vehicle dormer window) and other vehicle windows can make when opening car room with it is outer
Boundary is connected to, close to the performance of open car, so that occupant enjoys bright and beautiful sunshine and fresh to the full in bright and sunny season
Air.Sunshade roof window can not only increase indoor illuminance, and be also a kind of more effective natural ventilation equipment.
In the prior art, lack and open amplitude and the controlling mechanism of vehicle window associated components with vehicle window, lead to opening for vehicle window
It opens control and the control of vehicle window associated components relies basically on artificial mode, automatization level is low, has disperseed vehicle occupant
The attention of member especially driver.
Invention content
To solve the above-mentioned problems, the present invention provides a kind of intelligent vehicle windows to drive platform, at the image of customization
Reason equipment determines the degree tired out of occupant, based on rainfall determines the unlatching width of vehicle window in real time outside the degree tired out and vehicle
Degree, and when the real-time rainfall is more than or equal to default rainfall threshold value, dash board driving equipment control the dash board from described
Raised configuration is switched to the landing state, and when the dash board is in the landing state, the real-time rainfall is bigger,
The fall that the dash board driving equipment controls the dash board is bigger.
According to an aspect of the present invention, a kind of intelligent vehicle window driving platform is provided, the platform includes rainwater identification
Equipment, ARM11 processing equipments and vehicle window control device;The rainwater identification equipment is arranged on outside vehicle window, including multiple
It is combined with the conductive sheet of 5V power supplys connection, the combination of each conductive sheet includes current output terminal and two conductions being placed in parallel
Piece, when all speckling with the rainwater of drippage on two conductive sheets of conductive sheet combination, current output terminal output current, output current
Conductive sheet combination is more, and the real-time rainfall of the rainwater identification equipment output is bigger;The vehicle window control device is for controlling vehicle
The unlatching amplitude of window;
Wherein, the ARM11 processing equipments are connect with the rainwater identification equipment and the vehicle window control device respectively,
Real-time rainfall for being exported based on the rainwater identification equipment determines the vehicle window drive signal that the vehicle window control device is sent out.
More specifically, in the intelligent vehicle window driving platform, further include:Dash board is embedded under raised configuration
Inside roof, popped up inside roof under landing state and under fall on the upper edge position of vehicle window.
More specifically, in the intelligent vehicle window driving platform, further include:Dash board driving equipment, with the screening water
Plate connects, and switches between the raised configuration and the landing state for controlling the dash board.
More specifically, in the intelligent vehicle window driving platform, further include:Image capture device, setting in the car, are used
In to interior scene carry out image data acquiring to obtain interior scene image.
More specifically, in the intelligent vehicle window driving platform, further include:Contrast enhances equipment, with described image
Collecting device connects, and contrast enhancement processing is executed to obtain for receiving interior scene image, and to the interior scene image
Image must be enhanced.
More specifically, in the intelligent vehicle window driving platform, further include:
Mean square deviation detection device is determined for receiving enhancing image based on the pixel value of each pixel of enhancing image
Enhance the mean square deviation of image pixel value to be exported as target mean square error;
Signal-to-noise ratio detection device carries out noise analysis, to obtain noise amplitude for receiving enhancing image to enhancing image
The secondary noise signal of maximum main noise signal and noise amplitude time greatly, is based on main noise signal, secondary noise signal and enhancing
Image determines the signal-to-noise ratio of enhancing image to be exported as target signal to noise ratio, is additionally operable to judge with true enhancing image progress scene
Surely the distribution situation for enhancing pixel pixel value in image clicks through each pixel in enhancing image based on the distribution situation
Row pixel value is analyzed to determine whether to determine the multiple noise regions of each noise spot composition in enhancing image every for noise spot
The area and shape of one noise region, and by the Area summing of each noise region to obtain the noise region gross area;
Modified medium filtering equipment, connect with mean square deviation detection device and signal-to-noise ratio detection device respectively, is used for
When target signal to noise ratio is less than or equal to preset snr threshold and target mean square error is more than or equal to default mean deviation threshold, from power saving shape
State enters working condition, receives the shape of each noise region, the geometric properties of the shape based on each noise region, will
Each noise region splits into multiple benchmark subregions, the shape of each benchmark subregion be it is rectangular, round or linear, it is right
Each noise region, each benchmark subregion after being split for it, selects corresponding medium filtering template to execute respectively
Each sub-regions filter pattern to obtain each sub-regions filter pattern, and is combined into filtered noise range by medium filtering
Domain subgraph, and the non-noise region enhanced in image is combined with each noise region subgraph to obtain medium filtering figure
Picture;
Gaussian filtering equipment is set with the detection of modified medium filtering equipment, mean square deviation detection device and signal-to-noise ratio respectively
Standby connection is used to be less than or equal to default snr threshold in target signal to noise ratio and target mean square error is more than or equal to default mean square deviation threshold
When value, enter working condition from power down mode, receive medium filtering image and gaussian filtering process is carried out to medium filtering image
To obtain gaussian filtering image;
Degree detection device tired out, connect with gaussian filtering equipment, for receiving gaussian filtering image, to gaussian filtering figure
Picture, the human body subgraph for identifying and being partitioned into the gaussian filtering image determine the people based on various benchmark posture tired out
The matched benchmark of body subgraph posture tired out, and using the corresponding degree tired out of matched benchmark posture tired out as target journey tired out
Degree output, wherein various benchmark postures tired out correspond to each different grades of degree tired out;
The ARM11 processing equipments respectively with the dash board driving equipment, the rainwater identification equipment, the vehicle window control
Control equipment and the degree detecting equipment connection tired out, it is tired out based on the target for receiving target degree tired out
Degree and the real-time rainfall determine the unlatching amplitude in the vehicle window drive signal;
Wherein, in enhancing image, the region except multiple noise regions is non-noise region;
Wherein, the distribution situation for enhancing pixel pixel value in image includes enhancing in image for each pixel
Region determine the pixel value range that the pixel pixel value should belong to;
Wherein, the ARM11 processing equipments determine the vehicle based on target degree tired out and the real-time rainfall
Unlatching amplitude in window drive signal includes:The target degree tired out is higher, and the unlatching amplitude is bigger, the real-time rainfall
Bigger, the unlatching amplitude is smaller;
Wherein, the ARM11 processing equipments also determine the dash board driving equipment to described based on the real-time rainfall
The control model of dash board, wherein when the real-time rainfall is more than or equal to default rainfall threshold value, the dash board driving equipment
It controls the dash board and is switched to the landing state from the raised configuration, and when the dash board is in the landing state
When, the real-time rainfall is bigger, and the fall that the dash board driving equipment controls the dash board is bigger.
More specifically, in the intelligent vehicle window driving platform:When the shape of benchmark subregion is rectangular, each
The size of benchmark subregion is 3 × 3,5 × 5 or 7 × 7.
More specifically, in the intelligent vehicle window driving platform:When the shape of benchmark subregion is round, each
The radius of benchmark subregion is 3 pixels, 5 pixels or 7 pixels.
More specifically, in the intelligent vehicle window driving platform:When the shape of benchmark subregion is linear, each
Benchmark subregion is an one-dimensional pixel set.
More specifically, in the intelligent vehicle window driving platform, further include:TF storage devices, with filtering switching equipment
Connection, for prestoring various benchmark posture tired out, default snr threshold and default mean deviation threshold.
Description of the drawings
Embodiment of the present invention is described below with reference to attached drawing, wherein:
Fig. 1 is the block diagram that platform is driven according to the intelligent vehicle window shown in embodiment of the present invention.
Reference numeral:1 rainwater identification equipment;2ARM11 processing equipments;3 vehicle window control devices
Specific implementation mode
The embodiment for driving platform to the intelligent vehicle window of the present invention below with reference to accompanying drawings is described in detail.
Vehicle window determines ventilation situation, humidity condition and the heat preservation situation of interior subenvironment, opens or closes, and
The amplitude of opening is all operated manually by occupant by the experience of oneself, and control effect is bad and affects occupant
Driving state.
Vehicle window weather shield is one of important component of vehicle window, and many vehicles are assembled with vehicle window weather shield, he the advantages of
What is showed when rainy day is especially very apparent.First, he can make interior air circulation when rainy day, thus
It will not seem too bored, be exactly a big welfare for carsick people;Second, if driver is a people being fond of smoking, that
The problem for worrying that interior scattered cigarette is slow is not just had to when rainy day;Third:Exactly he can eliminate mist when rainy day
Gas;4th, in the summer of high temperature, parking when, not shut vehicle window, can stay a slight seam, be mounted with visor
Later, this crack can be just covered, can't see if not seeing carefully.
In the prior art and there is no the technical solution opened to vehicle window and weather shield unlatching is uniformly controlled, cause
Environment inside car lacks variation, the requirements such as cannot be satisfied the ventilation of occupant, rain-proof and refresh oneself.In order to overcome above-mentioned deficiency,
The present invention has built a kind of intelligent vehicle window driving platform, for solving above-mentioned technical problem.
Fig. 1 is the block diagram that platform is driven according to the intelligent vehicle window shown in embodiment of the present invention, the platform
Including rainwater identification equipment, ARM11 processing equipments and vehicle window control device;The rainwater identification equipment is arranged on outside vehicle window
Portion, including multiple conductive sheets with the connection of 5V power supplys combine, and the combination of each conductive sheet includes that current output terminal and two are parallel
The conductive sheet of placement, when all speckling with the rainwater of drippage on two conductive sheets of conductive sheet combination, current output terminal output current,
The conductive sheet combination of output current is more, and the real-time rainfall of the rainwater identification equipment output is bigger;The vehicle window control device
Unlatching amplitude for controlling vehicle window;
Wherein, the ARM11 processing equipments are connect with the rainwater identification equipment and the vehicle window control device respectively,
Real-time rainfall for being exported based on the rainwater identification equipment determines the vehicle window drive signal that the vehicle window control device is sent out.
Then, continue to drive the concrete structure of platform to be further detailed the intelligent vehicle window of the present invention.
It is described intelligence vehicle window driving platform can also include:
Dash board is embedded under raised configuration inside roof, under landing state by inside roof pop up and under
Fall on the upper edge position of vehicle window.
It is described intelligence vehicle window driving platform can also include:
Dash board driving equipment is connect with the dash board, for controlling the dash board in the raised configuration and institute
It states and switches between landing state.
It is described intelligence vehicle window driving platform can also include:
Image capture device is arranged in the car, for carrying out image data acquiring to interior scene to obtain interior scene
Image.
It is described intelligence vehicle window driving platform can also include:
Contrast enhances equipment, is connect with described image collecting device, for receiving interior scene image, and to the vehicle
Interior scene image executes contrast enhancement processing to obtain enhancing image.
It is described intelligence vehicle window driving platform can also include:
Mean square deviation detection device is determined for receiving enhancing image based on the pixel value of each pixel of enhancing image
Enhance the mean square deviation of image pixel value to be exported as target mean square error;
Signal-to-noise ratio detection device carries out noise analysis, to obtain noise amplitude for receiving enhancing image to enhancing image
The secondary noise signal of maximum main noise signal and noise amplitude time greatly, is based on main noise signal, secondary noise signal and enhancing
Image determines the signal-to-noise ratio of enhancing image to be exported as target signal to noise ratio, is additionally operable to judge with true enhancing image progress scene
Surely the distribution situation for enhancing pixel pixel value in image clicks through each pixel in enhancing image based on the distribution situation
Row pixel value is analyzed to determine whether to determine the multiple noise regions of each noise spot composition in enhancing image every for noise spot
The area and shape of one noise region, and by the Area summing of each noise region to obtain the noise region gross area;
Modified medium filtering equipment, connect with mean square deviation detection device and signal-to-noise ratio detection device respectively, is used for
When target signal to noise ratio is less than or equal to preset snr threshold and target mean square error is more than or equal to default mean deviation threshold, from power saving shape
State enters working condition, receives the shape of each noise region, the geometric properties of the shape based on each noise region, will
Each noise region splits into multiple benchmark subregions, the shape of each benchmark subregion be it is rectangular, round or linear, it is right
Each noise region, each benchmark subregion after being split for it, selects corresponding medium filtering template to execute respectively
Each sub-regions filter pattern to obtain each sub-regions filter pattern, and is combined into filtered noise range by medium filtering
Domain subgraph, and the non-noise region enhanced in image is combined with each noise region subgraph to obtain medium filtering figure
Picture;
Gaussian filtering equipment is set with the detection of modified medium filtering equipment, mean square deviation detection device and signal-to-noise ratio respectively
Standby connection is used to be less than or equal to default snr threshold in target signal to noise ratio and target mean square error is more than or equal to default mean square deviation threshold
When value, enter working condition from power down mode, receive medium filtering image and gaussian filtering process is carried out to medium filtering image
To obtain gaussian filtering image;
Degree detection device tired out, connect with gaussian filtering equipment, for receiving gaussian filtering image, to gaussian filtering figure
Picture, the human body subgraph for identifying and being partitioned into the gaussian filtering image determine the people based on various benchmark posture tired out
The matched benchmark of body subgraph posture tired out, and using the corresponding degree tired out of matched benchmark posture tired out as target journey tired out
Degree output, wherein various benchmark postures tired out correspond to each different grades of degree tired out;
The ARM11 processing equipments respectively with the dash board driving equipment, the rainwater identification equipment, the vehicle window control
Control equipment and the degree detecting equipment connection tired out, it is tired out based on the target for receiving target degree tired out
Degree and the real-time rainfall determine the unlatching amplitude in the vehicle window drive signal;
Wherein, in enhancing image, the region except multiple noise regions is non-noise region;
Wherein, the distribution situation for enhancing pixel pixel value in image includes enhancing in image for each pixel
Region determine the pixel value range that the pixel pixel value should belong to;
Wherein, the ARM11 processing equipments determine the vehicle based on target degree tired out and the real-time rainfall
Unlatching amplitude in window drive signal includes:The target degree tired out is higher, and the unlatching amplitude is bigger, the real-time rainfall
Bigger, the unlatching amplitude is smaller;
Wherein, the ARM11 processing equipments also determine the dash board driving equipment to described based on the real-time rainfall
The control model of dash board, wherein when the real-time rainfall is more than or equal to default rainfall threshold value, the dash board driving equipment
It controls the dash board and is switched to the landing state from the raised configuration, and when the dash board is in the landing state
When, the real-time rainfall is bigger, and the fall that the dash board driving equipment controls the dash board is bigger.
In the intelligent vehicle window driving platform:
When the shape of benchmark subregion is rectangular, the size of each benchmark subregion is 3 × 3,5 × 5 or 7 × 7.
In the intelligent vehicle window driving platform:
When the shape of benchmark subregion is round, the radius of each benchmark subregion is 3 pixels, 5 pixels or 7 pictures
Element.
In the intelligent vehicle window driving platform:
When the shape of benchmark subregion is linear, each benchmark subregion is an one-dimensional pixel set.
It is described intelligence vehicle window driving platform can also include:
TF storage devices are connect with filtering switching equipment, for prestoring various benchmark posture tired out, default signal-to-noise ratio
Threshold value and default mean deviation threshold.
In addition, medium filtering, which has impulsive noise, good filters out effect, especially while filtering out noise, Neng Goubao
The edge for protecting signal, is allowed to not be blurred.These good characteristics are that linear filter method is not had.In addition, medium filtering
Algorithm comparison it is simple, be also easy to use hardware realization.So median filter method is after proposition, just in Digital Signal Processing
Neck obtains important application.
Medium filtering is a kind of nonlinear signal processing technology that can effectively inhibit noise based on sequencing statistical theory, in
The basic principle of value filtering is in a neighborhood the value of any in the digital picture or Serial No. point in each point value
Value replaces, the actual value for making the pixel value of surrounding close, to eliminate isolated noise spot.Method is the two dimension with certain structure
Pixel in plate is ranked up by sleiding form according to the size of pixel value, and it is 2-D data to generate monotone increasing (or decline)
Sequence.Two dimension median filter output is g (x, y)=med { f (x-k, y-l), (k, l ∈ W) }, wherein f (x, y), g (x, y) points
It Wei not original image and image after processing.W is two dimension pattern plate, usually 3*3, the regions 5*5, the shape that can also be different,
It is round such as threadiness, cross, circular ring shape etc..
Intelligence vehicle window using the present invention drives platform, for can not flexibly control vehicle window associated components in the prior art
The technical issues of, by introducing various detection devices and control device, realize degree tired out and vehicle based on occupant
Outer rainfall in real time is to the flexible controlling mechanism of vehicle window and dash board, to improve the intelligent level of vehicle window control.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.