CN106050049B - A kind of method of the night bedroom window aperture of Intelligent Measurement - Google Patents

A kind of method of the night bedroom window aperture of Intelligent Measurement Download PDF

Info

Publication number
CN106050049B
CN106050049B CN201610412139.6A CN201610412139A CN106050049B CN 106050049 B CN106050049 B CN 106050049B CN 201610412139 A CN201610412139 A CN 201610412139A CN 106050049 B CN106050049 B CN 106050049B
Authority
CN
China
Prior art keywords
equipment
sub
image
sweat
infrared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610412139.6A
Other languages
Chinese (zh)
Other versions
CN106050049A (en
Inventor
封平辉
朱建庆
曾树业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Huangpai Custom Home Group Co., Ltd
Original Assignee
Guangdong Royal Home Furnishing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Royal Home Furnishing Technology Co Ltd filed Critical Guangdong Royal Home Furnishing Technology Co Ltd
Priority to CN201610412139.6A priority Critical patent/CN106050049B/en
Publication of CN106050049A publication Critical patent/CN106050049A/en
Application granted granted Critical
Publication of CN106050049B publication Critical patent/CN106050049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/70Power-operated mechanisms for wings with automatic actuation
    • E05F15/72Power-operated mechanisms for wings with automatic actuation responsive to emergency conditions, e.g. fire
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/70Power-operated mechanisms for wings with automatic actuation
    • E05F15/71Power-operated mechanisms for wings with automatic actuation responsive to temperature changes, rain, wind or noise
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/70Power-operated mechanisms for wings with automatic actuation
    • E05F15/73Power-operated mechanisms for wings with automatic actuation responsive to movement or presence of persons or objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a kind of method of the night bedroom window aperture of Intelligent Measurement, this method includes:1) a kind of night bedroom window aperture operating platform based on infrared detection is provided, the operating platform includes infrared imaging device, infrared indoor image processing equipment, window aperture control device and AT89C51 single-chip microcomputers, the infrared imaging device is used to bedroom indoor shot obtain infrared indoor image, the infrared indoor image processing equipment is connected with the infrared imaging device, for carrying out image procossing to the infrared indoor image, the AT89C51 single-chip microcomputers are connected with the infrared indoor image processing equipment, for open mode of the processing result image control window aperture control device based on the infrared indoor image processing equipment to bedroom window;2) detected using the operating platform.By means of the invention it is possible to which the open mode of bedroom window is automatically controlled according to bedroom perspiring situation and outdoor wind speed at night.

Description

A kind of method of the night bedroom window aperture of Intelligent Measurement
The present invention be Application No. 201510536514.3, the applying date be August in 2015 28 days, it is entitled " a kind of The divisional application of the patent of the method for the night bedroom window aperture of Intelligent Measurement ".
Technical field
The present invention relates to the method in environment measuring field, more particularly to a kind of night bedroom window aperture of Intelligent Measurement.
Background technology
In the prior art, at night, when bedroom people, which enter, to sleep, bedroom window is in runaway condition, so-called mistake Control refer to bedroom window can only keep before open or close state, and in open mode, bedroom window can only be with Wind rocks or is fixed on a certain position, it is impossible to the control of bedroom window is flexibly carried out according to indoor occupant situation and outdoor wind speed System, easily brings uncomfortable sensation to bedroom personnel.
Therefore, the method that the present invention proposes a kind of night bedroom window aperture of Intelligent Measurement, can be real-time at night Sweat situation and the outside wind speed of detection and the indoor poison gas concentration content of detection bedroom personnel, with set up suitable personnel's body-sensing and The venting mechanism of indoor healthy environment, it is ensured that the physical and mental health of indoor occupant.
The content of the invention
In order to solve the technical problem of prior art presence, the invention provides a kind of night bedroom window of Intelligent Measurement The method of aperture, is detected using toxic gas detection equipment and wind speed measurement equipment to indoor and outdoor ventilation parameter, using tool There is the image recognition apparatus of adapting to image Threshold segmentation mechanism and multiple effective image preconditioning technique to indoor occupant sweat Detected, so as to automatically control the opening and closing of night bedroom window and automatically control the open degree of bedroom window.
There is provided a kind of method of the night bedroom window aperture of Intelligent Measurement, this method according to an aspect of the present invention Including:1) a kind of night bedroom window aperture operating platform based on infrared detection is provided, the operating platform include it is infrared into As equipment, infrared indoor image processing equipment, window aperture control device and AT89C51 single-chip microcomputers, the infrared imaging device For obtaining infrared indoor image to bedroom indoor shot, the infrared indoor image processing equipment is set with the infrared imaging Standby connection, for carrying out image procossing, the AT89C51 single-chip microcomputers and the infrared indoor image to the infrared indoor image Processing equipment is connected, and the window aperture control is controlled for the processing result image based on the infrared indoor image processing equipment Open mode of the control equipment to bedroom window;2) detected using the operating platform.
More specifically, in the night bedroom window aperture operating platform based on infrared detection, in addition to:There is poison gas Physical examination measurement equipment, is connected with the AT89C51 single-chip microcomputers, whether there is toxic gas in bedroom for detecting, and detecting When there is toxic gas, toxic gas content is sent to the AT89C51 single-chip microcomputers;Wind speed measurement equipment, is arranged on bedroom On outside exterior wall, for detecting and exporting the real-time wind speed outside bedroom;Power supply unit, is arranged on the exterior wall outside bedroom On, including solar powered device, commercial power interface, switching switch and electric pressure converter, switching switch and the solar energy Power supply device and the commercial power interface are connected respectively, according to the line voltage size at commercial power interface decides whether to be switched to Solar powered device by the solar powered device to be powered, and the electric pressure converter is connected with the switching switch, with It is 3.3V voltages by the 5V voltage conversions that input is switched by switching;Mobile hard disk, for prestoring human body gray threshold model Enclose with presetted pixel amount threshold, be additionally operable to prestore benchmark sweat image, the benchmark sweat image is to benchmark sweat What is shot and obtained only includes the image of sweat pixel;The infrared indoor image processing equipment is arranged on inside bedroom On interior wall, it is connected with the infrared imaging device, for receiving infrared indoor image;The infrared indoor image processing equipment bag Contrast enhancer equipment, the sub- equipment of Wiener filtering, the sub- equipment of medium filtering, the sub- equipment of mean filter, image expansion is included to set The sub- equipment of standby, Image erosion, the sub- equipment of gray processing processing, threshold value select sub- equipment, the sub- equipment of human body segmentation and sweat to extract son Equipment;The contrast enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, the mean filter Sub- equipment, described image expand sub- equipment, described image and corrode sub- equipment, the sub- equipment of gray processing processing to the infrared room Interior image performs contrast enhancing, Wiener filtering, medium filtering, mean filter, image expansion, Image erosion and gray processing successively Processing, to obtain gray level image;The threshold value selects sub- equipment to handle sub- equipment with the mobile hard disk and the gray processing Connect respectively, for selecting a value from the human body gray threshold scope successively as pre-selection gray threshold, using pre-selection Gray level image is divided into pre-selection background area and pre-selected target region by gray threshold, is calculated pre-selection background area and is occupied gray scale Change the area ratio of image as the first area ratio, calculate the pixel average gray value of pre-selection background area as the first average ash Angle value, calculates pre-selected target region and occupies the area ratio of gray level image as second area ratio, calculating pre-selected target region Pixel average gray value as the second average gray value, the first average gray value is subtracted into the second average gray value, acquisition Difference square is multiplied by the first area ratio and second area ratio, and the product of acquisition is as threshold value product, and selection threshold value product is maximum Pre-selection gray threshold is used as target gray threshold value;The sub- equipment of human body segmentation selects sub- equipment to be connected with the threshold value, is used for Gray level image is divided into by background image and human body image using target gray threshold value;The sweat extract sub- equipment with it is described The sub- equipment of human body segmentation and the mobile hard disk are connected respectively, from human body image extract with benchmark sweat images match each Sweat subgraph, the pixel summation added up in each sweat subgraph, when obtained pixel summation is more than presetted pixel quantity threshold During value, judge that human body has sweat and output has sweat signal, when obtained pixel summation is less than or equal to presetted pixel quantity During threshold value, judge that human body is not present sweat and exported and sweat signal is not present;The AT89C51 single-chip microcomputers and the infrared imaging Equipment, the wind speed measurement equipment, the mobile hard disk, the infrared indoor image processing equipment and window aperture control Equipment is connected respectively, is being received in the absence of sweat signal, is being controlled the window aperture control device to close bedroom window, Receive and there is sweat signal, open bedroom window, and determine that the window aperture control is set according to the real-time wind speed received Standby unlatching strategy;Wherein, the unlatching strategy that the AT89C51 single-chip microcomputers are determined is specifically included:The AT89C51 single-chip microcomputers base The window aperture control device is controlled in the wind speed aperture table of comparisons so that the window aperture control device controls bedroom window Aperture be inversely proportional with real-time wind speed;Wherein, the wind speed aperture table of comparisons be pre-stored in the mobile hard disk it is advance in, The wind speed aperture table of comparisons gives the mapping relations of each wind speed range and window aperture, the AT89C51 single-chip microcomputers The aperture for causing the window aperture control device control window according to the wind speed aperture table of comparisons is inversely proportional with real-time wind speed; The contrast enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, mean filter are set Standby, described image expands sub- equipment, described image and corrodes sub- equipment, the sub- equipment of gray processing processing, threshold value selection Equipment, the sub- equipment of the human body segmentation and the sweat extract sub- equipment and the fpga chip of different model are respectively adopted to realize.
More specifically, in the night bedroom window aperture operating platform based on infrared detection:Alternatively, it is described right Than degree enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, the sub- equipment of the mean filter, described The sub- equipment of image expansion, described image corrode sub- equipment, the sub- equipment of gray processing processing, the threshold value and select sub- equipment, institute State the sub- equipment of human body segmentation and the sweat extracts sub- equipment and is integrated in one piece of fpga chip.
More specifically, in the night bedroom window aperture operating platform based on infrared detection, the operating platform Also include:User input equipment, under the operation of user, inputting the human body gray threshold scope and the presetted pixel Amount threshold.
More specifically, in the night bedroom window aperture operating platform based on infrared detection:User's input Equipment is keyboard.
More specifically, in the night bedroom window aperture operating platform based on infrared detection, the operating platform Also include:Sound and light alarm equipment, is connected with the AT89C51 single-chip microcomputers, for the control connected in the AT89C51 single-chip microcomputers Lower carry out sound and light alarm.
More specifically, in the night bedroom window aperture operating platform based on infrared detection:The AT89C51 is mono- Piece machine sends acousto-optic report when the toxic gas content received is more than or equal to default content threshold value to the sound and light alarm equipment Alert signal.
More specifically, in the night bedroom window aperture operating platform based on infrared detection:The default content Threshold value is pre-stored in the mobile hard disk.
Brief description of the drawings
Embodiment of the present invention is described below with reference to accompanying drawing, wherein:
Fig. 1 is the night bedroom window aperture operating platform based on infrared detection according to embodiment of the present invention Block diagram.
Reference:1 infrared imaging device;2 infrared indoor image processing equipments;3 window aperture control devices; 4AT89C51 single-chip microcomputers
Embodiment
Below with reference to accompanying drawings to the implementation of the night bedroom window aperture operating platform based on infrared detection of the invention Scheme is described in detail.
In the prior art, according to indoor poison gas situation, outdoor wind speed and interior when and being slept soundly in the absence of night bedroom personnel Personnel's degree of sweating carries out the intelligent scheme for opening control to bedroom window, so easilys lead to indoor occupant and sweat catch a cold Or heatstroke, and cause that the opening degree of window can not be automatically controlled according to outdoor wind speed.
In order to overcome above-mentioned deficiency, it is flat that the present invention has built a kind of night bedroom window aperture operation based on infrared detection Platform, carries out data acquisition to night bedroom personnel image using infrared image acquisition technology, passes through targetedly various images Processing equipment recognizes bedroom personnel's perspiration situation, and flexibly controls according to perspiration situation and indoor and outdoor ventilation condition the unlatching of window State.
Fig. 1 is the night bedroom window aperture operating platform based on infrared detection according to embodiment of the present invention Block diagram, the operating platform includes infrared imaging device, infrared indoor image processing equipment, window aperture control device With AT89C51 single-chip microcomputers, the infrared imaging device is used for bedroom indoor shot to obtain infrared indoor image, described infrared Off-the-air picture processing equipment is connected with the infrared imaging device, for carrying out image procossing, institute to the infrared indoor image State AT89C51 single-chip microcomputers to be connected with the infrared indoor image processing equipment, for setting based on the infrared indoor image procossing Open mode of the standby processing result image control window aperture control device to bedroom window.
Then, continue to enter the concrete structure of the night bedroom window aperture operating platform based on infrared detection of the present invention Row further instruction.
The operating platform also includes:Toxic gas detection equipment, is connected with the AT89C51 single-chip microcomputers, for detecting It whether there is toxic gas in bedroom, and when detecting the presence of toxic gas, toxic gas content be sent to described AT89C51 single-chip microcomputers.
The operating platform also includes:Wind speed measurement equipment, is arranged on the exterior wall outside bedroom, for detecting and exporting Real-time wind speed outside bedroom.
The operating platform also includes:Power supply unit, is arranged on the exterior wall outside bedroom, including solar energy electric supplier Part, commercial power interface, switching switch and electric pressure converter, the switching switch connect with the solar powered device and the civil power Mouth is connected respectively, decides whether to be switched to the solar powered device according to the line voltage size at commercial power interface with by institute State solar powered device to power, the electric pressure converter is connected with the switching switch, input will be switched by switching 5V voltage conversions are 3.3V voltages.
The operating platform also includes:Mobile hard disk, for prestoring human body gray threshold scope and presetted pixel number Threshold value is measured, is additionally operable to prestore benchmark sweat image, the benchmark sweat image is obtained to shoot benchmark sweat The image for only including sweat pixel.
The infrared indoor image processing equipment is arranged on the interior wall inside bedroom, is connected with the infrared imaging device Connect, for receiving infrared indoor image;The infrared indoor image processing equipment includes contrast enhancer equipment, Wiener filtering The sub- equipment of sub- equipment, medium filtering, the sub- equipment of mean filter, the sub- equipment of image expansion, the sub- equipment of Image erosion, gray processing processing Sub- equipment, threshold value select sub- equipment, the sub- equipment of human body segmentation and sweat to extract sub- equipment.
The contrast enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, average filter Marble equipment, described image expand sub- equipment, described image and corrode sub- equipment, the sub- equipment of gray processing processing to described infrared Off-the-air picture performs contrast enhancing, Wiener filtering, medium filtering, mean filter, image expansion, Image erosion and gray scale successively Change is handled, to obtain gray level image.
The threshold value selects sub- equipment to be connected respectively with the mobile hard disk and the sub- equipment of gray processing processing, for according to It is secondary that a value is selected from the human body gray threshold scope as pre-selection gray threshold, using pre-selection gray threshold by gray processing Image is divided into pre-selection background area and pre-selected target region, calculates the area ratio that pre-selection background area occupies gray level image As the first area ratio, the pixel average gray value of pre-selection background area is calculated as the first average gray value, pre-selection mesh is calculated Mark region occupies the area ratio of gray level image as second area ratio, calculates the pixel average gray value in pre-selected target region As the second average gray value, the first average gray value is subtracted into the second average gray value, poor square of acquisition is multiplied by first Area ratio and second area ratio, the product of acquisition are used as threshold value product, the maximum pre-selection gray threshold conduct of selection threshold value product Target gray threshold value.
The sub- equipment of human body segmentation selects sub- equipment to be connected with the threshold value, for using target gray threshold value by gray scale Change image and be divided into background image and human body image.
The sweat extracts sub- equipment and is connected respectively with the sub- equipment of the human body segmentation and the mobile hard disk, from human figure The pixel summation in each sweat subgraph with benchmark sweat images match, each accumulative sweat subgraph is extracted as in, when When obtained pixel summation is more than presetted pixel amount threshold, judge that human body has sweat and output has sweat signal, when When the pixel summation arrived is less than or equal to presetted pixel amount threshold, judges that human body is not present sweat and exported and sweat letter is not present Number.
The AT89C51 single-chip microcomputers and the infrared imaging device, the wind speed measurement equipment, the mobile hard disk, institute State infrared indoor image processing equipment and the window aperture control device connected respectively, receiving in the absence of sweat signal, Control the window aperture control device to close bedroom window, there is sweat signal receiving, open bedroom window, and root The unlatching strategy of the window aperture control device is determined according to the real-time wind speed received.
Wherein, the unlatching strategy that the AT89C51 single-chip microcomputers are determined is specifically included:The AT89C51 single-chip microcomputers are based on wind The fast aperture table of comparisons controls the window aperture control device so that the window aperture control device controls opening for bedroom window Degree is inversely proportional with real-time wind speed.The wind speed aperture table of comparisons be pre-stored in the mobile hard disk it is advance in, the wind speed The aperture table of comparisons gives the mapping relations of each wind speed range and window aperture, and the AT89C51 single-chip microcomputers are according to described The wind speed aperture table of comparisons causes the aperture of the window aperture control device control window to be inversely proportional with real-time wind speed.
The contrast enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, average filter Marble equipment, described image expand sub- equipment, described image and corrode sub- equipment, the sub- equipment of gray processing processing, the threshold value The fpga chip for selecting sub- equipment, the sub- equipment of the human body segmentation and the sub- equipment of sweat extraction that different model is respectively adopted comes Realize.
Alternatively, in the operating platform:Alternatively, the contrast enhancer equipment, Wiener filtering are set Standby, the described sub- equipment of medium filtering, the sub- equipment of the mean filter, described image expand sub- equipment, described image corrosion and set Standby, described gray processing handles sub- equipment, the threshold value and selects sub- equipment, the sub- equipment of the human body segmentation and the sweat to extract son Equipment is integrated in one piece of fpga chip;In the night bedroom window aperture operating platform based on infrared detection, institute Stating operating platform also includes:User input equipment, under the operation of user, inputting the human body gray threshold scope and institute State presetted pixel amount threshold;The user input equipment is keyboard;The operating platform also includes:Sound and light alarm equipment, with The AT89C51 single-chip microcomputers connection, for carrying out sound and light alarm under the control that the AT89C51 single-chip microcomputers are connected;It is described AT89C51 single-chip microcomputers are when the toxic gas content received is more than or equal to default content threshold value, to the sound and light alarm equipment Send sound and light alarm signal;The default content threshold value is pre-stored in the mobile hard disk.
In addition, FPGA (Field-Programmable Gate Array), i.e. field programmable gate array, he be The product further developed on the basis of the programming devices such as PAL, GAL, CPLD.He is led as application specific integrated circuit (ASIC) A kind of semi-custom circuit in domain and occur, both solved the deficiency of custom circuit, original programming device door overcome again The limited shortcoming of circuit number.
The circuit design completed with hardware description language (Verilog or VHDL), can pass through simple synthesis and cloth Office, is quickly burned onto on FPGA and is tested, and is the technology main flow of modern IC designs checking.These editable elements can be by For realizing the combination function of some basic logic gates (such as AND, OR, XOR, NOT) or more more complicated such as Decoder or mathematical equation.Inside most FPGA, also for example touched comprising memory cell in these editable elements Send out device (Flip-flop) or other more complete block of memory.System designer can be as desired by editable company Connect the logical block inside FPGA to connect, just look like that a breadboard has been placed in a chip.One dispatches from the factory The logical block of finished product FPGA afterwards and connection can change according to designer, so FPGA can complete required logic work( Energy.
Speed of the FPGA in general than ASIC (application specific integrated circuit) is slow, realizes same function than ASIC circuit face Product is big.But they also have the advantages that it is many such as can quick finished product, the mistake that can be modified in correction program and Less expensive cost.Manufacturer may also can provide the FPGA of cheap still edit capability difference.Because these chips have poor Editable ability, so these design exploitations be to be completed on common FPGA, design is then transferred to a class It is similar on ASIC chip.Another method is with CPLD (Complex Programmable Logic Device, complexity PLD).Exploitation of the FPGA exploitation relative to traditional PC, single-chip microcomputer is very different.FPGA is with concurrent operation Based on, realized with hardware description language;Compared to PC or single-chip microcomputer (either von Neumann structure or Harvard structure) Order operation has very big difference.
Early in 1980 mid-nineties 90s, FPGA takes root in PLD equipment.CPLD and FPGA include some relatively large numbers The Programmadle logic unit of amount.The density of CPLD gates is between thousands of to tens of thousands of logic units, and FPGA typically exists It is tens of thousands of to arrive millions of.The CPLD and FPGA main distinction is their system architecture.CPLD is a somewhat restricted structure. This structure is arranged the register with the locking of some relatively small amounts by the logical groups of one or more editable result sum Composition.Such result is a lack of editing flexibility, but have it is anticipated that time delay and logic unit it is single to connection The advantage of first height ratio.And FPGA is to have many connection units, although so allowing him more flexibly to edit, Structure is complicated more.
Using the night bedroom window aperture operating platform based on infrared detection of the present invention, for night in the prior art Bedroom window is difficult to the technical problem automatically controlled, using a variety of sensing technologies and targetedly image recognition technology, to sleeping Room personnel's sweat data are acquired, and indoor gas and outdoor wind speed are acquired, and on this basis, flexibly control is sleeping Closing, unlatching and the opening degree at room window family.
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.

Claims (1)

1. a kind of method of the night bedroom window aperture of Intelligent Measurement, this method includes:
1) a kind of night bedroom window aperture operating platform based on infrared detection is provided, the operating platform includes infrared imaging Equipment, infrared indoor image processing equipment, window aperture control device and AT89C51 single-chip microcomputers, the infrared imaging device are used In to bedroom indoor shot to obtain infrared indoor image, the infrared indoor image processing equipment and the infrared imaging device Connection, for being carried out to the infrared indoor image at image procossing, the AT89C51 single-chip microcomputers and the infrared indoor image Equipment connection is managed, the window aperture control is controlled for the processing result image based on the infrared indoor image processing equipment Open mode of the equipment to bedroom window;
2) detected using the operating platform;
Characterized in that, the operating platform also includes:
Toxic gas detection equipment, is connected with the AT89C51 single-chip microcomputers, and toxic gas is whether there is in bedroom for detecting, And when detecting the presence of toxic gas, toxic gas content is sent to the AT89C51 single-chip microcomputers;
Wind speed measurement equipment, is arranged on the exterior wall outside bedroom, for detecting and exporting the real-time wind speed outside bedroom;
Power supply unit, is arranged on the exterior wall outside bedroom, including solar powered device, commercial power interface, switching switch and electricity Pressure converter, the switching switch is connected respectively with the solar powered device and the commercial power interface, according to commercial power interface The line voltage size at place decides whether to be switched to the solar powered device to be powered by the solar powered device, institute State electric pressure converter to be connected with the switching switch, so that the 5V voltage conversions of input will be switched by switching as 3.3V voltages;
Mobile hard disk, for prestoring human body gray threshold scope and presetted pixel amount threshold, is additionally operable to prestore base Quasi- sweat image, the benchmark sweat image is is shot the image for only including sweat pixel obtained to benchmark sweat;
The infrared indoor image processing equipment is arranged on the interior wall inside bedroom, is connected with the infrared imaging device, is used In reception infrared indoor image;The infrared indoor image processing equipment includes contrast enhancer equipment, Wiener filtering and set The sub- equipment of standby, medium filtering, the sub- equipment of mean filter, the sub- equipment of image expansion, the sub- equipment of Image erosion, gray processing processing are set Standby, threshold value selects sub- equipment, the sub- equipment of human body segmentation and sweat to extract sub- equipment;The contrast enhancer equipment, the dimension Nanofiltration marble equipment, the sub- equipment of the medium filtering, the sub- equipment of the mean filter, described image expand sub- equipment, the figure Contrast enhancing, wiener filter are performed successively to the infrared indoor image as corroding sub- equipment, the sub- equipment of gray processing processing Ripple, medium filtering, mean filter, image expansion, Image erosion and gray processing processing, to obtain gray level image;The threshold value Select sub- equipment to handle sub- equipment with the mobile hard disk and the gray processing to be connected respectively, for successively from the human body gray scale Select a value as pre-selection gray threshold in threshold range, gray level image is divided into by the pre-selection back of the body using pre-selection gray threshold Scene area and pre-selected target region, calculating pre-selection background area occupy the area ratio of gray level image as the first area ratio, The pixel average gray value of pre-selection background area is calculated as the first average gray value, pre-selected target region is calculated and occupies gray processing The area ratio of image is as second area ratio, and the pixel average gray value for calculating pre-selected target region is used as the second average gray Value, the second average gray value is subtracted by the first average gray value, and poor square of acquisition is multiplied by the first area ratio and second area Than the product of acquisition is as threshold value product, and the maximum pre-selection gray threshold of selection threshold value product is used as target gray threshold value;It is described The sub- equipment of human body segmentation selects sub- equipment to be connected with the threshold value, for being divided into gray level image using target gray threshold value Background image and human body image;The sweat extracts sub- equipment and connected respectively with the sub- equipment of the human body segmentation and the mobile hard disk Connect, each sweat subgraph with benchmark sweat images match is extracted from human body image, is added up in each sweat subgraph Pixel summation, when obtained pixel summation is more than presetted pixel amount threshold, judges that human body has sweat and output has sweat Water signal, when obtained pixel summation is less than or equal to presetted pixel amount threshold, judges that human body is not present sweat and exported not There is sweat signal;
It is the AT89C51 single-chip microcomputers and the infrared imaging device, the wind speed measurement equipment, the mobile hard disk, described red Outer indoor image processing equipment and the window aperture control device are connected respectively, are being received in the absence of sweat signal, control There is sweat signal in the window aperture control device, open bedroom window to close bedroom window receiving, and according to connecing The real-time wind speed received determines the unlatching strategy of the window aperture control device;
Wherein, the unlatching strategy that the AT89C51 single-chip microcomputers are determined is specifically included:The AT89C51 single-chip microcomputers are opened based on wind speed Spend the table of comparisons and control the window aperture control device so that the aperture of the window aperture control device control bedroom window with Real-time wind speed is inversely proportional;
Wherein, the wind speed aperture table of comparisons be pre-stored in the mobile hard disk it is advance in, the wind speed aperture table of comparisons The mapping relations of each wind speed range and window aperture are given, the AT89C51 single-chip microcomputers are according to the wind speed aperture pair According to table so that the aperture of window aperture control device control window is inversely proportional with real-time wind speed;
Wherein, the contrast enhancer equipment, the sub- equipment of the Wiener filtering, the sub- equipment of the medium filtering, the average Filter sub- equipment, described image and expand sub- equipment, the sub- equipment of described image corrosion, the sub- equipment of gray processing processing, the threshold Value selects sub- equipment, the sub- equipment of the human body segmentation and the sweat to extract the fpga chip that different model is respectively adopted in sub- equipment To realize;
Sound and light alarm equipment, is connected with the AT89C51 single-chip microcomputers, under the control that the AT89C51 single-chip microcomputers are connected Carry out sound and light alarm;
The AT89C51 single-chip microcomputers are when the toxic gas content received is more than or equal to default content threshold value, to the acousto-optic Warning device sends sound and light alarm signal;
The default content threshold value is pre-stored in the mobile hard disk.
CN201610412139.6A 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement Active CN106050049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610412139.6A CN106050049B (en) 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510536514.3A CN105201326B (en) 2015-08-28 2015-08-28 A kind of Intelligent Measurement night bedroom window aperture method
CN201610412139.6A CN106050049B (en) 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510536514.3A Division CN105201326B (en) 2015-08-28 2015-08-28 A kind of Intelligent Measurement night bedroom window aperture method

