CN102072718A - Distance measuring device using imaging position difference for distance measurement and correction method thereof - Google Patents
Distance measuring device using imaging position difference for distance measurement and correction method thereof Download PDFInfo
- Publication number
- CN102072718A CN102072718A CN2009102467544A CN200910246754A CN102072718A CN 102072718 A CN102072718 A CN 102072718A CN 2009102467544 A CN2009102467544 A CN 2009102467544A CN 200910246754 A CN200910246754 A CN 200910246754A CN 102072718 A CN102072718 A CN 102072718A
- Authority
- CN
- China
- Prior art keywords
- sensing
- light
- distance
- signal
- image sensor
- 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
Links
- 238000012937 correction Methods 0.000 title claims abstract description 45
- 238000003384 imaging method Methods 0.000 title abstract description 76
- 238000000034 method Methods 0.000 title abstract description 14
- 238000005259 measurement Methods 0.000 title description 6
- 238000004364 calculation method Methods 0.000 claims description 93
- 238000012360 testing method Methods 0.000 claims description 30
- 238000004020 luminiscence type Methods 0.000 claims 25
- 230000001915 proofreading effect Effects 0.000 claims 11
- 238000001514 detection method Methods 0.000 description 40
- 238000010586 diagram Methods 0.000 description 18
- 230000001186 cumulative effect Effects 0.000 description 14
- 238000006073 displacement reaction Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 3
- 239000012491 analyte Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000035508 accumulation Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003205 fragrance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Measurement Of Optical Distance (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本发明有关于一种测距装置,更明确地说,有关于一种利用成像位置差异以测距的测距装置。The present invention relates to a distance measuring device, more specifically, relates to a distance measuring device which utilizes differences in imaging positions for distance measurement.
背景技术Background technique
在公知技术中,测距装置对待测物发射侦测光,并接收由待测物反射侦测光所产生的反射光。测距装置可借由反射光的成像位置的差异以推算测距装置与待测物之间的距离。然而,测距装置在感测待测物所产生的反射光时,会同时受到背景光与闪烁现象(如因电源系统的频率而造成的日光灯闪烁)的影响,而产生量测误差,得到不正确的待测距离。除此之外,于生产过程中,当组装测距装置时,由于测距装置内部的组件的位置会因组装误差而产生偏移或旋转角度,因此测距装置在量测距离时会受到组装误差的影响,而得到不正确的待测距离,造成使用者的不便。In the known technology, the distance measuring device emits detection light from the object to be detected, and receives reflected light generated by reflecting the detection light from the object to be detected. The distance-measuring device can estimate the distance between the distance-measuring device and the object to be measured by the difference of the imaging position of the reflected light. However, when the distance measuring device senses the reflected light generated by the object to be measured, it will be affected by the background light and the flicker phenomenon (such as the flickering of the fluorescent lamp caused by the frequency of the power system) at the same time, resulting in measurement errors and obtaining different results. The correct distance to be measured. In addition, during the production process, when the distance measuring device is assembled, the position of the components inside the distance measuring device will be offset or rotated due to assembly errors, so the distance measuring device will be subject to assembly when measuring the distance. Due to the influence of the error, the incorrect distance to be measured is obtained, causing inconvenience to the user.
发明内容Contents of the invention
本发明提供一种利用成像位置差异以测距的测距装置,该测距装置具有一发光组件、一第一镜头与一影像传感器。该发光组件用来发出一侦测光射向一待测物,以使该待测物产生一反射光。该第一镜头用来汇聚一背景光或该反射光。该影像传感器用来感测该第一镜头所汇聚的光的能量,以产生M个光感测信号。该测距装置进一步包含一发光/感测控制电路,以及一距离计算电路。该发光/感测控制电路,用于一距离感测阶段时,控制该发光组件发光,且同时控制该影像传感器感测该第一镜头所汇聚的光的能量,以产生M个第一光感测信号,于一噪声感测阶段内控制该发光组件不发光,且同时控制该影像传感器感测该第一镜头所汇聚的光的能量,以产生M个第二光感测信号。M代表正整数。该距离计算电路,用来根据该M个第一光感测信号与该M个第二光感测信号,以判断该反射光于该影像传感器上的一成像位置,并根据该成像位置、该第一镜头的一焦距、该发光组件与该影像传感器之间的一第一已知距离,以计算该测距装置与该待测物之间的一待测距离。The invention provides a distance measuring device which utilizes differences in imaging positions to measure distance. The distance measuring device has a light-emitting component, a first lens and an image sensor. The light-emitting component is used to emit a detection light to an object under test, so that the object under test generates a reflected light. The first lens is used to gather a background light or the reflected light. The image sensor is used for sensing the energy of the light collected by the first lens to generate M light sensing signals. The distance measuring device further includes a lighting/sensing control circuit and a distance calculation circuit. The light emitting/sensing control circuit is used in a distance sensing stage to control the light emitting component to emit light, and at the same time control the image sensor to sense the energy of the light collected by the first lens to generate M first light sensors In a noise sensing stage, the light-emitting component is controlled not to emit light, and at the same time, the image sensor is controlled to sense the energy of the light collected by the first lens, so as to generate M second light-sensing signals. M represents a positive integer. The distance calculation circuit is used to determine an imaging position of the reflected light on the image sensor according to the M first light sensing signals and the M second light sensing signals, and according to the imaging position, the A focal length of the first lens and a first known distance between the light-emitting component and the image sensor are used to calculate a distance to be measured between the distance measuring device and the object to be measured.
本发明另提供一种利用成像位置差异以测距的测距装置。该测距装置具有一发光组件、一第一镜头与一影像传感器。该发光组件用来发出一侦测光射向一待测物,以使该待测物产生一反射光。该第一镜头用来汇聚一背景光或该反射光。该影像传感器具有M个感测单元。该M个感测单元用来感测该第一镜头所汇聚的光的能量,以产生M个光感测信号。该测距装置的特征在于包含一发光/感测控制电路,以及一距离计算电路。该发光/感测控制电路用于一距离感测阶段时,控制该发光组件发光,且同时控制该影像传感器感测该第一镜头所汇聚的光的能量,以产生M个第一光感测信号,于一噪声感测阶段内控制该发光组件不发光,且同时控制该影像传感器感测该第一镜头所汇聚的光的能量,以产生M个第二光感测信号。M代表正整数。该距离计算电路用来根据该M个第一光感测信号与该M个第二光感测信号,以判断该反射光于该影像传感器上的一成像位置,并根据该成像位置、该第一镜头的一焦距、该发光组件与该影像传感器之间的一第一已知距离,以计算该测距装置与该待测物之间的一待测距离。该距离计算电路包含复数个储存单元。该复数个储存单元分别用来储存该M个第一光感测信号与该M个第二光感测信号。该发光/感测控制电路借由产生一发光脉冲信号,以控制该发光组件发出该侦测光射向该待测物,来使该待测物据以产生该反射光。该发光/感测控制电路借由产生一快门脉冲信号以控制该影像传感器的该M个感测单元根据于该快门脉冲信号,分别感测该第一镜头所汇聚的光的能量,以据以产生该M个光感测信号。该发光/感测控制电路借由产生一读取信号,以使该影像传感器的该M个感测单元输出该M个光感测信号至该距离计算电路。该发光/感测控制电路借由产生一阶段信号以控制该距离计算电路接收该M个第一光感测信号与该M个第二光感测信号,以判断该反射光于该影像传感器上的该成像位置,并根据该成像位置、该第一镜头的该焦距、该发光组件与该影像传感器之间的该第一已知距离,以计算该测距装置与该待测物之间的该待测距离。当该阶段信号表示总和时,该距离计算电路将所接收的该M个第一光感测信号标记为M个正光感测信号。当该阶段信号表示噪声时,该距离计算电路将所接收的该M个第二光感测信号标记为M个负光感测信号。当该阶段信号表示计算距离时,该距离计算电路将该复数个储存单元所储存的正光感测信号与负光感测信号相减,并选出相减之后所储存的值最大的储存单元,以据以判断该反射光于该影像传感器上的该成像位置,并根据该成像位置、该第一镜头的该焦距、该发光组件与该影像传感器之间的该第一已知距离,以计算该测距装置与该待测物之间的该待测距离。The present invention further provides a ranging device for measuring distance by utilizing the difference of imaging positions. The distance measuring device has a light emitting component, a first lens and an image sensor. The light-emitting component is used to emit a detection light to an object under test, so that the object under test generates a reflected light. The first lens is used to gather a background light or the reflected light. The image sensor has M sensing units. The M sensing units are used to sense the energy of the light collected by the first lens to generate M light sensing signals. The feature of the distance measuring device is that it includes a lighting/sensing control circuit and a distance calculation circuit. When the light emitting/sensing control circuit is used in a distance sensing stage, it controls the light emitting component to emit light, and at the same time controls the image sensor to sense the energy of the light collected by the first lens, so as to generate M first light sensing The signal controls the light-emitting component not to emit light in a noise sensing phase, and at the same time controls the image sensor to sense the energy of the light collected by the first lens, so as to generate M second light-sensing signals. M represents a positive integer. The distance calculation circuit is used to determine an imaging position of the reflected light on the image sensor according to the M first light sensing signals and the M second light sensing signals, and according to the imaging position, the first light sensing signal A focal length of a lens and a first known distance between the light-emitting component and the image sensor are used to calculate a distance to be measured between the distance measuring device and the object to be measured. The distance calculation circuit includes a plurality of storage units. The plurality of storage units are respectively used to store the M first photo-sensing signals and the M second photo-sensing signals. The light-emitting/sensing control circuit generates a light-emitting pulse signal to control the light-emitting component to emit the detection light to the object under test, so that the object under test can generate the reflected light accordingly. The light emitting/sensing control circuit generates a shutter pulse signal to control the M sensing units of the image sensor to respectively sense the energy of the light collected by the first lens according to the shutter pulse signal, so as to The M light sensing signals are generated. The light emitting/sensing control circuit generates a reading signal, so that the M sensing units of the image sensor output the M light sensing signals to the distance calculation circuit. The light emitting/sensing control circuit controls the distance calculation circuit to receive the M first light sensing signals and the M second light sensing signals by generating a stage signal to determine whether the reflected light is on the image sensor The imaging position, and according to the imaging position, the focal length of the first lens, and the first known distance between the light-emitting component and the image sensor, to calculate the distance between the distance measuring device and the object under test The distance to be measured. When the phase signal represents a sum, the distance calculation circuit marks the received M first light sensing signals as M positive light sensing signals. When the phase signal represents noise, the distance calculation circuit marks the received M second light-sensing signals as M negative light-sensing signals. When the stage signal indicates the calculated distance, the distance calculation circuit subtracts the positive light sensing signal and the negative light sensing signal stored in the plurality of storage units, and selects the storage unit with the largest stored value after the subtraction, to determine the imaging position of the reflected light on the image sensor, and according to the imaging position, the focal length of the first lens, and the first known distance between the light-emitting component and the image sensor, to calculate The distance to be measured between the distance measuring device and the object to be measured.
本发明另提供一种用来校正利用成像位置差异以测距的一测距装置的校正方法。该测距装置的一发光组件发射一侦测光至一待测物,并反射回该测距装置的一影像传感器,以得到一第一成像位置,该测距装置可根据该第一成像位置、该测距装置的一第一镜头的一焦距、该发光组件与该影像传感器之间的一第一已知距离,以计算该测距装置与该待测物之间的一待测距离。该校正方法包含该测距装置的该发光组件发出该侦测光至一校正物,并反射回该测距装置的该影像传感器,以得出一第二成像位置、根据一已知距离、该第二成像位置,以计算出用来校正该测距装置的一组装误差角度的一校正参数,以及该测距装置根据该校正参数以计算出经校正后的该待测距离。该测距装置与该校正物之间的距离为该已知距离。The present invention further provides a calibration method for calibrating a distance-measuring device using imaging position differences for distance-measuring. A light-emitting component of the distance measuring device emits a detection light to an object to be measured, and reflects back to an image sensor of the distance measuring device to obtain a first imaging position, and the distance measuring device can use the first imaging position , a focal length of a first lens of the distance-measuring device, and a first known distance between the light-emitting component and the image sensor, so as to calculate a distance to be measured between the distance-measuring device and the object to be measured. The calibration method includes that the light-emitting component of the distance measuring device emits the detection light to a calibration object, and reflects back to the image sensor of the distance measuring device to obtain a second imaging position, according to a known distance, the The second imaging position is used to calculate a correction parameter for correcting an assembly error angle of the distance measuring device, and the distance measuring device calculates the corrected distance to be measured according to the correction parameter. The distance between the ranging device and the calibration object is the known distance.
附图说明Description of drawings
图1与图2为说明本发明的利用成像位置差异以测距的测距装置的结构及工作原理的示意图。FIG. 1 and FIG. 2 are schematic diagrams illustrating the structure and working principle of a distance measuring device utilizing differences in imaging positions to measure distance according to the present invention.
图3为说明测距装置减少闪烁现象的工作原理的示意图。FIG. 3 is a schematic diagram illustrating the working principle of the distance measuring device for reducing the flicker phenomenon.
图4为说明校正发光组件所发出的侦测光的发光误差角度的方法的示意图。FIG. 4 is a schematic diagram illustrating a method for correcting a light-emitting error angle of detection light emitted by a light-emitting component.
图5与图6为说明因组装误差而使影像传感器旋转感测误差角度的校正方法的示意图。FIG. 5 and FIG. 6 are schematic diagrams illustrating a method for correcting the rotation sensing error angle of the image sensor due to assembly errors.
图7为说明本发明的影像传感器的结构的第一实施例的示意图。FIG. 7 is a schematic diagram illustrating a first embodiment of the structure of the image sensor of the present invention.
图8为说明利用图7的影像传感器以侦测反射光的成像位置的工作原理的示意图。FIG. 8 is a schematic diagram illustrating the working principle of using the image sensor in FIG. 7 to detect the imaging position of reflected light.
图9为说明本发明的影像传感器的结构的另一实施例的示意图。FIG. 9 is a schematic diagram illustrating another embodiment of the structure of the image sensor of the present invention.
图10为说明利用图9的影像传感器以侦测反射光的成像位置的工作原理的示意图。FIG. 10 is a schematic diagram illustrating the working principle of detecting the imaging position of reflected light by using the image sensor of FIG. 9 .
图11为说明本发明的影像传感器的结构的另一实施例的示意图。FIG. 11 is a schematic diagram illustrating another embodiment of the structure of the image sensor of the present invention.
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
100 测距装置100 Distance measuring device
110 发光/感测控制电路110 Light/sensing control circuit
120 发光组件120 Light-emitting components
130、700、900、1100 影像传感器130, 700, 900, 1100 image sensor
140 距离计算电路140 Distance calculation circuit
150 参数计算电路150 Parameter Calculation Circuit
B1~BM 感测背景光的能量B 1 ~B M Sensing the energy of background light
CS1~CSM、CS11~CSNK、感测单元CS 1 ~CS M , CS 11 ~CS NK , sensing unit
CSNQ CS NQ
LEN1、LEN2 镜头LEN 1 , LEN 2 lenses
CO1、CO2 校正物CO 1 , CO 2 calibrator
L、DC1、DC2 已知距离Known distance of L, D C1 , D C2
DCS、DCSI、DCSJ 成像位置D CS , D CSI , D CSJ imaging positions
DCSX 投影距离D CSX projection distance
DF 焦距D F focal length
DM 待测距离D M distance to be measured
LB 背景光L B background light
LID 侦测光L ID detection light
LF 直线L F straight line
LRD 反射光L RD reflected light
MO 待测物MO Object to be tested
OF 焦点O F focus
P1、P2 功率P 1 , P 2 power
RK 感测反射光的能量R K senses the energy of reflected light
SAB 参数信号S AB parameter signal
SALS、SALS1~SALS2N 累计光感测信号S ALS , S ALS1 ~ S ALS2N accumulative light sensing signal
SLD 发光脉冲信号S LD light pulse signal
SLS 光感测信号S LS light sensing signal
SP 阶段信号S P phase signal
SRE 读取信号S RE read signal
SST 快门脉冲信号S ST shutter pulse signal
T1+、T2+ 距离感测阶段T 1+ , T 2+ distance sensing stage
T1-、T2- 噪声感测阶段T 1- , T 2- noise sensing stage
TC、TR 脉冲宽度T C , T R pulse width
TF 交流电周期T F AC cycle
θ1、θ2、θ1I、θ2I、 角度θ 1 , θ 2 , θ 1I , θ 2I , angle
θ1J、θ2J θ 1J , θ 2J
θLD 发光误差角度θ LD luminous error angle
θCS1、θCS2 感测误差角度θ CS1 , θ CS2 sensing error angle
具体实施方式Detailed ways
本发明提供一种利用成像位置差异以测距的测距装置,借由将测距装置中的影像传感器所感测的光感测信号,移除掉背景光与闪烁光的部分,来降低背景光与闪烁现象的影响。除此之外,本发明另提供一种校正方法,来校正测距装置的组装误差,以提高测距的精确度。The present invention provides a distance-measuring device that utilizes differences in imaging positions to measure distances. The background light is reduced by removing the background light and flickering light from the light sensing signal sensed by the image sensor in the distance-measuring device. Effect with flicker phenomenon. In addition, the present invention further provides a calibration method for correcting the assembly error of the distance measuring device, so as to improve the accuracy of distance measurement.
请参考图1与图2。图1与图2为说明本发明的利用成像位置差异以测距的测距装置100的结构及工作原理的示意图。测距装置110用来量测待测物MO与测距装置100之间的待测距离DM。测距装置100包含一发光/感测控制电路110、一发光组件120、一影像传感器130、一距离计算电路140、一参数计算电路150,以及一镜头LEN1。测距装置100的内部各组件的耦接关系如图1所示,故不再赘述。Please refer to Figure 1 and Figure 2. FIG. 1 and FIG. 2 are schematic diagrams illustrating the structure and working principle of a
发光/感测控制电路110用来产生发光脉冲信号SLD、快门脉冲信号SST、阶段信号SP、读取信号SRE,以及已知距离信号SD。测距装置100于测距时可分为两阶段:1.距离感测阶段;2.噪声感测阶段。当测距装置100于距离感测阶段时,发光/感测控制电路110同时产生表示「发光」的发光脉冲信号SLD与表示「开启」的快门脉冲信号SST,且二者的脉冲宽度皆为TC;然后发光/感测控制电路110再同时产生表示「读取」的读取信号SRE与表示「总和」的阶段信号SP,且二者的脉冲宽度皆为TR。当测距装置100于噪声感测阶段时,发光/感测控制电路110产生表示「开启」的快门脉冲信号SST且同时发光脉冲信号SLD表示「不发光」,且快门脉冲信号的脉冲宽度为TC;然后发光/感测控制电路110再同时产生表示「读取」的读取信号SRE与表示「噪声」的阶段信号SP,且二者的脉冲宽度皆为TR。The lighting/
发光组件120,用来根据发光脉冲信号SLD,以发出侦测光LID射向待测物MO,以使待测物MO产生反射光LRD。更明确地说,当发光脉冲信号SLD表示「发光」时,发光组件120发出侦测光LID射向待测物MO;当发光脉冲信号SLD表示「不发光」时,发光组件120不发出侦测光LID。此外,发光组件120可为发光二极管(Light-Emitting Diode,LED)或雷射二极管(laser diode)。当发光组件120为发光二极管时,测距装置100可选择性地包含一镜头LEN2,以用来汇聚侦测光LID以射向待测物MO。The light-emitting
镜头LEN1用来汇聚背景光LB或反射光LRD至影像传感器130。影像传感器130包含M个并排的感测单元CS1~CSM,且每个感测单元的宽度皆等于画素宽度WPIX,意即M个并排的感测单元CS1~CSM的总宽度为M×WPIX。感测单元CS1~CSM用来根据快门脉冲信号SST,以感测镜头LEN1所汇聚的光的能量。更明确地说,当快门脉冲信号SST表示「开启」时,感测单元CS1~CSM感测镜头LEN1所汇聚的光(如背景光LB或反射光LRD)的能量以据以产生光感测信号;当快门脉冲信号SST表示「关闭」时,感测单元CS1~CSM不感测镜头LEN1所汇聚的光的能量。举例来说,当快门脉冲信号SST表示「开启」时,感测单元CS1感测镜头LEN1所汇聚的光的能量并据以产生光感测信号SLS1;感测单元CS2感测镜头LEN1所汇聚的光的能量并据以产生光感测信号SLS2;依此类推,感测单元CSM感测镜头LEN1所汇聚的光的能量并据以产生光感测信号SLSM。此外,当读取信号SRE表示「读取」时,感测单元CS1~CSM分别输出光感测信号SLS1~SLSM。The lens LEN 1 is used to gather the background light LB or the reflected light L RD to the
距离计算电路140包含复数个储存单元,分别用来储存感测单元CS1~CSM所输出的光感测信号SLS1~SLSM,且根据阶段信号SP,设定所接收的光感测信号的属性。在本实施例中,以距离计算电路140包含M个储存单元M1~MM作举例说明。当阶段信号SP表示「总和」时,储存单元M1~MM将所接收的光感测信号SLS1~SLSM设定为正,意即所接收的光感测信号SLS1~SLSM根据阶段信号SP表示「总和」而被标记为正光感测信号SLS1+~SLSM+;当阶段信号SP表示「噪声」时,储存单元M1~MM将所接收的光感测信号SLS1~SLSM设定为负,意即所接收的光感测信号SLS1~SLSM根据阶段信号SP表示「噪声」而被标记为负光感测信号SLS1-~SLSM-。距离计算电路140便可根据正光感测信号SLS1+~SLSM+与负光感测信号SLS1-~SLSM-,计算出待测距离DM。以下将说明距离计算电路140计算待测距离DM的工作原理。The
如图2左半部所示,于距离感测阶段内,发光/感测控制电路110会产生代表「发光」的发光脉冲信号SLD,而使得发光组件120发出侦测光LID射向待测物MO,以使待测物MO产生反射光LRD。此时,发光/感测控制电路110产生代表「开启」的快门脉冲信号SST,而使得感测单元CS1~CSM感测反射光LRD与背景光LB的能量,以分别产生光感测信号SLS1~SLSM。然后发光/感测控制电路110会输出代表「读取」的读取信号SRE,以使影像传感器130输出光感测信号SLS1~SLSM至距离计算电路140,且发光/感测控制电路110会产生代表「总和」的阶段信号SP以指示距离计算电路140此时所接收的光感测信号为距离感测阶段内的光感测信号,意即为正光感测信号SLS1+~SLSM+。设于距离感测阶段内,反射光LRD主要汇聚成像于感测单元CSK,则此时距离计算电路140所接收的正光感测信号SLS1+~SLSM+的值如图2右上半部所示,感测单元CSK同时感测到背景光LB与反射光LRD(意即待测物MO成像于感测单元CSK上)。因此,感测信号SLSK+等于感测单元CSK感测背景光LB所累积的能量BK加上感测单元CSK感测反射光LRD所累积的能量RK,而其它感测单元则只接收到背景光LB。因此,感测信号SLS1+等于感测单元CS1感测背景光LB所累积的能量B1;感测信号SLS21+等于感测单元CS2感测背景光LB所累积的能量B2;依此类推,感测信号SLSM+等于感测单元CSM感测背景光LB所累积的能量BM。As shown in the left half of FIG. 2 , during the distance sensing phase, the lighting/
如图2左半部所示,于噪声感测阶段内,发光/感测控制电路110会产生代表「开启」的快门脉冲信号SST,而使得感测单元CS1~CSM感测镜头LEN1所汇聚的光,以产生光感测信号SLS1~SLSM。然而,此时发光/感测控制电路110会产生代表「不发光」的发光脉冲信号SLD,因此发光组件120不会发出侦测光LID射向待测物MO,且待测物MO也不会产生反射光LRD。然后发光/感测控制电路110会输出代表「读取」的读取信号SRE,以使影像传感器130输出光感测信号SLS1~SLSM至距离计算电路140,且发光/感测控制电路110会产生代表「噪声」的阶段信号SP以指示距离计算电路140此时所接收的光感测信号为噪声感测阶段内的光感测信号,意即为负光感测信号SLS1-~SLSM-。此时距离计算电路140所接收的光感测信号SLS1-~SLSM-的值如图2右下半部所示。由于快门脉冲信号SST于距离感测阶段与噪声感测阶段的脉冲宽度相同(皆为时间长度TC)。因此感测单元CS1~CSM在距离感测阶段与噪声感测阶段所产生的光感测信号SLS1~SLSM对应于背景光LB累积的部分会相等。换句话说,正光感测信号SLS1+~SLSM+中的背景光累积的能量会等于负光感测信号SLS1-~SLSM-中的背景光累积的能量(B1~BM)。As shown in the left half of FIG. 2 , during the noise sensing phase, the light emitting/
在经过距离感测阶段与噪声感测阶段后,发光/感测控制电路110会产生代表「计算距离」的阶段信号SP。此时距离计算电路140会将储存单元中的正光感测信号与负光感测信号相减,并选出相减之后所储存的值最大的储存单元并据以判断反射光LRD于影像传感器130上的成像位置。也就是说,距离计算电路140的储存单元M1~MM所储存的值分别等于正光感测信号SLS1+~SLSM+的值减去负光感测信号SLS1-~SLSM-的值。更明确地说,储存单元M1储存正光感测信号SLS1+与负光感测信号SLS1-,由于正光感测信号SLS1+等于B1且负光感测信号SLS1-等于B1,因此储存单元M1经过相减之后所储存的值为零;储存单元M2储存正光感测信号SLS2+与负光感测信号SLS2-,由于正光感测信号SLS2+等于B2且负光感测信号SLS2-等于B2,因此储存单元M2经过相减之后所储存的值为零;依此类推,储存单元MK储存正光感测信号SLSK+与负光感测信号SLSK-,由于正光感测信号SLS2+等于(BK+RK)且负光感测信号SLS2-等于BK,因此储存单元MK余香减之后所储存的值为RK;储存单元MM储存正光感测信号SLSM+与负光感测信号SLSM-,由于正光感测信号SLSM+等于BM且负光感测信号SLSM-等于BM,因此储存单元MM相减之后所储存的值为零。换句话说,在储存单元M1~MM之中,储存单元MK的值等于RK,而其它储存单元的值皆等于零,因此距离计算电路140可据以选择储存单元MK,意即储存单元MK所储存的光感测信号具有对应于反射光LRD的能量。由于储存单元MK为储存感测单元CSK所产生的光感测信号,因此距离计算电路140可判断出待测物MO所产生的反射光LRD主要汇聚成像于感测单元CSK。如此,距离计算电路140可更进一步地根据待测物MO所产生的反射光LRD主要汇聚成像于感测单元CSK,而由下式推算出图1中反射光LRD的成像位置DCS:After the distance sensing phase and the noise sensing phase, the lighting/
DCS=K×WPIX…(1);D CS = K×W PIX . . . (1);
此外,由于在图1中镜头LEN1的焦点OF1与感测单元CS1之间所形成的直线LF平行于侦测光LID,因此侦测光LID及反射光LRD的夹角θ1与直线LF及反射光LRD的夹角θ2相等。换句话说tanθ1与tanθ2的关系可以下式表示:In addition, since the straight line LF formed between the focal point OF1 of the lens LEN 1 and the sensing unit CS 1 in FIG. 1 is parallel to the detection light L ID , the included angle between the detection light L ID and the reflected light L RD θ 1 is equal to the angle θ 2 between the straight line LF and the reflected light L RD . In other words, the relationship between tanθ 1 and tanθ 2 can be expressed as follows:
tanθ1=L/DM=tanθ2=DCS/DF…(2);tanθ 1 = L/D M = tanθ 2 = D CS /D F ... (2);
其中L代表发光组件120与影像传感器130(侦测光LID与直线LF)之间的已知距离、DCS代表反射光LRD的成像位置、DF代表镜头LEN1的焦距。根据式(2),待测距离DM可以下式表示:Wherein L represents the known distance between the light-emitting
DM=(DF×L)/DCS…(3);D M = (D F × L)/D CS ... (3);
因此,距离计算电路140可借由式(1)先计算出成像位置DCS,再借由式(3),根据已知距离L、焦距DF,以计算出待测距离DM。Therefore, the
综上所述,在测距装置100之中,于距离感测阶段内,发光/感测控制电路110控制发光组件120发出侦测光LID射至待测物MO,且将感测单元CS1~CSM感测镜头LEN1所汇聚的光(如反射光LRD与背景光LB)而据以产生的正光感测信号SLS1+~SLSM+储存于储存单元M1~MM。于噪声感测阶段内,发光/感测控制电路110控制发光组件120不发出侦测光LID,且将感测单元CS1~CSM感测镜头LEN1所汇聚的光(如背景光LB)而据以产生的负光感测信号SLS1+~SLSM+储存于储存单元M1~MM。此时,储存单元M1~MM的值会等于正光感测信号SLS1+~SLSM+减去负光感测信号SLS1-~SLSM-。因此,对应于反射光LRD所汇聚的感测单元CSK的储存单元MK的值会大于其它储存单元的值。如此,距离计算电路140可判断出反射光LRD所汇聚的感测单元CSK,并据以计算出反测光LRD的成像位置DCS。因此,距离计算电路140可根据成像位置DCS、镜头LEN1的焦距DF、已知距离L以计算出待测距离DM。To sum up, in the
此外,在测距装置100中,距离感测阶段与噪声感测阶段可反复进行多次(如Y次),以使储存单元M1~MM可储存对应于Y个距离感测阶段的正光感测信号,与对应于Y个噪声感测阶段的负光感测信号。由于每个距离感测阶段的正光感测信号对应于背景光的能量的部分,会被对应的噪声感测阶段的负光感测信号所抵销,因此除了对应于反射光LRD所汇聚成像的感测单元CSK的储存单元MK的值会等于(Y×RK)之外,其它储存单元的值皆等于零。如此一来,即使因反射光LRD的能量较弱而使感测单元CSK所据以累积的能量RK较小,测距装置100仍可借由进行多次的距离感测阶段与噪声感测阶段(也就是说,将Y变大),以放大储存单元MK的值与其它储存单元之间的差异,而让距离计算电路140可正确地找出具有最大值的储存单元MK,并据以计算出反射光LRD的成像位置DCS,以提高准确度。In addition, in the
请参考图3。图3为说明测距装置100减少闪烁现象的工作原理的示意图。由于一般室内光源所接收的电源为交流电,因此除了背景光LB外,另一部分的背景光(闪烁光)LF会受到交流电的频率的影响而闪烁。举例而言,室内的日光灯的电源为交流电,因此日光灯所发射的光会受到交流电的频率的影响而闪烁。在图3中,设交流电的周期为TF(如交流电的频率为60Hz、交流电的周期为0.0167秒)。交流电的功率P会随着时间不停的变动,因此闪烁光LF的功率也会随着时间不停的变动。然而,交流电的功率P每隔半交流电周期(TF/2)就会循环一次。举例而言,当时间为T时,交流电的功率P等于PT;则当时间为(T+TF/2)时,交流电的功率P仍等于PT。又闪烁光LF的功率正比于交流电的功率P,因此闪烁光LF的功率会类似交流电的功率,以每隔半交流电周期(TF/2)就会循环一次。如此一来,在测距装置100中,发光/感测控制电路110可借由控制距离感测阶段(如图3所示的T1+与T2+)与噪声感测阶段(如图3所示的T1-与T2-)的时间间隔等于半交流电周期(TF/2),以减低闪烁现象的影响。更明确地说,发光/感测控制电路110,控制感测单元CS1~CSM于距离感测阶段T1+(或T2+)感测对应于交流电的功率P1(或P2)的闪烁光LF,而使得感测单元CS1~CSM所产生的正光感测信号对应于闪烁光LF的部分会等于F11~FM1(或F12~FM2)。且发光/感测控制电路110控制距离感测阶段T1+(或T2+)与噪声感测阶段T1-(或T2-)的时间间隔等于半交流电周期TF/2(如0.0083秒)。因此,感测单元CS1~CSM于噪声感测阶段T1-(或T2-)内所感测的闪烁光LF的功率与感测单元CS1~CSM于距离感测阶段T1+(或T2+)内所感测的闪烁光LF的功率相同。如此于噪声感测阶段T1-(或T2-)内,感测单元CS1~CSM所产生的负光感测信号对应于闪烁光LF的部分也会等于F11~FM1(或F12~FM2)。因此,距离感测阶段T1+(或T2+)的正光感测信号对应于闪烁光LF的部分,会被对应的噪声感测阶段T1-(或T2-)的负光感测信号所抵销。换句话说,除了对应于反射光LRD所汇聚成像的感测单元CSK的储存单元MK的值会等于RK之外,其它储存单元的值皆等于零。因此即使感测单元CS1~CSM会感测到闪烁光LF,发光/感测控制电路110仍可借由控制距离感测阶段T1+或T2+分别与噪声感测阶段T1-或T2-的时间间隔等于半交流电周期(TF/2),以减低闪烁现象的影响,而使距离计算电路140可正确地判断出反射光LRD的成像位置DCS且计算出待测距离DM。Please refer to Figure 3. FIG. 3 is a schematic diagram illustrating the working principle of the ranging
由于在生产过程中,当组装测距装置100时,测距装置100内部的组件的位置会因组装误差而产生偏移,因此测距装置100在量测距离时会受到组装误差的影响。因此测距装置100所包含的参数计算电路150用来校正测距装置100的组装误差。以下将说明参数计算电路150的工作原理。During the production process, when the
参数计算电路150接收发光/感测控制电路110所输出的距离信号SD,而得到已知距离DC1与已知距离DC2。其中已知距离DC1为校正物CO1与测距装置100之间的距离,已知距离DC2为校正物CO2与测距装置100之间的距离。借由如同第2图所述的方法,发光组件120发出侦测光LID射向校正物CO1或CO2,而使参数计算电路150可根据影像传感器130所输出的光感测信号而得到反射光LRD的成像位置,并据以校正测距装置100的组装误差角度。The
首先假设发光组件120因组装误差而使发光组件120所发出的侦测光LID旋转发光误差角度θLD。Firstly, it is assumed that the detection light L ID emitted by the
请参考图4。图4为说明校正发光组件120所发出的侦测光LID的发光误差角度θLD的方法的示意图。发光/感测控制电路110控制发光组件120发射侦测光LID射向校正物CO1。其中校正物CO1与测距装置100的距离为已知距离DC1。由于侦测光LRD受到发光组件120的组装误差的影响,因此侦测光LID会以一发光误差角度θLD入射校正物CO1,而校正物CO1反射侦测光LID所产生的反射光LRD会汇聚成像于感测单元CSI。侦测光LID与反射光LRD的夹角为θ1I,而直线LF与反射光LRD的夹角为θ2I。如图4所示,由于直线LF平行于校正物的平面的法线,因此(θ1I-θLD)会等于θ2I。也就是说,tan(θ1I-θLD)等于tanθ2I。因此可得下列公式:Please refer to Figure 4. FIG. 4 is a schematic diagram illustrating a method for correcting the light emission error angle θ LD of the detection light L ID emitted by the
DC1=1/[1/(DF×L)×DCSI+B]…(4);D C1 =1/[1/(D F ×L)×D CSI +B]...(4);
B=tanθLD/L…(5);B= tanθLD /L...(5);
其中B代表用来校正发光误差角度θLD的校正参数、DCSI代表反射光LRD的成像位置。因此,参数计算电路150根据式(4)可计算得到校正参数B。如此,参数计算电路150可通过参数信号SAB以输出校正参数B至距离计算电路140,以使距离计算电路140可将式(2)校正如下式,以计算经校正后的待测距离DM:Where B represents a correction parameter used to correct the luminous error angle θ LD , and D CSI represents the imaging position of the reflected light L RD . Therefore, the
DM=1/[1/(DF×L)×DCS+B]…(6);D M =1/[1/(D F ×L)×D CS +B]...(6);
因此,即使测距装置100因组装误差而使发光组件120所发出的侦测光LID旋转发光误差角度θLD,测距装置100仍可借由参数计算电路150计算出可校正发光误差角度θLD的校正参数B,以让距离计算电路140根据校正参数B、镜头LEN1的焦距DF、已知距离L,以及量测待测物MO时反射光的成像位置DCS,而正确地计算出待测距离DM。Therefore, even if the distance-measuring
请参考图5与图6。图5、图6为说明因组装误差而使影像传感器130旋转感测误差角度θCS1与θCS2的校正方法的示意图。图5为测距装置100的上视图。如图5所示,影像传感器130的感测误差角度θCS1处于XY平面上。图6为测距装置100的侧视图。此外,从图6可看出影像传感器130所旋转的感测误差角度θCS1与θCS2。发光/感测控制电路110控制发光组件120发射侦测光LID射向校正物CO2,其中校正物CO2与测距装置100的距离为已知距离DC2。此时假设发光组件120没有组装误差(意即假设发光误差角度θLD为零),侦测光LID会入射校正物CO1,而校正物CO1反射侦测光LID所产生的反射光LRD会汇聚成像于感测单元CSJ。侦测光LID与反射光LRD的夹角为θ1J,而直线LF与反射光LRD的夹角为θ2J。由图6可看出,DCSX为反射光LRD的成像位置DCSJ投影至X轴的投影距离,且成像位置DCSJ与投影距离DCSX的关系可以下式表示:Please refer to Figure 5 and Figure 6. FIG. 5 and FIG. 6 are schematic diagrams illustrating a method for correcting the rotation sensing error angles θ CS1 and θ CS2 of the
DCSX=DCSJ×cosθCS2×cosθCS1…(6);D CSX = D CSJ ×cosθ CS2 ×cosθ CS1 ...(6);
又在图5中,直线L与侦测光LID平行,因此直线L与反射光LRD的夹角θ2J等于侦测光LID与反射光LRD的夹角θ1J。也就是说,tanθ1J等于tanθ2J。如此,已知距离DC2与投影距离DCSX的关系可以下式表示:In FIG. 5 , the straight line L is parallel to the detection light L ID , so the angle θ 2J between the straight line L and the reflected light L RD is equal to the angle θ 1J between the detection light L ID and the reflected light L RD . That is, tanθ 1J is equal to tanθ 2J . In this way, the relationship between the known distance D C2 and the projected distance D CSX can be expressed by the following formula:
L/DC2=DCSX/DF…(7);L/ DC2 = D CSX /DF...(7);
因此,根据式(6)与(7)可得到下列公式;Therefore, according to formulas (6) and (7), the following formulas can be obtained;
DC2=1/(A×DCSJ)…(8);D C2 =1/(A×D CSJ )...(8);
A=(cosθCS2×cosθCS1)/(DF×L)…(9);A=(cosθ CS2 ×cosθ CS1 )/(D F ×L)...(9);
其中A代表用来校正感测误差角度θCS2与θCS1的校正参数。因此,参数计算电路150根据式(8)计算得到校正参数A。如此,参数计算电路150可通过参数信号SAB以输出校正参数A至距离计算电路140,以使距离计算电路140可将式(2)校正如下式,以计算经校正后的待测距离DM:A represents a calibration parameter used to correct the sensing error angles θ CS2 and θ CS1 . Therefore, the
DM=1/(A×DCS)…(10);D M =1/(A×D CS )...(10);
由此可知,即使测距装置100因组装误差而使影像传感器130旋转感测误差角度θCS1与θCS2,测距装置100仍可借由参数计算电路150计算出可校正感测误差角度θCS2与θCS1的校正参数A,以让距离计算电路140可借由校正参数A与量测待测物MO时反射光的成像位置DCS,而正确地计算出待测距离DM。It can be seen that even if the
假设测距装置100因组装误差而使发光组件120所发出的侦测光LID旋转发光误差角度θLD,且同时影像传感器130旋转感测误差角度θCS1与θCS2。借由图4、图5、图6的说明可知,测距装置100可借由发光组件120发出侦测光LID至校正物CO1与CO2,以分别得到对应于校正物CO1的反射光LRD的成像位置DCS1、与对应于校正物CO2的反射光LRD的成像位置DCS2。又成像位置DCS1与DCS2、测距装置100与校正物CO1之间的已知距离DC1、测距装置100与校正物CO2之间的已知距离DC2,以及校正参数A与B的关系可以下式表示:Assume that the
DC1=1/[A×DCS1+B]…(11);D C1 =1/[A×D CS1 +B]...(11);
DC2=1/[A×DCS2+B]…(12);D C2 =1/[A×D CS2 +B]...(12);
此时,参数计算电路150可根据式(11)与式(12)计算出可校正感测误差角度θCS1与θCS2的校正参数A,以及可校正发光误差角度θLD的校正参数B。参数计算电路150可通过参数信号SAB以输出校正参数A与B至距离计算电路140,以使距离计算电路140可将式(2)校正如下式,以计算经校正后的待测距离DM:At this time, the
DM=1/[A×DCS+B]…(13);D M =1/[A×D CS +B]...(13);
如此,即使测距装置100因组装误差而使发光组件120所发出的侦测光LID旋转发光误差角度θLD,且同时影像传感器130旋转感测误差角度θCS1与θCS2。测距装置100仍可借由参数计算电路150计算出可校正感测误差角度θCS2与θCS1的校正参数A与可校正发光误差角度θLD的校正参数B,以让距离计算电路140可正确地计算出待测距离DM。In this way, even if the detection light L ID emitted by the light-emitting
除此之外,根据式(13)可知,当距离计算电路140计算待测距离DM时,只需要参数计算电路150所输出的校正参数A、校正参数B与量测待测物MO时反射光LRD的成像位置DCS,而不需镜头LEN1的焦距DF与已知距离L。换句话说,即使在生产过程中,镜头LEN1的焦距DF有误差,或是已知距离L因组装而产生误差,距离计算电路140仍可根据式(13)以正确地计算出待测距离DM。In addition, according to formula (13), it can be seen that when the
请参考图7。图7为说明本发明的影像传感器的结构的第一实施例700的示意图。如图7所示,影像传感器700的M个感测单元排列成N行K列。在影像传感器700中,每一行感测单元的水平方向(或图7所示的X轴的方向)上的位置皆相同。更进一步地说,设感测单元CS11~CSNK的宽度皆为WPIX,且设感测单元CS11的左侧于水平方向的位置可表示为零,如此,以每一行感测单元的中心来代表其水平方向上的位置,则第1行感测单元CS11~CS1K于水平方向的位置可表示为1/2×WPIX;第2行感测单元CS21~CS2K于水平方向的位置可表示为3/2×WPIX;第N行感测单元CSN1~CSNK于水平方向的位置可表示为[(2×N-1)×WPIX]/2,其它可依此类推,故不再赘述。因此,由上述说明可知,在影像传感器700中,每一列感测单元于水平方向上的位置皆可表示为{1/2×WPIX,3/2×WPIX,…,[(2×N-1)×WPIX]/2},因此每一列感测单元于水平方向上的位置皆相同。Please refer to Figure 7. FIG. 7 is a schematic diagram illustrating a
请参考图8。图8为说明利用影像传感器700以侦测反射光LRD的成像位置DCS的工作原理的示意图。图8的上半部所示的圆圈用来表示反射光LRD于影像传感器700成像的位置,也就是说,被圆圈所覆盖的感测单元,可感测到反射光LRD的能量,而产生较大的光感测信号SLS。为了得到反射光LRD的成像位置DCS,此时,可将每一行感测单元所产生的光感测信号SLS相加(如图8下半所示),以得到水平方向(X轴方向)上的累计光感测信号SALS。举例而言,根据第1行感测单元CS11~CS1K的光感测信号相加而产生的累计光感测信号为SALS1;根据第2行感测单元CS21~C82K的光感测信号相加而产生的累计光感测信号为SALS2;根据第N行感测单元CSN1~CSNK的光感测信号相加而产生的累计光感测信号为SALSN,其它可依此类推,故不再赘述。由于接收到反射光LRD的感测单元会产生较高的光感测信号,因此接近反射光LRD的成像位置DCS(意即圆圈中心)的感测单元皆会产生较高的光感测信号。换句话说,若在累计光感测信号SALS1~SALSN中,对应于第F行感测单元CSF1~CSFK的累计光感测信号SALSF具有最大值,则表示反射光LRD的成像位置(圆圈中心)位于第F行感测单元。如此一来,即可以第F行感测单元于水平方向上的位置来代表反射光LRD的成像位置DCS。举例而言,如图8所示,第5行感测单元CS51~CS5K所对应的累计光感测信号SALS5具有最大值,因此可判断反射光LRD的成像位置(圆圈中心)位于第5行感测单元,如此一来,即可以第5行感测单元于水平方向上的位置9/2×WPIX来代表反射光LRD的成像位置DCS。Please refer to Figure 8. FIG. 8 is a schematic diagram illustrating the working principle of using the
请参考图9。图9为说明本发明的影像传感器的结构的另一实施例900的示意图。如图9所示,影像传感器900的M个感测单元排列成N行K列。相较于影像传感器700,影像传感器900的每一列感测单元与其相邻的其它列感测单元的水平方向(或图9所示的X轴的方向)上的位置相隔一位移距离DSF(在图9中假设位移距离DSF等于WPIX/2)。举例而言,第1列感测单元CS11~CSN1于水平方向上的位置可表示为{1/2×WPIX,3/2×WPIX,…,[(2×N+1)×WPIX]/2};第2列感测单元CS12~CSN2于水平方向上的位置可表示为{WPIX,2×WPIX,…,[2×N×WPIX]/2};第K列感测单元CS1K~CSNK于水平方向上的位置可表示为{[1/2+(K-1)/2]×WPIX,[3/2+(K-1)/2]×WPIX,…,[(2×N-1)/2+(K-1)/2]×WPIX},其它可依此类推,故不再赘述。Please refer to Figure 9. FIG. 9 is a schematic diagram illustrating another
请参考图10。图10为说明利用影像传感器900以侦测反射光LRD的成像位置DCS的工作原理的示意图。图10的上半部所示的圆圈用来表示反射光LRD于影像传感器900成像的位置。根据影像传感器900的感测单元CS11~CSNK的光感测信号而产生的累计光感测信号为SALS1~SALS2N。其中累计光感测信号SALS1所对应的感测范围为水平方向上位置0~WPIX/2,由于在感测单元CS11~CSNK之中,仅有感测单元CS11的感测范围涵盖累计光感测信号SALS1所对应的感测范围,因此累计光感测信号SALS1等于感测单元CS11的光感测信号的值;累计光感测信号SALS2所对应的感测范围为水平方向上位置WPIX/2~WPIX,由于在感测单元CS11~CSNK之中,感测单元CS11与CS12的感测范围皆涵盖累计光感测信号SALS2所对应的感测范围,因此累计光感测信号SALS2可借由相加感测单元CS11与CS21的光感测信号而得,其它累计光感测信号可由类似方法而得,故不再赘述。若在累计光感测信号SALS1~SALS2N中,累计光感测信号SALSF具有最大值,则表示反射光LRD的成像位置(圆圈中心)位于对应于累计光感测信号SALSF的水平方向上的位置。举例而言,如图10所示,累计光感测信号SALS10具有最大值,因此可判断反射光LRD的成像位置(圆圈中心)位于对应于累计光感测信号SALS10的水平方向上的位置。由于累计光感测信号SALS10所对应的感测范围为9/2×WPIX~5×WPIX,因此累计光感测信号SALS10所对应的水平方向上的位置可表示为19/4×WPIX。如此,反射光LRD的成像位置(圆圈中心)可以累计光感测信号SALS10水平方向上的位置19/4×WPIX来表示。Please refer to Figure 10. FIG. 10 is a schematic diagram illustrating the working principle of using the
此外,相较于影像传感器700,影像传感器900具有更高的分辨率。举例而言,当利用影像传感器700来侦测反射光LRD的成像位置DCS时,若反射光LRD的成像位置DCS(圆圈中心)于水平方向上的实际位置为(17/4)×WPIX,则此时累计光感测信号SALS5具有最大值,因此反射光LRD的成像位置DCS会以影像传感器700的第5行感测单元于水平方向上的位置9/2×WPIX来表示;若反射光LRD的成像位置DCS(圆圈中心)于水平方向上的实际位置略为移动,而变成为(19/4)×WPIX,此时累计光感测信号SALS5仍然具有最大值,也就是说,虽然反射光LRD的成像位置DCS(圆圈中心)于水平方向上的实际位置已经从(17/4)×WPIX变为(19/4)×WPIX,但是反射光LRD的成像位置DCS仍会以影像传感器700的第5行感测单元于水平方向上的位置9/2×WPIX来表示。In addition, compared with the
然而,当利用影像传感器900来侦测反射光LRD的成像位置DCS时,若反射光LRD的成像位置DCS(圆圈中心)于水平方向上的实际位置为(17/4)×WPIX,则此时累计光感测信号SALS9具有最大值,因此反射光LRD的成像位置DCS会以累计光感测信号SALS9于水平方向上的位置17/4×WPIX来表示;然而,若反射光LRD的成像位置DCS(圆圈中心)于水平方向上的实际位置略为移动,而变成为(19/4)×WPIX,则此时累计光感测信号SALS10具有最大值,因此反射光LRD的成像位置DCS会以累计光感测信号SALS10于水平方向上的位置19/4×WPIX来表示。由此可知,利用影像传感器900可更精确地侦测到反射光LRD的成像位置DCS。更进一步地说,相较于影像传感器700,在影像传感器900中,借由调整每一列感测单元与其相邻的其它列感测单元的水平方向上的位置相隔的位移距离,可使影像传感器900具有更高的分辨率。However, when the
此外,在影像传感器900中,每一列感测单元与其相邻的其它列感测单元的水平方向(或图9所示的X轴的方向)上的位置相隔的位移距离并不限定要相同。举例而言,第1列感测单元与第2列的感测单元之间的位移距离为WPIX/2,而第2列感测单元与第3列的感测单元之间的位移距离为WPIX/4。此时,仍可用图10所述的方法以利用影像传感器900来侦测反射光LRD的成像位置DCS。In addition, in the
请参考图11。图11为说明本发明的影像传感器的结构的另一实施例1100的示意图。如图11所示,影像传感器1100的M个感测单元排列成N行Q列。影像传感器1100与700的差异在于,影像传感器700的每一感测单元为一正方形,而影像传感器1100的每一感测单元为一长方形。举例而言,影像传感器700的每一感测单元的宽度与高度皆等于WPIX,而影像传感器1100的每一感测单元的宽度为WPIX,高度则设计为(WPIX×K/Q),其中Q<K,也就是说,影像传感器1100的每一感测单元的短边位于水平方向(X轴方向)上,长边位于垂直方向上。换句话说,影像传感器1100的每一行感测单元具有与影像传感器700的每一感测单元相同的宽度,且影像传感器1100的每一行感测单元的数目Q虽然少于影像传感器700的每一行感测单元的数目K,但是影像传感器1100的每一行感测单元的总面积仍维持与影像传感器700相同。类似于影像传感器700,影像传感器1100提供M个感测单元所产生的M个感测信号给距离计算电路,以使距离计算电路计算出累计光感测信号SALS1~SALSN。举例而言,根据第1行感测单元CS11~CS1Q的光感测信号相加而产生的累计光感测信号为SALS1;根据第2行感测单元CS21~CS2Q的光感测信号相加而产生的累计光感测信号为SALS2;根据第N行感测单元CSN1~CSNQ的光感测信号相加而产生的累计光感测信号为SALSN,其它可依此类推,故不再赘述。如此一来,距离计算电路可利用图8所述的方法,以根据累计光感测信号SALS1~SALSN来得到反射光LRD的成像位置,并进而计算出待测距离DM。Please refer to Figure 11. FIG. 11 is a schematic diagram illustrating another
相较于影像传感器700,由于在影像传感器1100中,每一感测单元的长边位于垂直方向上而使得每一行感测单元的数目较少(意即Q<K),因此可减少距离计算电路于产生累计光感测信号SALS1~SALSN时所需累加的次数。由于影像传感器1100的每一行感测单元的总面积仍维持与影像传感器700相同,因此每一行感测单元所接收到的镜头LEN所汇聚的光的能量维持不变。换句话说,当利用影像传感器1100时,可减少距离计算电路于产生累计光感测信号SALS1~SALSN时所需处理的运算量,且同时维持累计光感测信号SALS1~SALSN的信噪比。此外,在影像传感器1100中,每一感测单元的短边位于水平方向上,且其宽度仍维持为WPIX。换句话说,利用影像传感器1100来计算反射光LRD于水平方向上的成像位置时,其分辨率与利用影像传感器700的情况相同。因此,相较于影像传感器700,影像传感器1100可减少距离计算电路所需处理的运算量,并同时维持累计光感测信号的信噪比与成像位置于水平方向(意即短边所位于的方向)上的分辨率。Compared with the
综上所述,本发明所提供的测距装置,借由将测距装置中的影像传感器所感测的光感测信号,移除掉背景光与闪烁光的部分,来降低背景光与闪烁现象的影响。在本发明的影像传感器中,可借由调整每一列感测单元与其相邻的其它列感测单元的水平方向上的位置相隔的位移距离,以提高影像传感器的分辨率。除此之外,本发明另提供一种测距装置的校正方法。借由发光组件发出侦测光至一具有第一已知距离的第一校正物与一具有第二已知距离的第二校正物,以分别得出对应于第一校正物的反射光的第一成像位置与对应于第二校正物的反射光的第二成像位置,并根据第一已知距离、该第一成像位置、该第二已知距离以及该第二成像位置,以计算出可校正该测距装置的内部组件的组装误差角度的校正参数。如此,测距装置可借由校正参数以正确地计算出待测距离,提供给使用者更大的方便。To sum up, the distance measuring device provided by the present invention reduces the background light and flickering phenomenon by removing the background light and flickering light from the light sensing signal sensed by the image sensor in the distance measuring device Impact. In the image sensor of the present invention, the resolution of the image sensor can be improved by adjusting the displacement distance between each column of sensing units and the positions of other adjacent columns of sensing units in the horizontal direction. In addition, the present invention further provides a calibration method for a distance measuring device. The detection light is emitted to a first calibration object with a first known distance and a second calibration object with a second known distance by means of the light-emitting component, so as to respectively obtain the first calibration object corresponding to the reflected light of the first calibration object. an imaging position and a second imaging position corresponding to the reflected light of the second calibration object, and according to the first known distance, the first imaging position, the second known distance and the second imaging position, the possible Correction parameters for correcting assembly error angles of internal components of the distance measuring device. In this way, the distance measuring device can correctly calculate the distance to be measured by correcting the parameters, which provides greater convenience to the user.
以上所述仅为本发明的优选实施例,凡依本发明权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910246754 CN102072718B (en) | 2009-11-25 | 2009-11-25 | Distance measuring device and correction method for distance measurement using imaging position difference |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910246754 CN102072718B (en) | 2009-11-25 | 2009-11-25 | Distance measuring device and correction method for distance measurement using imaging position difference |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102072718A true CN102072718A (en) | 2011-05-25 |
CN102072718B CN102072718B (en) | 2013-08-28 |
Family
ID=44031355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910246754 Active CN102072718B (en) | 2009-11-25 | 2009-11-25 | Distance measuring device and correction method for distance measurement using imaging position difference |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102072718B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI461656B (en) * | 2011-12-01 | 2014-11-21 | Ind Tech Res Inst | Apparatus and method for sencing distance |
CN104796613A (en) * | 2011-09-28 | 2015-07-22 | 原相科技股份有限公司 | video system |
CN105783708A (en) * | 2014-11-26 | 2016-07-20 | 财团法人工业技术研究院 | Optical correction device and optical correction method |
CN106569220A (en) * | 2015-10-08 | 2017-04-19 | 恩斯迈电子(深圳)有限公司 | Laser ranging correction method and device applying same |
CN109470158A (en) * | 2017-09-08 | 2019-03-15 | 株式会社东芝 | Image processor and range unit |
CN110068307A (en) * | 2015-04-21 | 2019-07-30 | 原相科技股份有限公司 | Range-measurement system and the method for measuring distance |
CN112114328A (en) * | 2019-06-21 | 2020-12-22 | 广州印芯半导体技术有限公司 | Flight time distance measuring device |
CN116660881A (en) * | 2023-08-02 | 2023-08-29 | 荣耀终端有限公司 | A parameter measuring method, distance measuring method and communication equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07174549A (en) * | 1993-11-24 | 1995-07-14 | Olympus Optical Co Ltd | Distance-measuring apparatus |
CA2300400A1 (en) * | 1999-03-22 | 2000-09-22 | Michael George Taranowski | Electronic optical target ranging and imaging |
JP2002107145A (en) * | 2000-10-03 | 2002-04-10 | Olympus Optical Co Ltd | Range finder and adjuster therefor |
JP2002323315A (en) * | 2001-04-26 | 2002-11-08 | Olympus Optical Co Ltd | Adjusting device for range finder |
CN1273842C (en) * | 2004-06-18 | 2006-09-06 | 中国科学院上海技术物理研究所 | Intelligent self-adaptive laser scanning distance-measuring imaging device |
-
2009
- 2009-11-25 CN CN 200910246754 patent/CN102072718B/en active Active
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796613A (en) * | 2011-09-28 | 2015-07-22 | 原相科技股份有限公司 | video system |
TWI461656B (en) * | 2011-12-01 | 2014-11-21 | Ind Tech Res Inst | Apparatus and method for sencing distance |
US8971583B2 (en) | 2011-12-01 | 2015-03-03 | Industrial Technology Research Institute | Distance measurement apparatus and method |
CN105783708B (en) * | 2014-11-26 | 2019-05-28 | 财团法人工业技术研究院 | Optical correction device and optical correction method |
CN105783708A (en) * | 2014-11-26 | 2016-07-20 | 财团法人工业技术研究院 | Optical correction device and optical correction method |
CN110068307A (en) * | 2015-04-21 | 2019-07-30 | 原相科技股份有限公司 | Range-measurement system and the method for measuring distance |
CN110068307B (en) * | 2015-04-21 | 2021-09-17 | 原相科技股份有限公司 | Distance measuring system and distance measuring method |
CN106569220A (en) * | 2015-10-08 | 2017-04-19 | 恩斯迈电子(深圳)有限公司 | Laser ranging correction method and device applying same |
CN109470158A (en) * | 2017-09-08 | 2019-03-15 | 株式会社东芝 | Image processor and range unit |
CN112114328A (en) * | 2019-06-21 | 2020-12-22 | 广州印芯半导体技术有限公司 | Flight time distance measuring device |
CN112114328B (en) * | 2019-06-21 | 2024-06-11 | 广州印芯半导体技术有限公司 | Flying time distance measuring device |
CN116660881A (en) * | 2023-08-02 | 2023-08-29 | 荣耀终端有限公司 | A parameter measuring method, distance measuring method and communication equipment |
CN116660881B (en) * | 2023-08-02 | 2023-11-10 | 荣耀终端有限公司 | Parameter measurement method, ranging method and communication equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102072718B (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI407081B (en) | Distance-measuring device by means of difference of imaging location and calibrating method thereof | |
CN102650691B (en) | Distance measuring system and method with correcting function | |
CN102072718A (en) | Distance measuring device using imaging position difference for distance measurement and correction method thereof | |
US11650291B2 (en) | LiDAR sensor | |
US9971024B2 (en) | Lidar scanner calibration | |
CN102346030B (en) | The method of the testing distance that foundation temperature correction range unit measures and device thereof | |
TWI443308B (en) | Distance-measuring device, 3d image sensing device, and optical touch system | |
TWI420081B (en) | Distance measuring system and distance measuring method | |
US9645681B2 (en) | Optical touch display system | |
CN101520514A (en) | Target and three-dimensional-shape measurement device using the same | |
CN113176579B (en) | Light spot position self-adaptive searching method, time flight ranging system and ranging method | |
CN102095383A (en) | Quick tree-walk detection device based on machine vision | |
TWI448666B (en) | Calibrating method of calibrating measured distance of measured object measured by distance-measuring device according to ambient temperature and device thereof | |
CN102116863A (en) | Infrared distance measuring device | |
CN116202428A (en) | Laser measurement deviation correcting sensor and application thereof | |
TWI447355B (en) | Distance-measuring system with correction function and method thereof | |
TWI476373B (en) | Distance-measuring device by means of difference of imaging location and calibrating method thereof | |
CN115060292B (en) | Bionic navigation visual sensor extinction ratio evaluation method based on sine fitting | |
CN113900113B (en) | TOF sensing device and distance detection method thereof | |
TWI436254B (en) | Optical touch display system | |
CN103438992A (en) | Illuminometer with automatic positioning function | |
CN114485729A (en) | Digital level sight line error and compensation error checking device and checking method | |
CN220153743U (en) | Optical power testing device | |
JP4289382B2 (en) | Monitoring device and imaging device. | |
RU2521203C1 (en) | Method of detecting objects, measuring velocity, range and angular coordinates and apparatus for realising said method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |