WO2018040766A1 - 一种抗干扰的红外测障方法 - Google Patents

一种抗干扰的红外测障方法 Download PDF

Info

Publication number
WO2018040766A1
WO2018040766A1 PCT/CN2017/093217 CN2017093217W WO2018040766A1 WO 2018040766 A1 WO2018040766 A1 WO 2018040766A1 CN 2017093217 W CN2017093217 W CN 2017093217W WO 2018040766 A1 WO2018040766 A1 WO 2018040766A1
Authority
WO
WIPO (PCT)
Prior art keywords
infrared
valuea
value
values
interference
Prior art date
Application number
PCT/CN2017/093217
Other languages
English (en)
French (fr)
Inventor
恽为民
杜建强
庞作伟
Original Assignee
上海未来伙伴机器人有限公司
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 上海未来伙伴机器人有限公司 filed Critical 上海未来伙伴机器人有限公司
Publication of WO2018040766A1 publication Critical patent/WO2018040766A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/026Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring distance between sensor and object
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes

Definitions

  • the invention relates to an infrared measuring method, in particular to an anti-interference infrared measuring method, belonging to the technical field of robots.
  • Infrared sensory sensors are the necessary sensors for many obstacle-avoiding robots, including various mobile robots.
  • the main functions are to measure distance, avoid obstacles, and improve the robot's ability.
  • the disadvantage of this method is its poor resistance to ambient light interference, especially warm light sources, and the ability to measure distances is short, mostly in the 40 cm range.
  • the object of the invention is to improve the anti-interference ability of the sensor and solve the problem of short measuring distance.
  • the present invention provides an anti-interference infrared obstacle detection method, comprising the following steps:
  • the infrared transceiver device comprising an infrared transmitting module and an infrared receiving module;
  • the ValueA is linearly adjusted according to the value range of ValueA, and then the electronic control device outputs different voltage values, and finally the measured value of the corresponding distance is obtained according to the voltage value conversion.
  • 30 ValueS are acquired over a period of time.
  • the voltage value is output by pulse width modulation by an electronic control unit.
  • the main control chip of the electronic control unit adopts STM8.
  • the infrared emitting module employs an infrared transmitting tube.
  • the current limiting resistance of the infrared emission tube is 2 ohms.
  • the duty cycle of the infrared emission tube is 10%.
  • anti-environmental light interference can filter out the interference of most light sources
  • Figure 1 is a diagram showing the correspondence between light intensity and distance in a preferred embodiment of the present invention
  • Figure 2 is a diagram showing the correspondence between the adjusted light intensity and the distance in a preferred embodiment of the present invention.
  • STM8 is used as the main control chip to control the infrared emission tube with a 2 ohm current limiting resistor.
  • the duty ratio is about 10% to control the conduction of the tube, thereby enhancing the distance that the infrared barrier sensor can measure, and the distance can reach 80cm.
  • the infrared light will reach the strongest.
  • the intensity of the light at this time is obtained by the infrared receiving tube, and a maximum value of ValueH is obtained.
  • the infrared emitting tube is turned off, a light intensity is obtained, and the value is the environment.
  • the STM8 uses PWM pulse width modulation to output the voltage value of the corresponding distance. At this time, the value will not output the change of the current distance, and the change in the near distance is larger, while the distance in the far distance changes slightly. It is.
  • the use of the above two equations will be described in detail below using actual measurement data.
  • the first column in Table 1 is the distance between the infrared light emission point and the obstacle (subject), measured approximately once every 4 cm, and the ValueA is recorded, that is, the value of the second column "measured light intensity" in the table. .
  • the ValueA is 240
  • 240 is between 0 and 3000
  • the ValueA is 3070
  • the 3070 is 3000-4000
  • the data of the first column and the second column are plotted in Excel as Fig. 1.
  • the light intensity value and the distance value are nonlinearly corresponding.
  • the light intensity value changes abruptly, resulting in a large measurement error. .
  • the recognition is lost, and the distance measurement cannot be achieved.
  • the principle of infrared ranging is that the light intensity value is converted into a voltage value, and the voltage value is converted into a measured distance value.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

一种抗干扰的红外测障方法,包括如下步骤:(1)依靠电子控制装置控制红外收发装置的导通与关闭;(2)在红外收发装置导通的瞬间,红外光强记为ValueH;(3)当红外停止发射后,环境光强记为ValueL;(4)有效红外光强ValueS=ValueH-ValueL,(5)在一段时间内重复以上步骤,获取N个ValueS,采用平滑滤波算法,取平均值ValueA=ValueS/N;(6)根据ValueA的数值范围对ValueA作线性调整,然后由电子控制装置输出不同的电压值,最后根据电压值转换得到相应距离的测量值。该方法提高了测量距离,能抗环境光干扰,测量值与距离呈较为线性增加。

