Curtain state transition platform based on wind-force detection
Technical field
The present invention relates to automation field more particularly to a kind of curtain state transition platforms based on wind-force detection.
Background technology
The material of window generally speaking, can be divided into three categories:Wooden, plastic-steel, aluminium alloy.Three has his own strong points.
Plastic-steel:Because being plastic material, weight is small, and heat-proof quality is good, and price is relatively low.Because often
In face of exposing to wind and rain, the sun shines, so people is most allowed to concern the anti-aging problem of plastic-steel window.In fact, the plastic-steel window of high-quality
Service life up to 100 years or so.
Aluminium alloy:Because being metal material, there is no problem of aging, and firm, impact resistance, intensity are big.But
It is exactly heat-proof quality that aluminum window, which is easiest to attacked weakness, because metal be heat good conductor, it is extraneous with it is indoor
Temperature can be transferred with the frame of window.
But it is worth query, the ratio on a fan window shared by frame is simultaneously not very big, and window is not one block of metal
Plate, but the glass of frame is inlayed, the heat transferred by frame edge strip actually can be to there is the generation of the indoor temperature of warmer, air-conditioning
Great influence
But that precautions averts perils is good, this problem, employs " bridge cut-off " skill on the aluminium alloy window having in order to prevent
Art adds one layer of resin material that is, in aluminum alloy window frame, has thoroughly broken off the approach of heat conduction.
It is wooden:Comparatively, wooden should be forms frame material the most perfect, no matter from heat-insulated, sound insulation angularly
For have apparent advantage, and inherent texture and natural figure are more moving.It is actual although wooden
On some be used to doing the solid wood of window frame and have already been through processing special layer by layer, not only without moisture, it is desirable that it is higher even
Fat is sucked, so, so-called wooden actually as fossil, solid wood after treatment is only protected
The appearance of timber has been stayed, quality is but completely different, will not cracking deformation, less suffers insect bite with worry, is corroded, moreover,
Intensity also greatly increases.
In addition, also a kind of frame structure is referred to as aluminium Bao Mu, the outdoor part of wood frame is one layer of aluminium alloy structure,
In fact, this be combine wood frame thermal insulation it is good and the advantages of intensity of aluminum alloy is high, integrate, maximize favourable factors and minimize unfavourable ones.
The wooden unique shortcoming of window is exactly that cost is too high.
The selection to the material of window and structurally is excessively paid close attention in the prior art, and for the mating curtain opening of window
Control concern is less, especially to external wind speed it is excessive or in the case of passing through there are human body curtain this how to act shortage and grind
Study carefully.
The content of the invention
It to solve the above-mentioned problems, can the present invention provides a kind of curtain state transition platform based on wind-force detection
When the wind speed for receiving the wind-force detection device output crosses fast signal, control letter is packed up to motor driving apparatus transmission
Number to pack up curtain, additionally it is possible to when receiving the identification human body signal, control is packed up to motor driving apparatus transmission
Signal is simultaneously stopped the output based on the wind-force detection device and sends control letter to the motor driving apparatus to pack up curtain
Number.
According to an aspect of the present invention, a kind of curtain state transition platform based on wind-force detection, the platform are provided
Including wind-force detection device, image capture device, motor driving apparatus and embedded processing equipment, the embedded processing is set
Back-up is not connected with the wind-force detection device, described image collecting device and the motor driving apparatus, the wind-force detection
Equipment blows over the real-time wind speed of curtain for detecting, and the scene that described image collecting device is used for outside to curtain carries out high definition scene
For Image Acquisition to obtain high definition scene image, the motor driving apparatus is used to control the open shape of curtain by direct current generator
Switching between state and collapsed state;
Wherein, output and described image collecting device of the embedded processing equipment based on the wind-force detection device
Output determines to be sent to the control signal of the motor driving apparatus.
More specifically, described based in the curtain state transition platform of wind-force detection, the platform further includes:
Contrast enhances equipment, inside Curtain rod, is connected with described image collecting device, clears out a gathering place for receiving height
Scape image, and contrast enhancement processing is performed to high definition scene image to obtain enhancing image.
More specifically, described based in the curtain state transition platform of wind-force detection, the platform further includes:
Mean square deviation detection device enhances image for receiving, and is determined 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.
More specifically, described based in the curtain state transition platform of wind-force detection, the platform further includes:
Signal-to-noise ratio detection device enhances image for receiving, and noise analysis is carried out to enhancing image, to obtain noise amplitude
The secondary noise signal of maximum main noise signal and noise amplitude time greatly, based on main noise signal, secondary noise signal and enhancing
Image determines that the signal-to-noise ratio of enhancing image to export as target signal to noise ratio, is additionally operable to judge with true enhancing image progress scene
Surely enhance the distribution situation of pixel pixel value in image, each pixel in enhancing image is clicked through based on the distribution situation
Row pixel value is analyzed to determine whether as noise spot, will be formed multiple noise regions by each noise spot in enhancing image, and be determined every
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, is connected respectively with mean square deviation detection device and signal-to-noise ratio detection device, 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 square, circular or linear, it is right
Each noise region, each benchmark subregion after being split for it, selects corresponding medium filtering template to perform 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 to obtain medium filtering figure with each noise region subgraph
Picture;
Gaussian filtering equipment is set respectively with the detection of modified medium filtering equipment, mean square deviation detection device and signal-to-noise ratio
Standby connection, for being more than or equal to default mean square deviation threshold less than or equal to default snr threshold and target mean square error in target signal to noise ratio
During 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;
Human bioequivalence equipment is connected with gaussian filtering equipment, for receiving gaussian filtering image, to gaussian filtering image,
For identifying the human body pixel in gaussian filtering image based on human body upper limit gray threshold and human body lower limit gray threshold, based on height
All human body pixels composition human body subgraph in this filtering image, when area and the gaussian filtering image of human body subgraph
Area ratio be more than or equal to preset ratio threshold value when, send identification human body signal, otherwise, send other echo signals;
Wherein, in enhancing image, the region outside multiple noise regions is non-noise region;
Wherein, enhancing the distribution situation of pixel pixel value in image is included for each pixel in enhancing image
Region determine the pixel value range that the pixel pixel value should belong to;
Wherein, the embedded processing equipment is connected respectively with the human bioequivalence equipment and the wind-force detection device,
For when receiving the identification human body signal, packing up control signal to motor driving apparatus transmission, being simultaneously stopped base
In the output of the wind-force detection device control signal is sent to the motor driving apparatus;The embedded processing equipment is also used
In when receiving other described echo signals, recover the output based on the wind-force detection device to the motor driving apparatus
Send control signal.
More specifically, described based in the curtain state transition platform of wind-force detection:
Output of the embedded processing equipment based on the wind-force detection device sends to the motor driving apparatus and controls
Signal processed includes:When the wind speed for receiving the wind-force detection device output crosses fast signal, sent out to the motor driving apparatus
It send and packs up control signal.
More specifically, described based in the curtain state transition platform of wind-force detection:
Output of the embedded processing equipment based on the wind-force detection device sends to the motor driving apparatus and controls
Signal processed further includes:When receiving the wind speed normal signal of the wind-force detection device output, to the motor driving apparatus
It sends and opens control signal.
More specifically, described based in the curtain state transition platform of wind-force detection:
When the shape of benchmark subregion is square, the size of each benchmark subregion is 3 × 3,5 × 5 or 7 × 7, when
When the shape of benchmark subregion is circular, the radius of each benchmark subregion is 3 pixels, 5 pixels or 7 pixels, when benchmark
When the shape in region is linear, each benchmark subregion is an one-dimensional pixel set.
More specifically, described based in the curtain state transition platform of wind-force detection:
In the contrast enhancing equipment, the mean square deviation detection device, the signal-to-noise ratio detection device, the modified
Value filtering equipment, the gaussian filtering equipment and the human bioequivalence equipment are respectively adopted different on piece chip SOC and come in fact
It is existing.
Description of the drawings
Embodiment of the present invention is described below with reference to attached drawing, wherein:
Fig. 1 is the structure box of the curtain state transition platform based on wind-force detection according to embodiment of the present invention
Figure.
Reference numeral:1 wind-force detection device;2 image capture devices;3 motor driving apparatus;4 embedded processing equipment
Specific embodiment
The embodiment of the curtain state transition platform based on wind-force detection of the present invention is carried out below with reference to accompanying drawings
It is described in detail.
The effect of window is more than used for having a look at outside scene, largely, determines the matter that we live
Amount, but sometimes, many problems we never pay attention to obtaining.
Family is our institute inhabited, and is the relatively independent subenvironment that we build ourselves, keeps out the wind and take shelter from rain, sunshade
Sound insulation is protected and oneself invaded and harassed to any from extraneous factor.Say it is opposite independence, be because we can not possibly be complete
Depart from extraneous environment and live by oneself, it would be desirable to which there are one rational exchange and exchanges for indoor and outdoor energy.In this small ring
In border, people need suitable temperature, humidity, air and light, also to there is the acoustic environment for being suitble to oneself.
How in the case where skipping manually-operated pattern, voluntarily according to external environment, such as wind speed and passerby be by situation, from
The dynamic curtain control strategy for judging to meet people's demand is the blank part of current window relevant control model study.In order to gram
Above-mentioned deficiency is taken, the present invention has built a kind of curtain state transition platform based on wind-force detection, solved above-mentioned technical problem.
Fig. 1 is the structure box of the curtain state transition platform based on wind-force detection according to embodiment of the present invention
Figure, the platform includes wind-force detection device, image capture device, motor driving apparatus and embedded processing equipment, described
Embedded processing equipment is connected respectively with the wind-force detection device, described image collecting device and the motor driving apparatus,
The wind-force detection device blows over the real-time wind speed of curtain for detecting, and described image collecting device is used for the scene outside to curtain
The acquisition of high definition scene image is carried out to obtain high definition scene image, the motor driving apparatus is used to control by direct current generator
Switching between the opening state and collapsed state of curtain;
Wherein, output and described image collecting device of the embedded processing equipment based on the wind-force detection device
Output determines to be sent to the control signal of the motor driving apparatus.
Then, continue to carry out the concrete structure of the curtain state transition platform based on wind-force detection of the present invention further
Explanation.
The platform can also include:Contrast enhances equipment, inside Curtain rod, with described image collecting device
Connection for receiving high definition scene image, and performs contrast enhancement processing to obtain enhancing image to high definition scene image.
The platform can also include:Mean square deviation detection device enhances image for receiving, based on each of enhancing image
The pixel value of pixel determines the mean square deviation of enhancing image pixel value to be exported as target mean square error.
The platform can also include:
Signal-to-noise ratio detection device enhances image for receiving, and noise analysis is carried out to enhancing image, to obtain noise amplitude
The secondary noise signal of maximum main noise signal and noise amplitude time greatly, based on main noise signal, secondary noise signal and enhancing
Image determines that the signal-to-noise ratio of enhancing image to export as target signal to noise ratio, is additionally operable to judge with true enhancing image progress scene
Surely enhance the distribution situation of pixel pixel value in image, each pixel in enhancing image is clicked through based on the distribution situation
Row pixel value is analyzed to determine whether as noise spot, will be formed multiple noise regions by each noise spot in enhancing image, and be determined every
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, is connected respectively with mean square deviation detection device and signal-to-noise ratio detection device, 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 square, circular or linear, it is right
Each noise region, each benchmark subregion after being split for it, selects corresponding medium filtering template to perform 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 to obtain medium filtering figure with each noise region subgraph
Picture;
Gaussian filtering equipment is set respectively with the detection of modified medium filtering equipment, mean square deviation detection device and signal-to-noise ratio
Standby connection, for being more than or equal to default mean square deviation threshold less than or equal to default snr threshold and target mean square error in target signal to noise ratio
During 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;
Human bioequivalence equipment is connected with gaussian filtering equipment, for receiving gaussian filtering image, to gaussian filtering image,
For identifying the human body pixel in gaussian filtering image based on human body upper limit gray threshold and human body lower limit gray threshold, based on height
All human body pixels composition human body subgraph in this filtering image, when area and the gaussian filtering image of human body subgraph
Area ratio be more than or equal to preset ratio threshold value when, send identification human body signal, otherwise, send other echo signals;
Wherein, in enhancing image, the region outside multiple noise regions is non-noise region;
Wherein, enhancing the distribution situation of pixel pixel value in image is included for each pixel in enhancing image
Region determine the pixel value range that the pixel pixel value should belong to;
Wherein, the embedded processing equipment is connected respectively with the human bioequivalence equipment and the wind-force detection device,
For when receiving the identification human body signal, packing up control signal to motor driving apparatus transmission, being simultaneously stopped base
In the output of the wind-force detection device control signal is sent to the motor driving apparatus;The embedded processing equipment is also used
In when receiving other described echo signals, recover the output based on the wind-force detection device to the motor driving apparatus
Send control signal.
In the platform:Output of the embedded processing equipment based on the wind-force detection device is driven to the motor
Dynamic equipment, which sends control signal, to be included:When the wind speed for receiving the wind-force detection device output crosses fast signal, to the electricity
Control signal is packed up in the transmission of machine driving equipment.
In the platform:Output of the embedded processing equipment based on the wind-force detection device is driven to the motor
Dynamic equipment sends control signal and further includes:When receiving the wind speed normal signal of wind-force detection device output, to described
Motor driving apparatus, which is sent, opens control signal.
In the platform:When benchmark subregion shape for it is square when, the size of each benchmark subregion is 3 × 3,
5 × 5 or 7 × 7, when the shape of benchmark subregion is circular, the radius of each benchmark subregion is 3 pixels, 5 pixels or 7
Pixel, when the shape of benchmark subregion is linear, each benchmark subregion is an one-dimensional pixel set.
In the platform:The contrast enhancing equipment, the mean square deviation detection device, signal-to-noise ratio detection are set
Standby, described modified medium filtering equipment, the gaussian filtering equipment and the human bioequivalence equipment are respectively adopted different
On piece chip SOC is realized.
In addition, medium filtering has impulsive noise and good filters out effect, particularly while noise is filtered out, Neng Goubao
The edge of signal is protected, 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 the value any in digital picture or Serial No. in each point value in a neighborhood of the point
Value replaces, the actual value for making the pixel value of surrounding close, so as 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 generation monotone increasing (or decline) is 2-D data
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,5*5 regions or different shapes, such as
Wire, circular, cross, circular ring shape etc..
Curtain state transition platform using the present invention based on wind-force detection, for lacking in the prior art to curtain control
Molding formula carries out the technical issues of Depth Study, by being detected and analyzed to real-time wind speed and passing through to outdoor passerby
Situation is detected and analyzed, and on the basis of above-mentioned analysis, opens voluntarily or packs up curtain, meet people becalm to curtain with
And the demand of protection privacy, so as to avoid excessive concern of the people to curtain, good living environment is provided for people.
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 those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all 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, technical spirit pair according to the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the scope of technical solution of the present invention protection
It is interior.