[go: up one dir, main page]

CN1368658A - Automatic focusing mechanism and method - Google Patents

Automatic focusing mechanism and method Download PDF

Info

Publication number
CN1368658A
CN1368658A CN 01101860 CN01101860A CN1368658A CN 1368658 A CN1368658 A CN 1368658A CN 01101860 CN01101860 CN 01101860 CN 01101860 A CN01101860 A CN 01101860A CN 1368658 A CN1368658 A CN 1368658A
Authority
CN
China
Prior art keywords
value
camera lens
processor
maximal margin
reposition
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
Application number
CN 01101860
Other languages
Chinese (zh)
Inventor
张广祥
洪嘉成
林坤昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Transpacific IP Ltd
Original Assignee
Transpacific IP Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Transpacific IP Ltd filed Critical Transpacific IP Ltd
Priority to CN 01101860 priority Critical patent/CN1368658A/en
Publication of CN1368658A publication Critical patent/CN1368658A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Lens Barrels (AREA)

Abstract

Au automatic focusing mechanism is located between casing and lens of camera and video camera. Magnetic force between the electric magnet installed on the casing and permanent magnet installed on the lens is utilizes to move the lens. Elastic force produced by a spring installed between the casing and the lens is utilized to balance the said magnetic force. Using a control set to change the magnitude of electric current passing through the electric magnet can change the magnitude of magnetic force, making the lens change position gradually. When an image is focused sharply, the electric current is retained to hold lens fixedly, making focusing. The invention also describes automatic focusing method.

Description

