The infrared induction detection method and its sensing sanitary appliance of adaptive motion object

文档序号:1770912 发布日期:2019-12-03 浏览:13次 中文

阅读说明:本技术 自适应运动物体的红外感应检测方法及其感应洁具 (The infrared induction detection method and its sensing sanitary appliance of adaptive motion object ) 是由 张荣根 于 2019-09-01 设计创作,主要内容包括:本发明公开了一种自适应运动物体的红外感应检测方法,提供一个内部设有红外发射装置和红外接收装置的红外感应装置,红外发射装置向不可移动的基准物区域发射红外光,红外接收装置接收基准物区域反射回的多组红外光数值,由控制电路计算平均值Rb和差值△Rb作为检测基准数据,然后红外发射装置以设定周期T1向基准物区域发射红外光,红外接收装置动态接收由基准物区域反射回的即时红外光数值Rt,根据红外光数值Rt判定基准物区域内是否增加了物体,增加物体后运行运动检测模式,计算识别出渐近式、渐远式和静止不动三种检测模式,根据不同检测模式控制执行机构进行相应的动作。本发明不增加硬件成本,红外感应检测可靠性高,电路功耗低。(The invention discloses a kind of infrared induction detection methods of adaptive motion object, the infrared inductor that one inside is equipped with infrared launcher and infrared receiving device is provided, infrared launcher is to immovable primary standard substance field emission infrared light, infrared receiving device receives the multiple groups infrared light numerical value that benchmark object area is reflected back, average value Rb and difference △ Rb are calculated as detection reference data by control circuit, then infrared launcher is to set cycle T 1 to primary standard substance field emission infrared light, infrared receiving device dynamically receives the instant infrared light numerical value Rt being reflected back by benchmark object area, according to whether increasing object in infrared light numerical value Rt determinating reference object area, motion detection mode is run after increasing object, calculating identifies asymptotic expression, gradually remote formula and stationary three kinds of detection patterns, according to different detection moulds Formula control executing agency is acted accordingly.The present invention does not increase hardware cost, and infrared induction detects high reliablity, and circuit power consumption is low.)

1. the infrared induction detection method of adaptive motion object, it is characterised in that: the following steps are included:

S1, provide inside be equipped with infrared launcher (11) and infrared receiving device (12) infrared inductor (1) and Control circuit (2), infrared launcher (11) emit infrared light, infrared receiver to an immovable benchmark object area (3) Device (12) receives the multiple groups infrared light numerical value that benchmark object area (3) are reflected back, and calculates simultaneously average storage by control circuit (2) Rb and difference △ Rb, average value Rb and difference △ Rb are as detection reference data;

S2, infrared launcher (11) emit infrared light, infrared receiving device (12) to set cycle T 1 to benchmark object area (3) The instant infrared light numerical value Rt being reflected back by benchmark object area (3) is dynamically received, is calculated by control circuit (2) | Rt-Rb | value, if | Rt-Rb | >=△ Rb is judged as in benchmark object area (3) and increases object;If | Rt-Rb | < △ Rb is judged as benchmark object area (3) execution signal is not exported without increase object, control circuit (2) in;

S3, when control circuit (2) detect increase in benchmark object area (3) have object after, infrared launcher (11) enters fortune Dynamic detection pattern, infrared launcher (11) will be emitted with the cycle T 2 more shorter than setting cycle T 1 to benchmark object area (3) red Outer light receives the instant infrared light numerical value Rt that benchmark object area (3) are reflected back by infrared receiving device (12) dynamic, if control Circuit (2) calculate series of IR light numerical value Rt1, Rt2, Rt3 ... Rtn for receiving have Rt1≤Rt2≤Rt3≤... The trend of≤Rtn, then increased object is just moving closer to infrared inductor (1), control circuit in determinating reference object area (3) (2) output can drive the execution signal A of executing agency;

If S4, control circuit (2) calculate series of IR light numerical value Rt1, Rt2, Rt3 ... the Rtn received in S3 step For Rt1 ≈ Rt2 ≈ Rt3 ≈ ... ≈ Rtn, i.e., when the difference amplitude of series of IR light numerical value is less than △ Rb, then determinating reference object Increased object is kept in the area in region (3), and control circuit (2) exports the execution signal B that can drive executing agency;

If S5, control circuit (2) calculate series of IR light numerical value Rt1, Rt2, Rt3 ... the Rtn received in S3 step With Rt1 >=Rt2 >=Rt3 >=... the trend of >=Rtn, increased object is just being gradually distance from red in determinating reference object area (3) Outer sensing device (1), control circuit (2) export the execution signal C that can drive executing agency;

S6, infrared launcher (11) continue to emit infrared light to benchmark object area (3), and infrared receiving device (12) continues to The instant infrared light numerical value Rt being reflected back by benchmark object area (3), is continued to calculate by control circuit (2) | Rt-Rb | value, if | Rt- Rb | < △ Rb judges that increased object has been moved off in benchmark object area (3), and control circuit (2) output can drive execution The execution signal D of mechanism, and infrared inductor (1) exits motion detection mode, is back to step S2 mode, keeps low function Consumption state.

2. the infrared induction detection method of adaptive motion object according to claim 1, it is characterised in that: install for the first time Afterwards, the infrared inductor (1) runs mode of learning, ensures not increase in immovable benchmark object area (3) at this time Object, infrared launcher (11) Xiang Suoshu benchmark object area (3) emits infrared light under natural light illumination environment, described infrared Reception device (12) receives the infrared numerical value that benchmark object area (3) are reflected back, and control circuit (2) stores numerical value Rb1;In darkroom Infrared launcher (11) emits infrared light to benchmark object area (3) under illumination environment, and infrared receiving device (3) 12 receives benchmark The infrared numerical value that object area (3) is reflected back, control circuit (2) store numerical value Rb2;Calculate simultaneously average storage Rb=| Rb1+ Rb2 |/2 be the infra-red radiation a reference value of benchmark object area (3);Calculate simultaneously saved differences △ Rb=| Rb1-Rb2 |/2 be benchmark object The infra-red radiation deviation in region (3).

3. the infrared induction detection method of adaptive motion object according to claim 1 or 2, it is characterised in that: infrared Average value Rb and difference △ Rb: the infrared inductor (1) and control circuit is periodically calibrated when sensing device (1) is run automatically (2) the infrared light numerical value being reflected back within each consecutive days with 1 real-time detection benchmark object area (3) of cycle T, and deposited with insertion Storage is the infrared light numerical value array R_TABLE of an ascending sequence;Array intermediate value is calculated, it is two that array R_TABLE, which is divided to, Group;Wherein one group of infrared light numerical value array segment being reflected back for benchmark object area (3) under natural light illumination in the daytime, another group is night Between the infrared light numerical value array segment that is reflected back of benchmark object area (3) under the illuminance of darkroom;It calculatesFinally calculate mean value Rb=| Rb1+Rb2|/2;Calculating difference △ Rb=| Rb1-Rb2 |/2.

4. the infrared induction detection method of adaptive motion object according to claim 1, it is characterised in that: the execution Signal A, B, C, D require to set according to corresponding executing agency.

5. the infrared induction detection method of adaptive motion object according to claim 1, it is characterised in that: the setting 1 time span of cycle T is 20 times of 2 time span of cycle T or more.

6. the sensing sanitary appliance of the infrared induction detection method of adaptive motion object according to claim 1, feature exist In: the benchmark object area (3) includes sensing sanitary appliance ontology, and the infrared inductor (1) and control circuit (2) are set to induction In the induction tap installed on sanitary ware ontology.

Technical field

The present invention relates to infrared induction detection technique field more particularly to the infrared induction detection sides of adaptive motion object Method and its sensing sanitary appliance.

Background technique

Since the infrared external reflection numerical value and the object to sensing device distance of same object have characteristic as shown in Figure 1, Infrared induction detection device is exactly utilized the characteristic and works, and can realize that automatic sensing triggers in a manner of at low cost, existing All a large amount of installation infrared induction detection devices in many products such as induction door, sensing sanitary appliance product.

Since existing infrared induction detection device mostly uses greatly the common mode triggered there are formula induction red to realize Outer induction, principle are whether to have sense object in detection setting regions, need to preset induction region before use, need really Protecting in use environment cannot have the reflection object that can reflect infrared light (to be fixedly mounted on infrared induction in preset induction region Stationary object such as sanitary appliance basin before detection device can not be in induction region), it otherwise can malfunction or incude failure;Separately Outside when the preset value for occurring in induction region from being arranged when factory has the sense object of different infrared reflectivities, it will lead to When use its practical induction range and factory preset induction region it is different to the case where, such as antiradar reflectivity substance (such as black Clothes, dark skin, hair etc.), many infrared induction detection devices will appear induction failure or induction region is reduced significantly Problem;And false triggering will appear to high reflectance substance (such as mirror surface, highlighted object) or induction region significantly increases grade shadows Ring normal use the case where, i.e., existing infrared induction detection device induction reflecting region setting it is excessive when be easy false triggering, The setting of induction reflecting region reacts insensitive when too small, influences the service performance for being equipped with the product of infrared induction detection device.

To solve the above-mentioned problems, PSD photoelectric detection system (Position Sensitive is installed on some products Detector) or defect of the laser detector to improve infrared induction detection device, but will be shown using these detection devices It writes and increases product cost, also will increase Product Assembly debugging difficulty, (it is normal to guarantee that such as PSD needs to be arranged dedicated optical mirror slip Work), and will increase the power consumption of product, than being used less suitable for using battery powered occasion.

In order to improve the sensitivity and accuracy of infrared induction detection device, Publication No. CN1749691B, patent name Disclosed in patent for " infrared induction detection method and infrared induction detection device " using an immovable sanitary ware as Benchmark, with a main infrared launcher to the reference emission infrared light, by infrared receiving device receive by baseline reflectance Instant infrared light numerical value compared with a reference value of the baseline reflectance of storage, then the auxiliary infrared launcher that receives issued Infrared light determines the starting of executive device compared with a reference value.The infrared induction detection method and infrared induction detection device Preferable induction detection can be carried out to the extremely low substance of infrared reflection rate, but it needs to increase an auxiliary infrared launcher Or position sensitive detectors part, it is big using the product cost height and power consumption of this induction detection device, it is not a simple use The optimal technical scheme of infrared induction detection.

Summary of the invention

To solve the above-mentioned problems, the purpose of the present invention is to provide the infrared induction detection methods of adaptive motion object And its sensing sanitary appliance, a kind of detection method of important improvement is proposed on the basis of existing infrared inductor, by infrared sense It answers active area intervention triggering to be improved to digital measuring under different mode to determine, can greatly improve infrared induction detection can By property.

To achieve the above object, the invention adopts the following technical scheme:

A kind of infrared induction detection method of adaptive motion object, comprising the following steps:

S1, infrared inductor and control electricity that an inside is equipped with infrared launcher and infrared receiving device are provided Road, infrared launcher receive primary standard substance area to an immovable primary standard substance field emission infrared light, infrared receiving device The multiple groups infrared light numerical value that domain is reflected back calculates simultaneously average storage Rb and difference △ Rb, average value Rb and difference by control circuit Value △ Rb is as detection reference data;

To set cycle T 1 to primary standard substance field emission infrared light, infrared receiving device dynamic is connect for S2, infrared launcher The instant infrared light numerical value Rt being reflected back by benchmark object area is received, is calculated by control circuit | Rt-Rb | value, if | Rt-Rb | >=△ Rb is judged as in benchmark object area and increases object;If | Rt-Rb | < △ Rb is judged as in benchmark object area without increasing object Body, control circuit do not export execution signal;

S3, when control circuit detect in benchmark object area increase have object after, infrared launcher enters motion detection Mode, infrared launcher, to primary standard substance field emission infrared light, will be connect with the cycle T 2 more shorter than setting cycle T 1 by infrared Receiving apparatus dynamic receives the instant infrared light numerical value Rt that is reflected back of benchmark object area, if control circuit calculate receive be Column infrared light numerical value Rt1, Rt2, Rt3 ... Rtn have Rt1≤Rt2≤Rt3≤... the trend of≤Rtn, then determinating reference object Increased object just moves closer to infrared inductor in region, and control circuit exports the execution signal that can drive executing agency A;

If S4, control circuit calculate series of IR light numerical value Rt1, Rt2, Rt3 ... the Rtn received in S3 step For Rt1 ≈ Rt2 ≈ Rt3 ≈ ... ≈ Rtn, i.e., when the difference amplitude of series of IR light numerical value is less than △ Rb, then determinating reference object Increased object is kept in the area in region, and control circuit exports the execution signal B that can drive executing agency;

If S5, control circuit calculate series of IR light numerical value Rt1, Rt2, Rt3 ... the Rtn received in S3 step With Rt1 >=Rt2 >=Rt3 >=... the trend of >=Rtn, increased object is just being gradually distance from infrared sense in determinating reference object area Device is answered, control circuit exports the execution signal C that can drive executing agency;

S6, infrared launcher continue to primary standard substance field emission infrared light, and infrared receiving device is continued to by benchmark The instant infrared light numerical value Rt that object area is reflected back, is continued to calculate by control circuit | Rt-Rb | value, if | Rt-Rb | < △ Rb sentences Increased object has been moved off in disconnected benchmark object area out, and control circuit exports the execution signal D that can drive executing agency, and And infrared inductor exits motion detection mode, is back to step S2 mode, keeps low power consumpting state.

Further, after installing for the first time, the infrared inductor runs mode of learning, ensures at this time immovable Benchmark object area does not increase object, and infrared launcher is infrared to the primary standard substance field emission under natural light illumination environment Light, the infrared receiving device receive the infrared numerical value that benchmark object area is reflected back, and control circuit stores numerical value Rb1;Dark For infrared launcher to primary standard substance field emission infrared light, it is anti-that infrared receiving device 12 receives benchmark object area under the illumination environment of room The infrared numerical value being emitted back towards, control circuit store numerical value Rb2;Calculate simultaneously average storage Rb=| Rb1+Rb2 |/2 be benchmark object The infra-red radiation a reference value in region;Calculate simultaneously saved differences △ Rb=| Rb1-Rb2 |/2 is inclined for the infra-red radiation of benchmark object area Difference.

Further, average value Rb and difference △ Rb: the infrared sense is periodically calibrated when infrared inductor is run automatically The infrared light numerical value for answering device and control circuit to be reflected back within each consecutive days with 1 real-time detection benchmark object area of cycle T, and The infrared light numerical value array R_TABLE of an ascending sequence is stored as with insertion;Array intermediate value is calculated, by array R_ It is two groups that TABLE, which is divided to,;Wherein one group of infrared light numerical value array segment being reflected back for benchmark object area under natural light illumination in the daytime, separately One group of infrared light numerical value array segment being reflected back for the benchmark object area under the illuminance of night darkroom;It calculates Finally calculate mean value Rb=| Rb1+Rb2|/2;Calculating difference △ Rb=| Rb1-Rb2 |/2.

Further, described execution signal A, B, C, D in above-mentioned steps requires to set according to corresponding executing agency.

Further, described in above-mentioned steps set 1 time span of cycle T as 20 times of 2 time span of cycle T with On.

The sensing sanitary appliance of infrared induction detection method based on above-mentioned adaptive motion object, the benchmark object area include Sensing sanitary appliance ontology, the infrared inductor and control circuit are set in the induction tap installed on sensing sanitary appliance ontology.

