










本发明涉及光学测量技术领域,尤其涉及一种深度测量装置及距离测量方法。The present invention relates to the field of optical measurement technology, in particular to a depth measurement device and a distance measurement method.
ToF的全称是Time-of-Flight,即飞行时间,ToF测距技术是一种通过测量光脉冲在发射/接收装置和目标物体间的往返飞行时间来实现精确测距的技术。在ToF技术中直接对光飞行时间进行测量的技术被称为dToF(direct-TOF);对发射光信号进行周期性调制,通过对反射光信号相对于发射光信号的相位延迟进行测量,再由相位延迟对飞行时间进行计算的测量技术被成为iToF(Indirect-TOF)技术。按照调制解调类型方式的不同可以分为连续波(Continuous Wave,CW)调制解调方法和脉冲调制(Pulse Modulated,PM)调制解调方法。The full name of ToF is Time-of-Flight, that is, time of flight. ToF ranging technology is a technology that achieves precise ranging by measuring the round-trip flight time of light pulses between the transmitting/receiving device and the target object. In the ToF technology, the technology of directly measuring the optical time of flight is called dToF (direct-TOF); the emitted light signal is periodically modulated, and the phase delay of the reflected light signal relative to the emitted light signal is measured. The measurement technique that calculates the time of flight phase delay is called iToF (Indirect-TOF) technique. According to the different types of modulation and demodulation, it can be divided into continuous wave (CW) modulation and demodulation method and pulse modulation (Pulse Modulated, PM) modulation and demodulation method.
结构光测距技术则向空间物体发射结构光光束,其次采集被物体调制及反射后的结构光光束所形成的结构光图案,最后利用三角法进行深度计算以获取物体的深度数据。常用的结构光图案有不规则斑点图案、条纹图案、相移图案等。The structured light ranging technology emits a structured light beam to a space object, and then collects the structured light pattern formed by the structured light beam modulated and reflected by the object, and finally uses the triangulation method to perform depth calculation to obtain the depth data of the object. Commonly used structured light patterns include irregular spot patterns, stripe patterns, phase shift patterns and so on.
相比而言,TOF技术无需进行复杂的图像处理计算(如结构光图像匹配计算),在中远距时能保持相对较高的测量精度;而结构光技术则在近距测量时具有非常高的精度,但随着距离增加精度会至少呈现线性增长。另外,结构光技术由于是通过采集反映反射光强度的图像来进行计算深度的,因此难免会受到环境光对光强度的影响,相对而言TOF则在环境光抗干扰方面要优于结构光技术。In contrast, TOF technology does not require complex image processing calculations (such as structured light image matching calculations), and can maintain relatively high measurement accuracy at medium and long distances; while structured light technology has very high measurement accuracy at close distances. Accuracy, but the accuracy will increase at least linearly as the distance increases. In addition, because structured light technology calculates depth by collecting images reflecting the intensity of reflected light, it will inevitably be affected by ambient light on light intensity. Relatively speaking, TOF is superior to structured light technology in terms of anti-interference of ambient light. .
发明内容Summary of the invention
本发明为了解决现有的问题,提供一种深度测量装置及距离测量方法。In order to solve the existing problems, the present invention provides a depth measuring device and a distance measuring method.
为了解决上述问题中的至少一个,本发明采用的技术方案如下所述:In order to solve at least one of the above problems, the technical solutions adopted by the present invention are as follows:
深度测量装置,包括:光发射模组,包含光源及图案化光学元件,所述光源用于发射时序上振幅被调制的光束,所述图案化光学元件用于接收所述光束后向目标物体发射结构光光束;TOF图像传感器,包含至少一个像素,所述像素用于接收由所述目标物体反射的结构光光束并形成电信号;控制和处理电路,接收所述电信号并计算出所述反射的结构光光束的强度信息以形成结构光图案,以及,利用所述结构光图案计算所述目标物体的深度图像。The depth measuring device includes: a light emitting module, including a light source and a patterned optical element, the light source is used to emit a light beam whose amplitude is modulated in time sequence, and the patterned optical element is used to receive the light beam and emit to a target object Structured light beam; TOF image sensor, including at least one pixel, the pixel is used to receive the structured light beam reflected by the target object and form an electrical signal; a control and processing circuit that receives the electrical signal and calculates the reflection The intensity information of the structured light beam is used to form a structured light pattern, and the structured light pattern is used to calculate a depth image of the target object.
在本发明的一种实施例中,所述结构光光束包含不规则斑点图案光束、条纹图案光束、二维编码图案化光束;所述不规则斑点图案光束中每个斑点对应的光束的振幅在时序上以连续波、方波或脉冲的方式被调制。In an embodiment of the present invention, the structured light beam includes an irregular spot pattern beam, a stripe pattern beam, and a two-dimensional coded patterned beam; the amplitude of the beam corresponding to each spot in the irregular spot pattern beam is The timing is modulated by continuous wave, square wave or pulse.
在本发明的又一种实施例中,所述像素包括至少3个抽头,所述抽头用于在单个帧周期内分别采集由包含所述目标物体反射的结构光光束所产生的电信号。 所述光发射模组发射时序上振幅被正弦波调制的光束,所述TOF图像传感器的各个像素至少包括4个抽头,分别用于在单个帧周期内分别采集4次光信号并转换成所述电信号C1、C2、C3和C4,4次采集的时间以及间隔相同;采用加权平均的方式计算所述结构光光束的强度B,具体如下:或,采用加入环境光消除因子的方式计算所述结构光光束的强度B,具体如下:所述光发射模组发射时序上振幅被脉冲调制的光束,所述TOF图像传感器的各个像素至少包括3个抽头,分别用于在单个帧周期内分别采集3次光信号并转换成电信号C1、C2和C3,第一抽头的触发时间与光脉冲的发射时间同步,且触发时长与脉冲的宽度相同,第二抽头、第三抽头在所述第一抽头结束时相继被触发,触发时长与所述第一抽头相同;采用加权平均的方式计算所述结构光光束的强度B,具体如下:或,采用加入环境光消除因子的方式计算所述结构光光束的强度B,具体如下:B=C1+C2-2C3。In another embodiment of the present invention, the pixel includes at least 3 taps, and the taps are used to separately collect the electrical signals generated by the structured light beam reflected by the target object within a single frame period. The light emitting module emits a light beam whose amplitude is modulated by a sine wave in time sequence. Each pixel of the TOF image sensor includes at least 4 taps, which are used to collect and convert the light signal 4 times in a single frame period. The electrical signals C1, C2, C3 and C4 are collected at the same time and interval for 4 times; the weighted average method is used to calculate the intensity B of the structured light beam, as follows: Or, calculate the intensity B of the structured light beam by adding an ambient light elimination factor, as follows: The light emitting module emits a light beam whose amplitude is pulse-modulated in time sequence, and each pixel of the TOF image sensor includes at least 3 taps, which are respectively used to collect and convert the optical signal three times in a single frame period into an electrical signal C1 , C2 and C3, the trigger time of the first tap is synchronized with the emission time of the light pulse, and the trigger duration is the same as the pulse width. The second tap and the third tap are triggered successively at the end of the first tap, and the trigger duration is equal to The first taps are the same; the weighted average method is used to calculate the intensity B of the structured light beam, specifically as follows: Or, the intensity B of the structured light beam is calculated by adding an ambient light elimination factor, specifically as follows: B=C1 +C2 -2C3 .
本发明还提供一种距离测量方法,包括:利用光源发射时序上振幅被调制的光束,所述光束被图案化光学元件接收后形成结构光光束向目标物体发射;利用包含至少一个像素的TOF图像传感器的所述像素接收由所述目标物体反射的结构光光束并形成电信号;接收所述电信号并计算出所述反射的结构光光束的强度信息以形成结构光图案,以及,利用所述结构光图案计算所述目标物体的深度图像。The present invention also provides a distance measurement method, including: using a light source to emit a light beam whose amplitude is modulated in time sequence, and the light beam is received by a patterned optical element to form a structured light beam and emitted to a target object; using a TOF image containing at least one pixel The pixels of the sensor receive the structured light beam reflected by the target object and form an electrical signal; receive the electrical signal and calculate the intensity information of the reflected structured light beam to form a structured light pattern, and use the The structured light pattern calculates the depth image of the target object.
在本发明的一种实施例中,所述结构光光束包含不规则斑点图案光束、条纹图案光束、二维编码图案化光束;所述不规则斑点图案光束中每个斑点对应的光束的振幅在时序上以连续波、方波或脉冲的方式被调制。In an embodiment of the present invention, the structured light beam includes an irregular spot pattern beam, a stripe pattern beam, and a two-dimensional coded patterned beam; the amplitude of the beam corresponding to each spot in the irregular spot pattern beam is The timing is modulated by continuous wave, square wave or pulse.
在本发明的另一种实施例中,所述像素包括至少3个抽头,所述抽头用于在单个帧周期内分别采集由包含所述目标物体反射的结构光光束所产生的电信号。所述结构光光束是时序上振幅被正弦波调制的光束,各个所述像素至少包括4个抽头,分别用于在单个帧周期内分别采集4次光信号并转换成所述电信号C1、C2、C3和C4,4次采集的时间以及间隔相同;采用加权平均的方式计算所述结构光光束的强度B,具体如下:或,采用加入环境光消除因子的方式计算所述结构光光束的强度B,具体如下:所述结构光光束是时序上振幅被脉冲调制的光束,各个所述像素至少包括3个抽头,分别用于在单个帧周期内分别采集3次光信号并转换成电信号C1、C2和C3,第一抽头的触发时间与光脉冲的发射时间同步,且触发时长与脉冲的宽度相同,第二抽头、第三抽头在所述第一抽头结束时相继被触发,触发时长与所述第一抽头相同;采用加权平均的方式计算所述结构光光束的强度B,具体如下:或,采用加入环境光消除因子的方式计算所述结构光光束的强度B,具体如下:B=C1+C2-2C3。In another embodiment of the present invention, the pixel includes at least 3 taps, and the taps are used to separately collect electrical signals generated by the structured light beam reflected by the target object within a single frame period. The structured light beam is a light beam whose amplitude is modulated by a sine wave in time series, and each pixel includes at least 4 taps, which are respectively used to collect 4 optical signals and convert them into the electrical signals C1 and C2 in a single frame period. , C3 and C4, the time and interval of the 4 acquisitions are the same; the weighted average method is used to calculate the intensity B of the structured light beam, as follows: Or, calculate the intensity B of the structured light beam by adding an ambient light elimination factor, as follows: The structured light beam is a light beam whose amplitude is pulse-modulated in time series. Each pixel includes at least 3 taps, which are respectively used to collect and convert optical signals three times in a single frame period into electrical signals C1, C2, and C3, The trigger time of the first tap is synchronized with the emission time of the light pulse, and the trigger duration is the same as the pulse width. The second tap and the third tap are triggered one after another at the end of the first tap, and the trigger duration is the same as that of the first tap. Same; the weighted average method is used to calculate the intensity B of the structured light beam, as follows: Or, the intensity B of the structured light beam is calculated by adding an ambient light elimination factor, specifically as follows: B=C1 +C2 -2C3 .
本发明的有益效果为:提供一种深度测量装置及距离测量方法,将TOF图像传感器与结构光光源相结合,发射端采用了振幅调制,在接收端采用了多抽头像素采集,从而可以使得本发明的装置和方法拥有比传统方案更多的功能,实现传统方案难以实现的抗环境光干扰的深度测量方法。The beneficial effects of the present invention are: a depth measurement device and a distance measurement method are provided, the TOF image sensor is combined with a structured light source, the transmitting end adopts amplitude modulation, and the receiving end adopts multi-tap pixel collection, which can make the The invented device and method have more functions than the traditional solution, and realize a depth measurement method against ambient light interference that is difficult to achieve with the traditional solution.
图1是本发明实施例中深度测量装置的结构示意图。Fig. 1 is a schematic structural diagram of a depth measuring device in an embodiment of the present invention.
图2是本发明实施例中一种深度测量装置原理示意图。Fig. 2 is a schematic diagram of the principle of a depth measuring device in an embodiment of the present invention.
图3是本发明实施例中又一种深度测量装置原理示意图。Fig. 3 is a schematic diagram of the principle of another depth measuring device in an embodiment of the present invention.
图4是本发明实施例中一种融合TOF与结构光方案的深度测量装置的结构示意图。Fig. 4 is a schematic structural diagram of a depth measurement device integrating TOF and structured light solutions in an embodiment of the present invention.
图5是本发明实施例中又一种融合TOF与结构光方案的深度测量装置的结构示意图。FIG. 5 is a schematic structural diagram of another depth measurement device that integrates TOF and structured light solutions in an embodiment of the present invention.
图6是本发明实施例中结构光与TOF时序控制示意图。Fig. 6 is a schematic diagram of structured light and TOF timing control in an embodiment of the present invention.
图7是本发明实施例中控制与处理电路架构示意图。FIG. 7 is a schematic diagram of the control and processing circuit structure in an embodiment of the present invention.
图8是本发明实施例中一种距离测量方法示意图。Fig. 8 is a schematic diagram of a distance measurement method in an embodiment of the present invention.
图9是本发明实施例中另一种距离测量方法示意图。Fig. 9 is a schematic diagram of another distance measurement method in an embodiment of the present invention.
图10是本发明实施例中一种对所述电信号进行处理方法示意图。Fig. 10 is a schematic diagram of a method for processing the electrical signal in an embodiment of the present invention.
图11是本发明实施例中另一种对所述电信号进行处理方法示意图。Fig. 11 is a schematic diagram of another method for processing the electrical signal in an embodiment of the present invention.
其中,10-深度测量装置,11-光发射模组,12-采集模组,13-控制与处理电路,14-泛光光源模组,111-光源,112-图案化光学元件,121-TOF图像传感器,122-透镜单元,20-目标物体,30-发射光束,40-反射光束,201-斑点结构光图案化光束,202-光斑,40-深度测量装置,41-光发射模组,42-采集模组,43-控制与处理电路,44-泛光光源模组,51-像素,52-光斑,70-芯片,71-相位计算模块,72-标定模块,73-第一后处理模块,74-1-分路器,74-2-复用器,75-振幅计算模块,76-前处理模块,77-匹配模块,78-第二后处理模块,79-融合模块。Among them, 10-depth measuring device, 11-light emission module, 12-acquisition module, 13-control and processing circuit, 14- flood light source module, 111-light source, 112-patterned optical element, 121-TOF Image sensor, 122-lens unit, 20-target object, 30-emission beam, 40-reflected beam, 201-spot structured light patterned beam, 202-spot, 40-depth measuring device, 41-light emitting module, 42 -Acquisition module, 43- control and processing circuit, 44- flood light source module, 51- pixel, 52- spot, 70- chip, 71- phase calculation module, 72- calibration module, 73- first post-processing module , 74-1-splitter, 74-2-multiplexer, 75-amplitude calculation module, 76-pre-processing module, 77-matching module, 78-second post-processing module, 79-fusion module.
为了使本发明实施例所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions, and beneficial effects to be solved by the embodiments of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件,它可以直接在另一个元件上或者间接在该另一个元件上。当一个元件被称为是“连接于”另一个元件,它可以是直接连接到另一个元件或间接连接至该另一个元件上。另外,连接即可以是用于固定作用也可以是用于电路连通作用。It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, the connection can be used for fixing or circuit connection.
需要理解的是,术语“长度”、“宽度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明实施例和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top" , "Bottom", "Inner", "Outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying. The device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多该特征。在本发明实施例的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present invention, "a plurality of" means two or more than two, unless otherwise specifically defined.
图1是根据本发明一个实施例的深度测量装置。深度测量装置10包括光发射模组11、采集模组12以及控制与处理电路13,其中光发射模组11用于向目标物体20发射发射光束30,发射光束30是在时序上振幅被调制的结构光光束,该结构光光束至目标空间中以照明空间中的目标物体20,至少部分发射光束30经目标物体20反射后形成反射光束40,反射光束40的至少部分被采集模组12采集,控制与处理电路13分别与光发射模组11以及采集模组12连接,以控制光束的发射与采集,同时接收来自采集模组12所采集到的电信号,并对该电信号进行计算以获取目标物体的深度信息。Fig. 1 is a depth measuring device according to an embodiment of the present invention. The
光发射模组11包括光源111、图案化光学元件112以及光源驱动器(图中未示出)等。光源111可以是发光二极管(LED)、边发射激光器(EEL)、垂直腔面发射激光器(VCSEL)等光源,也可以是多个光源组成的光源阵列,光源所发射的光束可以是可见光、红外光、紫外光等。光源111在光源驱动器(其可以进一步被控制和处理电路13控制)的控制下以一定的时序振幅被调制后向外发射光束,比如在一个实施例中,光源111在控制下以一定的频率发射脉冲调制光束、方波调制光束、正弦波调制光束等光束。可以理解的是,可以利用控制和处理电路13中的一部分或者独立于控制和处理电路13存在的子电路来控制光源111发射相关的光束,比如脉冲信号发生器。The
图案化光学元件112接收来自光源111的光束,并向外发射结构光光束,比 如不规则排列的斑点图案化光束、条纹图案光束、二维编码图案化光束等。在一些实施例中,图案化光学元件112还用于将接收到的光束进行扩束,以扩大视场角。可以理解的是,通过图案化光学元件112调制后的光束其振幅依旧是以一定的时序被调制,即入射的正弦波调制光束,出射的依旧是正弦波调制光束。在本发明的一种实施例中,不规则斑点图案光束中每个斑点对应的光束的振幅在时序上以连续波、方波或脉冲的方式被调制。The patterned
采集模组12包括TOF图像传感器121、透镜单元122,还可以包含滤光片(图中未示出),透镜单元122接收并将由目标物体反射回的至少部分结构光光束并成像在至少部分TOF图像传感器121上,滤光片需选择与光源波长相匹配的窄带滤光片,用于抑制其余波段的背景光噪声。TOF图像传感器121可以是电荷耦合元件(CCD)、互补金属氧化物半导体(CMOS)、雪崩二极管(AD)、单光子雪崩二极管(SPAD)等组成的图像传感器,阵列大小代表着该深度相机的分辨率,比如320x240等。一般地,与图像传感器121连接的还包括由信号放大器、时数转换器(TDC)、模数转换器(ADC)等器件中的一种或多种组成的读出电路(图中未示出)。The
一般地,TOF图像传感器121包括至少一个像素,与传统的仅用于拍照的图像传感器相比,这里每个像素则包含两个以上的抽头(tap,用于在相应电极的控制下存储并读取或者排出由入射光子产生的电荷信号),比如包括3个抽头,在单个帧周期(或单次曝光时间内)内以一定的次序依次切换抽头以采集相应的光子,以用于接收光信号并转换成电信号。Generally, the
控制与处理电路13可以是独立的专用电路,比如包含CPU、存储器、总线等组成的专用SOC芯片、FPGA芯片、ASIC芯片等等,也可以包含通用处理电路,比如当该深度相机被集成到如手机、电视、电脑等智能终端中去,终端中的处理电路可以作为该控制与处理电路13的至少一部分。The control and
控制与处理电路13用于提供光源111(或泛光光源模组14中的光源等)发射激光时所需的调制信号(发射信号),光源在调制信号的控制下向目标物体发射光束。比如在一个实施例中,调制信号为连续波信号如正弦波信号,光源在该正弦波信号的调制下振幅在时序上以正弦波形式发射;在一个实施例中,调制信号为方波信号或脉冲信号,光源在该调制信号的调制下振幅被时序上调制以产生方波信号或者脉冲信号向外发射。The control and
此外,控制与处理电路13还提供TOF图像传感器121各像素中各抽头的解调信号(采集信号),抽头在解调信号的控制下采集由包含目标物体反射回的反射的光束所产生的电信号。该电信号与反射光束的强度相关,控制与处理电路13随后对该电信号进行处理并计算出反映反射光束强度的强度信息以形成结构光图案,最后基于该结构光图案进行像匹配计算、三角法计算等计算以获得目标物 体的深度图像。In addition, the control and
在一些实施例中,深度测量装置10还包括泛光光源模组14,用于向外发射时序上振幅被调制的泛光光束。控制与处理电路13可以同步对泛光光源模组14与TOF图像传感器121进行调制与解调,以实现传统TOF测距方法以获取目标的深度图像,即通过对泛光光束由发射到被接收所需要的时间来进行深度值计算的方式。In some embodiments, the
在一些实施例中,深度测量装置10还可以包括驱动电路、电源、彩色相机、红外相机、IMU等器件,在图中并未示出,与这些器件的组合可以实现更加丰富的功能,比如3D纹理建模、红外人脸识别、SLAM等功能。深度测量装置10可以被嵌入到手机、平板电脑、计算机等电子产品中。In some embodiments, the
图2是根据本发明第一实施例的深度测量装置原理示意图。在控制与处理电路13的控制下,光发射模组11向目标物体发射振幅被正弦调制的结构光光束30,在本实施例中结构光光束30为不规则斑点结构光,即由多个光斑202以不规则排列形成的斑点结构光图案化光束201,各个光斑202的振幅在时序上被正弦调制。采集模组12中的TOF图像传感器的各个像素至少包括4个抽头,分别用于在单个帧周期内分别采集4次光信号并转换成电信号C1、C2、C3和C4,4次采集的时间以及间隔相同。Fig. 2 is a schematic diagram of the principle of the depth measuring device according to the first embodiment of the present invention. Under the control of the control and
控制与处理电路13接收电信号C1、C2、C3和C4计算出结构光光束的强度信息。在一个实施例中的,强度信息根据下式计算:The control and processing circuit 13 receives the electrical signals C1, C2, C3, and C4 to calculate the intensity information of the structured light beam. In one embodiment, the intensity information is calculated according to the following formula:
可以理解的是,这一计算方式类似于传统未被振幅调制的结构光光束,即在单个帧周期内通过单抽头连续积分的方式获取光信号的强度信息,只不过这里进行了平均。在获取所有像素的强度信息之后,就可以形成结构光图案了,最后再利用结构光图案进行匹配计算以获取视差以及根据视差计算出深度图像。It is understandable that this calculation method is similar to the traditional structured light beam that is not amplitude modulated, that is, the intensity information of the optical signal is obtained by means of single-tap continuous integration within a single frame period, except that it is averaged here. After obtaining the intensity information of all pixels, the structured light pattern can be formed, and finally the structured light pattern is used for matching calculation to obtain the parallax and calculate the depth image according to the parallax.
对于存在环境光信号时,这一光束强度计算方式与传统方式一样,均难以进行消除,从而导致最终的结构光图案信噪比较低。因此,在一个实施例,强度信息将根据下式计算:When there is an ambient light signal, this beam intensity calculation method is the same as the traditional method, which is difficult to eliminate, resulting in a lower signal-to-noise ratio of the final structured light pattern. Therefore, in one embodiment, the intensity information will be calculated according to the following formula:
上述信息实质上计算的是振幅调制信号的振幅值,这一振幅值计算由于进行了抽头之间的相减以及平方根,在非常小时间范围内可以看成环境光不变,因此相减正好可以十分有效地去除由环境光引起的噪声,同时该振幅值也非常完好地反映出了目标物体表面纹理所对应的反射光强度信息。可以理解的是,也可以通过对振幅进行平方等处理以得到光束的强度信息。The above information essentially calculates the amplitude value of the amplitude modulation signal. The calculation of this amplitude value is due to the subtraction between taps and the square root, which can be regarded as the ambient light unchanged in a very small time range, so the subtraction is just fine It effectively removes the noise caused by ambient light, and the amplitude value also perfectly reflects the reflected light intensity information corresponding to the surface texture of the target object. It is understandable that the intensity information of the light beam can also be obtained by squaring the amplitude.
上述基于4抽头的TOF图像传感器以及正弦波调制光发射信号的结构光图案获取方案同样也适用于其他抽头TOF图像传感器以及其他类型调制光发射信号的深度测量装置。The above-mentioned structured light pattern acquisition scheme based on the 4-tap TOF image sensor and the sine wave modulated light emission signal is also applicable to other tapped TOF image sensors and other types of depth measurement devices with modulated light emission signals.
如图3所示,是根据本发明第二实施例的深度测量装置原理示意图。在控制与处理电路13的控制下,光发射模组11向目标物体发射振幅被方波或脉冲调制的发射光束30为结构光光束,在本实施例中结构光光束为不规则斑点结构光,即由多个光斑202以不规则排列形成的斑点结构光图案化光束201,各个光斑202的振幅在时序上被方波或脉冲调制。采集模组12中的TOF图像传感器的各个像素至少包括3个抽头,分别用于在单个帧周期内分别采集3次光信号并转换成电信号C1、C2和C3,第一抽头的触发时间与光脉冲的发射时间同步,且触发时长与脉冲的宽度相同,第二、三抽头在第一抽头结束时相继被触发,触发时长与第一抽头相同。As shown in Fig. 3, it is a schematic diagram of the principle of the depth measuring device according to the second embodiment of the present invention. Under the control of the control and
由此,反射回的结构光光束的将被第一、第二、第三抽头采集到,控制与处理电路13接收电信号C1、C2和C3计算出结构光光束的强度信息。在一个实施例中的,强度信息根据下式计算:Thus, the reflected structured light beam will be collected by the first, second, and third taps, and the control and processing circuit 13 receives the electrical signals C1, C2, and C3 to calculate the intensity information of the structured light beam. In one embodiment, the intensity information is calculated according to the following formula:
同样地,这种利用加权平均的方式虽然可以计算出反映结构光光束强度的数值,但却与传统方法一样无法消除背景光所引起的噪声问题。因此在一个实施例中,强度信息将根据下式计算:Similarly, although this method of using weighted average can calculate the value reflecting the intensity of the structured light beam, it cannot eliminate the noise problem caused by the background light like the traditional method. Therefore, in one embodiment, the intensity information will be calculated according to the following formula:
B=C1+C2-2C3 (4)B=C1 +C2 -2C3 (4)
可以理解的是,也可以对上述取平均等计算以获取强度信息。与式(3)相比,由于第三抽头采集的是环境光信号,因此通过相减就可以有效消除环境光的影响从而提升信噪比。It is understandable that the above average can also be calculated to obtain the intensity information. Compared with formula (3), since the third tap collects the ambient light signal, the influence of ambient light can be effectively eliminated by subtraction, thereby improving the signal-to-noise ratio.
以上图2,3所示实施例中,分别举例了发射端以正弦波或者脉冲调制的方式,接收端采用4抽头或者3抽头的采集方式。在进行结构光图案强度信息计算时,均可以采用加权平均或者加入环境光消除因子的方式进行计算。可以理解的是,类似的发射端调制方式、接收端采集方式以及强度信息计算方式的组合均包含在本发明的范围之内。In the embodiments shown in Figures 2 and 3 above, the transmitter uses sine wave or pulse modulation, and the receiver uses 4-tap or 3-tap acquisition. When calculating the intensity information of the structured light pattern, a weighted average or an ambient light elimination factor can be used for calculation. It can be understood that the combination of similar modulation methods at the transmitting end, collection methods at the receiving end, and intensity information calculation methods are all included in the scope of the present invention.
与传统的结构光深度测量方法相比,本发明发射端采用了振幅调制,在接收端采用了多抽头像素采集,从而可以使得该方法拥有比传统方案更多的功能,比如可以实现传统方案难以实现的抗环境光干扰的深度测量方法。Compared with the traditional structured light depth measurement method, the present invention adopts amplitude modulation at the transmitting end and multi-tap pixel acquisition at the receiving end, so that the method can have more functions than the traditional scheme, for example, it can realize the difficulty of the traditional scheme. Realized depth measurement method against ambient light interference.
基于上述实施例的深度测量装置,还可以实现结构光与TOF结合的融合深度测量方案。图4是根据本发明一个实施例的融合TOF与结构光方案的深度测 量装置的结构示意图。深度测量装置40包括光发射模组41、采集模组42、泛光光源模组44以及控制与处理电路43。与前述各实施例相似,其中由光发射模组41、采集模组42以及控制与处理电路43可以组成结构光深度测量子单元,其获取深度图像的原理与图1~3所示实施例相同。此外,深度测量装置40中由泛光光源模组44、采集模组42以及控制与处理电路43组成了TOF深度测量子单元,类似地,泛光光源模组44中的光源同样被控制与处理电路43以一定的时序进行振幅调制,比如在一个实施例中,为了方便设计控制与处理电路43,泛光光源模组44中的光源与光发射模组41中的光源以相同的方式被调制,比如振幅调制强度、调制波型等参数均相同。Based on the depth measurement device of the foregoing embodiment, a fusion depth measurement solution combining structured light and TOF can also be realized. Fig. 4 is a schematic structural diagram of a depth measuring device integrating TOF and structured light solutions according to an embodiment of the present invention. The
控制与处理电路43也可以包含多个子电路分别对应于结构光深度测量子单元以及TOF深度测量子单元。TOF深度测量子单元与结构光深度测量子单元不同的是控制与处理电路43中所执行的深度计算原理,对于结构光深度测量子单元而言,如前述各实施例所述,控制与处理电路43对由采集模组42所形成的电信号进行处理并计算出反映反射光束强度的强度信息以形成结构光图案,再基于结构光图案利用结构光三角法进行深度值计算;而对于TOF深度测量子单元而言,控制与处理电路43则对采集模组42所形成的电信号进行处理以计算出相位差,并基于该相位差计算反射光束由发射端发射到接收端接收所用的飞行时间,进一步基于该飞行时间计算出目标的深度值。控制与处理电路43可以是高度集成的电路元器件,比如FPGA、SOC、ASIC等芯片,其内部包含可分别进行结构光计算以及TOF计算的电路模块,本发明同样提供了一个具体的实施例,将在图7所示的实施例中进行详述。The control and
回到图4,在本实施例中,结构光深度测量子单元以及TOF深度测量子单元分别用于测量范围在ΔZ1以及ΔZ2内的目标,并且ΔZ1≠ΔZ2。在一个实施例中,ΔZ1为近距,ΔZ2为远距,即由结构光深度测量子单元对近距的目标物体进行测量,由TOF深度测量子单元对远距的目标物体进行测量。由于结构光算法精度在近距离时较高且随距离增加会急速降低甚至无法测量,而TOF算法则在近距离测量时深度分辨率较低、而对远距离拥有较高的精度。可以同时启动两个子单元进行测量,比如前后帧切换的形式,在分别获取结构光深度图像以及TOF深度图像之后,可以将两幅深度图像进行融合以获取大范围、高精度的深度图像,融合方式可以采用基于置信度的加权平均等方式。比如在一个实施例中,根据相对精度设计置信度,对于结构光深度图像而言,深度值越大,置信度越低,而对于TOF深度图像而言,深度值越大,置信度越高。本实施例的方案所带来的有益效果是,可以使得深度测量装置40实现更大的测量范围,同时在大范围内均保持较高的测量精度。Returning to FIG. 4, in this embodiment, the structured light depth measurement subunit and the TOF depth measurement subunit are respectively used to measure targets within ΔZ1 and ΔZ2 , and ΔZ1 ≠ΔZ2 . In one embodiment, ΔZ1 is a short distance, and ΔZ2 is a long distance, that is, the structured light depth measurement subunit measures a short distance target object, and the TOF depth measurement subunit measures a long distance target object. Because the accuracy of the structured light algorithm is high at short distances and will rapidly decrease or even impossible to measure with the increase of distance, the TOF algorithm has lower depth resolution when measuring at short distances, and has higher accuracy for long distances. Two subunits can be started for measurement at the same time, such as the form of switching between front and rear frames. After obtaining the structured light depth image and the TOF depth image respectively, the two depth images can be fused to obtain a large-scale, high-precision depth image. A weighted average based on confidence level can be used. For example, in one embodiment, the confidence is designed according to the relative accuracy. For structured light depth images, the greater the depth value, the lower the confidence, and for TOF depth images, the greater the depth value, the higher the confidence. The beneficial effect brought by the solution of this embodiment is that the
图5是根据本发明又一实施例的融合TOF与结构光方案的深度测量装置的 结构示意图。该深度测量装置同样包含结构光深度测量子单元与TOF深度测量子单元,可以理解的是,TOF深度测量子单元即可以是由泛光光源模组与采集模组组成,也可以与结构光深度测量子单元相同由光发射模组以及采集模组组成,区别在于控制与处理电路对电信号的处理方式不同,对于TOF深度测量子单元而言,其计算的是相位信息。在本实施例中,默认TOF深度测量子单元由泛光光源模组与采集模组组成,其可以获取采集模组各个像素的TOF深度值。Fig. 5 is a schematic structural diagram of a depth measurement device integrating TOF and structured light solutions according to another embodiment of the present invention. The depth measurement device also includes a structured light depth measurement subunit and a TOF depth measurement subunit. It can be understood that the TOF depth measurement subunit can be composed of a flood light source module and a collection module, or can be combined with a structured light depth measurement subunit. The measurement subunit is the same composed of a light emitting module and an acquisition module. The difference is that the control and processing circuit processes the electrical signal in a different way. For the TOF depth measurement subunit, it calculates phase information. In this embodiment, the default TOF depth measurement subunit is composed of a flood light source module and an acquisition module, which can obtain the TOF depth value of each pixel of the acquisition module.
由于结构光深度计算需要进行匹配计算,匹配计算是整个深度计算环节中最消耗资源也是对精度影响最大的环节。匹配计算一般包括初始深度值估计、迭代优化、亚像素高精度深度值计算等几个步骤,其中初始深度值估计直接影响到后面步骤的效率与计算精度。本实施例中,将由TOF深度测量子单元所获取的TOF深度值作为结构光深度计算的初始深度值,如图5所示,采集模组中的TOF图像传感器包含多个像素51,光发射模组所发射的斑点光束经目标物体反射后成像在TOF图像传感器的一些像素上形成光斑52,可以理解的是,这里假定光斑52大致占2x2=4个像素,实际上光斑52可以是其他大小,在此不做限定。首先通过TOF深度测量子单元获取各个像素51的TOF深度值(对于由光发射模组及采集模组组成的TOF深度测量子单元而言,只能获取光斑52对应像素的TOF深度值D1~D4),其次通过结构光深度测量子单元采集包含各个斑点图案的结构光图案,最后进行结构光深度值计算时将TOF深度值作为匹配计算的初始深度值d。Since structured light depth calculation requires matching calculation, matching calculation is the most resource-consuming link in the entire depth calculation link and the link that has the greatest impact on accuracy. Matching calculation generally includes several steps such as initial depth value estimation, iterative optimization, and sub-pixel high-precision depth value calculation. The initial depth value estimation directly affects the efficiency and calculation accuracy of the subsequent steps. In this embodiment, the TOF depth value acquired by the TOF depth measurement subunit is used as the initial depth value for structured light depth calculation. As shown in FIG. 5, the TOF image sensor in the acquisition module includes a plurality of
由于TOF深度值本身就具备较高的精度,以此作为结构光深度匹配计算的初始值,再进行迭代计算实现亚像素的深度值估计,可以实现比单独结构光或者TOF计算更高精度的深度计算。Since the TOF depth value itself has high accuracy, it is used as the initial value of the structured light depth matching calculation, and then iterative calculation is carried out to realize the sub-pixel depth value estimation, which can achieve a higher precision depth than the structured light alone or TOF calculation. Calculation.
图4、5所示实施例中均涉及到结构光深度测量子单元与TOF深度测量子单元的融合,在实际操作过程中,两个子单元将以一定的时序进行工作,比如图6是根据本发明一个实施例的结构光与TOF时序控制示意图,在本实施例中,结构光与TOF以一定的频率切换工作,即在周期T1、T3、T5等中深度测量装置以结构光模式进行工作,而在周期T2、T4、T6等中以TOF模式进行工作。可以理解的是,根据实际需要也可以通过其他时序进行控制,比如对于图5所示实施而言,可以TOF一帧、结构光两帧的方式进行控制。The embodiments shown in Figures 4 and 5 all involve the fusion of the structured light depth measurement subunit and the TOF depth measurement subunit. In actual operation, the two subunits will work in a certain time sequence. For example, Figure 6 is based on this A schematic diagram of the timing control of structured light and TOF according to an embodiment of the invention. In this embodiment, the structured light and TOF are switched to work at a certain frequency, that is, the depth measuring device works in structured light mode during periods T1, T3, T5, etc., In cycles T2, T4, T6, etc., it works in TOF mode. It is understandable that other timings can be used for control according to actual needs. For example, for the implementation shown in FIG. 5, the control can be performed in the manner of one frame of TOF and two frames of structured light.
图7是根据本发明一个实施例的控制与处理电路架构示意图。为了尽可能提升计算效率以及降低功耗,将一些计算、控制功能设计成专用芯片,比如FPGA、ASIC或者SOC芯片的形式是非常有效的方式。本实施例提供一种可实现上述各实施例中控制或计算功能的专用控制与处理电路芯片架构。芯片70用于接收来自TOF图像传感器的电信号,通过内部各个模块的计算后输出深度图像,在计算过程中也会与其他器件进行数据通信,比如存储器等。Fig. 7 is a schematic diagram of a control and processing circuit architecture according to an embodiment of the present invention. In order to improve computing efficiency and reduce power consumption as much as possible, it is very effective to design some computing and control functions into dedicated chips, such as FPGA, ASIC or SOC chips. This embodiment provides a dedicated control and processing circuit chip architecture that can realize the control or calculation functions in the foregoing embodiments. The
芯片70可以实现多重模式深度计算,TOF深度计算模式、结构光深度计算模式以及融合深度计算模式。The
(1)TOF深度计算模式。(1) TOF depth calculation mode.
当在TOF深度计算模式下进行TOF深度计算时,芯片70接收来自TOF图像传感器的电信号,比如图2或图3所示实施例中的像素各个抽头所采集到的电信号值。电信号将首先进入分路器74-1,分路器74-1在主控制器(图中未示出)的控制下根据当前的模式选择性让电信号进入下一计算模块,在TOF深度计算模式下电信号将进入相位计算模块71。相位计算模块71执行对电信号的相位计算以获取相位值,该相位值与深度值之间存在线性关系,因此在一些实施例中,该相位计算模块也可以直接计算出深度值。随后相位值被送入标定模块进行标定,由于TOF测量常常受到噪声干扰,使得测量值与实际值之间存在一定的误差,因此在实际使用前将采用一个标定步骤,比如在一定的测量区间内每隔一段距离设置标定板,并且标定板的实际深度值已知,随后逐次对不同距离上的标定板进行实际测量得到各个距离对应的测量值,测量值与实际值之间的关系就可以作为预标定参数被存储到存储器中,标定模块在标定时将从存储器中调用预标定参数对当前测量值进行标定。这里的预标定参数即可以是实际值与测量值的对照表(index),此时标定模块72标定过程实际上是查表过程;也可以是通过一定的数学手段对误差进行建模,并通过预先的多次测量以计算得到模型中的未知参数,标定模块72的标定过程实际上就是基于模型、测量值计算出实际值的过程。经标定后的相位值/深度值将被送入第一后处理模块73,第一后处理模块73对相位值/深度值进行例如图像增强、插值计算等对其进行优化,比如孔洞填充、边缘优化等。被第一后处理模块73处理后的相位值/深度值经由复用器74-2输出。When TOF depth calculation is performed in the TOF depth calculation mode, the
(2)结构光深度计算模式。(2) Structured light depth calculation mode.
当在结构光深度计算模式下进行结构光深度计算时,芯片70接收来自TOF图像传感器的电信号,比如图2或图3所示实施例中的像素各个抽头所采集到的电信号值。电信号将首先进入分路器74-1,分路器74-1在主控制器(图中未示出)的控制下根据当前的模式选择性让电信号进入下一计算模块,在结构光深度计算模式下电信号将进入振幅计算模块75。振幅计算模块75执行对电信号的相位计算以获取反映光束强度的强度信息,比如振幅值。随后振幅值被送入前处理模块76进行去噪、对比度增强等处理,也可以对振幅值执行图像畸变校正等前处理任务。被前处理后的振幅值随后进入匹配模块77进行匹配计算,在进行匹配计算时匹配模块77将从存储器中调用被预先存储的参考图像,在一个实施例中,匹配模块77采用零均值归一化最小平方距离函数对振幅值对应的图像与参考图像进行像素偏离值的匹配估计。根据结构光三角法,像素偏离值与目标的深度值之间存在一定的关系,因此在一些实施例中,匹配模块77也可以直接进行深度 值的计算,当然深度值的计算也可以放在后续其他模块执行。匹配模块77输出的偏离值/深度值随后被送入第二后处理模块78进行例如图像增强、插值计算等对其进行优化,比如孔洞填充、边缘优化等。被第二后处理模块78处理后的偏离值/深度值经由复用器74-2输出。When performing structured light depth calculation in the structured light depth calculation mode, the
(3)融合深度计算模式。(3) Fusion depth calculation mode.
当在融合深度计算模式下进行深度计算时,上述两种模式下各个模块均进行工作,并由第一后处理模块73输出TOF深度图像,以及由第二后处理模块78输出结构光深度图像,TOF深度图像与结构光深度图像随后被送入融合模块79进行融合以输出最终的融合深度图像,融合深度图像经由复用器74-2进行输出。具体融合的方式可参考图4所示实施例。When performing depth calculation in the fusion depth calculation mode, each module in the above two modes works, and the
在一些实施例中,由第一后处理模块73输出的TOF深度图像后,直接进入匹配模块77,以作为匹配计算的初始值,具体的融合方案参考图5所示实施例。In some embodiments, after the TOF depth image output by the
在一些实施例中,相位计算模块71与振幅计算模块75可以是同一个计算模块,该模块将同步基于电信号计算出相位以及振幅,相位与振幅将被直接送入下一模块计算,或者被送入分路器74-1,分路器74-1根据当前的模式将相位和/或振幅送入相应的模块进行计算。In some embodiments, the
在一些实施例中,上述三种模式可以同步进行,复用器74-2可以实时同步或连续输出不同模式所输出的深度图像。In some embodiments, the above three modes can be performed synchronously, and the multiplexer 74-2 can synchronously or continuously output the depth images output by different modes in real time.
在一些实施例中,芯片70还可以包括如总线、主控制器、输入/输出接口等模块,比如若芯片70为集成SOC芯片时,将包括这些模块,分路器74-1通过输入接口接收数据,复用器74-2的数据通过输出接口输出,输入/输出接口可以是USB、MIPI、DVP等形式的接口;总线负责SOC内部各个模块以及外部模块之间的通信、传输;主控制器则负责内部各个模块之间的资源调配与功能触发等工作。In some embodiments, the
基于上述各实施例中的深度测量装置,本申请还提供下述深度测量方法。Based on the depth measurement devices in the foregoing embodiments, the present application also provides the following depth measurement methods.
如图8所示,本申请中一种距离测量方法如下:As shown in Figure 8, a distance measurement method in this application is as follows:
利用光源发射时序上振幅被调制的光束,所述光束被图案化光学元件接收后形成结构光光束向目标物体发射;The light source emits a light beam whose amplitude is modulated in time sequence, and the light beam is received by the patterned optical element to form a structured light beam and emitted to the target object;
利用包含至少一个像素的TOF图像传感器的所述像素接收由所述目标物体反射的结构光光束并形成电信号;Using the pixel of the TOF image sensor containing at least one pixel to receive the structured light beam reflected by the target object and form an electrical signal;
接收所述电信号并计算出所述反射的结构光光束的强度信息以形成结构光图案,以及,利用所述结构光图案计算所述目标物体的深度图像。The electric signal is received and the intensity information of the reflected structured light beam is calculated to form a structured light pattern, and the depth image of the target object is calculated by using the structured light pattern.
如图9所示,本申请中一种距离测量方法如下:As shown in Figure 9, a distance measurement method in this application is as follows:
利用光发射模组的光源发射时序上振幅被调制的光束,所述光束被图案化光学元件接收后形成结构光光束向目标物体发射;The light source of the light emitting module is used to emit a light beam whose amplitude is modulated in time sequence, and the light beam is received by the patterned optical element to form a structured light beam and emit it to the target object;
利用泛光光源模组向所述目标物体发射时序上振幅被调制的泛光光束;Using a flood light source module to emit a flood light beam whose amplitude is modulated in time sequence to the target object;
利用包含至少一个像素的TOF图像传感器的所述像素接收由所述目标物体反射的结构光光束并形成第一电信号;以及,接收所述目标物体反射的泛光光束并形成第二电信号;Using the pixel of the TOF image sensor containing at least one pixel to receive the structured light beam reflected by the target object and form a first electrical signal; and, receive the floodlight beam reflected by the target object and form a second electrical signal;
对所述光发射模组和所述泛光光源模组的时序进行控制,按所述时序分别接收所述目标物体反射的所述结构光光束形成的所述第一电信号,以及,所述目标物体反射的所述泛光光束形成的所述第二电信号;分别对所述第一电信号和第二电信号进行处理获得所述目标物体的深度图像。Control the timing of the light emitting module and the flood light source module, and respectively receive the first electrical signal formed by the structured light beam reflected by the target object according to the timing, and The second electrical signal formed by the floodlight beam reflected by the target object; the first electrical signal and the second electrical signal are respectively processed to obtain a depth image of the target object.
如图10所示,一种实施例中对所述电信号进行处理包括:As shown in FIG. 10, in an embodiment, processing the electrical signal includes:
根据所述结构光光束形成的所述第一电信号计算出所述结构光光束的强度信息以形成结构光图案,利用所述结构光图案计算所述目标物体的第一深度图像;Calculating the intensity information of the structured light beam according to the first electrical signal formed by the structured light beam to form a structured light pattern, and calculating a first depth image of the target object by using the structured light pattern;
根据所述泛光光束形成的所述第二电信号计算出相位差,并基于所述相位差计算所述泛光光束由发射到被接收所需要的飞行时间,基于所述飞行时间计算所述目标物体的深度值,利用所述深度值获取所述目标物体的第二深度图像;The phase difference is calculated according to the second electrical signal formed by the flood light beam, and the flight time required for the flood light beam from emission to reception is calculated based on the phase difference, and the flight time is calculated based on the flight time The depth value of the target object, using the depth value to obtain a second depth image of the target object;
将所述第一深度图像和所述第二深度图像融合获得所述目标物体的深度图像。Fusing the first depth image and the second depth image to obtain a depth image of the target object.
如图11所示,另一种实施例中对所述电信号进行处理包括:As shown in FIG. 11, processing the electrical signal in another embodiment includes:
根据所述泛光光束形成的所述第二电信号计算出相位差,并基于所述相位差计算所述泛光光束由发射到被接收所需要的飞行时间,基于该所述飞行时间计算各个所述像素的TOF深度值;The phase difference is calculated according to the second electrical signal formed by the flood light beam, and the flight time required for the flood light beam from emission to reception is calculated based on the phase difference, and each flight time is calculated based on the flight time TOF depth value of the pixel;
根据所述结构光光束形成的所述第一电信号计算出所述结构光光束的强度信息以形成结构光图案;Calculating the intensity information of the structured light beam according to the first electrical signal formed by the structured light beam to form a structured light pattern;
将所述TOF深度值作为所述结构光图案匹配计算的初始深度值,利用所述结构光图案计算所述目标物体的深度图像。The TOF depth value is used as the initial depth value calculated by the structured light pattern matching calculation, and the depth image of the target object is calculated by using the structured light pattern.
本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专 利实践,计算机可读介质不包括电载波信号和电信信号。The present invention implements all or part of the processes in the above-mentioned embodiment methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the steps of the foregoing method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted in accordance with the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
本发明达到的有益效果为,提供了一种基于振幅时序调制的结构光发射端与TOF图像传感器组成的深度测量装置,并提出了基于该装置的多种深度图像获取的方案,以实现目前传统方案难以实现的高精度、大范围深度测量。同时还提供了一种深度计算芯片架构以从芯片级实现该方案,最终实现低功耗、高效率计算的目的。The beneficial effect achieved by the present invention is to provide a depth measurement device composed of a structured light emitting end based on amplitude timing modulation and a TOF image sensor, and propose a variety of depth image acquisition schemes based on the device to realize the current traditional High-precision, wide-range depth measurement that the solution is difficult to achieve At the same time, it also provides a deep computing chip architecture to realize the solution from the chip level, and finally realize the purpose of low power consumption and high efficiency computing.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的技术人员来说,在不脱离本发明构思的前提下,还可以做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in combination with specific preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art to which the present invention belongs, without departing from the concept of the present invention, several equivalent substitutions or obvious modifications can be made, and the same performance or use should be regarded as belonging to the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201910632082.4 | 2019-07-12 | ||
| CN201910632082.4ACN110333501A (en) | 2019-07-12 | 2019-07-12 | Depth measuring device and distance measuring method | 
| Publication Number | Publication Date | 
|---|---|
| WO2021008209A1true WO2021008209A1 (en) | 2021-01-21 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| PCT/CN2020/089758CeasedWO2021008209A1 (en) | 2019-07-12 | 2020-05-12 | Depth measurement apparatus and distance measurement method | 
| Country | Link | 
|---|---|
| CN (1) | CN110333501A (en) | 
| WO (1) | WO2021008209A1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN113326802A (en)* | 2021-06-23 | 2021-08-31 | 深圳博升光电科技有限公司 | 3D recognition device, 3D recognition system and recognition method thereof | 
| CN113960569A (en)* | 2021-10-19 | 2022-01-21 | 深圳奥锐达科技有限公司 | Distance measuring system and distance measuring method | 
| CN113960562A (en)* | 2021-08-17 | 2022-01-21 | 科沃斯机器人股份有限公司 | Structured light module and self-moving equipment | 
| CN114236504A (en)* | 2021-12-17 | 2022-03-25 | 奥诚信息科技(上海)有限公司 | dToF-based detection system and light source adjusting method thereof | 
| CN114236505A (en)* | 2021-12-20 | 2022-03-25 | 奥诚信息科技(上海)有限公司 | A DToF-based measurement system and method | 
| CN115079188A (en)* | 2021-03-10 | 2022-09-20 | 奥比中光科技集团股份有限公司 | Flight time measuring method and device and time flight depth camera | 
| CN115079187A (en)* | 2021-03-10 | 2022-09-20 | 奥比中光科技集团股份有限公司 | Flight time measuring method and device and time flight depth camera | 
| WO2022194570A1 (en)* | 2021-03-15 | 2022-09-22 | Sony Semiconductor Solutions Corporation | Illumination circuitry, illumination method, time-of-flight module | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN110333501A (en)* | 2019-07-12 | 2019-10-15 | 深圳奥比中光科技有限公司 | Depth measuring device and distance measuring method | 
| CN110954029B (en)* | 2019-11-04 | 2022-11-18 | 奥比中光科技集团股份有限公司 | Three-dimensional measurement system under screen | 
| US10890839B1 (en)* | 2019-11-06 | 2021-01-12 | Himax Technologies Limited | Structured light imaging device | 
| CN112929519B (en)* | 2019-12-06 | 2022-10-25 | Oppo广东移动通信有限公司 | Depth Cameras, Imaging Devices and Electronics | 
| CN111045029B (en)* | 2019-12-18 | 2022-06-28 | 奥比中光科技集团股份有限公司 | Fused depth measuring device and measuring method | 
| CN110954917A (en)* | 2019-12-18 | 2020-04-03 | 深圳奥比中光科技有限公司 | Depth measuring device and depth measuring method | 
| CN111123289B (en)* | 2019-12-18 | 2023-03-24 | 奥比中光科技集团股份有限公司 | Depth measuring device and measuring method | 
| CN111025317B (en)* | 2019-12-28 | 2022-04-26 | 奥比中光科技集团股份有限公司 | Adjustable depth measuring device and measuring method | 
| CN111025319B (en)* | 2019-12-28 | 2022-05-27 | 奥比中光科技集团股份有限公司 | Depth measuring device and measuring method | 
| CN111239729B (en)* | 2020-01-17 | 2022-04-05 | 西安交通大学 | ToF depth sensor with fusion speckle and flood projection and its ranging method | 
| CN111323205B (en)* | 2020-02-21 | 2021-08-03 | 奥比中光科技集团股份有限公司 | Micro-mirror array-based MEMS micro-galvanometer monitoring device and method | 
| CN111189617B (en)* | 2020-02-21 | 2021-08-03 | 奥比中光科技集团股份有限公司 | MEMS micro-galvanometer monitoring device and method based on optical super-surface | 
| CN111366941B (en)* | 2020-04-20 | 2025-01-28 | 奥比中光科技集团股份有限公司 | TOF depth measurement device and method | 
| CN111626282A (en)* | 2020-05-12 | 2020-09-04 | 深圳阜时科技有限公司 | Image sensing device and electronic apparatus | 
| CN111736173B (en)* | 2020-05-24 | 2023-04-11 | 奥比中光科技集团股份有限公司 | Depth measuring device and method based on TOF and electronic equipment | 
| CN112462388A (en)* | 2020-11-12 | 2021-03-09 | 深圳博升光电科技有限公司 | Three-dimensional imaging device and method and electronic equipment | 
| CN112346076A (en)* | 2020-11-25 | 2021-02-09 | Oppo(重庆)智能科技有限公司 | Control method of electronic device, and computer-readable storage medium | 
| CN112615979B (en)* | 2020-12-07 | 2022-03-15 | 江西欧迈斯微电子有限公司 | Image acquisition method, image acquisition apparatus, electronic apparatus, and storage medium | 
| CN112712476B (en)* | 2020-12-17 | 2023-06-02 | 豪威科技(武汉)有限公司 | Denoising method and device for TOF ranging and TOF camera | 
| CN113031001B (en)* | 2021-02-24 | 2024-02-13 | Oppo广东移动通信有限公司 | Depth information processing method, depth information processing device, medium and electronic apparatus | 
| CN112969019B (en)* | 2021-02-26 | 2023-08-08 | 深圳荆虹科技有限公司 | TOF module and electronic device | 
| CN113075672B (en)* | 2021-03-03 | 2024-08-09 | 深圳市灵明光子科技有限公司 | Ranging method and system, and computer-readable storage medium | 
| CN113596330B (en)* | 2021-07-28 | 2023-04-07 | 北京水木东方医用机器人技术创新中心有限公司 | Method, device and equipment for improving refresh rate of infrared optical positioner | 
| WO2023011091A1 (en)* | 2021-08-03 | 2023-02-09 | Congying Sui | An imaging method and system based on wise-pixels with valved modulation | 
| CN115097474A (en)* | 2022-06-23 | 2022-09-23 | 深圳市汇顶科技股份有限公司 | Time difference of flight ranging module, method and electronic equipment | 
| CN116165679A (en)* | 2023-02-16 | 2023-05-26 | 奥比中光科技集团股份有限公司 | Multi-spectral depth camera, spectrum and depth measurement method | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN102694998A (en)* | 2011-03-24 | 2012-09-26 | 三星电子株式会社 | Depth sensors, depth information error compensation methods thereof, and signal processing systems having the depth sensors | 
| WO2016118310A1 (en)* | 2015-01-21 | 2016-07-28 | Microsoft Technology Licensing, Llc | Multiple exposure structured light pattern | 
| CN107067428A (en)* | 2017-03-10 | 2017-08-18 | 深圳奥比中光科技有限公司 | Augmented reality projection arrangement and method | 
| CN108490632A (en)* | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Laser projection module, depth camera and electronic device | 
| CN108881717A (en)* | 2018-06-15 | 2018-11-23 | 深圳奥比中光科技有限公司 | A kind of Depth Imaging method and system | 
| CN109283508A (en)* | 2018-11-21 | 2019-01-29 | 深圳奥比中光科技有限公司 | Flight time calculation method | 
| CN109343070A (en)* | 2018-11-21 | 2019-02-15 | 深圳奥比中光科技有限公司 | Time flight depth camera | 
| CN110333501A (en)* | 2019-07-12 | 2019-10-15 | 深圳奥比中光科技有限公司 | Depth measuring device and distance measuring method | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| RU2012154657A (en)* | 2012-12-17 | 2014-06-27 | ЭлЭсАй Корпорейшн | METHODS AND DEVICE FOR COMBINING IMAGES WITH DEPTH GENERATED USING DIFFERENT METHODS FOR FORMING IMAGES WITH DEPTH | 
| KR102301744B1 (en)* | 2016-06-15 | 2021-09-14 | 소니그룹주식회사 | Shooting device, shooting method, program | 
| KR102752035B1 (en)* | 2016-08-22 | 2025-01-09 | 삼성전자주식회사 | Method and device for acquiring distance information | 
| US10557925B2 (en)* | 2016-08-26 | 2020-02-11 | Samsung Electronics Co., Ltd. | Time-of-flight (TOF) image sensor using amplitude modulation for range measurement | 
| US10242454B2 (en)* | 2017-01-25 | 2019-03-26 | Google Llc | System for depth data filtering based on amplitude energy values | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN102694998A (en)* | 2011-03-24 | 2012-09-26 | 三星电子株式会社 | Depth sensors, depth information error compensation methods thereof, and signal processing systems having the depth sensors | 
| WO2016118310A1 (en)* | 2015-01-21 | 2016-07-28 | Microsoft Technology Licensing, Llc | Multiple exposure structured light pattern | 
| CN107067428A (en)* | 2017-03-10 | 2017-08-18 | 深圳奥比中光科技有限公司 | Augmented reality projection arrangement and method | 
| CN108490632A (en)* | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Laser projection module, depth camera and electronic device | 
| CN108881717A (en)* | 2018-06-15 | 2018-11-23 | 深圳奥比中光科技有限公司 | A kind of Depth Imaging method and system | 
| CN109283508A (en)* | 2018-11-21 | 2019-01-29 | 深圳奥比中光科技有限公司 | Flight time calculation method | 
| CN109343070A (en)* | 2018-11-21 | 2019-02-15 | 深圳奥比中光科技有限公司 | Time flight depth camera | 
| CN110333501A (en)* | 2019-07-12 | 2019-10-15 | 深圳奥比中光科技有限公司 | Depth measuring device and distance measuring method | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN115079188A (en)* | 2021-03-10 | 2022-09-20 | 奥比中光科技集团股份有限公司 | Flight time measuring method and device and time flight depth camera | 
| CN115079187A (en)* | 2021-03-10 | 2022-09-20 | 奥比中光科技集团股份有限公司 | Flight time measuring method and device and time flight depth camera | 
| WO2022194570A1 (en)* | 2021-03-15 | 2022-09-22 | Sony Semiconductor Solutions Corporation | Illumination circuitry, illumination method, time-of-flight module | 
| CN113326802A (en)* | 2021-06-23 | 2021-08-31 | 深圳博升光电科技有限公司 | 3D recognition device, 3D recognition system and recognition method thereof | 
| CN113960562A (en)* | 2021-08-17 | 2022-01-21 | 科沃斯机器人股份有限公司 | Structured light module and self-moving equipment | 
| CN113960569A (en)* | 2021-10-19 | 2022-01-21 | 深圳奥锐达科技有限公司 | Distance measuring system and distance measuring method | 
| CN114236504A (en)* | 2021-12-17 | 2022-03-25 | 奥诚信息科技(上海)有限公司 | dToF-based detection system and light source adjusting method thereof | 
| CN114236505A (en)* | 2021-12-20 | 2022-03-25 | 奥诚信息科技(上海)有限公司 | A DToF-based measurement system and method | 
| Publication number | Publication date | 
|---|---|
| CN110333501A (en) | 2019-10-15 | 
| Publication | Publication Date | Title | 
|---|---|---|
| WO2021008209A1 (en) | Depth measurement apparatus and distance measurement method | |
| CN110471080A (en) | Depth measurement device based on TOF imaging sensor | |
| CN110456379A (en) | Fusion depth measurement device and distance measurement method | |
| CN111045029B (en) | Fused depth measuring device and measuring method | |
| CN111123289B (en) | Depth measuring device and measuring method | |
| CN110596722B (en) | System and method for measuring flight time distance with adjustable histogram | |
| CN110488240A (en) | Depth calculation chip architecture | |
| CN110596721B (en) | Flight time distance measuring system and method of double-shared TDC circuit | |
| US11536804B2 (en) | Glare mitigation in LIDAR applications | |
| CN110221272B (en) | Time flight depth camera and anti-interference distance measurement method | |
| CN110596725B (en) | Time-of-flight measurement method and system based on interpolation | |
| CN110221273B (en) | Time flight depth camera and distance measuring method of single-frequency modulation and demodulation | |
| CN110221274B (en) | Time flight depth camera and multi-frequency modulation and demodulation distance measuring method | |
| CN106911888B (en) | a device | |
| CN110596723B (en) | Dynamic histogram drawing flight time distance measuring method and measuring system | |
| CN110320528B (en) | Time depth camera and noise reduction distance measurement method for multi-frequency modulation and demodulation | |
| CN110596724B (en) | Method and system for measuring flight time distance during dynamic histogram drawing | |
| WO2021128587A1 (en) | Adjustable depth measuring device and measuring method | |
| CN110361751B (en) | Time flight depth camera and distance measuring method for reducing noise of single-frequency modulation and demodulation | |
| CN111538024B (en) | Filtering ToF depth measurement method and device | |
| CN111708039A (en) | Depth measuring device and method and electronic equipment | |
| US20220043129A1 (en) | Time flight depth camera and multi-frequency modulation and demodulation distance measuring method | |
| WO2022241942A1 (en) | Depth camera and depth calculation method | |
| CN114488173A (en) | A time-of-flight-based distance detection method and system | |
| CN114549609A (en) | A depth measurement system and method | 
| Date | Code | Title | Description | 
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:20840978 Country of ref document:EP Kind code of ref document:A1 | |
| NENP | Non-entry into the national phase | Ref country code:DE | |
| 122 | Ep: pct application non-entry in european phase | Ref document number:20840978 Country of ref document:EP Kind code of ref document:A1 |