Autofocus mechanism and method
The present invention relates to a kind of autofocus mechanism and method of utilizing the magnetic force moving lens with the shooting focal length of camera heads such as automatic alignment cameras.
Traditional camera head such as camera, shoot with video-corder projector etc., is operation convenience and a best image quality of asking the user, often utilizes autofocus mechanism to reach and exempts the inconvenience of manual focus and obtain the purpose of image clearly.
The autofocus mechanism that is used for camera head has by the distance between group who changes the camera lens lens and group to change the focal length of camera lens, and the focal length that changes shooting by moving lens as shown in Figure 1 etc., usually quite complexity and cost of manufacture are quite high in the former mechanism, therefore generally are used for the product of higher-order; Though the latter's structure is simple than the former, but still have following shortcoming:
Because the autofocus mechanism system as Fig. 1 uses step motor 2 as power source, and step motor 2 is all the rotational power source mutually with general motor, it is as shown in Figure 2, by stator 22 and rotor 24 each other (inhale mutually or repel each other) on the tangential direction of circumference magnetic force orders about rotor 24 and rotating shaft 26 is rotated, therefore in order to order about camera lens 5, just must use actuated elements such as screw rod 3 and transmission component 4 to rotatablely move and be converted to rectilinear motion along not shown guide hole moving linearly.
Yet, because magnetic force system sees through actuated element and drives camera lens 5, therefore have many energy dissipations on actuated element, and act on the arm of force of camera lens 5 much smaller than transmission component 4, so generally speaking have the shortcoming of work doing efficiency difference because screw rod 3 acts on the arm of force of transmission component 4.In addition, see through the time that the actuated element transferring power can increase number of parts and increase assembling, and may produce noise and the mutual abrasion of element.
Moreover general step motor has fixing stepping angle, and therefore autofocus mechanism as shown in Figure 1 can have because of the restriction of the stepping angle of step motor 2 and can't do meticulous focusing, maybe must install the shortcoming that reducing gear could be done meticulous focusing additional.In addition, owing to step motor 2 is indirectly to see through screw rod 3 and transmission component 4 to drive camera lens 5, so the shortcoming that autofocus mechanism as shown in Figure 1 also has the manufacturing that must be strict with screw rod 3 and transmission component 4 and assembly precision just can carry out meticulous focusing.
The object of the present invention is to provide a kind of need not to drive autofocus mechanism and the method for camera lens to focus through the transmission of actuated element.
Another object of the present invention is to provide a kind of autofocus mechanism and the method that can carry out meticulous focusing with better simply mechanism.
The present invention is achieved in that a kind of autofocus mechanism, and it is to be located between the casing and camera lens of camera head, and comprises: be located at the guidance part of this casing, in order to guide this camera lens moving linearly between scenery and photo-sensitive cell; Be located at this camera lens periphery, make this camera lens can be along the slide mechanism of the smooth-going slip of this guidance part; Be located at the permanent magnet of this camera lens periphery; Be located at the electromagnet relative with this permanent magnet of this casing, this electromagnet can apply magnetic force and this camera lens is moved this permanent magnet; Be located at the elastic component between this casing and this camera lens, in order to provide and this magnetic balanced elastic force; And control device, flow through this current of electromagnet in order to control, but make this camera lens be parked in the position of scenery blur-free imaging on this photo-sensitive cell that institute's desire is taken.
By said mechanism, the mode that can be under the control of control device directly drives camera lens with magnetic force is focused automatically.And, because as no any actuated element between the electromagnet of power source and camera lens, therefore can exempt resulting from the increase, the increase of built-up time, noise and the mutual abrasion of element that element moves and produced of number of parts of actuated element.
Again, owing to the restriction of not having least unit as the magnetic force that electromagnet produced of power source, therefore as long as the focusing that current of electromagnet can be made very fine is flow through in meticulous control.
In addition, automatic focusing method of the present invention is the autofocus mechanism that is used for camera head, and this autofocus mechanism comprises: drive unit, use so that camera lens moving linearly between scenery and photo-sensitive cell; And control device, have processor and memory body, this processor can be controlled this drive unit according to the image data from this photo-sensitive cell, but make this camera lens move to this position of scenery blur-free imaging on this photo-sensitive cell, this focusing method automatically may further comprise the steps:
(1) sets in this memory body by this processor and comprise that left position, location right, current position, maximal margin numerical digit are put, the initial value of a plurality of three numbers of number of edges, maximal margin number and reverse mobile flag at present, and calculate a reposition and upgrade the value of this current position in this memory body with the value of this reposition by this processor;
(2) control this drive unit by this processor this camera lens is moved to this current position, and obtain at that time image data from this photo-sensitive cell, calculate the number of edges of this image data, upgrade the value of this present number of edges in this memory body with the edge value of calculating gained, judge that more whether this present number of edges is greater than this maximal margin number, if then carry out step (3), then carry out step (4) if not;
(3) put magnitude relationship with this current position by this processor according to this maximal margin numerical digit in this memory body, the value of putting with this maximal margin numerical digit is upgraded the value of this left position or this location right, and upgrade value that this maximal margin numerical digit puts, upgrade the value of this maximal margin number with the value of this present number of edges with the value of this current position, calculate a reposition again, carry out step (5) then;
(4) read this reverse mobile flag target value in this memory body by this processor, if this reverse mobile flag is 0, then should reverse mobile flag change 1 into, and calculate and be positioned at the reposition that this maximal margin numerical digit is put a side (this current position side), carry out step (5) then,, then should reverse mobile flag change 0 into if this reverse mobile flag is 1, and calculate and be positioned at the reposition that this maximal margin numerical digit is put opposite side, carry out step (5) then; And
(5) calculate the absolute value of the difference of this reposition and this current position by this processor, and then judge that whether this absolute value is smaller or equal to predetermined value, if then finish smaller or equal to predetermined value, as if the value of then upgrading this current position in this memory body greater than predetermined value, get back to step (2) then with the value of this reposition.
Advantage of the present invention is that this autofocus mechanism system focuses automatically in the mode that magnetic force directly drives camera lens, as no any actuated element between the electromagnet of power source and camera lens, therefore can exempt resulting from the increase, the increase of built-up time, noise and the mutual abrasion of element that the element motion is produced of number of parts of actuated element.
Again, owing to the restriction of not having least unit as the magnetic force that electromagnet produced of power source, therefore as long as the focusing that current of electromagnet can be made very fine is flow through in meticulous control.
Moreover, because automatic focusing method of the present invention, system is according to the number of edges distribution character of D﹠N, the movable range of camera lens is divided into plural equal portions, and further divide into the movable range of camera lens among a small circle a plurality of in the mode that the part near long distance comprises more equal portions, the number of edges that compares each mid point (or picked at random point) among a small circle again is with decision reposition X NInitial value, therefore can accelerate to look for the speed (focusing speed) that the maximal margin numerical digit is put.
Again, because automatic focusing method of the present invention is to set the mode of reverse mobile flag F, at current position X CNumber of edges put X less than the maximal margin numerical digit MAXThe time, affirmation maximal margin numerical digit is put X earlier MAXOne side do not have the height point of other number of edges after, just search the maximal margin numerical digit and put X MAXAnother side, therefore can guarantee that the maximal margin numerical digit that finds at last puts X MAXFor having the position of absolute maximal margin number.
In order further to understand feature of the present invention and technology contents, please detailed three to read followingly about detailed description of the present invention and graphic, appended graphic system only supplies three to examine explanation, is not in order to limit the present invention.
Graphic explanation: Fig. 1 is the summary Organization Chart of known autofocus mechanism; Fig. 2 system is in order to the synoptic diagram of the operating principle of explanation motor; Fig. 3 is the cut-open view of autofocus mechanism of the present invention; Fig. 4 is the stereographic map of autofocus mechanism of the present invention; Fig. 5 is the process flow diagram that camera lens of the present invention is checked; Fig. 6 is the operation chart that autofocus mechanism of the present invention is used for general camera head; Fig. 7 is the operation chart that autofocus mechanism of the present invention is used for the numerical digit camera head, and Fig. 7 A is situation, the situation when Fig. 7 B finishes for focusing for the situation in the focusing, Fig. 7 C when beginning to focus; Fig. 8 is focus the automatically formula process flow diagram of method of the present invention; Fig. 9 system with the movable range segmentation of camera lens to carry out initialized synoptic diagram; Figure 10 system is in order to the lens location (X) of the explanation initialization step curve map to number of edges (EC); Figure 11 system is in order to the lens location (X) of description of step S22 to the S30 curve map to number of edges (EC); Figure 12 is variation situation that flow process is carried out each three number behind the step S22 to S30 again; Figure 13 system is in order to the lens location (X) of description of step S38 to S44 and step S54 to the S60 curve map to number of edges (EC); Figure 14 system is in order to the lens location (X) of description of step S38 to S44 and step S48 to the S52 curve map to number of edges (EC); A specific embodiment of mechanism is returned in Figure 15 tying; Figure 16 is the cut-open view of another embodiment of autofocus mechanism of the present invention.Main element symbol description: 2 step motor, 3 screw rods, 4 transmission components, 5 camera lenses, 10 shells, 12 guide holes, 14 protuberances, 16 projections, 17 holes, 22 stators, 24 rotors, 26 rotating shafts, 30 camera lenses, 32 ball bearing, 34 permanent magnets, 35 lugs, 36 travellers, 37 flanges, 38 tested lug 40 electromagnet 42 sense magnetic materials 44 coils 50 springs 60,80 control device 61,81 power supply units 62,82 processors, 63,70 sensors, 72 trees, 74 egative films, 76 photovalves 90 are buckled pawl 92 torsion springs 94 friction members
Fig. 3 is the cut-open view of autofocus mechanism of the present invention; Fig. 4 is the stereographic map of autofocus mechanism of the present invention.Below cooperate Fig. 3,4 explanations autofocus mechanism of the present invention.
Autofocus mechanism of the present invention system is located at camera, shoot with video-corder between the casing 10 and camera lens 30 of camera head such as projector, and comprise the guide hole (guidance part) 12 of being located at casing 10, the ball bearing (slide mechanism) 32 of being located at camera lens 30 peripheries, the permanent magnet 34 of being located at camera lens 30 peripheries, be located at camera lens 30 rears electromagnet 40, be located at spring 50 between casing 10 and the camera lens 30, reach control device (as 60 or Fig. 7 of Fig. 6 80).
As shown in the figure, ball bearing 32 is the rough middle section of being located at camera lens 30 peripheries, and (among the figure about) slided.Because ball bearing 32 is to do to be close to contacting of point-like with most balls with the inner face of guide hole 12, therefore can make the sliding resistance of 10 of camera lens 30 and casings drop to minimum.
Permanent magnet 34 is the back segment place that is located at camera lens 30 peripheries, to produce the magnetic force (in the present embodiment for repelling each other) of inhaling mutually or repelling each other with the electromagnet 40 that is located at camera lens 30 rears.
Electromagnet 40 is to maintain static (for example being fixed on the casing 10), and constituted by in the form of a ring sense magnetic material (for example iron) 42 and the coil 44 that is wrapped in sense magnetic material 42 peripheries, wherein the two ends of coil 44 system is connected to control device (60 or 80), and is controlled the size of current of flowing through coil 44 by control device (60 or 80).In the present embodiment, when coil 44 alived, 34 of electromagnet 40 and permanent magnets were the magnetic force of mutual exclusion.The direction of magnetic force system decides on the direction of current in pole orientation on the permanent magnet 34 and the coil 44, and the size of the magnetic force then number of turns of sight line circle 44 and the size of current of passing through is decided.
When aliving on the coil 44, the magnetic force that results from 40 of permanent magnet 34 and electromagnet promptly can push away the camera lens 30 that has permanent magnet 34 toward the left side.At this moment, the spring 50 that is located at camera lens the place ahead promptly provides and magnetic balanced elastic force, and camera lens 30 is parked on a certain position.As shown in the figure, spring 50 is to be located between the protuberance 14 of the lug 35 of camera lens 30 front ends and casing 10 front ends, and is to be enclosed within traveller 36 and the vertical periphery of extending from the projection 16 of protuberance 14 of vertical extension from lug 35.Wherein, the front end system that traveller 36 has flange 37 stretches into the hole 17 that is formed at projection 16 end faces, make camera lens 30 be subjected to magneticaction and when move on the left side, traveller 36 can more stretch into hole 17 and by lug 35 compression springs 50, to utilize the elastic restoring force balancing magnetic force of spring 50.
In the present embodiment, though the telescoping mechanism that adopts traveller 36 insertion projections 16 is not limited to this with compression spring 50, also can adopt the mechanism of any smooth-going compression spring in the axial direction.In addition,,, three or more springs that are spacedly distributed also can be set, a spring that is enclosed within the camera lens periphery perhaps only is set equally not as limit though two springs 50 are set at the front end of camera lens 30.Again, the elasticity coefficient k of spring 50 is that the focusing range of visor head 30 (is the ultimate range X that 30 energy of camera lens shown in Fig. 3 move to the left side M) and the coil 44 of electromagnet 40 on the maximum current I that can apply and deciding, two springs 50 are for example arranged in the present embodiment, therefore the maximum elastic force Fs=2k X that can provide MResult from the maximum magnetic force Fm (I) of 40 of permanent magnet 34 and electromagnet in the time of must equaling maximum current I, that is the elasticity coefficient k of spring 50 must equal Fm (I)/2X M
In addition, as shown in the figure, one tested lug 38 can be set in the rear end of camera lens 30, and for example sensor 70 of OPTICAL SENSORS is set in guide hole 12 inwalls and tested lug 38 relative positions, to check when the coil 44 of electromagnet 40 does not pass to electric current, whether the position is on location (mechanical origin) for camera lens 30.
The autofocus mechanism of present embodiment is before focusing automatically, system carries out the camera lens inspection earlier according to the flow process of Fig. 5, that is check whether the position makes camera lens 30 move to the optics initial point from mechanical origin and focuses camera lens 30 then on mechanical origin, with the result's that guarantees to focus correctness.
At first, whether the light sensing of judging sensor 70 at step S2 is interdicted, if the light sensing of sensor 70 is interdicted, then energising on coil 44, make camera lens 30 move a unit distance (step S4) toward optics initial point direction (leaving the direction of sensor 70), judge once again at step S6 whether the light sensing of sensor 70 is interdicted then, if the light sensing of sensor 70 is still interdicted, then repeating step S4 and S6 are no longer interdicted (tested lug 38 leaves sensor 70 fully) up to the light sensing of sensor 70, strengthen electric current then, make camera lens 30 move to optics initial point (step S8) by coil 44.After camera lens 30 arrives the optics initial point, can begin to carry out the following automatic focusing program that will illustrate.
If the judged result of step S2 is for denying, then then carry out step S10, even also camera lens 30 moves a unit distance toward the direction of sensor 70, judge once again at step S12 whether the light sensing of sensor 70 is interdicted then, if being interdicted, the light sensing of sensor 70 then then carries out step S4, if the light sensing of sensor 70 is the state for not interdicted still, then judge at step S14 whether the number of times that camera lens 30 is moved to sensor 70 reaches set point number (for example 5 times), if represent that then focus adjusting mechanism has fault, should overhaul; If number of times do not reach set point number, then repeating step S10, S12 and S14, up to the judged result of step S12 be or the judged result of step S14 for till being.
Fig. 6 is the operation chart that autofocus mechanism of the present invention is used for general camera head; Fig. 7 is the operation chart that autofocus mechanism of the present invention is used for the numerical digit camera head.Below cooperate the focusing operation that illustrates autofocus mechanism of the present invention.
As shown in Figure 6, when autofocus mechanism of the present invention is used for general camera head, control device 60 comprises the power supply unit 61 and processor 62 that is installed in the body, and being installed in the sensor 63 of for example distance sensing device in body the place ahead, processor 62 is that the electric current of adjusting flowing through coil 44 according to the sensing result of sensor 63 makes camera lens 30 move to preposition.
For instance, on the distance that can in control device 60, set up reference object in advance and the coil 44 (with respect to keeping the electric current of camera lens 30 when the optics initial point) the contrast data bank of the magnitude of current that should increase, for example more than 10 meters to the wireless magnitude of current that should increase when far away be 0 ampere, the magnitude of current that should increase during less than 10 meters more than 5 meters is 2 amperes, the magnitude of current that should increase below 5 meters the time is 5 amperes etc.Then, main body in camera head aligning scenery, for example during the tree 72 among Fig. 6, sensor 63 promptly measures camera head and sets 72 distance (being assumed to be 8 meters) and the result is delivered to processor 62, so processor 62 makes the electric current of flowing through coil 44 increase 2 amperes according to this data bank, and keep this state up to the video imaging of tree 72 on egative film (film) 74.
As shown in Figure 7, when autofocus mechanism of the present invention was used for the numerical digit camera head, control device 80 comprised power supply unit 8l and the processor 82 that is installed in the body.Processor 82 is to link to each other with the photovalve that is located at camera lens 30 rears (for example CCD) 76, and can carry out one and handle formula.This handles that formula carries out mainly that the calculating of number of edges (edgecount) and maximal margin numerical digit put two processing such as looks for.The foundation of number system general numerical digit camera head in edge in order to judge whether focal length is aimed at, its principle is roughly as follows: because the signal strength of main body and background has tangible difference in the digital image that spread out of of photovalve 76, that is signal strength has tangible section difference at the edge of main body, therefore analyze whole image one by one there to be obvious section difference promptly to add one mode in the unit area (picture point of predetermined number), can obtain number of edges at that time; Again because image border of main body and background when correctly focusing is the clearest, so the value maximum of number of edges when correctly focusing.
Fig. 7 A is the situation of autofocus mechanism of the present invention when beginning to focus, and this moment, camera lens 30 was positioned at optics initial point (X=X 0), the electric current I=I in the coil 44 0(keeping camera lens 30) in the required electric current of optics initial point.Then, shown in Fig. 7 B, processor 82 utilizes magnetic force so that electric current I flows through the mode of coil 44, camera lens 30 is moved towards the direction of compression spring 50, and receive from the image signal of photovalve 76 in each position and calculate its number of edges EC, till the number of edges of number of edges less than last position of reposition.Then, shown in Fig. 7 C, processor 82 flows through the mode of the electric current I of coil 44 with reduction, and camera lens 30 is moved in the opposite direction, has maximal margin and counts EC to look for MAXPosition X MAX
Find with said method and to have maximal margin and count EC MAXPosition X MAXAfter (focusing), processor 82 promptly keeps electric current I at that time MAX, and storage is from the image signal of photovalve 76.
The present invention specifically implements the above-mentioned method that the maximal margin numerical digit is put (focusing) of looking for, and is shown in the process flow diagram of Fig. 8.At first, in step S20, carry out initialization.This initialization system sets left position X by processor 82 in not shown read-write memory body (RAM or FLASH memory) L, location right X R, reposition X N, current position X C, the maximal margin numerical digit puts X MAX, present number of edges EC C, maximal margin counts EC MAXReach three initial values of counting such as reverse mobile flag F, for example make following setting: left position X earlier L=X M, location right X R=X 0, the maximal margin numerical digit puts X MAX=X 0, maximal margin counts EC MAX=EC 0(position X 0Number of edges) and reverse mobile flag F=0, determine between X then 0With X MBetween the reposition X of camera lens 30 N=X C, and calculate the number of edges EC of this position CWherein, decision reposition X N=X CMode be as described below.
Common initial position X at camera lens 30 0With maximum position X MBetween, near initial position X 0Part be the part of long distance (for example 10 meters to infinity), near maximum position X MPart be the part of low coverage (for example 10 meters in), and generally speaking the variation of number of edges in long-distance range is little.Therefore, as shown in Figure 9, decision reposition X N=X CMethod system with X 0To X MScope be divided into quarter (or optionally being divided into any equal portions), and will be near initial position X 0Two equal portions be used as scope I, will be near maximum position X MEqual portions be used as scope III and equal portions of centre be used as scope II.Then, respectively camera lens 30 is moved to the mid point (or point of the interior picked at random of each scope) of scope I, scope II and scope III, and ask its number of edges EC respectively I, EC II, EC III, again with its maximal value as present number of edges EC C, with this maximal value position as reposition X N=X C
With said method decision reposition X N=X CHas the advantage that to accelerate to look for the speed (focusing speed) that the maximal margin numerical digit puts.Only the present invention is not limited to this, also can utilize other method decision reposition X N=X C, for example directly with X 0With X MMid point (or picked at random X 0With X MBetween any point) be reposition X N=X C, and be present number of edges EC with the number of edges of this position C
Secondly, in step S22, carry out EC CWith EC MAXComparison, if EC CGreater than EC MAX, then carry out the program between step S24 to S30, otherwise then carry out the program between step S38 to S60, carry out at step S32 and S34 whether convergent is judged then, that is judge current position X CWith reposition X NThe absolute value of difference DELTA X whether smaller or equal to predetermined value.If the absolute value of Δ X is smaller or equal to predetermined value, Ci Shi position X then CBe and have maximal margin and count EC MAXPosition X MAXSo, finish.If the absolute value of Δ X is still greater than predetermined value, then at step S36 with the reposition X that tries to achieve NBe used as new current position X C, get back to step S22 then and repeat above-mentioned program.Wherein, before carrying out step S22, processor 82 can utilize magnetic force that camera lens 30 is moved on to new current position X earlier CAnd calculate this number of edges EC C
In step S24 to S30, because reposition X CNumber of edges EC CCount EC greater than maximal margin MAX, so each three value of counting in the read-write memory body of processor 82 renewals, with the number of edges EC of reposition MAXReplace old maximal margin and count EC MAX, and according to reposition X CPut X with the maximal margin numerical digit MAXBetween relation, and upgrade left position X LOr location right X R, and with new left position X LPut X with new maximal margin numerical digit MAXThe centre position produce new position X N(X N=(X L+ X MAX)/2).
In step S38 to S60, because reposition X CNumber of edges be not more than maximal margin and count EC MAX, so processor 82 does not change in the read-write memory body maximal margin and counts EC MAXAnd the maximal margin numerical digit is put X MAXValue, only utilize the rule of the following stated to upgrade left position X LOr location right X RAnd new position X N, to guarantee to find absolute maximal margin number.
As shown in Figure 8, at first in step S38 to S42 according to reposition X CPut X with the maximal margin numerical digit MAXBetween relation, and upgrade left position X LOr location right X R, carry out step S46 to S52 or step S54 to S60 according to the value of reverse mobile flag F then.Wherein, because step S46 and step S54 can change the value of reverse mobile flag F, step S46 to S52 and step S54 to S60 therefore can hocket.
As previously mentioned, because the initial value of reverse mobile flag F is 0, therefore can carry out step S54 to S60 when program enters step S44 for the first time, step S54 to S60 ties up to current position X CNumber of edges put X less than the maximal margin numerical digit MAXThe time, get current position X CPut X with the maximal margin numerical digit MAXMid point be reposition X N(step S56 and S60) is to confirm this X CWith this X MAXBetween whether number of edges is arranged greater than EC MAXThe position, if do not have (that is behind the end step S54 to S60 again through the result of step S22 still for " deny "), then carry out step S46 to S52, with left position X LOr location right X R(look current position X CPut X with the maximal margin numerical digit MAXSize and decide) with the maximal margin numerical digit put X MAXMid point be new position X N(step S50 or S52) makes camera lens 30 oppositely move to the maximal margin numerical digit and puts X MAXAnother side.
Put X by the above-mentioned maximal margin of affirmation earlier numerical digit MAXOne side do not have the height point of other number of edges after, just search the maximal margin numerical digit and put X MAXAnother side, can guarantee that the maximal margin numerical digit that finds at last puts X MAXFor having the position of absolute maximal margin number.
Below lift Figure 10,14 and be example, describe the flow process shown in Fig. 8 in detail.As shown in figure 10, count EC to have relative maximal margin IIThe position be reposition X N, and with X MBe left position X L, with X 0Be location right X RAnd the maximal margin numerical digit is put X MAX, promptly with position X 0Number of edges be that maximal margin is counted EC MAX
Then, as shown in figure 11, because present number of edges EC CCount EC greater than maximal margin MAX(step S22) therefore carries out step S24 to S30, again because the maximal margin numerical digit is put X MAXLess than current position X C(step S24) is because of than carrying out step S28, with X MAXAs new location right X R(step S28) is then in step S30, with X CPut X as new maximal margin numerical digit MAX, with EC CCount EC as new maximal margin MAX, and with X CWith X LIntermediate value as reposition X NThen, in step S32 and S34, restrain judgement, if the convergence then in step S36 with X NAs new current position X C
Then, because present number of edges EC CStill count EC greater than maximal margin MAXTherefore (step S22) carries out step S24 to S36 equally, the result as shown in figure 12, X MAXBecome new location right X R, X CBecome new maximal margin numerical digit and put X MAX, EC CBecome new maximal margin and count EC MAX, and X CWith X LIntermediate value become new position X N, X then NBecome new current position X again C
Then, as shown in figure 13, because present number of edges EC CCount EC less than maximal margin MAX(step S22) therefore carries out step S38 to S44, again because the maximal margin numerical digit is put X MAXLess than current position X C(step S38) therefore carries out step S42, with X CAs new left position X L(step S42) is then in step S44, because of the initial value of reverse mobile flag F is 0 to carry out step S54 to S60.At first in step S54, change the value of reverse mobile flag F into 1, then because the maximal margin numerical digit is put X MAXLess than current position X C(step S56) therefore carries out step S60.In step S60, with X CWith X MAXIntermediate value as new position X NThen, restrain judgement (step S32 and S34), if convergence then finishes, if convergence then in step S36 with X NAs new current position X C, continue step S22 then.
Then, as shown in figure 14, because present number of edges EC CStill count EC less than maximal margin MAX(step S22) therefore carries out step S38 to S44, again because the maximal margin numerical digit is put X MAXAlso less than current position X C(step S38) therefore carries out step S42, with X CAs new left position X L(step S42) is then in step S44, because of reverse mobile flag F changes 1 in above-mentioned step S54, so carry out step S46 to S52.At first in step S46, change the value of reverse mobile flag F into 0, then because the maximal margin numerical digit is put X MAXLess than current position X C(step S48) therefore carries out step S52.In step S52, with X MAXWith X RIntermediate value as new position X NThen, restrain judgement (step S32 and S34), if convergence then finishes, if convergence then in step S36 with X NAs new current position X C, carry out each step then as mentioned above, till convergence.
In addition, can be at casing 10 and 30 settings of camera lens non-return mechanism in order to fixed lens 30, with the recovery elastic force of antagonistic spring 50, camera lens 30 also can not remained on the optional position during galvanization at the coil 44 of electromagnet 40.Figure 15 is a specific embodiment of non-return mechanism.
As shown in figure 15, pivotable button pawl 90 is set between permanent magnet 34 and electromagnet 40.The pivot of button pawl 90 is provided with the torsion spring 92 in order to counterclockwise torsion to be provided.By the torsion of torsion spring 92, make the left side tip of detaining pawl 90 push against the outer wall of camera lens 30, get final product fixed lens 30.Button pawl 90 is made of ferrous material, and its right-hand end extends downward the rear end of electromagnet 40 as shown in the figure, therefore when electromagnet 40 alives, the magnetic attraction of electromagnet 40 make-up pawls 90 right-hand ends can be resisted the torsion of torsion spring 92, button pawl 90 is clockwise rotated and removes its left side tip fixing to camera lens 30.Therefore, having or not of electric current can be fixed on camera lens 30 on the optional position on the control electromagnet 40.
Figure 16 is the cut-open view of another embodiment of autofocus mechanism of the present invention.The difference of embodiment shown in Figure 16 and embodiment shown in Figure 3 is to replace ball bearing 32 with the friction member 94 that is fixed in camera lens 30 peripheries, and in addition all the embodiment with shown in Figure 3 is identical, does not give unnecessary details in addition.
Magnetic force by 34 of the elasticity coefficient of suitably adjusting friction factor between friction member 94 and guide hole 12 inwalls, spring 50 and electromagnet 40 and permanent magnets then need not any non-return mechanism, and camera lens 30 is fixed on the optional position.
The above only is specific embodiments of the invention, and other is any not to deviate from the equivalence of being done under spirit of the present invention and the technology and change or modify, all should still be included in following claim in.

Claims (19)

1. autofocus mechanism, it is to be located between the casing and camera lens of camera head, and comprises:
Be located at the guidance part of this casing, in order to guide this camera lens moving linearly between scenery and photo-sensitive cell;
Be located at this camera lens periphery, make this camera lens can be along the slide mechanism of the smooth-going slip of this guidance part;
Be located at the permanent magnet of this camera lens periphery;
Be located at the electromagnet relative with this permanent magnet of this casing, this electromagnet can apply magnetic force to this permanent magnet
And this camera lens is moved;
Be located at the elastic component between this casing and this camera lens, in order to provide and this magnetic balanced elastic force; And control device, flow through this current of electromagnet in order to control, but make this camera lens be parked in this position of scenery blur-free imaging on this photo-sensitive cell.
2. autofocus mechanism according to claim 1 is characterized in that, this guidance part is a guide hole.
3. autofocus mechanism according to claim 1 is characterized in that this slide mechanism is a ball bearing.
4. according to claim 1 or 3 described autofocus mechanisms, it is characterized in that this slide mechanism system is located at the rough middle section of this camera lens periphery.
5. autofocus mechanism according to claim 1 is characterized in that, this permanent magnet system is located at the back segment place of this camera lens periphery.
6. autofocus mechanism according to claim 5 is characterized in that, this electromagnet system is located at this camera lens rear and this permanent magnet opposite position.
7. according to claim 1 or 6 described autofocus mechanisms, it is characterized in that this electromagnet system is made of with the coil that is wrapped in this sense magnetic material periphery sense magnetic material.
8. autofocus mechanism according to claim 1 is characterized in that this elastic component is a spring.
9. autofocus mechanism according to claim 8, it is characterized in that, this camera lens the place ahead is formed with the lug that extends radially outwardly, and this casing is provided with radially inwardly outstanding protuberance in this camera lens the place ahead and this lug corresponding section, and this spring promptly is located between this lug and this teat.
10. autofocus mechanism according to claim 9, it is characterized in that, this spring system be enclosed within vertical extension from the traveller of this lug and vertical extension from the periphery of the projection of this protuberance, and the front end that this traveller has a flange is to stretch into the hole that is formed at this projection end face.
11. autofocus mechanism according to claim 1 is characterized in that, this control device comprises power supply unit and the processor that is installed in this casing, and is installed in the sensor in order to the distance of measuring scenery in this casing the place ahead.
12. autofocus mechanism according to claim 11 is characterized in that, this control device comprises the distance and the contrast data bank of passing through this current of electromagnet of reference object again.
13. autofocus mechanism according to claim 1, it is characterized in that, this control device comprises power supply unit and the processor that is installed in this casing, wherein this processor system links to each other with the photovalve that is located at this camera lens rear, and can carry out one and handle formula, with the calculating of carrying out number of edges and the processing of looking for of maximal margin number.
14. an automatic focusing method, it is the autofocus mechanism that is used for camera head, it is characterized in that this autofocus mechanism comprises:
Drive unit is used so that camera lens moving linearly between scenery and photo-sensitive cell; And
Control device has processor and memory body, and this processor can be according to the image data from this photo-sensitive cell,
Control this drive unit, but make this camera lens move to this position of scenery blur-free imaging on this photo-sensitive cell,
This automatic focusing method may further comprise the steps:
(1) sets in this memory body by this processor and comprise that left position, location right, current position, maximal margin numerical digit are put, the initial value of a plurality of three numbers of number of edges, maximal margin number and reverse mobile flag at present, and calculate a reposition and upgrade the value of this current position in this memory body with the value of this reposition by this processor;
(2) control this drive unit by this processor this camera lens is moved to this current position, and obtain at that time image data from this photo-sensitive cell, calculate the number of edges of this image data, upgrade the value of this present number of edges in this memory body with the edge value of calculating gained, judge that more whether this present number of edges is greater than this maximal margin number, if then carry out step (3), then carry out step (4) if not;
(3) put magnitude relationship with this current position by this processor according to this maximal margin numerical digit in this memory body, the value of putting with this maximal margin numerical digit is upgraded the value of this left position or this location right, and upgrade the value that this maximal margin numerical digit is put with the value of this current position, upgrade the value of this maximal margin number with the value of this present number of edges, calculate a reposition again, carry out step (5) then;
(4) read this reverse mobile flag target value in this memory body by this processor, if this reverse mobile flag is 0, then should reverse mobile flag change 1 into, and calculate and be positioned at the reposition that this maximal margin numerical digit is put a side (this current position side), carry out step (5) then,, then should reverse mobile flag change 0 into if this reverse mobile flag is 1, and calculate and be positioned at the reposition that this maximal margin numerical digit is put opposite side, carry out step (5) then; And
(5) calculate the absolute value of the difference of this reposition and this current position by this processor, and then judge that whether this absolute value is smaller or equal to predetermined value, if then finish smaller or equal to predetermined value, as if the value of then upgrading this current position in this memory body greater than predetermined value, get back to step (2) then with the value of this reposition.
15. automatic focusing method according to claim 14 is characterized in that this drive unit comprises:
Be located at the guidance part of the casing of this camera head, in order to guide this camera lens in this scenery and this photo-sensitive cell intercropping
Rectilinear motion;
Be located at this camera lens periphery, make this camera lens can be along the ball bearing of the smooth-going slip of this guidance part;
Be located at the permanent magnet of this camera lens periphery;
Be located at the electromagnet relative with this permanent magnet of this casing, this electromagnet can apply magnetic force to this permanent magnet
And this camera lens is moved; And
Be located at the spring between this casing and this camera lens, in order to provide and this magnetic balanced elastic force.
16. automatic focusing method according to claim 15 is characterized in that, this current of electromagnet is flow through in this processor system control, but makes this camera lens be parked in this position of scenery blur-free imaging on this photo-sensitive cell.
17. automatic focusing method according to claim 14, it is characterized in that calculating in this step (1) method of this reposition, system is divided into plural equal portions with the movable range of this camera lens, and further divide into the movable range of this camera lens among a small circle a plurality of in the mode that the part near this photo-sensitive cell comprises more equal portions, calculate the number of edges of each mid point among a small circle again, the point with the number of edges maximum is this reposition then.
18. automatic focusing method according to claim 14, it is characterized in that calculating in this step (3) method of this reposition, system calculates the intermediate value that this left position and this maximal margin numerical digit are put in this memory body by this processor, is the value of this reposition again with this intermediate value.
19. automatic focusing method according to claim 14 is characterized in that this step (4) may further comprise the steps:
(4-1) judge in this memory body that by this processor whether this maximal margin numerical digit put greater than this current position,, then upgrade the value of this left position if not with the value of this current position if then upgrade the value of this location right with the value of this current position;
(4-2) read this reverse mobile flag target value in this memory body, and judge whether this reverse mobile flag target value equals 1 in this memory body,, carry out step (4-4) if equal 1 if being not equal to 1 carries out step (4-3) by this processor;
(4-3) should reverse mobile flag change 1 into by this processor, and judge in this memory body that this maximal margin numerical digit puts whether greater than this current position, put intermediate value with this location right if then calculate this maximal margin numerical digit, be the value of this reposition again with this intermediate value, carry out step (5) then, then calculating the intermediate value that this left position and this maximal margin numerical digit are put if not, is the value of this reposition again with this intermediate value, carries out step (5) then; And
(4-4) should reverse mobile flag change 0 into by this processor, and judge in this memory body that this maximal margin numerical digit puts whether greater than this current position, if then calculate the intermediate value that this left position and this maximal margin numerical digit are put, be the value of this reposition again with this intermediate value, carry out step (5) then, then calculating this maximal margin numerical digit if not and put intermediate value with this location right, is the value of this reposition again with this intermediate value, carries out step (5) then.
CN 01101860 2001-02-09 2001-02-09 Automatic focusing mechanism and method Pending CN1368658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01101860 CN1368658A (en) 2001-02-09 2001-02-09 Automatic focusing mechanism and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01101860 CN1368658A (en) 2001-02-09 2001-02-09 Automatic focusing mechanism and method

Publications (1)

Publication Number Publication Date
CN1368658A true CN1368658A (en) 2002-09-11

Family

ID=4652265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01101860 Pending CN1368658A (en) 2001-02-09 2001-02-09 Automatic focusing mechanism and method

Country Status (1)

Country Link
CN (1) CN1368658A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006119693A1 (en) * 2005-05-11 2006-11-16 Beijing Huaqi Digital Technology Lab Co., Ltd. Automatic focusing device
CN100367064C (en) * 2004-10-22 2008-02-06 华宇电脑股份有限公司 Lens driving mechanism
CN100378570C (en) * 2004-05-14 2008-04-02 光宝科技股份有限公司 auto focus lens
CN100399100C (en) * 2004-08-23 2008-07-02 三星电子株式会社 Optical zoom device and portable communication device using same
CN100424579C (en) * 2004-03-08 2008-10-08 普立尔科技股份有限公司 The Fast Focusing Method of Digital Camera
CN100451806C (en) * 2005-09-27 2009-01-14 力相光学股份有限公司 Voice coil motor automatic focusing device with position feedback and focusing method thereof
US7499095B2 (en) 2004-06-02 2009-03-03 Samsung Electronics Co., Ltd. Apparatus and method for auto-focusing in a mobile terminal
CN100501484C (en) * 2005-09-30 2009-06-17 鸿富锦精密工业(深圳)有限公司 Digital Camera Module
US7595946B2 (en) 2006-09-29 2009-09-29 Fujinon Corporation Imaging apparatus and portable apparatus
CN1786808B (en) * 2004-12-11 2010-10-06 鸿富锦精密工业(深圳)有限公司 Optical auto-focusing apparatus
CN101046597B (en) * 2006-03-30 2010-10-06 光宝科技股份有限公司 Electronic zoom device and method for camera
CN103179235A (en) * 2011-12-23 2013-06-26 捷讯研究有限公司 Apparatus, and associated method, for affixing an external camera lens to a device having camera functionality
CN103676069A (en) * 2012-09-20 2014-03-26 华晶科技股份有限公司 Lens actuating device and lens actuating method thereof
CN104216091A (en) * 2013-05-31 2014-12-17 鸿富锦精密工业(深圳)有限公司 Lens driving system and lens driving method
CN105136042A (en) * 2015-08-20 2015-12-09 广东欧珀移动通信有限公司 A height measurement method, device and mobile terminal
CN109600538A (en) * 2018-12-19 2019-04-09 上海创功通讯技术有限公司 A kind of device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100424579C (en) * 2004-03-08 2008-10-08 普立尔科技股份有限公司 The Fast Focusing Method of Digital Camera
CN100378570C (en) * 2004-05-14 2008-04-02 光宝科技股份有限公司 auto focus lens
US7499095B2 (en) 2004-06-02 2009-03-03 Samsung Electronics Co., Ltd. Apparatus and method for auto-focusing in a mobile terminal
CN100399100C (en) * 2004-08-23 2008-07-02 三星电子株式会社 Optical zoom device and portable communication device using same
CN100367064C (en) * 2004-10-22 2008-02-06 华宇电脑股份有限公司 Lens driving mechanism
CN1786808B (en) * 2004-12-11 2010-10-06 鸿富锦精密工业(深圳)有限公司 Optical auto-focusing apparatus
US8040426B2 (en) 2005-05-11 2011-10-18 China Mobile Internet Technologies Inc. Automatic focusing mechanism
WO2006119693A1 (en) * 2005-05-11 2006-11-16 Beijing Huaqi Digital Technology Lab Co., Ltd. Automatic focusing device
CN100451806C (en) * 2005-09-27 2009-01-14 力相光学股份有限公司 Voice coil motor automatic focusing device with position feedback and focusing method thereof
CN100501484C (en) * 2005-09-30 2009-06-17 鸿富锦精密工业(深圳)有限公司 Digital Camera Module
CN101046597B (en) * 2006-03-30 2010-10-06 光宝科技股份有限公司 Electronic zoom device and method for camera
US7595946B2 (en) 2006-09-29 2009-09-29 Fujinon Corporation Imaging apparatus and portable apparatus
CN103179235A (en) * 2011-12-23 2013-06-26 捷讯研究有限公司 Apparatus, and associated method, for affixing an external camera lens to a device having camera functionality
CN103676069A (en) * 2012-09-20 2014-03-26 华晶科技股份有限公司 Lens actuating device and lens actuating method thereof
CN103676069B (en) * 2012-09-20 2015-12-16 华晶科技股份有限公司 Lens actuating device and lens actuating method thereof
CN104216091A (en) * 2013-05-31 2014-12-17 鸿富锦精密工业(深圳)有限公司 Lens driving system and lens driving method
CN105136042A (en) * 2015-08-20 2015-12-09 广东欧珀移动通信有限公司 A height measurement method, device and mobile terminal
CN109600538A (en) * 2018-12-19 2019-04-09 上海创功通讯技术有限公司 A kind of device
CN109600538B (en) * 2018-12-19 2020-10-16 上海创功通讯技术有限公司 Driving device for controlling stretching

