CN107105132A - A kind of method and device for adjusting Zoom camera precision - Google Patents
A kind of method and device for adjusting Zoom camera precision Download PDFInfo
- Publication number
- CN107105132A CN107105132A CN201710179136.7A CN201710179136A CN107105132A CN 107105132 A CN107105132 A CN 107105132A CN 201710179136 A CN201710179136 A CN 201710179136A CN 107105132 A CN107105132 A CN 107105132A
- Authority
- CN
- China
- Prior art keywords
- zoom camera
- datum mark
- camera
- location point
- optocoupler
- 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
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/50—Constructional details
- H04N23/54—Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
-
- 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/617—Upgrading or updating of programs or applications for camera control
-
- 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
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Lens Barrels (AREA)
Abstract
The present invention provides a kind of adjustment Zoom camera precision methods and device, and method includes:On Zoom camera after electricity, physical base on schedule, and is defined as logic datum mark by the physical base of acquisition Zoom camera on schedule, wherein, physical base is the level catastrophe point of optocoupler in Zoom camera on schedule, and logic datum mark is default control origin;It is defined by logic datum mark, by controlling the camera lens of Zoom camera to be reciprocated according to the step-length of setting, returns to logic datum mark, and judge whether Zoom camera is step out of stepping motor state in logic datum mark;If it is determined that Zoom camera is step out of stepping motor state in logic datum mark, the working condition of stepper motor is adjusted;And the physical base for adjusting the camera lens of Zoom camera to obtain Zoom camera is on schedule, and the physical base of acquisition is updated into logic datum mark on schedule.It ensure that under step out of stepping motor state, the problem of adjustment camera lens is empty burnt, it is ensured that the accuracy of lens shooting picture.
Description
Technical field
The present invention relates to acquisition technology field, more particularly to a kind of method and dress for adjusting Zoom camera precision
Put.
Background technology
Ball machine (spherical camera) is the representative of modern video monitoring development, its integrated colored integrated camera, head,
Encoder, protective cover etc. it is multi-functional with it is integral, it is easy for installation, using simple but powerful, be widely used in open area
Monitoring, different occasions can be used.And the ball machine with cruise function enhances the function of common ball machine, it can root
The monitoring of particular range is performed according to default cruise track.Than (also known as being cruised preset at 4 control points back and forth if desired for ball machine
Point) monitoring is performed, can be by controlling head to set this 4 control points on the interface of ball machine.Ball machine starts just to come after cruise
Return and perform cruise in this four control points.
Ball machine has the advantages that precise positioning, quickly tracked.Stepper motor is one of express network ball machine core devices.Step
The gear of stepper motor sends rotatory force to bearing to control the rotation of ball machine by belt wheel.Due to ball machine operating ambient temperature
Generally -40~70 DEG C, after ball machine icing phenomenon occurs under winter low temperature condition, just occur that the step-out of stepper motor shows
As.
In the prior art, a kind of ball machine step failing out detecting method of CN201310320333.8 and device disclose a kind of ball machine and patrolled
Step failing out detecting method in boat (head level, vertical rotation), for feelings of the cloud platform rotation scope without zero crossing (datum mark)
Condition.
But in the prior art, the problem of ball machine cloud platform rotation scope is inaccurate can only be solved, and can not solve due to step
The step-out phenomenon of stepper motor causes the problem of zoom lens is empty burnt.
The content of the invention
The present invention provides a kind of method and device for adjusting Zoom camera precision, can only for solving in the prior art
Solution ball machine cloud platform rotation scope is inaccurate and can not solve because the step-out phenomenon of stepper motor causes empty Jiao's of zoom lens
Problem.
The embodiment of the present invention provides a kind of method for adjusting Zoom camera precision, and methods described includes:
On Zoom camera after electricity, the physical base of the Zoom camera is obtained on schedule, and by the physical base on schedule
It is defined as logic datum mark, wherein, the physical base is the level catastrophe point of optocoupler in the Zoom camera, institute on schedule
Logic datum mark is stated for default control origin;
It is defined, is moved by controlling the camera lens of the Zoom camera to be come and gone according to the step-length of setting by the logic datum mark
It is dynamic, the logic datum mark is returned to, and judge whether the Zoom camera is step out of stepping motor in the logic datum mark
State;
If it is determined that the Zoom camera is step out of stepping motor state in the logic datum mark, the stepping electricity is adjusted
The working condition of machine;And the physical base for adjusting the camera lens of the Zoom camera to obtain the Zoom camera is on schedule, will obtain
The physical base taken is updated to the logic datum mark on schedule.
In the embodiment of the present invention, it is determined that step out of stepping motor state, by adjust stepper motor working condition and
The camera lens of the whole Zoom camera reacquires physical base on schedule, and updates the position of logic datum mark again, it is ensured that
Under step out of stepping motor state, the problem of adjustment camera lens is empty burnt, it is ensured that the accuracy of lens shooting picture.
Further, it is described to judge whether the Zoom camera is step out of stepping motor shape in the logic datum mark
State, including:
According to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark electricity
Level values judge whether the Zoom camera is step out of stepping motor state.
In the embodiment of the present invention, the level value of two opposite orientation location points due to optocoupler in physical base on schedule is
It is opposite, if according to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark electricity
Level values are identicals, then it is step out of stepping motor state that can determine Zoom camera.
Further, the camera lens of the adjustment Zoom camera is to obtain the physical standard of the Zoom camera
Point, including:
Level value of the optocoupler in the logic datum mark of the Zoom camera is determined, and to preset step-length L edges
First direction moves the camera lens of the Zoom camera, until the level value for obtaining the optocoupler of the Zoom camera occurs
The location point N of change;If the level value for moving the optocoupler for not obtaining the Zoom camera along the first direction occurs
The location point of change, then move the camera lens of the Zoom camera in a second direction with the step-length L;The second direction and institute
State first direction opposite;
If it is determined that when being moved to n-th location point, the optocoupler of the Zoom camera is in n-th position level point
Value it is different in the level value of the N-1 location point from the optocoupler of the Zoom camera, then by step-length of L=1/2L edge with
The N-1 location point is moved to the direction movement in opposite direction of the n-th location point, is taken the photograph until finding the zoom
The level value of the optocoupler of camera different n-th location point and the N-1 location point, are returned using L=1/2L as step-length edge
With being moved to the step that the direction in opposite direction of the n-th location point is moved with the N-1 location point, until step-length
L=1.
In the embodiment of the present invention, determine that physical base can more quickly determine physical base on schedule again using the above method
On schedule, and can reduce step-out correction time.
Further, it is described to judge whether the Zoom camera is step out of stepping motor state in the logic datum mark
Before, in addition to:
Judge that the Zoom camera is according to the operating temperature of presently described Zoom camera and default temperature threshold
No is low-temperature working state.
In the embodiment of the present invention, however, it is determined that Zoom camera is low-temperature working state, then it is assumed that Zoom camera loses
The probability of step is larger, so determining the working condition of lower Zoom camera first.
Further, the working condition of the adjustment stepper motor, including:
The rotating speed of the stepper motor of the Zoom camera is reduced, and increases the electric current of the stepper motor, to increase
The torque of the stepper motor and power.
In the embodiment of the present invention, increase the shifting that on the one hand torque of stepper motor can enable stepper motor drive camera lens
It is dynamic, on the other hand, prevent camera lens to be frozen under low-temperature condition.
The present invention also provides a kind of device for adjusting Zoom camera precision, including:
Determining unit, after the electricity on Zoom camera, obtains the physical base of the Zoom camera on schedule, and by institute
State physical base and be defined as logic datum mark on schedule, wherein, the physical base is optocoupler in the Zoom camera on schedule
Level catastrophe point, the logic datum mark is default control origin;
Judging unit, for being defined by the logic datum mark, by controlling the camera lens of the Zoom camera according to setting
Fixed step-length is reciprocated, and returns to the logic datum mark, and judge the Zoom camera the logic datum mark whether
For step out of stepping motor state;
Adjustment unit, for if it is determined that the Zoom camera the logic datum mark be step out of stepping motor state,
Adjust the working condition of the stepper motor;And adjust the camera lens of the Zoom camera to obtain the thing of the Zoom camera
Datum mark is managed, the physical base of acquisition is updated to the logic datum mark on schedule.
In the embodiment of the present invention, it is determined that step out of stepping motor state, by adjust stepper motor working condition and
Adjust the camera lens of the Zoom camera to reacquire physical base on schedule, and update the position of logic datum mark again, it is ensured that
Under step out of stepping motor state, the problem of adjustment camera lens is empty burnt, it is ensured that the accuracy of lens shooting picture.
Further, the adjustment unit, specifically for:
According to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark electricity
Level values judge whether the Zoom camera is step out of stepping motor state.
Further, the adjustment unit, specifically for:
Level value of the optocoupler in the logic datum mark of the Zoom camera is determined, and to preset step-length L edges
First direction moves the camera lens of the Zoom camera, until the level value for obtaining the optocoupler of the Zoom camera occurs
The location point N of change;If the level value for moving the optocoupler for not obtaining the Zoom camera along the first direction occurs
The location point of change, then move the camera lens of the Zoom camera in a second direction with the step-length L;The second direction and institute
State first direction opposite;
If it is determined that when being moved to n-th location point, the optocoupler of the Zoom camera is in n-th position level point
Value it is different in the level value of the N-1 location point from the optocoupler of the Zoom camera, then by step-length of L=1/2L edge with
The N-1 location point is moved to the direction movement in opposite direction of the n-th location point, is taken the photograph until finding the zoom
The level value of the optocoupler of camera different n-th location point and the N-1 location point, are returned using L=1/2L as step-length edge
With being moved to the step that the direction in opposite direction of the n-th location point is moved with the N-1 location point, until step-length
L=1.
Further, described device also includes:
Low-temperature working condition adjudgement unit, for the operating temperature according to presently described Zoom camera and default temperature
Whether Zoom camera described in threshold decision is low-temperature working state.
Further, the adjustment unit, specifically for:
The rotating speed of the stepper motor of the Zoom camera is reduced, and increases the electric current of the stepper motor, to increase
The torque of the stepper motor and power.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is a kind of schematic flow sheet for the method for adjusting Zoom camera precision provided in an embodiment of the present invention;
Fig. 2 is that Zoom camera eyeglass provided in an embodiment of the present invention moves schematic diagram;
Fig. 3 is optocoupler level change schematic diagram provided in an embodiment of the present invention;
Fig. 4 is control program provided in an embodiment of the present invention control eyeglass movement schematic diagram;
Fig. 5 is the schematic diagram of more new logic datum mark provided in an embodiment of the present invention;
Fig. 6 is that two points of step length changing methods provided in an embodiment of the present invention determine the method schematic diagram of physical base on schedule;
Fig. 7 is the schematic flow sheet of the method for another adjustment Zoom camera precision provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation for the device for adjusting Zoom camera precision provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step it is described in detail, it is clear that described embodiment is only embodiment of the invention a part of, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
The present invention provides a kind of method for adjusting Zoom camera precision, as shown in figure 1, including:
Step 101, on Zoom camera after electricity, the physical base of the Zoom camera is obtained on schedule, and by the thing
Reason datum mark is defined as logic datum mark, wherein, the physical base is the level of optocoupler in the Zoom camera on schedule
Catastrophe point, the logic datum mark is default control origin;Step 102, it is defined by the logic datum mark, by controlling
The camera lens for stating Zoom camera is reciprocated according to the step-length of setting, returns to the logic datum mark, and judge that the zoom is taken the photograph
Whether camera is step out of stepping motor state in the logic datum mark;
Step 103, however, it is determined that the Zoom camera is step out of stepping motor state in the logic datum mark, adjusts institute
State the working condition of stepper motor;And adjust the camera lens of the Zoom camera to obtain the physical standard of the Zoom camera
Point, the logic datum mark is updated to by the physical base of acquisition on schedule.
In a step 101, physical base is the level catastrophe point of optocoupler in Zoom camera on schedule, and Zoom camera leads to
The movement of step motor control camera lens is crossed, and obtains the level value in the optocoupler for the location point being moved to.If getting level
Trip point, it is determined that level trip point be physical base on schedule.
In a step 101, logic datum mark is default control origin, optionally, and logic datum mark is that control program is true
Fixed control origin.I.e. the point is set to the origin in program by the control program of Zoom camera, to realize zoom camera
The adjustment regulation and calculating of the parameters of machine.
As shown in Fig. 2 X-axis is the moving direction of eyeglass in camera lens, and it has been moved respectively to E, N, P, M, V location point,
It is determined that the level value of the optocoupler of each location point, and determine that M points position is level trip point, then it regard M points position as thing
Manage datum mark.
As shown in figure 3, in embodiments of the present invention, level value is 1 to be expressed as high level, and it 0 is low level that level value, which is, by
High level is changed into low level point for level trip point.
In embodiments of the present invention, after physical base is determined on schedule, the control program of Zoom camera is by the thing of determination
Reason datum mark is used as logic datum mark, that is to say, that the control program of Zoom camera thinks logic datum mark with physical base on schedule
Overlap.
In a step 102, after logic datum mark is determined, in addition it is also necessary to judge the camera lens of current zoom video camera flexible
Whether the logic datum mark obtained after movement can occur stepping step-out.
In embodiments of the present invention, if not occurring stepping step-out, the step that control program is then set according to control program
The long flexible focusing from logic datum mark moving lens;If it is determined that occur stepping step-out, then control program think camera lens be according to
The step-length that control program is set is due to stepping step-out from the flexible focusing of logic datum mark moving lens, stepper motor
Torque can not drive camera lens normally to move, so phenomenon out of focus occurs.
Optionally, in a step 102, it is defined by logic datum mark, the camera lens of Zoom camera is controlled by control program
The step-length set according to control program reciprocates to return to logic datum mark.
For example, as shown in figure 4, physical base is O on schedule, the logic datum mark of control program now is also O, then zoom lens
The initial position of eyeglass be physical base corresponding lens structure positions of O on schedule.
Control program sends setting step-length to stepper motor, makes stepper motor according to the mirror of setting step-length zoom lens motionless zoom lens
Piece is reciprocated, for example, using logic datum mark O as starting point, extending lens position the in-position M, Ran Houshou of 5 step-lengths
The lens position of 5 step-lengths of contracting returns to starting point O.
It is to have reciprocated physics in the corresponding lens structure position of O points on schedule from physical base that eyeglass is thought in control program
The corresponding lens structure position of datum mark O points, if not occurring stepping step-out, the position of eyeglass be strictly from from physical base on schedule
The corresponding lens structure position of O points has reciprocated the physical base corresponding lens structure position of O points on schedule, if but occurring
After stepping step-out, it is possible that control program sends the instruction of 5 step-lengths of elongation, the locations of structures of eyeglass to stepper motor
The N points in Fig. 4 are only moved to, control program sends the instruction for shrinking 5 step-lengths, the locations of structures of eyeglass to stepper motor again
It is moved to P points.
After control program revert to starting point, the more position of new logic datum mark, for example, in Fig. 4, logic datum mark can
Energy or O points, logic datum mark may also be changed into P points from O points.
In a step 102, after the logic datum mark of control program is returned, it is necessary to determine zoom lens in logic benchmark
Whether the corresponding lens structure position of point is stepping desynchronizing state.
Optionally, in embodiments of the present invention, by determining two opposite orientation location points of logic datum mark after updating
Level value determine whether Zoom camera is step out of stepping motor state.
For example, as shown in figure 5, OO points for update after logic datum mark, the direction of OO points to A points is set to first party
To then OO points are second direction to the direction of B points, if the level of A points is identical with the level of B points, i.e., are all high level 1 or all
Low level 0, then it is assumed that the logic datum mark after renewal be not physical base on schedule, it is determined that the stepper motor stepping of zoom lens
Step-out.
Optionally, judge that Zoom camera before whether logic datum mark is stepping desynchronizing state, is also wrapped in step 102
Include:
According to the operating temperature of current zoom video camera and default temperature threshold judge Zoom camera for low temperature work
Make state.
In embodiments of the present invention, if the operating temperature of Zoom camera is in low-temperature working state, Zoom camera hair
The probability of raw stepping step-out is higher, if so the operating temperature of Zoom camera is not in low-temperature working state, it is believed that
It is not necessary to determine whether stepping step-out occur.
In embodiments of the present invention, the problem of presetting threshold value is Tα, it is T that current work, which does temperature,E, optionally, work as TE<Tα
When, determine Zoom camera for low-temperature working state.
It is optional then in the embodiment of the present invention, can also be it is determined that TE-Tα<Determined during ε Zoom camera for low-temperature working
State, wherein ε are adjustable parameter, are the tolerances of trigger condition, can be according to the not equal actual conditions of video camera difference, working environment
It is adjusted, prevents false triggering.
In step 103, determine that Zoom camera after logic datum mark is step out of stepping motor state, illustrates now
The torque of stepper motor needs adjustment, and needs to reacquire physical base on schedule, so as to accurate more new logic datum mark.
Optionally, in embodiments of the present invention, the rotating speed of the stepper motor of the Zoom camera is reduced, and increase institute
The electric current of stepper motor is stated, so that the torque of the stepper motor and power increase, to realize turning after stepper motor adjustment
Square can drive the normal stepping of camera lens.
Optionally, in embodiments of the present invention, the torque of stepper motor can be first adjusted, physical standard is then obtained again
Point, more new logic datum mark, can also first obtain physical base on schedule, then more after new logic datum mark, then adjust stepper motor
Torque, illustrated herein with two embodiments.
Embodiment one:
It is determined that Zoom camera is after logic datum mark is step out of stepping motor state, with current logic benchmark correspondence
Lens structure position be starting point, eyeglass is moved by the stepper motor of Zoom camera, and determine each position in moving process
Level value a little is put, it is determined that after level trip point, it is new logic datum mark to confirm the point, and the torque of stepper motor is increased
Plus, so that the control camera lens movement of control program postorder can realize normal focusing.
Embodiment two
It is determined that Zoom camera logic datum mark be step out of stepping motor state after, first adjust stepper motor turn
Square, that is, increase the torque of stepper motor, then using the corresponding lens structure position of current logic benchmark as starting point, pass through zoom
The stepper motor movement eyeglass of video camera, and the level value of each location point in moving process is determined, it is determined that level trip point
Afterwards, it is new logic datum mark to confirm the point, so that the control camera lens movement of control program postorder can realize normal focusing.
In embodiments of the present invention, the method for determining physical standard is determined according to the change of the level of optocoupler,
Optionally, in embodiments of the present invention, a kind of variable step is also provided and determines the method for physical base on schedule, it is specific as follows:
Level value of the optocoupler in logic datum mark of Zoom camera is determined, and with default step-length L in the first direction
The camera lens of mobile Zoom camera, until the location point N that the level value for obtaining the optocoupler of Zoom camera changes;If
The location point that the level value for the optocoupler for not obtaining Zoom camera changes is moved along the first direction, then with step-length L edges
Second direction moves the camera lens of Zoom camera;Second direction is opposite with first direction;
If it is determined that when being moved to n-th location point, the optocoupler of Zoom camera n-th location point level value with
The optocoupler of Zoom camera is different in the level value of the N-1 location point, then edge and the N-1 position by step-length of L=L/m
The direction movement in opposite direction for being a little moved to n-th location point is put, until finding the level of the optocoupler of Zoom camera
Value different n-th location point and the N-1 location point, are returned by step-length of L=L/m along with being moved with the N-1 location point
To the step of the direction movement in opposite direction of n-th location point, until step-length L=1.
In the above-described embodiments, the size of step-length when m value determines search next time, m is bigger, the degree of accuracy of search
Higher, m is smaller, and the time of search is shorter, and m can enter according to difference, the not equal actual conditions of working environment of Zoom camera
Row adjustment.
Optionally, in embodiments of the present invention, using m as 2 specific explanations under the above method.
As shown in fig. 6, this method adjusts the moment of torsion of stepper motor first so that stepper motor can be given according to control program
Fixed step-length instruction control camera lens movement;As m=2, the above method is that dichotomy variable step determines physical base on schedule, first really
The level of the optocoupler of current logic datum mark is scheduled on, it is assumed that current logic datum mark is p, it is determined that the optocoupler of current p points
The level of device is after high level, control program controls stepper motor to be moved using step-length as 8 to first direction first, is moved to q
Point, then p-q direction is first direction;Determine the level value of the optocoupler of q points, however, it is determined that the level of the optocoupler of q points
It is worth for low level, then illustrates that physical logic point between p points and q points, is then moved, i.e., with 1/2nd step-length to second direction
Moved with the direction of the point to q to p of step-length 4, until being moved to n points;
Determine the level value of the optocoupler of n points, however, it is determined that the level value of the optocoupler of q points is high level, it is determined that
Then physical logic point is moved between n and q with 1/2nd step-length to first direction, i.e., with step-length 2 to the direction of q points
It is mobile, it is moved to m points;
Determine the level value of the optocoupler of m points, however, it is determined that the level value of the optocoupler of m points is low level, it is determined that
Then physical logic point is moved between m and q with 1/2nd step-length to second direction, i.e., with step-length 1 to the direction of q points
It is mobile, it is moved to s points, it is determined that the logic datum mark of control program on schedule, is then updated to s points by s points again for physical base.
In embodiments of the present invention, however, it is determined that q points are high level, then illustrate that physical base is moved in q points to first direction on schedule
Position after dynamic, then continue to move to first direction to set step-length.
After step 103, after have updated the logic datum mark of control program again, after now starting due to video camera certainly
The rise of body temperature, adds the heat that peripheral module operation is produced so that Current Temperatures are in the specified stable model of camera lens work
In enclosing, so now camera lens is not in situation about freezing, so that the speed and driving current of stepper motor be returned to normally
State.
For the ease of the understanding of those skilled in the art, herein for example, the present invention provides a kind of adjustment zoom camera
The method of machine precision, it is specific as shown in Figure 7:
Step 701, it is electric on Zoom camera;
Step 702, by the flexible of camera lens, level value of the optocoupler in each position is determined, and it is true according to level value
Earnest manages datum mark, and physical base is set to the logic datum mark of current control program on schedule;
Step 703, determine whether the difference of the temperature of current zoom video camera and the temperature threshold of setting is less than adjustable parameter,
If so, then performing step 705;Otherwise step 704 is performed;
Step 704, Zoom camera self-inspection is completed;
Step 705, control program moving lens back and forth movement more new logic datum mark is passed through;
Step 706, the electricity of the optocoupler of Zoom camera in two opposite orientation location points of logic datum mark is determined
Whether level values are equal, if equal, perform step 707;Otherwise step 704 is performed;
Step 707, the rotating speed of stepper motor is reduced, increases the electric current of stepper motor;
Step 708, physical base is reacquired on schedule in the method for variable step-size search, and it is determined that physical base is reset afterwards on schedule
Logic datum mark;
Step 709, increase the rotating speed of stepper motor, reduce the electric current of stepper motor, perform step 704.
Based on same design, the embodiment of the present invention also provides a kind of device for adjusting Zoom camera precision, such as Fig. 8 institutes
Show, including:
Determining unit 801, after the electricity on Zoom camera, obtains the physical base of the Zoom camera on schedule, and
The physical base is defined as logic datum mark on schedule, wherein, the physical base is optical coupler in the Zoom camera on schedule
The level catastrophe point of part, the logic datum mark is default control origin;
Judging unit 802, for being defined by the logic datum mark, by control the camera lens of the Zoom camera according to
The step-length of setting is reciprocated, and returns to the logic datum mark, and judge that the Zoom camera is in the logic datum mark
No is step out of stepping motor state;
Adjustment unit 803, for if it is determined that the Zoom camera is step out of stepping motor shape in the logic datum mark
State, adjusts the working condition of the stepper motor;And adjust the camera lens of the Zoom camera to obtain the Zoom camera
Physical base on schedule, the physical base of acquisition is updated to the logic datum mark on schedule.
Further, the adjustment unit 803, specifically for:
According to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark electricity
Level values determine whether the Zoom camera is step out of stepping motor state.
Further, the adjustment unit 803, specifically for:
Level value of the optocoupler in the logic datum mark of the Zoom camera is determined, and to preset step-length L edges
First direction moves the camera lens of the Zoom camera, until the level value for obtaining the optocoupler of the Zoom camera occurs
The location point N of change;If the level value for moving the optocoupler for not obtaining the Zoom camera along the first direction occurs
The location point of change, then move the camera lens of the Zoom camera in a second direction with the step-length L;The second direction and institute
State first direction opposite;
If it is determined that when being moved to n-th location point, the optocoupler of the Zoom camera is in n-th position level point
Value it is different in the level value of the N-1 location point from the optocoupler of the Zoom camera, then by step-length of L=1/2L edge with
The N-1 location point is moved to the direction movement in opposite direction of the n-th location point, is taken the photograph until finding the zoom
The level value of the optocoupler of camera different n-th location point and the N-1 location point, are returned using L=1/2L as step-length edge
With being moved to the step that the direction in opposite direction of the n-th location point is moved with the N-1 location point, until step-length
L=1.
Further, described device also includes:
Low-temperature working condition adjudgement unit 804, for the operating temperature according to presently described Zoom camera with it is default
Temperature threshold judges whether the Zoom camera is low-temperature working state.
Further, the adjustment unit 803, specifically for:
The rotating speed of the stepper motor of the Zoom camera is reduced, and increases the electric current of the stepper motor, to increase
The torque of the stepper motor and power.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of method for adjusting Zoom camera precision, it is characterised in that methods described includes:
On Zoom camera after electricity, the physical base of the acquisition Zoom camera on schedule, and the physical base is set on schedule
For logic datum mark, wherein, the physical base is the level catastrophe point of optocoupler in the Zoom camera on schedule, described to patrol
It is default control origin to collect datum mark;
It is defined by the logic datum mark, by controlling the camera lens of the Zoom camera to be reciprocated according to the step-length of setting,
The logic datum mark is returned, and judges whether the Zoom camera is step out of stepping motor shape in the logic datum mark
State;
If it is determined that the Zoom camera is step out of stepping motor state in the logic datum mark, the stepper motor is adjusted
Working condition;And the camera lens of the Zoom camera is adjusted to obtain the physical base of the Zoom camera on schedule, by acquisition
The physical base is updated to the logic datum mark on schedule.
2. the method according to right 1, it is characterised in that the judgement Zoom camera is in the logic datum mark
No is step out of stepping motor state, including:
According to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark level value
Whether judge the Zoom camera is step out of stepping motor state.
3. the method according to right 1, it is characterised in that the camera lens of the adjustment Zoom camera is to obtain the change
The physical base of focus video camera on schedule, including:
Level value of the optocoupler in the logic datum mark of the Zoom camera is determined, and to preset step-length L along first
The camera lens of the Zoom camera is moved in direction, until the level value for obtaining the optocoupler of the Zoom camera changes
Location point N;If the level value for moving the optocoupler for not obtaining the Zoom camera along the first direction changes
Location point, then move the camera lens of the Zoom camera in a second direction with the step-length L;The second direction and described the
One is in opposite direction;
If it is determined that when being moved to n-th location point, the optocoupler of the Zoom camera n-th location point level value with
The optocoupler of the Zoom camera is different in the level value of the N-1 location point, then by step-length of L=1/2L edge with it is described
The N-1 location point is moved to the direction movement in opposite direction of the n-th location point, until finding the Zoom camera
Optocoupler the different n-th location point and the N-1 location point of level value, return by step-length of L=1/2L edge with
The N-1 location point is moved to the step of the direction movement in opposite direction of the n-th location point, until step-length L=
1。
4. according to the method described in claim 1, it is characterised in that described to judge the Zoom camera in the logic benchmark
Before whether point is step out of stepping motor state, in addition to:
According to the operating temperature of presently described Zoom camera and default temperature threshold judge the Zoom camera whether be
Low-temperature working state.
5. the method according to any one of Claims 1-4, it is characterised in that the work of the adjustment stepper motor
State, including:
The rotating speed of the stepper motor of the Zoom camera is reduced, and increases the electric current of the stepper motor, it is described to increase
The torque of stepper motor and power.
6. a kind of device for adjusting Zoom camera precision, it is characterised in that including:
Determining unit, after the electricity on Zoom camera, obtains the physical base of the Zoom camera on schedule, and by the thing
Reason datum mark is defined as logic datum mark, wherein, the physical base is the level of optocoupler in the Zoom camera on schedule
Catastrophe point, the logic datum mark is default control origin;
Judging unit, for being defined by the logic datum mark, by controlling the camera lens of the Zoom camera according to setting
Step-length is reciprocated, and returns to the logic datum mark, and judge whether the Zoom camera is step in the logic datum mark
Stepper motor desynchronizing state;
Adjustment unit, for if it is determined that the Zoom camera is step out of stepping motor state, adjustment in the logic datum mark
The working condition of the stepper motor;And adjust the camera lens of the Zoom camera to obtain the physical base of the Zoom camera
On schedule, the physical base of acquisition is updated to the logic datum mark on schedule.
7. device according to claim 6, it is characterised in that the adjustment unit, specifically for:
According to the optocoupler of the Zoom camera two opposite orientation location points of the logic datum mark level value
Whether judge the Zoom camera is step out of stepping motor state.
8. device according to claim 6, it is characterised in that the adjustment unit, specifically for:
Level value of the optocoupler in the logic datum mark of the Zoom camera is determined, and to preset step-length L along first
The camera lens of the Zoom camera is moved in direction, until the level value for obtaining the optocoupler of the Zoom camera changes
Location point N;If the level value for moving the optocoupler for not obtaining the Zoom camera along the first direction changes
Location point, then move the camera lens of the Zoom camera in a second direction with the step-length L;The second direction and described the
One is in opposite direction;
If it is determined that when being moved to n-th location point, the optocoupler of the Zoom camera n-th location point level value with
The optocoupler of the Zoom camera is different in the level value of the N-1 location point, then by step-length of L=1/2L edge with it is described
The N-1 location point is moved to the direction movement in opposite direction of the n-th location point, until finding the Zoom camera
Optocoupler the different n-th location point and the N-1 location point of level value, return by step-length of L=1/2L edge with
The N-1 location point is moved to the step of the direction movement in opposite direction of the n-th location point, until step-length L=
1。
9. device according to claim 6, it is characterised in that described device also includes:
Low-temperature working condition adjudgement unit, for the operating temperature according to presently described Zoom camera and default temperature threshold
Whether judge the Zoom camera is low-temperature working state.
10. the device according to any one of claim 6 to 9, it is characterised in that the adjustment unit, specifically for:
The rotating speed of the stepper motor of the Zoom camera is reduced, and increases the electric current of the stepper motor, it is described to increase
The torque of stepper motor and power.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710179136.7A CN107105132B (en) | 2017-03-23 | 2017-03-23 | A kind of method and device adjusting Zoom camera precision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710179136.7A CN107105132B (en) | 2017-03-23 | 2017-03-23 | A kind of method and device adjusting Zoom camera precision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107105132A true CN107105132A (en) | 2017-08-29 |
CN107105132B CN107105132B (en) | 2019-09-17 |
Family
ID=59675954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710179136.7A Active CN107105132B (en) | 2017-03-23 | 2017-03-23 | A kind of method and device adjusting Zoom camera precision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107105132B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108200344A (en) * | 2018-01-23 | 2018-06-22 | 江苏冠达通电子科技有限公司 | The adjustment Zooming method of video camera |
CN110049232A (en) * | 2018-01-15 | 2019-07-23 | 佳能株式会社 | Electronic device, its control method and storage medium |
CN110943655A (en) * | 2019-12-13 | 2020-03-31 | 苏州智感电子科技有限公司 | Self-checking method and system for stepping motor |
CN110958336A (en) * | 2019-11-20 | 2020-04-03 | 维沃移动通信有限公司 | Method and electronic device for controlling motor in telescopic CCM |
CN111030525A (en) * | 2019-12-13 | 2020-04-17 | 苏州智感电子科技有限公司 | Motor step-out compensation method and device |
CN113411568A (en) * | 2021-06-10 | 2021-09-17 | 浙江大华技术股份有限公司 | Motor step-out detection method and device, storage medium and electronic device |
CN113485465A (en) * | 2021-06-01 | 2021-10-08 | 浙江大华技术股份有限公司 | Camera holder control method, device, equipment and storage medium |
CN114640792A (en) * | 2022-02-09 | 2022-06-17 | 浙江大华技术股份有限公司 | Position adjusting method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11331648A (en) * | 1998-05-20 | 1999-11-30 | Olympus Optical Co Ltd | Electronic image pickup device |
CN101604887A (en) * | 2009-07-06 | 2009-12-16 | 奇瑞汽车股份有限公司 | A kind of calibrating motor position sensor system and method |
CN103399582A (en) * | 2013-07-25 | 2013-11-20 | 浙江宇视科技有限公司 | Out of step detection method and device of ball machine |
CN103546691A (en) * | 2013-10-31 | 2014-01-29 | 浙江宇视科技有限公司 | Method and device for self-regulation of locking force of dome camera |
CN104535500A (en) * | 2014-12-19 | 2015-04-22 | 中国科学院上海光学精密机械研究所 | System parameter calibration method for imaging ellipsometer |
CN105680665A (en) * | 2016-03-22 | 2016-06-15 | 佛山市南海区欧谱曼迪科技有限责任公司 | System for eliminating stepper motor accumulative error and control method therefor |
CN205596047U (en) * | 2016-04-28 | 2016-09-21 | 深圳市保凌影像科技有限公司 | Stepping motor out -of -step preventing device for high -speed pan/tilt dome camera |
CN106341649A (en) * | 2015-07-07 | 2017-01-18 | 杭州海康威视数字技术股份有限公司 | Cradle head control method and device |
-
2017
- 2017-03-23 CN CN201710179136.7A patent/CN107105132B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11331648A (en) * | 1998-05-20 | 1999-11-30 | Olympus Optical Co Ltd | Electronic image pickup device |
CN101604887A (en) * | 2009-07-06 | 2009-12-16 | 奇瑞汽车股份有限公司 | A kind of calibrating motor position sensor system and method |
CN103399582A (en) * | 2013-07-25 | 2013-11-20 | 浙江宇视科技有限公司 | Out of step detection method and device of ball machine |
CN103546691A (en) * | 2013-10-31 | 2014-01-29 | 浙江宇视科技有限公司 | Method and device for self-regulation of locking force of dome camera |
CN104535500A (en) * | 2014-12-19 | 2015-04-22 | 中国科学院上海光学精密机械研究所 | System parameter calibration method for imaging ellipsometer |
CN106341649A (en) * | 2015-07-07 | 2017-01-18 | 杭州海康威视数字技术股份有限公司 | Cradle head control method and device |
CN105680665A (en) * | 2016-03-22 | 2016-06-15 | 佛山市南海区欧谱曼迪科技有限责任公司 | System for eliminating stepper motor accumulative error and control method therefor |
CN205596047U (en) * | 2016-04-28 | 2016-09-21 | 深圳市保凌影像科技有限公司 | Stepping motor out -of -step preventing device for high -speed pan/tilt dome camera |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11044392B2 (en) | 2018-01-15 | 2021-06-22 | Canon Kabushiki Kaisha | Electronic apparatus, method for controlling same, enabling a user to easily identify the amount of zooming operation |
CN110049232A (en) * | 2018-01-15 | 2019-07-23 | 佳能株式会社 | Electronic device, its control method and storage medium |
CN110049232B (en) * | 2018-01-15 | 2022-03-29 | 佳能株式会社 | Electronic device, control method thereof, and storage medium |
CN108200344A (en) * | 2018-01-23 | 2018-06-22 | 江苏冠达通电子科技有限公司 | The adjustment Zooming method of video camera |
CN110958336A (en) * | 2019-11-20 | 2020-04-03 | 维沃移动通信有限公司 | Method and electronic device for controlling motor in telescopic CCM |
CN110943655B (en) * | 2019-12-13 | 2021-07-27 | 苏州智感电子科技有限公司 | Self-checking method and system for stepping motor |
CN111030525A (en) * | 2019-12-13 | 2020-04-17 | 苏州智感电子科技有限公司 | Motor step-out compensation method and device |
CN111030525B (en) * | 2019-12-13 | 2021-09-24 | 苏州智感电子科技有限公司 | Motor step-out compensation method and device |
CN110943655A (en) * | 2019-12-13 | 2020-03-31 | 苏州智感电子科技有限公司 | Self-checking method and system for stepping motor |
CN113485465A (en) * | 2021-06-01 | 2021-10-08 | 浙江大华技术股份有限公司 | Camera holder control method, device, equipment and storage medium |
CN113411568A (en) * | 2021-06-10 | 2021-09-17 | 浙江大华技术股份有限公司 | Motor step-out detection method and device, storage medium and electronic device |
CN113411568B (en) * | 2021-06-10 | 2022-06-14 | 浙江大华技术股份有限公司 | Motor step-out detection method and device, storage medium and electronic device |
CN114640792A (en) * | 2022-02-09 | 2022-06-17 | 浙江大华技术股份有限公司 | Position adjusting method and device, electronic equipment and storage medium |
CN114640792B (en) * | 2022-02-09 | 2024-04-05 | 浙江大华技术股份有限公司 | Position adjustment method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107105132B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107105132A (en) | A kind of method and device for adjusting Zoom camera precision | |
CN103945126B (en) | Automatic focusing and locating method | |
CN103856717B (en) | Camera focusing control method and device | |
CN101494737A (en) | Integrated camera device and self-adapting automatic focus method | |
CN105955328B (en) | The method for control speed and device of cradle head camera | |
CN103945133A (en) | Auto-focus device and method for visible light lens | |
CN102262335A (en) | Imaging device | |
CN111198561A (en) | Motion control method and device for target tracking, computer equipment and storage medium | |
CN105516589A (en) | Intelligent exposure method and system based on face recognition | |
US9086541B2 (en) | Optical instrument and imaging device | |
CN108475075A (en) | A kind of control method, device and holder | |
CN206505243U (en) | Shade and the camera lens module with it | |
CN112203012B (en) | Image definition calculation method, automatic focusing method and system | |
EP2632149B1 (en) | Drive unit, camera system, and computer program | |
CN112433333B (en) | Synchronous parfocal error compensation method for large-zoom-ratio continuous zooming infrared lens | |
CN114556879A (en) | Time delay detection method, device, system, movable platform and storage medium | |
CN111586357A (en) | Monitoring device and method for automatic focusing of multiple monitoring cameras | |
CN104950726A (en) | Delay correction method and device for remote-control driving device | |
CN108254995A (en) | A kind of big zoom camera lens Atomatic focusing method and system | |
CN105245781A (en) | Focusing method of simple electric lens | |
CN204697170U (en) | A kind of autofocus system and video monitoring equipment | |
CN104660915A (en) | Control method and device for panoramic photography exposure | |
CN104822027A (en) | Video signal apparatus and control method thereof | |
CN108737721B (en) | Camera limiting adjustment method and device | |
CN111491140B (en) | Power transmission cable video line patrol method and terminal |
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 |