CN117991578A - Single-optocoupler double-limiting automatic focusing system and method - Google Patents

Single-optocoupler double-limiting automatic focusing system and method Download PDF

Info

Publication number
CN117991578A
CN117991578A CN202410045750.4A CN202410045750A CN117991578A CN 117991578 A CN117991578 A CN 117991578A CN 202410045750 A CN202410045750 A CN 202410045750A CN 117991578 A CN117991578 A CN 117991578A
Authority
CN
China
Prior art keywords
lens
image
optocoupler
camera module
assembly
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
CN202410045750.4A
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.)
Shenzhen Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network Technology Co Ltd
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 Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN202410045750.4A priority Critical patent/CN117991578A/en
Publication of CN117991578A publication Critical patent/CN117991578A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lens Barrels (AREA)

Abstract

The application discloses a single optical coupler double-limiting automatic focusing system and a method, which relate to the field of projector automatic focusing and comprise the following steps: a camera module; the controller is electrically connected with the camera module and is used for processing the image information of the projection picture acquired by the camera module; the camera module is provided with a lens assembly, and the lens assembly is positioned at the front end of the camera module and is used for focusing according to the distance between the camera module and the projector; the driving assembly is connected with the lens assembly and used for adjusting the distance between the lens assembly and the projector; the detection component is connected with the lens component and used for detecting whether the lens component exceeds a limiting position or not and transmitting a detection result to the controller. The application can realize the automatic focusing of the projection picture, has low requirements on the optical machine structure mould and the gear structure mould, reduces the cost and has simpler working procedures.

Description