Similar Documents

Publication Publication Date Title
CN1368658A (en) Automatic focusing mechanism and method
CN111936908B (en) Optical path folding element with extended two-degree-of-freedom rotation range
US9423629B2 (en) Imaging apparatus
US9020334B1 (en) Imaging apparatus
US11592644B2 (en) Optical device and imaging apparatus with position sensors and coil motors
CN111103699B (en) Camera with camera shake correction function
US7760996B2 (en) Image blur correction device and camera
US20110142434A1 (en) Camera module having a low-friction movable lens
US9063347B2 (en) Imaging apparatus
EP1860493A1 (en) Optical apparatus
CN110876005B (en) Lens apparatus and imaging system including the same
JP6231416B2 (en) Imaging device
CN101064779A (en) Method for realizing minisize camera automatic focusing and minisize camera thereof
US9063346B2 (en) Imaging apparatus
CN102043305A (en) Aperture unit and lens barrel including the same
US6452732B1 (en) Filter change-over device
US8078043B2 (en) Image shake correction apparatus and image pickup apparatus
CN112468628A (en) Telescopic zoom lens
US6927798B2 (en) Light amount adjusting apparatus and optical apparatus having the same
JP4164330B2 (en) Optical equipment
US20250365510A1 (en) Slim compact lens optical image stabilization
CN1940698A (en) Voice coil motor autofocus device with position feedback and its focusing method
CN109964161A (en) The manufacturing method of variable-power optical system, optical device, picture pick-up device and variable-power optical system
US20170295322A1 (en) Image pickup apparatus with image stabilizing function, and control method therefor
US8773582B2 (en) System and Method for controlling a camera shutter

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication