Auto reeling method
Technical field
The present invention relates to curtain control field, more particularly to a kind of auto reeling method.
Background technology
With the development and the raising of human living standard of Building technology, the construction of window is also increasingly sophisticated higher to meet
Thermal technology require.Senior building can be using double-deck even three layers of vacuum Low-E glass, two pass rubber weather strip, to ensure it
Optimal thermal and insulating performance.Horizontal skylight can make rimless unit, also referred to as dome skylight.Glass curtain wall can be recognized
To be that a kind of special window, i.e. whole building exterior wall all become the window of light-permeable.
Current window is typically equipped with curtain, for shading and the effect of protection privacy.However, people need voluntarily
According to indoor and outdoor surroundingses difference and outside human body ambulatory, it is determined whether open curtain or close curtain, meanwhile, curtain
Opening and closing still need manually to complete.
The content of the invention
In order to solve the above problems, the invention provides a kind of auto reeling method, in the real-time indoor illumination intensity
Outside preset strength scope and the real-time outdoor intensity of illumination controls the curtain motor when within the scope of preset strength
Control model is rotated forward with rolling up curtains in motor;The motor driving apparatus is in the real-time indoor illumination intensity default strong
The real-time outdoor intensity of illumination controls the curtain motor to be in motor when outside preset strength scope within the scope of degree
Control model is inverted to discharge curtain, more it is essential that receiving the Studies of Human Body Heat induced signal and receiving the human body
During image sensing signal, the curtain motor is controlled to be in motor reversal control model and to stop being based on the indoor light intensity
The output of detection device and control operation of the output of the outdoor light intensity detection device to the curtain motor.
According to an aspect of the present invention there is provided a kind of auto reeling method, this method includes:
1) a kind of curtain is provided and automatic rolls up system, including thermoinduction equipment, outdoor light intensity detection device, curtain motor and
Motor driving apparatus, the thermoinduction equipment is arranged on the corresponding exterior wall of curtain, described for exporting real-time thermoinduction temperature
Outdoor light intensity detection device is arranged on the corresponding exterior wall of curtain, for detecting the irradiation luminous intensity of outside to export real-time room
Outer intensity of illumination, the motor driving apparatus respectively with the thermoinduction equipment, outdoor the light intensity detection device and the window
Curtain motor connection, for the output based on the thermoinduction equipment and the outdoor light intensity detection device, it is determined whether to described
Curtain motor, which is sent, rolls control signal with rolling up curtains;
2) system is used.
More specifically, in the curtain automatic rolls up system, in addition to:
Indoor light intensity detection device, is arranged near curtain, real-time to export for detecting the irradiation luminous intensity of interior
Indoor illumination intensity;
The motor driving apparatus respectively with the thermoinduction equipment, the indoor light intensity detection device, the outdoor optical
Strong detection device and curtain motor connection, for based on the thermoinduction equipment, the indoor light intensity detection device and institute
State the output of outdoor light intensity detection device, it is determined whether sent to the curtain motor and roll control signal with rolling up curtains.
More specifically, in the curtain automatic rolls up system:
The curtain motor is used to control rolling or opening for curtain;
Wherein, when the curtain motor, which is in motor, rotates forward control model, the curtain motor rolling up curtains, when described
When curtain motor is in motor reversal control model, the curtain motor discharges curtain.
More specifically, in the curtain automatic rolls up system:
The thermoinduction equipment sends people when the real-time thermoinduction temperature is in the range of default Studies of Human Body Heat temperature sensor
Body heat induced signal, otherwise, sends non-human thermal sensation induction signal.
More specifically, in the curtain automatic rolls up system, in addition to:
High-definition camera, is arranged on the corresponding exterior wall of curtain, high for being carried out to environment near the corresponding exterior wall of curtain
Clear video acquisition is to obtain high definition ambient video stream;
Image-preprocessing device, is connected with the high-definition camera, for often receiving the new of high definition ambient video stream
One two field picture, each pixel in a new two field picture is handled as follows as object pixel:By the picture of object pixel
Plain value is matched with the pixel value of correspondence position pixel in background image, and the match is successful, then regard the object pixel as background
Point, it fails to match, then using the object pixel as non-background dot, counts in all previous image of high definition ambient video stream, the target picture
The pixel of plain correspondence position is confirmed as the probability of background dot, when probability is more than or equal to predetermined probabilities threshold value, using all previous
The newest pixel value of background dot that is confirmed as in the object pixel of this in image corresponding position updates the object pixel in background image
The pixel value of corresponding position;
Described image pre-processing device is defeated after last pixel in a new two field picture has performed above-mentioned processing
The background image gone out after updating;
Image segmentation apparatus, is connected with described image pre-processing device, for by a new frame for high definition ambient video stream
Image subtracts the background image after a new two field picture of the described image pre-processing device based on high definition ambient video stream updates, with
Obtain foreground image output;
Image reprocesses equipment, is connected with described image splitting equipment, for receiving the foreground image, to the prospect
Image performs gray processing processing to obtain gray level image, is additionally operable to that the gray level image is performed binary conversion treatment to obtain
Binary image;
Dilation erosion processing equipment, is connected with described image reprocessing equipment, for receiving the binary image, to institute
The processing that binary image performs Image erosion after first image expansion is stated, to obtain corrosion image;
Human body detecting device, is connected with the dilation erosion processing equipment, for receiving the corrosion image, based on default
Human body contour outline feature carries out human bioequivalence to the target in the corrosion image, to determine the human body mesh in the corrosion image
Mark, and in the human body target in determining the corrosion image, send human body image detection signal, otherwise, send non-human
Image sensing signal;
Wherein, the motor driving apparatus in the real-time indoor illumination intensity reality outside preset strength scope
When room outside intensity of illumination when within the scope of preset strength, control the curtain motor to be in motor and rotate forward control model;It is described
In the real-time indoor illumination intensity, the real-time outdoor intensity of illumination within the scope of preset strength exists motor driving apparatus
When outside preset strength scope, the curtain motor is controlled to be in motor reversal control model;
Wherein, the motor driving apparatus is also connected with the human body detecting device and the thermoinduction equipment respectively, is used
When receiving the Studies of Human Body Heat induced signal and receiving the human body image detection signal, control at the curtain motor
In motor reversal control model, and stop the output based on the indoor light intensity detection device and the outdoor light intensity detection device
Output to the control operation of the curtain motor, be additionally operable to receiving the non-human image sensing signal or described inhuman
During body heat induced signal, recover the output based on the indoor light intensity detection device and the output of the outdoor light intensity detection device
To the control operation of the curtain motor.
More specifically, in the curtain automatic rolls up system:
The indoor light intensity detection device and the outdoor light intensity detection device all include visible light photoresitor;
Wherein, the visible light photoresitor is negative resistance property device, and its resistance is smaller, and corresponding light-intensity test is set
The intensity of illumination of standby output is bigger, and its resistance is bigger, and the intensity of illumination of corresponding light-intensity test equipment output is smaller.
More specifically, in the curtain automatic rolls up system, in addition to:
Buzzer, is connected with the motor driving apparatus, for receiving the Studies of Human Body Heat induced signal and receiving
During the human body image detection signal, the buzzing alarm of fixed frequency is sent.
More specifically, in the curtain automatic rolls up system, in addition to:
Solar-electricity source device, is made up of photovoltaic panel, transformer, rectifier and voltage-stablizer, and the transformer is used for will
The voltage transformation of the photovoltaic panel output is the various conversion voltages that the system needs.
Brief description of the drawings
Embodiment of the present invention is described below with reference to accompanying drawing, wherein:
Fig. 1 automatic rolls up the block diagram of system for the curtain according to embodiment of the present invention.
Reference:1 thermoinduction equipment;Light intensity detection device outside Room 2;3 curtain motors;4 motor driving apparatus
Embodiment
The embodiment that curtain of the invention automatic rolls up system is described in detail below with reference to accompanying drawings.
Building, i.e. building, mansion, for literal meaning, building refer to tall and big building construction.Each building are all integrated
Multiple windows carry out building structure constructions.Window refers to the hole built on wall or roof on architecture, to make light
Or air is got in.Can bidirectional opening modern window by window frame, middle transparent part and movable part (hinge, handle,
Pulley etc.) three parts composition.Window frame is responsible for supporting the main structure of forms, can be timber, metal, ceramics or plastic material, thoroughly
Bright part is attached on window frame, can be paper, cloth, silk or glass material.Movable part is main based on metal material, in people
The place that hand is touched may also be wrapped up with heat-insulating materials such as plastics.
In the prior art, the operation of the curtain configured to window is all to rely on artificial progress, even if simple in the presence of some
Curtain control scheme, its control effect is not satisfactory, it is impossible to meet the instant demand of people.In order to overcome above-mentioned deficiency, this hair
It is bright to have built a kind of auto reeling method, for solving above-mentioned technical problem.
The present invention provides a kind of auto reeling method, and this method includes:1) provide a kind of curtain and automatic roll up system;2) make
Use the system.Fig. 1 automatic rolls up the block diagram of system, the system for the curtain according to embodiment of the present invention
Including thermoinduction equipment, outdoor light intensity detection device, curtain motor and motor driving apparatus, the thermoinduction equipment is arranged on window
On the corresponding exterior wall of curtain, for exporting real-time thermoinduction temperature, it is corresponding that the outdoor light intensity detection device is arranged on curtain
On exterior wall, for detecting the irradiation luminous intensity of outside to export outdoor intensity of illumination in real time, the motor driving apparatus respectively with
The thermoinduction equipment, outdoor light intensity detection device and the curtain motor connection, for based on the thermoinduction equipment
With the output of the outdoor light intensity detection device, it is determined whether sent to the curtain motor and roll control signal to roll window
Curtain.
Then, continue that the concrete structure that the curtain of the present invention automatic rolls up system is further detailed.
In the curtain automatic rolls up system, in addition to:
Indoor light intensity detection device, is arranged near curtain, real-time to export for detecting the irradiation luminous intensity of interior
Indoor illumination intensity;
The motor driving apparatus respectively with the thermoinduction equipment, the indoor light intensity detection device, the outdoor optical
Strong detection device and curtain motor connection, for based on the thermoinduction equipment, the indoor light intensity detection device and institute
State the output of outdoor light intensity detection device, it is determined whether sent to the curtain motor and roll control signal with rolling up curtains.
In the curtain automatic rolls up system:
The curtain motor is used to control rolling or opening for curtain;
Wherein, when the curtain motor, which is in motor, rotates forward control model, the curtain motor rolling up curtains, when described
When curtain motor is in motor reversal control model, the curtain motor discharges curtain.
In the curtain automatic rolls up system:
The thermoinduction equipment sends people when the real-time thermoinduction temperature is in the range of default Studies of Human Body Heat temperature sensor
Body heat induced signal, otherwise, sends non-human thermal sensation induction signal.
In the curtain automatic rolls up system, in addition to:
High-definition camera, is arranged on the corresponding exterior wall of curtain, high for being carried out to environment near the corresponding exterior wall of curtain
Clear video acquisition is to obtain high definition ambient video stream;
Image-preprocessing device, is connected with the high-definition camera, for often receiving the new of high definition ambient video stream
One two field picture, each pixel in a new two field picture is handled as follows as object pixel:By the picture of object pixel
Plain value is matched with the pixel value of correspondence position pixel in background image, and the match is successful, then regard the object pixel as background
Point, it fails to match, then using the object pixel as non-background dot, counts in all previous image of high definition ambient video stream, the target picture
The pixel of plain correspondence position is confirmed as the probability of background dot, when probability is more than or equal to predetermined probabilities threshold value, using all previous
The newest pixel value of background dot that is confirmed as in the object pixel of this in image corresponding position updates the object pixel in background image
The pixel value of corresponding position;
Described image pre-processing device is defeated after last pixel in a new two field picture has performed above-mentioned processing
The background image gone out after updating;
Image segmentation apparatus, is connected with described image pre-processing device, for by a new frame for high definition ambient video stream
Image subtracts the background image after a new two field picture of the described image pre-processing device based on high definition ambient video stream updates, with
Obtain foreground image output;
Image reprocesses equipment, is connected with described image splitting equipment, for receiving the foreground image, to the prospect
Image performs gray processing processing to obtain gray level image, is additionally operable to that the gray level image is performed binary conversion treatment to obtain
Binary image;
Dilation erosion processing equipment, is connected with described image reprocessing equipment, for receiving the binary image, to institute
The processing that binary image performs Image erosion after first image expansion is stated, to obtain corrosion image;
Human body detecting device, is connected with the dilation erosion processing equipment, for receiving the corrosion image, based on default
Human body contour outline feature carries out human bioequivalence to the target in the corrosion image, to determine the human body mesh in the corrosion image
Mark, and in the human body target in determining the corrosion image, send human body image detection signal, otherwise, send non-human
Image sensing signal;
Wherein, the motor driving apparatus in the real-time indoor illumination intensity reality outside preset strength scope
When room outside intensity of illumination when within the scope of preset strength, control the curtain motor to be in motor and rotate forward control model;It is described
In the real-time indoor illumination intensity, the real-time outdoor intensity of illumination within the scope of preset strength exists motor driving apparatus
When outside preset strength scope, the curtain motor is controlled to be in motor reversal control model;
Wherein, the motor driving apparatus is also connected with the human body detecting device and the thermoinduction equipment respectively, is used
When receiving the Studies of Human Body Heat induced signal and receiving the human body image detection signal, control at the curtain motor
In motor reversal control model, and stop the output based on the indoor light intensity detection device and the outdoor light intensity detection device
Output to the control operation of the curtain motor, be additionally operable to receiving the non-human image sensing signal or described inhuman
During body heat induced signal, recover the output based on the indoor light intensity detection device and the output of the outdoor light intensity detection device
To the control operation of the curtain motor.
In the curtain automatic rolls up system:
The indoor light intensity detection device and the outdoor light intensity detection device all include visible light photoresitor;
Wherein, the visible light photoresitor is negative resistance property device, and its resistance is smaller, and corresponding light-intensity test is set
The intensity of illumination of standby output is bigger, and its resistance is bigger, and the intensity of illumination of corresponding light-intensity test equipment output is smaller.
In the curtain automatic rolls up system, in addition to:
Buzzer, is connected with the motor driving apparatus, for receiving the Studies of Human Body Heat induced signal and receiving
During the human body image detection signal, the buzzing alarm of fixed frequency is sent.
In the curtain automatic rolls up system, in addition to:
Solar-electricity source device, is made up of photovoltaic panel, transformer, rectifier and voltage-stablizer, and the transformer is used for will
The voltage transformation of the photovoltaic panel output is the various conversion voltages that the system needs.
In addition, the high-definition camera includes cmos sensor.Cmos image sensor is a kind of typical solid state image
Sensor, has common historical origin with CCD.Cmos image sensor is generally driven by image-sensitive cell array, line driver, row
A few part compositions such as dynamic device, time sequence control logic, AD converter, data/address bus output interface, control interface, this several part are usual
All it is integrated on same silicon chip.Its course of work generally can be divided into reset, opto-electronic conversion, integration, several parts of reading.
Can be such as AD converter, automatic with other integrated digital signal processing circuits on cmos image sensor chip
Light exposure control, nonuniform compensation, white balance processing, black level control, Gamma correction etc., even can in order to carry out quick calculate
So that the DSP devices with programmable functions to be integrated with cmos device, so as to constitute at single-chip digital camera and image
Reason system.
Morrison in 1963, which has been delivered, can calculate sensor, and this is that one kind can determine facula position using photoconductive effect
Structure, as cmos image sensor develop beginning.The CMOS CMOS active pixel sensor single-chip digitals of nineteen ninety-five low noise
Camera succeeds.
Cmos image sensor has following advantage:1), random window reading capability.Window read operation is at random
Cmos image sensor is functionally better than CCD one side, and also referred to as area-of-interest is chosen.In addition, cmos image
The highly integrated characteristic of sensor is easily achieved it while opening the function of multiple tracking windows.2), capability of resistance to radiation.Total comes
Say, the potential radiation resistance of cmos image sensor has important enhancing relative to CCD performances.3), system complexity and can
By property.System hardware structure can be greatly simplified using cmos image sensor.4), non-destructive data read-out mode.5)、
The spectrum assignment of optimization.Significantly, since the reason for being integrated with multiple functional transistors in pixel structure, CMOS figures
As sensor, there is also some shortcomings, mainly noise and filling rate two indices.In view of cmos image sensor is relatively excellent
Performance more so that cmos image sensor is widely used in every field.
System is automatic rolled up using the curtain of the present invention, is opened for curtain in the prior art or is rolled and still need manually to sentence
Disconnected technical problem, by being detected to window external environment condition, such as illumination brightness and sensing chamber layman inside and outside sensing chamber
People passes by situation, judges whether curtain needs to open or roll, and is automatically performed the associative operation of curtain by motor, so that full
Foot various demands of the indoor people to illumination and secret protection.
Although it is understood that the present invention is disclosed as above with preferred embodiment, but above-described embodiment and being not used 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 variations and modification 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 change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present 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.