The invention has the following beneficial effects:

1, the present invention improves common stationary object infrared induction method on the basis of existing infrared inductor For identifiable asymptotic expression, gradually remote formula and stationary three kinds of detection patterns, it is red using immovable primary standard substance field emission Outer light value, which is used as, judges benchmark, and the infrared numerical value that real-time detection benchmark object area internal reflection is returned utilizes numerical value multilevel iudge Infrared induction detection reliability is greatly improved, the accuracy of control executing agency is improved, is less prone to malfunction;

2, the present invention improves detection method on the basis of existing infrared inductor, does not increase circuit hardware cost, It can be achieved with corresponding detection calculations and control using the existing hardware configuration in inductive control circuit, excavate to greatest extent red The potential of outer induction detection embedded Control circuit, is highly suitable for matching in multiple household electrical appliances, electronic product and equipment;

3, the present invention is low using the control circuit overall power of the infrared induction detection method of adaptive motion object, even if Being equipped with common dry cell could be used that some months or more, and low-voltage, low-power consumption work are very suitable to circuit safety requirement High product can reduce the Safety Approval cost of electronic product.

In short, the present invention does not need to increase the hardware cost of infrared inductor and control circuit, infrared induction detection can It by property height, and can reduce circuit overall power, be highly suitable for using in the product using the power supply of common low-voltage battery, As used in sensing sanitary appliance, smart home.

Detailed description of the invention

Fig. 1 is the performance diagram of the infrared external reflection numerical value of object;

Fig. 2 is the schematic diagram that the present invention detects immovable infrared light value of primary standard substance field emission;

Fig. 3 is the schematic diagram that detection emits infrared light value when increasing object in the immovable benchmark object area of the present invention;

Fig. 4 is the flow diagram of the infrared induction detection method of adaptive motion object of the present invention;

Fig. 5 is the circuit diagram that the infrared induction detection method of adaptive motion object of the present invention uses.

Description of symbols:

1, infrared inductor;11, infrared emission fills;12, infrared receiving device;2, control circuit;3, benchmark object area.

Specific embodiment

The present invention is described in further details below in conjunction with the drawings and specific embodiments:

Referring to shown in Fig. 1-5, a kind of infrared induction detection method of adaptive motion object, comprising the following steps:

S1, infrared inductor 1 and control that an inside is equipped with infrared launcher 11 and infrared receiving device 12 are provided Circuit 2 processed, infrared launcher 11 emit infrared light to an immovable benchmark object area 3, and infrared receiving device 12 connects The multiple groups infrared light numerical value that benchmark object area 3 is reflected back is received, simultaneously average storage Rb and difference △ Rb is calculated by control circuit 2, Average value Rb and difference △ Rb is as detection reference data;

S2, infrared launcher 11 emit infrared light to set cycle T 1 to benchmark object area 3, and infrared receiving device 12 is dynamic State receives the instant infrared light numerical value Rt being reflected back by benchmark object area 3, is calculated by control circuit 2 | Rt-Rb | value, if | Rt-Rb | >=△ Rb, is judged as in benchmark object area 3 and increases object;If | Rt-Rb | < △ Rb, being judged as in benchmark object area 3 does not have Increase object, control circuit 2 does not export execution signal;

S3, when control circuit 2 detect in benchmark object area 3 increase have object after, infrared launcher 11 enter movement Detection pattern, infrared launcher 11 will emit infrared light to benchmark object area 3 with the cycle T 2 more shorter than setting cycle T 1, by Infrared receiving device 12 dynamically receives the instant infrared light numerical value Rt that benchmark object area 3 is reflected back, if control circuit 2 calculates Series of IR light numerical value Rt1, Rt2, Rt3 ... the Rtn received have Rt1≤Rt2≤Rt3≤... the trend of≤Rtn, then Increased object is just moving closer to infrared inductor 1 in determinating reference object area 3, and the output of control circuit 2 can drive execution The execution signal A of mechanism;

If S4, control circuit 2 calculate series of IR light numerical value Rt1, Rt2, the Rt3 ... received in S3 step Rtn is Rt1 ≈ Rt2 ≈ Rt3 ≈ ... ≈ Rtn, i.e., when the difference amplitude of series of IR light numerical value is less than △ Rb, then determinating reference Increased object is kept in the area in object area 3, and control circuit 2 exports the execution signal B that can drive executing agency;

If S5, control circuit 2 calculate series of IR light numerical value Rt1, Rt2, the Rt3 ... received in S3 step Rtn have Rt1 >=Rt2 >=Rt3 >=... the trend of >=Rtn, increased object is just being gradually distance from red in determinating reference object area 3 Outer sensing device 1, control circuit 2 export the execution signal C that can drive executing agency;

S6, infrared launcher 11 continue to benchmark object area 3 emit infrared light, infrared receiving device 12 continue to by The instant infrared light numerical value Rt that benchmark object area 3 is reflected back, is continued to calculate by control circuit 2 | Rt-Rb | value, if | Rt-Rb | < △ Rb judges that increased object has been moved off in benchmark object area 3, and control circuit 2 exports the execution that can drive executing agency Signal D, and infrared inductor 1 exits motion detection mode, is back to step S2 mode, keeps low power consumpting state.

After installing for the first time, the infrared inductor 1 runs mode of learning, ensures at this time in immovable primary standard substance area Domain 3 does not increase object, and infrared launcher 11 emits infrared light to the benchmark object area 3 under natural light illumination environment, The infrared receiving device 12 receives the infrared numerical value that benchmark object area 3 is reflected back, and control circuit 2 stores numerical value Rb1;Dark Infrared launcher 11 emits infrared light to benchmark object area 3 under the illumination environment of room, and infrared receiving device 312 receives primary standard substance area The infrared numerical value that domain 3 is reflected back, control circuit 2 store numerical value Rb2;Calculate simultaneously average storage Rb=| Rb1+Rb2 |/2 are The infra-red radiation a reference value of benchmark object area 3;Calculate simultaneously saved differences △ Rb=| Rb1-Rb2 |/2 be the red of benchmark object area 3 External radiation deviation.

Average value Rb and difference △ Rb: 1 He of infrared inductor is periodically calibrated when infrared inductor 1 is run automatically The infrared light numerical value that control circuit 2 is reflected back within each consecutive days with 1 real-time detection benchmark object area 3 of cycle T, and with insertion Method is stored as the infrared light numerical value array R_TABLE of an ascending sequence;Array intermediate value is calculated, by array R_TABLE points It is two groups;Wherein one group of infrared light numerical value array segment being reflected back for benchmark object area 3 under natural light illumination in the daytime, another group is The infrared light numerical value array segment that benchmark object area 3 under night darkroom illuminance is reflected back;It calculates N is the natural number greater than 2, Finally calculate mean value Rb=| Rb1+Rb2 |/2;Calculating difference △ Rb=| Rb1-Rb2 |/2.

Described execution signal A, B, C, D requires to set according to corresponding executing agency.

1 time span of cycle T that sets is 20 times of 2 time span of cycle T or more, and when actual motion, T1 is settable It may be configured as 20ms for 500ms, T2.

According to the sensing sanitary appliance of the infrared induction detection method of the adaptive motion object, the benchmark object area 3 Including sensing sanitary appliance ontology, the infrared inductor 1 and control circuit 2 are set to the induction fire hose installed on sensing sanitary appliance ontology In head.

The foregoing is merely a specific embodiment of the invention, are not intended to limit the scope of the invention, all benefits The equivalent structure transformation made by description of the invention and accompanying drawing content is applied directly or indirectly in other relevant technology necks Domain is included within the scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种地铁屏蔽门与列车门之间异物监测的监测系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!