Lens Zoom Control System, Method, Device, Electronic Device and Storage Medium
By adopting a lens zoom control system in a medical endoscope, and using a lens zoom driver and a controller to control the position of the moving lens, the problem that the endoscope cannot zoom in and out in the prior art is solved, and efficient zooming and focal length adjustment of the image is achieved.
Patent Information
- Application Number
- CN202310287940.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2043-03-22
AI Technical Summary
Existing medical endoscopes cannot zoom in, resulting in difficulties in zooming in and decreasing images and adjusting focal lengths.
A lens zoom control system is adopted, including a fixed lens barrel assembly, a moving lens barrel assembly and a control assembly. Through the lens zoom driver, operating unit and controller, the position of the moving lens is controlled, and the field angle and focal length of the optical system are changed, thereby realizing lens zoom.
The image is enlarged and reduced, and the number of pixels remains unchanged during the enlargement and reduction process, which can display more details. At the same time, the change in focal length can clearly display objects in distant and near areas.
Smart Images

Figure CN118680500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technologies, and particularly to a lens zoom control system, method, device, electronic device, and storage medium. Background Art
[0002] During the use of medical endoscopes, it is often necessary to magnify and reduce images and adjust the focal length to make the imaging clear, and some problems always occur in actual operations. First, for the magnification of images, the traditional electronic magnification method is to select a local graphic and display it on a display device (such as a display screen) of the same size. This only performs simple imaging processing, and in terms of the number of pixels, it cannot display more details. Second, many small-sized medical endoscopes use fixed-focus lenses and can only form clear images within the depth of field range, and the imaging of objects outside the depth of field range is blurred. Summary of the Invention
[0003] The purpose of the present invention is to overcome the above technical deficiencies and provide a lens zoom control system, method, device, electronic device, and storage medium to solve the technical problem that endoscopes in the prior art cannot be zoomed.
[0004] To achieve the above technical purpose, the present invention adopts the following technical solutions:
[0005] On the one hand, the present invention provides a lens zoom control system, including a fixed lens barrel assembly, a moving lens barrel assembly, and a control assembly. The moving lens barrel assembly includes a moving lens barrel body and a moving lens. The moving lens is fixedly connected to the moving lens barrel body. The moving lens barrel body is slidably connected to the fixed lens barrel assembly. The control assembly includes a lens zoom driver, an operation unit, and a controller. The lens zoom driver includes a magnetic component for generating a magnetic field and an energized component that can generate a driving force for driving the moving lens to move in the magnetic field after being energized. The operation unit is used to send a control instruction to the controller, and the controller is used to:
[0006] Receive the control instruction sent by the operation unit;
[0007] Obtain the target position of the moving lens according to the control instruction;
[0008] After determining the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, control the energized component to input the determined energizing current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current.
[0009] In some embodiments, the controller is further used to:
[0010] Obtain a preset position and balance current comparison table, wherein the position and balance current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the balance current corresponding to the energized component, and the balance position is the position where the moving lens is in force balance;
[0011] After determining the magnitude and direction of the balance current of the energized component according to the position and balance current comparison table and the target position of the moving lens, control the energized component to input the determined balance current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the balance current.
[0012] In some embodiments, the controller is further configured to:
[0013] After determining the magnitude and direction of the balance current of the energized component according to the position and balance current comparison table and the target position of the moving lens, control the energized component to input the determined balance current;
[0014] Determine the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point;
[0015] According to the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point, when it is determined that the moving lens first reaches the target position or reaches the vibration peak point, change the energizing current applied to the energized component to give a reverse driving force that suppresses the vibration of the moving lens, so that the amplitude of the moving lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the moving lens;
[0016] When the amplitude of the moving lens is less than the preset value, control the energized component to continuously input the determined balance current.
[0017] In some embodiments, the controller is further configured to:
[0018] Obtain the speed and amplitude of the moving lens when it first reaches the target position and reaches the vibration peak point, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude;
[0019] According to the mapping relationship between the reverse driving force and the suppression current, after determining the suppression current corresponding to the reverse driving force, when the moving lens first reaches the target position and each vibration peak point, change the balance current of the energized component to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens is less than the preset value.
[0020] In some embodiments, the controller is further configured to:
[0021] Obtain the historical stable time of the movable lens, and obtain the critical time point according to the historical stable time and the theoretical time when the movable lens first reaches the target position;
[0022] Judge whether the current moment exceeds the critical time point. If so, determine that the amplitude of the movable lens is less than the preset value; otherwise, determine that the amplitude of the movable lens exceeds the preset value.
[0023] In some embodiments, the controller is further configured to:
[0024] According to the target position of the movable lens and a preset position-starting current comparison table, determine the magnitude and direction of the starting current of the energized component when starting; wherein, the position-starting current comparison table stores the mapping relationship between different equilibrium positions of the movable lens and the magnitude and direction of the starting current corresponding to the energized component.
[0025] In some embodiments, the controller is further configured to:
[0026] Obtain the impedance change amount of the energized component within a test time interval; the test time interval is a preset time interval including the test time point when the movable lens moves from the current position to the target position;
[0027] Take the time point corresponding to the maximum impedance change amount as the theoretical time when the movable lens first reaches the target position.
[0028] In some embodiments, the controller is further configured to:
[0029] Obtain the test time for the movable lens to move from the current position to each vibration peak point, and take the test time for the movable lens to move from the current position to each vibration peak point as the theoretical time for the movable lens to reach each vibration peak point.
[0030] In some embodiments, the number of the energized components is two, and the two energized components can generate Ampere forces in opposite directions in the magnetic field after being energized, and the driving force is the superimposed force of the Ampere forces generated by the two energized components.
[0031] On the other hand, the present invention also provides a lens zoom control method, which is applicable to the lens zoom control system as described above. The method includes:
[0032] Receive the control instruction sent by the operation unit;
[0033] According to the control instruction, obtain the target position of the movable lens;
[0034] After determining the magnitude and direction of the energizing current of the energizing component according to the target position of the movable lens, control the energizing component to input the determined energizing current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the energizing current.
[0035] In some embodiments, the step of, after determining the magnitude and direction of the energizing current of the energizing component according to the target position of the movable lens, controlling the energizing component to input the determined energizing current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the energizing current, includes:
[0036] Obtain a preset position and balance current comparison table, wherein the position and balance current comparison table stores the mapping relationship between different balance positions of the movable lens and the magnitude and direction of the balance current corresponding to the energizing component, and the balance position is the position where the movable lens is in force balance;
[0037] After determining the magnitude and direction of the balance current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, control the energizing component to input the determined balance current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the balance current.
[0038] In some embodiments, the step of, after determining the magnitude and direction of the energizing current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, controlling the energizing component to input the determined balance current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the balance current, includes:
[0039] After determining the magnitude and direction of the balance current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, control the energizing component to input the determined balance current;
[0040] Determine the theoretical time for the movable lens to first reach the target position and the theoretical times for reaching each vibration peak point;
[0041] According to the theoretical time for the movable lens to first reach the target position and the theoretical times for reaching each vibration peak point, when it is determined that the movable lens first reaches or approaches the target position or reaches a vibration peak point, change the energizing current applied to the energizing component to apply a reverse driving force to suppress the vibration of the movable lens, so that the amplitude of the movable lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the movable lens;
[0042] When the amplitude of the moving lens is less than the preset value, control the energizing component to continuously input the determined balancing current.
[0043] In some embodiments, changing the energizing current applied to the energizing component specifically includes:
[0044] Obtain the speed and amplitude of the moving lens when it first reaches the target position and when it reaches the vibration peak point, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude;
[0045] According to the mapping relationship between the reverse driving force and the suppression current, after determining the suppression current corresponding to the reverse driving force, when the moving lens first reaches the target position and each vibration peak point position, change the balancing current of the energizing component to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens is less than the preset value.
[0046] In some embodiments, the method for determining whether the amplitude of the moving lens is less than the preset value is:
[0047] Obtain the historical stable time of the moving lens, and obtain the critical time point according to the historical stable time and the theoretical time when the moving lens first reaches the target position;
[0048] Judge whether the current moment exceeds the critical time point. If so, it is determined that the amplitude of the moving lens is less than the preset value; otherwise, it is determined that the amplitude of the moving lens exceeds the preset value.
[0049] In some embodiments, before determining the magnitude and direction of the energizing current of the energizing component according to the position and balancing current comparison table and the target position of the moving lens, the method further includes:
[0050] According to the target position of the moving lens and the preset position and starting current comparison table, determine the magnitude and direction of the first energizing current of the energizing component at startup; wherein, the position and starting current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the corresponding starting current of the energizing component.
[0051] In some embodiments, the method for obtaining the theoretical time when the moving lens first reaches the target position is:
[0052] Obtain the impedance change amount of the energizing component within the test time interval; the test time interval is a preset time interval including the test time point when the moving lens moves from the current position to the target position;
[0053] Take the time point corresponding to the maximum impedance change amount as the theoretical time when the moving lens first reaches the target position.
[0054] In some embodiments, the method for obtaining the theoretical time for the moving lens to reach each vibration peak point is as follows:
[0055] Obtain the test time for the moving lens to reach each vibration peak point from the current position, and use the test time for the moving lens to reach each vibration peak point from the current position as the theoretical time for the moving lens to reach each vibration peak point.
[0056] In some embodiments, the number of the energized components is two. The two energized components can generate Ampere forces in the same direction or in opposite directions in the magnetic field after being energized, and the driving force is the superimposed force of the Ampere forces generated by the two energized components.
[0057] On the other hand, the present invention further provides a lens zoom control device for controlling the operation of a lens zoom driver. The lens zoom driver includes a magnetic component for generating a magnetic field and an energized component that can generate a driving force for driving a moving lens to move in the magnetic field after being energized. The lens zoom control device includes:
[0058] An instruction receiving module for receiving a control instruction sent by an operation unit;
[0059] A target position determination module for obtaining the target position of the moving lens according to the control instruction;
[0060] A current determination module for determining the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, and then controlling the energized component to input the determined energizing current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current.
[0061] On yet another aspect, the present invention further provides an electronic device, including: a processor and a memory;
[0062] A computer-readable program executable by the processor is stored on the memory;
[0063] When the processor executes the computer-readable program, the steps in the above-mentioned lens zoom control method are implemented.
[0064] On still another aspect, the present invention further provides a computer-readable storage medium storing one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the above-mentioned lens zoom control method.
[0065] On yet another aspect, the present invention further provides an imaging module with a lens zoom function, including the above-mentioned lens zoom control system.
[0066] In another aspect, the present invention also provides an endoscope, including the imaging module with a lens zoom function as described above.
[0067] In another aspect, the present invention also provides an endoscope system, including the imaging module with a lens zoom function as described above or the endoscope as described above.
[0068] Compared with the prior art, for the lens zoom control system, method, device, electronic device and storage medium provided by the present invention, first, a control instruction is received, then the target position of the moving lens is obtained according to the control instruction, and finally, according to the target position of the moving lens, the magnitude and direction of the energizing current of the energized component are determined, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current, changes the field of view angle size and focal length of the optical system, and achieves the purpose of lens zoom. By changing the size of the field of view angle, the magnification and reduction of the image can be realized, and the number of pixels remains unchanged during the magnification and reduction process. That is, when the image is enlarged, more details can be displayed, and the change of the focal length can clearly display distant and near objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 is a schematic structural diagram of an embodiment of the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0070] Figure 2 is an exploded structural diagram of an embodiment of the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0071] Figure 3 is a schematic structural diagram of an embodiment of the moving lens barrel assembly in the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0072] Figure 4 is a cross-sectional view of an embodiment of the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0073] Figure 5 is a cross-sectional view of another embodiment of the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0074] Figure 6 is a schematic diagram of an embodiment of the lens zoom control system provided by the present invention;
[0075] Figure 7 is a flowchart of an embodiment of the lens zoom control method provided by the present invention;
[0076] Figure 8It is a schematic diagram of an embodiment of the movement of a moving lens in the lens zoom control method provided by the present invention;
[0077] Figure 9 It is a schematic diagram of another embodiment of the movement of a moving lens in the lens zoom control method provided by the present invention;
[0078] Figure 10 It is a schematic diagram of the force balance of the moving lens after the energized component is energized in the lens zoom control method provided by the present invention;
[0079] Figure 11 It is a flowchart of an embodiment of step S300 in the lens zoom control method provided by the present invention;
[0080] Figure 12 It is a flowchart of an embodiment of step S320 in the lens zoom control method provided by the present invention;
[0081] Figure 13 It is a schematic diagram of the vibration of the moving lens from the focal point B to the intermediate position between the focal points A and B in the prior art;
[0082] Figure 14 It is a schematic diagram of the vibration of the optimized moving lens from the focal point B to the intermediate position between the focal points A and B in one embodiment of the present invention;
[0083] Figure 15 It is a schematic diagram of the vibration of the optimized moving lens from the focal point B to the intermediate position between the focal points A and B in another embodiment of the present invention;
[0084] Figure 16 It is a cross-sectional view of another embodiment of the lens of the endoscope to which the lens zoom control method provided by the present invention is applicable;
[0085] Figure 17 It is a schematic diagram of an embodiment of the lens zoom control device provided by the present invention;
[0086] Figure 18 It is a schematic diagram of the operating environment of an embodiment of the lens zoom control program of the present invention. Detailed implementation manners
[0087] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0088] The lens zoom control system, method, device, equipment or computer-readable storage medium involved in the present invention can be used in an endoscope. The method, device, equipment or computer-readable storage medium involved in the present invention can either be integrated with the above system or be independent of each other.
[0089] It should be noted that the lens zoom control system, method, device, equipment or computer-readable storage medium of the present invention is used in but not limited to endoscopes, and can also be applied to other devices that require lens zoom. In the present invention, only the case where the lens zoom control system, method, device, equipment or computer-readable storage medium is applied to an endoscope is taken as an example for illustration, and the principle of applying the lens zoom control method, device, equipment or computer-readable storage medium to other types of devices is essentially the same as that applied to an endoscope, and will not be elaborated here one by one.
[0090] In this embodiment, a lens zoom control system is provided, and the lens zoom control system is applicable to the lens zoom control of an endoscope. Please refer to Figures 1 to 6 , the lens zoom control system includes a fixed lens barrel assembly 1, a moving lens barrel assembly 2 and a control assembly. The fixed lens barrel assembly 1 includes a front lens barrel assembly 11 and a rear lens barrel assembly 12. The moving lens barrel assembly 2 includes a moving lens barrel body 21 and a moving lens 22. The moving lens 22 is fixedly connected to the moving lens barrel body 21. The front lens barrel assembly 11 and the rear lens barrel assembly 12 are respectively located on both sides of the moving lens barrel body 21, and the moving lens barrel body 21 is slidably connected to the front lens barrel assembly 11 and / or the rear lens barrel assembly 12. The control assembly includes a lens zoom driver 3, an operation unit 5 and a controller 4. The lens zoom driver 3 includes a magnetic component 31 for generating a magnetic field and an energized component 32 that can generate a driving force for driving the moving lens 22 to move in the magnetic field after being energized. Among them, one of the magnetic component 31 and the energized component 32 is fixed on the front lens barrel assembly 11 and / or the rear lens barrel assembly 12, and the other is fixed on the moving lens barrel body 21. The energized component 32 is connected to the controller 4. The operation unit 5 is used to send a control instruction to the controller 4, and the controller 4 is used to:
[0091] Receive the control instruction sent by the operation unit 5;
[0092] Obtain the target position of the moving lens 22 according to the control instruction;
[0093] After determining the magnitude and direction of the energized current of the energized component 32 according to the target position of the moving lens 22, control the energized component 32 to input the determined energized current, so that the lens zoom driver 3 drives the moving lens 22 to move to the target position according to the magnitude and direction of the energized current.
[0094] Specifically, both the front lens barrel assembly 11 and the rear lens barrel assembly 12 have a number of lenses with fixed positions, and together with the movable lens 22, they form an optical system. When the movable lens 22 moves to different positions in the optical axis direction (the length direction of the movable lens barrel assembly 2, i.e., Figure 4 the horizontal direction shown), the field of view angle and focal length of the optical system are different. Therefore, zooming of the entire lens can be achieved.
[0095] Furthermore, in the embodiment of the present invention, the movement of the movable lens 22 is driven by the force exerted on the coil in the magnetic field. Taking the magnetic component 31 fixed on the movable lens barrel body 21 and the energized component 32 fixed on the front lens barrel assembly 11 and / or the rear lens barrel assembly 12 as an example, the magnetic component 31 forms a magnetic field perpendicular to the length direction of the movable lens barrel assembly 2 (i.e., Figure 4 the vertical direction shown), and after the energized component 32 passes through Figure 3 the current in the horizontal direction shown, the energized component 32 will be subjected to a force in the magnetic field, and the magnetic component 31 will be subjected to a reaction force. The magnitude of the force is proportional to the product of the magnetic field strength and the current. That is, F = nBIL, where F represents the Ampere force, n represents the number of turns of the coil, B represents the magnetic field strength, I represents the current magnitude, and L represents the effective length of the wire. Therefore, the movable lens 22 can be driven to move through the Ampere force. When the number of energized components 32 is two, the current direction can be controlled so that the forces on the two energized components 32 are in opposite directions. When the force balance is achieved, there is: F1 + F2 = 0, that is: n 1 B 1 I 1 L 1 +n 2 B 2 I 2 L 2 =0. Among them, n 1 , L 1 , n 2 , L 2 are fixed values, B 1 , B 2 varies with the distance between the energized component 32 and the magnetic component 31. Therefore, the balance point position of the movable lens 22 can be adjusted by controlling the current magnitude. Therefore, based on this, the present invention adjusts the balance point position by controlling the current magnitude.
[0096] In some embodiments, the controller 4 is further configured to:
[0097] Obtain a preset position and balance current comparison table, where the position and balance current comparison table stores the mapping relationship between different balance positions of the movable lens 22 and the magnitude and direction of the balance current corresponding to the energized component 32, and the balance position is the position where the movable lens 22 is in force balance;
[0098] After determining the magnitude and direction of the balanced current of the energized component 32 according to the position and balanced current comparison table and the target position of the movable lens 22, control the energized component 32 to input the determined balanced current, so that the lens zoom driver 3 drives the movable lens 22 to move to the target position according to the magnitude and direction of the balanced current.
[0099] In some embodiments, the controller 4 is further configured to:
[0100] After determining the magnitude and direction of the balanced current of the energized component 32 according to the position and balanced current comparison table and the target position of the movable lens 22, control the energized component 32 to input the determined balanced current;
[0101] Determine the theoretical time for the movable lens 22 to first reach the target position and the theoretical times for reaching each vibration peak point;
[0102] According to the theoretical time for the movable lens 22 to first reach the target position and the theoretical times for reaching each vibration peak point, when it is determined that the movable lens 22 first reaches the target position or reaches a vibration peak point, change the energizing current applied to the energized component 32 to apply a reverse driving force that suppresses the vibration of the movable lens 22, so that the amplitude of the movable lens 22 is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the movable lens 22;
[0103] When the amplitude of the movable lens 22 is less than the preset value, control the energized component to continuously input the determined balanced current.
[0104] In some embodiments, the controller 4 is further configured to:
[0105] Obtain the impedance change amount of the energized component 32 within a test time interval; the test time interval is a preset time interval including the test time point when the movable lens 22 moves from the current position to the target position;
[0106] Take the time point corresponding to the maximum impedance change amount as the theoretical time for the movable lens 22 to first reach the target position.
[0107] In some embodiments, the controller 4 is further configured to:
[0108] Obtain the test times for the movable lens 22 to reach each vibration peak point from the current position, and take the test times for the movable lens 22 to reach each vibration peak point from the current position as the theoretical times for the movable lens 22 to reach each vibration peak point.
[0109] In some embodiments, the controller 4 is further configured to:
[0110] Obtain the speed and amplitude of the movable lens 22 when it first reaches the target position and reaches the vibration peak points, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude;
[0111] After determining the suppression current corresponding to the reverse driving force according to the mapping relationship between the reverse driving force and the suppression current, when the moving lens 22 first reaches the target position and each vibration peak point, the energizing current of the energizing component 32 is changed to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens 22 is less than a preset value.
[0112] In some embodiments, the controller 4 is further configured to:
[0113] Obtain the historical stable time of the moving lens 22, and obtain a critical time point according to the historical stable time and the theoretical time when the moving lens 22 first reaches the target position;
[0114] Determine whether the current moment exceeds the critical time point. If so, it is determined that the amplitude of the moving lens 22 is less than the preset value, otherwise it is determined that the amplitude of the moving lens 22 exceeds the preset value.
[0115] In some embodiments, the controller 4 is further configured to:
[0116] According to the target position of the moving lens 22 and a preset position-starting current comparison table, determine the magnitude and direction of the starting current of the energizing component 32 at startup; wherein, the position-starting current comparison table stores the mapping relationship between different equilibrium positions of the moving lens 22 and the magnitude and direction of the starting current corresponding to the energizing component 32.
[0117] In some embodiments, the number of the energizing components 32 is two. The two energizing components 32 can generate Ampere forces in opposite directions in the magnetic field after being energized, and the driving force is the superimposed force of the Ampere forces generated by the two energizing components 32.
[0118] It should be noted that, in order to quickly reach the extreme positions A or B of the moving lens 22, the two energizing components 32 can also generate Ampere forces in the same direction in the magnetic field after being energized.
[0119] In this embodiment, two energizing components 32 are provided. One of the energizing components 32 is energized with a reverse current (such as Figure 4 the current flowing through the left coil shown is a reverse current), and the other energizing component 32 is energized with a forward current (such as Figure 4If the current passing through the right coil shown is a positive current, the magnetic component 31 is subjected to a force to the left, driving the movable lens 22 to move to the left and reaching one end focus A of the stroke of the movable lens 22. When a positive current is applied to one of the energized components 32 and a reverse current is applied to the other energized component 32, the magnetic component 31 is subjected to a force to the right, driving the movable lens 22 to move to the left and reaching one end focus B of the stroke of the movable lens 22. When positive or reverse currents are applied to both energized components 32, the magnetic component 31 is simultaneously subjected to forces to the left and right, and the forces to the left and right are equal in magnitude at a certain point within the stroke of the movable lens 22, and this position is the equilibrium position of the movable lens 22.
[0120] Of course, in other embodiments, the number of the energized components 32 can be one. At this time, by increasing the return spring, the elastic force of the return spring and the Ampere force generated by the energized component 32 are averaged to obtain the equilibrium position, and then the continuous zoom of the movable lens 2 is controlled. As Figure 5 shown, the lens zoom control system further includes a return member 6. One end of the return member 6 is connected to the movable lens barrel assembly 2, and the other end of the return member 6 is connected to the fixed lens barrel assembly 1. The return member 6 can generate an elastic force opposite to the Ampere force. The elastic force of the return member 6 is F = -kx, and the Ampere force generated by the energized component 32 is F = nBIL. When -kx = nBIL, the magnetic component 31 reaches the force balance position. Therefore, by controlling the magnitude of the current passing through the energized component 32, the position of the movable lens barrel assembly 2 can be controlled. Preferably, the elastic force generated by the return member 6 is a compressive force.
[0121] Based on the above lens zoom control system, an embodiment of the present invention further provides a lens zoom control method, which can be executed by a controller of the lens zoom control system, specifically by one or more processors of the controller.
[0122] Please refer to Figure 7 , the lens zoom control method includes the following steps:
[0123] S100. Receive a control instruction sent by the operation unit;
[0124] S200. Obtain the target position of the movable lens according to the control instruction;
[0125] S300. After determining the magnitude and direction of the energizing current of the energized component according to the target position of the movable lens, control the energized component to input the determined energizing current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the energizing current.
[0126] In this embodiment, first, a control instruction is received. Then, the target position of the moving lens is obtained according to the control instruction. Finally, according to the target position of the moving lens, the magnitude and direction of the energizing current of the energized component are determined, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current, changing the field of view angle and focal length of the optical system, achieving the purpose of lens zoom. By changing the size of the field of view angle, the image can be enlarged or reduced, and the number of pixels remains unchanged during the enlargement and reduction process. That is, when enlarging the image, more details can be displayed, and the change in focal length can clearly display distant and near objects.
[0127] In some embodiments, in step S100, through the operation unit 5, a control instruction is input to the execution device of the lens zoom control method (such as Figure 5 the lens zoom control device 4 shown), and this control instruction is used to indicate the target position of the moving lens. After the execution device of the lens zoom control method receives and responds to this control instruction, it obtains the target position of the moving lens 22, and then calculates the magnitude and direction of the energizing current of the energized component 32. Exemplarily, the operation unit 5 can be a touch screen, and the operator can input a control instruction on the touch screen and then send it to the execution device of the lens zoom control method through the touch screen.
[0128] In some embodiments, step S200 is used to obtain the target position of the moving lens 22 through the control instruction. Among them, this control instruction can directly be the coordinates of the target position of the moving lens 22, or this control instruction can indicate the target position of the moving lens 22. For example, it can be parameters such as the focal length. After the lens zoom control device 4 receives this focal length, it calculates the target position of the moving lens 22 through the focal length.
[0129] In some embodiments, step S300 is used to calculate the magnitude and direction of the current of the energized component 32 according to the target position of the moving lens 22. Please refer to Figure 11 and step S300 specifically includes:
[0130] S310. Obtain a preset position and balance current comparison table, where the position and balance current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the balance current corresponding to the energized component, and the balance position is the position where the moving lens is in force balance;
[0131] S320. After determining the magnitude and direction of the balance current of the energized component according to the position and balance current comparison table and the target position of the moving lens, control the energized component to input the determined balance current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the balance current.
[0132] In this embodiment, the magnitude and direction of the balance current of the energized component 32 at each balance position are obtained by means of a look-up table. Specifically, the moving lens 22 has two extreme positions. The positions between the two extreme positions are evenly divided into several parts, and then through experiments, the magnitude and direction of the balance current corresponding to the energized component 32 at each position are obtained. Therefore, after the target position is obtained, only the corresponding balance current magnitude and direction need to be found according to the target position.
[0133] Exemplarily, taking the energized component 32 as a coil and the number of energized components 32 being 2 as an example for illustration, please refer to Figure 8 and Figure 9 . When a reverse current is applied to the front coil and a forward current is applied to the rear coil, the magnetic component 31 is subjected to a force to the left, driving the moving lens 22 to move to the left until it reaches one end focus A of the travel of the moving lens 22. When a forward current is applied to the front coil and a reverse current is applied to the rear coil, the magnetic component 31 is subjected to a force to the right, driving the moving lens 22 to move to the left until it reaches one end focus B of the travel of the moving lens 22. When a forward current is applied to the front coil and a forward current is applied to the rear coil, the magnetic component 31 is simultaneously subjected to forces to the left and to the right, and the forces to the left and to the right are equal in magnitude at a certain point within the travel of the moving lens 22. This position is the balance position of the moving lens 22. Therefore, by controlling the current magnitude, the spatial coordinates of the balance position can be adjusted, and further the moving lens 22 can stay at any position between focus A and focus B. As Figure 10 shown, it is a schematic diagram of the force balance of the moving lens 22 at one of the positions. From this figure, it can be clearly known that when the applied current is fixed, the force balance position point of the moving lens 22.
[0134] Furthermore, in order to facilitate the acquisition of the magnitude and direction of the energizing currents of the front coil and the rear coil at different balance positions of the moving lens, a position and balance current look-up table is preset. Specifically, the positions between focus A and focus B are evenly divided into 128 parts, with focus A being position 0 and focus B being position 127. The front coil current I1 and the rear coil current I2 corresponding to each position are shown in the following table:
[0135] Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> 0 -20 100 32 37 100 64 100 97.1 96 100 35.7 1 8.2 100 33 38.3 100 65 100 94.2 97 100 34.5 2 9 100 34 39.6 100 66 100 91.4 98 100 33.4 3 9.8 100 35 40.9 100 67 100 88.8 99 100 32.2 4 10.6 100 36 42.3 100 68 100 86.1 100 100 31.1 5 11.4 100 37 43.7 100 69 100 83.6 101 100 30 6 12.1 100 38 45.1 100 70 100 81.1 102 100 28.9 7 12.9 100 39 46.6 100 71 100 78.7 103 100 27.8 8 13.7 100 40 48.1 100 72 100 76.4 104 100 26.8 9 14.4 100 41 49.7 100 73 100 74.2 105 100 25.8 10 15.3 100 42 51.3 100 74 100 72 106 100 24.9 11 16 100 43 52.9 100 75 100 69.8 107 100 23.9 12 16.8 100 44 54.6 100 76 100 67.7 108 100 23 13 17.7 100 45 56.3 100 77 100 65.6 109 100 22 14 18.5 100 46 58.1 100 78 100 63.7 110 100 21.1 15 19.4 100 47 59.9 100 79 100 61.8 111 100 20.2 16 20.2 100 48 61.8 100 80 100 59.9 112 100 19.4 17 21.1 100 49 63.7 100 81 100 58.1 113 100 18.5 18 22 100 50 65.6 100 82 100 56.3 114 100 17.7 19 23 100 51 67.7 100 83 100 54.6 115 100 16.8 20 23.9 100 52 69.8 100 84 100 52.9 116 100 16 21 24.9 100 53 72 100 85 100 51.3 117 100 15.3 22 25.8 100 54 74.2 100 86 100 49.7 118 100 14.4 23 26.8 100 55 76.4 100 87 100 48.1 119 100 13.7 24 27.8 100 56 78.7 100 88 100 46.6 120 100 12.9 25 28.9 100 57 81.1 100 89 100 45.1 121 100 12.1 26 30 100 58 83.6 100 90 100 43.7 122 100 11.4 27 31.1 100 59 86.1 100 91 100 42.3 123 100 10.6 28 32.2 100 60 88.8 100 92 100 40.9 124 100 9.8 29 33.4 100 61 91.4 100 93 100 39.6 125 100 9 30 34.5 100 62 94.2 100 94 100 38.3 126 100 8.2 31 35.7 100 63 97.1 100 95 100 37 127 100 -20
[0136] Among them, for the position points and current values not given in the above table, they can be deduced from the current values of the two adjacent points. For example, the current at the midpoint position between position point 63 and point 64 is: I1 = 100 mA; I2 = 100 mA.
[0137] It should be noted that there are various ways to make the moving lens in force balance. For example, in Figure 4Among them, there are two energized components, namely the front coil and the rear coil. The position where the moving lens is in force balance refers to the position where the vector sum of the Ampere forces generated by the front coil and the rear coil in the magnetic field after being energized is zero, that is, the position where the driving force is zero. And in Figure 5 Among them, there is only one energized component, and a return spring is additionally provided. The position where the moving lens is in force balance refers to the position where the vector sum of the Ampere force generated by the energized component in the magnetic field after being energized and the elastic force generated by the return spring is zero, that is, the position where the superimposed force of the driving force and the elastic force is zero.
[0138] In some embodiments, step S320 is to determine the magnitude and direction of the balanced current of the energized component 32, so as to make the lens zoom driver 3 drive the moving lens 22 to move to the target position. Please refer to Figure 12 , step S320 specifically includes:
[0139] S321. After determining the magnitude and direction of the balanced current of the energized component according to the position and balanced current comparison table and the target position of the moving lens, control the energized component to input the determined balanced current;
[0140] S322. Determine the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point;
[0141] S323. According to the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point, when it is determined that the moving lens first reaches the target position or reaches the vibration peak point, change the energizing current applied to the energized component to give a reverse driving force to suppress the vibration of the moving lens, so that the amplitude of the moving lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the moving lens;
[0142] S324. When the amplitude of the moving lens is less than the preset value, control the energized component to continuously input the determined balanced current.
[0143] In this embodiment, first, according to the position and balanced current comparison table and the target position of the moving lens, the magnitude and direction of the balanced current of the energized component 32 are determined, and then the moving lens 22 is driven to move. Then, according to the initial position of the moving lens 22 (that is, the position where the moving lens 22 starts to move) and the target position, the theoretical time for it to approach or reach the target position is determined. When driving the moving lens 22 to reach or approach the target position, since the moving lens 22 will vibrate near the target position, the stabilization time of the moving lens 22 is increased, such as Figure 13As shown, it is the vibration condition of the moving lens 22 moving from focus B to the intermediate position between foci A and B. Therefore, in order to reduce the stabilization time of the moving lens 22 and enable the moving lens 22 to quickly stabilize at the equilibrium position, in this embodiment, a reverse driving force is applied to the moving lens 22 to suppress the vibration of the moving lens 22, so that the moving lens 22 can stay more precisely at the target position, improving the accuracy of focal length adjustment. In this embodiment, the stabilization time DT is the time used when the vibration amplitude decreases to 10% of the initial maximum amplitude, that is, the preset value is 10% of the initial maximum amplitude. Of course, in other embodiments, other methods can also be used to define the stabilization time, and the present invention does not limit this.
[0144] In some embodiments, the method for obtaining the theoretical time for the moving lens to reach the target position is as follows:
[0145] Obtain the impedance change amount of the energized component within the test time interval; the test time interval is a preset time interval including the test time point when the moving lens moves from the current position to the target position;
[0146] Take the time point corresponding to the maximum impedance change amount as the theoretical time for the moving lens to first reach the target position.
[0147] In this embodiment, the method for determining reaching or approaching the target position is obtained through calibration during factory production. First, test and collect the test time for the moving lens barrel assembly 2 to reach the target position from each position point and the resonance frequency along the optical axis when the moving lens barrel assembly 2 moves under force (specifically, it can be obtained using an acceleration sensor). After that, when the moving lens barrel assembly 2 moves, the magnetic induction lines generated by the magnetic component 31 move, and the wires on the energized component 32 cut the magnetic induction lines to generate an induced current. The power supply can detect the impedance change. The faster the moving speed, the greater the impedance change amount, and it reaches the maximum at the equilibrium position. Therefore, by obtaining the time point when the energized component reaches the maximum impedance change amount during the energization process, and then combining the test time data and the time point of the maximum impedance change amount, the specific time when the moving lens barrel assembly 2 reaches or approaches the equilibrium position can be determined, that is, this theoretical time.
[0148] Of course, in other embodiments, the above-mentioned test time can also be directly used as the theoretical time for reaching the target position, or the time point of the maximum impedance change amount can be directly used as the theoretical time for reaching the target position, and the present invention does not limit this.
[0149] In some embodiments, the method for obtaining the theoretical time for the moving lens to reach each vibration peak point is as follows:
[0150] Obtain the test time for the moving lens to move from the current position to each vibration peak point, and use the test time for the moving lens to move from the current position to each vibration peak point as the theoretical time for the moving lens to reach each vibration peak point.
[0151] In this embodiment, the method for the moving lens to reach each vibration peak point is also obtained through calibration during factory production. First, the vibration condition of the moving lens barrel assembly 2 after reaching the target position for the first time from each position point is tested. The vibration condition reflects the amplitude and vibration frequency of the moving lens. Therefore, the vibration waveform diagram of the moving lens after reaching the target position for the first time from each position point can be obtained according to its amplitude and vibration frequency. According to this vibration waveform diagram, it can be clearly seen that, under the target position, the time points when the moving lens reaches each vibration peak point from the current position, that is, the test time for the current position to reach each vibration peak point. Therefore, during subsequent vibration suppression, only a reverse driving force needs to be applied at this time point, without the need to repeatedly calculate the theoretical time for the moving lens to reach each vibration peak point, which is simple and convenient.
[0152] In some embodiments, in order to obtain the optimal reverse driving force, the energizing current applied to the energized component is changed, specifically including:
[0153] Obtain the speed and amplitude of the moving lens when it reaches the target position and the vibration peak point for the first time, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude;
[0154] According to the mapping relationship between the reverse driving force and the suppression current, after determining the suppression current corresponding to the reverse driving force, when the moving lens reaches the target position and each vibration peak point for the first time, change the energizing current of the energized component to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens is less than the preset value.
[0155] In this embodiment, the reverse driving force is determined by the speed and amplitude of the moving lens at the target position. Specifically, assume that it is expected that during the period when the target moving lens barrel assembly crosses the equilibrium position once and stops, the reverse driving force consumes 1 / 2 of the kinetic energy. Then we can get: W = 1 / 2mV 2 = 2FS, where W is the kinetic energy of the moving lens barrel assembly 2 when crossing the equilibrium position, m is the weight of the moving lens barrel assembly 2, V is the speed of the moving lens barrel assembly 2 when crossing the equilibrium position, F is the reverse driving force, and S is the amplitude of the moving lens barrel assembly 2. From the above formula, the magnitude of the required reverse driving force F = mV 2 / (4S). Combining with the force balance position diagram under different currents, the magnitude and direction of the corresponding suppression current can be obtained. Thus, after applying the suppression current of this magnitude and direction after the first arrival at the vibration peak point, the stabilization time of the moving lens 22 can be shortened. Then, according to the above method, apply the corresponding suppression current at the second vibration peak point, and so on, until the amplitude of the moving lens is less than the preset value. After that, no longer apply the suppression current at the peak point position, but keep the input of the equilibrium current to make the moving lens stable at the target position. As Figure 14As shown, it is a schematic diagram of the optimized vibration situation. It can be seen that the stabilization time of the moving lens 22 is greatly reduced.
[0156] Of course, it should be noted that for convenient control, when the moving lens approaches the target position, the speed and amplitude of the moving lens when it reaches the target position can be obtained. Among them, the speed and amplitude can be historical speed and amplitude. Through the historical speed and amplitude, the magnitude and direction of the reverse driving force at each peak point can be determined more quickly, so as to be more convenient for suppression and without repeated calculation.
[0157] In some embodiments, to conveniently determine whether the amplitude of the moving lens is less than the preset value, the method for determining whether the amplitude of the moving lens is less than the preset value is as follows:
[0158] Obtain the historical stabilization time of the moving lens, and obtain the critical time point according to the historical stabilization time and the theoretical time when the moving lens first reaches the target position;
[0159] Judge whether the current moment exceeds the critical time point. If so, it is determined that the amplitude of the moving lens is less than the preset value, otherwise it is determined that the amplitude of the moving lens exceeds the preset value.
[0160] In this embodiment, taking the stabilization time DT as the time when the vibration amplitude is reduced to 10% of the initial maximum amplitude, that is, the preset value is 10% of the initial maximum amplitude. First, during the test stage, obtain the stabilization time DT of the moving lens from the current position to the target position, that is, the historical stabilization time, and then calculate the critical time point when the moving lens stabilizes through this historical stabilization time and the theoretical time when the moving lens first reaches the target position. This critical time point is the time point when the amplitude of the moving lens is less than 10% of the initial maximum amplitude. Therefore, in subsequent judgment, only need to judge whether the current moment exceeds this critical time point. If it exceeds, it means that the current amplitude is already below 10% of the initial maximum amplitude, and there is no need to apply the suppression current anymore. Otherwise, it means that the amplitude is still above 10% of the initial maximum amplitude, and the suppression current still needs to be applied to suppress the vibration.
[0161] In some embodiments, to achieve zooming faster, the embodiment of the present invention also sets up a position and starting current comparison table, where the position and starting current comparison table is used to represent the corresponding relationship between the starting current and the equilibrium position when the energized component 32 starts instantaneously.
[0162] Optionally, before step S321, the method further includes:
[0163] Determine the magnitude and direction of the starting current of the energized component during startup according to the target position of the movable lens and a preset position-starting current comparison table; wherein, the position-starting current comparison table stores the mapping relationship between different equilibrium positions of the movable lens and the magnitude and direction of the starting current corresponding to the energized component.
[0164] In this embodiment, to improve the startup effect and speed, at the moment when the energized component 32 is energized, the current value is increased so that the driving force (Ampere force) received by the movable lens 22 increases proportionally, that is, F = nBIL. Then, after the energized component 32 starts up, the energizing current is restored to the current magnitude in the position-equilibrium current comparison table, thereby achieving the purpose of rapid startup, and it is beneficial for the rapid response of the movable lens barrel assembly 2 during the startup stage and to resist the resistance during the movement process.
[0165] Exemplarily, taking the energized component 32 as a coil and the number of energized components 32 being 2 as an example, the position between focus A and focus B is evenly divided into 128 parts, focus A is position 0, and focus B is position 127. At the moment of startup, the front coil current I1 and the rear coil current I2 corresponding to each position are shown in the following table:
[0166] Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> Position <![CDATA[I 1 (mA)]]> <![CDATA[I 2 (mA)]]> 0 -60 300 32 111 300 64 300 291.3 96 300 107.1 1 24.6 300 33 114.9 300 65 300 282.6 97 300 103.5 2 27 300 34 118.8 300 66 300 274.2 98 300 100.2 3 29.4 300 35 122.7 300 67 300 266.4 99 300 96.6 4 31.8 300 36 126.9 300 68 300 258.3 100 300 93.3 5 34.2 300 37 131.1 300 69 300 250.8 101 300 90 6 36.3 300 38 135.3 300 70 300 243.3 102 300 86.7 7 38.7 300 39 139.8 300 71 300 236.1 103 300 83.4 8 41.1 300 40 144.3 300 72 300 229.2 104 300 80.4 9 43.2 300 41 149.1 300 73 300 222.6 105 300 77.4 10 45.9 300 42 153.9 300 74 300 216 106 300 74.7 11 48 300 43 158.7 300 75 300 209.4 107 300 71.7 12 50.4 300 44 163.8 300 76 300 203.1 108 300 69 13 53.1 300 45 168.9 300 77 300 196.8 109 300 66 14 55.5 300 46 174.3 300 78 300 191.1 110 300 63.3 15 58.2 300 47 179.7 300 79 300 185.4 111 300 60.6 16 60.6 300 48 185.4 300 80 300 179.7 112 300 58.2 17 63.3 300 49 191.1 300 81 300 174.3 113 300 55.5 18 66 300 50 196.8 300 82 300 168.9 114 300 53.1 19 69 300 51 203.1 300 83 300 163.8 115 300 50.4 20 71.7 300 52 209.4 300 84 300 158.7 116 300 48 21 74.7 300 53 216 300 85 300 153.9 117 300 45.9 22 77.4 300 54 222.6 300 86 300 149.1 118 300 43.2 23 80.4 300 55 229.2 300 87 300 144.3 119 300 41.1 24 83.4 300 56 236.1 300 88 300 139.8 120 300 38.7 25 86.7 300 57 243.3 300 89 300 135.3 121 300 36.3 26 90 300 58 250.8 300 90 300 131.1 122 300 34.2 27 93.3 300 59 258.3 300 91 300 126.9 123 300 31.8 28 96.6 300 60 266.4 300 92 300 122.7 124 300 29.4 29 100.2 300 61 274.2 300 93 300 118.8 125 300 27 30 103.5 300 62 282.6 300 94 300 114.9 126 300 24.6 31 107.1 300 63 291.3 300 95 300 111 127 300 -60
[0167] Correspondingly, while improving the response speed and effect, the vibration of the movable lens barrel assembly 2 near the equilibrium position will also increase, which is not conducive to shortening the stabilization time. While proportionally amplifying the starting current, the above vibration suppression method is used, and the vibration situation of the movable lens barrel assembly 2 is as Figure 15 shown.
[0168] It should be noted that the specific structures of the energized component 32 and the magnetic component 31 are not limited in the embodiments of the present invention. In some embodiments, the energized component 32 can be a coil and the magnetic component 31 is a magnet. Or, both the magnetic component 31 and the energized component 32 are coils. The coil used as the energized component can conduct current, and the coil used as the magnetic component 31 can generate a magnetic field after being energized. The coil used as the energized component 32 can generate a driving force for driving the movable lens barrel assembly 2 to slide in the magnetic field under the action of the current.
[0169] In addition, in the embodiments of the present invention, the number of the magnetic component 31 and the energized component 32 is not limited in principle. For example, one magnetic component 31 is fixed on the movable lens barrel body 21, and one energized component 32 is respectively fixed on the front lens barrel assembly 11 and the rear lens barrel assembly 12, or as Figure 16As shown, an energized component 32 and a magnetic component 31 are fixed on the moving lens barrel body 21. One of the front lens barrel assembly 11 and the rear lens barrel assembly 12 is fixed with an energized component 32, and the other is fixed with a magnetic component 31, so as to increase the intensity of the magnetic field, enabling the moving lens barrel assembly 2 to reach the balance point faster after being stressed.
[0170] The technical solution provided by the present invention first receives a control instruction, then obtains the target position of the moving lens according to the control instruction, and finally determines the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current, changing the field of view angle and focal length of the optical system to achieve the purpose of lens zoom. By changing the size of the field of view angle, the image can be enlarged or reduced, and the number of pixels remains unchanged during the enlargement and reduction process. That is, when enlarging the image, more details can be displayed, and the change of the focal length can clearly display distant and near objects.
[0171] Based on the above lens zoom control method, an embodiment of the present invention also correspondingly provides a lens zoom control device 400. Please refer to Figure 17 , the lens zoom control device 400 is used to control the action of the lens zoom driver. The lens zoom driver includes a magnetic component for generating a magnetic field and an energized component that can generate a driving force for driving the moving lens to move in the magnetic field after being energized. The lens zoom control device 400 includes an instruction receiving module 410, a target position determining module 420, and a current determining module 430.
[0172] The instruction receiving module 410 is used to receive the control instruction sent by the operation unit.
[0173] The target position determining module 420 is used to obtain the target position of the moving lens according to the control instruction.
[0174] The current determining module 430 is used to determine the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, and then control the energized component to input the determined energizing current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current.
[0175] In this embodiment, first, a control instruction is received. Then, the target position of the movable lens is obtained according to the control instruction. Finally, according to the target position of the movable lens, the magnitude and direction of the energizing current of the energized component are determined, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the energizing current, changing the field of view angle and focal length of the optical system, achieving the purpose of lens zoom. By changing the size of the field of view angle, the image can be enlarged or reduced, and the number of pixels remains unchanged during the enlargement and reduction process. That is, when the image is enlarged, more details can be displayed. And the change of the focal length can clearly display distant and near objects.
[0176] It should be noted that the module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions. It is more suitable for describing the execution process of lens zoom control than a program. For the specific implementation manners of each module, please refer to the corresponding method embodiments above, and will not be elaborated here.
[0177] In some embodiments, the current determination module 430 includes a look-up table acquisition unit and a determination unit.
[0178] The look-up table acquisition unit is used to obtain a preset position and balance current look-up table. Among them, the position and balance current look-up table stores the mapping relationship between different balance positions of the movable lens and the magnitude and direction of the balance current corresponding to the energized component. The balance position is the position where the movable lens is in force balance.
[0179] The determination unit is used to determine the magnitude and direction of the energizing current of the energized component according to the position current look-up table and the target position of the movable lens, and then control the energized component to input the determined balance current, so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the balance current.
[0180] In some embodiments, the determination unit includes a balance current determination subunit, a theoretical time determination subunit, a vibration suppression subunit, and a maintenance subunit.
[0181] The balance current determination subunit is used to determine the magnitude and direction of the balance current of the energized component according to the position and balance current look-up table and the target position of the movable lens, and then control the energized component to input the determined balance current.
[0182] The theoretical time determination subunit is used to determine the theoretical time for the movable lens to first reach the target position and the theoretical time for reaching each vibration peak point.
[0183] The vibration suppression subunit is used to change the energizing current applied to the energized component when it is determined that the moving lens first reaches the target position or reaches the vibration peak point according to the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point, so as to apply a reverse driving force to suppress the vibration of the moving lens, making the amplitude of the moving lens less than a preset value, where the reverse driving force is opposite to the moving direction of the moving lens.
[0184] The maintenance subunit is used to control the energized component to continuously input a determined balance current when the amplitude of the moving lens is less than the preset value.
[0185] In some embodiments, changing the energizing current applied to the energized component specifically includes:
[0186] Obtain the speed and amplitude of the moving lens when it first reaches the target position and reaches the vibration peak point, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude;
[0187] According to the mapping relationship between the reverse driving force and the suppression current, after determining the suppression current corresponding to the reverse driving force, when the moving lens first reaches the target position and each vibration peak point, change the balance current of the energized component to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens is less than the preset value.
[0188] In some embodiments, the method for determining whether the amplitude of the moving lens is less than the preset value is:
[0189] Obtain the historical stable time of the moving lens, and obtain the critical time point according to the historical stable time and the theoretical time for the moving lens to first reach the target position;
[0190] Judge whether the current time exceeds the critical time point. If so, it is determined that the amplitude of the moving lens is less than the preset value; otherwise, it is determined that the amplitude of the moving lens exceeds the preset value.
[0191] In some embodiments, the determining unit further includes a starting current determining subunit, which is used to determine the magnitude and direction of the starting current of the energized component at startup according to the target position of the moving lens and the preset position-starting current comparison table; wherein, the position-starting current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the starting current corresponding to the energized component.
[0192] In some embodiments, the method for obtaining the theoretical time for the moving lens to first reach the target position is:
[0193] Obtain the impedance change amount of the energized component within the test time interval; the test time interval is a preset time interval including the test time point when the moving lens moves from the current position to the target position;
[0194] The time point corresponding to the maximum impedance change is taken as the theoretical time when the moving lens first reaches the target position.
[0195] In some embodiments, the method for obtaining the theoretical time when the moving lens reaches each vibration peak point is as follows:
[0196] Obtain the test time for the moving lens to reach each vibration peak point from the current position, and take the test time for the moving lens to reach each vibration peak point from the current position as the theoretical time for the moving lens to reach each vibration peak point.
[0197] As Figure 18 shown, based on the above lens zoom control method, the present invention also correspondingly provides an electronic device, which may be a computing device such as a mobile terminal, a desktop computer, a notebook, a palm computer, and a server. The electronic device includes a processor 10, a memory 20, and a display 30. Figure 18 Only some components of the electronic device are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0198] The memory 20 may be an internal storage unit of the electronic device in some embodiments, such as the hard disk or memory of the electronic device. The memory 20 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device. Further, the memory 20 may also include both the internal storage unit and the external storage device of the electronic device. The memory 20 is used to store application software installed on the electronic device and various types of data, such as program codes installed on the electronic device. The memory 20 may also be used to temporarily store data that has been output or will be output. In one embodiment, a lens zoom control program 40 is stored on the memory 20, and the lens zoom control program 40 can be executed by the processor 10 to implement the lens zoom control method of various embodiments of the present invention.
[0199] The processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chips in some embodiments, and is used to run the program codes stored in the memory 20 or process data, such as executing the lens zoom control method, etc.
[0200] The display 30 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) toucher, etc. in some embodiments. The display 30 is used to display the information of the lens zoom control device and to display a visual user interface. The components 10-30 of the electronic device communicate with each other through the system bus.
[0201] In some embodiments, when the processor 10 executes the lens zoom control program 40 in the memory 20, the lens zoom control method described in the above embodiments is implemented. Since the lens zoom control method has been described in detail above, the technical effects achieved by the lens zoom control method are also possessed by the electronic device, so they will not be elaborated here.
[0202] Based on the above lens zoom control system, an embodiment of the present invention further provides an imaging module with a lens zoom function, including the above lens zoom control system. Since the lens zoom control system has been described in detail above, it will not be elaborated here.
[0203] Based on the above imaging module with a lens zoom function, an embodiment of the present invention further provides an endoscope, including the above imaging module with a lens zoom function. Since the lens zoom control system has been described in detail above, it will not be elaborated here.
[0204] An embodiment of the present invention further provides an endoscope system, including the above imaging module with a lens zoom function or the above endoscope. Since the lens zoom control system has been described in detail above, it will not be elaborated here.
[0205] In summary, the lens zoom control system, method, device, electronic device and storage medium provided by the present invention first receive a control instruction, then obtain the target position of the moving lens according to the control instruction, and finally determine the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current, changing the field of view angle and focal length of the optical system to achieve the purpose of lens zoom. By changing the size of the field of view angle, the image can be enlarged or reduced, and the number of pixels remains unchanged during the enlargement and reduction process. That is, when the image is enlarged, more details can be displayed, and the change in focal length can clearly display distant and near objects.
[0206] Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the above method embodiments. The storage medium can be a memory, a magnetic disk, an optical disk, etc.
[0207] The specific implementation manners of the present invention described above do not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and deformations made according to the technical concept of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A lens zoom control system, characterized in that, it includes a fixed lens barrel assembly, a moving lens barrel assembly and a control assembly. The moving lens barrel assembly includes a moving lens barrel body and a moving lens. The moving lens is fixedly connected to the moving lens barrel body. The moving lens barrel body is slidably connected to the fixed lens barrel assembly. The control assembly includes a lens zoom driver, an operation part and a controller. The lens zoom driver includes a magnetic component for generating a magnetic field and an energized component that can generate a driving force for driving the moving lens to move in the magnetic field after being energized. The operation part is used to send a control instruction to the controller, and the controller is used for: receiving the control instruction sent by the operation part; acquiring the target position of the moving lens according to the control instruction; after determining the magnitude and direction of the energized current of the energized component according to the target position of the moving lens, controlling the energized component to input the determined energized current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energized current; the controller is further used for: acquiring a preset position and balance current comparison table, wherein the position and balance current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the balance current corresponding to the energized component, and the balance position is the position where the moving lens is in force balance; after determining the magnitude and direction of the balance current of the energized component according to the position and balance current comparison table and the target position of the moving lens, controlling the energized component to input the determined balance current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the balance current; the controller is further used for: after determining the magnitude and direction of the balance current of the energized component according to the position and balance current comparison table and the target position of the moving lens, controlling the energized component to input the determined balance current; determining the theoretical time when the moving lens first reaches the target position and the theoretical time when it reaches each vibration peak point; according to the theoretical time when the moving lens first reaches the target position and the theoretical time when it reaches each vibration peak point, when it is determined that the moving lens first reaches the target position or reaches the vibration peak point, changing the energized current applied to the energized component to give a reverse driving force for suppressing the vibration of the moving lens, so that the amplitude of the moving lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the moving lens; when the amplitude of the moving lens is less than the preset value, controlling the energized component to continuously input the determined balance current.
2. The lens zoom control system according to claim 1, characterized in that, the controller is further used for: acquiring the speed and amplitude when the moving lens first reaches the target position and reaches the vibration peak point, and determining the magnitude and direction of the reverse driving force according to the speed and amplitude; After determining the suppression current corresponding to the reverse driving force according to the mapping relationship between the reverse driving force and the suppression current, when the moving lens first reaches the target position and each vibration peak point, the balance current of the energized component is changed to the suppression current corresponding to the reverse driving force until the amplitude of the moving lens is less than the preset value.
3. The lens zoom control system according to claim 1, wherein, the controller is further configured to: obtain the historical stable time of the moving lens, and obtain a critical time point according to the historical stable time and the theoretical time when the moving lens first reaches the target position; judge whether the current moment exceeds the critical time point, if so, determine that the amplitude of the moving lens is less than the preset value, otherwise determine that the amplitude of the moving lens exceeds the preset value.
4. The lens zoom control system according to claim 1, wherein, the controller is further configured to: determine the magnitude and direction of the starting current of the energized component when starting according to the target position of the moving lens and a preset position-starting current comparison table; wherein, the position-starting current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the starting current corresponding to the energized component.
5. The lens zoom control system according to claim 1, wherein, the controller is further configured to: obtain the impedance change amount of the energized component within a test time interval; the test time interval is a preset time interval including the test time point when the moving lens reaches the target position from the current position; take the time point corresponding to the maximum impedance change amount as the theoretical time when the moving lens first reaches the target position.
6. The lens zoom control system according to claim 1, wherein, the controller is further configured to: obtain the test time for the moving lens to reach each vibration peak point from the current position, and take the test time for the moving lens to reach each vibration peak point from the current position as the theoretical time for the moving lens to reach each vibration peak point.
7. The lens zoom control system according to claim 1, wherein, the number of the energized components is two, and the two energized components can generate Ampere forces in opposite directions in the magnetic field after being energized, and the driving force is the superimposed force of the Ampere forces generated by the two energized components.
8. A lens zoom control method, wherein, being applicable to the lens zoom control system according to any one of claims 1-7, the method includes: receiving a control instruction sent by the operation unit; obtaining the target position of the moving lens according to the control instruction; after determining the magnitude and direction of the energizing current of the energized component according to the target position of the moving lens, controlling the energized component to input the determined energizing current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current. After determining the magnitude and direction of the energizing current of the energizing component according to the target position of the movable lens, controlling the energizing component to input the determined energizing current so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the energizing current, includes: Obtain a preset position and balance current comparison table, wherein the position and balance current comparison table stores the mapping relationship between different balance positions of the movable lens and the magnitude and direction of the balance current corresponding to the energizing component, and the balance position is the position where the movable lens is in force balance; After determining the magnitude and direction of the balance current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, control the energizing component to input the determined balance current so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the balance current; The step of, after determining the magnitude and direction of the energizing current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, controlling the energizing component to input the determined balance current so that the lens zoom driver drives the movable lens to move to the target position according to the magnitude and direction of the balance current, includes: After determining the magnitude and direction of the balance current of the energizing component according to the position and balance current comparison table and the target position of the movable lens, control the energizing component to input the determined balance current; Determine the theoretical time for the movable lens to first reach the target position and the theoretical times for reaching each vibration peak point; According to the theoretical time for the movable lens to first reach the target position and the theoretical times for reaching each vibration peak point, when it is determined that the movable lens first reaches the target position or reaches a vibration peak point, change the energizing current applied to the energizing component to apply a reverse driving force for suppressing the vibration of the movable lens, so that the amplitude of the movable lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the movable lens; When the amplitude of the movable lens is less than the preset value, control the energizing component to continuously input the determined balance current.
9. The lens zoom control method according to claim 8, characterized in that, The step of changing the energizing current applied to the energizing component specifically includes: Obtain the speed and amplitude of the movable lens when it first reaches the target position and reaches the vibration peak points, and determine the magnitude and direction of the reverse driving force according to the speed and amplitude; After determining the suppression current corresponding to the reverse driving force according to the mapping relationship between the reverse driving force and the suppression current, when the movable lens first reaches the target position and each vibration peak point, change the balance current of the energizing component to the suppression current corresponding to the reverse driving force until the amplitude of the movable lens is less than the preset value.
10. The lens zoom control method according to claim 9, characterized in that, The method for judging whether the amplitude of the movable lens is less than the preset value is: Obtain the historical stable time of the moving lens, and obtain the critical time point according to the historical stable time and the theoretical time when the moving lens first reaches the target position; Judge whether the current moment exceeds the critical time point. If so, it is determined that the amplitude of the moving lens is less than the preset value; otherwise, it is determined that the amplitude of the moving lens exceeds the preset value.
11. The lens zoom control method according to claim 8, characterized in that, Before determining the magnitude and direction of the energizing current of the energizing component according to the position and balance current comparison table and the target position of the moving lens, the method further includes: Determine the magnitude and direction of the starting current of the energizing component when starting according to the target position of the moving lens and a preset position and starting current comparison table; wherein, the position and starting current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the starting current corresponding to the energizing component.
12. The lens zoom control method according to claim 8, characterized in that, The method for obtaining the theoretical time when the moving lens first reaches the target position is: Obtain the impedance change amount of the energizing component within a test time interval; the test time interval is a preset time interval including the test time point when the moving lens moves from the current position to the target position; Take the time point corresponding to the maximum impedance change amount as the theoretical time when the moving lens first reaches the target position.
13. The lens zoom control method according to claim 8, characterized in that, The method for obtaining the theoretical time when the moving lens reaches each vibration peak point is: Obtain the test time when the moving lens moves from the current position to each vibration peak point, and take the test time when the moving lens moves from the current position to each vibration peak point as the theoretical time when the moving lens reaches each vibration peak point.
14. A lens zoom control device, characterized in that, It is used to control the action of a lens zoom driver, and the lens zoom driver includes a magnetic component for generating a magnetic field and an energizing component that can generate a driving force for driving the moving lens to move in the magnetic field after being energized. The lens zoom control device includes: An instruction receiving module, configured to receive a control instruction; A target position determining module, configured to obtain the target position of the moving lens according to the control instruction; A current determining module, configured to determine the magnitude and direction of the energizing current of the energizing component according to the target position of the moving lens, and then control the energizing component to input the determined energizing current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the energizing current; The current determining module includes a comparison table obtaining unit and a determining unit, The comparison table obtaining unit is configured to obtain a preset position and balance current comparison table, wherein the position and balance current comparison table stores the mapping relationship between different balance positions of the moving lens and the magnitude and direction of the balance current corresponding to the energizing component, and the balance position is the position where the moving lens is in force balance; After the determination unit determines the magnitude and direction of the energizing current of the energized component according to the position-current comparison table and the target position of the moving lens, it controls the energized component to input the determined balance current, so that the lens zoom driver drives the moving lens to move to the target position according to the magnitude and direction of the balance current; The determination unit includes a balance current determination subunit, a theoretical time determination subunit, a vibration suppression subunit, and a maintenance subunit; The balance current determination subunit is configured to determine the magnitude and direction of the balance current of the energized component according to the position-balance current comparison table and the target position of the moving lens, and then control the energized component to input the determined balance current; The theoretical time determination subunit is configured to determine the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point; The vibration suppression subunit is configured to, according to the theoretical time for the moving lens to first reach the target position and the theoretical time for reaching each vibration peak point, when it is determined that the moving lens first reaches the target position or reaches the vibration peak point, change the energizing current applied to the energized component to give a reverse driving force for suppressing the vibration of the moving lens, so that the amplitude of the moving lens is less than a preset value, wherein the reverse driving force is opposite to the moving direction of the moving lens; The maintenance subunit is configured to control the energized component to continuously input the determined balance current when the amplitude of the moving lens is less than the preset value.
15. An electronic device, characterized in that, it includes: a processor and a memory; a computer program executable by the processor is stored on the memory; when the processor executes the computer program, the steps in the lens zoom control method according to any one of claims 8-13 are implemented.
16. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the lens zoom control method according to any one of claims 8-13.
17. An imaging module with a lens zoom function, characterized in that, it includes the lens zoom control system according to any one of claims 1-7.
18. An endoscope, characterized in that, it includes the imaging module with a lens zoom function according to claim 17.
19. An endoscope system, characterized in that, it includes the imaging module with a lens zoom function according to claim 17 or the endoscope according to claim 18.
Citation Information
Patent Citations
Imaging objective lens mechanism for endoscope, zoom lens, and endoscope
CN115670350A
Imaging module and endoscope
CN217659791U
Lens barrel, camera module, endoscope, control method, computer-readable storage medium, zoom control device, zoom control apparatus, and endoscope system
WO2024193250A1