CN108489049A - Infrared detection distance method, air conditioner and the computer storage media of air conditioner - Google Patents

Infrared detection distance method, air conditioner and the computer storage media of air conditioner Download PDF

Info

Publication number
CN108489049A
CN108489049A CN201810276118.5A CN201810276118A CN108489049A CN 108489049 A CN108489049 A CN 108489049A CN 201810276118 A CN201810276118 A CN 201810276118A CN 108489049 A CN108489049 A CN 108489049A
Authority
CN
China
Prior art keywords
air conditioner
distance
infrared sensor
infrared
signal
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.)
Granted
Application number
CN201810276118.5A
Other languages
Chinese (zh)
Other versions
CN108489049B (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment 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 Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810276118.5A priority Critical patent/CN108489049B/en
Publication of CN108489049A publication Critical patent/CN108489049A/en
Application granted granted Critical
Publication of CN108489049B publication Critical patent/CN108489049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control 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/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits

Abstract

The invention discloses a kind of infrared detection distance method of air conditioner, the first infrared sensor and the second infrared sensor of the air conditioner built-in receiving type, including:Control multiple ranging burst signals of the emitting head cycle transmitting with different duty of first infrared sensor and the second infrared sensor;When the reception head of reflection signal and the second infrared sensor that the reception head for detecting first infrared sensor does not receive ranging burst signal receives the reflection signal of ranging burst signal, corresponding first distance and second distance are calculated according to the duty ratio of the reflection signal;The actual range as forefathers and air conditioner is determined according to first distance and second distance, to adjust the operating parameter of the air conditioner according to the actual range.It the invention also discloses a kind of air conditioner and computer storage media, realizes and the user moved in room is detected at a distance from air conditioner by receiving type infrared sensor, so that air conditioner adjusts its operating parameter according to the distance.

Description

Infrared detection distance method, air conditioner and the computer storage media of air conditioner
Technical field
The present invention relates to air conditioner technical field more particularly to a kind of infrared detection distance method of air conditioner, air conditioners And computer storage media.
Background technology
Air conditioner is very universal in daily life, and almost every household can all be used, in order to provide the user with more preferably Air conditioner usage experience, while it is also contemplated that user in the room can not timing walk about, accordingly, it is determined that mobile user with it is empty The distance between device is adjusted, it is splendid comfortable to be brought to user to according to the operating parameter of the corresponding adjusting air conditioner of the distance Sense, it appears it is particularly important, it is a technical problem for currently needing to solve.
In the prior art, generally use thermopile sensor detects the position of human body, and thermopile sensor usually at This is higher, applies on domestic air conditioner, it will increase the production cost of air conditioner.
Invention content
The main purpose of the present invention is to provide infrared detection distance method, air conditioner and the computers of a kind of air conditioner to deposit Storage media, it is intended to solve how using low cost receiving type infrared sensor detection dynamic object apart from the technical issues of.
To achieve the above object, the present invention provides a kind of infrared detection distance method of air conditioner, the air conditioner it is red Outer detecting distance method includes step:
The emitting head cycle transmitting for controlling first infrared sensor and the second infrared sensor has different duty Multiple ranging burst signals;
The reflection signal of ranging burst signal and are not received in the reception head for detecting first infrared sensor When the reception head of two infrared sensors receives the reflection signal of ranging burst signal, according to the duty ratio meter of the reflection signal Calculation obtains corresponding first distance and second distance;
The actual range as forefathers and air conditioner is determined according to first distance and second distance, with according to the reality Distance adjusts the operating parameter of the air conditioner.
Preferably, the signal of the emitting head transmitting of first infrared sensor is sequentially reduced from big to small, and second is infrared The signal of the emitting head transmitting of sensor is sequentially increased from small to large.
Preferably, described that the actual range as forefathers and air conditioner is determined according to first distance and second distance, with The step of adjusting the operating parameter of the air conditioner according to the actual range include:
Judge whether first distance and the absolute value of the difference of second distance are less than or equal to preset value;
If being less than or equal to preset value, the average value of first distance and the difference of second distance is calculated, and according to institute It states average value and determines the actual range for working as forefathers and air conditioner, the operation to adjust the air conditioner according to the actual range is joined Number.
Preferably, the step of actual range determined according to the average value as forefathers and air conditioner includes:
Obtain the maximum value among first distance and second distance;
The difference of the maximum value and the average value is calculated, and using the difference as the reality as forefathers and air conditioner Distance;
Alternatively, obtaining the minimum value among first distance and second distance;
Calculate the minimum value and the average value and value, and will be described and be worth as the reality for working as forefathers and air conditioner Distance.
Preferably, the emitting head cycle transmitting of the control first infrared sensor and the second infrared sensor has Further include after the step of multiple ranging burst signals of different duty:
When the reception head of first infrared sensor and the second infrared sensor receives pulse signal, described in judgement Whether the coded format of pulse signal meets the coded format of the ranging burst signal;
If meeting, the reflection signal that judgement receives the ranging burst signal is effective.
Preferably, corresponding first distance and second distance is calculated in the duty ratio according to the reflection signal Step includes:
The duty ratio of the reflection signal is obtained respectively;
The corresponding maximum triggering distance of the duty ratio is calculated according to preset formula, respectively by the corresponding maximum Triggering distance is used as first distance and second distance, wherein the preset formula indicates duty ratio and maximum triggering distance Correspondence.
Preferably, the infrared detection distance method of the air conditioner further includes:
When obtaining multiple actual ranges, the average value of multiple actual ranges is calculated;
Using the average value of the actual range as the actual range as forefathers and air conditioner, with according to the actual range Adjust the operating parameter of the air conditioner.
Preferably, first infrared sensor and the second infrared sensor are different relative to the height on ground.
In addition, to achieve the above object, the present invention also provides a kind of air conditioner, the air conditioner includes memory, processing Device, receiving type infrared sensor and it is stored in the computer program that can be run on the memory and on the processor, institute State multiple ranging burst signals of the emitting head cycle transmitting with different duty of receiving type infrared sensor, the computer Program realizes the step of infrared detection distance method of air conditioner as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of computer storage media, the computer storage media On be stored with the infrared detection of air conditioner apart from program, the infrared detection of the air conditioner is executed apart from program by the processor The step of infrared detection distance method of Shi Shixian air conditioners as described above.
Infrared detection distance method, air conditioner and the computer storage media of air conditioner proposed by the present invention, in air conditioner The first infrared sensor and the second infrared sensor for setting receiving type, by controlling the first infrared sensor and the second infrared sensing Multiple ranging burst signals of the emitting head cycle transmitting with different duty of device, are detecting connecing for the first infrared sensor The reception head for receiving reflection signal and the second infrared sensor that head does not receive ranging burst signal receives ranging burst signal Reflection signal when, corresponding first distance and second distance, last basis are calculated according to the duty ratio of the reflection signal First distance and second distance determine the actual range as forefathers and air conditioner, realize and detect room by receiving type infrared sensor The user of interior movement is at a distance from air conditioner, so that air conditioner adjusts its operating parameter according to the distance, to be supplied to user Comfortable indoor environment.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the infrared detection distance method first embodiment of air conditioner of the present invention;
Fig. 3 is the step for determining the actual range as forefathers and air conditioner in Fig. 2 according to first distance and second distance Rapid refinement flow diagram;
Fig. 4 is the flow diagram of the infrared detection distance method 3rd embodiment of air conditioner of the present invention;
Fig. 5 is the flow diagram of the infrared detection distance method fourth embodiment of air conditioner of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
The emitting head cycle transmitting for controlling first infrared sensor and the second infrared sensor has different duty Multiple ranging burst signals;
The reflection signal of ranging burst signal and are not received in the reception head for detecting first infrared sensor When the reception head of two infrared sensors receives the reflection signal of ranging burst signal, according to the duty ratio meter of the reflection signal Calculation obtains corresponding first distance and second distance;
The actual range as forefathers and air conditioner is determined according to first distance and second distance, with according to the reality Distance adjusts the operating parameter of the air conditioner.
Due in the prior art, generally use thermopile sensor detects the position of human body, and thermopile sensor is logical Chang Chengben higher is applied on domestic air conditioner, it will increases the production cost of air conditioner, further, since people indoors can not Timing is walked about, and the distance of detection dynamic object is also not easy to.
The present invention provides a solution, the first infrared sensor and the second infrared sensing of air conditioner built-in receiving type Device, it is multiple with different duty by the emitting head cycle transmitting for controlling the first infrared sensor and the second infrared sensor Ranging burst signal does not receive the reflection signal of ranging burst signal and in the reception head for detecting the first infrared sensor When the reception head of two infrared sensors receives the reflection signal of ranging burst signal, calculated according to the duty ratio of the reflection signal Corresponding first distance and second distance are obtained, the reality as forefathers and air conditioner is finally determined according to the first distance and second distance Border distance is realized and detects the user moved in room at a distance from air conditioner by receiving type infrared sensor, for air conditioner Its operating parameter is adjusted according to the distance, to be supplied to the comfortable indoor environment of user.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention is various domestic air conditioning equipment.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, receiving type infrared sensor 1006, memory 1005 and communication bus 1002.Wherein, communication bus 1002 for realizing Connection communication between these components.The emitting head cycle transmitting of receiving type infrared sensor 1006 is more with different duty A ranging burst signal.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional May include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, Can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media Believe the infrared detection of module, Subscriber Interface Module SIM and air conditioner apart from program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the infrared detection of the air conditioner stored in memory 1005 apart from program, and execute following operation:
The emitting head cycle transmitting for controlling first infrared sensor and the second infrared sensor has different duty Multiple ranging burst signals;
The reflection signal of ranging burst signal and are not received in the reception head for detecting first infrared sensor When the reception head of two infrared sensors receives the reflection signal of ranging burst signal, according to the duty ratio meter of the reflection signal Calculation obtains corresponding first distance and second distance;
The actual range as forefathers and air conditioner is determined according to first distance and second distance, with according to the reality Distance adjusts the operating parameter of the air conditioner.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
The signal of the emitting head transmitting of first infrared sensor is sequentially reduced from big to small, the second infrared sensor The signal of emitting head transmitting is sequentially increased from small to large.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
Judge whether first distance and the absolute value of the difference of second distance are less than or equal to preset value;
If being less than or equal to preset value, the average value of first distance and the difference of second distance is calculated, and according to institute It states average value and determines the actual range for working as forefathers and air conditioner, the operation to adjust the air conditioner according to the actual range is joined Number.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
Obtain the maximum value among first distance and second distance;
The difference of the maximum value and the average value is calculated, and using the difference as the reality as forefathers and air conditioner Distance;
Alternatively, obtaining the minimum value among first distance and second distance;
Calculate the minimum value and the average value and value, and will be described and be worth as the reality for working as forefathers and air conditioner Distance.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
When the reception head of first infrared sensor and the second infrared sensor receives pulse signal, described in judgement Whether the coded format of pulse signal meets the coded format of the ranging burst signal;
If meeting, the reflection signal that judgement receives the ranging burst signal is effective.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
The duty ratio of the reflection signal is obtained respectively;
The corresponding maximum triggering distance of the duty ratio is calculated according to preset formula, respectively by the corresponding maximum Triggering distance is used as first distance and second distance, wherein the preset formula indicates duty ratio and maximum triggering distance Correspondence.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
When obtaining multiple actual ranges, the average value of multiple actual ranges is calculated;
Using the average value of the actual range as the actual range as forefathers and air conditioner, with according to the actual range Adjust the operating parameter of the air conditioner.
Further, processor 1001 can call the infrared detection of the air conditioner stored in memory 1005 apart from journey Sequence also executes following operation:
First infrared sensor and the second infrared sensor are different relative to the height on ground.
It is the flow diagram of the infrared detection distance method first embodiment of air conditioner of the present invention with reference to Fig. 2, Fig. 2;
The present embodiment proposes a kind of infrared detection distance method of air conditioner, the infrared detection distance method packet of the air conditioner Include step:
Step S10, the emitting head cycle transmitting for controlling first infrared sensor and the second infrared sensor have not With multiple ranging burst signals of duty ratio;
Duty ratio refers in a pulse cycle, and conduction time is relative to the ratio shared by total time.Duty ratio (Duty Ratio) there is following meaning in the field of telecommunications:Such as:1 μ s of pulse width, the signal period pulse train duty ratio of 4 μ s are 0.25.Since different duty cycle signals correspond to different power, and different signal powers corresponds to the object distance detected Difference, specially:High-power signal can increase the power of infrared emission, to detect remote object;Low-power Signal can reduce the power of infrared emission, may only detect the object of short distance.Based on this principle, the present invention by it is low at This infrared emission head and infrared receiving terminal realizes the object distance detection of low cost, the final low cost for realizing air conditioner.Into One step, the present invention in view of user in the room for being equipped with air conditioner can not timing walk about, therefore use two actively receive Hairdo infrared sensor, by adjusting its duty cycle signals, to achieve the effect that the mobile user of detection at a distance from air conditioner. Two active receiving type infrared sensors in the present invention all have emitting head and receive head and the first infrared sensor and second Infrared sensor is different relative to the height on ground, illustrates by taking vertical air conditioner as an example, optimum position is:One apart from ground Height be less than 1.2m, another height apart from ground is more than 1.2m.Specifically in implementation process, the first infrared sensing is controlled The signal of the emitting head transmitting of device is sequentially reduced from big to small, that is, is adjusted duty ratio and be sequentially reduced, control the second infrared sensor Emitting head transmitting signal be sequentially increased from small to large, that is, adjust duty ratio be sequentially increased, signal described herein be ranging Pulse signal.
Step S20 is detecting that the reception head of first infrared sensor do not receive the reflection of ranging burst signal When the reception head of signal and the second infrared sensor receives the reflection signal of ranging burst signal, according to the reflection signal Corresponding first distance and second distance is calculated in duty ratio;
The maximum triggering distance duty ratio corresponding with the ranging burst signal of ranging burst signal meets following formula:D =ax2+ bx+c, wherein a, b, c are constant value, respectively a=-0.001, b=0.07, c=0.997.It is understood that If 0.25 duty ratio corresponds to the maximum triggering distance of 2m, that is to say, that infrared when people is less than or equal to 2m at a distance from air conditioner The reception head of sensor can receive the reflection signal of ranging burst signal.
Since the ranging burst signal that the emitting head of the first infrared sensor emits is sequentially reduced from big to small, i.e., pair The duty ratio answered is sequentially reduced, and the ranging burst signal of the emitting head transmitting of the second infrared sensor is to be sequentially increased from small to large , i.e., corresponding duty ratio is sequentially increased, therefore can be sometime, and the reception head of the first infrared sensor does not receive ranging arteries and veins The reception head for rushing the reflection signal of signal and the second infrared sensor receives the reflection signal of ranging burst signal, at this point, obtaining The corresponding duty ratio of reflection signal for taking the ranging burst signal of transmission or the ranging burst signal of reception, according to formula D=ax2 + bx+c obtains corresponding maximum triggering distance, i.e. the first infrared sensor and the second infrared sensor it is currently detected first Distance and second distance, are denoted as D1 and D2 respectively.
Step S30 determines the actual range as forefathers and air conditioner, with basis according to first distance and second distance The actual range adjusts the operating parameter of the air conditioner.
After obtaining the first distance and second distance (D1 and D2), it is calculated as forefathers and air-conditioning according to the two values The more accurate actual range of device, so that air conditioner adjusts its operating parameter according to the actual range, to be supplied to user to relax very much Suitable indoor environment.Explanation will be discussed in detail in specific calculation in a second embodiment, not illustrate herein.
The infrared detection distance method for the air conditioner that the present embodiment proposes, the first infrared sensing of air conditioner built-in receiving type Device and the second infrared sensor, the emitting head cycle transmitting by controlling the first infrared sensor and the second infrared sensor have Multiple ranging burst signals of different duty do not receive ranging burst letter in the reception head for detecting the first infrared sensor Number reflection signal and the reception head of the second infrared sensor when receiving the reflection signal of ranging burst signal, according to the reflection Corresponding first distance and second distance is calculated in the duty ratio of signal, is finally worked as according to the first distance and second distance determination The actual range of forefathers and air conditioner are realized and detect the user's and air conditioner moved in room by receiving type infrared sensor Distance, so that air conditioner adjusts its operating parameter according to the distance, to be supplied to the comfortable indoor environment of user.
Further, with reference to Fig. 3, the infrared detection distance method second of air conditioner of the present invention is proposed based on first embodiment Embodiment, in the present embodiment, the step S30 includes:
Step S31, judges whether first distance and the absolute value of the difference of second distance are less than or equal to preset value;
Step S32 calculates the average value of first distance and the difference of second distance if being less than or equal to preset value;
Step S33 obtains the maximum value among first distance and second distance;
Step S34 calculates the difference of the maximum value and the average value, and using the difference as when forefathers and air-conditioning The actual range of device, to adjust the operating parameter of the air conditioner according to the actual range;
Step S35 obtains the minimum value among first distance and second distance;
Step S36, calculate the minimum value and the average value and value, and described and value is used as when forefathers and air-conditioning The actual range of device, to adjust the operating parameter of the air conditioner according to the actual range.
The present embodiment introduces a kind of method for the actual range for obtaining more accurately working as forefathers and air conditioner according to D1 and D2. Specific calculation is as follows:First calculate | D1-D2 |, then judge | D1-D2 | value whether be less than or equal to preset value, the preset value one As be a smaller value, the positive number in the present embodiment preferably smaller than equal to 0.2 is illustrated so that the preset value is 0.2 as an example, Assuming that the actual range of people and air conditioner is indicated with D, | D1-D2 | when≤0.2, calculate | D1-D2 |/2, if D1 > D2, D =D1- | D1-D2 |/2 or D=D2+ | D1-D2 |/2;If D1 < D2, D=D1+ | D1-D2 |/2 or D=D2- | D1-D2 |/2; If D1=D2, D=D1=D2.Further, if | D1-D2 | > 0.2, then it is assumed that current first infrared sensor and second red The frequency that the people that outer sensor detects walks about indoors is excessive, the actual range of people and air conditioner can be caused to measure not smart enough Really, at this point, air conditioner can be made to be run according to default operational factor, meeting | D1-D2 | when≤0.2, adjusted further according to the D of calculating The operating parameter of the air conditioner.
In technical solution disclosed in the present embodiment, describes and the actual range as forefathers and air conditioner is obtained according to D1 and D2 Method, this method calculating process is simple and has scientific algorithm mode to support so that calculated distance value is closer to true Distance effectively reduces error.
Further, with reference to Fig. 4, the infrared of air conditioner of the present invention is proposed based on first to second embodiment any embodiment Detecting distance method 3rd embodiment, in the present embodiment, the step S10 further includes later:
Step S40, when the reception head of first infrared sensor and the second infrared sensor receives pulse signal, Judge whether the coded format of the pulse signal meets the coded format of the ranging burst signal;
Step S50, if meeting, the reflection signal that judgement receives the ranging burst signal is effective.
In the routine use scene of air conditioner, what pulse signal and the infrared receiving terminal of infrared emission head transmitting received Pulse signal had both been possible to identical, it is also possible to different (for example what is received is disturbing pulse signal).Therefore, to avoid object Erroneous judgement in detection process further carries out corresponding judgement processing in the present embodiment to disturbing pulse signal.
If the coded format for the pulse signal that the reception head of the first infrared sensor and the second infrared sensor receives accords with Close ranging burst signal coded format, then judgement receive is ranging burst signal reflection signal, on the contrary it is then be interfere Pulse signal.
In the present invention, if infrared receiving terminal receives pulse signal, the pre-arranged code format based on ranging burst signal, The rising edge and/or failing edge for judging each pulse signal, for determining that the width of the pulse signal is believed with adjacent ranging burst Whether the interval width between number meets the coded format of ranging burst signal.In addition, for ranging burst signal in the present invention Coded format it is unlimited, be preferably based on the width between the width of pulse signal, successive pulse signals to design ranging burst letter Number coded format.
Pre-arranged code format one:The width stationary phase of the ranging burst signal emitted every time is same, each adjacent ranging burst Interval width stationary phase between signal is same;
Pre-arranged code format two:The width stationary phase of the ranging burst signal emitted every time is same, each adjacent ranging burst Interval width between signal differs;
Pre-arranged code format three:The width of the ranging burst signal emitted every time differs, each adjacent ranging burst letter Interval width between number differs.
In technical solution disclosed in the present embodiment, by judging that the signal received is the reflection signal of ranging burst signal Or disturbing pulse signal, in this way, the influence that can be excluded the interference signal so that the distance of infrared sensor detection is more accurate, with Just the actual range of more accurate people and air conditioner is further obtained.
Further, with reference to Fig. 5, the infrared of air conditioner of the present invention is proposed based on first to 3rd embodiment any embodiment Detecting distance method fourth embodiment, in the present embodiment, the infrared detection distance method of the air conditioner further includes:
Step S60 calculates the average value of multiple actual ranges when obtaining multiple actual ranges;
Step S70, using the average value of the actual range as the actual range as forefathers and air conditioner, with according to Actual range adjusts the operating parameter of the air conditioner.
In technical solution disclosed in the present embodiment, describing in the room for be equipped with air conditioner has multiple people, and obtains more The scene of a D, at this point, most simple directly mode is to calculate the average value of multiple D, using the average value as actual range D, with Air conditioner is set to adjust its operating parameter according to the value.In addition, it is also possible to other mathematical computations modes, such as weighted average, to count Calculate actual range D, a kind of this mode of the unlimited devise a stratagem calculation average value of the present invention.So so that the solution of the present invention can be applicable in more More scenes, applicability is stronger, and application range is wider.
In addition, the embodiment of the present invention also proposes that a kind of air conditioner, the air conditioner include memory, processor, receiving type Infrared sensor and it is stored in the computer program that can be run on the memory and on the processor, the receiving type is red Multiple ranging burst signals of the emitting head cycle transmitting with different duty of outer sensor, the computer program are described Processor realizes the step of infrared detection distance method of the air conditioner described in embodiment as above when executing.
In addition, the embodiment of the present invention also proposes a kind of computer storage media, it is stored on the computer storage media The infrared detection of air conditioner is realized such as apart from program when the infrared detection of the air conditioner is executed apart from program by the processor The step of infrared detection distance method of air conditioner described in upper embodiment.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, cloud server, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of infrared detection distance method of air conditioner, which is characterized in that the first of the air conditioner built-in receiving type is infrared The infrared detection distance method of sensor and the second infrared sensor, the air conditioner includes step:
The emitting head cycle transmitting for controlling first infrared sensor and the second infrared sensor is more with different duty A ranging burst signal;
The reflection signal of ranging burst signal is not received in the reception head for detecting first infrared sensor and second is red When the reception head of outer sensor receives the reflection signal of ranging burst signal, calculated according to the duty ratio of the reflection signal To corresponding first distance and second distance;
The actual range as forefathers and air conditioner is determined according to first distance and second distance, with according to the actual range Adjust the operating parameter of the air conditioner.
2. the infrared detection distance method of air conditioner as described in claim 1, which is characterized in that first infrared sensor The signal of emitting head transmitting be sequentially reduced from big to small, the signal of the emitting head of the second infrared sensor transmitting from small to large according to Secondary increase.
3. the infrared detection distance method of air conditioner as described in claim 1, which is characterized in that it is described according to described first away from From the actual range determined with second distance as forefathers and air conditioner, to adjust the fortune of the air conditioner according to the actual range The step of row parameter includes:
Judge whether first distance and the absolute value of the difference of second distance are less than or equal to preset value;
If being less than or equal to preset value, the average value of first distance and the difference of second distance is calculated, and according to described flat Mean value determines the actual range as forefathers and air conditioner, to adjust the operating parameter of the air conditioner according to the actual range.
4. the infrared detection distance method of air conditioner as claimed in claim 3, which is characterized in that described according to the average value It is determining to include when the step of actual range of forefathers and air conditioner:
Obtain the maximum value among first distance and second distance;
Calculate the difference of the maximum value and the average value, and using the difference as when forefathers and air conditioner it is practical away from From;
Alternatively, obtaining the minimum value among first distance and second distance;
Calculate the minimum value and the average value and value, and by described and value as work as forefathers and air conditioner actually away from From.
5. the infrared detection distance method of air conditioner as described in claim 1, which is characterized in that the control described first is red The step of multiple ranging burst signals of the emitting head of outer sensor and the second infrared sensor cycle transmitting with different duty Further include after rapid:
When the reception head of first infrared sensor and the second infrared sensor receives pulse signal, the pulse is judged Whether the coded format of signal meets the coded format of the ranging burst signal;
If meeting, the reflection signal that judgement receives the ranging burst signal is effective.
6. the infrared detection distance method of air conditioner as described in claim 1, which is characterized in that described to be believed according to the reflection Number duty ratio the step of corresponding first distance and second distance is calculated include:
The duty ratio of the reflection signal is obtained respectively;
The corresponding maximum triggering distance of the duty ratio is calculated according to preset formula, respectively by the corresponding maximum triggering Distance is used as first distance and second distance, wherein the preset formula indicates pair of duty ratio and maximum triggering distance It should be related to.
7. the infrared detection distance method of air conditioner as described in claim 1, which is characterized in that the infrared inspection of the air conditioner Surveying distance method further includes:
When obtaining multiple actual ranges, the average value of multiple actual ranges is calculated;
Using the average value of the actual range as the actual range as forefathers and air conditioner, to be adjusted according to the actual range The operating parameter of the air conditioner.
8. such as the infrared detection distance method of claim 1-7 any one of them air conditioners, which is characterized in that described first is red Outer sensor and the second infrared sensor are different relative to the height on ground.
9. a kind of air conditioner, which is characterized in that the air conditioner includes memory, processor, receiving type infrared sensor and deposits Store up the computer program that can be run on the memory and on the processor, the transmitting of the receiving type infrared sensor Multiple ranging burst signals of the head cycle transmitting with different duty, it is real when the computer program is executed by the processor Now the step of infrared detection distance method of the air conditioner as described in any one of claim 1-8.
10. a kind of computer storage media, which is characterized in that be stored with the infrared inspection of air conditioner on the computer storage media Ranging is realized from program, when the infrared detection of the air conditioner is executed apart from program by the processor as in claim 1-8 The step of infrared detection distance method of any one of them air conditioner.
CN201810276118.5A 2018-03-29 2018-03-29 Infrared distance detection method for air conditioner, air conditioner and computer storage medium Active CN108489049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810276118.5A CN108489049B (en) 2018-03-29 2018-03-29 Infrared distance detection method for air conditioner, air conditioner and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810276118.5A CN108489049B (en) 2018-03-29 2018-03-29 Infrared distance detection method for air conditioner, air conditioner and computer storage medium

Publications (2)

Publication Number Publication Date
CN108489049A true CN108489049A (en) 2018-09-04
CN108489049B CN108489049B (en) 2020-03-06

Family

ID=63317668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810276118.5A Active CN108489049B (en) 2018-03-29 2018-03-29 Infrared distance detection method for air conditioner, air conditioner and computer storage medium

Country Status (1)

Country Link
CN (1) CN108489049B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112274143A (en) * 2020-12-29 2021-01-29 四川写正智能科技有限公司 Human body existing state detection method and detection device
CN112665168A (en) * 2020-12-28 2021-04-16 佛山市顺德区美的电子科技有限公司 Method and device for controlling working state of infrared sensor and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5637040A (en) * 1995-04-13 1997-06-10 Samsung Electronics Co., Ltd. Infrared object detector
CN102022806A (en) * 2009-09-09 2011-04-20 日立空调·家用电器株式会社 Air conditioner
US20160316251A1 (en) * 2015-04-22 2016-10-27 Samsung Display Co., Ltd. Multimedia device and method for driving the same
AT15034U1 (en) * 2013-04-26 2016-11-15 Zumtobel Lighting Gmbh Arrangement and method for recognizing gestures
CN106226777A (en) * 2016-08-17 2016-12-14 乐视控股(北京)有限公司 Infrared acquisition localization method and system
CN107525237A (en) * 2017-08-18 2017-12-29 青岛海尔空调器有限总公司 A kind of intelligent air conditioner control method and intelligent air conditioner
CN107561546A (en) * 2017-08-22 2018-01-09 广东美的制冷设备有限公司 Infrared detection method, infrared detecting device and air conditioner
CN107702278A (en) * 2017-09-11 2018-02-16 美的集团武汉制冷设备有限公司 Air-conditioning system, human body thermal source detection method and computer-readable recording medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5637040A (en) * 1995-04-13 1997-06-10 Samsung Electronics Co., Ltd. Infrared object detector
CN102022806A (en) * 2009-09-09 2011-04-20 日立空调·家用电器株式会社 Air conditioner
AT15034U1 (en) * 2013-04-26 2016-11-15 Zumtobel Lighting Gmbh Arrangement and method for recognizing gestures
US20160316251A1 (en) * 2015-04-22 2016-10-27 Samsung Display Co., Ltd. Multimedia device and method for driving the same
CN106226777A (en) * 2016-08-17 2016-12-14 乐视控股(北京)有限公司 Infrared acquisition localization method and system
CN107525237A (en) * 2017-08-18 2017-12-29 青岛海尔空调器有限总公司 A kind of intelligent air conditioner control method and intelligent air conditioner
CN107561546A (en) * 2017-08-22 2018-01-09 广东美的制冷设备有限公司 Infrared detection method, infrared detecting device and air conditioner
CN107702278A (en) * 2017-09-11 2018-02-16 美的集团武汉制冷设备有限公司 Air-conditioning system, human body thermal source detection method and computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112665168A (en) * 2020-12-28 2021-04-16 佛山市顺德区美的电子科技有限公司 Method and device for controlling working state of infrared sensor and storage medium
CN112665168B (en) * 2020-12-28 2022-04-12 佛山市顺德区美的电子科技有限公司 Method and device for controlling working state of infrared sensor and storage medium
CN112274143A (en) * 2020-12-29 2021-01-29 四川写正智能科技有限公司 Human body existing state detection method and detection device

Also Published As

Publication number Publication date
CN108489049B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN109348409B (en) Positioning processing method and device, intelligent hardware equipment and storage medium
CN107436685B (en) Display device, self-luminous display panel and gesture recognition method
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN106303023B (en) Screen state adjusting method and device
KR102280610B1 (en) Method and apparatus for location estimation of electronic device
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
KR20220150355A (en) Information reporting method, access method determination method, terminal and network device
KR20200132984A (en) Screen brightness adjustment method and terminal
CN109314727B (en) Method and device for controlling screen of mobile terminal
AU2006321675A1 (en) System and method for computing the position of a mobile device operating in a wireless network
CN108518820A (en) Air-conditioner control method, terminal, air conditioner and computer readable storage medium
CN116310061B (en) Data processing method and device and storage medium
CN108489049A (en) Infrared detection distance method, air conditioner and the computer storage media of air conditioner
CN111431552B (en) Terminal device control method, terminal device, and storage medium
CN107784298B (en) Identification method and device
CN108761473A (en) Room-size detection method, air conditioner and the computer storage media of air conditioner
CN110930964A (en) Display screen brightness adjusting method and device, storage medium and terminal
CN108512616B (en) Signal intensity display method, mobile terminal and computer readable storage medium
KR20150098725A (en) Handover method and apparatus of electronic deivce in a wireless communication system
CN108605310B (en) Method and device for adjusting positioning period
CN111065126B (en) Hot spot sharing method and device, storage medium and electronic equipment
CN107015231B (en) Information processing method and electronic equipment
CN107529143A (en) Method of locating terminal, system, device and computer-readable storage medium
CN111726449A (en) Method and equipment for determining ambient brightness of terminal
CN109219056A (en) Router signal covers method of adjustment, the network equipment and readable storage medium storing program for executing

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
GR01 Patent grant
GR01 Patent grant