[go: up one dir, main page]

CN106979758A - A kind of three-dimensional measuring apparatus and method - Google Patents

A kind of three-dimensional measuring apparatus and method Download PDF

Info

Publication number
CN106979758A
CN106979758A CN201710426766.XA CN201710426766A CN106979758A CN 106979758 A CN106979758 A CN 106979758A CN 201710426766 A CN201710426766 A CN 201710426766A CN 106979758 A CN106979758 A CN 106979758A
Authority
CN
China
Prior art keywords
fringe image
grating
modulated
sinusoidal
measurement object
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.)
Pending
Application number
CN201710426766.XA
Other languages
Chinese (zh)
Inventor
王拥军
忻向军
张琦
田清华
张丽佳
田凤
刘博�
耿屹川
王帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201710426766.XA priority Critical patent/CN106979758A/en
Publication of CN106979758A publication Critical patent/CN106979758A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/254Projection of a pattern, viewing through a pattern, e.g. moiré

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明实施例提供了一种三维测量装置和方法,三维测量装置包括:投射单元,包括依次排列的照明器、聚焦透镜组、正弦光栅片、成像透镜和光屏,聚焦透镜组和成像透镜均使所述正弦条纹图像清晰准确;照明器发射的光,依次经过聚焦透镜组、正弦光栅片和成像透镜生成正弦条纹图像;正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经测量对象调制后生成调制光栅条纹图像,未调制光栅条纹图像或者调制光栅条纹图像被投射至光屏;成像单元,采集投射在光屏上的未调制光栅条纹图像或者调制光栅条纹图像;处理单元,根据成像单元采集到的未调制光栅条纹图像和调制光栅条纹图像,计算测量对象的尺寸。应用本发明实施例能够提高三维测量的精度。

The embodiment of the present invention provides a three-dimensional measurement device and method. The three-dimensional measurement device includes: a projection unit, including an illuminator, a focusing lens group, a sinusoidal grating sheet, an imaging lens and a light screen arranged in sequence, and the focusing lens group and the imaging lens are both used The sinusoidal fringe image is clear and accurate; the light emitted by the illuminator sequentially passes through the focusing lens group, the sinusoidal grating sheet and the imaging lens to generate a sinusoidal fringe image; the sinusoidal fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or the measurement object After modulation, a modulated grating fringe image is generated, and an unmodulated grating fringe image or a modulated grating fringe image is projected onto the light screen; an imaging unit collects an unmodulated grating fringe image or a modulated grating fringe image projected on the light screen; The unmodulated grating fringe image and the modulated grating fringe image collected by the unit are used to calculate the size of the measurement object. The application of the embodiments of the present invention can improve the accuracy of three-dimensional measurement.

Description

一种三维测量装置和方法A three-dimensional measuring device and method

技术领域technical field

本发明涉及光学测量技术领域,特别是涉及一种三维测量装置和方法。The invention relates to the technical field of optical measurement, in particular to a three-dimensional measurement device and method.

背景技术Background technique

随着三维测量技术的日益成熟,已经逐步应用在国防军事、航空航天、机械制造、美容、娱乐等诸多领域,具体用于通过三维图像分析来获取测量对象的三维尺寸。With the increasing maturity of three-dimensional measurement technology, it has been gradually applied in many fields such as national defense, aerospace, machinery manufacturing, beauty, entertainment, etc., and is specifically used to obtain the three-dimensional size of the measurement object through three-dimensional image analysis.

目前,基于相移法的三维测量法由于速度快、操作简单、成本低等特点受到了人们的广泛关注。在基于相移法的三维测量法中,使用的投射单元通常为投影仪,由于投影仪投射出的图像是由像素点组成的数字信号,精度较低,且投影仪的亮度有限,在一定程度上影响了三维测量的准确度。At present, the three-dimensional measurement method based on the phase shift method has attracted widespread attention due to its characteristics of fast speed, simple operation and low cost. In the three-dimensional measurement method based on the phase shift method, the projection unit used is usually a projector. Since the image projected by the projector is a digital signal composed of pixels, the accuracy is low, and the brightness of the projector is limited. To a certain extent It affects the accuracy of 3D measurement.

发明内容Contents of the invention

本发明实施例的目的在于提供一种三维测量装置和方法,以提高三维测量的精度。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a three-dimensional measurement device and method to improve the accuracy of three-dimensional measurement. The specific technical scheme is as follows:

本发明实施例提供了一种三维测量装置,所述装置包括:An embodiment of the present invention provides a three-dimensional measuring device, the device comprising:

投射单元,包括依次排列的照明器、聚焦透镜组、正弦光栅片、成像透镜和光屏,所述聚焦透镜组和所述成像透镜均使所述正弦条纹图像清晰准确;所述照明器发射的光,依次经过所述聚焦透镜组、所述正弦光栅片和所述成像透镜生成正弦条纹图像;所述正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经所述测量对象调制后生成调制光栅条纹图像,所述未调制光栅条纹图像或者所述调制光栅条纹图像被投射至光屏;成像单元,采集投射在所述光屏上的所述未调制光栅条纹图像或者所述调制光栅条纹图像;处理单元,根据所述成像单元采集到的所述未调制光栅条纹图像和所述调制光栅条纹图像,计算所述测量对象的尺寸。The projection unit includes an illuminator, a focus lens group, a sinusoidal grating sheet, an imaging lens and a light screen arranged in sequence, and both the focus lens group and the imaging lens make the sinusoidal fringe image clear and accurate; the light emitted by the illuminator , sequentially passing through the focusing lens group, the sinusoidal grating sheet and the imaging lens to generate a sinusoidal fringe image; the sinusoidal fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or is generated after being modulated by the measurement object A modulated grating fringe image, the unmodulated grating fringe image or the modulated grating fringe image is projected onto a light screen; an imaging unit collects the unmodulated grating fringe image or the modulated grating fringe image projected on the light screen An image; a processing unit that calculates the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit.

优选的,所述聚焦透镜组,包括依次排列的平凸透镜、双胶合透镜和平凸透镜;所述成像透镜,包括平凸透镜。Preferably, the focusing lens group includes plano-convex lenses, doublet lenses and plano-convex lenses arranged in sequence; the imaging lens includes plano-convex lenses.

优选的,所述投射单元,还包括:匀光器、分光片和准直透镜;所述匀光器、所述分光片和所述准直透镜依次排列在所述照明器和所述聚焦透镜组之间,所述匀光器靠近所述照明器;所述匀光器使所述照明器发射的光的光强度均匀,并缩小所述照明器发射的光的发散角;所述分光片将经过所述匀光器的光中所含的杂散光滤除;所述准直透镜将经过所述分光片的光调整为平行光束。Preferably, the projection unit further includes: a light homogenizer, a light splitter and a collimator lens; the light homogenizer, the light splitter and the collimator lens are sequentially arranged between the illuminator and the focusing lens Between groups, the light homogenizer is close to the illuminator; the light homogenizer makes the light intensity of the light emitted by the illuminator uniform, and narrows the divergence angle of the light emitted by the illuminator; the light splitter The stray light contained in the light passing through the homogenizer is filtered; the collimating lens adjusts the light passing through the light splitter into a parallel beam.

优选的,所述照明器,包括LED阵列;所述匀光器的孔径大于所述LED阵列的截面。Preferably, the illuminator includes an LED array; the aperture of the homogenizer is larger than the section of the LED array.

优选的,所述装置还包括:位置调节器;所述位置调节器,在垂直于所述投射单元生成的光路方向,移动所述正弦光栅片的位置,以调制所述成像单元采集到的光栅条纹图像的相位。Preferably, the device further includes: a position adjuster; the position adjuster moves the position of the sinusoidal grating sheet in a direction perpendicular to the optical path generated by the projection unit, so as to modulate the grating collected by the imaging unit The phase of the fringe image.

优选的,所述装置还包括:控制单元;所述控制单元,在所述光屏之前未摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相,使所述成像单元采集到所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;在所述光屏之前摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相,使所述成像单元采集到所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像。Preferably, the device further includes: a control unit; when the measurement object is not placed in front of the light screen, the control unit uses the position regulator to adjust the The sinusoidal grating sheet in the projection unit is phase-shifted, so that the imaging unit collects the unmodulated grating fringe image in which the sinusoidal fringe image has not been modulated by the measurement object; when the measurement object is placed in front of the light screen , using the position regulator to shift the phase of the sinusoidal grating in the projection unit according to a preset phase shift value, so that the imaging unit can collect the sinusoidal fringe image modulated by the measurement object Modulates the raster fringe image.

优选的,所述成像单元,采集所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像;所述处理单元,使用双频外差法,通过解析所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,得到所述测量对象的尺寸。Preferably, the imaging unit collects an unmodulated grating fringe image of the sinusoidal fringe image that has not been modulated by the measurement object; collects a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object; the processing The unit uses a dual-frequency heterodyne method to obtain the size of the measurement object by analyzing the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit.

本发明实施例还提供了一种三维测量方法,应用于三维测量装置,所述三维测量装置包括:投射单元、成像单元和处理单元;所述方法包括:利用所述投射单元,生成正弦条纹图像;利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像;利用所述处理单元,根据所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,计算所述测量对象的尺寸。The embodiment of the present invention also provides a three-dimensional measurement method, which is applied to a three-dimensional measurement device. The three-dimensional measurement device includes: a projection unit, an imaging unit, and a processing unit; the method includes: using the projection unit to generate a sinusoidal fringe image ; using the imaging unit to collect the modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and the unmodulated grating fringe image not modulated by the measurement object; using the processing unit, according to the The modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit are used to calculate the size of the measurement object.

优选的,所述方法还包括:利用位置调节器移动所述投射单元中正弦光栅片的位置,以改变所述成像单元采集到的光栅条纹图像的相位。Preferably, the method further includes: using a position adjuster to move the position of the sinusoidal grating sheet in the projection unit, so as to change the phase of the grating fringe image collected by the imaging unit.

优选的,在所述利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像的步骤之前,所述方法还包括:在所述光屏之前未摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相;在所述光屏之前摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相;所述利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像的步骤,包括:利用所述成像单元,采集所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像;所述利用所述处理单元根据所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,计算所述测量对象的尺寸的步骤,包括:使用双频外差法,通过解析所述成像单元采集到的四张所述调制光栅条纹图像和四张所述未调制光栅条纹图像,得到所述测量对象的尺寸。Preferably, before the step of using the imaging unit to acquire a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and an unmodulated grating fringe image not modulated by the measurement object, the The method further includes: when the measurement object is not placed in front of the light screen, using the position adjuster to shift the phase of the sinusoidal grating in the projection unit according to a preset phase shift value; When the measurement object is placed in front of the light screen, use the position regulator to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value; using the imaging unit, The step of acquiring a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and an unmodulated grating fringe image not modulated by the measurement object includes: using the imaging unit to collect the sinusoidal fringe image An unmodulated grating fringe image that has not been modulated by the measurement object; using the imaging unit, collecting a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object; using the processing unit according to the imaging The step of calculating the size of the measurement object from the modulated grating fringe image and the unmodulated grating fringe image collected by the unit includes: using a dual-frequency heterodyne method to analyze the four images collected by the imaging unit The modulated grating fringe image and four unmodulated grating fringe images are used to obtain the size of the measurement object.

本发明实施例提供的一种三维测量装置和方法,三维测量装置包括投射单元、成像单元和处理单元,投射单元包括依次排列的照明器、聚焦透镜组、正弦光栅片、成像透镜和光屏;具体的,照明器发射的光,依次经过聚焦透镜组、正弦光栅片和成像透镜生成正弦条纹图像,正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经测量对象调制后生成调制光栅条纹图像,未调制光栅条纹图像或者调制光栅条纹图像被投射至光屏,其中,聚焦透镜组和成像透镜均使正弦条纹图像清晰准确;成像单元,能够采集投射在光屏上的未调制光栅条纹图像或者调制光栅条纹图像;处理单元,根据成像单元采集到的未调制光栅条纹图像和调制光栅条纹图像,计算测量对象的尺寸。The embodiment of the present invention provides a three-dimensional measurement device and method. The three-dimensional measurement device includes a projection unit, an imaging unit, and a processing unit. The projection unit includes an illuminator, a focusing lens group, a sinusoidal grating, an imaging lens, and a light screen arranged in sequence; The light emitted by the illuminator sequentially passes through the focusing lens group, the sinusoidal grating sheet and the imaging lens to generate a sinusoidal fringe image. The sinusoidal fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or modulated by the measurement object to generate a modulated grating fringe image The image, the unmodulated grating fringe image or the modulated grating fringe image is projected onto the light screen, wherein both the focusing lens group and the imaging lens make the sinusoidal fringe image clear and accurate; the imaging unit can collect the unmodulated grating fringe image projected on the light screen Or modulate the grating fringe image; the processing unit calculates the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit.

这样,投射单元生成的正弦条纹图像是利用正弦光栅片产生的模拟光,因此,成像单元采集到的由正弦条纹图像生成的光栅条纹图像能够携带更加丰富且精确的测量物体的尺寸信息,使得处理单元计算出的测量对象的尺寸更加精确。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。In this way, the sinusoidal fringe image generated by the projection unit uses the simulated light generated by the sinusoidal grating sheet. Therefore, the grating fringe image generated by the sinusoidal fringe image collected by the imaging unit can carry more abundant and accurate size information of the measured object, making the processing The dimensions of the measured object calculated by the unit are more accurate. Of course, implementing any product or method of the present invention does not necessarily need to achieve all the above-mentioned advantages at the same time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例的三维测量装置的一种结构示意图;FIG. 1 is a schematic structural view of a three-dimensional measuring device according to an embodiment of the present invention;

图2为本发明实施例中,投射单元的一种具体结构示意图;FIG. 2 is a schematic structural diagram of a projection unit in an embodiment of the present invention;

图3为本发明实施例的三维测量方法的一种流程图;Fig. 3 is a kind of flowchart of the three-dimensional measurement method of the embodiment of the present invention;

图4为本发明实施例的三维测量方法的一种应用示意图。Fig. 4 is a schematic diagram of an application of the three-dimensional measurement method of the embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例公开了一种三维测量装置,参见图1,图1为本发明实施例的三维测量装置的一种结构示意图;如图1所示,装置包括:投射单元101、成像单元102和处理单元103。The embodiment of the present invention discloses a three-dimensional measuring device, see FIG. 1, which is a schematic structural diagram of the three-dimensional measuring device according to the embodiment of the present invention; as shown in FIG. 1, the device includes: a projection unit 101, an imaging unit 102 and processing unit 103.

投射单元101,包括依次排列的照明器1011、聚焦透镜组1012、正弦光栅片1013、成像透镜1014和光屏1015;聚焦透镜组1012和成像透镜1014均使正弦条纹图像清晰准确。The projection unit 101 includes an illuminator 1011, a focusing lens group 1012, a sinusoidal grating sheet 1013, an imaging lens 1014 and a light screen 1015 arranged in sequence; both the focusing lens group 1012 and the imaging lens 1014 make the sinusoidal fringe image clear and accurate.

其中,照明器1011、聚焦透镜组1012、正弦光栅片1013、成像透镜1014和光屏1015在水平面上依次排列组成投射单元101。具体的,照明器1011用于生成光源;弦光栅片1013用于将照明器生成的光调制成正弦条纹图像;聚焦透镜组1012和成像透镜1014用于使生成的正弦条纹图像更加清晰准确;测量对象摆放在能够观察到清晰正弦条纹图像的位置,光屏1015放置在测量对象之后,光屏1015用于接收正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经测量对象调制后生成调制光栅条纹图像。Wherein, illuminator 1011 , focusing lens group 1012 , sinusoidal grating sheet 1013 , imaging lens 1014 and light screen 1015 are arranged sequentially on the horizontal plane to form projection unit 101 . Specifically, the illuminator 1011 is used to generate a light source; the string grating sheet 1013 is used to modulate the light generated by the illuminator into a sinusoidal fringe image; the focusing lens group 1012 and the imaging lens 1014 are used to make the generated sinusoidal fringe image clearer and more accurate; The object is placed at a position where a clear sinusoidal fringe image can be observed, and the light screen 1015 is placed behind the measurement object. The light screen 1015 is used to receive the sinusoidal fringe image without being modulated by the measurement object to generate an unmodulated grating fringe image, or after being modulated by the measurement object Generates a modulated raster fringe image.

第一步,照明器1011发射的光,依次经过聚焦透镜组1012、正弦光栅片1013和成像透镜1014生成正弦条纹图像。In the first step, the light emitted by the illuminator 1011 passes through the focusing lens group 1012 , the sinusoidal grating sheet 1013 and the imaging lens 1014 in sequence to generate a sinusoidal fringe image.

在实际应用中,照明器1011发出的光,经过由聚焦透镜组1012、正弦光栅片1013和成像透镜1014组成的光路,生成模拟光的正弦条纹图像;相较于由投影仪生成的数字信号的正弦条纹图像,模拟光的正弦条纹图像在经测量对象调制后生成的调制光栅条纹图像,能够携带更加丰富且精确的测量物体的尺寸信息,进而使得最终计算出的测量对象的尺寸更加精确。In practical applications, the light emitted by the illuminator 1011 passes through the optical path composed of the focusing lens group 1012, the sinusoidal grating sheet 1013 and the imaging lens 1014 to generate a sinusoidal fringe image of analog light; compared with the digital signal generated by the projector The sinusoidal fringe image is a modulated grating fringe image generated after the sinusoidal fringe image of simulated light is modulated by the measurement object, which can carry richer and more accurate size information of the measurement object, thus making the final calculated size of the measurement object more accurate.

此外,聚焦透镜组1012和成像透镜1014均能够使生成的正弦条纹图像更加清晰,以确保计算出的测量对象尺寸的准确性。In addition, both the focusing lens group 1012 and the imaging lens 1014 can make the generated sinusoidal fringe image clearer, so as to ensure the accuracy of the calculated measurement object size.

第二步,正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经测量对象调制后生成调制光栅条纹图像,未调制光栅条纹图像或者调制光栅条纹图像被投射至光屏1015。In the second step, the sinusoidal fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or modulated by the measurement object to generate a modulated grating fringe image, and the unmodulated grating fringe image or the modulated grating fringe image is projected to the light screen 1015 .

在实际应用中,需要分两种情况生成光栅条纹图像:一种是在光屏1015之前不放置测量对象的情况,正弦条纹图像直接投射在光屏1015上,此时,显示在光屏1015上的是未经测量对象调制生成未调制光栅条纹图像;另一种是在光屏1015之前放置测量对象的情况,正弦条纹图像经过测量对象反射后投射在光屏1015上,此时,显示在光屏1015上的是经测量对象调制后生成调制光栅条纹图像。In practical applications, it is necessary to generate grating fringe images in two cases: one is the situation where no measurement object is placed before the light screen 1015, the sinusoidal fringe image is directly projected on the light screen 1015, and at this time, it is displayed on the light screen 1015 One is that the unmodulated grating fringe image is generated without being modulated by the measurement object; the other is the situation where the measurement object is placed before the light screen 1015, and the sinusoidal fringe image is projected on the light screen 1015 after being reflected by the measurement object. On the screen 1015 is a modulated grating fringe image generated after being modulated by the measurement object.

这样,当处理单元103就能够根据成像单元102从光屏1015上采集到未调制光栅条纹图像和调制光栅条纹图像,计算出测量对象的尺寸。In this way, the processing unit 103 can calculate the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit 102 from the light screen 1015 .

成像单元102,采集投射在光屏1015上的未调制光栅条纹图像或者调制光栅条纹图像。The imaging unit 102 collects the unmodulated grating fringe image or the modulated grating fringe image projected on the light screen 1015 .

在实际应用中,成像单元102可以是电荷耦合元件(Charge-Coupled Device,CCD)相机,通过拍照采集投射单元101投影在光屏1015上的未调制光栅条纹图像或者调制光栅条纹图像,以提供给处理单元103用于计算测量对象的尺寸。In practical applications, the imaging unit 102 can be a charge-coupled device (Charge-Coupled Device, CCD) camera, and the unmodulated grating fringe image or the modulated grating fringe image projected on the light screen 1015 by the projection unit 101 is collected by taking pictures, so as to provide The processing unit 103 is used for calculating the size of the measurement object.

处理单元103,根据成像单元102采集到的未调制光栅条纹图像和调制光栅条纹图像,计算测量对象的尺寸。The processing unit 103 calculates the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit 102 .

在实际应用中,处理单元103可以是计算机,能够根据成像单元102采集到未调制光栅条纹图像和调制光栅条纹图像,具体的,可以通过比较未调制光栅条纹图像和调制光栅条纹图像之间的相位差异信息,计算出测量对象的尺寸。In practical applications, the processing unit 103 may be a computer, which can collect the unmodulated grating fringe image and the modulated grating fringe image according to the imaging unit 102. Specifically, the phase between the unmodulated grating fringe image and the modulated grating fringe image can be compared Difference information to calculate the size of the measured object.

可见,在本发明实施例提出的三维测量装置中,投射单元投射在光屏上的正弦条纹图像是利用正弦光栅片产生的模拟光,因此,成像单元采集到的、由正弦条纹图像生成的光栅条纹图像能够携带更加丰富且精确的测量物体的尺寸信息,使得处理单元计算出的测量对象的尺寸更加精确。It can be seen that in the three-dimensional measuring device proposed by the embodiment of the present invention, the sinusoidal fringe image projected by the projection unit on the light screen is the simulated light generated by the sinusoidal grating sheet, therefore, the grating generated by the sinusoidal fringe image collected by the imaging unit The fringe image can carry richer and more accurate size information of the measurement object, making the size of the measurement object calculated by the processing unit more accurate.

在本发明的一种优选实施例中,聚焦透镜组1012,包括依次排列的平凸透镜、双胶合透镜和平凸透镜;成像透镜1014,包括平凸透镜。In a preferred embodiment of the present invention, the focusing lens group 1012 includes plano-convex lenses, doublet lenses and plano-convex lenses arranged in sequence; the imaging lens 1014 includes plano-convex lenses.

在实际应用中,聚焦透镜组1012由三片透镜组成,从左到右依次为透镜1、透镜2和透镜3;其中,透镜1是焦距为300mm的平凸透镜,透镜2是焦距为75mm的双胶合透镜,透镜3是焦距为100mm的平凸透镜。在投射单元中,聚焦透镜组1012中的透镜1靠近照明器1011,透镜2与透镜1之间距离为60±5mm,透镜3与透镜2紧挨。通过将三片透镜封装在金属镜筒,使得聚焦透镜组1012中的三片透镜的光轴严格重合。In practical application, the focusing lens group 1012 is composed of three lenses, which are lens 1, lens 2 and lens 3 from left to right; wherein, lens 1 is a plano-convex lens with a focal length of 300 mm, and lens 2 is a double lens with a focal length of 75 mm. Cemented lens, lens 3 is a plano-convex lens with a focal length of 100 mm. In the projection unit, the lens 1 in the focusing lens group 1012 is close to the illuminator 1011, the distance between the lens 2 and the lens 1 is 60±5 mm, and the lens 3 and the lens 2 are close together. By encapsulating the three lenses in the metal lens barrel, the optical axes of the three lenses in the focusing lens group 1012 are strictly coincident.

成像透镜1014可以是焦距为200mm,且直径为80mm的平凸K9透镜。The imaging lens 1014 may be a plano-convex K9 lens with a focal length of 200 mm and a diameter of 80 mm.

可见,聚焦透镜组1012和成像透镜1014通过缩短光路长度,使得照明器发射的光经过正弦光栅片1013后生成的正弦条纹图像更加清晰准确。It can be seen that the focusing lens group 1012 and the imaging lens 1014 shorten the length of the optical path, so that the sinusoidal fringe image generated by the light emitted by the illuminator passing through the sinusoidal grating sheet 1013 is clearer and more accurate.

此外,还可以通过调整聚焦透镜组1012和成像透镜1014之间的间距,配合测量对象的尺寸;具体的,当测量对象的尺寸较大时,可以增大聚焦透镜组1012和成像透镜1014之间的间距,当测量对象的尺寸较小时,可以减小聚焦透镜组1012和成像透镜1014之间的间距;以及,对于尺寸较小的测量对象,可以选择条纹密度较小的正弦光栅片1013。In addition, the distance between the focusing lens group 1012 and the imaging lens 1014 can also be adjusted to match the size of the measurement object; specifically, when the size of the measurement object is large, the distance between the focusing lens group 1012 and the imaging lens 1014 can be increased. When the size of the measurement object is small, the distance between the focusing lens group 1012 and the imaging lens 1014 can be reduced; and, for a measurement object with a small size, a sinusoidal grating sheet 1013 with a smaller fringe density can be selected.

在本发明的又一种优选实施例中,照明器1011,包括LED阵列。In yet another preferred embodiment of the present invention, the illuminator 1011 includes an LED array.

在实际应用中,LED阵列中的LED灯珠,单颗最大功率可以为18W,最大光照强度可以为2500LM,LED灯珠通过光源驱动器组合成3×3的LED阵列。In practical applications, the maximum power of a single LED lamp bead in the LED array can be 18W, and the maximum light intensity can be 2500LM. The LED lamp beads are combined into a 3×3 LED array through a light source driver.

需要说明的是,目前使用较为广泛的投射单元是投影仪,由于投影仪投射出的图像是由像素点组成的数字信号,精度较低,且投影仪的亮度有限,在一定程度上影响了三维测量的准确度。相较于由投影仪生成的正弦条纹图像,在本发明实施例中,由LED阵列通过正弦光栅片1013生成的正弦条纹图像,能够在经测量对象反射后生成的光栅条纹图像中携带更加丰富且精确的测量物体的尺寸信息,进而使得最终计算出的测量对象的尺寸更加精确。It should be noted that the most widely used projection unit is the projector. Since the image projected by the projector is a digital signal composed of pixels, the precision is low, and the brightness of the projector is limited, which affects the three-dimensional image to a certain extent. The accuracy of the measurement. Compared with the sinusoidal fringe image generated by the projector, in the embodiment of the present invention, the sinusoidal fringe image generated by the LED array through the sinusoidal grating sheet 1013 can carry a richer and richer image in the grating fringe image generated after being reflected by the measurement object. Accurately measure the size information of the object, and then make the final calculated size of the measured object more accurate.

此外,LED阵列还能够根据测量对象的光反射率和外形,调整LED阵列的截面大小以及LED灯珠的光强,实现照明器的亮度可调,使得本发明实施例提供的三维测量装置能够适用于测量不同颜色、不同粗糙程度、不同形状的物体尺寸,使用起来更加灵活。同时,针对不同对比度的正弦光栅片1013,LED阵列都能与之配合,以调试出正弦性良好的正弦条纹图像:同时,LED阵列的价格低廉,使用寿命长且功耗低,相较于投影仪,LED阵列的设备成本和使用成本都大大降低。In addition, the LED array can also adjust the cross-sectional size of the LED array and the light intensity of the LED lamp beads according to the light reflectance and shape of the measurement object, so as to realize the adjustable brightness of the illuminator, so that the three-dimensional measuring device provided by the embodiment of the present invention can be applied to It is more flexible to measure the size of objects with different colors, different roughness and different shapes. At the same time, for the sinusoidal grating sheet 1013 with different contrasts, the LED array can cooperate with it to debug a sinusoidal fringe image with good sinusoidality: at the same time, the LED array has low price, long service life and low power consumption. instrument, the equipment cost and use cost of the LED array are greatly reduced.

在本发明的另一种优选实施例中,参见图2,图2为本发明实施例中,投射单元的一种具体结构示意图。In another preferred embodiment of the present invention, please refer to FIG. 2 , which is a specific structural schematic diagram of a projection unit in an embodiment of the present invention.

如图2所示,投射单元101还包括匀光器1016、分光片1017和准直透镜1018;匀光器1016、分光片1017和准直透镜1018依次排列在照明器1011和聚焦透镜组1012之间,匀光器1016靠近照明器1011。As shown in Figure 2, the projection unit 101 also includes a light homogenizer 1016, a beam splitter 1017 and a collimator lens 1018; Meanwhile, the homogenizer 1016 is close to the illuminator 1011.

具体的,匀光器1016使照明器1011发射的光的光强度均匀,并缩小照明器1011发射的光的发散角;分光片1017将经过匀光器1016的光中所含的杂散光滤除;准直透镜1018将经过分光片1017的光调整为平行光束。Specifically, the homogenizer 1016 makes the light intensity of the light emitted by the illuminator 1011 uniform, and reduces the divergence angle of the light emitted by the illuminator 1011; the light splitter 1017 filters the stray light contained in the light passing through the homogenizer 1016 ; The collimator lens 1018 adjusts the light passing through the beam splitter 1017 into a parallel beam.

在实际应用中,由于周围环境中的杂散光会影响正弦条纹图像的清晰度,导致生成的光栅条纹图像模糊,因此,本发明实施例通过使用分光片1017,只允许固定波段的光通过,使得正弦条纹图像更加清晰准确。此外,分光片1017的摆放角度为与水平面成45度。In practical applications, since the stray light in the surrounding environment will affect the clarity of the sinusoidal fringe image, resulting in the blurring of the generated grating fringe image, therefore, the embodiment of the present invention only allows light of a fixed wavelength band to pass through by using the beam splitter 1017, so that The sinusoidal fringe image is clearer and more accurate. In addition, the placement angle of the light splitter 1017 is 45 degrees to the horizontal plane.

可见,由于LED光源的均匀性较差,本发明实施例通过匀光器1016、分光片1017和准直透镜1018的组合,提高了LED光源的均匀性和平行性,保证生成的正弦条纹图像的清晰度。It can be seen that due to the poor uniformity of the LED light source, the embodiment of the present invention improves the uniformity and parallelism of the LED light source through the combination of the homogenizer 1016, the beam splitter 1017 and the collimator lens 1018, and ensures the uniformity of the generated sinusoidal fringe image. clarity.

在本发明的再一种优选实施例中,装置还包括:位置调节器。In yet another preferred embodiment of the present invention, the device further includes: a position regulator.

位置调节器,在垂直于投射单元101生成的光路方向,移动正弦光栅片1013的位置,以调制成像单元102采集到的光栅条纹图像的相位。The position adjuster moves the position of the sinusoidal grating sheet 1013 in a direction perpendicular to the optical path generated by the projection unit 101 to modulate the phase of the grating fringe image collected by the imaging unit 102 .

在实际应用中,位置调节器可以是控制伺服电机,可控制正弦光栅片1013移动0.1mm单位级的距离;可通过位置调节器移动正弦光栅片1013,生成四张调制光栅条纹图像和四张未调制光栅条纹图像。In practical applications, the position regulator can control a servo motor, which can control the sinusoidal grating sheet 1013 to move a distance of 0.1mm unit level; the sinusoidal grating sheet 1013 can be moved by the position regulator to generate four modulated grating fringe images and four Modulates the raster fringe image.

在本发明的再一种优选实施例中,装置还包括:控制单元。In yet another preferred embodiment of the present invention, the device further includes: a control unit.

控制单元,在光屏1015之前未摆放测量对象时,利用位置调节器,按照预设的相位移动值,对投射单元中的正弦光栅片进行移相,使成像单元102采集到正弦条纹图像未经过测量对象调制的未调制光栅条纹图像;The control unit, when the measurement object is not placed in front of the light screen 1015, uses the position adjuster to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value, so that the imaging unit 102 collects the sinusoidal fringe image without An unmodulated grating fringe image modulated by the measurement object;

在光屏1015之前摆放测量对象时,利用位置调节器,按照预设的相位移动值,对投射单元中的正弦光栅片进行移相,使成像单元102采集到正弦条纹图像经测量对象调制后的调制光栅条纹图像。When the measurement object is placed in front of the light screen 1015, the position adjuster is used to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value, so that the imaging unit 102 collects the sinusoidal fringe image modulated by the measurement object modulated grating fringe image.

具体的,首先,将照明单元中的正弦光栅片配置为正弦光栅片A,在光屏1015之前不摆放测量对象的场景下,控制单元利用位置调节器,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片A,每移动一次正弦光栅片A,就生成一张未调制光栅条纹图像并投影在光屏1015上;移动四次,共生成四张正弦光栅片A对应的未经过测量对象调制的未调制光栅条纹图像;Specifically, firstly, the sinusoidal grating sheet in the lighting unit is configured as a sinusoidal grating sheet A, and in the scene where the measurement object is not placed in front of the light screen 1015, the control unit uses the position adjuster to shift the value according to the preset phase in the Move the sinusoidal grating sheet A in the direction perpendicular to the optical path, and every time the sinusoidal grating sheet A is moved, an unmodulated grating fringe image is generated and projected on the light screen 1015; moving four times, a total of four sinusoidal grating sheet A corresponding An unmodulated grating fringe image that has not been modulated by the measurement object;

接下来,在照明单元中的正弦光栅片为正弦光栅片A,且在光屏1015之前摆放测量对象的场景下,控制单元利用位置调节器,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片A,每移动一次正弦光栅片A,就生成一张调制光栅条纹图像并投影在光屏1015上;移动四次,共生成四张正弦光栅片A对应的经测量对象调制后的调制光栅条纹图像。Next, in the scenario where the sinusoidal grating sheet in the lighting unit is the sinusoidal grating sheet A, and the measurement object is placed in front of the light screen 1015, the control unit uses the position adjuster to move vertically to the optical path according to the preset phase shift value. Move the sinusoidal grating sheet A in the direction, and every time the sinusoidal grating sheet A is moved, a modulated grating fringe image is generated and projected on the light screen 1015; moving four times, a total of four sinusoidal grating sheet A corresponding to the modulation of the measured object is generated. Modulated grating fringe image.

同理,将照明单元中的正弦光栅片配置为正弦光栅片B,在光屏1015之前不摆放测量对象的场景下,控制单元利用位置调节器,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片B,每移动一次正弦光栅片B,就生成一张未调制光栅条纹图像并投影在光屏1015上;移动四次,共生成四张正弦光栅片B对应的未经过测量对象调制的未调制光栅条纹图像;Similarly, the sinusoidal grating in the lighting unit is configured as a sinusoidal grating B. In the scene where no measurement object is placed in front of the light screen 1015, the control unit uses the position regulator to shift the value vertically to Move the sinusoidal grating sheet B in the direction of the optical path, and every time the sinusoidal grating sheet B is moved, an unmodulated grating fringe image is generated and projected on the light screen 1015; moving four times, a total of four sinusoidal grating sheet B corresponding unpassed An unmodulated grating fringe image modulated by the measurement object;

在照明单元中的正弦光栅片为正弦光栅片B,且在光屏1015之前摆放测量对象的场景下,控制单元利用位置调节器,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片B,每移动一次正弦光栅片B,就生成一张调制光栅条纹图像并投影在光屏1015上;移动四次,共生成四张正弦光栅片B对应的经测量对象调制后的调制光栅条纹图像。In the scene where the sinusoidal grating sheet in the lighting unit is sinusoidal grating sheet B, and the measurement object is placed in front of the light screen 1015, the control unit uses the position regulator to move in the direction perpendicular to the optical path according to the preset phase shift value The sinusoidal grating sheet B, every time the sinusoidal grating sheet B is moved, a modulated grating fringe image is generated and projected on the light screen 1015; moving four times, a total of four sinusoidal grating sheet B corresponding to the modulated modulation of the measured object is generated Raster stripe image.

需要说明的是,正弦光栅片A和正弦光栅片B的频率不同,而尺寸和对比度均相同。It should be noted that the frequency of the sinusoidal grating sheet A and the sinusoidal grating sheet B are different, but the size and contrast are the same.

这样,通过控制单元,共生成十六张光栅条纹图像,具体为正弦光栅片A对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,以及正弦光栅片B对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,以便处理单元根103据光栅条纹图像计算测量对象的尺寸。In this way, through the control unit, a total of sixteen grating fringe images are generated, specifically four unmodulated grating fringe images and four modulated grating fringe images corresponding to sinusoidal grating sheet A, and four unmodulated grating fringe images corresponding to sinusoidal grating sheet B. The fringe image and four modulated grating fringe images, so that the processing unit can calculate the size of the measuring object according to the grating fringe image.

在本发明的再一种优选实施例中,成像单元102,采集正弦条纹图像未经过测量对象调制的未调制光栅条纹图像;采集正弦条纹图像经测量对象调制后的调制光栅条纹图像;In yet another preferred embodiment of the present invention, the imaging unit 102 collects an unmodulated grating fringe image in which the sinusoidal fringe image has not been modulated by the measurement object; collects a modulated grating fringe image in which the sinusoidal fringe image is modulated by the measurement object;

处理单元103,使用双频外差法,通过解析成像单元102采集到的调制光栅条纹图像和未调制光栅条纹图像,得到测量对象的尺寸。The processing unit 103 obtains the size of the measurement object by analyzing the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit 102 by using a dual-frequency heterodyne method.

具体的,首先,成像单元102采集到正弦光栅片A对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,以及正弦光栅片B对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,并把十六张光栅条纹图发送给处理单元103;Specifically, first, the imaging unit 102 collects four unmodulated grating fringe images and four modulated grating fringe images corresponding to sinusoidal grating sheet A, and four unmodulated grating fringe images and four modulated grating fringe images corresponding to sinusoidal grating sheet B. fringe image, and send sixteen raster fringe images to the processing unit 103;

接下来,处理单元103通过解析成像单元102采集到正弦光栅片A对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,得到相位值A,以及通过解析成像单元102采集到正弦光栅片B对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,得到相位值B;使用双频外差法,根据相位值A和相位值B计算得到绝对相位值;进而根据绝对相位值计算出测量对象的尺寸。Next, the processing unit 103 collects four unmodulated grating fringe images and four modulated grating fringe images corresponding to the sinusoidal grating sheet A through the analytical imaging unit 102 to obtain the phase value A, and collects the sinusoidal grating sheet A through the analytical imaging unit 102 Four unmodulated grating fringe images and four modulated grating fringe images corresponding to B, to obtain the phase value B; use the double-frequency heterodyne method to calculate the absolute phase value according to the phase value A and phase value B; and then calculate according to the absolute phase value Measure the size of the object.

可见,在本发明实施例提出的三维测量装置中,首先,由LED阵列产生高亮度的光源,然后,通过匀光器1016、分光片1017和准直透镜1018提高光源的均匀性和平行性,使得最终通过正弦光栅片生成的正弦条纹图像清晰准确;并且,还可以利用位置调节器调节正弦光栅片的位置,以生成不同相位的未调制光栅条纹图像和调制光栅条纹图像,使得处理单元103通过解析调制光栅条纹图像和未调制光栅条纹图像,计算出的测量对象的尺寸更加精确。It can be seen that in the three-dimensional measuring device proposed in the embodiment of the present invention, firstly, a high-brightness light source is generated by the LED array, and then, the uniformity and parallelism of the light source are improved through the homogenizer 1016, the beam splitter 1017 and the collimating lens 1018, The final sinusoidal fringe image generated by the sinusoidal grating sheet is clear and accurate; and the position regulator can also be used to adjust the position of the sinusoidal grating sheet to generate an unmodulated grating fringe image and a modulated grating fringe image with different phases, so that the processing unit 103 can pass By analyzing the modulated grating fringe image and the unmodulated grating fringe image, the calculated size of the measured object is more accurate.

本发明实施例还公开了一种三维测量方法,应用于三维测量装置,三维测量装置包括:投射单元、成像单元和处理单元。The embodiment of the invention also discloses a three-dimensional measurement method, which is applied to a three-dimensional measurement device, and the three-dimensional measurement device includes: a projection unit, an imaging unit and a processing unit.

具体的,投射单元,包括依次排列的照明器、聚焦透镜组、正弦光栅片、成像透镜和光屏;照明器发射的光,依次经过聚焦透镜组、正弦光栅片和成像透镜生成正弦条纹图像;正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经测量对象调制后生成调制光栅条纹图像,未调制光栅条纹图像或者调制光栅条纹图像被投射至光屏。Specifically, the projection unit includes an illuminator, a focusing lens group, a sinusoidal grating sheet, an imaging lens, and a light screen arranged in sequence; the light emitted by the illuminator passes through the focusing lens group, the sinusoidal grating sheet, and the imaging lens in sequence to generate a sinusoidal fringe image; the sinusoidal The fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or modulated by the measurement object to generate a modulated grating fringe image, and the unmodulated grating fringe image or the modulated grating fringe image is projected onto the light screen.

成像单元,采集投射在光屏上的未调制光栅条纹图像或者调制光栅条纹图像。The imaging unit collects the unmodulated grating fringe image or the modulated grating fringe image projected on the light screen.

处理单元,根据成像单元采集到的未调制光栅条纹图像和调制光栅条纹图像,计算测量对象的尺寸。The processing unit calculates the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit.

参见图3,图3为本发明实施例的三维测量方法的一种流程图;三维测量方法包括如下步骤:Referring to Fig. 3, Fig. 3 is a kind of flowchart of the three-dimensional measurement method of the embodiment of the present invention; The three-dimensional measurement method comprises the following steps:

步骤301,利用投射单元,生成正弦条纹图像。Step 301, using a projection unit to generate a sinusoidal fringe image.

在本步骤中,需要先调整投射单元中照明器的亮度,以及各组件之间的摆放距离,使投射单元投射出亮度适中、清晰均匀的正弦条纹图像。In this step, it is necessary to adjust the brightness of the illuminator in the projection unit and the distance between the components so that the projection unit can project a clear and uniform sinusoidal fringe image with moderate brightness.

调整投射单元中照明器的亮度,以及各组件之间的摆放距离的具体过程为:成像单元,具体可以是CCD相机对投影在光屏上的正弦条纹图像按行提取灰度,与同频率标准正弦函数比对,进而根据比对结果调整投射单元中照明器的亮度以及投射单元中各组件之间的摆放间距,直到CCD相机采集到的正弦条纹图像的正弦性符合标准。The specific process of adjusting the brightness of the illuminator in the projection unit and the placement distance between the components is: the imaging unit, specifically, the CCD camera can extract the gray scale of the sinusoidal fringe image projected on the light screen line by line, and the same frequency Standard sine function comparison, and then adjust the brightness of the illuminator in the projection unit and the spacing between components in the projection unit according to the comparison result, until the sinusoidality of the sinusoidal fringe image collected by the CCD camera meets the standard.

在本步骤中,照明器发出的光,经过由聚焦透镜组、正弦光栅片和成像透镜组成的光路,生成模拟光的正弦条纹图像;然后,将正弦条纹图像投影在光屏上。In this step, the light emitted by the illuminator passes through the optical path composed of the focusing lens group, the sinusoidal grating sheet and the imaging lens to generate a sinusoidal fringe image of simulated light; then, the sinusoidal fringe image is projected on the light screen.

相较于由投影仪生成的数字信号的正弦条纹图像,模拟光的正弦条纹图像在经测量对象调制后生成的调制光栅条纹图像,能够携带更加丰富且精确的测量物体的尺寸信息,进而使得最终计算出的测量对象的尺寸更加精确。Compared with the sinusoidal fringe image of the digital signal generated by the projector, the modulated grating fringe image generated by the sinusoidal fringe image of analog light after being modulated by the measurement object can carry richer and more accurate size information of the measurement object, thus making the final The calculated dimensions of the measured object are more precise.

步骤302,利用成像单元,采集正弦条纹图像经测量对象调制后的调制光栅条纹图像,以及未经测量对象调制的未调制光栅条纹图像。Step 302 , using the imaging unit to collect a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and an unmodulated grating fringe image not modulated by the measurement object.

在本步骤中,需要在两种情况下采集光栅条纹图像:一种是在光屏之前不放置测量对象的情况,正弦条纹图像直接投射在光屏,此时,从光屏上采集到的是未经测量对象调制生成未调制光栅条纹图像;另一种是在光屏之前放置测量对象的情况,正弦条纹图像经过测量对象反射后投射在光屏上,此时,从光屏上采集到的是经测量对象调制后生成调制光栅条纹图像。In this step, it is necessary to collect grating fringe images in two cases: one is the situation where no measurement object is placed before the light screen, and the sinusoidal fringe image is directly projected on the light screen. At this time, what is collected from the light screen is The unmodulated grating fringe image is generated without being modulated by the measurement object; the other is the situation where the measurement object is placed in front of the light screen, the sinusoidal fringe image is projected on the light screen after being reflected by the measurement object, at this time, the collected from the light screen The modulated grating fringe image is generated after being modulated by the measured object.

步骤303,利用处理单元,根据成像单元采集到的调制光栅条纹图像和未调制光栅条纹图像,计算测量对象的尺寸。Step 303, using the processing unit to calculate the size of the measurement object according to the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit.

在本步骤中,可以通过解析未调制光栅条纹图像和调制光栅条纹图像,得出绝对相位值,进而计算出测量对象的尺寸。In this step, the absolute phase value can be obtained by analyzing the unmodulated grating fringe image and the modulated grating fringe image, and then the size of the measurement object can be calculated.

可见,在本发明实施例提出的三维测量方法中,投射单元生成的正弦条纹图像是利用正弦光栅片产生的模拟光,因此,采集到的、由正弦条纹图像生成的光栅条纹图像能够携带更加丰富且精确的测量物体的尺寸信息,使得最终计算出的测量对象的尺寸更加精确。It can be seen that in the three-dimensional measurement method proposed by the embodiment of the present invention, the sinusoidal fringe image generated by the projection unit is the simulated light generated by the sinusoidal grating sheet, therefore, the collected grating fringe image generated by the sinusoidal fringe image can carry more abundant And accurate size information of the measured object makes the final calculated size of the measured object more accurate.

在本发明的再一种优选实施例中,方法还包括:In another preferred embodiment of the present invention, the method also includes:

利用位置调节器移动所述投射单元中正弦光栅片的位置,以改变成像单元采集到的光栅条纹图像的相位。A position adjuster is used to move the position of the sinusoidal grating sheet in the projection unit to change the phase of the grating fringe image collected by the imaging unit.

在本发明的再一种优选实施例中,在步骤302之前,方法还包括:In yet another preferred embodiment of the present invention, before step 302, the method also includes:

在光屏之前未摆放测量对象时,利用位置调节器,按照预设的相位移动值,对投射单元中的正弦光栅片进行移相;When the measurement object is not placed in front of the light screen, use the position adjuster to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value;

在光屏之前摆放测量对象时,利用位置调节器,按照预设的相位移动值,对投射单元中的正弦光栅片进行移相;When placing the measurement object in front of the light screen, use the position adjuster to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value;

步骤302具体包括:Step 302 specifically includes:

利用成像单元,采集正弦条纹图像未经过测量对象调制的未调制光栅条纹图像;An imaging unit is used to collect an unmodulated grating fringe image in which the sinusoidal fringe image has not been modulated by the measurement object;

利用成像单元,采集正弦条纹图像经测量对象调制后的调制光栅条纹图像。The imaging unit is used to collect the modulated grating fringe image obtained by modulating the sinusoidal fringe image through the measurement object.

在实际应用中,位置调节器可以是控制伺服电机。In practical application, the position regulator can be to control the servo motor.

首先,将照明单元中的正弦光栅片配置为正弦光栅片A,在光屏之前未摆放测量对象的场景下,使用控制伺服电机,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片A;每移动一次正弦光栅片A,CCD相机就对投影在光屏上的光栅条纹图像采集一次,共移动四次,CCD相机能够采集四张正弦光栅片A对应的未经过测量对象调制的未调制光栅条纹图像。First, configure the sinusoidal grating sheet in the lighting unit as sinusoidal grating sheet A. In the scene where no measurement object is placed in front of the light screen, use the control servo motor to move in the direction perpendicular to the optical path according to the preset phase shift value Sinusoidal grating sheet A; every time the sinusoidal grating sheet A is moved, the CCD camera collects the grating fringe image projected on the light screen once, moving four times in total, and the CCD camera can collect four unmeasured objects corresponding to the sinusoidal grating sheet A Modulated unmodulated grating fringe image.

接下来,在照明单元中的正弦光栅片为正弦光栅片A,且在光屏之前摆放测量对象的场景下,使用控制伺服电机,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片A;每移动一次正弦光栅片A,CCD相机就对投影在光屏上的光栅条纹图像采集一次,共移动四次,CCD相机能够采集四张正弦光栅片A对应的经测量对象调制后的调制光栅条纹图像。Next, in the scene where the sinusoidal grating sheet in the lighting unit is sinusoidal grating sheet A, and the measurement object is placed in front of the light screen, use the control servo motor to move in the direction perpendicular to the optical path according to the preset phase shift value Sinusoidal grating sheet A; every time the sinusoidal grating sheet A is moved, the CCD camera collects the grating fringe image projected on the light screen once, moving four times in total, and the CCD camera can collect four sinusoidal grating sheet A corresponding to the modulation of the measured object Modulated grating fringe image.

同理,将照明单元中的正弦光栅片配置为正弦光栅片B,在光屏之前未摆放测量对象的场景下,使用控制伺服电机,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片B;每移动一次正弦光栅片B,CCD相机就对投影在光屏上的光栅条纹图像采集一次,共移动四次,CCD相机能够采集四张正弦光栅片B对应的未经过测量对象调制的未调制光栅条纹图像。In the same way, configure the sinusoidal grating in the lighting unit as sinusoidal grating B. In the scene where no measurement object is placed in front of the light screen, use the control servo motor to move in the direction perpendicular to the optical path according to the preset phase shift value. Move the sinusoidal grating sheet B; every time the sinusoidal grating sheet B is moved, the CCD camera collects the grating fringe image projected on the light screen once, moving four times in total, and the CCD camera can collect four unmeasured Object-modulated unmodulated grating fringe image.

接下来,在照明单元中的正弦光栅片为正弦光栅片B,且在光屏之前摆放测量对象的场景下,使用控制伺服电机,按照预设的相位移动值,在垂直于光路的方向移动正弦光栅片B;每移动一次正弦光栅片B,CCD相机就对投影在光屏上的光栅条纹图像采集一次,共移动四次,CCD相机能够采集四张正弦光栅片B对应的经测量对象调制后的调制光栅条纹图像。Next, in the scene where the sinusoidal grating sheet in the lighting unit is sinusoidal grating sheet B, and the measurement object is placed in front of the light screen, use the control servo motor to move in the direction perpendicular to the optical path according to the preset phase shift value Sinusoidal grating sheet B; every time the sinusoidal grating sheet B is moved, the CCD camera collects the grating fringe image projected on the light screen once, moving four times in total, and the CCD camera can collect four sinusoidal grating sheet B corresponding to the modulation Modulated grating fringe image.

需要说明的是,正弦光栅片A和正弦光栅片B的频率不同,而尺寸和对比度均相同。并且,本发明实施例中,对于不摆放测量对象的场景下以及摆放测量对象的场景下,移动正弦光栅片并采集光栅条纹图像的执行顺序不加以限制。也就是说,按照如上文描述的执行顺序,也可以先执行摆放测量对象的场景下移动正弦光栅片并采集光栅条纹图像,再执行不摆放测量对象的场景下移动正弦光栅片并采集光栅条纹图像。It should be noted that the frequency of the sinusoidal grating sheet A and the sinusoidal grating sheet B are different, but the size and contrast are the same. Moreover, in the embodiment of the present invention, there is no restriction on the execution order of moving the sinusoidal grating sheet and collecting the grating fringe image in the scene where no measurement object is placed and the scene where the measurement object is placed. That is to say, according to the execution sequence as described above, it is also possible to first move the sinusoidal grating sheet and collect the grating stripe image in the scene where the measurement object is placed, and then execute the movement of the sinusoidal grating sheet and collect the grating in the scene without the measurement object Striped image.

这样,CCD相机共采集到十六张光栅条纹图像,具体为正弦光栅片A对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,以及正弦光栅片B对应的四张未调制光栅条纹图像和四张调制光栅条纹图像,以便根据光栅条纹图像,准确计算测量对象的尺寸。In this way, the CCD camera collected a total of sixteen grating fringe images, specifically four unmodulated grating fringe images and four modulated grating fringe images corresponding to sinusoidal grating sheet A, and four unmodulated grating fringe images corresponding to sinusoidal grating sheet B image and four modulated grating fringe images, in order to accurately calculate the size of the measurement object based on the grating fringe images.

此外,在实际应用中,在步骤303之前,为了提高光栅条纹图像的图像质量,需要先对采集到的调制光栅条纹图像和未调制光栅条纹图像进行滤波处理。In addition, in practical applications, before step 303, in order to improve the image quality of the grating fringe image, it is necessary to perform filtering processing on the collected modulated grating fringe image and the unmodulated grating fringe image.

具体的,首先,根据光栅投影的频率计算滤波范围,由光栅投影的灰度信号与信号光强平均值可求出光栅投影频率,以该投影频率为基础,通过上下偏置设定滤波窗口;然后,采用低通滤波器的平滑滤波算法,通过傅里叶变换对光栅条纹图像进行分析,其中,光栅条纹图像的零频部分为图像背景,光栅条纹图像的基频部分为光栅图像的基频信号,光栅条纹图像的高频部分为图像的噪声干扰;最后,通过设置滤波窗口的起始频率和截止频率,滤掉光栅条纹图像中的噪声。Specifically, firstly, the filtering range is calculated according to the frequency of the grating projection, and the grating projection frequency can be obtained from the grayscale signal of the grating projection and the average value of the signal light intensity, and based on the projection frequency, the filter window is set by offsetting up and down; Then, the smoothing filter algorithm of the low-pass filter is used to analyze the grating fringe image through Fourier transform, wherein the zero frequency part of the grating fringe image is the image background, and the fundamental frequency part of the grating fringe image is the fundamental frequency of the grating image The high-frequency part of the grating fringe image is the noise interference of the image; finally, the noise in the grating fringe image is filtered out by setting the start frequency and cut-off frequency of the filter window.

在本发明的再一种优选实施例中,步骤303具体包括:In yet another preferred embodiment of the present invention, step 303 specifically includes:

使用双频外差法,通过解析成像单元采集到的调制光栅条纹图像和未调制光栅条纹图像,得到测量对象的尺寸。The size of the measurement object is obtained by analyzing the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit by using a double-frequency heterodyne method.

为了便于理解,下面通过一个使用三维测量方法计算测量对象尺寸的应用实施例,来说明上述使用双频外差法,通过解析成像单元采集到的调制光栅条纹图像和未调制光栅条纹图像,得到测量对象的尺寸的过程。For ease of understanding, the following is an application example of calculating the size of the measurement object using a three-dimensional measurement method to illustrate the above-mentioned use of the dual-frequency heterodyne method, by analyzing the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit. The process of dimensioning the object.

参考图4,图4为本发明实施例的三维测量方法的一种应用示意图。在图4中,三维测量方法应用于三维测量装置,三维测量装置包括照明单元和成像单元,成像单元具体为CCD相机,照明单元用于发射出清晰准确的正弦条纹图像;CCD相机,用于采集投射在光屏上的光栅条纹图像;虽然图4中未示出处理单元,但可以理解的,三维测量装置还包括处理单元。Referring to FIG. 4 , FIG. 4 is a schematic diagram of an application of the three-dimensional measuring method according to the embodiment of the present invention. In Fig. 4, the three-dimensional measurement method is applied to a three-dimensional measurement device. The three-dimensional measurement device includes an illumination unit and an imaging unit. The imaging unit is specifically a CCD camera, and the illumination unit is used to emit clear and accurate sinusoidal fringe images; The grating fringe image projected on the light screen; although the processing unit is not shown in FIG. 4 , it can be understood that the three-dimensional measuring device also includes a processing unit.

图4中的黑色的虚线为测量对象,h为测量对象的高度尺寸,测量对象放置在参考平面上,参考平面上建立xoy平面直角坐标系。The black dotted line in Figure 4 is the measurement object, h is the height dimension of the measurement object, the measurement object is placed on the reference plane, and the xoy plane Cartesian coordinate system is established on the reference plane.

假设从照明单元发出的一条光线应该投射在参考面上的B点,由于测量对象的存在,该光线投射在测量对象上的P点。从CCD相机的角度看,当不放置测量对象时,参考面上的点A成像在CCD阵面上的点(m,n)。由于测量对象的存在,测量对象上的P点被成像到CCD阵面上的点(m,n)。也就是说,由于测量对象的存在,CCD阵面上(m,n)点的信息从参考面上的A点变到B点。Assuming that a ray emitted from the lighting unit should be projected on point B on the reference surface, due to the existence of the measurement object, the ray is projected on point P on the measurement object. From the perspective of the CCD camera, when the measurement object is not placed, the point A on the reference surface is imaged on the point (m,n) on the CCD array. Due to the existence of the measurement object, the point P on the measurement object is imaged to the point (m, n) on the CCD array. That is to say, due to the existence of the measurement object, the information of point (m, n) on the CCD array changes from point A to point B on the reference plane.

首先,CCD相机共采集到的十六张光栅条纹图像分别以公式(1)的形式表示出来:First, the sixteen grating stripe images collected by the CCD camera are expressed in the form of formula (1):

Ii(m,n)=I0(m,n)+γ(m,n)cos[φ(m,n)+αi],i=1,2,3,4 (1)I i (m,n)=I 0 (m,n)+γ(m,n)cos[φ(m,n)+α i ], i=1,2,3,4 (1)

在公式(1)中,i表示移相次数,I0(m,n)为光栅条纹图像的背景灰度,γ(m,n)为光栅条纹图像的调制深度,φ(m,n)为绝对相位值,αi为第i次移动的相位值;具体的,每次移动的相位值分别为α1=0,α2=π/2,α3=π,α4=3π/2。In formula (1), i represents the number of phase shifts, I 0 (m,n) is the background gray level of the grating fringe image, γ(m,n) is the modulation depth of the grating fringe image, φ(m,n) is Absolute phase value, α i is the phase value of the i-th movement; specifically, the phase values of each movement are α 1 =0, α 2 =π/2, α 3 =π, α 4 =3π/2.

然后,计算每张光栅条纹图像中每一点的相位:Then, calculate the phase of each point in each grating fringe image:

令α1=0,α2=π/2,α3=π,α4=3π/2,得到:Let α 1 =0, α 2 =π/2, α 3 =π, α 4 =3π/2, get:

在公式(3)中,φ′(m,n)为相位主值。相位主值φ′(m,n)为在一个相位周期内是唯一的,但由于在整个测量空间内有多个光栅条纹,φ′(m,n)为呈锯齿状分布,必须对空间点的相位主值进行相位展开得到连续的绝对相位值φ(m,n),这个过程称为解包裹;使用双频外差法解包裹,可以避免在测量对象的高度变化较大时导致判断错误。In formula (3), φ′(m, n) is the main value of the phase. The main phase value φ′(m,n) is unique within a phase period, but because there are multiple grating stripes in the entire measurement space, φ′(m,n) is in a zigzag distribution, and the spatial point must be The main value of the phase is unwrapped to obtain continuous absolute phase values φ(m,n). This process is called unwrapping; using the dual-frequency heterodyne method to unwrap can avoid judgment errors when the height of the measurement object changes greatly .

最后,根据相位-高度转换公式,将相位信息转换成测量对象的高度信息;其中,相位-高度转换公式如公式(4)所示:Finally, according to the phase-height conversion formula, the phase information is converted into the height information of the measurement object; where the phase-height conversion formula is shown in formula (4):

在公式(4)中,φA为未调制光栅条纹图像中某一坐标点的绝对相位值,φB为调制光栅条纹图像中该坐标点的绝对相位值,相位φA和相位φB能够分别从调制光栅条纹图像和未调制光栅条纹图像中得到;λ0为光屏上正弦光栅片的空间周期值;h为所求的测量对象的高度尺寸。In formula (4), φ A is the absolute phase value of a certain coordinate point in the unmodulated grating fringe image, φ B is the absolute phase value of the coordinate point in the modulated grating fringe image, and the phase φ A and phase φ B can be respectively Obtained from the modulated grating fringe image and the unmodulated grating fringe image; λ 0 is the space period value of the sinusoidal grating sheet on the light screen; h is the height dimension of the measured object.

可见,本发明实施例提出的三维测量方法,能够使用双频外差法,通过解析调制光栅条纹图像和未调制光栅条纹图像,计算得到测量对象的尺寸;这样,采用四步相移与双频解相结合的解相位算法,能够减小解相位的出错率,提高计算出的测量对象的尺寸的准率度。It can be seen that the three-dimensional measurement method proposed in the embodiment of the present invention can use the dual-frequency heterodyne method to calculate the size of the measurement object by analyzing the modulated grating fringe image and the unmodulated grating fringe image; thus, four-step phase shift and dual-frequency The phase solution algorithm combined with phase solution can reduce the error rate of phase solution and improve the accuracy of the calculated size of the measurement object.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1.一种三维测量装置,其特征在于,所述装置包括:1. A three-dimensional measuring device, characterized in that said device comprises: 投射单元,包括依次排列的照明器、聚焦透镜组、正弦光栅片、成像透镜和光屏,所述聚焦透镜组和所述成像透镜均使所述正弦条纹图像清晰准确;所述照明器发射的光,依次经过所述聚焦透镜组、所述正弦光栅片和所述成像透镜生成正弦条纹图像;所述正弦条纹图像未经测量对象调制生成未调制光栅条纹图像,或者经所述测量对象调制后生成调制光栅条纹图像,所述未调制光栅条纹图像或者所述调制光栅条纹图像被投射至光屏;The projection unit includes an illuminator, a focus lens group, a sinusoidal grating sheet, an imaging lens and a light screen arranged in sequence, and both the focus lens group and the imaging lens make the sinusoidal fringe image clear and accurate; the light emitted by the illuminator , sequentially passing through the focusing lens group, the sinusoidal grating sheet and the imaging lens to generate a sinusoidal fringe image; the sinusoidal fringe image is not modulated by the measurement object to generate an unmodulated grating fringe image, or is generated after being modulated by the measurement object a modulated grating fringe image, said unmodulated grating fringe image or said modulated grating fringe image being projected onto a light screen; 成像单元,采集投射在所述光屏上的所述未调制光栅条纹图像或者所述调制光栅条纹图像;an imaging unit, configured to collect the unmodulated grating fringe image or the modulated grating fringe image projected on the light screen; 处理单元,根据所述成像单元采集到的所述未调制光栅条纹图像和所述调制光栅条纹图像,计算所述测量对象的尺寸。A processing unit is configured to calculate the size of the measurement object according to the unmodulated grating fringe image and the modulated grating fringe image collected by the imaging unit. 2.根据权利要求1所述的装置,其特征在于,2. The device according to claim 1, characterized in that, 所述聚焦透镜组,包括依次排列的平凸透镜、双胶合透镜和平凸透镜;The focusing lens group includes plano-convex lenses, doublet lenses and plano-convex lenses arranged in sequence; 所述成像透镜,包括平凸透镜。The imaging lens includes a plano-convex lens. 3.根据权利要求1或2所述的装置,其特征在于,3. The device according to claim 1 or 2, characterized in that, 所述投射单元,还包括:匀光器、分光片和准直透镜;所述匀光器、所述分光片和所述准直透镜依次排列在所述照明器和所述聚焦透镜组之间,所述匀光器靠近所述照明器;The projection unit further includes: a homogenizer, a light splitter and a collimator lens; the light homogenizer, the light splitter and the collimator lens are sequentially arranged between the illuminator and the focusing lens group , the homogenizer is close to the illuminator; 所述匀光器使所述照明器发射的光的光强度均匀,并缩小所述照明器发射的光的发散角;所述分光片将经过所述匀光器的光中所含的杂散光滤除;所述准直透镜将经过所述分光片的光调整为平行光束。The light homogenizer makes the light intensity of the light emitted by the illuminator uniform, and reduces the divergence angle of the light emitted by the illuminator; the light splitter reduces the stray light contained in the light passing through the light homogenizer filtering; the collimating lens adjusts the light passing through the beam splitter into a parallel beam. 4.根据权利要求3所述的装置,其特征在于,4. The device of claim 3, wherein: 所述照明器,包括LED阵列;The illuminator includes an LED array; 所述匀光器的孔径大于所述LED阵列的截面。The aperture of the homogenizer is larger than the section of the LED array. 5.根据权利要求1所述的装置,其特征在于,所述装置还包括:位置调节器;5. The device according to claim 1, further comprising: a position regulator; 所述位置调节器,在垂直于所述投射单元生成的光路方向,移动所述正弦光栅片的位置,以调制所述成像单元采集到的光栅条纹图像的相位。The position regulator moves the position of the sinusoidal grating sheet in a direction perpendicular to the optical path generated by the projection unit, so as to modulate the phase of the grating fringe image collected by the imaging unit. 6.根据权利要求5所述的装置,其特征在于,所述装置还包括:控制单元;6. The device according to claim 5, further comprising: a control unit; 所述控制单元,在所述光屏之前未摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相,使所述成像单元采集到所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;The control unit, when the measurement object is not placed in front of the light screen, uses the position regulator to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value, so that The imaging unit acquires an unmodulated grating fringe image in which the sinusoidal fringe image has not been modulated by the measurement object; 在所述光屏之前摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相,使所述成像单元采集到所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像。When the measurement object is placed in front of the light screen, use the position regulator to shift the phase of the sinusoidal grating in the projection unit according to the preset phase shift value, so that the imaging unit can collect The sinusoidal fringe image is a modulated grating fringe image after being modulated by the measuring object. 7.根据权利要求6所述的装置,其特征在于,7. The device of claim 6, wherein: 所述成像单元,采集所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像;The imaging unit collects an unmodulated grating fringe image of the sinusoidal fringe image that has not been modulated by the measurement object; collects a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object; 所述处理单元,使用双频外差法,通过解析所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,得到所述测量对象的尺寸。The processing unit obtains the size of the measurement object by analyzing the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit by using a dual-frequency heterodyne method. 8.一种三维测量方法,其特征在于,应用于三维测量装置,所述三维测量装置包括:投射单元、成像单元和处理单元;所述方法包括:8. A three-dimensional measurement method, characterized in that it is applied to a three-dimensional measurement device, and the three-dimensional measurement device includes: a projection unit, an imaging unit and a processing unit; the method includes: 利用所述投射单元,生成正弦条纹图像;using the projection unit to generate a sinusoidal fringe image; 利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像;Using the imaging unit to collect a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and an unmodulated grating fringe image not modulated by the measurement object; 利用所述处理单元,根据所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,计算所述测量对象的尺寸。Using the processing unit to calculate the size of the measurement object according to the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit. 9.根据权利要求8所述的方法,其特征在于,所述方法还包括:9. The method of claim 8, further comprising: 利用位置调节器移动所述投射单元中正弦光栅片的位置,以改变所述成像单元采集到的光栅条纹图像的相位。A position adjuster is used to move the position of the sinusoidal grating sheet in the projection unit to change the phase of the grating fringe image collected by the imaging unit. 10.根据权利要求9所述的方法,其特征在于,在所述利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像的步骤之前,所述方法还包括:10. The method according to claim 9, characterized in that, using the imaging unit, collecting the modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and the modulated grating fringe image without the measurement object Before the step of modulating the unmodulated grating fringe image, the method further includes: 在所述光屏之前未摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相;When the measurement object is not placed in front of the light screen, using the position regulator to shift the phase of the sinusoidal grating in the projection unit according to a preset phase shift value; 在所述光屏之前摆放所述测量对象时,利用所述位置调节器,按照预设的相位移动值,对所述投射单元中的正弦光栅片进行移相;When placing the measurement object in front of the light screen, using the position regulator to shift the phase of the sinusoidal grating in the projection unit according to a preset phase shift value; 所述利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像,以及未经所述测量对象调制的未调制光栅条纹图像的步骤,包括:The step of using the imaging unit to collect a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object, and an unmodulated grating fringe image not modulated by the measurement object includes: 利用所述成像单元,采集所述正弦条纹图像未经过所述测量对象调制的未调制光栅条纹图像;using the imaging unit to collect an unmodulated grating fringe image in which the sinusoidal fringe image has not been modulated by the measurement object; 利用所述成像单元,采集所述正弦条纹图像经所述测量对象调制后的调制光栅条纹图像;Using the imaging unit to collect a modulated grating fringe image of the sinusoidal fringe image modulated by the measurement object; 所述利用所述处理单元根据所述成像单元采集到的所述调制光栅条纹图像和所述未调制光栅条纹图像,计算所述测量对象的尺寸的步骤,包括:The step of using the processing unit to calculate the size of the measurement object according to the modulated grating fringe image and the unmodulated grating fringe image collected by the imaging unit includes: 使用双频外差法,通过解析所述成像单元采集到的四张所述调制光栅条纹图像和四张所述未调制光栅条纹图像,得到所述测量对象的尺寸。The size of the measurement object is obtained by analyzing the four modulated grating fringe images and the four unmodulated grating fringe images collected by the imaging unit by using a dual-frequency heterodyne method.
CN201710426766.XA 2017-06-08 2017-06-08 A kind of three-dimensional measuring apparatus and method Pending CN106979758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710426766.XA CN106979758A (en) 2017-06-08 2017-06-08 A kind of three-dimensional measuring apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710426766.XA CN106979758A (en) 2017-06-08 2017-06-08 A kind of three-dimensional measuring apparatus and method

Publications (1)

Publication Number Publication Date
CN106979758A true CN106979758A (en) 2017-07-25

Family

ID=59344205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710426766.XA Pending CN106979758A (en) 2017-06-08 2017-06-08 A kind of three-dimensional measuring apparatus and method

Country Status (1)

Country Link
CN (1) CN106979758A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107970026A (en) * 2017-11-17 2018-05-01 西安交通大学 Vola three-dimensional scanner and method based on four step grating phase shift method of single camera
CN111653857A (en) * 2020-04-27 2020-09-11 电子科技大学 A high-power-capacity quasi-optical dual-frequency synthesizer based on the principle of optical interference
CN111721237A (en) * 2020-06-30 2020-09-29 苏州东方克洛托光电技术有限公司 Full-automatic multi-frequency defocusing projection three-dimensional imaging measurement system and measurement method thereof
CN111780672A (en) * 2020-06-12 2020-10-16 河海大学 A kind of automatic monitoring device for road bridge bearing slip
CN113607086A (en) * 2021-07-01 2021-11-05 太原理工大学 Rapid three-dimensional imaging method through scattering medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1059791A (en) * 1990-09-13 1992-03-25 清华大学 A kind of optical means and device that does not have the measurement 3D shape of reference planes
US5471308A (en) * 1994-09-22 1995-11-28 Zeien; Robert Phase shifting device
CN1437000A (en) * 2002-02-09 2003-08-20 沈阳同联集团高新技术有限公司 Projecting grating method and device for measuring 3D surface shape of object
CN101451826A (en) * 2008-12-17 2009-06-10 中国科学院上海光学精密机械研究所 Object three-dimensional profile measuring device and measuring method
CN101881601A (en) * 2010-06-07 2010-11-10 南昌大学 A Method of Obtaining Grating Images with Different Phases
CN101929850A (en) * 2009-06-26 2010-12-29 财团法人工业技术研究院 Three-dimensional microscopic confocal measuring system and method utilizing optical polarization characteristics
CN101957183A (en) * 2010-09-26 2011-01-26 深圳大学 Structured light projection-based high-speed three-dimensional measurement system
CN205246014U (en) * 2015-11-11 2016-05-18 深圳市德利欧科技有限公司 Structured light projection -based high -speed three -dimensional measurement system
CN106123806A (en) * 2016-06-20 2016-11-16 四川川大智胜软件股份有限公司 A kind of based on micro electronmechanical structured light projection scheme

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1059791A (en) * 1990-09-13 1992-03-25 清华大学 A kind of optical means and device that does not have the measurement 3D shape of reference planes
US5471308A (en) * 1994-09-22 1995-11-28 Zeien; Robert Phase shifting device
CN1437000A (en) * 2002-02-09 2003-08-20 沈阳同联集团高新技术有限公司 Projecting grating method and device for measuring 3D surface shape of object
CN101451826A (en) * 2008-12-17 2009-06-10 中国科学院上海光学精密机械研究所 Object three-dimensional profile measuring device and measuring method
CN101929850A (en) * 2009-06-26 2010-12-29 财团法人工业技术研究院 Three-dimensional microscopic confocal measuring system and method utilizing optical polarization characteristics
CN101881601A (en) * 2010-06-07 2010-11-10 南昌大学 A Method of Obtaining Grating Images with Different Phases
CN101957183A (en) * 2010-09-26 2011-01-26 深圳大学 Structured light projection-based high-speed three-dimensional measurement system
CN205246014U (en) * 2015-11-11 2016-05-18 深圳市德利欧科技有限公司 Structured light projection -based high -speed three -dimensional measurement system
CN106123806A (en) * 2016-06-20 2016-11-16 四川川大智胜软件股份有限公司 A kind of based on micro electronmechanical structured light projection scheme

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴泓欣 等: "基于正弦光栅相位调制的三维测量", 《软件》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107970026A (en) * 2017-11-17 2018-05-01 西安交通大学 Vola three-dimensional scanner and method based on four step grating phase shift method of single camera
CN107970026B (en) * 2017-11-17 2020-06-19 西安交通大学 Sole three-dimensional scanning device and method based on single-camera four-step grating phase shift method
CN111653857A (en) * 2020-04-27 2020-09-11 电子科技大学 A high-power-capacity quasi-optical dual-frequency synthesizer based on the principle of optical interference
CN111780672A (en) * 2020-06-12 2020-10-16 河海大学 A kind of automatic monitoring device for road bridge bearing slip
CN111721237A (en) * 2020-06-30 2020-09-29 苏州东方克洛托光电技术有限公司 Full-automatic multi-frequency defocusing projection three-dimensional imaging measurement system and measurement method thereof
CN111721237B (en) * 2020-06-30 2021-07-09 苏州东方克洛托光电技术有限公司 Full-automatic multi-frequency defocusing projection three-dimensional imaging measurement system and measurement method thereof
CN113607086A (en) * 2021-07-01 2021-11-05 太原理工大学 Rapid three-dimensional imaging method through scattering medium
CN113607086B (en) * 2021-07-01 2024-03-08 太原理工大学 Rapid three-dimensional imaging method through scattering medium

Similar Documents

Publication Publication Date Title
US11105617B2 (en) Hybrid light measurement method for measuring three-dimensional profile
CN106979758A (en) A kind of three-dimensional measuring apparatus and method
US8923603B2 (en) Non-contact measurement apparatus and method
Lilienblum et al. A structured light approach for 3-D surface reconstruction with a stereo line-scan system
Lu et al. Modulation measuring profilometry with cross grating projection and single shot for dynamic 3D shape measurement
KR102083875B1 (en) Apparatus and method for measuring quality of holographic image
US10648789B2 (en) Method for monitoring linear dimensions of three-dimensional objects
CN103292740B (en) A kind of 3-D scanning instrument measurement method and device thereof
JP2021527207A (en) Devices, methods, and systems for generating dynamic projection patterns in confocal cameras
CN104568963A (en) Online three-dimensional detection device based on RGB structured light
DE112009001652T5 (en) Multichannel recording
CN107995434A (en) Image acquisition method, electronic device, and computer-readable storage medium
CN110392252A (en) Method for generating a correction model of a camera to correct aberrations
KR20090107536A (en) Method for Quantitative 3-D Imaging
US9131219B2 (en) Method and apparatus for triangulation-based 3D optical profilometry
JP2012518791A (en) Speckle noise reduction in coherent illumination imaging systems
CN102519393A (en) Method for realizing rapid modulation degree profilometry by use of two orthogonal sinusoidal gratings
CN102538708A (en) Measurement system for three-dimensional shape of optional surface
CN108332684A (en) A kind of measuring three-dimensional profile method based on Structured Illumination microtechnic
CN112762859A (en) High-precision three-dimensional measuring device for sine stripe structured light of non-digital optical machine
CN204287060U (en) A kind of online three-dimensional detection device based on RGB structured light
CN109799672A (en) The non-detection device and method for improving imaging lens
CN113237437A (en) Structured light three-dimensional shape measuring method and device based on phase coding element
Berssenbrügge et al. Characterization of the 3D resolution of topometric sensors based on fringe and speckle pattern projection by a 3D transfer function
Stark et al. Miniaturization of a coherent monocular structured illumination system for future combination with digital holography

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725