CN109391776A - A kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly - Google Patents

A kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly Download PDF

Info

Publication number
CN109391776A
CN109391776A CN201811498057.3A CN201811498057A CN109391776A CN 109391776 A CN109391776 A CN 109391776A CN 201811498057 A CN201811498057 A CN 201811498057A CN 109391776 A CN109391776 A CN 109391776A
Authority
CN
China
Prior art keywords
focusing
visual field
zoom
zoom motor
small electromotor
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
CN201811498057.3A
Other languages
Chinese (zh)
Other versions
CN109391776B (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.)
Luoyang Institute of Electro Optical Equipment AVIC
Original Assignee
Luoyang Institute of Electro Optical Equipment AVIC
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 Luoyang Institute of Electro Optical Equipment AVIC filed Critical Luoyang Institute of Electro Optical Equipment AVIC
Priority to CN201811498057.3A priority Critical patent/CN109391776B/en
Publication of CN109391776A publication Critical patent/CN109391776A/en
Application granted granted Critical
Publication of CN109391776B publication Critical patent/CN109391776B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Lens Barrels (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

The present invention proposes a kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly, utilize articulation point and visual field size of the zoom motor with focusing small electromotor in multiple positions in parallel light tube and turntable calibration infrared assembly, being calculated by linear interpolation arithmetic can make image keep clearly zoom motor and focusing small electromotor position curve and its corresponding visual field, infrared visual field given value even variation is kept according to zoom instructions when control, the given value of zoom motor and small electromotor position of focusing is calculated according to visual field and clear curve of focusing, use the current location of photoelectric encoder measurement zoom motor and small electromotor of focusing, according to the difference of the given value of motor current location and position, motor and eyeglass is set to be maintained at given position by control algolithm to make image keep clear.The present invention does not need Image Information Processing, and operand is small, at low cost, and adjustment speed is fast, image can be kept clear always on entire zoom stroke when observing distant objects.

Description

A kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly
Technical field
The invention belongs to automatic control technologys, are related to a kind of novel tune for photoelectric nacelle continuous vari-focus infrared assembly Burnt compensating control method.
Background technique
Currently, photoelectric nacelle is more and more to replace traditional more visual field infrared assemblies using continuous vari-focus infrared assembly, and It is more complicated that the zoom focusing of continuous vari-focus infrared assembly controls more visual field infrared assembly.
Continuous vari-focus infrared assembly in existing domestic and international photoelectric nacelle generally uses manual focusing, or based at image Reason carries out focusing compensation.
Manual focusing again is needed after each zoom of manual focusing, operating quantity is very big, and efficiency is very low.Based on image procossing into Focusing compensation of going carries out image-processing operations after needing to acquire image and then moves back and forth searching by focus adjusting mechanism dragging eyeglass Articulation point, image procossing calculation amount is larger, at high cost, and speed of focusing is slower.
Summary of the invention
In order to solve the problems existing in the prior art, the present invention proposes a kind of for photoelectric nacelle continuous vari-focus infrared assembly Focusing compensating control method.Distant object is observed since photoelectric nacelle generally more, this focusing compensating control method ensure that infrared Variable focus package visual field even variation on entire zoom stroke, and focal length is directed at always infinite point, thus in photoelectric nacelle Infrared assembly keeps image clear always when observing distant objects, and has and do not need Image Information Processing, and operand is small, at The advantages that this is low, and adjustment speed is fast, does not need manual focusing again generally in each zoom, substantially reduces operating quantity, Improve task efficiency.
Basic principle of the invention is: utilizing zoom motor and focusing compensation in parallel light tube and turntable calibration infrared assembly For motor in the articulation point and visual field size of multiple positions, being calculated by linear interpolation arithmetic can make image keep clearly zoom Motor and focusing small electromotor position curve and its corresponding visual field keep infrared visual field given when control according to zoom instructions It is worth even variation, the given value of zoom motor and small electromotor position of focusing is calculated according to visual field and clear curve of focusing, is used Photoelectric encoder measures the current location of zoom motor and small electromotor of focusing, according to the given value of motor current location and position Difference, so that motor and eyeglass is maintained at given position by control algolithm to make image keep clear.
The technical solution of the present invention is as follows:
A kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly, it is characterised in that: packet Include following steps:
Step 1: the clear curve of infrared assembly being demarcated: on the zoom motor stroke of continuous vari-focus infrared assembly M point of covering stroke is set, and obtaining zoom motor encoder values corresponding to this M location point is respectively P1,P2, P3..., PM;Continuous vari-focus infrared assembly is placed on turntable, infinite point target in parallel light tube is directed at, zoom motor is locked It is scheduled on P1Position controls the focusing small electromotor of continuous vari-focus infrared assembly, and focusing compensation at this time is write down when target is clear Motor encoder value T1, and the infrared image orientation visual field degree θ using turntable measurement at this time1;Zoom motor is locked in P again2 Position repeats above procedure, obtains corresponding focusing small electromotor encoder values T2With infrared image orientation visual field degree θ2, according to It is secondary to analogize, zoom motor is obtained in P1,P2,P3..., PMFocusing small electromotor encoder values T corresponding to position1,T2,T3..., TMAnd infrared image orientation visual field degree θ123..., θM
Step 2: in practical control process, self-test being carried out to continuous vari-focus infrared assembly, adjusts zoom motor after self-test To P1Focusing small electromotor is adjusted to T by position1Position;It is arranged one 0 to the variable x between N, initial value 0, wherein N For setting value;When receiving makes the increased zoom commands of visual field, x is made from increasing 1 when receiving in each calculating cycle finish time When the zoom commands that visual field reduces, x is subtracted 1 certainly in each calculating cycle finish time;
Step 3: in each calculating cycle, the given value θ of current field is calculated according to current x valuex:
And determine θxLocating infrared image orientation visual field degree section, if θxIn θnWith θn+1Between, n=1,2 ..., M, then according to formula
Obtain the given value P of zoom motor positionx;Further according to PxCalculate the focusing compensation that image clearly needs at this time of sening as an envoy to The given value T of motor positionx:
Obtain the given value P of zoom motor positionxWith the given value T of focusing small electromotor positionxAfterwards, zoom motor is acquired With the present position values of focusing small electromotor, zoom motor and focusing small electromotor are adjusted according to corresponding position deviation, make to become Burnt motor and focusing small electromotor are on given position.
Beneficial effect
The present invention makes the infrared variable focus package of photoelectric nacelle visual field even variation on entire zoom stroke, and focal length one Straight alignment infinite point has to not have to frequent manual focusing in the infrared zoom of gondola and does not need Image Information Processing, The advantages that operand is small, at low cost, and adjustment speed is fast
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the infrared focusing compensation control block diagram of photoelectric nacelle continuous vari-focus of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the embodiment is exemplary, it is intended to it is used to explain the present invention, and It is not considered as limiting the invention.
Photoelectric nacelle continuous vari-focus infrared assembly can control there are two eyeglass, with the fortune of two linear motor control eyeglasses Dynamic, zoom motor controls the movement of focus-variable lens, the movement of focusing small electromotor control focusing compensation eyeglass.It is compiled with two photoelectricity Code device acquires the turned position of two motors respectively, to calculate the mobile distance of eyeglass.
The clear curve of infrared assembly is demarcated first: being set on the zoom motor stroke of continuous vari-focus infrared assembly The M roughly equidistant point of covering stroke is set, takes M=20 in the present embodiment, and obtains the electricity of zoom corresponding to this M location point Machine encoder values are respectively P1,P2,P3..., PM;Continuous vari-focus infrared assembly is placed on turntable, is aligned infinite in parallel light tube Zoom motor is locked in P by distant object1Position controls the focusing small electromotor of continuous vari-focus infrared assembly, when target is clear When write down focusing small electromotor encoder values T at this time1, and the infrared image orientation visual field degree θ using turntable measurement at this time1; Zoom motor is locked in P again2Position repeats above procedure, obtains corresponding focusing small electromotor encoder values T2With infrared figure Image aspect visual field degree θ2, and so on, zoom motor is obtained in P1,P2,P3..., PMFocusing small electromotor corresponding to position Encoder values T1,T2,T3..., TMAnd infrared image orientation visual field degree θ123..., θM
Step 2: in practical control process, self-test being carried out to continuous vari-focus infrared assembly, adjusts zoom motor after self-test To P1Focusing small electromotor is adjusted to T by position1Position;It is arranged one 0 to the variable x between N, initial value 0, wherein N For setting value, N=5000 is taken in the present embodiment;When receiving makes the increased zoom commands of visual field, terminate in each calculating cycle X, when receiving the zoom commands for reducing visual field, is subtracted 1 certainly in each calculating cycle finish time from increasing 1 by x by the moment.
Step 3: in each calculating cycle, the given value θ of current field is calculated according to current x valuex:
When infrared assembly is to visual field augment direction zoom, θ at the uniform velocity becomes larger at any time, when infrared assembly is to visual field reduction side When to zoom, θ at the uniform velocity becomes smaller at any time.Determine θxLocating infrared image orientation visual field degree section, if θxIn θnWith θn+1 Between, n=1,2 ..., M utilize calibration result linear interpolation then according to formula:
Obtain the given value P of zoom motor positionx;Further according to PxCalculate the focusing compensation that image clearly needs at this time of sening as an envoy to The given value T of motor positionx:
T ceaselessly is updated according to zoom instructions using above-mentioned algorithmxAnd PxValue obtain zoom in each calculating cycle The given value P of motor positionxWith the given value T of focusing small electromotor positionxAfterwards, acquisition zoom motor and small electromotor of focusing Present position values adjust zoom motor and focusing small electromotor according to corresponding position deviation, make zoom motor and focusing compensation Motor is on given position.
The algorithm is at the uniform velocity become larger at any time by the visual field θ that interpolation arithmetic maintains infrared assembly, while being transported by interpolation Calculation ensure that when infrared assembly zoom be on the position of M point of calibration not only clearly, while on other aspects be also clearly Clear.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.

Claims (1)

1. a kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly, it is characterised in that: including following Step:
Step 1: the clear curve of infrared assembly being demarcated: being arranged on the zoom motor stroke of continuous vari-focus infrared assembly M point of stroke is covered, and obtaining zoom motor encoder values corresponding to this M location point is respectively P1,P2,P3..., PM; Continuous vari-focus infrared assembly is placed on turntable, infinite point target in parallel light tube is directed at, zoom motor is locked in P1Position It sets, controls the focusing small electromotor of continuous vari-focus infrared assembly, focusing small electromotor coding at this time is write down when target is clear Device value T1, and the infrared image orientation visual field degree θ using turntable measurement at this time1;Zoom motor is locked in P again2Position, weight Multiple above procedure, obtains corresponding focusing small electromotor encoder values T2With infrared image orientation visual field degree θ2, and so on, Zoom motor is obtained in P1,P2,P3..., PMFocusing small electromotor encoder values T corresponding to position1,T2,T3..., TMAnd it is red Outer image orientation visual field degree θ123..., θM
Step 2: in practical control process, self-test being carried out to continuous vari-focus infrared assembly, zoom motor is adjusted to P after self-test1Position It sets, focusing small electromotor is adjusted to T1Position;It is arranged one 0 to the variable x between N, initial value 0, wherein N is setting Value;When receiving makes the increased zoom commands of visual field, subtract visual field when receiving from increasing 1 x in each calculating cycle finish time When small zoom commands, in each calculating cycle finish time by x from subtracting 1;
Step 3: in each calculating cycle, the given value θ of current field is calculated according to current x valuex:
And determine θxLocating infrared image orientation visual field degree section, if θxIn θnWith θn+1Between, n=1,2 ..., M, then According to formula
Obtain the given value P of zoom motor positionx;Further according to PxCalculate the focusing small electromotor that image clearly needs at this time of sening as an envoy to The given value T of positionx:
Obtain the given value P of zoom motor positionxWith the given value T of focusing small electromotor positionxAfterwards, zoom motor and tune are acquired The present position values of burnt small electromotor adjust zoom motor and focusing small electromotor according to corresponding position deviation, keep zoom electric Machine and focusing small electromotor are on given position.
CN201811498057.3A 2018-12-07 2018-12-07 Focusing compensation control method for photoelectric pod continuous zooming infrared assembly Active CN109391776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811498057.3A CN109391776B (en) 2018-12-07 2018-12-07 Focusing compensation control method for photoelectric pod continuous zooming infrared assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811498057.3A CN109391776B (en) 2018-12-07 2018-12-07 Focusing compensation control method for photoelectric pod continuous zooming infrared assembly

Publications (2)

Publication Number Publication Date
CN109391776A true CN109391776A (en) 2019-02-26
CN109391776B CN109391776B (en) 2020-11-24

Family

ID=65429027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811498057.3A Active CN109391776B (en) 2018-12-07 2018-12-07 Focusing compensation control method for photoelectric pod continuous zooming infrared assembly

Country Status (1)

Country Link
CN (1) CN109391776B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433333A (en) * 2020-11-19 2021-03-02 湖北久之洋红外系统股份有限公司 Synchronous parfocal error compensation method for large-zoom-ratio continuous zooming infrared lens

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070211912A1 (en) * 2006-03-10 2007-09-13 Altus Technology Inc. Method and apparatus for lens auto-focusing in camera module test
CN104092933A (en) * 2014-04-11 2014-10-08 华为技术有限公司 Method and device for carrying out temperature compensation on camera
CN108259760A (en) * 2018-03-22 2018-07-06 浙江大华技术股份有限公司 A kind of zoom focus-compensating method and device of ball cover ball machine
CN108830216A (en) * 2018-06-11 2018-11-16 北京理工大学 A kind of adjustable continuous vari-focus target identification system of visual field and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070211912A1 (en) * 2006-03-10 2007-09-13 Altus Technology Inc. Method and apparatus for lens auto-focusing in camera module test
CN104092933A (en) * 2014-04-11 2014-10-08 华为技术有限公司 Method and device for carrying out temperature compensation on camera
CN108259760A (en) * 2018-03-22 2018-07-06 浙江大华技术股份有限公司 A kind of zoom focus-compensating method and device of ball cover ball machine
CN108830216A (en) * 2018-06-11 2018-11-16 北京理工大学 A kind of adjustable continuous vari-focus target identification system of visual field and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433333A (en) * 2020-11-19 2021-03-02 湖北久之洋红外系统股份有限公司 Synchronous parfocal error compensation method for large-zoom-ratio continuous zooming infrared lens
CN112433333B (en) * 2020-11-19 2022-04-05 湖北久之洋红外系统股份有限公司 Synchronous parfocal error compensation method for large-zoom-ratio continuous zooming infrared lens

Also Published As

Publication number Publication date
CN109391776B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN107529011B (en) A kind of motorized zoom lens control method
US9354046B2 (en) Three dimensional shape measurement apparatus, control method therefor, and storage medium
CN106341596B (en) A kind of focus method and device
CN108519654B (en) Automatic focusing method based on electro-hydraulic adjustable-focus lens
CN105516589A (en) Intelligent exposure method and system based on face recognition
CN103345059A (en) Method and system for zooming of reflective deformable mirror
CN103690137A (en) Endoscope light source brightness automatic adjusting method and device
CN104730677A (en) Uncooled thermal infrared imager continuous zooming and fast automobile focusing circuit and method
CN110793000B (en) Intelligent focusing method for head shaking computer lamp based on machine vision
CN105785561B (en) A kind of digital microscope and its focus method
CN110233963A (en) A kind of binocular camera spacing adjusting method and device
CN106341598A (en) Optical-lens automatic focusing system and method thereof
CN103020612A (en) Device and method for acquiring iris images
CN106060376A (en) Display control apparatus, display control method, and image capturing apparatus
CN111650718A (en) Infrared continuous zoom lens and definition compensation method thereof
CN108844494A (en) Method based on optical means detection glasses curvature of curved surface parameter
CN109391776A (en) A kind of focusing compensating control method for photoelectric nacelle continuous vari-focus infrared assembly
CN104238236A (en) Movement lens zoom following method and device
CN108805940A (en) A kind of fast algorithm of zoom camera track and localization during zoom
CN106104350B (en) The bearing calibration of lens devices and lens devices
CN104980661B (en) A kind of method and apparatus of pick-up lens self-correcting
CN111722526B (en) Multi-view-field switching calibration control method based on temperature compensation and computer readable storage medium
CN109889728B (en) Moving target real-time automatic focusing method based on electro-hydraulic adjustable focusing lens
CN103916584A (en) Image acquisition system
WO2015007927A8 (en) Calibration method for improving the autofocusing speed in digital cameras

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