CN109140709A - Air conditioner control method and device and air conditioner - Google Patents
Air conditioner control method and device and air conditioner Download PDFInfo
- Publication number
- CN109140709A CN109140709A CN201810967023.8A CN201810967023A CN109140709A CN 109140709 A CN109140709 A CN 109140709A CN 201810967023 A CN201810967023 A CN 201810967023A CN 109140709 A CN109140709 A CN 109140709A
- Authority
- CN
- China
- Prior art keywords
- respiratory rate
- image
- ventilation
- obtains
- default
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000009423 ventilation Methods 0.000 claims abstract description 88
- 230000029058 respiratory gaseous exchange Effects 0.000 claims abstract description 14
- 230000036387 respiratory rate Effects 0.000 claims description 157
- 238000004378 air conditioning Methods 0.000 claims description 55
- 238000012545 processing Methods 0.000 claims description 20
- 238000004458 analytical method Methods 0.000 claims description 19
- 230000003519 ventilatory effect Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 12
- 230000004069 differentiation Effects 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 5
- 238000005259 measurement Methods 0.000 claims description 4
- 210000000038 chest Anatomy 0.000 description 52
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000009466 transformation Effects 0.000 description 6
- 238000005260 corrosion Methods 0.000 description 5
- 230000007797 corrosion Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000000877 morphologic effect Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 2
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005530 etching Methods 0.000 description 2
- 239000007789 gas Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000001301 oxygen Substances 0.000 description 2
- 229910052760 oxygen Inorganic materials 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000004141 dimensional analysis Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012880 independent component analysis Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004060 metabolic process Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000241 respiratory effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/65—Electronic processing for selecting an operating mode
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses an air conditioner control method and device and an air conditioner. Wherein, the method comprises the following steps: acquiring a first breathing rate of a target object through a camera; comparing the first respiration rate with a preset respiration rate range to obtain a comparison result; based on the comparison result, a ventilation mode of the air conditioner is determined. The invention solves the technical problem of lower accuracy of the method for obtaining the ventilation times because the traditional ventilation times are calculated according to the room size and the number of people.
Description
Technical field
The present invention relates to airconditioning control fields, in particular to a kind of air conditioning control method and device, air-conditioning.
Background technique
Rate of ventilation is one of basic parameter of field of air conditioning, and the rate of ventilation in room can reflect room to a certain extent
Ventilation condition.The calculating of traditional rate of ventilation is estimated according to room-size and number, cannot be well reflected
The ventilation capacity variance of each point, so that this method flexibility for seeking rate of ventilation is poor, accuracy is lower.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of air conditioning control method and devices, air-conditioning, at least to solve to change due to traditional
The calculating of gas number be sought caused by being estimated according to room-size and number rate of ventilation method accuracy it is lower
The technical issues of.
According to an aspect of an embodiment of the present invention, a kind of air conditioning control method is provided, comprising: obtain by camera
First respiratory rate of target object;First respiratory rate is compared with default respiratory rate range, obtains comparison result;Base
In the comparison result, the ventilatory pattern of air-conditioning is determined.
Optionally, first respiratory rate that target object is obtained by camera includes: to be shot by the camera
An at least image for the target object;Predeterminable area is determined from an at least image;Extract the predeterminable area
Gray value;Based on the gray value, first respiratory rate is obtained.
Optionally, it is described from an at least image determine predeterminable area include: from an at least image
Determine chest region, comprising: identify human face region from an at least image;Based on the human face region, institute is determined
State chest region.
Optionally, described to identify that human face region includes: according at least one figure from an at least image
As carrying out colour of skin differentiation, obtain differentiating result;An at least image is subjected to gray proces;Schemed according to described at least one
Grey level's projective distribution of picture and the differentiation are as a result, determine coboundary and the lower boundary of face, according to described at least one
The gray scale vertical projection of image is distributed and the differentiation is as a result, determine the left margin and right margin of face;According to the coboundary
And the lower boundary, the height a of face is obtained, according to the left margin and the right margin, obtains the width b of face.
Optionally, described to be based on the human face region, determine that the chest region includes: to be with the lower boundary of the face
Benchmark moves down b/2 and obtains the coboundary in chest;On the basis of the coboundary in the chest, moves down b/2 and obtain the following of chest
Boundary;Wherein, the width in the chest region is the width of the face.
Optionally, described to be based on the gray value, obtaining first respiratory rate includes: to carry out small echo to the gray value
Denoising obtains respiratory rate curve;Peak detection is carried out to the respiratory rate curve, obtains first respiratory rate.
Optionally, described to carry out Wavelet Denoising Method processing to the gray value, obtaining respiratory rate curve includes: to the gray scale
Value carries out wavelet multi-scale analysis, obtains analysis result;Low-pass filtering treatment is carried out to the analysis result, obtains filtering knot
Fruit;Signal reconstruction is carried out to the filter result, obtains denoised signal;Based on the denoised signal, it is bent to obtain the respiratory rate
Line.
Optionally, described to be compared first respiratory rate with default respiratory rate range, obtain comparison result;It is based on
The comparison result determines that the ventilatory pattern of air-conditioning includes: to judge first respiratory rate whether in the default respiratory rate model
In enclosing;If first respiratory rate within the scope of the default respiratory rate, determines the rate of ventilation or ventilation volume is default changes
Gas number or default ventilation volume;If first respiratory rate is greater than the upper limit of the default respiratory rate range, increase the ventilation
Number or the ventilation volume;If first respiratory rate is less than the lower limit of the default respiratory rate range, reduce the ventilation time
The several or described ventilation volume.
According to another aspect of an embodiment of the present invention, a kind of air conditioning control device is additionally provided, comprising: respiration measurement mould
Block, for obtaining the first respiratory rate of target object by camera;Air conditioning module, for will first respiratory rate and
Default respiratory rate range is compared, and obtains comparison result;Ventilation module, for based on the comparison as a result, determining air-conditioning
Ventilatory pattern.
According to another aspect of an embodiment of the present invention, a kind of air-conditioning is additionally provided, comprising: camera is used for photographic subjects
An at least image for object;Image recognizer is connect with the camera, for identifying from an at least image
The chest region of the target object, and according to the gray value in the chest region, obtain the first breathing of the target object
Rate;Controller is connect with described image identifier, for according to the pass between first respiratory rate and default respiratory rate range
System, determines the ventilatory pattern of air-conditioning.
Optionally, described image identifier identifies the mesh from an at least image for executing following steps
It marks the chest region of object: identifying human face region from an at least image;Based on the human face region, determine described in
Chest region.
Optionally, described image identifier identifies face area from an at least image for executing following steps
Domain: colour of skin differentiation is carried out according to an at least image, obtains differentiating result;An at least image is carried out at gray scale
Reason;According to grey level's projective distribution of at least one image and it is described differentiate as a result, determine face coboundary and under
Boundary, according to the gray scale vertical projection of at least one image distribution and it is described differentiate as a result, determine face left margin and
Right margin;According to the coboundary and the lower boundary, the height a of face is obtained, according to the left margin and the right margin,
Obtain the width b of face.
Optionally, described image identifier is based on the human face region for executing following steps, determines the chest area
Domain: it on the basis of the lower boundary of the face, moves down b/2 and obtains the coboundary in chest;On the basis of the coboundary in the chest,
It moves down b/2 and obtains the lower boundary in chest;Wherein, the width in the chest region is the width of the face.
Optionally, described image identifier includes: filter circuit, for carrying out Wavelet Denoising Method processing to the gray value,
Obtain respiratory rate curve;Detection circuit is connect with the filter circuit, for carrying out peak detection to the respiratory rate curve,
Obtain first respiratory rate.
Optionally, the filter circuit carries out Wavelet Denoising Method processing to the gray value for executing following steps, obtains
Respiratory rate curve: carrying out wavelet multi-scale analysis to the gray value, obtains analysis result;Low pass is carried out to the analysis result
Filtering processing, obtains filter result;Signal reconstruction is carried out to the filter result, obtains denoised signal;Believed based on the denoising
Number, obtain the respiratory rate curve.
Optionally, the controller includes: comparison circuit, for judging whether first respiratory rate default exhales described
Within the scope of suction rate;Control circuit, if determining the ventilation time for first respiratory rate within the scope of the default respiratory rate
Several or ventilation volume is default rate of ventilation or default ventilation volume;If first respiratory rate is greater than the default respiratory rate range
The upper limit increases the rate of ventilation or the ventilation volume;If first respiratory rate is less than under the default respiratory rate range
Limit, reduces the rate of ventilation or the ventilation volume.
In embodiments of the present invention, using the first respiratory rate for obtaining target object by camera;By the first respiratory rate
It is compared with default respiratory rate range, obtains comparison result;Based on comparative result, the mode of the ventilatory pattern of air-conditioning is determined,
By acquiring human body image, the respiratory rate of user is obtained using software analysis and relevant calculation, and determine air-conditioning according to this
Rate of ventilation, reached fresh air volume required for accurately calculating room according to respiratory rate, so that it is determined that the mesh of rate of ventilation
, to realize the technical effect for improving accuracy, and then solve since the calculating of traditional rate of ventilation is according to room
Between size and number estimated caused by seek the lower technical problem of method accuracy of rate of ventilation.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of optional air conditioning control method according to an embodiment of the present invention;
Fig. 2 (a) is the flow diagram of another optional air conditioning control method according to an embodiment of the present invention;
Fig. 2 (b) is a kind of flow diagram of optional detection user's respiratory rate according to an embodiment of the present invention;
Fig. 2 (c) is the flow diagram that a kind of optional face location according to an embodiment of the present invention determines;
Fig. 2 (d) is a kind of flow diagram of optional Wavelet Denoising Method according to an embodiment of the present invention;
Fig. 2 (e) is a kind of schematic diagram of optional respiratory rate curve according to an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of optional air conditioning control device according to an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of optional air-conditioning according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for air conditioning control method is provided, it should be noted that attached
The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also,
So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein
Or the step of description.
Fig. 1 is air conditioning control method according to an embodiment of the present invention, as shown in Figure 1, this method comprises the following steps:
Step S102 obtains the first respiratory rate of target object by camera.
Optionally, obtaining the first respiratory rate of target object by camera includes: by camera photographic subjects object
An at least image;Predeterminable area is determined from an at least image;Extract the gray value of predeterminable area;Based on gray value,
Obtain the first respiratory rate.
It optionally, include: that chest region is determined from an at least image from predeterminable area determining in an at least image,
It include: to identify human face region from an at least image;Based on human face region, chest region is determined.
Optionally, identify that human face region includes: to carry out the colour of skin according to an at least image to sentence from an at least image
Not, it obtains differentiating result;At least gray proces will be carried out by an image;According to grey level's projective distribution of at least one image
And differentiate as a result, coboundary and the lower boundary of face are determined, according to the distribution of the gray scale vertical projection of at least one image and differentiation
As a result, determining the left margin and right margin of face;According to coboundary and lower boundary, obtain the height a of face, according to left margin and
Right margin obtains the width b of face.
Optionally, it is based on human face region, determines that chest region includes: to be moved down b/2 on the basis of the lower boundary of face and obtained
The coboundary in chest;On the basis of the coboundary in chest, moves down b/2 and obtain the lower boundary in chest;Wherein, the width in chest region
For the width of face.
Optionally, it is based on gray value, obtaining the first respiratory rate includes: to carry out Wavelet Denoising Method processing to gray value, is exhaled
Suction rate curve;Peak detection is carried out to respiratory rate curve, obtains the first respiratory rate.
Optionally, Wavelet Denoising Method processing is carried out to gray value, it includes: more to gray value progress small echo for obtaining respiratory rate curve
Dimensional analysis obtains analysis result;Low-pass filtering treatment is carried out to analysis result, obtains filter result;Filter result is carried out
Signal reconstruction obtains denoised signal;Based on denoised signal, respiratory rate curve is obtained.
First respiratory rate is compared with default respiratory rate range, obtains comparison result by step S104.
Step S106 determines the ventilatory pattern of air-conditioning based on comparative result.
Optionally, the first respiratory rate is compared with default respiratory rate range, obtains comparison result;It is tied based on comparing
Fruit determines that the ventilatory pattern of air-conditioning includes: to judge the first respiratory rate whether within the scope of default respiratory rate;If the first respiratory rate exists
Within the scope of default respiratory rate, determines rate of ventilation or ventilation volume is default rate of ventilation or default ventilation volume;If the first respiratory rate
Greater than the upper limit of default respiratory rate range, increase rate of ventilation or ventilation volume;If the first respiratory rate is less than default respiratory rate range
Lower limit, reduce rate of ventilation or ventilation volume.
Through the above steps, human body image is acquired, obtains the respiratory rate of user using software analysis and relevant calculation, and
And determine the rate of ventilation of air-conditioning according to this, reach fresh air volume required for accurately calculating room according to respiratory rate, thus
It determines the purpose of rate of ventilation, to realize the technical effect for improving accuracy, and then solves due to traditional ventilation time
Several calculating is that the lower skill of method accuracy of rate of ventilation is sought caused by being estimated according to room-size and number
Art problem.
In the following, being illustrated as shown in Fig. 2 (a) to the air conditioning control method of the present embodiment:
Step a opens ventilatory.
After user opens ventilatory, air-conditioning enters the mode, and camera starting is continuously shot user video and carries out figure
As crawl, chest position is judged.
Step b detects user's respiratory rate.
As shown in Fig. 2 (b), detection user's respiratory rate includes the following steps:
Step b1 opens camera.
Step b2, control camera grab image.
Step b3 determines chest position.
Breathing can bring more apparent movement of thorax, but camera is not aware that position or even the medicine in chest
On also do not have accurate description to chest position.In the present embodiment, according to the position of human body head (face), according to
Certain proportionate relationship positions chest region.
Specifically, to determine chest position, face location need to be first determined, in practical applications, human face region is acquiring
Image in occupy biggish area ratio, be the local that color compares concentration, the present embodiment extracts face by Skin Color Information
Portion region.
As shown in Fig. 2 (c), face location determination includes the following steps:
Step b31 reads in color image.
Step b32, the colour of skin differentiate.
Step b33, the Morphological scale-spaces such as opening and closing operation.
Opening and closing operation is also common method in Morphological scale-space.Opening operation is first to do to expand again to object progress etching operation
The process of operation, closed operation are then first to carry out the process that etching operation is done in expansive working again to object.The effect of opening operation be
The small object of very thin junction segmentation object, erasing makes the boundary of big object more smooth without substantially changeing its area.Close fortune
The minuscule hole of big interior of articles can be filled by calculating, and the breaking portion of big object is reconnected, allow big object boundary more
It is smooth without substantially changeing its area.
Corrosion and expansion are two kinds of most basic, most important Morphological scale-space methods in image procossing, are various advanced shapes
The basis of state processing, a lot of other Morphology Algorithms is combined by them.Corrosion, is to be with a starting point
The structural element of image origin moves in entire plane, and total element is enabled to be in the region that is corroded in plane
Inside, then the collection area for meeting the centre coordinate of the structural element of this condition is exactly corrosion image.The result of corrosion
It is that object small one is allowed to enclose, object edge is shunk;But if object is integrally less than structural element, corrode just as rubber
Wipe object.Expansion, with corrosion on the contrary, being moved in entire plane with the structural element that a starting point is image origin, energy
Enough so that the structural element has at least one pixel Chong Die with the region that is corroded in plane, then meeting this condition
The collection area of the centre coordinate of structural element is exactly expanding image.Expansion can generally make the big circle of object, the edge of object to
It extends out, " fat " one encloses, and expansion can also usually reconnect two parts of the same object broken apart in original image.
Step b34, grey level's projective distribution.
Step b35 determines face up-and-down boundary.
Step b36, gray scale vertical projection distribution.
Step b37 determines face right boundary.
Step b38, determines face location.
Firstly, reading in the color image for thering is camera to shoot;Then, colour of skin differentiation is carried out, captured image is carried out
Gray proces, the up-and-down boundary of face is determined according to Morphological scale-spaces such as opening and closing operations, and exports face upper-lower height a;It determines
The right boundary of face, and the width b that exports face or so.
The width b of face is obtained according to the method described above, and the reckoning of chest position is carried out after height a.With face up-and-down boundary
Lower boundary on the basis of, move down coboundary of the b/2 as chest, then move down lower boundary of the b/2 as chest, the width in chest region
Degree is the width b of face, can thus obtain the region in chest.
Step b4 extracts each frame chest area grayscale value.
Step b5, frame number are the integral multiple of K.
Step b6, Wavelet Denoising Method.
As shown in Fig. 2 (d), Wavelet Denoising Method includes the following steps:
Step b61 carries out wavelet multi-scale analysis.
Step b62, low-pass filtering.
Step b63, reconstruction signal.
For natural light irradiation on the position of chest, the fluctuating in chest will lead to the variation of the overall intensity in the region.Every breathing
Once, chest rises and falls primary, and a cyclically-varying also occurs for gray scale.Shoot the video of one section of long period, then to video into
The method of row processing, directly carries out spectrum analysis to grey scale signal, so that it may can obtain the average respiration of this period.For
Obtain the behavioral characteristics that human body respiration changes over time, per at regular intervals, such as: 2s, 5s, 10s time carry out primary
Data processing can obtain dynamic respiratory rate as far as possible.
1, signal acquisition
Into after ventilatory pattern, camera is opened, unlatching timing, after image stabilization, can be directed to former pictures, be carried out
Face datection and the positioning of chest position, after determining chest position, are continuously shot, and each frame image of acquisition is carried out at gray scale
Reason, and chest location variation data are represented by curve out.
2, noise is removed
In measuring system, due to background environment noise in camera hardware, collection process, the walking about etc. of user,
Video gradation signal collected is the aliasing signal with noise.Therefore it needs to carry out signal processing using certain method,
Remove noise.Common removal noise method has frequency domain digital filtering, Wavelet transformation, independent component analysis, empirical modal point
Analysis etc..
In recent years, wavelet theory has obtained very fast development, and since it has good time-frequency characteristic, thus
Practical application is also very extensive.In denoising field, denoising is carried out using small echo and also obtains extraordinary effect.Specifically
Wavelet noise-eliminating method has a characteristic that
(1) low entropy, the sparse distribution of wavelet coefficient, so that the entropy after image transform reduces;
(2) multiresolution, the method due to using multiresolution, it is possible to very well portray the non-stationary of signal
Feature, such as edge, spike, breakpoint;
(3) decorrelation, because wavelet transformation can carry out decorrelation to signal, and noise has albefaction to become after the conversion
Gesture, so wavelet field is more conducive to denoise than time domain;
(4) base flexibility is selected, since wavelet transformation can convert base with flexible choice, thus to different application, to not
Same research object, can select different wavelet mother functions, to obtain optimal effect.
Wavelet noise-eliminating method include the steps that three it is basic: to noisy acoustical signal carry out wavelet transformation;Transformation is obtained
Wavelet coefficient carries out certain processing, to remove noise wherein included;To treated, wavelet coefficient carries out wavelet inverse transformation, obtains
Signal after to denoising.The difference of Wavelet noise-eliminating method concentrates on the first step.
Mathematically, the essence of Wavelet Denoising Method problem is a function approximation problem, i.e., how to stretch by wavelet mother function
In the function space that contracting and translation version are transformed into, according to the weighing criteria of proposition, most preferably approaching to original signal is found, with complete
At the differentiation of original signal and noise signal.The optimum mapping from actual signal space to wavelet function space is namely found, with
Just the optimal recovery of original signal is obtained.
From the angle of signal, the problem of Wavelet Denoising Method is the filtering of signal, and although largely small echo
Denoising can regard low-pass filtering as, but since signal characteristic can also be successfully reserved after denoising, so in this regard
It is better than traditional low-pass filter again.It can be seen that Wavelet Denoising Method is actually the synthesis of feature extraction and low-pass filtering function.
Signal is mapped to wavelet field, different property is had on different scale according to the wavelet coefficient of noise and noise
And mechanism, the wavelet coefficient of signals and associated noises is handled.Essence is the wavelet coefficient for reducing cancelling noise and generating, to greatest extent
Reservation actual signal coefficient, inverse wavelet transform obtains the optimal estimation of signal.
Step b7 shows respiratory waveform.
In order to obtain continuous breath signal, sets every 2s and carry out a data processing, denoised later by wavelet method
It can obtain the respiratory rate curve as shown in Fig. 2 (e).
Step b8, peak detection.
For example, as soon as the case where statistics minute inner curve peak value, can obtain the respiratory rate of user per minute.
Step b9, obtains respiratory rate.
Step b10 shows respiratory rate.
Step c is compared with standard respiratory rate.
Respiratory rate preset in obtained respiratory rate and database is compared, can judge the oxygen demand of user, together
When can determine that the rate of ventilation in room.
Step d, if in critical field.
If so, executing step e;
If it is not, executing step f.
Step e, takes a breath according to default value.
Step f, if respiratory rate is rapid.
If so, executing step g;
If it is not, executing step h.
Step g increases rate of ventilation.
Step h, if respiratory rate is slow.
If so, executing step i.
Step i reduces rate of ventilation.
Respiratory rate of the normal adult in calmness is about 16 to 20 times per minute.With the difference at age, respiratory rate
Difference, the age, smaller respiratory rate was also big;Respiratory rate also increases when movement;Respiratory rate reduces during sleep.It can from above-mentioned material
Respiratory rate is identical with metabolism rate change trend out, therefore respiratory rate can be used to determine the oxygen demand in room, to control
Ventilation volume or rate of ventilation processed.
When the respiratory rate detected is within [16,20], then carried out according to normal rate of ventilation or ventilation volume, such as
30m3/(h·p);
When the respiratory rate detected is within (0,16), then rate of ventilation or ventilation volume, i.e. 20m3/ (hp) are reduced;
When the respiratory rate detected is within (20,50), then increase rate of ventilation or ventilation volume, i.e. 40m3/ (hp).
It should be noted that carrying out respiratory rate judgement using the gray scale of image using camera in this programme, while can adopt
With optical identification method, supercritical ultrasonics technology etc. can not contact technique monitoring user respiratory rate;Bracelet, respiration transducer can also be used
Etc. the respiratory rate of accessible method monitoring user.
The air conditioning control method of the present embodiment calculates user's respiratory rate using camera;Face position is judged using gray scale hair
It sets, so that it is determined that chest position;It is handled using Wavelet-denoising Method for data;Room ventilation time is determined by respiratory rate
Number, solves the problems, such as that sensor measurement respiratory rate and Air conditioner air exchange number are difficult on air-conditioning to be accurately calculated,
Fresh air volume required for accurately calculating room according to respiratory rate is reached, so that it is determined that rate of ventilation, borrows camera, pass through
Software analysis can calculate the purpose of the respiratory rate of user.
Embodiment 2
According to embodiments of the present invention, a kind of embodiment of air conditioning control device is provided, Fig. 3 is according to embodiments of the present invention
Air conditioning control device, as shown in figure 3, the device includes:
Respiration measurement module 30, for obtaining the first respiratory rate of target object by camera;
Air conditioning module 32 is compared for first respiratory rate to be compared with default respiratory rate range
As a result;
Ventilation module 34, for based on the comparison as a result, determining the ventilatory pattern of air-conditioning.
In the present embodiment, human body image is acquired by camera, obtains user's using software analysis and relevant calculation
Respiratory rate, and determine the rate of ventilation of air-conditioning according to this, reach new required for accurately calculating room according to respiratory rate
Air quantity, so that it is determined that the purpose of rate of ventilation, to realize the technical effect for improving accuracy, and then solves due to tradition
The calculating of rate of ventilation be that the method accuracy of rate of ventilation is sought caused by being estimated according to room-size and number
Lower technical problem.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of air-conditioning is provided, Fig. 4 is air-conditioning according to an embodiment of the present invention,
As shown in figure 4, the air-conditioning includes:
Camera 40, at least image for photographic subjects object;Image recognizer 42 connects with the camera 40
It connects, for identifying the chest region of the target object from an at least image, and according to the chest region
Gray value obtains the first respiratory rate of the target object;Controller 44 is connect with described image identifier 42, is used for basis
Relationship between first respiratory rate and default respiratory rate range, determines the ventilatory pattern of air-conditioning.
Optionally, described image identifier identifies the mesh from an at least image for executing following steps
It marks the chest region of object: identifying human face region from an at least image;Based on the human face region, determine described in
Chest region.
Optionally, described image identifier identifies face area from an at least image for executing following steps
Domain: colour of skin differentiation is carried out according to an at least image, obtains differentiating result;An at least image is carried out at gray scale
Reason;According to grey level's projective distribution of at least one image and it is described differentiate as a result, determine face coboundary and under
Boundary, according to the gray scale vertical projection of at least one image distribution and it is described differentiate as a result, determine face left margin and
Right margin;According to the coboundary and the lower boundary, the height a of face is obtained, according to the left margin and the right margin,
Obtain the width b of face.
Optionally, described image identifier is based on the human face region for executing following steps, determines the chest area
Domain: it on the basis of the lower boundary of the face, moves down b/2 and obtains the coboundary in chest;On the basis of the coboundary in the chest,
It moves down b/2 and obtains the lower boundary in chest;Wherein, the width in the chest region is the width of the face.
Optionally, described image identifier includes: filter circuit, for carrying out Wavelet Denoising Method processing to the gray value,
Obtain respiratory rate curve;Detection circuit is connect with the filter circuit, for carrying out peak detection to the respiratory rate curve,
Obtain first respiratory rate.
Optionally, the filter circuit carries out Wavelet Denoising Method processing to the gray value for executing following steps, obtains
Respiratory rate curve: carrying out wavelet multi-scale analysis to the gray value, obtains analysis result;Low pass is carried out to the analysis result
Filtering processing, obtains filter result;Signal reconstruction is carried out to the filter result, obtains denoised signal;Believed based on the denoising
Number, obtain the respiratory rate curve.
Optionally, the controller includes: comparison circuit, for judging whether first respiratory rate default exhales described
Within the scope of suction rate;Control circuit, if determining the ventilation time for first respiratory rate within the scope of the default respiratory rate
Several or ventilation volume is default rate of ventilation or default ventilation volume;If first respiratory rate is greater than the default respiratory rate range
The upper limit increases the rate of ventilation or the ventilation volume;If first respiratory rate is less than under the default respiratory rate range
Limit, reduces the rate of ventilation or the ventilation volume.
In the present embodiment, human body image is acquired by camera, obtains user's using software analysis and relevant calculation
Respiratory rate, and determine the rate of ventilation of air-conditioning according to this, reach new required for accurately calculating room according to respiratory rate
Air quantity, so that it is determined that the purpose of rate of ventilation, to realize the technical effect for improving accuracy, and then solves due to tradition
The calculating of rate of ventilation be that the method accuracy of rate of ventilation is sought caused by being estimated according to room-size and number
Lower technical problem.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (16)
1. a kind of air conditioning control method characterized by comprising
The first respiratory rate of target object is obtained by camera;
First respiratory rate is compared with default respiratory rate range, obtains comparison result;
Based on the comparison as a result, determining the ventilatory pattern of air-conditioning.
2. the method according to claim 1, wherein first breathing for obtaining target object by camera
Rate includes:
An at least image for the target object is shot by the camera;
Predeterminable area is determined from an at least image;
Extract the gray value of the predeterminable area;
Based on the gray value, first respiratory rate is obtained.
3. according to the method described in claim 2, it is characterized in that, described determine predeterminable area from an at least image
It include: that chest region is determined from an at least image, comprising:
Human face region is identified from an at least image;
Based on the human face region, the chest region is determined.
4. according to the method described in claim 3, it is characterized in that, described identify face area from an at least image
Domain includes:
Colour of skin differentiation is carried out according to an at least image, obtains differentiating result;
An at least image is subjected to gray proces;
According to grey level's projective distribution of at least one image and it is described differentiate as a result, determine face coboundary and under
Boundary, according to the gray scale vertical projection of at least one image distribution and it is described differentiate as a result, determine face left margin and
Right margin;
According to the coboundary and the lower boundary, the height a of face is obtained, according to the left margin and the right margin, is obtained
To the width b of face.
5. according to the method described in claim 4, it is characterized in that, it is described be based on the human face region, determine the chest area
Domain includes:
On the basis of the lower boundary of the face, moves down b/2 and obtain the coboundary in chest;
On the basis of the coboundary in the chest, moves down b/2 and obtain the lower boundary in chest;
Wherein, the width in the chest region is the width of the face.
6. according to the method described in claim 2, it is characterized in that, it is described be based on the gray value, obtain it is described first breathing
Rate includes:
Wavelet Denoising Method processing is carried out to the gray value, obtains respiratory rate curve;
Peak detection is carried out to the respiratory rate curve, obtains first respiratory rate.
7. according to the method described in claim 6, it is characterized in that, it is described to the gray value carry out Wavelet Denoising Method processing, obtain
Include: to respiratory rate curve
Wavelet multi-scale analysis is carried out to the gray value, obtains analysis result;
Low-pass filtering treatment is carried out to the analysis result, obtains filter result;
Signal reconstruction is carried out to the filter result, obtains denoised signal;
Based on the denoised signal, the respiratory rate curve is obtained.
8. the method according to claim 1, wherein described by first respiratory rate and default respiratory rate range
It is compared, obtains comparison result;Based on the comparison as a result, determining that the ventilatory pattern of air-conditioning includes:
Judge first respiratory rate whether within the scope of the default respiratory rate;
If first respiratory rate within the scope of the default respiratory rate, determines the rate of ventilation or ventilation volume is default ventilation
Number or default ventilation volume;
If first respiratory rate is greater than the upper limit of the default respiratory rate range, increase the rate of ventilation or the ventilation
Amount;
If first respiratory rate is less than the lower limit of the default respiratory rate range, reduce the rate of ventilation or the ventilation
Amount.
9. a kind of air conditioning control device characterized by comprising
Respiration measurement module, for obtaining the first respiratory rate of target object by camera;
Air conditioning module obtains comparison result for first respiratory rate to be compared with default respiratory rate range;
Ventilation module, for based on the comparison as a result, determining the ventilatory pattern of air-conditioning.
10. a kind of air-conditioning characterized by comprising
Camera, at least image for photographic subjects object;
Image recognizer is connect with the camera, for identifying the target object from an at least image
Chest region, and according to the gray value in the chest region, obtain the first respiratory rate of the target object;
Controller is connect with described image identifier, for according between first respiratory rate and default respiratory rate range
Relationship determines the ventilatory pattern of air-conditioning.
11. air-conditioning according to claim 10, which is characterized in that described image identifier is for executing following steps from institute
State the chest region that the target object is identified in an at least image:
Human face region is identified from an at least image;
Based on the human face region, the chest region is determined.
12. air-conditioning according to claim 11, which is characterized in that described image identifier is for executing following steps from institute
It states in an at least image and identifies human face region:
Colour of skin differentiation is carried out according to an at least image, obtains differentiating result;
An at least image is subjected to gray proces;
According to grey level's projective distribution of at least one image and it is described differentiate as a result, determine face coboundary and under
Boundary, according to the gray scale vertical projection of at least one image distribution and it is described differentiate as a result, determine face left margin and
Right margin;
According to the coboundary and the lower boundary, the height a of face is obtained, according to the left margin and the right margin, is obtained
To the width b of face.
13. air-conditioning according to claim 12, which is characterized in that described image identifier is based on for executing following steps
The human face region determines the chest region:
On the basis of the lower boundary of the face, moves down b/2 and obtain the coboundary in chest;
On the basis of the coboundary in the chest, moves down b/2 and obtain the lower boundary in chest;
Wherein, the width in the chest region is the width of the face.
14. air-conditioning according to claim 10, which is characterized in that described image identifier includes:
Filter circuit obtains respiratory rate curve for carrying out Wavelet Denoising Method processing to the gray value;
Detection circuit is connect with the filter circuit, for carrying out peak detection to the respiratory rate curve, obtains described first
Respiratory rate.
15. air-conditioning according to claim 14, which is characterized in that the filter circuit is for executing following steps to described
Gray value carries out Wavelet Denoising Method processing, obtains respiratory rate curve:
Wavelet multi-scale analysis is carried out to the gray value, obtains analysis result;
Low-pass filtering treatment is carried out to the analysis result, obtains filter result;
Signal reconstruction is carried out to the filter result, obtains denoised signal;
Based on the denoised signal, the respiratory rate curve is obtained.
16. air-conditioning according to claim 10, which is characterized in that the controller includes:
Comparison circuit, for judging first respiratory rate whether within the scope of the default respiratory rate;
Control circuit, if determining the rate of ventilation within the scope of the default respiratory rate for first respiratory rate or changing
Tolerance is default rate of ventilation or default ventilation volume;If first respiratory rate is greater than the upper limit of the default respiratory rate range,
Increase the rate of ventilation or the ventilation volume;If first respiratory rate is less than the lower limit of the default respiratory rate range, subtract
The small rate of ventilation or the ventilation volume.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967023.8A CN109140709A (en) | 2018-08-23 | 2018-08-23 | Air conditioner control method and device and air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967023.8A CN109140709A (en) | 2018-08-23 | 2018-08-23 | Air conditioner control method and device and air conditioner |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109140709A true CN109140709A (en) | 2019-01-04 |
Family
ID=64790961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810967023.8A Pending CN109140709A (en) | 2018-08-23 | 2018-08-23 | Air conditioner control method and device and air conditioner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109140709A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111322652A (en) * | 2020-03-30 | 2020-06-23 | 珠海格力电器股份有限公司 | Ventilation control method, storage medium, and processing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016181546A1 (en) * | 2015-05-14 | 2016-11-17 | 富士通株式会社 | Air conditioner, sensor unit, and air-conditioner control system and control method |
CN107560096A (en) * | 2017-10-09 | 2018-01-09 | 宋彦震 | Natural wind frequency modulation air-conditioning, air-conditioning system and control method based on deep sleep |
CN107550509A (en) * | 2017-10-16 | 2018-01-09 | 合肥工业大学 | A kind of X-ray machine imaging triggering method based on the detection of contactless breathing pattern |
CN107616795A (en) * | 2017-08-17 | 2018-01-23 | 华东师范大学 | A kind of contactless respiratory rate detection method in real time based on camera |
WO2018083016A1 (en) * | 2016-11-02 | 2018-05-11 | Koninklijke Philips N.V. | Device, system and method for co2 monitoring |
CN208998282U (en) * | 2018-08-23 | 2019-06-18 | 珠海格力电器股份有限公司 | air conditioner |
-
2018
- 2018-08-23 CN CN201810967023.8A patent/CN109140709A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016181546A1 (en) * | 2015-05-14 | 2016-11-17 | 富士通株式会社 | Air conditioner, sensor unit, and air-conditioner control system and control method |
WO2018083016A1 (en) * | 2016-11-02 | 2018-05-11 | Koninklijke Philips N.V. | Device, system and method for co2 monitoring |
CN107616795A (en) * | 2017-08-17 | 2018-01-23 | 华东师范大学 | A kind of contactless respiratory rate detection method in real time based on camera |
CN107560096A (en) * | 2017-10-09 | 2018-01-09 | 宋彦震 | Natural wind frequency modulation air-conditioning, air-conditioning system and control method based on deep sleep |
CN107550509A (en) * | 2017-10-16 | 2018-01-09 | 合肥工业大学 | A kind of X-ray machine imaging triggering method based on the detection of contactless breathing pattern |
CN208998282U (en) * | 2018-08-23 | 2019-06-18 | 珠海格力电器股份有限公司 | air conditioner |
Non-Patent Citations (1)
Title |
---|
郭耸,李常有, 东北大学出版社, pages: 6 - 7 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111322652A (en) * | 2020-03-30 | 2020-06-23 | 珠海格力电器股份有限公司 | Ventilation control method, storage medium, and processing device |
CN111322652B (en) * | 2020-03-30 | 2021-02-26 | 珠海格力电器股份有限公司 | Ventilation control method, storage medium, and processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109685813A (en) | A kind of U-shaped Segmentation Method of Retinal Blood Vessels of adaptive scale information | |
US7899206B2 (en) | Device, system and method for determining compliance with a positioning instruction by a figure in an image | |
Yang et al. | Estimating heart rate and rhythm via 3D motion tracking in depth video | |
CN110084259A (en) | A kind of facial paralysis hierarchical synthesis assessment system of combination face texture and Optical-flow Feature | |
KR101738278B1 (en) | Emotion recognition method based on image | |
WO2012117392A1 (en) | Device, system and method for determining compliance with an instruction by a figure in an image | |
CN114170201B (en) | Non-contact respiration rate detection method and system based on edge optical flow information | |
CN102509286A (en) | Target region sketching method for medical image | |
Kakade et al. | Identification of nerve in ultrasound images using U-net architecture | |
CN113920109A (en) | Medical image recognition model training method, recognition method, device and equipment | |
CN111310584A (en) | Heart rate information acquisition method and device, computer equipment and storage medium | |
CN108305247B (en) | Method for detecting tissue hardness based on CT image gray value | |
CN208998282U (en) | air conditioner | |
CN115456967A (en) | Arteriovenous internal fistula thrombus detection method and device | |
CN109140709A (en) | Air conditioner control method and device and air conditioner | |
CN112907635B (en) | Method for extracting abnormal eye movement characteristics based on geometric analysis | |
CN111860057A (en) | Face image blurring and living body detection method and device, storage medium and equipment | |
CN110163489B (en) | Method for evaluating rehabilitation exercise effect | |
CN114202797A (en) | Behavior recognition method, behavior recognition device and storage medium | |
CN109598201B (en) | Action detection method and device, electronic equipment and readable storage medium | |
CN115909016A (en) | System, method, electronic device, and medium for analyzing fMRI image based on GCN | |
CN115760637A (en) | Elderly physical sign health monitoring method, system and equipment based on endowment robot | |
CN112883758B (en) | Living body detection method and device | |
WO2014082925A1 (en) | A system and a method for processing post segmentation data of a medical image | |
CN114627407A (en) | Video action automatic scoring method, system, readable storage medium and computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |