CN106657790A - Laser night-vision device with preset position compensation function and preset position compensation method - Google Patents
Laser night-vision device with preset position compensation function and preset position compensation method Download PDFInfo
- Publication number
- CN106657790A CN106657790A CN201611256788.8A CN201611256788A CN106657790A CN 106657790 A CN106657790 A CN 106657790A CN 201611256788 A CN201611256788 A CN 201611256788A CN 106657790 A CN106657790 A CN 106657790A
- Authority
- CN
- China
- Prior art keywords
- presetting bit
- offset
- motor
- camera lens
- presetting
- 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.)
- Withdrawn
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/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- 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/50—Constructional details
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Accessories Of Cameras (AREA)
Abstract
The invention discloses a laser night-vision device with a preset position compensation function and a preset position compensation method. According to the device and the method provided by the invention, a plurality of compensation values can be arranged at each preset position point according to different operating directions of a motor, so that compensation of the preset positions is more accurate and accuracy of the preset positions is improved. According to the device and the method provided by the invention, requirements on performance of the used lens motor are reduced, and the preset positions of the lens can be compensated according to an actual test result during a using process.
Description
Technical field
The present invention relates to a kind of laser night-vision device and a kind of presetting bit compensation method, specifically a kind of band presetting bit compensation
The laser night-vision device of function, belongs to night vision monitoring technical field.
Background technology
The camera presets position of laser night-vision device is due to the shadow to motor transmission performance of machining accuracy, environment temperature of structural member
Ring, caused loss and the reason such as aging during use, cause the position of presetting bit inaccurate.The traffic direction of motor is not
Together, the impact to motor presetting bit is also different.
The content of the invention
For the defect of prior art, the present invention provides a kind of laser night-vision device with presetting bit compensation function and one kind
Presetting bit compensation method, can arrange multiple offsets according to the difference in motor operation direction in preset site, mend presetting bit
Repay more accurately, improve presetting bit precision.
In order to solve the technical problem, the technical solution used in the present invention is:A kind of swashing with presetting bit compensation function
Light night vision device, including head, respectively positioned at head both sides shooting machine barrel and laser illuminator cylinder, shooting machine barrel in be provided with for
The camera lens of imaging, camera lens is connected with the current potential for adjusting the motor and detector lens position and direction of motor rotation of lens location
Device, potentiometer is connected by transmission mechanism with motor, and also including microcontroller, microcontroller connects motor and potentiometer, and
Microcontroller is connected with storage camera presets position, presetting bit offset, the memory of potentiometer AD values.
Laser night-vision device with presetting bit compensation function of the present invention, motor connects potentiometer by gear, and motor leads to
Excess convexity wheel belt index glass head is moved.
Laser night-vision device with presetting bit compensation function of the present invention, microcontroller is provided with connecing of communicating with host computer
Mouthful.
The invention also discloses a kind of method of presetting bit compensation, methods described is:Camera lens is set in different presetting bits
Offset, when presetting bit offset is set, it is considered to which the traffic direction of motor, the offset of each presetting bit is according to motor operation side
It is multiple to having;Offset is stored in memory;When laser night-vision device carries out when calling of presetting bit, microcontroller is according to working as
The traffic direction of front motor calls the corresponding offset of the presetting bit, motor to compensate the position of camera lens.
The method of presetting bit compensation of the present invention, in the whole process of camera lens operation multiple preset sites are chosen, pre- at each
Then set-point calls the presetting bit of the point setting, the presetting bit of setting according to the position of the bearing mark camera lens of motor operation
It is divided into two kinds also according to the traffic direction of motor, if the presetting bit of setting has deviation with the lens location of mark, sets right
The offset answered, according to the direction of motor operation, each presetting bit has 4 offsets, and this group of offset is stored in into memory
It is interior;Then call presetting bit respectively again, plus-minus fine setting is carried out to corresponding offset, until the presetting bit called and the mirror for marking
Head position zero deflection, the offset setting in the preset site is completed;According to the method, setting for other preset site offsets is completed
Put.
Then the method for presetting bit compensation of the present invention, the threshold range of setting compensation value compares each preset site
Offset whether in threshold range, if more than setting ratio presetting bit offset be located at threshold range in, the mirror
Head adopts all presetting bits of one group of offset, camera lens all to adopt this group of offset;If the benefit of the presetting bit less than setting ratio
Value is repaid in threshold range, then the camera lens adopts multigroup offset, microcontroller to be ranked up multigroup offset, makes compensation
Value is mapped to the diverse location of camera lens, and camera lens reads the information of the presetting bit when presetting bit is called, according to the position of presetting bit
Select corresponding offset.
The method of presetting bit compensation of the present invention, setting ratio is 75%-90%.
Beneficial effects of the present invention:Laser night-vision device with presetting bit compensation function of the present invention is detected by potentiometer
The position of camera lens, according to actual Detection results, compensates to camera presets position, and potentiometer detects the operation side of motor
To, make presetting bit compensation more accurate, improve presetting bit precision.When the method for presetting bit compensation of the present invention arranges offset
In view of the traffic direction of motor, there are multiple offsets in each preset site, and according to the actual motion of motor corresponding benefit is selected
Value is repaid, makes presetting bit compensation more accurate, improve presetting bit precision.The present invention drops to the performance requirement of camera lens motor used
Low, in the past in order to the requirement for reaching presetting bit precision needs the higher motor of performance, or use cost is higher, control is multiple
Miscellaneous stepper motor.And have presetting bit compensation function laser night-vision device just can be realized using common direct current generator it is higher
Precision.Secondly common laser night-vision device equipment use time is longer, and the loss of the aging and drive mechanism of motor is more serious, leads
Cause presetting bit precision worse and worse, and the laser night-vision device of the present invention, can be imitated according to actual test during use
Really, camera presets position is compensated.Again, different operating temperatures also results in the deformation of structural member, pre- so as to have impact on
Placement accuracy, the laser night-vision device of the present invention can arrange different according to practical effect in different operating environments
Compensating parameter, reaches the purpose for adapting to different external environments.
Description of the drawings
Fig. 1 is the structural representation of laser night-vision device;
Fig. 2 is the structural representation of camera lens;
Fig. 3 is the theory diagram of presetting bit compensation
In figure:1st, head, 2, shooting machine barrel, 3, laser illuminator cylinder, 4, camera lens, 5, cam, 6, potentiometer, 7, motor.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is further illustrated and limits with specific embodiment.
Embodiment 1
The present embodiment discloses a kind of laser night-vision device with presetting bit compensation function, and Fig. 1 is the structural representation of the night vision device, bag
Include head 1, be located at the shooting machine barrel 2 and laser illuminator cylinder 3 of the both sides of head 1 respectively, laser photograph is provided with laser illuminator cylinder
Funerary objects, laser illuminator is used to illuminate, and images and video camera for night monitoring is provided with machine barrel 1, video camera include for into
The camera lens 4 of picture, as shown in Fig. 2 camera lens 4 is connected with the motor 7 and detector lens position, motor rotation side for adjusting lens location
To current potential 6, potentiometer 6 is connected by gear with motor 7, and the output shaft of motor 7 opens reeded cam 5 and drives mirror by outside
Head is mobile, and in shooting machine barrel microcontroller is additionally provided with, and microcontroller is connected with motor 7, potentiometer 6, and microcontroller also connects
The presetting bit that is stored with, the memory of presetting bit offset are connect, motor 7 drives camera lens movement, realizes zoom and focusing, potentiometer 6
Output AD values, AD values are corresponding with the position of camera lens, and potentiometer 6 can also detect the traffic direction of motor 7.When laser night-vision device is opened
When opening presetting bit and patrolling and examining monitoring function, microcontroller calls the presetting bit of setting, controlled motor 7 to move near presetting bit.By
It is caused during impact, use in the machining accuracy due to structural member, environment temperature to motor transmission performance to be lost and old
The reason such as change, cause the position of presetting bit inaccurate, potentiometer 6 is by the actual position information of motor 7 and the direction of motion of motor 7
Transmit to microcontroller, microcontroller selects corresponding offset according to the position of camera lens and the traffic direction of motor, then
Controlled motor rotates certain distance according to offset, and presetting bit is compensated, and makes presetting bit more accurate, improves presetting bit essence
Degree.
In the present embodiment, microcontroller is provided with the interface communicated with host computer, by the interface be connected host computer, can be with
The offset of presetting bit and each presetting bit is write by microcontroller by host computer, memory is write by microcontroller.
Embodiment 2
The present embodiment discloses a kind of presetting bit compensation method, as shown in figure 3, for the theory diagram of the method, first host computer leads to
Microcontroller is crossed by camera presets position, camera presets position offset write memory, the presetting bit information root in each preset site
Make a distinction according to motor operation direction, while the offset of each presetting bit has multiple according to the difference in motor operation direction, when
Laser night-vision device carries out when calling of presetting bit, and microcontroller obtains the position of camera lens and the operation side of motor by potentiometer
To microcontroller calls the corresponding offset of the presetting bit according to the traffic direction of current motor, and then motor is to camera lens
Position compensate.
Camera lens is set when presetting bit offset, first in the whole process of camera lens operation, multiple preset sites is chosen,
Each preset site according to the traffic direction of motor mark camera lens physical location, for example set motor rotating forward when position as a1,
Position is a2 during motor reversal, and then call the presetting bit of the presetting bit of setting, setting also has two according to the traffic direction of motor
When the situation of kind, such as motor are rotated forward, the presetting bit of the point is b1, and during motor reversal, the presetting bit of the point is b2, pre- by what is called
Set with mark preset bit comparison, if deviation, then set corresponding offset, according to mark lens location and call it is pre-
There are 4 offsets in the traffic direction of motor during set, each preset site, i.e. mark point motor rotating forward is calling presetting bit motor just
Offset is c1 when turning, and it is c2 that mark point motor rotates forward offset when calling presetting bit motor reversal, and mark point motor reversal is adjusted
Offset is c3 when being rotated forward with presetting bit motor, and offset is c4 when mark point motor reversal calls presetting bit motor reversal, so
The group is stored in memory afterwards.Then call presetting bit respectively again, plus-minus fine setting is carried out to corresponding offset, until adjusting
Presetting bit and the lens location zero deflection for marking, the now offset setting for a preset point is completed.By that analogy,
Complete the offset setting of other presetting bits.
Corresponding to camera lens operation whole process, according to test effect, multiple preset points can be selected, for drive mechanism compared with
Good camera lens, can only set the compensated information of one to two preset points, and the camera lens not high for drive mechanism precision, it is required
Presetting bit it is more.Test effect deterministic process be:The threshold range of setting compensation value, then compares each presetting bit
Whether in threshold range, if being located in threshold range more than the offset of 85% presetting bit, the camera lens is adopted the offset of point
One group of offset, all presetting bits of camera lens all adopt this group of offset;If being located at threshold value model less than the offset of 85% presetting bit
In enclosing, then the camera lens adopts multigroup offset.
For the camera lens for only needing to one group of offset, whole camera lens is whole all to adopt same group of offset;It is many for needing
The camera lens of group offset, microcontroller is ranked up the information of the offset for prestoring, and is mapped to the cam curve of whole camera lens
(The diverse location of cam curve correspondence camera lens), when presetting bit is called, the presetting bit compensation value information of reading and saving, such as
Really this presetting bit is located between the presetting bit of default two offsets, then the compensation according to needed for ratio calculates the preset point
Value;Or to change presetting bit identical with the presetting bit of certain predesigned compensation value, then the corresponding compensation point of point is called.Microcontroller exists
When calling presetting bit offset, according to the traffic direction for calling the motor movement direction of presetting bit, current motor, this is called
Offset needed for presetting bit.
Described above is only the general principle and preferred embodiment of the present invention, and those skilled in the art do according to the present invention
The improvement for going out and replacement, belong to protection scope of the present invention.
Claims (7)
1. a kind of laser night-vision device with presetting bit compensation function, it is characterised in that:Including head, respectively positioned at head both sides
Shooting machine barrel and laser illuminator cylinder, image the camera lens being provided with machine barrel for imaging, and camera lens is connected with and adjusts lens location
The potentiometer of motor and detector lens position and direction of motor rotation, potentiometer is connected by transmission mechanism with motor, also
Including microcontroller, microcontroller connection motor and potentiometer, and microcontroller is connected with storage camera presets position, presetting bit
The memory of offset, potentiometer AD values.
2. the laser night-vision device with presetting bit compensation function according to claim 1, it is characterised in that:Motor passes through gear
Connection potentiometer, motor is moved by cam driven camera lens.
3. the laser night-vision device with presetting bit compensation function according to claim 1, it is characterised in that:Microcontroller is provided with
The interface communicated with host computer.
4. a kind of method that presetting bit is compensated, it is characterised in that:Offset of the camera lens in different presetting bits is set, presetting bit is set
During offset, it is considered to the traffic direction of motor, the offset of each presetting bit has multiple according to motor operation direction;By offset
Store in memory;When laser night-vision device carries out when calling of presetting bit, traffic direction of the microcontroller according to current motor
The corresponding offset of the presetting bit, motor is called to compensate the position of camera lens.
5. the method that presetting bit according to claim 4 is compensated, it is characterised in that:Choose multiple in the whole process of camera lens operation
Preset site, in each preset site according to the position of the bearing mark camera lens of motor operation, then calls the pre- of the point setting
Set, the presetting bit of setting is divided into two kinds also according to the traffic direction of motor, if the presetting bit of setting and the camera lens position for marking
Deviation is equipped with, then sets corresponding offset, according to the direction of motor operation, each presetting bit there are 4 offsets, the group is mended
Repay value to be stored in memory;Then call presetting bit respectively again, plus-minus fine setting is carried out to corresponding offset, until what is called
Presetting bit and the lens location zero deflection for marking, the offset setting in the preset site is completed;According to the method, other are completed pre-
The setting of set-point offset.
6. the method that presetting bit according to claim 5 is compensated, it is characterised in that:The threshold range of setting compensation value, so
Compare the offset in each preset site afterwards whether in threshold range, if being located at more than the offset of the presetting bit of setting ratio
In threshold range, then the camera lens adopts all presetting bits of one group of offset, camera lens all to adopt this group of offset;If less than setting
The offset of the presetting bit of ratio is located in threshold range, then the camera lens adopts multigroup offset, and microcontroller is to multigroup compensation
Value is ranked up, and makes offset be mapped to the diverse location of camera lens, and camera lens reads the letter of the presetting bit when presetting bit is called
Breath, according to the position of presetting bit corresponding offset is selected.
7. the method that presetting bit according to claim 6 is compensated, it is characterised in that:Setting ratio is 75%-90%.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611256788.8A CN106657790A (en) | 2016-12-30 | 2016-12-30 | Laser night-vision device with preset position compensation function and preset position compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611256788.8A CN106657790A (en) | 2016-12-30 | 2016-12-30 | Laser night-vision device with preset position compensation function and preset position compensation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657790A true CN106657790A (en) | 2017-05-10 |
Family
ID=58837430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611256788.8A Withdrawn CN106657790A (en) | 2016-12-30 | 2016-12-30 | Laser night-vision device with preset position compensation function and preset position compensation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657790A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107664805A (en) * | 2017-10-20 | 2018-02-06 | 山东神戎电子股份有限公司 | A kind of antidote for focusing on presetting bit |
CN108040201A (en) * | 2017-11-27 | 2018-05-15 | 青岛浩海网络科技股份有限公司 | A kind of method of laser lens and visible light lens synchronous zoom |
-
2016
- 2016-12-30 CN CN201611256788.8A patent/CN106657790A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107664805A (en) * | 2017-10-20 | 2018-02-06 | 山东神戎电子股份有限公司 | A kind of antidote for focusing on presetting bit |
CN107664805B (en) * | 2017-10-20 | 2020-10-16 | 山东神戎电子股份有限公司 | Correction method for focusing preset position |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6661585B2 (en) | Zoom lens control apparatus | |
CN100517044C (en) | Image capturing apparatus | |
CN1084881C (en) | Control apparatus for positional control of optical system | |
EP0497376A1 (en) | Interchangeable lens type camera apparatus | |
CN105144689A (en) | Image capture device and image display method | |
EP3988254A1 (en) | Robot hand-eye calibration method and apparatus, computing device, medium and product | |
CN105044879A (en) | Automatic focusing system using multiple lenses and method thereof | |
CN106292003B (en) | A kind of automatic adjusting method for optical detection LCD screen, apparatus and system | |
CN101943841B (en) | Image pickup apparatus, and zoom correction information creation method | |
CN106657790A (en) | Laser night-vision device with preset position compensation function and preset position compensation method | |
CN112433333B (en) | Synchronous parfocal error compensation method for large-zoom-ratio continuous zooming infrared lens | |
US6781633B2 (en) | Lens control apparatus, lens control method, and video camera having same | |
CN109862270A (en) | Real-time automatic focusing method based on FPGA infrared video stream | |
CN103247260A (en) | Automatic regulation system and method for brightness of LED display screen | |
CN104657970A (en) | Calibration method and calibration system for full-automatic binocular endoscope | |
CN103475820A (en) | Correcting method and system for PI position in camera | |
US6178051B1 (en) | Lens control apparatus | |
WO2024040847A1 (en) | Sheet splicing and alignment system and method based on double ccd sensors | |
CN109725409A (en) | A kind of telecentric lens | |
CN109491040B (en) | Continuous zooming control method and system for infrared specific view field | |
US9813603B2 (en) | Lens unit, imaging device, and control method | |
CN209311775U (en) | A kind of telecentric lens | |
CN108057645A (en) | The camera adjusting mechanism and its control method of color selector | |
CN105022138A (en) | Automatic focusing system applying multiple lenses and method thereof | |
CN217213409U (en) | Automatic zoom optical machine device |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170510 |