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 of Building technology and the raising of human living standard, the construction of window is also increasingly sophisticated to meet higher
Thermal technology require.Advanced building can use 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 a kind of special window, i.e. whole building exterior wall all becomes 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 surroundings difference and exterior human body ambulatory, it is determined whether open curtain or close curtain, meanwhile, curtain
Opening and closing are stilled need manually to complete.
The content of the invention
To solve the above-mentioned problems, the present invention provides a kind of auto reeling method, in the real-time indoor illumination intensity
The intensity of illumination outdoor in real time controls the curtain motor when within the scope of preset strength outside preset strength scope
Control model is rotated forward with rolling up curtains in motor;The motor driving apparatus is in the indoor illumination intensity in real time default strong
The intensity of illumination outdoor in real time 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 inductive 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 based on the indoor light intensity
Control operation of the output of detection device with 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 include:
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 are 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, the outdoor light intensity detection device and the window
Curtain motor connects, 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, further include:
Indoor light intensity detection device, is arranged near curtain, real-time to export for detecting indoor irradiation luminous intensity
Indoor illumination intensity;
The motor driving apparatus respectively with the thermoinduction equipment, the indoor light intensity detection device, the outdoor optical
Strong detection device is connected with the curtain motor, 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 inductive signal, otherwise, sends non-human thermal sensation induction signal.
More specifically, in the curtain automatic rolls up system, further include:
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, successful match, then using 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, and when probability is more than or equal to predetermined probabilities threshold value, use is all previous
Object pixel in the newest pixel value renewal background image for being confirmed as background dot in the object pixel corresponding position in 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
Go out the background image after renewal;
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 new two field picture renewal of the described image pre-processing device based on high definition ambient video stream, 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 perform binary conversion treatment to the gray level image 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 is in indoor illumination intensity reality outside preset strength scope in real time
When room outside intensity of illumination when within the scope of preset strength, control the curtain motor be in motor rotate forward control model;It is described
In the indoor illumination intensity in real time, the intensity of illumination outdoor in real time 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 inductive 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 inductive 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 interior 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, its resistance value is smaller, and corresponding light-intensity test is set
The intensity of illumination of standby output is bigger, its resistance value 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, further include:
Buzzer, is connected with the motor driving apparatus, for receiving the Studies of Human Body Heat inductive 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, further include:
Solar-electricity source device, is made 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 attached drawing, wherein:
Fig. 1 automatic rolls up the block diagram of system for the curtain according to embodiment of the present invention.
Reference numeral:1 thermoinduction equipment;Light intensity detection device outside Room 2;3 curtain motors;4 motor driving apparatus
Embodiment
The embodiment for automatic rolling up system to curtain of the invention below with reference to accompanying drawings is described in detail.
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 mainly based on metal material, in people
The place that hand touches may also be wrapped up with heat-insulating materials such as plastics.
In the prior art, the operation to the curtain of window configuration is all to rely on manually to carry out, even if simple there are some
Curtain control scheme, its control effect is not satisfactory, can not 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
With the system.Fig. 1 automatic rolls up the block diagram of system, the system for the curtain according to embodiment of the present invention
Window is arranged on including thermoinduction equipment, outdoor light intensity detection device, curtain motor and motor driving apparatus, the thermoinduction equipment
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, the outdoor light intensity detection device are connected with the curtain motor, 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, the concrete structure for continuing to automatic roll up the curtain of the present invention system is further detailed.
In the curtain automatic rolls up system, further include:
Indoor light intensity detection device, is arranged near curtain, real-time to export for detecting indoor irradiation luminous intensity
Indoor illumination intensity;
The motor driving apparatus respectively with the thermoinduction equipment, the indoor light intensity detection device, the outdoor optical
Strong detection device is connected with the curtain motor, 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 inductive signal, otherwise, sends non-human thermal sensation induction signal.
In the curtain automatic rolls up system, further include:
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, successful match, then using 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, and when probability is more than or equal to predetermined probabilities threshold value, use is all previous
Object pixel in the newest pixel value renewal background image for being confirmed as background dot in the object pixel corresponding position in 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
Go out the background image after renewal;
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 new two field picture renewal of the described image pre-processing device based on high definition ambient video stream, 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 perform binary conversion treatment to the gray level image 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 is in indoor illumination intensity reality outside preset strength scope in real time
When room outside intensity of illumination when within the scope of preset strength, control the curtain motor be in motor rotate forward control model;It is described
In the indoor illumination intensity in real time, the intensity of illumination outdoor in real time 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 inductive 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 inductive 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 interior 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, its resistance value is smaller, and corresponding light-intensity test is set
The intensity of illumination of standby output is bigger, its resistance value is bigger, and the intensity of illumination of corresponding light-intensity test equipment output is smaller.
In the curtain automatic rolls up system, further include:
Buzzer, is connected with the motor driving apparatus, for receiving the Studies of Human Body Heat inductive 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, further include:
Solar-electricity source device, is made 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 usually driven by image-sensitive cell array, line driver, row
A few part compositions such as dynamic device, time sequence control logic, a/d 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.
Other digital signal processing circuits can also be integrated on cmos image sensor chip, such as a/d converter, automatically
Light exposure control, nonuniform compensation, white balance processing, black level control, Gamma correction etc., even can in order to quickly calculate
The DSP devices with programmable functions to be integrated with cmos device, so as to form at single-chip digital camera and image
Reason system.
Morrison in 1963, which has been delivered, can calculate sensor, this is that one kind can utilize photoconductive effect measure facula position
Structure, become cmos image sensor development beginning.The CMOS CMOS active pixel sensor single-chip digitals of nineteen ninety-five low noise
Camera succeeds.
Cmos image sensor has the advantages that following:1), random window reading capability.Window read operation is at random
Cmos image sensor is functionally better than the one side of CCD, 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 opens 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 multiple functional transistors are integrated with 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.
Curtain using the present invention automatic rolls up system, is opened for curtain in the prior art or rolls 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 the relevant operation of curtain is automatically performed by motor, so that full
Foot various demands of the indoor people to illumination and secret protection.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is 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 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 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.