Optical 4F system based on automatic matching and matching method thereof
By using the lens rotor frame and slide platform linear module in the optical 4F system, combined with the adaptive adjustment algorithm, the automatic selection and distance adjustment of the lens are realized, solving the problem of inaccurate focus after lens replacement in the prior art, and improving the The system's automated operation efficiency and accuracy are achieved.
Patent Information
- Application Number
- CN202411235214.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-06
AI Technical Summary
The existing optical 4F system is difficult to adaptively adjust the lens spacing and module distance after replacing the lens, resulting in inaccurate focus and lack of fast and accurate automatic assembly and matching functions.
Using the lens rotor frame and the sliding table linear module combined with an adaptive adjustment algorithm, the lens rotor rotates and the sliding table linear module moves through the stepper motor to realize the automatic selection and distance adjustment of the lens, and re-equip 4F according to the target imaging multiple. The system is adjusted.
Fast and accurate focus is achieved, the system's real-time, accuracy and efficiency are improved, the human adjustment error is reduced, and the efficiency and accuracy of experimental operations are improved.
Smart Images

Figure CN119087617A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical imaging automation control, and in particular to an optical 4F system based on automatic matching and a matching method thereof. Background Art
[0002] The optical 4F system is an optical system composed of two lens components with the same focal length. The lens pair is the most typical coherent optical information processing system. It uses a pair of lenses that almost eliminate phase differences. After two Fourier transforms, the light from the object plane is incident on the first lens to obtain spectrum information, and then passes through the second lens to obtain the output surface, and the light information is analyzed and processed in the frequency domain. The system can be used for spatial filtering and image processing to effectively eliminate noise and interference in the light beam, which can greatly improve the imaging quality, clarity and resolution; it can be used for ultrafast laser beam shaping to effectively improve the signal-to-noise ratio of the system, increase the energy concentration of the beam, reduce the divergence angle, improve the system performance, stability and laser processing quality; it can also be used for spectrum analysis to obtain information such as the frequency distribution and spectrum width of the beam.
[0003] The optical 4F system has important application prospects in many fields such as microscopic imaging, signal processing, spectral analysis, image processing, laser beam shaping, etc. It is necessary to select a suitable optical 4F system according to the specific practical application, and make corresponding adjustments and optimizations. The construction of an optical 4F system usually uses the traditional speckle maximum method to find the focal plane of the lens, and aligns the optical path by repeatedly adjusting the reflector to keep the lens level. Relying on manual adjustment of mechanical precision devices is not only time-consuming and labor-intensive, but also difficult to achieve ultra-high precision adjustment. Although there are solutions for automated focusing in the prior art, the prior art does not provide an accurate and efficient solution for how to adaptively adjust the appropriate lens and adjust the distance between modules in the entire 4F system after updating the imaging requirements. Therefore, it is urgent to develop an optical 4F system with automatic adjustment and matching functions. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides an optical 4F system based on automatic matching and a matching method thereof. The system sets a lens rotating wheel frame and a sliding table linear module, and uses an adaptive adjustment algorithm to realize the functions of automatically selecting lenses and adjusting lens spacing. Therefore, based on the target imaging magnification, the 4F system is readjusted after the lens is replaced to achieve fast and accurate focusing.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] In a first aspect, the present invention provides an optical 4F system based on automatic matching, comprising:
[0007] The first lens wheel frame and the second lens wheel frame both include a lens wheel, and a plurality of lenses with different focal lengths are evenly arranged along the circumference of the lens wheel to form a lens group; the rear focal plane of the first imaging lens in the first lens wheel frame coincides with the front focal plane of the second imaging lens in the second lens wheel frame, and the two lenses are kept horizontal;
[0008] Three slide linear modules, two of which are fixedly connected to the lens wheel frame, and one is connected to the imaging plane; used to adjust the horizontal distance between the object and the lens, between the lenses, and between the lens and the imaging plane;
[0009] The motor automatic control module is connected to the stepper motor in communication, and is used to output the lens replacement instruction and the slide linear module movement instruction according to the target imaging magnification by using the adaptive adjustment algorithm;
[0010] The motor drive module includes multiple stepper motors, which are electrically connected to the motor automatic control module, the lens wheel frame and the slide linear module respectively; it is used to receive instructions from the motor automatic control module, drive the lens wheel to rotate to replace the lens, and drive the slide linear module to move.
[0011] According to a further technical solution, the lens groups arranged in the first lens wheel frame and the second lens wheel frame are not completely the same.
[0012] According to a further technical solution, the first imaging lens and the second imaging lens form a lens that eliminates phase differences.
[0013] According to a further technical solution, the ball screw of the slide linear module has an accuracy of 0.01 mm, an effective stroke of 10 mm-1500 mm, and a running speed of 100 mm / s.
[0014] According to a further technical solution, the lens wheel frame also includes a support frame for adjusting the height of the lens wheel and the imaging plane.
[0015] In a second aspect, the present invention provides a matching method of an optical 4F system based on automatic matching, comprising:
[0016] According to the target imaging magnification, the adaptive adjustment algorithm is used to output the lens replacement instruction and the slide linear module movement instruction;
[0017] The motor drive module receives the lens replacement instruction and the slide linear module movement instruction, drives the lens wheel to rotate to replace the lens, and drives the slide linear module to move.
[0018] Further technical solution, the adaptive adjustment algorithm is:
[0019] The specified variables include the positions of the first lens and the second lens in the lens frame before and after replacement, the focal lengths of the lenses before and after replacement, the unit time of the stepper motor for adjusting the slide and the lens, and the motor pins connecting the lens frame and the slide;
[0020] Wait for input variables and assign values, determine the high and low levels of each motor pin and calculate the delay time;
[0021] The control is completed, the input variable will overwrite the front lens variable and wait for the next calculation.
[0022] According to a further technical solution, the lens replacement instruction is to select the first imaging lens and the second imaging lens in the first lens wheel frame and the second lens wheel frame respectively, and the stepper motor drives the lens wheel to rotate so that the first imaging lens and the second imaging lens remain horizontal.
[0023] According to a further technical solution, the movement instruction of the slide linear module is to define the imaging plane side as the positive direction, and the stepper motor drives the slide linear module to move in the positive direction or the negative direction.
[0024] According to a further technical solution, the stepper motor moves in a positive direction when it outputs a high level and moves in a negative direction when it outputs a low level.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] (1) The present invention discloses an optical 4F system based on automatic matching and a matching method thereof. The system hardware mainly includes two sliding multi-hole mounting frames with stepper motors, or two filter wheels equipped with rotating motors, which can realize the functions of automatically selecting lenses and adjusting lens spacing respectively with a slide linear module. The frames or wheels can simultaneously install at least 6 types of lenses. The ball screw accuracy of the slide linear module reaches 0.01mm, the effective stroke can reach 10mm to 1500mm according to the requirements, and the running speed can reach 100mm / s; in terms of algorithm, the adaptive adjustment algorithm can be used to accurately replace the lens and adjust the position of the lens and the imaging point. Compared with traditional manual adjustment, the system of the present invention has the advantages of high real-time performance, small adjustment error, high efficiency and accuracy.
[0027] (2) The present invention uses a motor-controlled slide linear module to adjust the position of the lens and the imaging point, achieving high-precision and high-efficiency adjustment of the lens position with an accuracy of hundreds of microns.
[0028] (3) The replacement of the lens pair of the present invention can be controlled by buttons, thus avoiding human touching of the lens. Meanwhile, the lens position and the imaging point position can be calculated in real time by a single chip microcomputer, thus realizing automatic control.
[0029] (4) The present invention uses a lens frame or a rotating wheel containing multiple lenses to achieve the adjustment of image sizes in various proportions, thereby improving the efficiency of experimental operations.
[0030] (5) The single chip microcomputer of the present invention utilizes a power-off storage device to store the last lens selection, thereby facilitating the storage and processing of experimental data.
[0031] (5) The present invention uses an automatically matched optical 4F system, which not only makes it convenient to replace lens pairs, but also adjusts the lens position and image position in real time. The entire system realizes automated operation, greatly improving the experimental efficiency and accuracy.
[0032] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their description are used to explain the present invention but do not constitute a limitation of the present invention.
[0034] Figure 1 A schematic diagram of module connection of an optical 4F system based on automatic matching provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of the structure of an optical 4F system based on automatic matching provided by an embodiment of the present invention;
[0036] Figure 3 A flowchart of an adaptive adjustment algorithm provided by an embodiment of the present invention;
[0037] Among them, 1-motor automatic control module, 2-LCD touch display screen, 3-first lens forward button, 4-first lens backward button, 5-second lens forward button, 6-second lens backward button, 7-confirm button, 8-stepping motor C1, 9-slide linear module D1, 10-stepping motor C2, 11-slide linear module D2, 12-stepping motor C3, 13-slide linear module D3, 14-first lens rotary wheel frame, 15-second lens rotary wheel frame, 16-imaging plane, 17-stepping motor A1 or rotary motor B1, 18-stepping motor A2 or rotary motor B2, 19-physical position, 20-motor drive module, 21-C51 single chip microcomputer. DETAILED DESCRIPTION
[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0039] Embodiment 1
[0040] like Figure 1As shown, this embodiment discloses an optical 4F system based on automatic matching, including a first lens wheel frame and a second lens wheel frame, both of which include a lens wheel, and the lens wheel is evenly arranged with a plurality of lenses with different focal lengths along the circumference to form a lens group; the back focal plane of the first imaging lens in the first lens wheel frame coincides with the front focal plane of the second imaging lens in the second lens wheel frame, and the two lenses are kept horizontal;
[0041] Three slide linear modules, two of which are fixedly connected to the lens wheel frame, and one is connected to the imaging plane; used to adjust the horizontal distance between the object and the lens, between the lenses, and between the lens and the imaging plane;
[0042] The motor automatic control module is connected to the stepper motor in communication, and is used to output the lens replacement instruction and the slide linear module movement instruction according to the target imaging magnification by using the adaptive adjustment algorithm;
[0043] The motor drive module includes multiple stepper motors, which are electrically connected to the motor automatic control module, the lens wheel frame and the slide linear module respectively; it is used to receive instructions from the motor automatic control module, drive the lens wheel to rotate to replace the lens, and drive the slide linear module to move.
[0044] Next, combine Figure 2 , an optical 4F system based on automatic matching disclosed in this embodiment is described in detail.
[0045] It includes two mirror frames that can accommodate 6 types of lenses, that is, there are 6 pairs of lenses with phase cancellation. Among them, the first lens wheel frame 14 selects 6 types of lenses with focal lengths of 10, 15, 20, 30, 50, and 100 in order from 1 to 6, and the focal lengths of the second lens wheel frame 15 are 5, 10, 20, 50, 100, and 200 in order. After the motor automatic control module 1 is powered on for the first time, the first lens wheel frame and the second lens wheel frame will default to lenses with focal lengths of 10 and 5. It also includes a slide linear module D19, a slide linear module D211, and a slide linear module D313 connected to the stepper motor C18, the stepper motor C210, and the stepper motor C312, respectively, and a set of motor drive modules 20 connected to 5 motors.
[0046] As an optional implementation, the lens wheel frame in this embodiment can be a lens frame or a wheel. Depending on the specific usage scenario, the following connections can be made: the stepper motor A117 is connected to the first lens frame 14, and the stepper motor A218 is connected to the second lens frame 15; or, the rotating motor B117 is connected to the first wheel 14, and the rotating motor B218 is connected to the second wheel 15.
[0047] The motor automatic control module 1 includes a minimum system 51 single chip microcomputer 21, or other types of control devices such as 32 single chip microcomputers and FPGAs, etc., including a power-off saving processor, buttons and LCD touch screen 2, and a motor drive module 20 with 5 signals. The matching lens pair is selected through the button or LCD touch screen 2, and after waiting for confirmation, the high and low level driving duration required by the motor is calculated by the single chip internally, so as to replace the lens and adjust the position of the lens and the imaging plane.
[0048] In order to solve the control problem of not being able to automatically change lenses and adjust distances, 6 lenses are installed in the first lens wheel frame and the second lens wheel frame. It is required that when imaging, the rear focal plane of the first imaging lens selected for imaging in the first lens wheel frame and the front focal plane of the second imaging lens in the second lens wheel frame coincide with each other and the lens pair remains horizontal; when the wheel of the rotating motor is used, the front and rear lenses must also keep the focus coincident and the lenses horizontal.
[0049] The stepper motor C1 is used to adjust the horizontal position of the first lens, the stepper motor C2 is used to adjust the horizontal position of the second lens, and the stepper motor C3 is used to adjust the horizontal position of the image. Stepper motors A1, A2 or rotary motors B1 and B2 are used to replace lenses. All five motors are connected to the motor automatic control module 1, which transmits and calculates the high and low level signal duration required by the stepper motor or rotary motor, and is used to replace and select lens pairs, and adjust the distance between the lens and the object plane, between the lens, and between the lens and the image plane.
[0050] The working process of the stepper motors C1, C2 and C3 is as follows: first set the distance L1 between the object plane and the first lens, the distance L2 between the first lens and the second lens, and the distance L3 between the second lens and the image plane. The object, the first lens, the second lens, and the image plane are arranged in a straight line horizontally in sequence.
[0051] Correspondingly, the sizes of L1 and L3 should be the focal length f1 of the first lens and the focal length f2 of the second lens, respectively, and the size of L2 is (f1+f2). Since the stepping motor has a small stepping distance, the high and low level duration T1 required for the stepping motors C1, C2 and C3 to drive the slide linear module to pass 0.1mm is calculated. L1, L2 and L3 are divided by 0.1mm respectively to obtain the multiples of T1 required by the stepping motors C1, C2 and C3 respectively.
[0052] It is stipulated that the focal length after replacing the first lens with the third lens is f3, and the focal length after replacing the second lens with the fourth lens is f4. After replacement, the third lens connected to the stepper motor C1 needs to move horizontally to the right by (f3 - f1), and the fourth lens connected to the stepper motor C2 needs to move horizontally to the right by 2×(f3 - f1)+(f4 - f2), and the imaging plane position moves to the right by 2×(f3 - f1)+2×(f4 - f2). If the moving distance is negative, it means moving the same distance to the left.
[0053] The working processes of the stepper motors A1 and A2 or the rotary motors B1 and B2 are as follows: Assume that the position of the lens in the lens holder before replacement is n x , and the position after replacement is n y . For each n i , there is a fixed value x i in the single-chip microcomputer to replace (0 < x, y, i, n i , x i <7). When using a stepper motor to drive the lens holder to replace the lens, the value of n i ranges from 1 to 6. According to the actual situation, the first lens in the lens holder is specified, and the forward movement of the lens holder is defined as the positive direction. Each time a lens is moved, it requires the high-level duration of one T2. After waiting for the confirmation of lens replacement, calculate n y - n x . When n y - n x is greater than 0, the motor lasts for (n y - n x )×T2 high-level time. On the contrary, it lasts for (n y - n x )×T2 low-level time. When using a rotary motor to replace the lens, the turntable includes a total of 6 lenses, and the positions of the lenses are at 60°, 120°, 180°, 240°, 300°, and 360° of the turntable respectively, and they are defined as natural numbers from 1 to 6 respectively. The rotary motor requires a high-level duration of T2 for each clockwise rotation of the turntable by 60°. Similarly to the stepper motor, after waiting for the confirmation of lens replacement, calculate n y - n x (0 < xy, xx < 7). When n y - n x is greater than 0, the motor lasts for (n y - n x )×T2 high-level time. On the contrary, it lasts for (n y - n x )×T2 low-level time.
[0054] The motor automatic control module 1 can use a 51 single-chip microcomputer, and the peripherals include five buttons and an LCD touch screen 2, a motor drive module 20 for driving five motors, and a 5V battery or USB power supply can be used. The motor automatic control module 1 can realize the button selection of the lens, the first lens forward button 3 and the first lens backward button 4 are used to control the selection of the first lens, and the second lens forward button 5 and the second lens backward button 6 are used to select the second lens. The LCD displays the lens selection, and after the confirmation button 7 is pressed, the 51 single-chip microcomputer internally calculates and provides high and low levels to the motor drive module 20, and the motor drive module 20 is used to provide a large voltage to the motor module. The motor drive module 20 is connected to the motor.
[0055] In this embodiment, the motor automatic control module 1 can also be connected to a temperature control module for protecting the circuit. The motor drive module 20 can be independently designed or use an existing motor drive board, such as an L298N DC stepper motor drive board module. The temperature control module uses a single-chip microcomputer combined with a PID algorithm to achieve temperature regulation of the motor and the drive board, and the control accuracy can reach 0.01 degrees. This process can be implemented by those skilled in the art.
[0056] Compared with the prior art, the present invention sets a lens rotating wheel frame and a slide linear module, and uses an adaptive adjustment algorithm to realize the functions of automatically selecting lenses and adjusting lens spacing, so that based on the target imaging magnification, the 4F system is readjusted after the lens is replaced to achieve fast and accurate focusing.
[0057] Embodiment 2
[0058] This embodiment provides a matching method of an optical 4F system based on automatic matching, based on the optical 4F system based on automatic matching as described in Embodiment 1, including:
[0059] S1: Based on the target imaging magnification, the adaptive adjustment algorithm is used to output the lens replacement instruction and the slide linear module movement instruction:
[0060] S2: The motor drive module receives the lens replacement instruction and the slide linear module movement instruction, drives the lens wheel to rotate to replace the lens, and drives the slide linear module to move.
[0061] In S1, Figure 3 As shown, the adaptive adjustment algorithm specifically includes:
[0062] S101: specifying variables, including the positions of the first lens and the second lens in the lens frame before and after replacement, the focal lengths of the lenses before and after replacement, the unit time of the stepper motor for adjusting the slide and the lens, and the motor pins connecting the lens frame and the slide.
[0063] X1 represents the position of the first lens in the frame before replacement, and X2 represents the position of the first lens in the frame after replacement; similarly, Y1 represents the position of the second lens in the frame before replacement, and Y2 represents the position of the second lens in the frame after replacement.
[0064] is the focal length of the first lens at X1, is the focal length of the first lens at X2; is the focal length of the first lens at Y1, is the focal length of the first lens at Y2.
[0065] T1 is the unit time of the stepper motor for adjusting the slide, T2 is the unit time of the stepper motor for adjusting the lens, PA1 is the motor pin of the frame where the first lens is located, PA2 is the motor pin of the frame where the second lens is located, PB1 is the motor pin connected to the slide of the first lens, PB2 is the motor pin connected to the slide of the second lens, and PB3 is the motor pin connecting the frame where the lens is located and the slide.
[0066] S102: Wait for input variables and assign values, determine the high and low levels of each motor pin and calculate the delay time.
[0067] Input two variables with the key, assign them to X2 and Y2. After confirming that the key is pressed, when X2-X1>0, assign PA1 pin high level, and T1 delay function lasts for X2-X1; otherwise, assign PA1 to low level, and delay for X2-X1 times T1; when Y2-Y1>0, assign PA2 to high level, and T1 delay function lasts for Y2-Y1; otherwise, assign PA2 to low level, and delay for Y2-Y1 times T1; when Assign PB1 high level, T2 delay function continues Otherwise, assign PB1 to low level and delay T2; when Assign PB2 high level, T2 delay function continues Otherwise, assign PB2 to low level and delay T2; when Assign PB3 high level, T2 delay function continues Otherwise, assign PB3 to low level and keep it low. T2.
[0068] S103: Control is completed, and the input variable is overwritten with the front lens variable, that is, the values of X1 and X2 are overwritten, X1=X2, Y1=Y2, and wait for the next calculation.
[0069] The lens replacement instruction is to select the first imaging lens and the second imaging lens in the first lens wheel frame and the second lens wheel frame respectively, and the stepper motor drives the lens wheel to rotate so that the first imaging lens and the second imaging lens are kept horizontal. The slide linear module movement instruction is to define the imaging plane side as the positive direction, and the stepper motor drives the slide linear module to move in the positive direction or the negative direction.
[0070] When powered on for the first time, wait for the lens selection button and confirmation button to be pressed. The microcontroller will calculate the high and low level time T2 that the stepper motor connected to the frame needs to maintain according to the number of times the lens selection button is pressed. The forward button is pressed once for a unit of high level time, and the back button is pressed once for a unit of low level time. The object position remains unchanged, so the first lens, the second lens and the imaging plane position need to be adjusted. After waiting for confirmation, the selected lens and the previous lens focal length saved in the microcontroller can calculate the distance that the first lens, the second lens and the imaging plane need to move left or right respectively. It is stipulated that the first lens is replaced by a lens with a focal length of f1 to a lens with a focal length of f3, and the second lens is replaced by a lens with a focal length of f2 to a lens with a focal length of f4. Then the first lens needs to move horizontally to the right (f3-f1), the second lens needs to move horizontally to the right by 2*(f3-f1)+(f4-f2), and the imaging plane position moves to the right by 2*(f3-f1)+2*(f4-f2). If the calculated size is negative, it means moving to the left by the same size distance. After power failure, the MCU will still save the lens selection at that time. The following are specific examples of five times and two times magnification.
[0071] When the automatic control module is powered on, the first lens will be automatically switched to a lens with a focal length of 10, and the second lens will be switched to a lens with a focal length of 5. At this time, L1 = 10mm, L2 = 15mm, and L3 = 5mm, and the size of the image is half of the object. At this time, the first lens button moves forward 2, and the second lens button moves forward 4, that is, the focal length of the first lens is 20, and the focal length of the second lens is 100. After pressing the confirmation button, the microcontroller calculates that the frame or wheel that accommodates the first lens needs to move forward 2 units, that is, the connected motor continues two T2 high levels. The frame or wheel of the second lens needs to move forward 4 units, that is, the connected motor continues four T2 high levels. At this time, the image size is five times the size of the object. At this time, after calculation inside the single chip, L1=20mm, L2=120mm, L3=100mm, the stepper motor of the slide linear module controlling the horizontal position of the first lens needs to move 10mm to the right, that is, the stepper motor needs to maintain a high level of 100 T1s, the stepper motor of the slide linear module controlling the horizontal position of the second lens needs to maintain a high level of 1150 T1s, and the stepper motor of the slide linear module controlling the horizontal position of the imaging plane needs to maintain a high level of 2100 T1s. After waiting for the control system to send these instructions, you can continue to replace the lens.
[0072] Since the microcontroller saves after power failure, when all power supplies are turned off and the control system is turned on again, the microcontroller will remember the last lens selection as the first lens with a focal length of 20 and the second lens with a focal length of 100. Press the back button of the first lens once and the back button of the second lens once, that is, select the first lens with a focal length of 10 and the second lens with a focal length of 20. After pressing the confirmation button, the frame of the first lens needs to keep the connected motor at a low level of one T2, and the frame of the second lens needs to keep the connected motor at a low level of two T2s. After internal calculation by the microcontroller, L1=10mm, L2=30mm, and L3=20mm. At this time, the size of the image is twice as large as the object. The stepper motor of the slide linear module that controls the horizontal position of the first lens needs to move 10mm to the left, that is, the stepper motor needs to keep the low level of 100 T1s, the stepper motor of the slide linear module that controls the horizontal position of the second lens keeps the high level of 1000 T1s, and the stepper motor of the slide linear module that controls the horizontal position of the imaging plane keeps the low level of 1800 T1s. Repeat the above operations to achieve various possible image zooming.
[0073] It should be understood that the prior art relies on precise mechanical fixtures, and experienced technicians manually adjust the position and posture of the light source and the lens repeatedly, or use zoom lenses to achieve non-movable lens groups, and then evaluate the adjusted optical 4F system.
[0074] In this embodiment, the motor is controlled to operate through an adaptive adjustment algorithm, and the motor drives the lens replacement and the slide table to move, thereby realizing the automatic adjustment of the 4F optical system, requiring fewer manual adjustment steps, low cost, high adjustment accuracy and simple adjustment method. At the same time, the lens position and stored focal length are calculated through an adaptive algorithm, and the movement distance of the slide table module is calculated using the focal length difference of the lens before and after replacement. The lens can be replaced by re-entering the required lens focal length in the algorithm, thereby improving the reusability of the device.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An optical 4F system based on automatic matching, It is characterized in that include: The first lens wheel frame and the second lens wheel frame both include a lens wheel, and a plurality of lenses with different focal lengths are evenly arranged along the circumference of the lens wheel to form a lens group; the rear focal plane of the first imaging lens in the first lens wheel frame coincides with the front focal plane of the second imaging lens in the second lens wheel frame, and the two lenses are kept horizontal; Three slide linear modules, two of which are fixedly connected to the lens wheel frame, and one is connected to the imaging plane; used to adjust the horizontal distance between the object and the lens, between the lenses, and between the lens and the imaging plane; The motor automatic control module is connected to the stepper motor in communication, and is used to output the lens replacement instruction and the slide linear module movement instruction according to the target imaging magnification by using the adaptive adjustment algorithm; The motor drive module includes multiple stepper motors, which are electrically connected to the motor automatic control module, the lens wheel frame and the slide linear module respectively; it is used to receive instructions from the motor automatic control module, drive the lens wheel to rotate to replace the lens, and drive the slide linear module to move.
2. The optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The lens groups arranged in the first lens wheel frame and the second lens wheel frame are not completely the same.
3. The optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The first imaging lens and the second imaging lens form a lens for eliminating phase differences.
4. The optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The ball screw accuracy of the slide linear module is 0.01mm, the effective stroke is 10mm-1500mm, and the operating speed is 100mm / s.
5. The optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The lens wheel frame also includes a support frame for adjusting the height of the lens wheel and the imaging plane.
6. A matching method for an optical 4F system based on automatic matching, based on the optical 4F system based on automatic matching as claimed in any one of claims 1 to 5, It is characterized in that include: According to the target imaging magnification, the adaptive adjustment algorithm is used to output the lens replacement instruction and the slide linear module movement instruction; The motor drive module receives the lens replacement instruction and the slide linear module movement instruction, drives the lens wheel to rotate to replace the lens, and drives the slide linear module to move.
7. The matching method of the optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The adaptive adjustment algorithm is: The specified variables include the positions of the first lens and the second lens in the lens frame before and after replacement, the focal lengths of the lenses before and after replacement, the unit time of the stepper motor for adjusting the slide and the lens, and the motor pins connecting the lens frame and the slide; Wait for input variables and assign values, determine the high and low levels of each motor pin and calculate the delay time; The control is completed, the input variable will overwrite the front lens variable and wait for the next calculation.
8. The matching method of the optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The lens replacement instruction is to select the first imaging lens and the second imaging lens in the first lens wheel frame and the second lens wheel frame respectively, and the stepping motor drives the lens wheel to rotate so that the first imaging lens and the second imaging lens are kept horizontal.
9. The matching method of the optical 4F system based on automatic matching as claimed in claim 1, It is characterized in that The movement instruction of the slide linear module is to define the imaging plane side as the positive direction, and the stepper motor drives the slide linear module to move in the positive direction or the negative direction.
10. The matching method of the optical 4F system based on automatic matching as claimed in claim 9, It is characterized in that The stepper motor moves in a positive direction when it outputs a high level, and moves in a negative direction when it outputs a low level.
