CN107529011A - A kind of motorized zoom lenses control system and method - Google Patents

A kind of motorized zoom lenses control system and method Download PDF

Info

Publication number
CN107529011A
CN107529011A CN201710730719.4A CN201710730719A CN107529011A CN 107529011 A CN107529011 A CN 107529011A CN 201710730719 A CN201710730719 A CN 201710730719A CN 107529011 A CN107529011 A CN 107529011A
Authority
CN
China
Prior art keywords
focus
zoom
lens
focusing
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710730719.4A
Other languages
Chinese (zh)
Other versions
CN107529011B (en
Inventor
徐少辉
江发钦
李双林
唐自兴
孟涛
杨亮亮
李志洋
申雷
宋庆丰
邹小蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Anlian Raysharp Technology Co Ltd
Original Assignee
Zhuhai Anlian Raysharp Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Anlian Raysharp Technology Co Ltd filed Critical Zhuhai Anlian Raysharp Technology Co Ltd
Priority to CN201710730719.4A priority Critical patent/CN107529011B/en
Publication of CN107529011A publication Critical patent/CN107529011A/en
Application granted granted Critical
Publication of CN107529011B publication Critical patent/CN107529011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Optics & Photonics (AREA)
  • Lens Barrels (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

The invention provides a kind of motorized zoom lenses control system, including:Optical imaging lens group, imaging sensor, auto-focusing unit and actuating unit, after zoom motor is stopped, under conditions of image focal length is basically unchanged, auto-focusing unit is by controlling focusing lens to move forward and backward, judge image clarity values FV variation tendency, if FV values taper into, control focusing lens move in the opposite direction;If FV values become larger, there is the trend to diminish again until FV values in the motion of control focusing lens.There are FV maximums during focusing lens move, it is exactly image most clearly point corresponding to this value, in the whole focussing process of camera lens, focusing lens follow the motion of focus-variable lens and moved in real time, control zoom in real time during focus operations and focus on the distance between two eyeglasses, so as to ensure that the image collected on the image sensor is relatively clearly.

Description

A kind of motorized zoom lenses control system and method
Technical field
The present invention relates to technical field of video monitoring, and in particular to a kind of motorized zoom lenses control system and method.
Background technology
Can automatic amasthenic lens focus on to obtain picture rich in detail, be that image is divided automatically in image acquisition process The first step of processing is analysed, next to that can motor-driven lenses executing agency quickly run to corresponding zoom position.Traditional hand Dynamic focusing mode, relies primarily on the range estimation and hand adjustment of people, not only cumbersome, time-consuming, and adjustment longitude is larger by the subjective impact of people. Therefore, automatic amasthenic lens is increasingly favored by people.
Existing automatic zoom camera lens system auto-focusing terminate and be imaged than it is more visible when, if user change focal length Come observe it is farther or closer to scenery when, in mobile focus-variable lens, then there is image from being clearly changed into fringe, at this moment User can not be effectively obtained clearly image during focus-variable lens are operated, can so make the continuity of image by Destroy, visually also have uncomfortable sensation.After focus-variable lens are stopped operation, then it is focused, if image is by mould Paste state starts zoom until image clearly, then can expend for a long time, and cause figure in imageable target and image-forming condition difference Under conditions of fuzzy enough, during mobile focusing lens, the image clearly value collected is almost constant, in this case will Meeting maximum probability causes zoom to fail.
For zoom lens, a zoom step number table can be provided when dispatching from the factory, the table is that camera lens producer uses optical instrument Test Zoom (zoom) number of motor steps corresponding to each focus of camera lens and Focus (focusing) electricity in obtained whole focal length stroke Machine step number, adjacent focal spots interval step number are larger.If following problem can be caused by carrying out processing to form by producer:1st, zoom step number The adjacent step number interval of table is larger, occurs that image mutation is larger in zoom stroke;2nd, whole zoom trip map picture can not be realized Clearly effect relatively is all presented;3rd, after zoom stopping, because now image is not relatively clear, then follow-up required focusing Time consumption is longer.
Publication No. CN101021604 Chinese patent application disclose " a kind of dynamic object based on image procossing from Dynamic zoom system, pancreatic system ", when the system to space Fast Moving Object by tracking, target is kept to be imaged size all the time on video camera In predetermined size range, split by image, obtain the size of target on image, if greater than or less than predetermined chi It is very little, image processing control unit is issued commands to, image processing control unit automatically adjusts mirror by lens driving control circuit Zoom motor on head, makes zoom lens be moved to correct position, and size of the target on screen is adjusted to preliminary dimension.By When can track target, the size of real-time judge target, target sizes are compared with predetermined size, if greater than pre- scale It is very little or less than preliminary dimension, the Varifocal zoom lens before video camera are just adjusted, by the control of zoom lens, reaches adjustment target and exists The purpose of size, therefore the function with auto zooming are imaged on screen, and efficiency and precision greatly improve.But this is System still can be destroyed the continuity of image in zoom and during focusing on, and visually also have uncomfortable sensation.
Publication No. CN106341598A Chinese patent application discloses " a kind of optical lens autofocus system and side Method ", the optical lens autofocus system and method are by prestoring zoom position, focal position mapping relations, in camera lens Focal position corresponding to rapid acquisition in zooming procedure, the instant quick focusing of camera lens is realized, when solving prior art focusing Between it is long, focusing effect is poor the problem of, but zoom position, the specific acquisition pattern of focal position mapping relations in the patent application For:The Real time changing focus positional information of optical lens is gathered, according to the zoom focus variations curve acquisition prestored with becoming in real time The expectation focal position of burnt position correspondence, control optical lens are adjusted to the expectation focal position immediately, and such a mode can not obtain To refinement and accurately zoom focus variations curve, and if change curve still need substantial amounts of computing without parsing It could realize, can still influence the speed of zoom focusing, still occur that image mutation is big in zoom stroke, can not realize whole Clearly effect relatively is all presented in individual zoom trip map picture.
The content of the invention
In view of the shortcomings of the prior art, the invention provides a kind of motorized zoom lenses control system and method, Neng Gou On the premise of ensureing focusing accuracy, focusing speed is improved, and make it that image change is steady in whole zoom stroke, is ensured whole Individual image is all relatively clear in zooming procedure.
To realize above-mentioned technical proposal, the present invention provides a kind of motorized zoom lenses control system, it is characterised in that including: Optical imaging lens group, imaging sensor, auto-focusing unit and actuating unit, the optical imaging lens group is by from outside to inside Transmission plane mirror, focusing lens and the focus-variable lens composition being sequentially distributed, wherein focus-variable lens are mainly used in adjusting the length of focal length Short, focusing lens are mainly used in adjusting the definition of image imaging;Imaging sensor is arranged on the rear of optical imaging lens group, Described image sensor is used to gathering image relevant parameter in imaging system and passed to the numerical value of collection follow-up automatic Focusing unit;The numerical value that the auto-focusing unit is collected by imaging sensor carries out that image definition correlation is calculated Parameter value, and driving power mechanism drives optical imaging lens group to be focused and focused on, the target image for making to collect reaches Most clear state, wherein auto-focusing unit judge image clarity values FV change by controlling focusing lens to move forward and backward Change trend, if FV values taper into, control focusing lens move in the opposite direction;If FV values become larger, control focuses on There is the trend to diminish again until FV values in lens movement, FV maximums occurs during focusing lens move, this It is exactly image most clearly point corresponding to value;The actuating unit includes electric-motor drive unit, zoom motor and focus motor, institute State zoom motor to be connected with focus-variable lens, the focus motor connects with focusing lens, and electric-motor drive unit is used for independent drive Zoom motor and focus motor, in the focussing process of camera lens, focusing lens are controlled by focus motor and zoom motor respectively Follow the motion of focus-variable lens in real time and move, control two mirrors of focus-variable lens and focusing lens in real time during focus operations The distance between piece changes, and ensures the image clearly collected on the image sensor.
Present invention also offers a kind of motorized zoom lenses control method, following steps are specifically included:
Spacing between S1, fixed focus-variable lens and imaging sensor, under single scene condition, is driven by zoom motor Dynamic focus-variable lens movement, step number Zoom1 corresponding to acquisition focal length value, then adjusts focus motor, auto-focusing unit passes through control Focusing lens processed move forward and backward, and judge image clarity values FV variation tendency;If FV values taper into, focus lamp is controlled Piece moves in the opposite direction;Conversely, if FV values become larger, the motion of control focusing lens is maximum until FV values, if being further continued for Motion, then can occur the trend to diminish again, FV maximums occur during focusing lens move, corresponding to this value Step number Fcous1 is exactly image most clearly point;The rest may be inferred, under the conditions of Same Scene, constantly adjusts zoom motor, obtains To N group Zoom values, while N group Focus values are correspondingly obtained, obtain N group data in this way, N is bigger, then the whole row of camera lens Journey is just got thinner;
S2, the focusing step number table that the N group Zoom values and Focus values testing to obtain in step S1 and producer provide carried out pair Than reusing the matched curve figure that trace-point method draws out Zoom-Focus;
S3, the matched curve figure according to Zoom-Focus, are calculated by Matlab methods, obtain Zoom-Focus related letter Number:
F (x)=P1*x^7+P2*x^6+P3*x^5+P4*x^4+P5*x^3+P6*x^2+P7*x+P8;Formula 1
In formula 1, P1~P8 is constant, and F (x) represents zoom step number Zoom, and what x was represented is to focus on step number Fcous, x^ N represents x n powers;
S4, according to the Zoom-Focus correlation functions obtained in step S3, using Focus as uniform variate, Zoom is covariant Amount, respectively obtains Focus [N], Zoom [N] array, Focus [N], Zoom [N] array numerical value is aggregated to form into new focusing Step number table;
S5, auto-focusing unit are driven single according to the focusing step number table obtained in step S4 using look-up table controlled motor Member causes zoom motor and focus motor to be run automatically according to corresponding Zoom [N], Focus [N] array in step S4.
Preferably, in the step S4, using Focus as uniform variate, Zoom be with variable specific calculating process such as Under:
Fcous [0]=1 is made, now Zoom [0]=P1+P2+P3+P4+P5+P6+P7+P8;
Fcous [1]=2 is made, now Zoom [1]=P1*2^7+P2*2^6+P3*2^5+P4*2^4+P5*2^3+P6*2^2+ P7*2^1+P8;
Fcous [2]=3 is made, now Zoom [2]=P1*3^7+P2*3^6+P3*3^5+P4*3^4+P5*3^3+P6*3^2+ P7*3^1+P8;
Fcous [N]=n is made, now Zoom [N]=P1*n^7+P2*n^6+P3*n^5+P4*n^4+P5*n^3+P6*n^2+ P7*n^1+P8。
Preferably, in the step S5, in focussing process, if a certain moment, zoom motor moves to Zoom [N] place, Now, auto-focusing unit is controlled corresponding to focus motor runs to by look-up table according to the focusing step number table of focus motor Focus [N] place.
The beneficial effect of a kind of motorized zoom lenses control system and method provided by the invention is:
When carrying out zoom operation using this motorized zoom lens control system, pass through the N group Zoom values obtained to test After the focusing step number table provided with Focus values and producer is contrasted, the fitting that Zoom-Focus is drawn out using trace-point method is bent Line chart, then calculated using Matlab methods, obtain Zoom-Focus correlation function, and Focus is obtained according to function assignment [N], Zoom [N] array, and Focus [N], Zoom [N] array numerical value are aggregated to form to new focusing step number table, focusing lens According to new focusing step number table zoom lens can be followed to move according to Zoom [N], Focus [N] arrays, thus make system one Good focusing state is directly in, focusing lens follow the motion of focus-variable lens and moved in real time, real during focus operations When control zoom and focus on the distance between two eyeglasses, so as to ensure the image that collects on the image sensor when any Quarter is all relatively clearly, because whole zoom stroke is that relatively clearly, after zoom operation is stopped, being quickly found out Image most articulation point, focal time will not be caused because imageable target and image-forming condition difference time-consuming or focused on unsuccessfully etc. to ask Topic, enhance the reliability of system;Simultaneously in zooming procedure, image change is steady, will not make the continuity of image by broken It is bad.
Brief description of the drawings
Fig. 1 is the operation principle schematic diagram of the present invention;
Fig. 2 is Zoom-Focus value matched curve figures in the present embodiment;
Fig. 3 is the correlation function figure of Zoom values and Focus values in the present embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Ability All other embodiment that domain ordinary person is obtained under the premise of creative work is not made, belong to the protection of the present invention Scope.
Embodiment 1:A kind of motorized zoom lenses control system.
Shown in reference picture 1, a kind of motorized zoom lenses control system, including:Optical imaging lens group, imaging sensor, Auto-focusing unit and actuating unit, the optical imaging lens group by be sequentially distributed from outside to inside transmission plane mirror, focus on Eyeglass and focus-variable lens composition, wherein focus-variable lens are used for the length for adjusting focal length, and focusing lens are used to adjust image imaging Definition;Imaging sensor is arranged on the rear of optical imaging lens group, and described image sensor is used to gather in imaging system Image relevant parameter, and the numerical value of collection is passed to follow-up auto-focusing unit;Auto-focusing unit is arranged on image Sensor rear, the numerical value that the auto-focusing unit is collected by imaging sensor carry out that image definition phase is calculated Related parameter value, and driving power mechanism drives optical imaging lens group to be focused and focused on, and finally makes the target figure collected As reaching most clear state, wherein, auto-focusing unit judges image clarity values by controlling focusing lens to move forward and backward FV (setting image clarity values herein as FV, the image parameter that can be collected by imaging sensor obtains) change becomes Gesture, if FV values taper into, control focusing lens move in the opposite direction;Conversely, if FV values become larger, control focuses on There is the trend to diminish again until FV values in lens movement.There are FV maximums during focusing lens move, this It is exactly that most clearly point, the actuating unit include electric-motor drive unit, zoom motor and focus motor, institute to image corresponding to value State zoom motor to be connected with focus-variable lens, the focus motor connects with focusing lens, and electric-motor drive unit is used for independent drive Zoom motor and focus motor, in the focussing process of camera lens, focus motor and zoom motor are controlled by electric-motor drive unit Motion, and then control focusing lens follow the motion of focus-variable lens and moved in real time respectively, are controlled in real time during focus operations The distance between two eyeglasses of focus-variable lens and focusing lens processed change, so as to ensure the image collected on the image sensor It is relatively clearly.
In the present embodiment, the distance between zoom motor and focus motor are adjusted by electric-motor drive unit and realized image Focus is presented on the image sensor, finally realizes imaging clearly, wherein, focus-variable lens are used for the length for adjusting focal length, also It is the far and near size on image imaging effect, herein referred to as zoom, focusing lens are mainly used in adjusting image imaging Definition, herein referred to as focus on, it is automatic right under conditions of image focal length is basically unchanged after zoom motor is stopped Burnt unit mainly according to the focal length value collected by imaging sensor carries out that image definition related parameter values are calculated, and With the motion of this parameter value control focus motor, image most clearly point is eventually found, consequently, it is possible in zooming procedure, can It to ensure that image change is steady, will not be destroyed the continuity of image, and because whole zoom stroke is relatively clear Clear, after zoom operation is stopped, image most articulation point can be quickly found out, will not be led because of imageable target and image-forming condition difference Causing focal time, time-consuming or focuses on the problems such as failing, and enhances the reliability of system.
Embodiment 2:A kind of motorized zoom lenses control method.
Referring to figs. 1 to shown in Fig. 3, a kind of motorized zoom lenses control method, following steps are specifically included:
Spacing between S1, fixed focus-variable lens and imaging sensor, under single scene condition, is driven by zoom motor Dynamic focus-variable lens movement, step number Zoom1 corresponding to acquisition focal length value, then adjusts focus motor, auto-focusing unit passes through control Focusing lens processed move forward and backward, and judge image clarity values FV variation tendency;If FV values taper into, focus lamp is controlled Piece moves in the opposite direction;Conversely, if FV values become larger, the motion of control focusing lens is maximum until FV values, if being further continued for Motion, then can occur the trend to diminish again, FV maximums occur during focusing lens move, corresponding to this value Step number Fcous1 is exactly that most clearly point, auto-focusing unit can record image automatically;The rest may be inferred, in Same Scene condition Under, zoom motor is constantly adjusted, obtains N group Zoom values, while N group Focus values are correspondingly obtained, N groups are obtained in this way Data, N is bigger, then the whole stroke of camera lens is just got thinner;
S2, the focusing step number table that the N group Zoom values and Focus values testing to obtain in step S1 and producer provide carried out pair Than the matched curve figure that trace-point method draws out Zoom-Focus being reused, as shown in Fig. 2 figure it is seen that keeping poly- The operation step number of burnt motor is under conditions of uniform variate, the step Numerical of zoom motor changes from small to big, therefore, to keep becoming The speed of burnt motor operation to zoom motor under the control of electric-motor drive unit, it is necessary to make variable-speed processing, in guarantee focusing electricity On the premise of machine speed is constant, the speed of zoom motor needs to be changed according to the change of zoom curve;
S3, calculated by Matlab methods, obtain Zoom-Focus correlation function, as shown in figure 3,
F (x)=P1*x^7+P2*x^6+P3*x^5+P4*x^4+P5*x^3+P6*x^2+P7*x+P8;Formula 1
In formula 1, P1~P8 is constant, and P1~P8 can be parsed to obtain by Matlab softwares, and F (x) represents zoom Step number Zoom, what x was represented is to focus on step number Fcous, x^n to represent x n powers;
Wherein Matlab is the business mathematics software that MathWorks companies of the U.S. produce, for algorithm development, data visualization The advanced techniques computational language and interactive environment of change, data analysis and numerical computations, can be by step using Matlab softwares Automatically parsing obtains Zoom-Focus correlation function to Zoom-Focus matched curve figures in rapid S2;
Due to using stepper motor, current step number Zoom0 corresponding to zoom motor is obtained after focus-variable lens stop, Focus motor is according to corresponding to focusing step number table follows zoom motor to run at Focus1, due to after zoom motor stops, Focus motor is servo-actuated to corresponding relative articulation point position also according to zoom curve, and it is " thick that this section follows motion to be herein referred to as Adjust " speed, the matching that zoom motor and focus motor speed needs are set during " coarse adjustment " is suitable, to reach whole trip map As all keeping relatively, clearly effect, " coarse adjustment " speed can be arranged to comparatively fast;It is follow-up automatic by climbing method progress again afterwards Focus on, referred to herein as " fine tuning ", i.e. auto-focusing unit judges image definition by controlling focusing lens to move forward and backward Value FV (setting image clarity values herein as FV, the image parameter that can be collected by imaging sensor obtains) change becomes Gesture, if FV values taper into, control focusing lens move in the opposite direction;Conversely, if FV values become larger, control focuses on Lens movement is maximum until FV values, if being further continued for moving, can occur the trend (climbing method to diminish again:If descending, then instead Direction;If going up a slope, then after reaching the top of the hill, continuing to walk will descending), occur FV maximums during focusing lens move Value, step number Fcous corresponding to this value is exactly that most clearly point, " fine tuning " speed can set relatively slow image;
S4, according to Zoom-Focus correlation functions, using Focus as uniform variate, Zoom is with variable, is respectively obtained Focus [N], Zoom [N] array, Focus [N], the numerical value of Zoom [N] array are by being aggregated to form a focusing step number table;
Specifically process is:
Fcous [0]=1 is made, now Zoom [0]=P1+P2+P3+P4+P5+P6+P7+P8;
Fcous [1]=2 is made, now Zoom [1]=P1*2^7+P2*2^6+P3*2^5+P4*2^4+P5*2^3+P6*2^2+ P7*2^1+P8;
Fcous [2]=3 is made, now Zoom [2]=P1*3^7+P2*3^6+P3*3^5+P4*3^4+P5*3^3+P6*3^2+ P7*3^1+P8;
Fcous [N]=n is made, now Zoom [N]=P1*n^7+P2*n^6+P3*n^5+P4*n^4+P5*n^3+P6*n^2+ P7*n^1+P8;
The Zoom values and Fcous values of N groups can be obtained by above-mentioned calculating, as shown in Figure 3;Focus [N], Zoom [N] number For the numerical value of group by being aggregated to form a new focusing step number table, the adjustment for follow-up zoom motor and focus motor provides standard True numeric reference;
S5, by look-up table (refer to be stored in some results computed in advance in constant array, it is direct during operation Call, computing cost can be saved) realize zoom motor is controlled by electric-motor drive unit during mobile focus-variable lens Press corresponding Zoom [N] in step S4, the operation of Focus [N] array with focus motor, i.e., in focussing process, if a certain moment, Zoom motor moves to Zoom [N] place, and now, auto-focusing unit is by look-up table according to the focus motor obtained in step S4 Focusing step number table control focus motor quickly run to corresponding Focus [N] place, consequently, it is possible to during focusing, from Dynamic focusing unit can control focusing lens to follow the motion of focus-variable lens in real time and move, and be controlled in real time during focus operations The distance between two eyeglasses of focus-variable lens and focusing lens processed change, so as to ensure the image collected on the image sensor It is relatively clearly.
In the present embodiment, for zoom lens, a zoom step number table can be provided when dispatching from the factory, the table is that producer uses light Learn zoom motor step number and focus motor step number corresponding to each focus for the whole focal length lenses that instrument test obtains, adjacent step Number is larger.If following problem can be caused by giving focusing step number table to carry out processing by producer:1st, the adjacent step number interval of zoom step number table It is larger, occur that image mutation is larger in zoom stroke;2nd, it is relatively clear can not to realize that whole zoom trip map picture is all presented Effect;3rd, after zoom stopping, because now image is not relatively clear, then follow-up required focal time expends longer; Therefore need to improve focusing step number table, this requires in step s3, to be fitted one section of curve again using Matlab methods and obtain After Zoom and Focus correlation function, then be finely divided digitized processing, i.e., in focussing process, if a certain moment, zoom electricity Machine moves to Zoom [N] place, then now focus motor is real using look-up table in auto-focusing unit program according to focusing step number table Existing, Focus motors are also required to run to Focus [N] place of corresponding articulation point, just can so realize whole zoom trip map picture all It is relatively clear, and image realizes steady clear transition during focusing.
Described above is presently preferred embodiments of the present invention, but the present invention should not be limited to the embodiment and accompanying drawing institute is public The content opened, so every do not depart from the lower equivalent or modification completed of spirit disclosed in this invention, both fall within protection of the present invention Scope.

Claims (4)

  1. A kind of 1. motorized zoom lenses control system, it is characterised in that including:It is optical imaging lens group, imaging sensor, automatic Focus unit and actuating unit, the optical imaging lens group is by the transmission plane mirror, the focusing lens that are sequentially distributed from outside to inside Formed with focus-variable lens, wherein focus-variable lens are used for the length for adjusting focal length, and focusing lens are used to adjust the clear of image imaging Degree;Imaging sensor is arranged on the rear of optical imaging lens group, and described image sensor is used to gather the figure in imaging system Follow-up auto-focusing unit is passed to as relevant parameter and by the numerical value of collection;The auto-focusing unit passes through image sensing The numerical value that device collects carries out that image definition related parameter values are calculated, and driving power mechanism drives optical imaging lens Group is focused and focused on, and the target image for making to collect reaches most clear state, and wherein auto-focusing unit is poly- by controlling Focus lens move forward and backward, and judge image clarity values FV variation tendency, if FV values taper into, control focusing lens court Opposite direction is moved;If FV values become larger, there is the trend to diminish again until FV values in the motion of control focusing lens, poly- There are FV maximums during moving in focus lens, and are exactly image most clearly point corresponding to this value;The actuating unit Including electric-motor drive unit, zoom motor and focus motor, the zoom motor is connected with focus-variable lens, the focus motor and Focusing lens connect, and electric-motor drive unit is used for independent driving zoom motor and focus motor, in the focussing process of camera lens, leads to Over-focusing motor and zoom motor control focusing lens to follow the motion of focus-variable lens in real time and move respectively, in focus operations mistake The distance between control two eyeglasses of focus-variable lens and focusing lens change in real time in journey.
  2. 2. a kind of motorized zoom lenses control method, it is characterised in that specifically include following steps:
    Spacing between S1, fixed focus-variable lens and imaging sensor, under single scene condition, is driven by zoom motor and become Focus lens move, step number Zoom1 corresponding to acquisition focal length value, then adjust focus motor, and auto-focusing unit is poly- by controlling Focus lens move forward and backward, and judge image clarity values FV variation tendency;If FV values taper into, focusing lens court is controlled Opposite direction is moved;Conversely, if FV values become larger, the motion of control focusing lens is maximum until FV values, if being further continued for moving, Can then occur the trend to diminish again, FV maximums occur during focusing lens move, step number corresponding to this value Fcous1 is exactly image most clearly point;The rest may be inferred, under the conditions of Same Scene, constantly adjusts zoom motor, obtains N groups Zoom values, while correspondingly obtain N group Focus values;
    S2, the focusing step number table that the N group Zoom values and Focus values testing to obtain in step S1 and producer provide contrasted, Reuse the matched curve figure that trace-point method draws out Zoom-Focus;
    S3, the matched curve figure according to Zoom-Focus, are calculated by Matlab methods, obtain Zoom-Focus correlation function:
    F (x)=P1*x^7+P2*x^6+P3*x^5+P4*x^4+P5*x^3+P6*x^2+P7*x+P8;Formula 1
    In formula 1, P1~P8 is constant, and F (x) represents zoom step number Zoom, and what x was represented is to focus on step number Fcous, x^n table Show x n powers;
    S4, according to the Zoom-Focus correlation functions obtained in step S3, using Focus as uniform variate, Zoom be with variable, point Focus [N], Zoom [N] array are not obtained, and Focus [N], Zoom [N] array numerical value are aggregated to form new focusing step number Table;
    S5, auto-focusing unit are made according to the focusing step number table obtained in step S4 using look-up table controlled motor driver element Zoom motor and focus motor is obtained to run according to corresponding Zoom [N], Focus [N] array in step S4 automatically.
  3. 3. motorized zoom lenses control method as described in claim 2, it is characterised in that:In the step S4, with Focus For uniform variate, Zoom is as follows with the specific calculating process of variable:
    Fcous [0]=1 is made, now Zoom [0]=P1+P2+P3+P4+P5+P6+P7+P8;
    Fcous [1]=2 is made, now Zoom [1]=P1*2^7+P2*2^6+P3*2^5+P4*2^4+P5*2^3+P6*2^2+P7*2 ^1+P8;
    Fcous [2]=3 is made, now Zoom [2]=P1*3^7+P2*3^6+P3*3^5+P4*3^4+P5*3^3+P6*3^2+P7*3 ^1+P8;
    Fcous [N]=n is made, now Zoom [N]=P1*n^7+P2*n^6+P3*n^5+P4*n^4+P5*n^3+P6*n^2+P7*n ^1+P8。
  4. 4. motorized zoom lenses control method as described in claim 1, it is characterised in that:In the step S5, focusing During, zoom motor moves to Zoom [N] place, and auto-focusing unit is according to the focusing step number table control of focus motor in step S4 Focus motor processed quickly runs to corresponding Focus [N] place.
CN201710730719.4A 2017-08-23 2017-08-23 A kind of motorized zoom lens control method Active CN107529011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710730719.4A CN107529011B (en) 2017-08-23 2017-08-23 A kind of motorized zoom lens control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710730719.4A CN107529011B (en) 2017-08-23 2017-08-23 A kind of motorized zoom lens control method

Publications (2)

Publication Number Publication Date
CN107529011A true CN107529011A (en) 2017-12-29
CN107529011B CN107529011B (en) 2018-07-10

Family

ID=60682175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710730719.4A Active CN107529011B (en) 2017-08-23 2017-08-23 A kind of motorized zoom lens control method

Country Status (1)

Country Link
CN (1) CN107529011B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109497919A (en) * 2018-12-27 2019-03-22 重庆大学 A kind of endoscope for ENT system based on liquid lens
CN109769090A (en) * 2019-02-18 2019-05-17 桂林长海发展有限责任公司 A kind of focal length zoom quick focusing method and system based on image procossing
CN110009636A (en) * 2019-05-13 2019-07-12 招商局重庆交通科研设计院有限公司 A kind of varifocal vision detection system of the vcehicular tunnel of integrated form
CN110025290A (en) * 2019-04-22 2019-07-19 深圳市吉斯迪科技有限公司 A kind of skin image capture means and its acquisition method
CN110290315A (en) * 2019-06-14 2019-09-27 浙江大华技术股份有限公司 Tracking focus method, device, video camera and medium for PTZ camera
CN110460748A (en) * 2018-05-08 2019-11-15 杭州海康威视数字技术股份有限公司 A kind of video camera and monitoring system
CN110793000A (en) * 2019-10-31 2020-02-14 广州市浩洋电子股份有限公司 Intelligent focusing method for head shaking computer lamp based on machine vision
CN110830710A (en) * 2018-08-14 2020-02-21 高新兴科技集团股份有限公司 Focusing method of super-long focal length lens
CN111147732A (en) * 2018-11-06 2020-05-12 浙江宇视科技有限公司 Focusing curve establishing method and device
CN111158103A (en) * 2019-12-31 2020-05-15 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN111175952A (en) * 2019-12-31 2020-05-19 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN111432125A (en) * 2020-03-31 2020-07-17 合肥英睿系统技术有限公司 Focusing method and device, electronic equipment and storage medium
CN111947590A (en) * 2020-02-17 2020-11-17 北京联睿科科技有限公司 Online detection device, method and system for building deformation
CN112383699A (en) * 2020-10-10 2021-02-19 北京索斯克科技开发有限公司 Intelligent debugging method and device for two variable lenses, electronic equipment and two variable lenses
CN112616020A (en) * 2020-12-17 2021-04-06 深圳市睿联技术股份有限公司 Photographing apparatus, focusing method thereof, and computer-readable storage medium
CN113938599A (en) * 2020-07-14 2022-01-14 浙江宇视科技有限公司 Electric lens focusing method and device, electronic equipment and storage medium
CN114355556A (en) * 2021-07-13 2022-04-15 广东弘景光电科技股份有限公司 Optical lens aligning system
WO2022206629A1 (en) * 2021-03-30 2022-10-06 华为技术有限公司 Photographing method, terminal device and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030030920A1 (en) * 2001-08-10 2003-02-13 Canon Kabushiki Kaisha Zoom lens control apparatus
CN103546692A (en) * 2013-11-04 2014-01-29 苏州科达科技股份有限公司 Method and system achieving integrated camera automatic focusing
CN103595910A (en) * 2012-08-15 2014-02-19 佳能株式会社 Image capture apparatus and control method therefor
CN104836954A (en) * 2015-04-23 2015-08-12 金三立视频科技(深圳)有限公司 Zooming tracking method and apparatus
CN105611159A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Calibration method and device of zooming tracking curve
CN106341598A (en) * 2016-09-14 2017-01-18 北京环境特性研究所 Optical-lens automatic focusing system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030030920A1 (en) * 2001-08-10 2003-02-13 Canon Kabushiki Kaisha Zoom lens control apparatus
CN103595910A (en) * 2012-08-15 2014-02-19 佳能株式会社 Image capture apparatus and control method therefor
CN103546692A (en) * 2013-11-04 2014-01-29 苏州科达科技股份有限公司 Method and system achieving integrated camera automatic focusing
CN104836954A (en) * 2015-04-23 2015-08-12 金三立视频科技(深圳)有限公司 Zooming tracking method and apparatus
CN105611159A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Calibration method and device of zooming tracking curve
CN106341598A (en) * 2016-09-14 2017-01-18 北京环境特性研究所 Optical-lens automatic focusing system and method thereof

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460748A (en) * 2018-05-08 2019-11-15 杭州海康威视数字技术股份有限公司 A kind of video camera and monitoring system
CN110830710A (en) * 2018-08-14 2020-02-21 高新兴科技集团股份有限公司 Focusing method of super-long focal length lens
CN110830710B (en) * 2018-08-14 2023-07-11 高新兴科技集团股份有限公司 Focusing method of ultra-long focal lens
CN111147732B (en) * 2018-11-06 2021-07-20 浙江宇视科技有限公司 Focusing curve establishing method and device
CN111147732A (en) * 2018-11-06 2020-05-12 浙江宇视科技有限公司 Focusing curve establishing method and device
CN109497919A (en) * 2018-12-27 2019-03-22 重庆大学 A kind of endoscope for ENT system based on liquid lens
CN109769090A (en) * 2019-02-18 2019-05-17 桂林长海发展有限责任公司 A kind of focal length zoom quick focusing method and system based on image procossing
CN110025290A (en) * 2019-04-22 2019-07-19 深圳市吉斯迪科技有限公司 A kind of skin image capture means and its acquisition method
CN110009636A (en) * 2019-05-13 2019-07-12 招商局重庆交通科研设计院有限公司 A kind of varifocal vision detection system of the vcehicular tunnel of integrated form
CN110290315A (en) * 2019-06-14 2019-09-27 浙江大华技术股份有限公司 Tracking focus method, device, video camera and medium for PTZ camera
CN110793000A (en) * 2019-10-31 2020-02-14 广州市浩洋电子股份有限公司 Intelligent focusing method for head shaking computer lamp based on machine vision
CN111158103B (en) * 2019-12-31 2022-08-02 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN111158103A (en) * 2019-12-31 2020-05-15 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN115236826B (en) * 2019-12-31 2023-10-20 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN115236826A (en) * 2019-12-31 2022-10-25 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
WO2021136280A1 (en) * 2019-12-31 2021-07-08 Oppo广东移动通信有限公司 Zoom lens, camera module, and electronic device
WO2021136351A1 (en) * 2019-12-31 2021-07-08 Oppo广东移动通信有限公司 Zoom lens, camera module, and electronic device
CN111175952A (en) * 2019-12-31 2020-05-19 Oppo广东移动通信有限公司 Zoom lens, camera module and electronic device
CN111947590A (en) * 2020-02-17 2020-11-17 北京联睿科科技有限公司 Online detection device, method and system for building deformation
CN111432125B (en) * 2020-03-31 2022-04-05 合肥英睿系统技术有限公司 Focusing method and device, electronic equipment and storage medium
CN111432125A (en) * 2020-03-31 2020-07-17 合肥英睿系统技术有限公司 Focusing method and device, electronic equipment and storage medium
CN113938599A (en) * 2020-07-14 2022-01-14 浙江宇视科技有限公司 Electric lens focusing method and device, electronic equipment and storage medium
CN113938599B (en) * 2020-07-14 2024-03-08 浙江宇视科技有限公司 Electric lens focusing method and device, electronic equipment and storage medium
CN112383699A (en) * 2020-10-10 2021-02-19 北京索斯克科技开发有限公司 Intelligent debugging method and device for two variable lenses, electronic equipment and two variable lenses
CN112616020A (en) * 2020-12-17 2021-04-06 深圳市睿联技术股份有限公司 Photographing apparatus, focusing method thereof, and computer-readable storage medium
WO2022206629A1 (en) * 2021-03-30 2022-10-06 华为技术有限公司 Photographing method, terminal device and computer-readable storage medium
CN114355556A (en) * 2021-07-13 2022-04-15 广东弘景光电科技股份有限公司 Optical lens aligning system
CN114355556B (en) * 2021-07-13 2024-04-05 广东弘景光电科技股份有限公司 Optical lens core adjusting system

Also Published As

Publication number Publication date
CN107529011B (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN107529011B (en) A kind of motorized zoom lens control method
CN109451244B (en) Automatic focusing method and system based on liquid lens
CN109521547B (en) Variable-step-length automatic focusing method and system
CN101494737B (en) Integrated camera device and self-adapting automatic focus method
US8628193B2 (en) Automatic accommodative spectacles using a scene analyzer and focusing elements
US6478425B2 (en) System and method for automatically adjusting a lens power through gaze tracking
US7852398B2 (en) Image-taking apparatus
CN107395993B (en) Full-automatic focusing method and system
CN1291261C (en) Image-taking apparatus and focus control program for image-taking apparatus
CN103747179B (en) A kind of zoom tracking and system based on focusing evaluation of estimate feedback regulation
CN1611975B (en) Imaging apparatus
CN103513395A (en) Passive auto-focusing method and device
CN105527778A (en) Automatic focusing method for electric adjustable liquid lens
CN1450398A (en) Image pick up apparatus and camera system thereof
CN106375647A (en) Method, device and system for adjusting camera back focus
US20210373308A1 (en) Microscope system, smart medical device, automatic focusing method and storage medium
CN106210520A (en) A kind of automatic focusing electronic eyepiece and system
CN101950116B (en) Video automatic focusing method applied to multi-main-body scene
CN103973957A (en) Binocular 3D camera automatic focusing system and method
CN103487927A (en) Automatic focusing method of microscope
CN105785561A (en) Digital microscope and focusing method thereof
CN113923358A (en) Online automatic focusing method and system in flying shooting mode
CN100357779C (en) Automatic image focusing system and method
CN101135828A (en) Focus adjustment apparatus, image pickup apparatus, and control method
CN107241545A (en) Focusing method and focusing mechanism

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant