CN106210519A - A kind of focus method of the autofocus system of band memory function - Google Patents
A kind of focus method of the autofocus system of band memory function Download PDFInfo
- Publication number
- CN106210519A CN106210519A CN201610544661.XA CN201610544661A CN106210519A CN 106210519 A CN106210519 A CN 106210519A CN 201610544661 A CN201610544661 A CN 201610544661A CN 106210519 A CN106210519 A CN 106210519A
- Authority
- CN
- China
- Prior art keywords
- direct current
- current generator
- microprocessor
- focus
- pixel value
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS 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/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
The focus method of the autofocus system of the band memory function of the present invention, autofocus system is made up of microprocessor, motor drive module, direct current generator, infrared imaging camera lens and movement, focus method is the position with the output of maximum pixel value to be considered as this visual field focus on point the most clearly, and by corresponding direct current generator position storage;When switching in visual field, order about direct current generator by the field positions transferring storage and be switched fast.The focus method of the present invention, when focusing on for the first time, when pixel value reaches maximum, direct current generator position focuses on point the most clearly exactly, and microprocessor can be by location records, and next system electrification, direct current generator will rest on recorded position automatically.This autofocus system remembered, saves from start to system stability, finds the time of video articulation point, for whole system when switching visual field, saves the time of lens focus, improves efficiency.
Description
Technical field
The present invention relates to a kind of auto focusing method, in particular, particularly relate to that a kind of will to have maximum pixel value defeated
The position gone out stores as the most clear focus point, in order to can realize autofocus system quick, fine-focused during the switching of visual field
Method.
Background technology
Along with the development of monitoring trade, the functional requirement for monitoring device is more and more higher, more and more single-minded.In some fields
Closing, monitoring device what is required is simply that observes a limited number of important ingress-egress point position and there may be the some position of hidden danger.Though
So observation station position tails off, but the response time to equipment, the real-time of equipment improves requirement, it is desirable to its equipment can be cut rapidly
Change to fixed position, and gather clear video timely and preserve.At present for remote monitoring device, due to whole motor
Focusing on stroke longer, this makes, in automatic focusing, to occupy a lot of time, and motor needs to cover focusing stroke, so
After return again to articulation point, this leverages the real-time of equipment.If employing Manual focusing, as operator
Be unfamiliar with, often quickly can not find articulation point, too increase human cost.This allows for the Experience Degree fall of user
Low, probably due to equipment reaction is rapid not, and lost some important video datas.
Summary of the invention
The present invention is for the shortcoming overcoming above-mentioned technical problem, it is provided that the autofocus system of a kind of band memory function
Focus method.
The focus method of the autofocus system of the band memory function of the present invention, autofocus system is by microprocessor, electricity
Machine drives module, direct current generator, infrared imaging camera lens and movement composition, and direct current generator is provided with encoder;Microprocessor leads to
Cross motor drive module and order about direct current generator execution focus movement, the displacement information feedback that encoder is exported by motor drive module
To microprocessor;The image of infrared imaging camera lens collection is processed by movement, and by the input of analog video value to micro-process
The A/D port of device;It is characterized in that, focus method is the position with the output of maximum pixel value to be considered as this visual field focus on the most clear
Clear point, and by corresponding direct current generator position storage;When switching in visual field, order about direct current by the field positions transferring storage
Motor is switched fast.
The focus method of the autofocus system of the band memory function of the present invention, described focus method is come by following steps
Realize:
A). power-on self-test, after system electrification, direct current generator, under the control of motor drive module, orders about on infrared imaging camera lens
Varifocal mirror group run to the position of travel switch 2 by the position of travel switch 1, complete an omnidistance process of self-test;Micro-place
Varifocal mirror group is in the position of travel switch 1 by reason device, is defined as 0 position of direct current generator, using the reference as displacement motor
Point;B). visual field judges, the current field-of-view information of microprocessor judges stores the most, if stored, then performs step e),
Without storage, then perform step c);C). record focal position and pixel value, microprocessor orders about red by direct current generator
Outer imaging lens is moved to focus point by far-end, and periodically record motor position and the video of movement output on this position
Value;D). determining focus point and store, the pixel value gathered is judged by microprocessor, when occur pixel value first by little gradually
Increase and have again when being gradually reduced greatly, stop focusing on, then having the motor position of maximum pixel value, to be the focusing of this visual field the most clear
Position, order about direct current generator and move to focal position, and focal position is preserved;E). automatically focus on, microprocessor from
The data of storage read the focal position of this visual field, and orders about direct current generator and move on this focal position, i.e. complete quickly,
Automatically focus on.
The focus method of the autofocus system of the band memory function of the present invention, microprocessor is by RS232 bus and electricity
Machine drives module to communicate, to realize motor control instruction and the transmission of motor position information;Microprocessor connects EEPROM
Memorizer.
The invention has the beneficial effects as follows: the focus method of the autofocus system of the band memory function of the present invention, micro-process
Device orders about direct current generator by motor drive module and performs zoom action, and encoder is through motor drive module feedback direct current generator
Positional information;Movement A/D interface on microprocessor feeds back the pixel value of gathered infrared image.For the first time visual field is focused on
Time, microprocessor orders about direct current generator and focuses on, and when pixel value reaches maximum, direct current generator position this moment focuses on the most clear exactly
Clear point, microprocessor can be by motor position record now, and next system electrification, direct current generator will rest on automatically to be remembered
The position of record.This autofocus system remembered, saves from start to system stability, find video articulation point time
Between, simultaneously as recordable different visual field, the articulation point of different distance, this also be whole system when switching visual field, save
The time of lens focus.This fixes for observation station, and visual field switching requires rapid environment, improves efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the autofocus system of the band memory function of the present invention;
Fig. 2 is the schematic diagram of the focus method of the autofocus system of the band memory function of the present invention.
Detailed description of the invention
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
As it is shown in figure 1, give the schematic diagram of the autofocus system of the band memory function of the present invention, it is by micro-process
Device, motor drive module, direct current generator, infrared imaging camera lens, movement form, and microprocessor has collection, computing and control and makees
With, direct current generator is controlled by microprocessor through motor drive module, orders about direct current generator and rotates and reverse, it is achieved infrared one-tenth
Focusing as camera lens.Being provided with encoder on direct current generator, encoder is for exporting the direct current generator movement relative to reference point
Position, the direct current generator shift position of encoder output is in motor drive module feeds back to microprocessor, to realize direct current
What motor moved is precisely controlled.
The combination of direct current generator and encoder instead of motor, and it is to control speed than the advantage of simple motor
Degree is faster.Encoder can make direct current generator as motor, is accurate to each step that motor moves, and this step number can be by electricity
Machine drives module feedback in microprocessor.
Motor drive module is connected with microprocessor by RS232 interface, existing two-way communication.Motor drive module can be adopted
With being integrated with the module that ASCII character instructs, whole ASCII character instruction set comprises motor move and position enquiring instruction.
Instruction from microprocessor can be resolved by motor drive module, thus control direct current generator and move, and stops and position
Information inquiry.
Movement image gathered to infrared imaging camera lens processes, with the AD on microprocessor with the use of, can survey
Amount is to different visual fields, the pixel value under different distance.What this pixel value reacted is exactly the definition of current image, and pixel value is more
Greatly, image is the most clear.The positional value that this value and encoder return is combined to one piece, is known that under diverse location the video of correspondence
Value.The memory function of this system is exactly to be embodied on the record to pixel value and positional value.
As in figure 2 it is shown, give the schematic diagram of the focus method of the autofocus system of the band memory function of the present invention, its
Realized by following steps:
A). power-on self-test, after system electrification, direct current generator, under the control of motor drive module, orders about on infrared imaging camera lens
Varifocal mirror group run to the position of travel switch 2 by the position of travel switch 1, complete an omnidistance process of self-test;Micro-place
Varifocal mirror group is in the position of travel switch 1 by reason device, is defined as 0 position of direct current generator, using the reference as displacement motor
Point;
B). visual field judges, the current field-of-view information of microprocessor judges stores the most, if stored, then performs step e),
Without storage, then perform step c);
C). record focal position and pixel value, microprocessor orders about infrared imaging camera lens by far-end to focusing by direct current generator
Point motion, and periodically record motor position and the pixel value of movement output on this position;
In this step, the distance that direct current generator moves can be larger on the basis of empirical value, but will not brush up against travel switch, this
It is to leave surplus to automatically focusing on.In automatic focusing, unidirectional current chance according to motor drive module control with
Fixing step-length moves.
D). determining focus point and store, the pixel value gathered is judged by microprocessor, when pixel value occur first by little
It is gradually increased and has when being gradually reduced greatly, stopping focusing on, then there is the motor position of maximum pixel value and be the focusing of this visual field
Position clearly, orders about direct current generator and moves to focal position, and preserved by focal position;
In this step, microprocessor can ceaselessly read the pixel value of movement feedback, compares before and after the pixel value accepted every time,
When microprocessor receives a bigger pixel value, microprocessor sends position enquiring exactly and instructs motor driving mould
Block, inquires about current motor positions, is saved in the EEPROM that microprocessor carries by this location records.When finding that pixel value is becoming
When linearly reducing, motor can stop mobile, again reversely arrives the position preserved, and this position is exactly the clear position under this visual field
Put.Until needing to again switch under this visual field next time, microprocessor will directly read the position of storage in EEPROM, logical
Cross motor drive module and arrive this position.Eliminate above-mentioned automatic focusing, improve the efficiency of system.
E). automatically focusing on, microprocessor reads the focal position of this visual field from the data of storage, and orders about direct current generator
Move on this focal position, i.e. complete to focus on fast and automatically.
Claims (3)
1. a focus method for the autofocus system of band memory function, autofocus system is driven by microprocessor, motor
Module, direct current generator, infrared imaging camera lens and movement composition, direct current generator is provided with encoder;Microprocessor passes through motor
Driving module to order about direct current generator and perform focus movement, the displacement information that encoder exports is fed back to micro-place by motor drive module
In reason device;The image of infrared imaging camera lens collection is processed by movement, and by the A/D of analog video value input to microprocessor
Port;It is characterized in that, focus method is the position with the output of maximum pixel value to be considered as this visual field focus on point the most clearly,
And by corresponding direct current generator position storage;When switching in visual field, order about direct current generator by the field positions transferring storage fast
Speed switching.
The focus method of the autofocus system of band memory function the most according to claim 1, it is characterised in that: described poly-
Burnt method is realized by following steps:
A). power-on self-test, after system electrification, direct current generator, under the control of motor drive module, orders about on infrared imaging camera lens
Varifocal mirror group run to the position of travel switch 2 by the position of travel switch 1, complete an omnidistance process of self-test;Micro-place
Varifocal mirror group is in the position of travel switch 1 by reason device, is defined as 0 position of direct current generator, using the reference as displacement motor
Point;
B). visual field judges, the current field-of-view information of microprocessor judges stores the most, if stored, then performs step e),
Without storage, then perform step c);
C). record focal position and pixel value, microprocessor orders about infrared imaging camera lens by far-end to focusing by direct current generator
Point motion, and periodically record motor position and the pixel value of movement output on this position;
D). determining focus point and store, the pixel value gathered is judged by microprocessor, when occur pixel value first by little gradually
Increase and have again when being gradually reduced greatly, stop focusing on, then having the motor position of maximum pixel value, to be the focusing of this visual field the most clear
Position, order about direct current generator and move to focal position, and focal position is preserved;
E). automatically focusing on, microprocessor reads the focal position of this visual field from the data of storage, and orders about direct current generator motion
To this focal position, i.e. complete to focus on fast and automatically.
The focus method of the autofocus system of band memory function the most according to claim 2, it is characterised in that: micro-process
Device is communicated with motor drive module by RS232 bus, to realize motor control instruction and the transmission of motor position information;Micro-
Processor connects eeprom memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610544661.XA CN106210519A (en) | 2016-07-12 | 2016-07-12 | A kind of focus method of the autofocus system of band memory function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610544661.XA CN106210519A (en) | 2016-07-12 | 2016-07-12 | A kind of focus method of the autofocus system of band memory function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106210519A true CN106210519A (en) | 2016-12-07 |
Family
ID=57476423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610544661.XA Pending CN106210519A (en) | 2016-07-12 | 2016-07-12 | A kind of focus method of the autofocus system of band memory function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210519A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995982A (en) * | 2017-12-29 | 2019-07-09 | 浙江宇视科技有限公司 | A kind of method, apparatus that motor-driven lens focus automatically and video camera |
CN111246082A (en) * | 2019-12-31 | 2020-06-05 | 深圳市景阳科技股份有限公司 | Direct current motor focusing method and device, terminal equipment and storage medium |
CN114414064A (en) * | 2021-12-28 | 2022-04-29 | 河南三谱睿光电科技有限公司 | Infrared large zoom lens optical axis deviation self-correcting device |
CN115061415A (en) * | 2022-08-18 | 2022-09-16 | 赫比(成都)精密塑胶制品有限公司 | Automatic process monitoring method and device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101660946A (en) * | 2009-09-28 | 2010-03-03 | 山东神戎电子股份有限公司 | Auto-focusing method and device of thermal imager |
CN102967375A (en) * | 2012-12-11 | 2013-03-13 | 山东神戎电子股份有限公司 | Infrared thermal imaging instrument and method capable of implementing presetting function based on stepping motor |
CN103033267A (en) * | 2012-12-11 | 2013-04-10 | 山东神戎电子股份有限公司 | Zoom infrared thermal imager with presetting bit arrangement and invoking function and method |
CN204178032U (en) * | 2014-11-20 | 2015-02-25 | 山东神戎电子股份有限公司 | There is the low-light level night vision device of Power focus and presetting bit function |
CN105306825A (en) * | 2015-11-18 | 2016-02-03 | 成都中昊英孚科技有限公司 | Novel infrared image focusing system and use method thereof |
-
2016
- 2016-07-12 CN CN201610544661.XA patent/CN106210519A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101660946A (en) * | 2009-09-28 | 2010-03-03 | 山东神戎电子股份有限公司 | Auto-focusing method and device of thermal imager |
CN102967375A (en) * | 2012-12-11 | 2013-03-13 | 山东神戎电子股份有限公司 | Infrared thermal imaging instrument and method capable of implementing presetting function based on stepping motor |
CN103033267A (en) * | 2012-12-11 | 2013-04-10 | 山东神戎电子股份有限公司 | Zoom infrared thermal imager with presetting bit arrangement and invoking function and method |
CN204178032U (en) * | 2014-11-20 | 2015-02-25 | 山东神戎电子股份有限公司 | There is the low-light level night vision device of Power focus and presetting bit function |
CN105306825A (en) * | 2015-11-18 | 2016-02-03 | 成都中昊英孚科技有限公司 | Novel infrared image focusing system and use method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995982A (en) * | 2017-12-29 | 2019-07-09 | 浙江宇视科技有限公司 | A kind of method, apparatus that motor-driven lens focus automatically and video camera |
CN109995982B (en) * | 2017-12-29 | 2021-06-22 | 浙江宇视科技有限公司 | Method and device for automatically focusing electric lens and camera |
CN111246082A (en) * | 2019-12-31 | 2020-06-05 | 深圳市景阳科技股份有限公司 | Direct current motor focusing method and device, terminal equipment and storage medium |
CN114414064A (en) * | 2021-12-28 | 2022-04-29 | 河南三谱睿光电科技有限公司 | Infrared large zoom lens optical axis deviation self-correcting device |
CN115061415A (en) * | 2022-08-18 | 2022-09-16 | 赫比(成都)精密塑胶制品有限公司 | Automatic process monitoring method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210519A (en) | A kind of focus method of the autofocus system of band memory function | |
CN103364921B (en) | Focus-regulating device and camera arrangement | |
US10230887B2 (en) | Lens barrel, replacement lens, imaging device, and control program | |
CN101672974B (en) | Autofocus apparatus and method for controlling the same | |
CN104503189A (en) | Automatic focusing method | |
CN110646914A (en) | Drive device idle-loop-back driving method, device, equipment and storage medium | |
CN202502330U (en) | High zoom and rapid automatic focusing imaging system with motor driving for focusing | |
CN106019550A (en) | High speed micro scanning dynamic focusing device and focusing tracking method | |
CN105549174A (en) | Photographing device and control method for photographing device | |
CN108859799A (en) | A kind of electric vehicle automatic charging system and method | |
CN104503188A (en) | Automatic focusing module and mobile equipment | |
CN102628979B (en) | Zoom type lens barrel and image pickup apparatus | |
CN103200393B (en) | A kind of method and device realizing video monitoring regional scanning | |
CN102902132A (en) | Automatic focusing method and device | |
CN104094150A (en) | Lens device, drive method, drive program, recording medium, and image capture device | |
CN102377940B (en) | Image pickup apparatus and drive control method of lens | |
CN109995982B (en) | Method and device for automatically focusing electric lens and camera | |
CN109991714A (en) | Atomatic focusing method, autofocus system and projection device | |
CN205901896U (en) | But automatic focusing's internet protocol camera after control becomes doubly | |
CN112653810B (en) | Heavy-load equipment and focusing method based on heavy-load equipment | |
CN108885325B (en) | Lens assembly, movable lens operating device, lens driving method and lens driver | |
CN103135316B (en) | Zoom lens mechanism and camera head thereof | |
CN202949497U (en) | Focusing speed automatic control device for telephoto lenses | |
CN205920270U (en) | A dynamic focusing mechanism for high -speed microscan | |
CN103297665A (en) | Image acquisition system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
RJ01 | Rejection of invention patent application after publication |