CN118625577A - Automatic focus camera and focusing method - Google Patents
Automatic focus camera and focusing method Download PDFInfo
- Publication number
- CN118625577A CN118625577A CN202410566135.8A CN202410566135A CN118625577A CN 118625577 A CN118625577 A CN 118625577A CN 202410566135 A CN202410566135 A CN 202410566135A CN 118625577 A CN118625577 A CN 118625577A
- Authority
- CN
- China
- Prior art keywords
- lens
- imaging
- distance
- camera
- angle
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000003384 imaging method Methods 0.000 claims abstract description 130
- 230000033001 locomotion Effects 0.000 claims abstract description 69
- 238000001514 detection method Methods 0.000 claims description 41
- 230000007246 mechanism Effects 0.000 claims description 29
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000004519 manufacturing process Methods 0.000 abstract description 9
- 230000008859 change Effects 0.000 abstract description 4
- 230000009471 action Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 9
- 239000000428 dust Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000007789 sealing Methods 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010287 polarization Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/285—Systems for automatic generation of focusing signals including two or more different focus detection devices, e.g. both an active and a passive focus detecting device
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/02—Bodies
- G03B17/08—Waterproof bodies or housings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/671—Focus control based on electronic image sensor signals in combination with active ranging signals, e.g. using light or sound signals emitted toward objects
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Optics & Photonics (AREA)
- Lens Barrels (AREA)
Abstract
本发明公开了一种自动对焦的相机及对焦方法,自动对焦的相机的镜头前后位置固定的设置在相机壳体前端,成像模组活动设置在所述相机壳体内,所述成像模组设置有成像芯片,所述成像芯片设置有与镜头适配的成像传感器,往复运动装置与所述成像模组驱动连接,被配置为驱动成像模组沿着镜头镜像面的法线运动,对焦控制器与所述往复运动装置控制连接,被配置为控制往复运动装置动作,以进行成像传感器与镜头的对焦,实现成像清晰。所提供的相机及对焦方法,改变了对焦结构和对焦方式,降低了相机镜头连接结构的复杂程度、制造成本,避免外界因素影响镜头对焦的问题发生,提高对焦速度和准确度。
The present invention discloses an automatic focusing camera and a focusing method. The front and rear positions of the lens of the automatic focusing camera are fixedly arranged at the front end of the camera housing, an imaging module is movably arranged in the camera housing, the imaging module is provided with an imaging chip, the imaging chip is provided with an imaging sensor adapted to the lens, a reciprocating motion device is drivingly connected to the imaging module, and is configured to drive the imaging module to move along the normal of the lens mirror surface, and a focusing controller is control-connected to the reciprocating motion device, and is configured to control the action of the reciprocating motion device to focus the imaging sensor and the lens to achieve clear imaging. The provided camera and focusing method change the focusing structure and focusing mode, reduce the complexity of the camera lens connection structure and the manufacturing cost, avoid the problem of external factors affecting the lens focus, and improve the focusing speed and accuracy.
Description
技术领域Technical Field
本发明涉及机器视觉、计算机视觉、视频监控技术领域,特别是提供了一种自动对焦相机及对焦方法。The present invention relates to the technical fields of machine vision, computer vision and video monitoring, and in particular to an automatic focusing camera and a focusing method.
背景技术Background Art
机器视觉系统(相机搭配上镜头组成的成像系统)的对焦方法主要分为变焦法和变倍法。变焦法主要是通过手动或电动调节镜头的焦距而实现清晰成像,变倍法主要是通过调节整个镜头组离成像芯片的距离而实现清晰成像。The focusing methods of machine vision systems (imaging systems consisting of cameras and lenses) are mainly divided into zoom methods and variable magnification methods. The zoom method mainly achieves clear imaging by manually or electrically adjusting the focal length of the lens, while the variable magnification method mainly achieves clear imaging by adjusting the distance between the entire lens group and the imaging chip.
目前的相机,带成像芯片的成像模组固定在相机内部,成像模组在固定之后无法调整模组相对于镜头接口的前后位置,在对焦过程中,主要是通过手动调节,或通过电机带动镜头前后移动实现对焦。另外,也有使用液态镜头变焦实现机器视觉系统的清晰成像,但是镜头连接结构复杂、成本高、对焦控制操作难度大,得不到推广应用。In current cameras, the imaging module with the imaging chip is fixed inside the camera. After the imaging module is fixed, the front and rear position of the module relative to the lens interface cannot be adjusted. During the focusing process, the focus is mainly achieved through manual adjustment or by driving the lens forward and backward through a motor. In addition, liquid lens zoom is also used to achieve clear imaging of machine vision systems, but the lens connection structure is complex, the cost is high, and the focus control operation is difficult, so it cannot be promoted and applied.
上述通过镜头前后移动对焦的相机,对相机壳体与镜头之间的线性运动连接结构要求较高,要同时满足活动的线性运动的流畅性和密封性要求,镜头连接结构相对复杂、成本较高,而且使用过程中,与镜头连接的线性运动机构暴露在外,容易受到温差变化、表面附着外界尘土及杂物等因素的影响,出现运动不流畅、无法运动精确到位现象,降低对焦速度和准确度,并且,与镜头连接的驱动结构在空间布局多样性容易受限。The above-mentioned camera that focuses by moving the lens back and forth has high requirements on the linear motion connection structure between the camera housing and the lens. It must simultaneously meet the requirements of smoothness and sealing of the active linear motion. The lens connection structure is relatively complex and costly. Moreover, during use, the linear motion mechanism connected to the lens is exposed to the outside and is easily affected by factors such as temperature changes and external dust and debris attached to the surface, resulting in uneven movement and inability to move accurately, reducing the focusing speed and accuracy. In addition, the driving structure connected to the lens is easily limited in the diversity of spatial layout.
发明内容Summary of the invention
基于此,本发明提供了一种自动对焦相机及对焦方法,改变对焦结构和对焦方式,降低相机镜头连接结构的复杂程度、制造成本,避免外界因素影响镜头对焦的问题发生,提高对焦速度和准确度。Based on this, the present invention provides an autofocus camera and a focusing method, which change the focusing structure and focusing method, reduce the complexity of the camera lens connection structure and the manufacturing cost, avoid the problem of external factors affecting the lens focus, and improve the focusing speed and accuracy.
为了达到上述目的,第一方面,本发明提供了一种自动对焦的相机,包括相机壳体,镜头后端位置固定的设置在所述相机壳体前端,成像模组活动设置在所述相机壳体内,所述成像模组设置有成像芯片,所述成像芯片设置有与镜头适配的成像传感器,往复运动装置与所述成像模组驱动连接被配置为驱动成像模组沿着镜头镜像面(或者镜头接口的径向面)的法线运动,对焦控制器与所述往复运动装置控制连接,被配置为控制往复运动装置动作,以进行成像传感器与镜头的对焦,实现成像清晰。In order to achieve the above-mentioned objectives, in a first aspect, the present invention provides an autofocus camera, comprising a camera housing, a rear end of a lens fixedly arranged at a front end of the camera housing, an imaging module movably arranged in the camera housing, the imaging module being provided with an imaging chip, the imaging chip being provided with an imaging sensor adapted to the lens, a reciprocating motion device drivingly connected to the imaging module and configured to drive the imaging module to move along the normal of the lens mirror surface (or the radial surface of the lens interface), and a focus controller controllingly connected to the reciprocating motion device and configured to control the movement of the reciprocating motion device to focus the imaging sensor and the lens to achieve clear imaging.
进一步的,所述往复运动装置包括电动调节机构,被配置为通过电动方式驱动成像模组沿着镜头镜像面的法线运动,所述电动调节机构包括但不限于电磁型伺服电机、压电驱动器、音圈电机、超声电机或直线电机。Furthermore, the reciprocating motion device includes an electric adjustment mechanism, which is configured to drive the imaging module to move along the normal of the lens mirror surface by electric means. The electric adjustment mechanism includes but is not limited to an electromagnetic servo motor, a piezoelectric drive, a voice coil motor, an ultrasonic motor or a linear motor.
进一步的,所述往复运动装置还包括设置在电动调节机构与成像模组之间的传动机构,所述传动机构包括但不限于滚珠丝杠机构、凸轮机构和/或曲柄滑块机构。Furthermore, the reciprocating motion device also includes a transmission mechanism arranged between the electric adjustment mechanism and the imaging module, and the transmission mechanism includes but is not limited to a ball screw mechanism, a cam mechanism and/or a crank slider mechanism.
进一步的,所述成像传感器包括但不限于线阵式成像传感器或面阵式成像传感器,所述成像模组设置有与所述成像芯片一体化连接的驱动电路和数据接口。Furthermore, the imaging sensor includes but is not limited to a linear array imaging sensor or an area array imaging sensor, and the imaging module is provided with a driving circuit and a data interface integrally connected to the imaging chip.
进一步的,所述相机还包括第一距离检测装置,所述第一距离检测装置被配置为检测被拍摄目标到镜头的物距,所述对焦控制器与第一距离检测装置信号连接,被配置为接收所检测的物距。Furthermore, the camera also includes a first distance detection device, which is configured to detect the object distance from the photographed target to the lens, and the focus controller is signal-connected to the first distance detection device and is configured to receive the detected object distance.
进一步的,所述相机还包括第二距离检测装置,所述第二距离检测装置被配置为检测成像芯片到镜头的像距,所述对焦控制器与第二距离检测装置信号连接,被配置为接收所检测的像距。Furthermore, the camera also includes a second distance detection device, which is configured to detect the image distance from the imaging chip to the lens. The focus controller is signal-connected to the second distance detection device and is configured to receive the detected image distance.
进一步的,所述相机壳体内设置有角度调节支架和角度运动装置,所述角度调节支架通过铰接点活动安装在相机壳体内,所述镜头、成像模组和往复运动装置分别安装在所述角度调节支架上;所述角度运动装置与角度调节支架驱动连接,被配置为驱动所述角度调节支架绕所述铰接点转动,以调节成像模组、镜头相对于被拍摄目标的角度。Furthermore, an angle adjustment bracket and an angle movement device are provided in the camera housing, the angle adjustment bracket is movably installed in the camera housing through a hinge point, and the lens, imaging module and reciprocating motion device are respectively installed on the angle adjustment bracket; the angle movement device is drivingly connected to the angle adjustment bracket, and is configured to drive the angle adjustment bracket to rotate around the hinge point to adjust the angle of the imaging module and the lens relative to the photographed target.
进一步的,所述相机还包括角度检测装置,所述角度检测装置被配置为检测被拍摄目标相对于水平面的夹角,所述对焦控制器与所述角度检测装置信号连接,被配置为根据所检测的夹角控制所述摆动运动装置运动,驱动角度调节支架绕着所述镜头周向转动,以调节成像传感器、镜头与被拍摄目标至同一直线上。Furthermore, the camera also includes an angle detection device, which is configured to detect the angle of the photographed target relative to the horizontal plane. The focus controller is signal-connected to the angle detection device and is configured to control the movement of the swing motion device according to the detected angle, and drive the angle adjustment bracket to rotate around the lens to adjust the imaging sensor, the lens and the photographed target to be on the same straight line.
为了达到上述目的,第二方面,本发明提供了一种自动对焦相机的对焦方法,适用所述的相机,包括步骤:In order to achieve the above object, in a second aspect, the present invention provides a focusing method for an auto-focus camera, which is applicable to the camera, and comprises the steps of:
S50.将所述相机固定在被拍摄目标外;S50. Fixing the camera outside the photographed object;
S60.所述第一距离检测装置检测到被拍摄目标到镜头的物距U1,所述第二距离检测装置检测成像传感器到镜头的初始距离V0;S60. The first distance detection device detects the object distance U1 from the photographed target to the lens, and the second distance detection device detects the initial distance V0 from the imaging sensor to the lens;
S70.对焦控制器根据物距U1计算最佳像距为V1,以满足清晰成像的条件:S70. The focus controller calculates the optimal image distance V1 according to the object distance U1 to meet the conditions for clear imaging:
其中,U1-物距,即物体到镜头的距离;V1-像距,即成像传感器到镜头的距离;F-镜头的焦距;Among them, U1-object distance, that is, the distance from the object to the lens; V1-image distance, that is, the distance from the imaging sensor to the lens; F-focal length of the lens;
S80.对焦控制器计算成像传感器需要移动的距离ΔV=V1-V0;S80. The focus controller calculates the distance that the imaging sensor needs to move ΔV=V1-V0;
S90.对焦控制器控制往复运动装置,驱动成像模组往复移动,调节成像传感器到镜头的距离至V1,实现成像清晰。S90. The focus controller controls the reciprocating motion device, drives the imaging module to move back and forth, and adjusts the distance from the imaging sensor to the lens to V1 to achieve clear imaging.
进一步的,所述相机还包括角度调节支架、角度运动装置和角度检测装置,Furthermore, the camera also includes an angle adjustment bracket, an angle movement device and an angle detection device.
在进行对焦前,调节成像传感器、镜头相对于被拍摄目标的角度,步骤包括:Before focusing, adjust the angle of the imaging sensor and lens relative to the object being photographed. The steps include:
S10.将所述相机固定在被拍摄目标外,镜头与成像传感器布置于同一水平线上;S10. The camera is fixed outside the photographed object, and the lens and the imaging sensor are arranged on the same horizontal line;
S20.所述角度检测装置检测被拍摄目标相对于镜头的水平夹角K1;S20. The angle detection device detects the horizontal angle K1 of the photographed target relative to the lens;
S30.对焦控制器根据所检测的水平夹角控制所述摆动运动装置动作,驱动角度调节支架绕着所述镜头周向转动,以使得镜头、成像传感器和被拍摄目标至同一直线上。S30. The focus controller controls the movement of the swing motion device according to the detected horizontal angle, and drives the angle adjustment bracket to rotate around the lens so that the lens, the imaging sensor and the photographed target are on the same straight line.
相对于现有技术相机采用镜头前后移动实现对焦的技术,本发明提供了一种自动对焦的相机技术优势至少体现在:Compared with the prior art camera technology that uses the lens to move back and forth to achieve focus, the present invention provides an automatic focus camera technology with the following advantages at least:
第一方面,所提供的自动对焦相机通过移动相机壳体内的成像模组实现对焦,在结构上不需要考虑镜头的前后往复运动流畅、密封性等要求,简化了镜头与相机壳体的连接结构,降低了镜头连接结构的制造难度及成本;First, the provided autofocus camera realizes focusing by moving the imaging module in the camera housing, and structurally, there is no need to consider requirements such as smooth forward and backward reciprocating motion and sealing of the lens, thus simplifying the connection structure between the lens and the camera housing and reducing the manufacturing difficulty and cost of the lens connection structure;
第二方面,在进行自动对焦过程中,通过在相机壳体的密封空间内的成像模组的前后移动实现对焦,避免了外界温度、附着尘土的影响而造成的运动卡顿、运动无法精确到位的问题发生,有利于提高对焦的速度和准确度;Secondly, during the autofocus process, focusing is achieved by moving the imaging module back and forth in the sealed space of the camera housing, which avoids the problems of motion jamming and inaccurate motion caused by the influence of external temperature and attached dust, and is conducive to improving the speed and accuracy of focusing;
第三方面,相对于驱动镜头前后移动的驱动结构空间、布置受限,驱动相机壳体内的成像模组在结构上布置的灵活性更高、空间布局更多样性,更能够满足对焦运动过程的控制要求。Thirdly, compared with the limited space and layout of the driving structure that drives the lens to move back and forth, the imaging module in the camera housing has higher structural flexibility and more diverse spatial layout, and can better meet the control requirements of the focusing movement process.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
图1是根据本发明一实施例的自动对焦相机的结构示意图;FIG1 is a schematic structural diagram of an auto-focus camera according to an embodiment of the present invention;
图2是根据本发明另一实施例的自动对焦相机的结构示意图;FIG2 is a schematic structural diagram of an auto-focus camera according to another embodiment of the present invention;
图3是根据本发明一实施例的共线调节的方法流程框图;FIG3 is a flowchart of a method for collinear adjustment according to an embodiment of the present invention;
图4是根据本发明一实施例的前后距离对焦的方法流程框图。FIG. 4 is a flowchart of a method for front-to-back distance focusing according to an embodiment of the present invention.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
图中,1-相机壳体,2-镜头,3-成像模组,4-往复运动装置,5-对焦控制器,6-第一距离检测装置,7-第二距离检测装置,8-角度调节支架,9-角度运动装置,10-角度检测装置,11-铰接点。In the figure, 1-camera housing, 2-lens, 3-imaging module, 4-reciprocating motion device, 5-focus controller, 6-first distance detection device, 7-second distance detection device, 8-angle adjustment bracket, 9-angle motion device, 10-angle detection device, 11-hinge point.
具体实施方式DETAILED DESCRIPTION
现在将参照附图来详细描述本公开的各种示例性实施例。对示例性实施例的描述仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。本公开可以许多不同的形式实现,不限于这里的实施例。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is not intended to be any limitation on the present disclosure and its application or use. The present disclosure can be implemented in many different forms and is not limited to the embodiments herein.
本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的部分。“上”、“下”、“等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。在本公开中,当描述到特定器件位于第一器件和第二器件之间时,在该特定器件与第一器件或第二器件之间可以存在居间器件,也可以不存在居间器件。The words "first", "second" and similar terms used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different parts. "Up", "down", etc. are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly. In the present disclosure, when a specific device is described as being between a first device and a second device, there may or may not be an intermediate device between the specific device and the first device or the second device.
图1是根据本发明一实施例的自动对焦相机的结构示意图。如图1所示,本发明提供了一种自动对焦的相机的实施例,包括相机壳体1,镜头2后端位置固定的设置在所述相机壳体1前端,成像模组3活动设置在所述相机壳体1内,所述成像模组3设置有成像芯片,所述成像芯片设置有与镜头2适配的成像传感器;往复运动装置4与所述成像模组3驱动连接,被配置为驱动成像模组3沿着镜头2镜像面的法线运动;对焦控制器5与所述往复运动装置4控制连接,被配置为控制往复运动装置4动作,以进行成像传感器与镜头2的对焦,实现成像清晰。Fig. 1 is a schematic diagram of the structure of an autofocus camera according to an embodiment of the present invention. As shown in Fig. 1, the present invention provides an embodiment of an autofocus camera, comprising a camera housing 1, a rear end position of a lens 2 fixedly arranged at the front end of the camera housing 1, an imaging module 3 movably arranged in the camera housing 1, the imaging module 3 is provided with an imaging chip, and the imaging chip is provided with an imaging sensor adapted to the lens 2; a reciprocating motion device 4 is drivingly connected to the imaging module 3 and is configured to drive the imaging module 3 to move along the normal of the mirror surface of the lens 2; a focus controller 5 is control-connected to the reciprocating motion device 4 and is configured to control the action of the reciprocating motion device 4 to focus the imaging sensor and the lens 2 to achieve clear imaging.
相对于现有技术的相机,本发明提供的自动对焦相机,通过驱动镜头前后移动的驱动结构空间、布置受限,并且,在结构上不需要考虑镜头的前后往复运动流畅、密封性等要求,简化了镜头与相机壳体的连接结构,降低了镜头连接结构的制造难度及成本,在进行自动对焦过程中,通过在相机壳体的密封空间内的成像模组的前后移动实现对焦,避免了外界温度、附着尘土的影响而造成的运动卡顿、运动无法精确到位的问题发生,有利于提高对焦的速度和准确度。Compared with the cameras in the prior art, the autofocus camera provided by the present invention has a limited space and layout for the driving structure for driving the lens to move back and forth, and does not need to consider the requirements of smooth back and forth reciprocating motion and sealing of the lens in structure, thereby simplifying the connection structure between the lens and the camera housing, reducing the manufacturing difficulty and cost of the lens connection structure. During the autofocus process, focusing is achieved by moving the imaging module back and forth in the sealed space of the camera housing, avoiding the problems of motion jamming and inaccurate motion caused by the influence of external temperature and attached dust, which is conducive to improving the focusing speed and accuracy.
所述成像传感器包括但不限于线阵式成像传感器或面阵式成像传感器,所述成像模组3设置有与所述成像芯片一体化连接的驱动电路和数据接口。再具体实施中,对焦控制器为单片机、人工智能控制器和控制芯片等,在具体实施中,成像传感器包括可见光、红外、近红外、紫外传感器和偏振传感器等。The imaging sensor includes but is not limited to a linear array imaging sensor or a planar array imaging sensor, and the imaging module 3 is provided with a driving circuit and a data interface integrally connected to the imaging chip. In a specific implementation, the focus controller is a single chip microcomputer, an artificial intelligence controller, a control chip, etc. In a specific implementation, the imaging sensor includes visible light, infrared, near infrared, ultraviolet sensors, and polarization sensors, etc.
其中,所述往复运动装置4包括电动调节机构,被配置为通过电动方式驱动成像模组3沿着镜头2镜像面的法线运动,所述电动调节机构包括但不限于电磁型伺服电机、压电驱动器、音圈电机、超声电机或直线电机。所述往复运动装置4还包括设置在电动调节机构与成像模组3之间的传动机构,所述传动机构包括但不限于滚珠丝杠机构、凸轮机构和/或曲柄滑块机构。由此,所提供的自动对焦的相机,通过移动相机壳体内的成像模组实现对焦,驱动相机壳体内的成像模组在结构上布置的灵活性更高、空间布局更多样性,更能够满足对焦运动过程的控制要求。The reciprocating motion device 4 includes an electric adjustment mechanism, which is configured to drive the imaging module 3 to move along the normal of the mirror surface of the lens 2 by electric means. The electric adjustment mechanism includes but is not limited to an electromagnetic servo motor, a piezoelectric driver, a voice coil motor, an ultrasonic motor or a linear motor. The reciprocating motion device 4 also includes a transmission mechanism arranged between the electric adjustment mechanism and the imaging module 3, and the transmission mechanism includes but is not limited to a ball screw mechanism, a cam mechanism and/or a crank slider mechanism. Thus, the provided autofocus camera achieves focusing by moving the imaging module in the camera housing, and the imaging module in the camera housing is driven to have higher flexibility in structural arrangement and more diverse spatial layout, and can better meet the control requirements of the focusing movement process.
进一步的,再具体实施中,所述往复运动装置还包括手动调节机构,被配置为通过手动方式调节成像模组到镜头的距离。具体的,手动调节机构可以为设置在相机壳体上的转轮或者拨杆,转轮或者拨杆通过上述的滚珠丝杠机构、凸轮机构和/或曲柄滑块机构等传动机构与成像模组连接,在对焦过程中,手动驱动转轮或者拨杆,通过传动机构带动成像模组移动,实现精准对焦,提高对焦的速度和准确性。Furthermore, in a specific implementation, the reciprocating motion device further includes a manual adjustment mechanism, which is configured to manually adjust the distance between the imaging module and the lens. Specifically, the manual adjustment mechanism can be a rotating wheel or a lever disposed on the camera housing, and the rotating wheel or the lever is connected to the imaging module through a transmission mechanism such as the ball screw mechanism, the cam mechanism and/or the crank slider mechanism. During the focusing process, the rotating wheel or the lever is manually driven to drive the imaging module to move through the transmission mechanism, thereby achieving precise focusing and improving the focusing speed and accuracy.
在一些优选的实施例中,所述相机还包括第一距离检测装置6,所述第一距离检测装置6被配置为检测被拍摄目标到镜头2的物距,所述对焦控制器5与第一距离检测装置6信号连接,被配置为接收所检测的物距。在具体实施过程中,所述第一距离检测装置可以为光学射线距离传感器,光学射线可以为激光、红外线等,通过光学射线传感器发出的红外线光照射被被拍摄目标、反射回来检测距离,实现镜头到被检测目标的距离测量,并将检测距离值发送至对焦控制器,对焦控制器以此数值作为物距,为进一步对焦调节作为数据基础。In some preferred embodiments, the camera further includes a first distance detection device 6, which is configured to detect the object distance from the photographed target to the lens 2, and the focus controller 5 is connected to the first distance detection device 6 by signal, and is configured to receive the detected object distance. In the specific implementation process, the first distance detection device can be an optical ray distance sensor, and the optical ray can be a laser, infrared ray, etc. The infrared light emitted by the optical ray sensor irradiates the photographed target and is reflected back to detect the distance, thereby realizing the distance measurement from the lens to the detected target, and sending the detected distance value to the focus controller, which uses this value as the object distance as a data basis for further focus adjustment.
进一步的,所述相机还包括第二距离检测装置7,所述第二距离检测装置7被配置为检测成像芯片到镜头2的像距,所述对焦控制器5与第二距离检测装置7信号连接,被配置为接收所检测的像距。在具体实施过程中,第二距离检测装置可以为上述实施例的光学射线距离传感器,也可以为电子距离标尺等,实现镜头到成像传感器的像距,为进一步对焦调节作为数据基础。需要说明的是,一些伺服电机中包含第二距离检测装置7,伺服电机可以用来精准控制成像芯片的运动量。Furthermore, the camera also includes a second distance detection device 7, which is configured to detect the image distance from the imaging chip to the lens 2, and the focus controller 5 is connected to the second distance detection device 7 by signal, and is configured to receive the detected image distance. In the specific implementation process, the second distance detection device can be an optical ray distance sensor of the above-mentioned embodiment, or an electronic distance scale, etc., to realize the image distance from the lens to the imaging sensor, which serves as a data basis for further focus adjustment. It should be noted that some servo motors include a second distance detection device 7, and the servo motor can be used to accurately control the movement of the imaging chip.
图4是根据本发明一实施例的前后距离对焦的方法流程框图,如图4所示,相应的,本发明提供了一种自动对焦相机的对焦方法,适用于上述自动对焦相机,包括步骤:FIG4 is a flowchart of a method for front-to-back distance focusing according to an embodiment of the present invention. As shown in FIG4 , the present invention accordingly provides a focusing method for an auto-focus camera, which is applicable to the above-mentioned auto-focus camera, and includes the following steps:
S50.将所述相机固定在被拍摄目标外;S50. Fixing the camera outside the photographed object;
S60.所述第一距离检测装置6检测到被拍摄目标到镜头2的物距U1,所述第二距离检测装置7检测成像传感器到镜头2的初始距离V0;S60. The first distance detection device 6 detects the object distance U1 from the photographed target to the lens 2, and the second distance detection device 7 detects the initial distance V0 from the imaging sensor to the lens 2;
S70.对焦控制器5根据物距U1计算最佳像距为V1,以满足清晰成像的条件:S70. The focus controller 5 calculates the optimal image distance V1 according to the object distance U1 to meet the condition of clear imaging:
其中,U1-物距,即物体到镜头2的距离;V1-像距,即成像传感器到镜头2的距离;F-镜头2的焦距;Among them, U1-object distance, that is, the distance from the object to the lens 2; V1-image distance, that is, the distance from the imaging sensor to the lens 2; F-focal length of the lens 2;
S80.对焦控制器5计算成像传感器需要移动的距离ΔV=V1-V0;S80. The focus controller 5 calculates the distance that the imaging sensor needs to move ΔV=V1-V0;
S90.对焦控制器5控制往复运动装置4,驱动成像模组3往复移动,调节成像传感器到镜头2的距离至V1,实现成像清晰。S90. The focus controller 5 controls the reciprocating motion device 4 to drive the imaging module 3 to move back and forth, and adjusts the distance from the imaging sensor to the lens 2 to V1 to achieve clear imaging.
通过上述方法的实施,能够实现对焦的快速、自动化完成,在对焦过程中只需要调节成像模组的前后位置,而不需要进行镜头2的前后调整,使得镜头2连接结构相对简单,相应降低了制造难度和生产成本,成像模组3、往复驱动装置4均安装在相机壳体1内部,降低了受到温差变化、表面附着外界尘土及杂物等因素的影响,提高了对焦速度和准确度。By implementing the above method, focusing can be achieved quickly and automatically. During the focusing process, only the front and rear positions of the imaging module need to be adjusted, and there is no need to adjust the front and rear positions of the lens 2, so that the connection structure of the lens 2 is relatively simple, which correspondingly reduces the manufacturing difficulty and production cost. The imaging module 3 and the reciprocating drive device 4 are both installed inside the camera housing 1, which reduces the influence of factors such as temperature differences and external dust and debris attached to the surface, thereby improving the focusing speed and accuracy.
基于以上各实施例,本发明提供的一种自动对焦相机及对焦方法,改变对焦结构和对焦方式,降低相机镜头连接结构的复杂程度、制造成本,避免外界因素影响镜头对焦的问题发生,提高对焦速度和准确度。Based on the above embodiments, the present invention provides an autofocus camera and a focusing method, which change the focusing structure and focusing method, reduce the complexity of the camera lens connection structure and the manufacturing cost, avoid the problem of external factors affecting the lens focus, and improve the focusing speed and accuracy.
上述通过成像模组前后移动对焦的相机,降低了对相机壳体与镜头之间的线性运动连接结构要求,不必考虑镜头的线性运动的流畅性和密封性要求,使得镜头连接结构相对简单,相应降低了制造难度和生产成本,而且使用过程中,成像模组、往复驱动装置均安装在相机壳体内部,避免暴露在外,降低了受到温差变化、表面附着外界尘土及杂物等因素的影响,能够实现运动流畅、运动精确到位,提高了对焦速度和准确度,并且,易于实现空间布局多样性。The above-mentioned camera that focuses by moving the imaging module back and forth reduces the requirements for the linear motion connection structure between the camera housing and the lens, and there is no need to consider the smoothness and sealing requirements of the linear movement of the lens, so that the lens connection structure is relatively simple, which correspondingly reduces the manufacturing difficulty and production cost. Moreover, during use, the imaging module and the reciprocating drive device are installed inside the camera housing to avoid exposure to the outside, reducing the influence of factors such as temperature changes and external dust and debris attached to the surface. It can achieve smooth and precise movement, improve the focusing speed and accuracy, and easily achieve spatial layout diversity.
图2是根据本发明另一实施例的自动对焦相机的结构示意图。如图2所示,在一些优选的实施例中,所述相机壳体1内设置有角度调节支架8和角度运动装置9,所述角度调节支架8通过铰接点11活动安装在相机壳体1内,所述镜头2、成像模组3和往复运动装置4分别安装在所述角度调节支架8上;所述角度运动装置9与角度调节支架8驱动连接,被配置为驱动所述角度调节支架8绕所述铰接点11转动,以调节成像模组3、镜头2相对于被拍摄目标的角度。进一步的,所述相机还包括角度检测装置10,所述角度检测装置10被配置为检测被拍摄目标相对于水平面的夹角,所述对焦控制器5与所述角度检测装置10信号连接,被配置为根据所检测的夹角控制所述摆动运动装置运动,驱动角度调节支架8绕着所述镜头2周向转动,以调节成像传感器、镜头2与被拍摄目标至同一直线上。通过以上结构实现成像传感器、镜头到被拍摄目标的共线布置,提高成像的清晰度。FIG2 is a schematic diagram of the structure of an autofocus camera according to another embodiment of the present invention. As shown in FIG2, in some preferred embodiments, an angle adjustment bracket 8 and an angle motion device 9 are provided in the camera housing 1, the angle adjustment bracket 8 is movably installed in the camera housing 1 through a hinge point 11, and the lens 2, the imaging module 3 and the reciprocating motion device 4 are respectively installed on the angle adjustment bracket 8; the angle motion device 9 is connected to the angle adjustment bracket 8 by driving, and is configured to drive the angle adjustment bracket 8 to rotate around the hinge point 11 to adjust the angle of the imaging module 3 and the lens 2 relative to the photographed object. Further, the camera also includes an angle detection device 10, and the angle detection device 10 is configured to detect the angle of the photographed object relative to the horizontal plane. The focus controller 5 is connected to the angle detection device 10 by signal, and is configured to control the movement of the swing motion device according to the detected angle, and drive the angle adjustment bracket 8 to rotate around the lens 2 to adjust the imaging sensor, the lens 2 and the photographed object to the same straight line. The above structure realizes the collinear arrangement of the imaging sensor, the lens to the photographed object, and improves the clarity of the imaging.
图3是根据本发明一实施例的共线调节的方法流程框图,如图3所示,基于上述结构,本发明提供了一种自动对焦相机的对焦方法,所述相机还包括角度调节支架8、角度运动装置9和角度检测装置10,其特征在于:FIG3 is a flowchart of a method for collinear adjustment according to an embodiment of the present invention. As shown in FIG3 , based on the above structure, the present invention provides a focusing method for an autofocus camera, wherein the camera further includes an angle adjustment bracket 8, an angle motion device 9 and an angle detection device 10, and is characterized in that:
在进行对焦前,调节成像传感器、镜头2相对于被拍摄目标的角度,步骤包括:Before focusing, the angles of the imaging sensor and the lens 2 relative to the object being photographed are adjusted, and the steps include:
S10.将所述相机固定在被拍摄目标外,镜头2与成像传感器布置于同一水平线上;S10. The camera is fixed outside the photographed object, and the lens 2 and the imaging sensor are arranged on the same horizontal line;
S20.所述角度检测装置10检测被拍摄目标相对于镜头2的水平夹角K1;S20. The angle detection device 10 detects the horizontal angle K1 of the photographed target relative to the lens 2;
S30.对焦控制器5根据所检测的水平夹角控制所述摆动运动装置动作,驱动角度调节支架8绕着所述镜头2周向转动,以使得镜头2、成像传感器和被拍摄目标至同一直线上。S30. The focus controller 5 controls the movement of the swing motion device according to the detected horizontal angle, and drives the angle adjustment bracket 8 to rotate circumferentially around the lens 2 so that the lens 2, the imaging sensor and the photographed object are on the same straight line.
通过上述方法,通过在相机壳体内设置角度调节支架8,所述镜头2、成像模组3和往复运动装置4分别安装在所述角度调节支架8上;角度检测装置检测到镜头2的水平夹角,对焦控制器5接收上述水平夹角值,向摆动运动装置发出控制指令,摆动运动装置驱动角度调节支架8运动,实现角度调节支架8绕镜头处的铰接点11进行角度调节,直到成像传感器、镜头2和被拍摄目标位于同一直线上,此时,被拍摄目标能够将图像映射到镜头的中心,进一步映射到成像传感器的中心,从而有助于成像清晰。Through the above method, by setting an angle adjustment bracket 8 in the camera housing, the lens 2, imaging module 3 and reciprocating motion device 4 are respectively installed on the angle adjustment bracket 8; the angle detection device detects the horizontal angle of the lens 2, the focus controller 5 receives the above horizontal angle value, and sends a control instruction to the swing motion device, the swing motion device drives the angle adjustment bracket 8 to move, so as to achieve the angle adjustment of the angle adjustment bracket 8 around the hinge point 11 at the lens until the imaging sensor, the lens 2 and the photographed target are located in the same straight line. At this time, the photographed target can map the image to the center of the lens, and further map it to the center of the imaging sensor, which is conducive to clear imaging.
所提供的自动对焦相机及对焦方法,适用于目前现有的多种类相机,包括但不限于近红外相机、远红外相机、可见光相机,紫外相机、偏振相机或彩色相机,具有广阔的应用前景。The provided autofocus camera and focusing method are applicable to various types of cameras currently available, including but not limited to near-infrared cameras, far-infrared cameras, visible light cameras, ultraviolet cameras, polarization cameras or color cameras, and have broad application prospects.
至此,已经详细描述了本公开的各实施例。虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改或者对部分技术特征进行等同替换。本公开的范围由所附权利要求来限定。So far, various embodiments of the present disclosure have been described in detail. Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified or some technical features may be replaced by equivalents without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410566135.8A CN118625577A (en) | 2024-05-09 | 2024-05-09 | Automatic focus camera and focusing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410566135.8A CN118625577A (en) | 2024-05-09 | 2024-05-09 | Automatic focus camera and focusing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118625577A true CN118625577A (en) | 2024-09-10 |
Family
ID=92607135
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410566135.8A Pending CN118625577A (en) | 2024-05-09 | 2024-05-09 | Automatic focus camera and focusing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118625577A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119439598A (en) * | 2024-12-17 | 2025-02-14 | 湖南大学 | A kind of automatic focusing projection optical machine |
-
2024
- 2024-05-09 CN CN202410566135.8A patent/CN118625577A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119439598A (en) * | 2024-12-17 | 2025-02-14 | 湖南大学 | A kind of automatic focusing projection optical machine |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111679395A (en) | Camera module and mobile terminal having the same | |
| KR20220035970A (en) | Optical image stabilization device and control method | |
| CN110933266B (en) | Image pickup apparatus, method and adjustment element | |
| CN109274867A (en) | A kind of camera module and its assemble method | |
| CN101373308B (en) | Image viewfinding device and flash lamp control method thereof | |
| CN118625577A (en) | Automatic focus camera and focusing method | |
| KR20020046551A (en) | Realization device of macro mode using focus driving motor at digital still camera | |
| JP2001036799A (en) | Method for adjusting the position of an optical lens of a fixed focus type imaging device, a computer-readable recording medium storing a program according to the method, and a device for adjusting the position of an optical lens of a fixed focus type imaging device | |
| CN113395437B (en) | Autofocus device and autofocus method | |
| US8031257B2 (en) | Zoom lens control apparatus and optical instrument | |
| JP2001141982A (en) | Automatic focusing device for electronic camera | |
| CN116250246A (en) | Camera module device, multi-camera camera module, camera system, electronic equipment and automatic zoom imaging method | |
| US9152018B2 (en) | Image pickup lens, image pickup apparatus, and control method of the image pickup apparatus | |
| CN106131436B (en) | A kind of the focusing test device and focusing test method of aerial camera | |
| CN211606643U (en) | Automatic focusing device | |
| CN112799275B (en) | Focusing method and focusing system of ultra-short-focus projection lens and projector | |
| TWI554800B (en) | Camera module | |
| JP2001141984A (en) | Automatic focusing device for electronic camera | |
| JP2019097046A (en) | Imaging apparatus and image monitoring system | |
| JP2001141983A (en) | Automatic focusing device for electronic camera | |
| JP5950580B2 (en) | Imaging apparatus and control method thereof | |
| JP2007047586A (en) | Camera module assembly adjustment apparatus and assembly adjustment method | |
| US20240337905A1 (en) | Lens apparatus and image pickup apparatus | |
| CN105744166A (en) | Automatic focusing device and automatic focusing method of the automatic focusing device when images are scanned | |
| CN222867000U (en) | Automatic focusing device of high-precision projection exposure machine |
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 |