Single-optocoupler double-limiting automatic focusing system and method
Technical Field
The invention relates to the technical field of projector automatic focusing, in particular to a single-optocoupler double-limiting automatic focusing system and a method.
Background
The basic working principle of the projector is to irradiate light onto a display element of an image, thereby generating an image, and then project the image through a lens. The focusing process is to adjust the distance between the lens body and the object to be projected to a proper position, so that the projected picture can be clearly displayed.
At present, the lens is focused by adopting a double-optocoupler double-limiting technology, and the double-optocoupler double-limiting technology has certain requirements on a single-machine structure die and a lens gear die.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention aims to solve the technical problems that the prior art has high requirements on a die, complex installation procedures and high cost by the existing double-optocoupler double-limiting technology.
In a first aspect, the present application provides a single optical coupler dual-limit automatic focusing system, which adopts the following technical scheme:
a single optocoupler dual limit autofocus system comprising:
A camera module;
The controller is electrically connected with the camera module and is used for processing the image information of the projection picture acquired by the camera module;
The camera module is provided with a lens assembly, and the lens assembly is positioned at the front end of the camera module and is used for focusing according to the distance between the camera module and the projector;
the driving assembly is connected with the lens assembly and used for adjusting the distance between the lens assembly and the projector;
The detection component is connected with the lens component and used for detecting whether the lens component exceeds a limiting position or not and transmitting a detection result to the controller.
Further, the lens component comprises a lens and a transmission gear;
The lens is rotationally connected to the front end of the camera, the transmission gear is arranged on the lens, the driving assembly is connected with the transmission gear and used for enabling the lens to extend forwards or retract through driving the transmission gear to rotate.
Further, the lens assembly further comprises a baffle;
The baffle is connected with the transmission gear, so that the baffle follows the transmission gear to rotate, the baffle is further connected with the detection assembly, and the detection assembly is used for detecting whether the lens exceeds a limiting position according to the position of the baffle.
Further, the detection assembly comprises an optical coupler, the optical coupler is provided with a transmitting part and a receiving part, the transmitting part transmits an optical signal, the receiving part receives the optical signal and converts the optical signal into an electric signal, and the baffle is used for enabling the transmitting part and the receiving part not to be connected; the optocoupler also has conductive terminals for transmitting electrical signals.
Further, the optical coupler is U-shaped, and the transmitting part and the receiving part are respectively positioned at two opposite inner side surfaces of the optical coupler; the conductive terminal is positioned at the bottom of the optocoupler.
Further, the driving assembly comprises a stepping motor and a driving gear, the stepping motor is connected with the driving gear and used for driving the driving gear to rotate, and the driving gear is connected with the transmission gear.
In a second aspect, the application provides a single optical coupler double-limiting automatic focusing method, which adopts the following technical scheme:
a single optical coupler double-limiting automatic focusing method comprises the following steps:
Acquiring an image of a projection picture, and judging whether the lens exceeds the limiting positions of the two ends or does not exceed the limiting positions of the two ends according to the detection assembly;
performing image algorithm processing according to the images to obtain the image with highest definition in all the acquired images;
obtaining a lens position corresponding to an image with highest definition in the image according to the corresponding relation between the lens position and the image;
And driving the lens to rotate to a lens position corresponding to the image with the highest definition in the images.
Further, the acquiring the image of the projection picture includes:
An image of the projection screen is obtained by one rotation of the lens counterclockwise.
Further, the driving the lens to rotate to a lens position corresponding to an image with highest definition in the images includes:
and reversing the lens clockwise to the lens position corresponding to the image with the highest definition in the images.
Further, the obtaining the image of the projection picture by rotating the lens counterclockwise for one turn includes:
one rotation of the lens counter-clockwise achieves the sharpness of the image from low to high to low.
The invention has the beneficial effects that: the invention continuously shoots the image of the projection picture through the camera module, and transmits the shot image to the controller for image algorithm processing so as to obtain the definition of each image, and outputs a focusing instruction according to the image with the highest definition, and controls the driving component to start, thereby adjusting the distance between the lens component and the projection screen to the position capable of shooting the image with the highest definition, and further realizing automatic focusing. The system not only can realize automatic focusing of projection pictures, but also has low requirements on the optical machine structure die and the gear structure die, the production cost is reduced, and the assembly process is simpler.
Drawings
Fig. 1 is a schematic diagram of an overall structure of a single-optocoupler dual-limit auto-focusing system according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a lens assembly in a single-optocoupler dual-limit auto-focusing system according to an embodiment of the present invention.
Fig. 3 is a partial exploded view of a lens assembly in a single optocoupler dual limit autofocus system according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a detection component in a single-optocoupler dual-limit auto-focusing system according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of another angle of the detection component in the single-optocoupler dual-limit auto-focusing system according to the embodiment of the present invention.
Fig. 6 is a flow chart of a single optocoupler dual-limit auto-focusing method according to an embodiment of the present invention.
Fig. 7 is a corresponding relationship diagram of lens positions and image sharpness provided by an embodiment of the present invention.
Reference numerals: 1. a camera module; 11. a lens assembly; 111. a lens; 112. a transmission gear; 113. a first baffle; 114. a second baffle; 2. a controller; 3. a drive assembly; 4. a detection assembly; 41. an optical coupler; 42. a transmitting part; 43. a receiving part; 44. and a conductive terminal.
Detailed Description
The invention discloses a single optical coupler double-limiting automatic focusing system and a method, which are used for making the purposes, the technical scheme and the effects of the invention clearer and more definite, and the invention is further described in detail below by referring to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, an embodiment of the present application discloses a single optical coupler dual-limit automatic focusing system, which includes: the device comprises a camera module 1, a controller 2, a driving assembly 3 and a detection assembly 4, wherein the controller 2 is electrically connected with the camera module 1 and is used for processing image information of a projection picture acquired by the camera module 1; the camera module 1 is provided with a lens assembly 11, and the lens assembly 11 is positioned at the front end of the camera module 1 and is used for focusing according to the distance between the camera module 1 and the projector; the driving component 3 is connected with the lens component 11 and is used for adjusting the distance between the lens component 11 and the projection screen; the detecting component 4 is connected with the lens component 11, and is used for detecting whether the lens component 11 exceeds a limiting position or not, and transmitting a detection result to the controller 2.
It can be understood that the system is applied to a projector, the projector projects a projection picture on a projection screen, the system can realize automatic focusing of the projection picture, and the requirements on a photo-mechanical structure die and a gear structure die are not high, the cost is reduced, and the working procedure is simpler. In specific implementation, the camera module 1 is used for continuously shooting images of a projection picture, the shot images are conveyed to the controller 2 for image algorithm processing, definition of each image is obtained, a focusing instruction is output according to the image with the highest definition, and then the driving assembly 3 is controlled to be started, so that the distance between the lens assembly 11 and the projection screen is adjusted to a position capable of shooting the image with the highest definition, automatic focusing is achieved, wherein the detection assembly 4 is matched with the lens assembly 11, and the lens assembly 11 can not exceed a limited position when adjusting the distance between the lens assembly 11 and the projection screen.
In some embodiments, as shown in fig. 2 and 3, the lens assembly 11 includes a lens 111, a transmission gear 112; the lens 111 is rotatably connected to the front end of the camera module 1, the transmission gear 112 is fixedly disposed on the lens 111, and the driving assembly 3 is connected to the transmission gear 112, and is configured to drive the transmission gear 112 to rotate so that the lens 111 is extended or retracted. Specifically, the transmission gear 112 surrounds the periphery of the lens 111, and has a fan shape. The lens assembly 11 further includes a barrier; the baffle is connected with the transmission gear 112, so that the baffle rotates along with the transmission gear 112; the baffle comprises a first baffle and a second baffle, the first baffle and the second baffle form a semicircle, a gap is reserved between the first baffle and the second baffle, the gap is insufficient for enabling the detection assembly 4 to be conducted, and tooth grooves matched with the transmission gear 112 are formed in the inner sides of the first baffle and the second baffle. The outer side of the baffle is connected with the detection assembly 4, and the detection assembly 4 is used for detecting whether the lens 111 exceeds a limiting position according to the position of the baffle.
In practical application, the driving assembly 3 drives the lens 111 to extend or retract by driving the transmission gear 112 to rotate, and in this process, the blocking piece also rotates anticlockwise or clockwise, and the angle formed by the blocking piece limits the range in which the lens 111 can achieve focusing, and the detecting assembly 4 determines whether the lens 111 exceeds the limiting range by detecting the position of the blocking piece. In the implementation, the driving component 3 drives the lens 111 to rotate anticlockwise first, when the detecting component 4 cannot detect the rightmost end of the second baffle, namely, the condition that the focusing range is exceeded is judged, the driving component 3 is stopped immediately, and the process is also a process that the lens 111 captures an image of a projection picture, so that the image definition is obtained; then, the lens 111 rotates clockwise, and when the detecting component 4 cannot detect the leftmost end of the first baffle, that is, the focusing range is out, the driving component 3 should be stopped immediately, and the process is also the process of turning the lens 111 to the image with the highest definition. Thereby realize the automatic focusing of camera lens 111, convenient and fast, convenient to use promotes user experience.
Specifically, in the present application, 2600 steps are required to rotate the stepping motor 31 one turn of the entire lens 111, the time is 100ms, the lens 111 acquires images with the stepping motor 31 moving 65 steps as one cycle, and then the lens 111 rotates one turn for 40 times. Of course, the period of capturing the image by the lens 111 may be fixed or variable, and the speed of rotation of the lens 111 may be uniform or variable, and is not limited. In addition, the number of image acquisitions can be increased, for example, the present application is set to rotate the stepping motor 31 for 65 steps of image acquisitions once, the numerical value can be continuously reduced until the image is acquired in real time, then the image with the highest definition is obtained after being processed by the controller 2, the position corresponding to the image is determined, and then the position is the best focusing position, and finally the lens 111 is driven to rotate reversely to the position.
In some embodiments, as shown in fig. 4 and fig. 5, the detecting component 4 includes an optical coupler 41, where the optical coupler 41 is fixedly disposed on an optical coupler support, the optical coupler 41 is U-shaped, and the optical coupler 41 has a transmitting component 42 and a receiving component 43 and is respectively located on two opposite inner sides of the U-shaped optical coupler 41, where the transmitting component 42 and the receiving component 43 are not in direct contact, but send an optical signal through the transmitting component 42, receive the optical signal by the receiving component 43, and convert the optical signal into an electrical signal, so as to implement connection; the bottom end of the optocoupler 41 is further provided with a conductive terminal 44 for transmitting the electrical signal, and when the electronic circuit receives the optical signal, the state of the circuit inside the electronic circuit changes, so as to control the change of the output parameter. Normally, the transmitting part 42 and the receiving part 43 are connected, the conductive terminal 44 outputs a high level signal to the controller 2, when the blocking piece is located between the transmitting part 42 and the receiving part 43, the receiving part 43 cannot receive the optical signal, and the conductive terminal 44 outputs a low level signal to the controller 2, so that the position of the blocking piece can be determined according to the characteristic of the optocoupler 41.
In the implementation, when the lens 111 rotates to the leftmost end of the blocking piece in a counterclockwise direction, the optical coupler 41 cannot detect the blocking piece, at this time, the transmitting part 42 and the receiving part 43 of the optical coupler 41 are connected, the conductive terminal 44 outputs a high-level signal to the controller 2, and the controller 2 controls the driving assembly 3 to act according to the signal, so as to lock the counterclockwise rotation of the lens 111; when the lens 111 rotates clockwise to the rightmost end of the baffle, the optocoupler 41 still cannot detect the position of the baffle, the optocoupler 41 is turned on, the conductive terminal 44 outputs a high-level signal to the controller 2, and the controller 2 controls the driving component 3 to act according to the signal, so as to lock the lens 111 to rotate clockwise; when the lens 111 rotates between the leftmost end and the rightmost end of the baffle, the transmitting part 42 and the receiving part 43 of the optocoupler 41 are not connected, at this time, the conductive terminal 44 outputs a low-level signal to the controller 2, the driving assembly 3 works normally, and the lens 111 rotates normally, so that the double limiting effect of the optocoupler 41 is achieved. The application greatly reduces the production cost of the whole machine and the assembly process by the design of the single optocoupler 41 device, and the focusing effect is not affected.
In some embodiments, referring to fig. 1, the driving assembly 3 includes a stepper motor (not shown) and a driving gear, wherein the stepper motor is connected to the driving gear for driving the driving gear to rotate, and the driving gear is connected to the transmission gear 112. It can be understood that the controller 2 controls the stepper motor to work or not work according to the high-level signal or the low-level signal output by the optocoupler 41, and further controls the driving gear to rotate or not rotate, so as to adjust the distance between the lens 111 and the projection screen, realize automatic focusing, and control modes are convenient and effective and easy to realize.
The embodiment of the application also discloses a method of the single-optocoupler double-limit automatic focusing system, which is applied to the single-optocoupler double-limit automatic focusing system, and referring to fig. 6, the method comprises the following steps:
S10, acquiring an image of a projection picture, and judging whether the lens exceeds the limit positions of the two ends or does not exceed the limit positions of the two ends according to the detection assembly;
s20, performing image algorithm processing according to the acquired images to obtain images with highest definition in all the acquired images;
s30, obtaining lens positions corresponding to the images with highest definition in all the images according to the corresponding relation between the lens positions and the images;
s40, driving the lens to rotate to the position of the lens corresponding to the image with the highest definition in the images.
In specific implementation, firstly, an image of a projection picture on a projection screen is obtained, then, image algorithm processing is carried out on the obtained image, an image with highest definition in the obtained image is obtained, then, the position of the image with the definition is obtained according to the corresponding relation between the position of the lens and the image, and finally, the lens is rotated to the position, so that automatic focusing is realized. In this focusing process, it is necessary to limit the positions of both ends of the lens rotation and to detect during the automatic rotation so as not to exceed the limit positions.
The acquiring the image of the projection picture comprises:
An image of the projection screen is obtained by one rotation of the lens counterclockwise.
The driving the lens to move to the lens position corresponding to the image with the highest definition in the images comprises the following steps:
and reversing the lens clockwise to the lens position corresponding to the image with the highest definition in the images.
In the application, the image of the projection picture is obtained by rotating the lens anticlockwise for one circle, and after the image with the highest definition is obtained, the lens is rotated clockwise to the position corresponding to the image, so that the automatic focusing is realized. The lens can rotate anticlockwise at a constant speed, then rotates clockwise to focus at a variable speed, or rotates anticlockwise to an initial position and then focuses at different variable speeds, and the minimum speed in the rotation process is equal to the maximum speed of the lens rotating anticlockwise, so that the position of the lens, which does not acquire an image in the anticlockwise rotation process, can be subjected to image acquisition again and definition comparison, the focusing position can be determined more accurately, and the focusing accuracy is improved.
The obtaining the image of the projection picture by rotating the lens counterclockwise for one circle comprises:
one rotation of the lens counter-clockwise achieves the sharpness of the image from low to high to low.
As shown in fig. 7, the resolution change of the image is obtained by rotating the lens counterclockwise one turn from a to B, and the process from C to D is performed by rotating the lens clockwise (reverse) to the highest resolution of the image, so that focusing is completed.
Compared with the prior art, the invention has the following advantages:
The invention continuously shoots the image of the projection picture through the camera module, and transmits the shot image to the controller for image algorithm processing so as to obtain the definition of each image, and outputs a focusing instruction according to the image with the highest definition, and controls the driving component to start, thereby adjusting the distance between the lens component and the projection screen to the position capable of shooting the image with the highest definition, and further realizing automatic focusing. The system not only can realize automatic focusing of projection pictures, but also has low requirements on the optical machine structure die and the gear structure die compared with the double-optical-coupler double-limiting technology, the production cost is reduced, and the assembly process is simpler.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (10)

1. A single optocoupler dual limit autofocus system comprising:
A camera module;
The controller is electrically connected with the camera module and is used for processing the image information of the projection picture acquired by the camera module;
The camera module is provided with a lens assembly, and the lens assembly is positioned at the front end of the camera module and is used for focusing according to the distance between the camera module and the projector;
the driving assembly is connected with the lens assembly and used for adjusting the distance between the lens assembly and the projector;
The detection component is connected with the lens component and used for detecting whether the lens component exceeds a limiting position or not and transmitting a detection result to the controller.
2. The single optocoupler dual limit autofocus system of claim 1, wherein the lens assembly comprises a lens, a drive gear;
The lens is rotationally connected to the front end of the camera, the transmission gear is arranged on the lens, the driving assembly is connected with the transmission gear and used for enabling the lens to extend forwards or retract through driving the transmission gear to rotate.
3. The single optocoupler dual limit autofocus system of claim 2 further comprising a baffle;
The baffle is connected with the transmission gear, so that the baffle follows the transmission gear to rotate, the baffle is further connected with the detection assembly, and the detection assembly is used for detecting whether the lens exceeds a limiting position according to the position of the baffle.
4. The single optocoupler dual limit autofocus system of claim 3 wherein the detection assembly comprises an optocoupler having a transmitting component and a receiving component, the transmitting component transmitting an optical signal, the receiving component receiving the optical signal and converting the optical signal to an electrical signal, the blocking tab being configured to decouple the transmitting component from the receiving component; the optocoupler also has conductive terminals for transmitting electrical signals.
5. The dual-limit automatic focusing system of claim 4, wherein the optocoupler is U-shaped, the transmitting part and the receiving part are respectively positioned on two opposite inner sides of the optocoupler, and the conductive terminal is positioned at the bottom of the optocoupler.
6. The single optocoupler dual limit auto-focus system of claim 2, wherein the drive assembly comprises a stepper motor and a drive gear, the stepper motor is coupled to the drive gear for driving the drive gear to rotate, and the drive gear is coupled to the drive gear.
7. A single-optocoupler double-limit automatic focusing method applied to the single-optocoupler double-limit automatic focusing system as claimed in any one of claims 1 to 6, characterized in that the method comprises the following steps:
Acquiring an image of a projection picture, and judging whether the lens exceeds the limiting positions of the two ends or does not exceed the limiting positions of the two ends according to the detection assembly;
performing image algorithm processing according to the images to obtain the image with highest definition in all the acquired images;
obtaining a lens position corresponding to an image with highest definition in the image according to the corresponding relation between the lens position and the image;
And driving the lens to rotate to a lens position corresponding to the image with the highest definition in the images.
8. The method for single optocoupler dual limit auto-focusing of claim 7, wherein the obtaining the image of the projected picture comprises:
An image of the projection screen is obtained by one rotation of the lens counterclockwise.
9. The method of claim 7, wherein the driving the lens to rotate to a lens position corresponding to the highest resolution image of the images comprises:
and reversing the lens clockwise to the lens position corresponding to the image with the highest definition in the images.
10. The method of claim 8, wherein the obtaining the image of the projection frame by rotating the lens counterclockwise for one turn comprises:
one rotation of the lens counter-clockwise achieves the sharpness of the image from low to high to low.
CN202410045750.4A 2024-01-10 2024-01-10 Single-optocoupler double-limiting automatic focusing system and method Pending CN117991578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410045750.4A CN117991578A (en) 2024-01-10 2024-01-10 Single-optocoupler double-limiting automatic focusing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410045750.4A CN117991578A (en) 2024-01-10 2024-01-10 Single-optocoupler double-limiting automatic focusing system and method

Publications (1)

Publication Number Publication Date
CN117991578A true CN117991578A (en) 2024-05-07

Family

ID=90891990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410045750.4A Pending CN117991578A (en) 2024-01-10 2024-01-10 Single-optocoupler double-limiting automatic focusing system and method

Country Status (1)

Country Link
CN (1) CN117991578A (en)

Similar Documents

Publication Publication Date Title
TWI436154B (en) The projector's autofocus system
JPH0378829B2 (en)
EP3328056B1 (en) Focusing processing method and apparatus, and terminal device
KR102156292B1 (en) photographing apparatus
JP3925751B2 (en) Angle correction device for taking lens
JP2011109310A (en) Image synthesizing device and imaging device
JP2001036799A (en) Method and device for adjusting position of optical lens for fixed focus type image pickup device and computer readable recording medium storage program concerned with the method
JP2005266465A (en) Optical apparatus
CN117991578A (en) Single-optocoupler double-limiting automatic focusing system and method
JP5855842B2 (en) Image evaluation chart, camera module focus direction / quantity measurement device, camera module lens position adjustment device, camera module focus adjustment device, camera module mounting pallet, camera module adhesive application device
JP2004109691A (en) Camera and camera system
CN111866365A (en) Industrial camera capable of automatically focusing and control method
JP7481925B2 (en) Image blur correction control device, method, program, and storage medium
JP2015184614A (en) Automatic focus adjustment device
KR101698917B1 (en) Integrated control method of pan tilt zoom focusing of closed circuit television camera
JP2013025129A (en) Focus detection device and imaging apparatus
JP2018054787A (en) Optical instrument
US5109245A (en) Electric focusing device
JP3854666B2 (en) OPTICAL ELEMENT CONTROL DEVICE AND OPTICAL DEVICE HAVING THE SAME
JPH04314275A (en) Image pickup device
JP3232566B2 (en) Automatic focusing device
JPH1114899A (en) Lens position setting device
CN116723396A (en) Camera focusing method, cell analysis instrument and blood detection equipment
JP2005221643A (en) Automatic focusing system
JPH04109235A (en) Projecting 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