Lens positioning method, device and storage medium of a rotary optical lens assembly
By using marking strips and sensors of different lengths in the wheel-type optical lens group for lens positioning, the problem of high cost for precise lens positioning is solved, high-precision lens positioning and automatic switching are achieved, the cost is reduced and the structural design is simplified.
Patent Information
- Application Number
- CN202410931750.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The cost of precision positioning of lenses in wheel-type optical lenses is high, and it is difficult to achieve high-precision lens switching with existing technology.
By inlaying marker strips of different lengths and fixed sensors on the turntable, the positional relationship between the sensor and the marker strip is used to position the lens, and the sensor is controlled to rotate to the end of each marker strip to determine the lens position, achieving high-precision positioning and automatic switching of the lens.
It reduces the cost of automatic lens switching, improves lens positioning accuracy, reduces the need for a closed-loop control system, simplifies structural design, and reduces the space occupied by the motor.
Smart Images

Figure CN118465952B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lens positioning, and in particular to a lens positioning method, device and storage medium of a rotary wheel optical lens assembly. Background Art
[0002] Multiple pieces of optical glass are arranged on the circumference of the rotating wheel optical lens group structure. The entire turntable is generally fixed with a central shaft and bearings, and the outer shape is processed into teeth. It is driven by an AC servo / step servo motor and a gear belt (synchronous belt). Due to precision control requirements, it is necessary to set three positioning points on the turntable: the starting point, the origin, and the focus point, and use a closed-loop control system's drive motor (AC / DC servo motor) to control the switching of the optical lenses in the optical lens group, which results in a high switching cost for the optical lenses. Summary of the invention
[0003] The present application provides a lens positioning method, device and computer storage medium of a rotating wheel optical lens assembly, which are used to achieve high-precision positioning of each lens position in a rotating disk.
[0004] In a first aspect, the present application provides a lens positioning method of a rotary optical lens assembly, wherein the rotary optical lens assembly is connected to a rotating disk via a rotating shaft, the rotary optical lens assembly comprises at least two lenses, the at least two lenses are arranged in a circle, at least two marking strips are inlaid in positions on the outer side of the rotating disk corresponding to the at least two lenses, the at least two marking strips have different lengths, and a sensor is fixed on the rotating disk, the lens positioning method comprises:
[0005] Acquire the positional relationship between the sensor and the first marking strip;
[0006] determining whether the sensor is located on the first marking strip;
[0007] If the sensor is not located on the first marking strip, controlling the turntable to drive the sensor to rotate along the first direction to the starting point of the first marking strip;
[0008] Controlling the sensor to rotate along the first direction from the starting point of the first marking bar to the end point of the first marking bar;
[0009] When the sensor rotates to the end point of the first mark bar, the turntable is controlled to stop rotating, and a first time length required for the sensor to pass through the first mark bar is obtained;
[0010] Determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0011] The turntable is controlled to drive the sensor to rotate along the first direction to the starting point of the second mark bar, and the second lens corresponding to the second mark bar is determined according to the second time length required for the sensor to pass through the second mark bar, and the second position of the second lens is determined.
[0012] Optionally, before the control dial drives the sensor to rotate along the first direction to the starting point of the first marking bar if the sensor is not located on the first marking bar, the lens positioning method further includes:
[0013] If the sensor is located on the first marking strip, the control dial drives the sensor to rotate along the second direction to the starting point of the first marking strip.
[0014] Optionally, the first direction is clockwise;
[0015] The second direction is counterclockwise.
[0016] Optionally, determining the first lens corresponding to the first marking strip according to the first duration, and determining the first position of the first lens includes:
[0017] Determine a first length of the first marking strip according to the first duration;
[0018] Determine a first lens corresponding to the first marking strip according to the first length;
[0019] The first position of the first lens is determined according to the edge positioning of the first marking strip.
[0020] Optionally, the sensor is a through-beam photoelectric switch;
[0021] The first marking strip is a first length sidewall strip;
[0022] The second marking strip is a sidewall strip of a second length.
[0023] Optionally, the sensor is a Hall element;
[0024] The first marking strip is a magnet of a first length;
[0025] The second marking strip is a magnet of a second length.
[0026] Optionally, the sensor is a capacitive sensor or an inductive sensor;
[0027] The first marking strip is a metal strip of a first length;
[0028] The second marking strip is a metal strip of a second length;
[0029] The material of the first length metal strip and the second length metal strip is different from the material of the turntable.
[0030] A second aspect of the present application provides a lens positioning device of a rotating wheel optical lens assembly, comprising:
[0031] A first acquisition unit, used to acquire a positional relationship between the sensor and the first marking strip;
[0032] A judging unit, used for judging whether the sensor is located on the first marking strip;
[0033] A first control unit, configured to control the turntable to drive the sensor to rotate along a first direction to a starting point of the first marking strip if the sensor is not located on the first marking strip;
[0034] A second control unit, used for controlling the sensor to rotate from a starting point of the first marking bar to an end point of the first marking bar along the first direction;
[0035] A second acquisition unit, configured to control the turntable to stop rotating when the sensor rotates to an end point of the first mark bar, and to acquire a first time length required for the sensor to pass through the first mark bar;
[0036] A first determining unit, configured to determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0037] The second determination unit is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens.
[0038] Optionally, the lens positioning device further comprises:
[0039] The third control unit is used for controlling the turntable to drive the sensor to rotate along the second direction to the starting point of the first marking strip if the sensor is located on the first marking strip.
[0040] Optionally, the first direction is clockwise;
[0041] The second direction is counterclockwise.
[0042] Optionally, the first determining unit is specifically configured to:
[0043] Determine a first length of the first marking strip according to the first duration;
[0044] Determine a first lens corresponding to the first marking strip according to the first length;
[0045] The first position of the first lens is determined according to the edge positioning of the first marking strip.
[0046] Optionally, the sensor is a beam-type photoelectric switch;
[0047] The first marking strip is a first length sidewall strip;
[0048] The second marking strip is a sidewall strip of a second length.
[0049] Optionally, the sensor is a Hall element;
[0050] The first marking strip is a magnet of a first length;
[0051] The second marking strip is a magnet of a second length.
[0052] Optionally, the sensor is a capacitive sensor or an inductive sensor;
[0053] The first marking strip is a metal strip of a first length;
[0054] The second marking strip is a metal strip of a second length;
[0055] The material of the first length metal strip and the second length metal strip is different from the material of the turntable.
[0056] A third aspect of the present application provides a lens positioning processing device for a rotary optical lens assembly, the device comprising:
[0057] Processor, memory, input-output unit, and bus;
[0058] The processor is connected to the memory, the input and output unit, and the bus;
[0059] The memory stores a program, and the processor calls the program to execute the first aspect and a lens positioning method of a rotary optical lens assembly optional in any one of the first aspect.
[0060] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the method for positioning lenses of a rotary optical lens assembly according to the first aspect and any optional item in the first aspect is executed.
[0061] It can be seen from the above technical scheme that the present application has the following advantages: the present application determines the first lens corresponding to the first marking bar and the first position of the first lens through the sensor and the first marking bar, and determines the second lens corresponding to the second marking bar and the second position of the second lens through the second marking bar, thereby realizing high-precision positioning of the positions of each lens in the turntable, and the first lens identified by the first marking bar and the second lens identified by the second marking bar can realize the automatic switching function of multiple lenses in the rotating optical lens group as needed, thereby reducing the automatic switching cost of the optical lenses. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0063] Figure 1 A schematic flow chart of an embodiment of a lens positioning method of a rotary optical lens assembly provided by the present application;
[0064] Figure 2 A schematic flow chart of another embodiment of a lens positioning method of a rotary optical lens assembly provided by the present application;
[0065] Figure 3 A schematic structural diagram of an embodiment of a lens positioning device of a rotary optical lens assembly provided by the present application;
[0066] Figure 4 A schematic structural diagram of another embodiment of a lens positioning device of a rotary wheel optical lens assembly provided by the present application;
[0067] Figure 5 A schematic structural diagram of an embodiment of a lens positioning processing device of a rotary wheel optical lens assembly provided by the present application;
[0068] Figure 6 A schematic structural diagram of a rotary optical lens assembly provided in the present application. DETAILED DESCRIPTION
[0069] The present application provides a lens positioning method, device and storage medium of a rotating wheel optical lens assembly, which are used to achieve high-precision positioning of each lens position in a rotating disk.
[0070] It should be noted that the lens positioning method of a rotary optical lens assembly provided in the present application can be applied to a terminal or a server. For example, the terminal can be a smart phone or a computer, a tablet computer, a smart TV, a smart watch, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of explanation, the present application takes the terminal as the execution subject for example.
[0071] See also Figure 1 and Figure 6 , Figure 1 The present invention provides an embodiment of a lens positioning method of a rotary optical lens assembly, wherein the rotary optical lens assembly is connected to a rotating disk via a rotating shaft, the rotary optical lens assembly comprises at least two lenses, the at least two lenses are arranged in a circle, at least two marking strips are embedded in positions corresponding to the at least two lenses on the outer side of the rotating disk, and the at least two marking strips have different lengths, a sensor is fixed on the rotating disk, and the structure of the rotary optical lens assembly is as shown in the attached figure. Figure 6 As shown, the method includes:
[0072] 101. Obtaining a positional relationship between a sensor and a first marking strip;
[0073] In this embodiment, the positional relationship between the sensor and the first marking bar is obtained, and the positional relationship between the sensor and the first marking bar includes: the sensor is located on the first marking bar, and the sensor is not located on the first marking bar. If it is determined that the sensor is not located on the first marking bar, step 102 is executed.
[0074] 102. Determine whether the sensor is located on the first marking strip;
[0075] In this embodiment, it is determined whether the sensor is located on the first marking strip, and if so, step 103 is executed.
[0076] 103. If the sensor is not located on the first marking strip, the control dial drives the sensor to rotate along the first direction to the starting point of the first marking strip;
[0077] In this embodiment, if the sensor is not located on the first marking strip, the control dial drives the sensor to rotate clockwise to the starting point of the first marking strip.
[0078] 104. Control the sensor to rotate along the first direction from the starting point of the first marking strip to the end point of the first marking strip;
[0079] In this embodiment, the sensor is controlled by a turntable to rotate along a first direction to the starting point of the first mark bar and then to the end point of the first mark bar. When the sensor senses the starting point of the first mark bar, the sensor starts timing. When the sensor rotates to the end point of the first mark bar, the sensing disappears and the sensor stops timing.
[0080] 105. When the sensor rotates to the end point of the first mark bar, the control dial stops rotating, and a first time length required for the sensor to pass through the first mark bar is obtained;
[0081] In this embodiment, when the sensor rotates to the end point of the first mark bar, the control dial stops rotating, and the first time length required for the sensor to pass through the first mark bar is obtained according to the timing time length of the sensor.
[0082] 106. Determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0083] In this embodiment, when the rotation speed of the sensor remains unchanged, the first time length after the first mark bar is determined by the length of the first mark bar. Therefore, the first lens corresponding to the first mark bar can be determined according to the length of the first mark bar, and the first position of the first lens can be determined. The specific determination method will be described in detail in the next embodiment and will not be repeated here.
[0084] 107. Control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens;
[0085] In this embodiment, the rotary optical lens assembly includes at least two lenses, and the two lenses correspond to at least two marking strips of different lengths. The control dial drives the sensor to continue to rotate along the first direction to the starting point of the second marking strip, and determines the second time required for the sensor to pass through the entire second marking strip to determine the second lens corresponding to the second marking strip, and determines the second position of the second lens. It can be understood that the present application scheme is not only applicable to the rotary optical lens assembly with only two lenses. For example, the present application scheme can be applicable to the optical wheel optical lens assembly with six lenses, and the six lenses correspond to six marking strips of different lengths respectively. The sensor passes through the six marking strips of different lengths respectively, and obtains six marking strips of different lengths. time lengths, thereby determining six lenses and the positions of the six lenses according to the six different time lengths, respectively. The number of lenses contained in the rotary optical lens group to which the present application scheme is specifically applicable is not limited; wherein, the sensor can be a through-beam photoelectric switch, the first marking strip can be a first-length rib strip, and the second marking strip can be a second-length rib strip; or, the sensor can be a Hall element, the first marking strip is a first-length magnet, and the second marking strip is a second-length magnet; or, the sensor is a capacitive sensor or an inductive sensor, the first marking strip is a first-length metal strip, and the second marking strip is a second-length metal strip, wherein the material of the first-length metal strip and the second-length metal strip is different from the material of the turntable.
[0086] The present application determines the first lens corresponding to the first marking bar and the first position of the first lens through a sensor and a first marking bar, and determines the second lens corresponding to the second marking bar and the second position of the second lens through a second marking bar, thereby achieving high-precision positioning of the positions of each lens in the turntable, and the first lens identified by the first marking bar and the second lens identified by the second marking bar can realize the automatic switching function of multiple lenses in the rotating optical lens group as needed, thereby reducing the automatic switching cost of the optical lenses, and the structure of the present application is relatively easy to debug, and the cost is effectively reduced without affecting the motion control accuracy. At the same time, because a motor with its own closed-loop control system is not required, the space occupied by the motor can also be reduced.
[0087] See also Figure 2 , Figure 2 Another embodiment of a lens positioning method of a rotary optical lens assembly provided by the present application, wherein the rotary optical lens assembly is connected to a rotating disk via a rotating shaft, the rotary optical lens assembly comprises at least two lenses, the at least two lenses are arranged in a circle, at least two marking strips are inlaid in positions on the outer side of the rotating disk corresponding to the at least two lenses, and the at least two marking strips have different lengths, the method comprises:
[0088] 201. Acquire a positional relationship between a sensor and a first marking strip;
[0089] Step 201 in this embodiment is similar to the aforementioned Figure 1 Step 101 in the embodiment is similar and will not be described in detail here.
[0090] 202. Determine whether the sensor is located on the first marking strip;
[0091] In this embodiment, if the sensor is located on the first marking strip, step 230 is executed; if the sensor is located on the first marking strip, step 204 is executed.
[0092] 203. If the sensor is located on the first mark bar, the control dial drives the sensor to rotate along the second direction to the starting point of the first mark bar;
[0093] In this embodiment, if the sensor is located on the first marking strip, the control dial drives the sensor to rotate counterclockwise to the starting point of the first marking strip.
[0094] 204. If the sensor is not located on the first marking strip, the control dial drives the sensor to rotate along the first direction to the starting point of the first marking strip;
[0095] 205. Control the sensor to rotate along the first direction from the starting point of the first marking strip to the end point of the first marking strip;
[0096] 206. When the sensor rotates to the end point of the first mark bar, the control dial stops rotating, and a first time length required for the sensor to pass through the first mark bar is obtained;
[0097] Steps 203 to 205 in this embodiment are similar to those in the previous Figure 1 Steps 103 to 105 in the embodiment are similar and will not be described in detail here.
[0098] 207. Determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0099] In this embodiment, determining the first lens corresponding to the first marking strip according to the first time length, and determining the first position of the first lens includes: determining the first length of the first marking strip according to the first time length; determining the first lens corresponding to the first marking strip according to the first length; determining the first position of the first lens according to the edge positioning of the first marking strip; by setting long / arc-shaped first marking strips of different lengths, distinguishing the positioning order / number of the first lens through the first time length of the first marking strip acting on the sensor, and determining the first position of the first lens according to the edge positioning of the first marking strip.
[0100] 208. Control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens;
[0101] In this embodiment, determining the second lens corresponding to the second marking strip according to the second time length, and determining the second position of the second lens includes: determining the second length of the second marking strip according to the second time length; determining the second lens corresponding to the second marking strip according to the second length; determining the second position of the second lens according to the edge positioning of the second marking strip; by setting long / arc-shaped second marking strips of different lengths, distinguishing the positioning order / label of the second lens by the second time length of the second marking strip acting on the sensor, and determining the second position of the second lens according to the edge positioning of the second marking strip.
[0102] See also Figure 3 , Figure 3 An embodiment of a lens positioning device of a rotating wheel optical lens assembly provided in the present application includes:
[0103] A first acquiring unit 301 is used to acquire a positional relationship between the sensor and the first marking strip;
[0104] A determination unit 302, used to determine whether the sensor is located on the first marking strip;
[0105] A first control unit 303 is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the first marking bar if the sensor is not located on the first marking bar;
[0106] A second control unit 304, used to control the sensor to rotate from the starting point of the first mark bar along the first direction to the end point of the first mark bar;
[0107] A second acquisition unit 305 is used to control the turntable to stop rotating when the sensor rotates to the end point of the first mark bar, and to acquire a first time length required for the sensor to pass through the first mark bar;
[0108] A first determining unit 306, configured to determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0109] The second determination unit 307 is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens.
[0110] The following is a detailed description of a lens positioning device of a rotary optical lens assembly provided by the present application. Figure 4 , Figure 4 Another embodiment of a lens positioning device of a rotating wheel optical lens assembly provided by the present application includes:
[0111] A first acquiring unit 401 is used to acquire a positional relationship between the sensor and the first marking strip;
[0112] A determination unit 402, used to determine whether the sensor is located on the first marking strip;
[0113] A first control unit 403 is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the first marking bar if the sensor is not located on the first marking bar;
[0114] A second control unit 404, used to control the sensor to rotate from the starting point of the first mark bar along the first direction to the end point of the first mark bar;
[0115] A second acquisition unit 405 is used to control the turntable to stop rotating when the sensor rotates to the end point of the first mark bar, and to acquire a first time length required for the sensor to pass through the first mark bar;
[0116] A first determining unit 406, configured to determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens;
[0117] The second determination unit 407 is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens.
[0118] Optionally, the lens positioning device further comprises:
[0119] The third control unit 408 is configured to control the turntable to drive the sensor to rotate along the second direction to the starting point of the first marking bar if the sensor is located on the first marking bar.
[0120] Optionally, the first direction is clockwise;
[0121] The second direction is counterclockwise.
[0122] Optionally, the first determining unit 406 is specifically configured to:
[0123] Determine a first length of the first marking strip according to the first duration;
[0124] Determine a first lens corresponding to the first marking strip according to the first length;
[0125] The first position of the first lens is determined according to the edge positioning of the first marking strip.
[0126] Optionally, the sensor is a through-beam photoelectric switch;
[0127] The first marking strip is a first length sidewall strip;
[0128] The second marking strip is a second length sidewall strip.
[0129] Optionally, the sensor is a Hall element;
[0130] The first marking strip is a magnet of a first length;
[0131] The second marking strip is a magnet of a second length.
[0132] Optionally, the sensor is a capacitive sensor or an inductive sensor;
[0133] The first marking strip is a metal strip of a first length;
[0134] The second marking strip is a metal strip of a second length;
[0135] The material of the first length metal and the second length metal strip is different from the material of the turntable.
[0136] In this embodiment, the functions of each unit are the same as those described above. Figure 2The steps in the method embodiment shown correspond to each other and will not be repeated here.
[0137] The present application also provides a lens positioning processing device for a rotating wheel optical lens assembly, see Figure 5 , Figure 5 An embodiment of a lens positioning processing device of a rotating wheel optical lens assembly provided in the present application includes:
[0138] Processor 501, memory 502, input and output unit 503, bus 504;
[0139] The processor 501 is connected to the memory 502, the input and output unit 503 and the bus 504;
[0140] The memory 502 stores a program, and the processor 501 calls the program to execute any of the above lens positioning methods of the rotary optical lens assembly.
[0141] The present application also relates to a computer-readable storage medium, on which a program is stored. When the program is run on a computer, the computer executes any one of the above lens positioning methods for a rotary optical lens assembly.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0143] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0144] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0146] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A lens positioning method of a rotating wheel optical lens assembly, wherein the rotating wheel optical lens assembly is connected to a rotating disk via a rotating shaft, the rotating wheel optical lens assembly comprises at least two lenses, the at least two lenses are arranged in a circle, at least two marking strips are embedded in positions on the outer side of the rotating disk corresponding to the at least two lenses, the at least two marking strips have different lengths, and a sensor is fixed on the rotating disk, characterized in that: The lens positioning method comprises: Acquire the positional relationship between the sensor and the first marking strip; determining whether the sensor is located on the first marking strip; If the sensor is not located on the first marking strip, controlling the turntable to drive the sensor to rotate along the first direction to the starting point of the first marking strip; Controlling the sensor to rotate along the first direction from the starting point of the first marking bar to the end point of the first marking bar; When the sensor rotates to the end point of the first mark bar, the turntable is controlled to stop rotating, and a first time length required for the sensor to pass through the first mark bar is obtained; Determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens; The turntable is controlled to drive the sensor to rotate along the first direction to the starting point of the second mark bar, and the second lens corresponding to the second mark bar is determined according to the second time length required for the sensor to pass through the second mark bar, and the second position of the second lens is determined.
2. The lens positioning method according to claim 1, characterized in that: After determining whether the sensor is located on the first marking strip, the lens positioning method further includes: If the sensor is located on the first marking strip, the control dial drives the sensor to rotate along the second direction to the starting point of the first marking strip.
3. The lens positioning method according to claim 2, characterized in that: The first direction is clockwise; The second direction is counterclockwise.
4. The lens positioning method according to claim 1, characterized in that: The step of determining the first lens corresponding to the first marking strip according to the first duration, and determining the first position of the first lens includes: Determine a first length of the first marking strip according to the first duration; Determine a first lens corresponding to the first marking strip according to the first length; The first position of the first lens is determined according to the edge positioning of the first marking strip.
5. The lens positioning method according to any one of claims 1 to 4, characterized in that: The sensor is a beam-type photoelectric switch; The first marking strip is a first length sidewall strip; The second marking strip is a sidewall strip of a second length.
6. The lens positioning method according to any one of claims 1 to 4, characterized in that: The sensor is a Hall element; The first marking strip is a magnet of a first length; The second marking strip is a magnet of a second length.
7. The lens positioning method according to any one of claims 1 to 4, characterized in that: The sensor is a capacitive sensor or an inductive sensor; The first marking strip is a metal strip of a first length; The second marking strip is a metal strip of a second length; The material of the first length metal strip and the second length metal strip is different from the material of the turntable.
8. A lens positioning device for a rotating wheel optical lens assembly, characterized in that: The lens positioning device comprises: A first acquisition unit, used to acquire a positional relationship between the sensor and the first marking strip; a judging unit, used for judging whether the sensor is located on the first marking strip; A first control unit, configured to control the turntable to drive the sensor to rotate along a first direction to a starting point of the first marking strip if the sensor is not located on the first marking strip; A second control unit, used for controlling the sensor to rotate from a starting point of the first marking bar to an end point of the first marking bar along the first direction; A second acquisition unit, configured to control the turntable to stop rotating when the sensor rotates to an end point of the first mark bar, and to acquire a first time length required for the sensor to pass through the first mark bar; A first determining unit, configured to determine a first lens corresponding to the first marking strip according to the first duration, and determine a first position of the first lens; The second determination unit is used to control the turntable to drive the sensor to rotate along the first direction to the starting point of the second mark bar, determine the second lens corresponding to the second mark bar according to the second time length required for the sensor to pass through the second mark bar, and determine the second position of the second lens.
9. A lens positioning and processing device for a rotary optical lens assembly, characterized in that: The lens positioning processing device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the method according to any one of claims 1 to 7.