Publications (2)

Publication Number Publication Date
CN106050049A CN106050049A (en) 2016-10-26
CN106050049B true CN106050049B (en) 2017-08-08

Family

ID=54949250

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201510536514.3A Active CN105201326B (en) 2015-08-28 2015-08-28 A kind of Intelligent Measurement night bedroom window aperture method
CN201610421936.0A Active CN106121435B (en) 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement
CN201610412139.6A Active CN106050049B (en) 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201510536514.3A Active CN105201326B (en) 2015-08-28 2015-08-28 A kind of Intelligent Measurement night bedroom window aperture method
CN201610421936.0A Active CN106121435B (en) 2015-08-28 2015-08-28 A kind of method of the night bedroom window aperture of Intelligent Measurement

Country Status (1)

Country Link
CN (3) CN105201326B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105041105B (en) * 2015-08-28 2017-01-11 江西珉轩智能科技有限公司 Night bedroom window opening degree operation platform capable of achieving intelligent detection
CN106368550A (en) * 2016-08-31 2017-02-01 余姚市泗门印刷厂 Window control method
CN106231211A (en) * 2016-08-31 2016-12-14 宁波优而雅电器有限公司 A kind of infrared photography method
CN106249629A (en) * 2016-08-31 2016-12-21 余姚市泗门印刷厂 Compound forms open mode decision-making platform
CN106444482A (en) * 2016-08-31 2017-02-22 宁波优而雅电器有限公司 Multi-parameter detection-based intelligent window body operating platform
CN106406164A (en) * 2016-08-31 2017-02-15 宁波优而雅电器有限公司 Intelligent window framework control method
CN106401359B (en) * 2016-08-31 2017-09-01 余姚市泗门印刷厂 Forms report control platform based on infrared photography
CN106370227A (en) * 2016-08-31 2017-02-01 宁波优而雅电器有限公司 Automation multi-parameter real-time detection method
CN106444484A (en) * 2016-08-31 2017-02-22 宁波优而雅电器有限公司 Combined control method for internal and external windows
CN106371358A (en) * 2016-08-31 2017-02-01 宁波优而雅电器有限公司 Intelligent window body framework control platform
CN106910167A (en) * 2016-10-25 2017-06-30 石永录 Automatic identification system
CN106909098A (en) * 2016-10-25 2017-06-30 秦艳霞 Automation forms Manipulation of the machine people based on droplet detection
CN107967672A (en) * 2016-10-25 2018-04-27 彭晓梅 The filtering selection platform of image content-based analysis
CN106910354A (en) * 2016-10-25 2017-06-30 韩明 One kind automation pedestrian crosswalk signal lamp
CN107023243B (en) * 2017-05-24 2018-06-22 蒙城信和汽车有限公司 Vehicle window multifunction control system
CN107083898A (en) * 2017-05-24 2017-08-22 刘琨 Vehicle window keeps out the wind equipment self-controlled platform
CN109138720B (en) * 2018-01-30 2020-04-21 张毅 Automatic operation method based on image processing
CN108287506B (en) * 2018-01-30 2020-09-11 嵊州市万智网络科技有限公司 Smart home device based on image processing
CN109657648B (en) * 2019-01-10 2023-04-07 天津大学 System and method for monitoring office building window opening and closing conditions in real time
CN115164382A (en) * 2022-06-28 2022-10-11 电子科技大学中山学院 Household environment intelligent control device, system and method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200943387Y (en) * 2006-08-07 2007-09-05 北京清大联华科技有限公司 Multifunctional intelligence window and door control system
CN101481974A (en) * 2008-01-09 2009-07-15 中鸿工业设备有限公司 Intelligent portal system
KR20100011692U (en) * 2009-10-27 2010-12-01 윤지웅 System for opening and closing the window in veranda automatically by sensing the movement
CN102296906A (en) * 2011-07-29 2011-12-28 高杉 Automatic window opening and closing system
KR101354709B1 (en) * 2011-11-04 2014-01-24 박정원 Smart switchgear
CN103470133B (en) * 2013-08-30 2016-04-27 健雄职业技术学院 A kind of intelligent window and control method
CN103615171A (en) * 2013-11-27 2014-03-05 陈兆金 Intelligent door and window controller
CN103953251A (en) * 2013-12-09 2014-07-30 苏州市职业大学 Electric vehicle electric electric vehicle window anti-pinch device based on cameras
CN204311898U (en) * 2014-11-23 2015-05-06 王华华 Weather proof intelligent door and window

Also Published As

Publication number Publication date
CN106121435B (en) 2017-12-01
CN105201326A (en) 2015-12-30
CN106050049A (en) 2016-10-26
CN105201326B (en) 2016-09-07
CN106121435A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106050049B (en) A kind of method of the night bedroom window aperture of Intelligent Measurement
CN106088909B (en) The night bedroom window aperture operating platform of Intelligent Measurement
CN105888436B (en) A kind of intelligent window automatically turns on method
CN106088913B (en) Intelligent window automatically turns on platform
CN105971441B (en) Bedroom window intellectuality opening control system
CN106088908B (en) A kind of intelligent method for controlling opening and closing of bedroom window
CN104916116B (en) Smart Home air self-adaption interactive system
WO2004077182A1 (en) Process control system and method for configuring a process control system
CN110243999A (en) The calibration method of carbon dioxide sensor for air conditioning system
Pazhoohesh et al. Investigating thermal comfort and occupants position impacts on building sustainability using CFD and BIM
CN105104332B (en) Fixed intelligent mosquito catching-killing system
CN100517347C (en) Body image automatic standardizing method
CN105719368B (en) Personnel's detecting system and personnel's detection method
KR20230001879A (en) Apparatus and method for managing air quality
CN206075033U (en) A kind of intelligent substation sequence debugging emulation equipment based on anti-misoperation locking
Gilani et al. Best practices guidebook on advanced occupant modelling
Burman et al. Measurement and verification models for cost-effective energy-efficient retrofitting
CN105989237A (en) Measurement method and electronic equipment
CN107478534A (en) Stiffness test device
Löhr et al. SEMI-AUTOMATED GENERATION OF MULTI-ZONE THERMAL MODELS FROM BUILDING-INFORMATION-MODELING DATA
Szász et al. LabView software-based building supervising and events monitor system for net zero-energy strategies implementation
CN116964617A (en) Image marking engine system and method for programmable logic device
AU2006216117A1 (en) Process control system and method for operating a process control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Feng Pinghui

Inventor after: Zhu Jianqing

Inventor after: Zeng Shuye

Inventor before: Wang Hailing

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20170713

Address after: 528139 Guangdong Province, Foshan City Sanshui Lubao town Jiahe Road No. 1 of F1, F2, F3, F4, F7

Applicant after: Guangdong royal home furnishing Technology Co., Ltd.

Address before: 550018 Guizhou Province, Guiyang city new North Avenue No. 68

Applicant before: Wang Hailing

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: F3-1, No.1, Jiahe South Road, Lubao Town, Sanshui District, Foshan City, Guangdong Province 528000

Patentee after: Guangdong Huangpai Custom Home Group Co., Ltd

Address before: 528139 Guangdong Province, Foshan City Sanshui Lubao town Jiahe Road No. 1 of F1, F2, F3, F4, F7

Patentee before: GUANGDONG PHONPA FURNITURE TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address