Description

一种抗干扰的红外测障方法 技术领域
本发明涉及一种红外测障方法,特别涉及一种抗干扰的红外测障方法,属于机器人技术领域。
背景技术
红外测障传感器是目前较多避障机器人上必备的传感器,包括各种移动机器人,主要功能是测量距离,避开障碍物,提升机器人的能力。
现有的红外测距方案大多是直接以一定的功率持续发射红外光线,当遇到障碍物后,随着距离的远近不同,红外接收管接收的红外光线的强度不同,以此来确定距离障碍物的远近。
这种方法的缺点是抗环境光干扰的能力很差,尤其是暖光源,并且能够测量的距离较短,大多在40cm范围内。
发明内容
本发明的目的是提升传感器的抗干扰能力,解决测量距离较短的问题。
为了解决上述技术问题,本发明提供了一种抗干扰的红外测障方法,包括如下步骤:
(1)依靠电子控制装置控制红外收发装置的导通与关闭,红外收发装置包括红外发射模块和红外接收模块;
(2)在红外收发装置导通的瞬间,红外发射模块发出的红外光线达到最强,由红外接收模块获取光线强度,记为ValueH;
(3)当红外发射模块关闭后,由红外接收模块获取光线强度,此值为环境光的强度,记为ValueL;
(4)计算有效红外光线强度ValueS=ValueH-ValueL,
(5)在一段时间内重复以上步骤,获取N个ValueS,采用平滑滤波算法,取平均值ValueA=ValueS/N,ValueA即滤除环境光干扰后的红外光线强度的有效值;
(6)根据ValueA的数值范围对ValueA作线性调整,然后由电子控制装置输出不同的电压值,最后根据电压值转换得到相应距离的测量值。
优选地,在一段时间内获取30个ValueS。
优选地,当ValueA的数值范围是3000~4000时,根据公式y=1000+3*(x-3000)重新计算ValueA的值。当ValueA的数值范围是1000~3000时,根据公式y=(999*x)/3000重新计算ValueA的值。
优选地,由电子控制装置用脉冲宽度调制输出电压值。电子控制装置的主控芯片采用STM8。
优选地,红外发射模块采用红外发射管。红外发射管的限流电阻为2欧姆。红外发射管的占空比为10%。
本发明的有益效果:
1、提高了测量的距离,增强至80cm;
2、抗环境光干扰,可以滤除大部分光源的干扰;
3、测量值与距离呈较为线性增加。
附图说明
图1是本发明一个较佳实施例中的光强与距离的对应图;
图2是本发明一个较佳实施例中调整后的光强与距离的对应图。
具体实施方式
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。需说明的是,本发明附图均采用简化的形式且均使用非精准的比例,仅用以方便、明晰地辅助说明本发明实施例的目的。
由STM8作为主控芯片,控制红外发射管以2欧姆的限流电阻,以占空比约10%来控制管子导通,以此增强红外测障传感器能够测量的距离,距离可达到80cm。在导通的瞬间,红外光线会达到最强,此时用红外接收管获取此时的光线强度,获得一个值为最大值ValueH,当红外发射管关闭后,获取一个光线强度,此值为环境光的的强度,记为ValueL,所以此时的有效的红外光强应该为ValueS=ValueH-ValueL,在一段时间内获取30个ValueS,采用平滑滤波算法,避免值被一些干扰值,突变影响,取平均值ValueA=ValueS/N,此值就是滤除环境光干扰的有效值。
由于红外发射的光线在一定的范围内接收的红外光强是由强变弱跨度较大,不是呈现y=kx的曲线。所以,在取到几十组不同距离的ValueA之后,使用方程式y=1000+3*(x-3000),将范围在3000~4000的值整理到1000~4000;使用方程式y=(999*x)/3000,将范围在0~3000的值整理到0~999。由STM8用PWM脉宽调制输出相应距离的电压值,此时其值就不会输出现随着的距离的变化,在较近的距离变化幅度较大,而较远的距离却变化微小的问题了。
以下用实际测量数据详细说明上述两个方程式的使用。表1中的第一列是红外光线发射点与障碍物(被测物)的距离,大致每隔4cm测量1次,记录ValueA,即表中的第二列“测得光强”的各个数值。第三列“调整后光强”的数值,分别是第二列各数值经过方程式y=1000+3*(x-3000)或y=(999*x)/3000调整后的结 果。
表1
距离(cm) 测得光强 调整后光强
0 200 66.6
4 240 79.92
10 350 116.55
14 600 199.8
18 1950 649.35
22 2530 842.49
26 2840 945.72
30 3070 1210
34 3200 1600
38 3280 1840
42 3390 2170
46 3440 2320
50 3490 2470
54 3510 2530
58 3560 2680
62 3580 2740
66 3590 2770
70 3610 2830
74 3640 2920
78 3650 2950
82 3670 3010
例如,当测量距离是4cm时,得到ValueA为240,240在0~3000之间,使用方程式y=(999*x)/3000。将x=240代入y=(999*x)/3000,得到y=(999*240)/3000=79.92。
当测量距离是26cm时,得到ValueA为2840,2840仍在0~3000之间,使用方程式y=(999*x)/3000。将x=2840代入y=(999*x)/3000,得到y=(999*2840)/3000=945.72。
以上利用方程式y=(999*x)/3000将光强范围在0~3000的值整理到0~999。
当测量距离是30cm时,得到ValueA为3070,3070在3000~4000,开始使用方程式y=1000+3*(x-3000)。将x=3070代入y=1000+3*(x-3000),得到y=1000+3 (3070-3000)=1210。
测量距离是30cm以后的数据,全部使用方程式y=1000+3*(x-3000)计算,得到表1中的所有数据。方程式y=1000+3*(x-3000)将光强范围在3000~4000的值整理到1000~4000。
将第一列与第二列数据用Excel绘制成图1,从图1可知,光强值与距离值并非线性对应,在15cm~30cm测量段,光强值急剧变化,导致很大的测量误差。在40cm以后,光强值变化太小,失去了辨识度,无法起到测距作用。红外测距的原理是,依靠光强值转换为电压值,电压值再转换为测得距离值。用这种传统红外测距方式,在15~30cm测量段,测量所得的距离值和真实距离值误差很大;在40cm以后的测量段,此方式变得不可用。
第三列数据以第二列数据为基础,根据方程式y=1000+3*(x-3000)或y=(999*x)/3000调整后的结果。将第一列和第三列数据用Excel绘制成图2,从图2可知,从0~80cm的测量段,光强值和距离值均保持较好的线性关系,大致符合y=42.094x的关系,拟合程度R2=0.9442。这就是说,使用光强值测量距离是可靠的,不仅误差小,而且测量范围大。由此可见,本发明的红外测距方案比现有技术优越得多。
以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术人员无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。

