CN105116543A - A laser night vision device synchronous zooming time-delay optimization method - Google Patents
A laser night vision device synchronous zooming time-delay optimization method Download PDFInfo
- Publication number
- CN105116543A CN105116543A CN201510503655.5A CN201510503655A CN105116543A CN 105116543 A CN105116543 A CN 105116543A CN 201510503655 A CN201510503655 A CN 201510503655A CN 105116543 A CN105116543 A CN 105116543A
- Authority
- CN
- China
- Prior art keywords
- laser
- zoom
- stepper motor
- order
- camera
- 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
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B27/00—Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
- G02B27/0012—Optical design, e.g. procedures, algorithms, optimisation routines
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to the technical field of laser night vision device optimization, and specifically relates to a laser night vision device synchronous zooming time-delay optimization method. Synchronous zooming time-delay optimization is carried out in a software mode, and no extra hardware expense is added, thereby presenting a video monitoring effect to a user at a relatively low cost. According to the laser night vision device synchronous zooming method of the invention, in a condition that the smoothness of a laser stepping motor is ensured, synchronous zooming time-delay reaches a minimum level, thereby reducing dependence on hardware and avoiding increase of extra cost.
Description
Technical field
The present invention relates to laser night-vision device optimisation technique field, particularly a kind of laser night-vision device synchronous zoom delay Optimization method.
Background technology
Laser night-vision device is by infrared laser luminaire, and Varifocal zoom lens, thermal camera, high definition motorized zoom lens, the equipment such as The Cloud Terrace form.In video camera high definition motorized zoom lens zoom process, laser illuminator Varifocal zoom lens also wants synchronous zoom, to mate the change of camera field of view angle, presents to the good video monitoring effect of user.
Video camera high definition motorized zoom lens is by DC motor Driver, and camera zoom value is that camera zoom potentiometer output voltage values is converted to through A/D, affects comparatively large, have certain error by circuit board wiring.Laser illuminator Varifocal zoom lens is by driving stepper motor, and laser zooming value just can be determined by stepper motor steps, has the advantage that precision is high.Stepper motor is opened loop control unit stepper motor part electric impulse signal being changed into angular displacement or displacement of the lines, when step actuator receives a pulse signal, it rotates a fixing angle with regard to Driving Stepping Motor by the direction of setting, be called " step angle ", its rotation runs step by step with fixing angle.Pilot angle displacement can be carried out by gating pulse number, thus reach the object of accurately location; Speed and the acceleration of electric machine rotation can be controlled simultaneously by gating pulse frequency, thus reach the object of speed governing.
In synchronizing focus process, because the position of camera lens direct current generator can not accurately be located, camera lens and laser lens arrival assigned address can not be controlled simultaneously, therefore follow-up mechanism can only be taked, first control camera lens zoom, tell laser control module every the set time zoom position, then laser lens zoom is to assigned address, so the problem that there is time delay in synchronous zoom process is inevitable.
Summary of the invention
In order to solve the problem of prior art, the invention provides a kind of laser night-vision device synchronous zoom delay Optimization method, it, when ensureing laser stepping motor smooth degree, makes synchronous zoom time delay reach minimum, reduce the degree of dependence to hardware, can not extra cost be increased.
The technical solution adopted in the present invention is as follows:
A kind of laser night-vision device synchronous zoom delay Optimization method, comprises the following steps:
1) camera zoom value x is obtained when camera lens zoom every set time t;
2) laser stepper motor steps y is calculated according to the corresponding relation determined by camera zoom value x;
2.1, calculate and linearly close k: obtain camera zoom value x the shortest burnt time value x1 and most focal length time value x2, when the shortest Jiao, adjustment stepper motor to hot spot mates and this position is set to the initial point of stepper motor steps y, when most focal length, adjustment stepper motor to hot spot mates and obtains the value y2 of stepper motor steps y now, k=y2/ (x2-x1);
2.2, laser stepper motor steps y is calculated according to formula y=k (x-x1) by camera zoom value x.
3) obtain stepper motor according to formula s=t/y often to make a move required time s;
4) stepper motor steps y and stepper motor are often walked required time s and write synchronous zoom order array { y1, s1, y2, s2, yn, sn}, camera lens and laser stepper motor are controlled by camera lens control module and these two standalone modules of laser step motor control module, two standalone modules are by synchronous zoom order array { y1, s1, y2, s2, yn, sn} is associated, in camera zoom process, camera lens control module writes order in order array, laser step motor control module reading order from order array controls laser illuminator light angle and camera field of view angle coupling,
5) check in synchronous zoom order array whether have non-fill order, if there is order, controls laser stepper motor and to walk about the step number y specified by the speed s specified, thus control laser stepper motor and arrive the position of specifying, if do not order, stepper motor stops operating wait-receiving mode order;
6) if execute the current command, 5 are gone to step, can guarantee when camera zoom according to the time s that step 3 calculates, camera lens control module matches to the speed of order array write order and the speed of laser step motor control module reading order from order array.
Set time, t was set by macro definition in software.
Camera zoom value x is converted to through A/D by camera lens zoom potentiometer.
The beneficial effect that technical scheme provided by the invention is brought is:
The present invention adopts software mode to carry out synchronous zoom delay Optimization, does not increase extra hardware expenditure, presents to user video monitoring effect with lower cost.
By setting t value, can avoid, because circuit board wiring problem causes camera lens zoom potentiometer to affect synchronous zoom effect through A/D sampled value precision is low, being made up the deficiency on hardware by software, reducing the dependence to hardware.
For camara module and the laser lighting module of different model, only need to set suitable t value in testing, synchronous zoom time delay just can be made to reach minimum, also can ensure the smoothness of laser stepper motor in synchronous zoom process simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of laser night-vision device synchronous zoom delay Optimization method of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
As shown in Figure 1, a kind of laser night-vision device synchronous zoom delay Optimization method of the present embodiment, it comprises the following steps:
1) obtain camera zoom value x when camera lens zoom every set time t, the set time, t was set by macro definition in software, convenient amendment; Camera zoom value x is converted to through A/D by camera lens zoom potentiometer, there is certain error, if the too little meeting of setting t value causes the swing when synchronous zoom of laser stepper motor, if setting t value too conference causes synchronous zoom time delay long, therefore need in test process for t gets optimum value;
2) calculating linearly closes k, obtain camera zoom value x the shortest burnt time value x1 and most focal length time value x2, when the shortest Jiao, adjustment stepper motor to hot spot mates and this position is set to the initial point of stepper motor steps y, when most focal length, adjustment stepper motor to hot spot mates and obtains the value y2 of stepper motor steps y now, k=y2/ (x2-x1);
3) laser stepper motor steps y is calculated according to formula y=k (x-x1) by camera zoom value x;
4) obtain stepper motor according to formula s=t/y often to make a move required time s;
5) stepper motor steps y and stepper motor are often walked required time s and write synchronous zoom order array { y1, s1, y2, s2, yn, sn}, camera lens and laser stepper motor are controlled by two standalone modules in software, two standalone modules are by synchronous zoom order array { y1, s1, y2, s2, yn, sn} is associated, in camera zoom process, camera lens control module writes order in order array, laser step motor control module reading order from order array controls laser illuminator light angle and camera field of view angle coupling, thus reach the effect of synchronous zoom,
6) check in synchronous zoom order array whether have non-fill order, if there is order, controls laser stepper motor and to walk about the step number y specified by the speed s specified, thus control laser stepper motor arrives the position of specifying, reach the effect of synchronous zoom, if do not order, stepper motor stops operating wait-receiving mode order;
7) if execute the current command, 6 are gone to step, can guarantee when camera zoom according to the time s that step 4 calculates, camera lens control module matches to the speed of order array write order and the speed of laser step motor control module reading order from order array; Synchronous zoom time delay can be caused long if s value is less than formulae discovery value, laser stepper motor in synchronous zoom process can be caused to have pause if s value is greater than formulae discovery value.
According to the present embodiment, adopt software mode to carry out synchronous zoom delay Optimization, do not increase extra hardware expenditure, present to user video monitoring effect with lower cost.
Above-mentioned laser night-vision device synchronous zoom delay Optimization method, by the t value in setting procedure 1, can avoid because circuit board wiring problem causes camera lens zoom potentiometer to affect synchronous zoom effect through A/D sampled value precision is low, made up the deficiency on hardware by software, reduce the dependence to hardware.
Above-mentioned laser night-vision device synchronous zoom delay Optimization method, for camara module and the laser lighting module of different model, only need to set suitable t value in testing, synchronous zoom time delay just can be made to reach minimum, also can ensure the smoothness of laser stepper motor in synchronous zoom process simultaneously.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. a laser night-vision device synchronous zoom delay Optimization method, comprises the following steps:
1) camera zoom value x is obtained when camera lens zoom every set time t;
2) laser stepper motor steps y is calculated according to the corresponding relation determined by camera zoom value x;
3) obtain stepper motor according to formula s=t/y often to make a move required time s;
4) stepper motor steps y and stepper motor are often walked required time s and write synchronous zoom order array { y1, s1, y2, s2, yn, sn}, camera lens and laser stepper motor are controlled by camera lens control module and these two standalone modules of laser step motor control module, two standalone modules are by synchronous zoom order array { y1, s1, y2, s2, yn, sn} is associated, in camera zoom process, camera lens control module writes order in order array, laser step motor control module reading order from order array controls laser illuminator light angle and camera field of view angle coupling,
5) check in synchronous zoom order array whether have non-fill order, if there is order, controls laser stepper motor and to walk about the step number y specified by the speed s specified, thus control laser stepper motor and arrive the position of specifying, if do not order, stepper motor stops operating wait-receiving mode order;
6) if execute the current command, 5 are gone to step, can guarantee when camera zoom according to the time s that step 3 calculates, camera lens control module matches to the speed of order array write order and the speed of laser step motor control module reading order from order array.
2. a kind of laser night-vision device synchronous zoom delay Optimization method according to claim 1, it is characterized in that, in described step 1, the set time, t was set by macro definition in software.
3. a kind of laser night-vision device synchronous zoom delay Optimization method according to claim 1, is characterized in that, in described step 1, camera zoom value x is converted to through A/D by camera lens zoom potentiometer.
4. a kind of laser night-vision device synchronous zoom delay Optimization method according to claim 1, is characterized in that, in described step 2, the concrete grammar calculating laser stepper motor steps y is:
2.1, calculate and linearly close k: obtain camera zoom value x the shortest burnt time value x1 and most focal length time value x2, when the shortest Jiao, adjustment stepper motor to hot spot mates and this position is set to the initial point of stepper motor steps y, when most focal length, adjustment stepper motor to hot spot mates and obtains the value y2 of stepper motor steps y now, k=y2/ (x2-x1);
2.2, laser stepper motor steps y is calculated according to formula y=k (x-x1) by camera zoom value x.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510503655.5A CN105116543A (en) | 2015-08-17 | 2015-08-17 | A laser night vision device synchronous zooming time-delay optimization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510503655.5A CN105116543A (en) | 2015-08-17 | 2015-08-17 | A laser night vision device synchronous zooming time-delay optimization method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105116543A true CN105116543A (en) | 2015-12-02 |
Family
ID=54664569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510503655.5A Pending CN105116543A (en) | 2015-08-17 | 2015-08-17 | A laser night vision device synchronous zooming time-delay optimization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105116543A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040201A (en) * | 2017-11-27 | 2018-05-15 | 青岛浩海网络科技股份有限公司 | A kind of method of laser lens and visible light lens synchronous zoom |
CN108540723A (en) * | 2018-04-27 | 2018-09-14 | 中国科学院半导体研究所 | More camera lenses for Active Imaging calculate synchronisation control means |
CN116567402A (en) * | 2023-06-28 | 2023-08-08 | 东莞锐视光电科技有限公司 | Light source controller trigger delay control method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090122313A (en) * | 2008-05-24 | 2009-11-27 | 정인성 | Infrared laser diode night vision |
CN102045509A (en) * | 2010-12-28 | 2011-05-04 | 天津市亚安科技电子有限公司 | Method and device for linking zoom illumination device with zoom camera |
CN102984455A (en) * | 2012-11-15 | 2013-03-20 | 天津市亚安科技股份有限公司 | Auxiliary light source control method |
CN104079883A (en) * | 2014-07-07 | 2014-10-01 | 山东神戎电子股份有限公司 | Laser night-vision device illuminator presetting bit implementation method based on stepping motor |
CN104092939A (en) * | 2014-07-07 | 2014-10-08 | 山东神戎电子股份有限公司 | Laser night vision device synchronous zooming method based on piecewise differentiation technology |
-
2015
- 2015-08-17 CN CN201510503655.5A patent/CN105116543A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090122313A (en) * | 2008-05-24 | 2009-11-27 | 정인성 | Infrared laser diode night vision |
CN102045509A (en) * | 2010-12-28 | 2011-05-04 | 天津市亚安科技电子有限公司 | Method and device for linking zoom illumination device with zoom camera |
CN102984455A (en) * | 2012-11-15 | 2013-03-20 | 天津市亚安科技股份有限公司 | Auxiliary light source control method |
CN104079883A (en) * | 2014-07-07 | 2014-10-01 | 山东神戎电子股份有限公司 | Laser night-vision device illuminator presetting bit implementation method based on stepping motor |
CN104092939A (en) * | 2014-07-07 | 2014-10-08 | 山东神戎电子股份有限公司 | Laser night vision device synchronous zooming method based on piecewise differentiation technology |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040201A (en) * | 2017-11-27 | 2018-05-15 | 青岛浩海网络科技股份有限公司 | A kind of method of laser lens and visible light lens synchronous zoom |
CN108040201B (en) * | 2017-11-27 | 2020-02-18 | 青岛浩海网络科技股份有限公司 | Method for synchronously zooming laser lens and visible light lens |
CN108540723A (en) * | 2018-04-27 | 2018-09-14 | 中国科学院半导体研究所 | More camera lenses for Active Imaging calculate synchronisation control means |
CN116567402A (en) * | 2023-06-28 | 2023-08-08 | 东莞锐视光电科技有限公司 | Light source controller trigger delay control method and system |
CN116567402B (en) * | 2023-06-28 | 2023-09-19 | 东莞锐视光电科技有限公司 | Light source controller trigger delay control method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103389559B (en) | Based on infrared lens and the compensation method of temperature change compensation | |
CN105116543A (en) | A laser night vision device synchronous zooming time-delay optimization method | |
CN205787540U (en) | Manual camera lens adapter ring | |
CN103747185B (en) | Zooming follow-up realizing method capable of enabling lens to shift with temperatures in auto-adaptive way | |
CN203350514U (en) | Infrared lens based on temperature variation compensation | |
CN103945133A (en) | Auto-focus device and method for visible light lens | |
CN103247260A (en) | Automatic regulation system and method for brightness of LED display screen | |
CN105955328A (en) | Holder camera speed control method and device | |
CN111760849A (en) | Laser cleaning equipment and focus keeping method thereof | |
CN105245781A (en) | Focusing method of simple electric lens | |
CN201837775U (en) | Remote laser night vision device | |
CN203350524U (en) | Zooming laser illuminator capable of controlling size of luminous surface | |
CN104317217B (en) | Aerial camera stabilized platform non-overshoot method of servo-controlling | |
CN104633599B (en) | A kind of method for computer lamp for pattern auto-focusing of shaking the head | |
CN205490869U (en) | Motion target is caught and tracking device | |
CN113596417A (en) | Automatic focusing method and device and storage medium | |
CN201828709U (en) | Laser illumination integrated night vision meter with automatic tracking function | |
CN207621787U (en) | A kind of stage lighting of auto-focusing | |
CN104344896A (en) | Non-uniformity correction mechanism for infrared optical system | |
CN205490868U (en) | Target of doing more physical exercises is caught and tracking device | |
CN208162847U (en) | Laser microscopic carvings reticulate pattern intelligent digital focusing system | |
CN206741109U (en) | A kind of optics display module image generation unit rotates adjustment system | |
CN206741110U (en) | A kind of optics display module accurate assembly system | |
CN103149014B (en) | Detection device and detection method for visual axis shake and focal length value of optical system | |
CN111379944A (en) | Robot camera shooting holder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151202 |