Claims (9)

  1. 一种抗干扰的红外测障方法,其特征在于,包括如下步骤:
    (1)依靠电子控制装置控制红外收发装置的导通与关闭,所述红外收发装置包括红外发射模块和红外接收模块;
    (2)在所述红外收发装置导通的瞬间,所述红外发射模块发出的红外光线达到最强,由所述红外接收模块获取光线强度,记为ValueH;
    (3)当所述红外发射模块关闭后,由所述红外接收模块获取光线强度,此值为环境光的强度,记为ValueL;
    (4)计算有效红外光线强度ValueS=ValueH-ValueL,
    (5)在一段时间内重复以上步骤,获取N个ValueS,采用平滑滤波算法,取平均值ValueA=ValueS/N,ValueA即滤除环境光干扰后的红外光线强度的有效值;
    (6)根据ValueA的数值范围对ValueA作线性调整,然后由所述电子控制装置输出不同的电压值,最后根据所述电压值转换得到相应距离的测量值。
  2. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,在一段时间内获取30个ValueS。
  3. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,当ValueA的数值范围是3000~4000时,根据公式y=1000+3*(x-3000)重新计算ValueA的值。
  4. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,当ValueA的数值范围是1000~3000时,根据公式y=(999*x)/3000重新计算ValueA的值。
  5. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,由所述电子控制装置用脉冲宽度调制输出所述电压值。
  6. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,所述电子控制装置的主控芯片采用STM8。
  7. 根据权利要求1所述的一种抗干扰的红外测障方法,其特征在于,所述红外发射模块采用红外发射管。
  8. 根据权利要求7所述的一种抗干扰的红外测障方法,其特征在于,所述红外发射管的限流电阻为2欧姆。
  9. 根据权利要求7所述的一种抗干扰的红外测障方法,其特征在于,所述红外发射管的占空比为10%。
PCT/CN2017/093217 2016-08-30 2017-07-17 一种抗干扰的红外测障方法 WO2018040766A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610777774.4 2016-08-30
CN201610777774.4A CN106443688A (zh) 2016-08-30 2016-08-30 一种抗干扰的红外测障方法

Publications (1)

Publication Number Publication Date
WO2018040766A1 true WO2018040766A1 (zh) 2018-03-08

Family

ID=58090467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093217 WO2018040766A1 (zh) 2016-08-30 2017-07-17 一种抗干扰的红外测障方法

Country Status (2)

Country Link
CN (1) CN106443688A (zh)
WO (1) WO2018040766A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111610783A (zh) * 2020-04-29 2020-09-01 尚科宁家(中国)科技有限公司 自主机器人的行进控制方法、自主机器人及存储介质
CN113551598A (zh) * 2021-07-20 2021-10-26 钛玛科(北京)工业科技有限公司 一种红外宽幅传感器检测装置及遮挡物的位置检测方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106443688A (zh) * 2016-08-30 2017-02-22 上海未来伙伴机器人有限公司 一种抗干扰的红外测障方法
CN107621641B (zh) 2017-09-20 2019-06-21 歌尔股份有限公司 红外测障方法、装置及机器人
CN110749939B (zh) * 2018-07-23 2021-09-24 杰克缝纫机股份有限公司 一种缝纫机的布料检测方法及系统
WO2020087376A1 (zh) * 2018-10-31 2020-05-07 深圳市大疆创新科技有限公司 光探测方法、光探测装置和移动平台
CN110132323A (zh) * 2019-04-23 2019-08-16 深圳市志奋领科技有限公司 一种环境光干扰的消除方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101806895A (zh) * 2009-02-17 2010-08-18 宏碁股份有限公司 测距系统及测距方法
CN101855512A (zh) * 2007-11-14 2010-10-06 英特赛尔美国股份有限公司 近程传感器及感测接近程度的方法
EP2664890A1 (en) * 2012-05-18 2013-11-20 Université d'Aix-Marseille Method and device for measuring the angular position of an emitting or reflecting object with hyperacuity
CN106443688A (zh) * 2016-08-30 2017-02-22 上海未来伙伴机器人有限公司 一种抗干扰的红外测障方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102116863B (zh) * 2009-12-30 2013-06-05 鸿富锦精密工业(深圳)有限公司 红外线测距装置
CN102650691B (zh) * 2011-02-24 2014-01-22 原相科技股份有限公司 具校正功能的测距系统与方法
CN202757689U (zh) * 2012-08-02 2013-02-27 上海未来伙伴机器人有限公司 红外检测装置
CN104503574B (zh) * 2014-12-17 2017-08-25 青岛海信移动通信技术股份有限公司 一种距离传感器的校准方法、装置及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101855512A (zh) * 2007-11-14 2010-10-06 英特赛尔美国股份有限公司 近程传感器及感测接近程度的方法
CN101806895A (zh) * 2009-02-17 2010-08-18 宏碁股份有限公司 测距系统及测距方法
EP2664890A1 (en) * 2012-05-18 2013-11-20 Université d'Aix-Marseille Method and device for measuring the angular position of an emitting or reflecting object with hyperacuity
CN106443688A (zh) * 2016-08-30 2017-02-22 上海未来伙伴机器人有限公司 一种抗干扰的红外测障方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111610783A (zh) * 2020-04-29 2020-09-01 尚科宁家(中国)科技有限公司 自主机器人的行进控制方法、自主机器人及存储介质
CN113551598A (zh) * 2021-07-20 2021-10-26 钛玛科(北京)工业科技有限公司 一种红外宽幅传感器检测装置及遮挡物的位置检测方法

Also Published As

Publication number Publication date
CN106443688A (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2018040766A1 (zh) 一种抗干扰的红外测障方法
JP6899946B2 (ja) トランスデューサコントローラを形成する方法及びそのための回路
CN104302081B (zh) 一种ct球管中灯丝电流的控制方法和设备
EP2544761A1 (en) Operation and estimation of output voltage of wireless stimulators
US20220299613A1 (en) Pulse ranging device and method, and automatic cleaning apparatus having same
IL39129A (en) Method and devices for measuring range
CN103684385B (zh) 一种抗干扰的光电开关电路
El Mentaly et al. Comparison between HC, FOCV and TG MPPT algorithms for PV solar systems using buck converter
CN202648801U (zh) 一种被动式红外探测器
CN106598107B (zh) 一种基于反馈系统的可自动调节光电传感器信号电路
US20160373126A1 (en) Method for stabilizing gain of apd in medical laser receiver
CN111912901A (zh) 一种基于无线传感的农业灌溉水质检测系统及其检测方法
CN218351894U (zh) 激光二极管电路
CN107861427B (zh) 信号处理装置和信号处理方法
CN112198520B (zh) 一种红外光电传感器测距盲区减小方法
Cho et al. Auto Gain Control method using the current sensing amplifier to compensate the walk error of the TOF LiDAR (ICCAS 2019)
CN217404534U (zh) 激光雷达设备
CN203732164U (zh) 人体红外能检测电路
CN205120534U (zh) 粉尘检测装置
CN210166508U (zh) 一种红外线障碍物距离检测电路
CN104634463A (zh) 用于超声波测距温度补偿的温度检测电路
CN117784157B (zh) 一种dtof不同反射率目标的测距补偿方法
CN111367334A (zh) 地检发射控制电路及扫地机器人
CN216560176U (zh) 烟雾检测传感器电路及烟雾传感器
CN208654642U (zh) 自动保持距离装置及智能跟随设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17845069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.06.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17845069

Country of ref document: EP

Kind code of ref document: A1