CN108344356A - A kind of method actively carrying out motor precision calibration - Google Patents
A kind of method actively carrying out motor precision calibration Download PDFInfo
- Publication number
- CN108344356A CN108344356A CN201711475855.XA CN201711475855A CN108344356A CN 108344356 A CN108344356 A CN 108344356A CN 201711475855 A CN201711475855 A CN 201711475855A CN 108344356 A CN108344356 A CN 108344356A
- Authority
- CN
- China
- Prior art keywords
- motor
- control unit
- magnetic field
- stroke
- hall sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/003—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring position, not involving coordinate determination
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of methods actively carrying out motor precision calibration, including step:S1:When reaching preset condition, control unit controls the operation of driving portion drive motor, and Hall sensor obtains the magnetic field intensity of the different location of motor;S2:Control unit judges the maximum machine stroke of motor according to the strength information of acquisition;S3:The motor maximum machine stroke of acquisition is compared control unit with initial maximum machine stroke;S4:Control unit records the corresponding code value of the magnetic field intensity after subtracting difference, the code value recorded when camera module assembling focal distance calibration before covering.The present invention is by repeatedly reacquiring the stroke of motor, it will be compared with former stroke, and former data are covered after carrying out data processing, obtain new data, i.e. by being shifted again to the acquisition of motor range to solve magnet, the problem of changes of magnetic field so that the position of the accurate detector lens of Hall sensor energy, and then lens location is accurately adjusted.
Description
Technical field
The present invention relates to the technical fields of camera, are specifically related to a kind of method actively carrying out motor precision calibration.
Background technology
Fig. 1 is the partial schematic diagram of camera structure of the present invention;Fig. 2 is the minimum end position signal of motor stroke in the present invention
Figure;Fig. 3 is motor stroke most significant end position view in the present invention;Fig. 4 is the schematic diagram that motor stroke confirms under normal condition;
Fig. 5 is that error condition motor stroke confirms schematic diagram when magnet deviates;It please refers to Fig.1 to shown in Fig. 5, in camera field, is
Focusing is more acurrate, it is necessary to be monitored to the position of camera lens.And the prior art is one magnet of attaching on camera lens, is then led to
The variation for crossing Hall sensor induced field intensity carrys out the real time position of detector lens.
Since camera module is opto-mechanical mechanisms, moved in a certain range so camera lens can only be fixed.This
Range is exactly the maximum machine stroke of motor, while being also Driver IC (Driver integrated circuit driving collection
At circuit) maximum magnitude that can drive, according to the Driver IC of 10bit, driving range is normally defined 1024 code
(code) (0~1023).
Such as Fig. 4 since camera lens moving range is being determined by the mechanical structure of motor, thus carry out Hall sensor and
When the calibration of lens location, the maximum value that camera lens is shifted onto to motor stroke both ends respectively first is needed, then to obtaining at this time
To range calibrated with Hall sensor signal, record Hall sensor signal it is corresponding with magnet positions close
System.
Since magnet is attached on camera lens, Hall sensor signal and the correspondence of magnet positions can at this time
To be interpreted as the correspondence of Hall sensor and lens location.
In use due to camera module, it is easy to equal vibration influences are fallen, inside camera module
The position of Hall sensor and the position of magnet can also change because of external force.At this time when lens location is identical, Hall passes
0 position of sensor signal and the corresponding position of magnet will change.
But in focus process, Hall sensor can still be examined by accurate location of the corresponding magnet positions in 0 position
It surveys, therefore camera lens can be shifted onto the position of mistake, such as Fig. 5.At this moment the position of camera lens is that Hall sensor detection is thought most
Articulation point, but it is not the most articulation point of focusing.
Therefore, because the relative position of Hall sensor and magnet changes, if the school before calling variation in focusing
Quasi- data, Hall sensor cannot detect the accurate position of camera lens, may result in the inaccurate problem of focusing in this way.
Invention content
For the above-mentioned problems in the prior art, it is desirable to provide one kind accurately can carry out school to lens location
Standard, the method for actively carrying out motor precision calibration not influenced by magnet positions.
Specific technical solution is as follows:
A kind of method actively carrying out motor precision calibration, including step:
S1:When reaching preset condition, control unit controls the operation of driving portion drive motor, and camera motion, Hall is pushed to pass
Sensor obtains the magnetic field intensity of the different location of motor, and strength information is input to control unit;
S2:Control unit judges the maximum machine stroke of motor according to the strength information of acquisition;
S3:The motor maximum machine stroke of acquisition is compared control unit with initial maximum machine stroke, obtains pair
The variation of defocus distance calibration;
S4:Control unit records the corresponding code value of the magnetic field intensity after subtracting difference, the preceding camera mould of covering
The code value recorded when group assembling focal distance calibration.
Preferably, S1 includes step:
S11:Control unit controls driving portion operation, and camera lens is pushed to the least significant end of motor stroke, Hall sensor induction 0
The corresponding magnetic field intensity of point, and strength information is input to control unit;
S12:Control unit controls driving portion operation, and camera lens is pushed to the top of motor stroke, Hall sensor induction 0
The corresponding magnetic field intensity of point, and strength information is input to control unit.
Preferably, the sequence of step S11 and step S12 can replace.
Preferably, the step S2 further includes step:
S21:Control unit incudes 0 point of corresponding magnetic field intensity and top suddenly according to the least significant end Hall sensor of acquisition
That 0 point of corresponding magnetic field intensity of sensor sensing, judges the maximum machine stroke of motor.
Preferably, the magnet is fixedly connected with camera lens.
Preferably, the motor includes shell, driving portion and clamping section, wherein driving portion and clamping section are arranged at
In the shell, wherein camera lens is arranged in clamping section, and the clamping section is connected with the driving portion, and matches with the shell
It closes.
Preferably, Hall sensor setting wall side inside the shell, clamping section described in face, and with the magnet phase
It is right.
The good effect of above-mentioned technical proposal is:
The present invention will be compared with former stroke by repeatedly reacquiring the stroke of motor, and after carrying out data processing
Former data are covered, new data are obtained, i.e., by being shifted again to the acquisition of motor range to solve magnet, magnetic
The problem of field variation so that the position of the accurate detector lens of Hall sensor energy, and then lens location is accurately adjusted.
Description of the drawings
Fig. 1 is the partial schematic diagram of camera structure of the present invention;
Fig. 2 is motor stroke least significant end position view in the present invention;
Fig. 3 is motor stroke most significant end position view in the present invention;
Fig. 4 is the schematic diagram that motor stroke confirms under normal condition;
Fig. 5 is that error condition motor stroke confirms schematic diagram when magnet deviates;
Fig. 6 is that magnet confirms schematic diagram to motor stroke again when deviating.
In attached drawing:1, shell;2, Hall sensor;3, clamping section;4, camera lens;5, magnet;6,0 point.
Specific implementation mode
It is real below in order to make the technical means, the creative features, the aims and the efficiencies achieved by the present invention be easy to understand
Example combination attached drawing is applied to be specifically addressed to provided by the invention.
Fig. 6 is that magnet confirms schematic diagram to motor stroke again when deviating, and shown in Fig. 6, is shown a kind of preferable
The method for actively carrying out motor precision calibration, by the position of 2 induced magnet 5 of Hall sensor, and then drive motor is to mirror
First 4 position is adjusted, wherein motor includes shell 1, driving portion and clamping section 3, and wherein driving portion and clamping section 3 is equal
Be arranged in the shell 1, wherein camera lens 4 be arranged in clamping section 3, the clamping section 3 is connected with the driving portion, and with institute
Shell 1 is stated to match, the setting of the Hall sensor 2 is in 1 inner wall side of shell, clamping section 3 described in face, wherein with it is described suddenly
You are arranged on the outer wall of the clamping section 32 matched magnet 5 of sensor, opposite with the Hall sensor 2.Hall passes
Sensor 2 obtains the location information that camera lens 4 is obtained according to magnet 5, and location information is fed back to control mechanism, the control mechanism
Driving portion operation will be driven according to location information, the position of camera lens 4 will be adaptively adjusted.
Wherein, the inner wall both ends of the shell 1 are respectively provided with the first catch and the second catch.It wraps the clamping section 3
Gripping block is included, is provided on the outside of the gripping block and is matched with catch with 1 matched block of the shell, the block,
The movement travel of clamping section 3 is defined,
Wherein, the top for specifying the position that the first end of block offsets with first catch to be moved for camera lens 4, and the
Two ends and the lowermost end that the position that second catch offsets is that camera lens 4 moves.
The specific calibration method of the present invention includes step:
S1:When reaching preset condition, control unit controls the operation of driving portion drive motor, and then camera lens 4 is pushed to move, suddenly
Your sensor 2 obtains the magnetic field intensity of the different location of motor, and strength information is input to control unit;
S2:Control unit judges the maximum machine stroke of motor according to the strength information of acquisition;
S3:The motor maximum machine stroke of acquisition is compared control unit with initial maximum machine stroke, obtains pair
The variation of defocus distance calibration;
S4:Control unit records the corresponding code value of the magnetic field intensity after subtracting difference, the preceding camera mould of covering
The code value recorded when group assembling focal distance calibration.
Hereinafter, being illustrated with a kind of specific embodiment, it should be pointed out that described in following implementation it
Structure, technique, selection are only to illustrate the feasibility of embodiment, the intention of there is no restriction the scope of the present invention.
More specifically, the step S1 includes step:
S11:Control unit controls driving portion operation, and camera lens 4 is pushed to the least significant end of motor stroke, and Hall sensor 2 is felt
0: 6 corresponding magnetic field intensity is answered, and strength information is input to control unit;
S12:Control unit controls driving portion operation, and camera lens 4 is pushed to the top of motor stroke, and Hall sensor 2 is felt
0: 6 corresponding magnetic field intensity is answered, and strength information is input to control unit.
In addition, the sequence of step S11 and step S12 can replace.
Further, the step S2 further includes step:
S21:Control unit incudes 0: 6 corresponding magnetic field intensity and top according to the least significant end Hall sensor 2 of acquisition
Hall sensor 2 incudes 0: 6 corresponding magnetic field intensity, judges the maximum machine stroke of motor.
Wherein, the magnet 5 is fixedly connected with camera lens 4.
In the present invention, because the mechanical trip of motor is fixed, the magnetic field range that Hall sensor 2 incudes is solid
Fixed, therefore, the magnetic field range that the Hall sensor 2 front and back with the variation of 2 relative position of Hall sensor of magnet 5 can sense
It is also fixed.Since magnet 5 and camera lens 4 are fixed together, when motor moves, magnet 5 is moved synchronously with camera lens 4, suddenly
You are input to control unit by sensor 2 by induced field intensity, and by the strength information in magnetic field, and the control unit is strong according to magnetic field
Degree determines the range of record motor, and by magnetic field strength differences subtract each other when motor range before and after calibration, so that it may with
The variation calibrated to focal distance, then the magnetic field after difference will be subtracted corresponding code value is recorded by force, it is imaged before covering
The code value recorded when head module group assembling focal distance calibration, you can the position of camera lens 4 is accurately adjusted.
The present invention will be compared with former stroke by repeatedly reacquiring the stroke of motor, and after carrying out data processing
Former data are covered, new data are obtained, i.e., by being shifted again to the acquisition of motor range to solve magnet 5,
The problem of changes of magnetic field so that Hall sensor 2 can accurate detector lens 4 position, and then 4 position of camera lens is carried out accurate
It adjusts.
It these are only preferred embodiments of the present invention, be not intended to limit the implementation manners and the protection scope of the present invention, it is right
For those skilled in the art, it should can appreciate that and all be replaced with being equal made by description of the invention and diagramatic content
It changes and obviously changes obtained scheme, should all be included within the scope of the present invention.
Claims (7)
1. a kind of method actively carrying out motor precision calibration, which is characterized in that including step:
S1:When reaching preset condition, control unit controls the operation of driving portion drive motor, pushes camera motion, Hall sensor
The magnetic field intensity of the different location of motor is obtained, and strength information is input to control unit;
S2:Control unit judges the maximum machine stroke of motor according to the strength information of acquisition;
S3:The motor maximum machine stroke of acquisition is compared control unit with initial maximum machine stroke, obtains focusing
The variation for standard of leaving school;
S4:Control unit records the corresponding code value of the magnetic field intensity after subtracting difference, camera module group before covering
The code value recorded when dress focal distance calibration.
2. the method according to claim 1 for actively carrying out motor precision calibration, which is characterized in that the step S1 includes
Step:
S11:Control unit controls driving portion operation, and camera lens is pushed to the least significant end of motor stroke, and Hall sensor incudes 0 point pair
The magnetic field intensity answered, and strength information is input to control unit;
S12:Control unit controls driving portion operation, and camera lens is pushed to the top of motor stroke, and Hall sensor incudes 0 point pair
The magnetic field intensity answered, and strength information is input to control unit.
3. the method according to claim 2 for actively carrying out motor precision calibration, which is characterized in that step S11 and step
The sequence of S12 can replace.
4. the method according to claim 3 for actively carrying out motor precision calibration, which is characterized in that the step S2 is also wrapped
Include step:
S21:Control unit incudes 0 point of corresponding magnetic field intensity according to the least significant end Hall sensor of acquisition and top Hall passes
Sensor incudes 0 point of corresponding magnetic field intensity, judges the maximum machine stroke of motor.
5. the method according to claim 4 for actively carrying out motor precision calibration, which is characterized in that the magnet and camera lens
It is fixedly connected.
6. the method according to claim 5 for actively carrying out motor precision calibration, which is characterized in that the motor includes outer
Shell, driving portion and clamping section, wherein driving portion and clamping section are respectively provided in the housing, wherein camera lens setting is being pressed from both sides
Tight portion, the clamping section are connected with the driving portion, and are matched with the shell.
7. the method according to claim 6 for actively carrying out motor precision calibration, which is characterized in that the Hall sensor
Setting wall side inside the shell, clamping section described in face, and it is opposite with the magnet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711475855.XA CN108344356A (en) | 2017-12-29 | 2017-12-29 | A kind of method actively carrying out motor precision calibration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711475855.XA CN108344356A (en) | 2017-12-29 | 2017-12-29 | A kind of method actively carrying out motor precision calibration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108344356A true CN108344356A (en) | 2018-07-31 |
Family
ID=62963431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711475855.XA Pending CN108344356A (en) | 2017-12-29 | 2017-12-29 | A kind of method actively carrying out motor precision calibration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108344356A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111948533A (en) * | 2019-05-17 | 2020-11-17 | 友华科技(香港)有限公司 | Closed-loop motor detection method |
CN114577099A (en) * | 2020-11-16 | 2022-06-03 | 深圳市万普拉斯科技有限公司 | Position detection system, lens, zooming method and terminal |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0651172A (en) * | 1992-07-29 | 1994-02-25 | Nec Corp | Device for adjusting position of image pickup element for optical system mounted on aerospace vehicle |
CN1940698A (en) * | 2005-09-27 | 2007-04-04 | 力相光学股份有限公司 | Voice-coil motor automatic focusing device with position feedback and its focusing method |
CN101743743A (en) * | 2007-07-18 | 2010-06-16 | 磁化电子株式会社 | Camera system with auto-focus function and control method thereof |
CN101960714A (en) * | 2008-03-06 | 2011-01-26 | 阿莱戈微系统公司 | Self-calibration algorithms in a small motor driver IC with an integrated position sensor |
CN103900667A (en) * | 2014-04-04 | 2014-07-02 | 赛摩电气股份有限公司 | Electronic belt scale linear compensation method |
CN104618634A (en) * | 2015-02-12 | 2015-05-13 | 深圳市欧珀通信软件有限公司 | Mobile terminal and method for calibrating rotating angle of camera |
CN105793754A (en) * | 2013-12-04 | 2016-07-20 | 旭化成微电子株式会社 | Camera module adjustment method, lens position control device, control device and control method for linear motion device |
CN106341584A (en) * | 2016-09-23 | 2017-01-18 | 深圳市金立通信设备有限公司 | Camera module focusing production technology, camera module and terminal |
CN106533063A (en) * | 2016-09-29 | 2017-03-22 | 格科微电子(上海)有限公司 | Closed loop voice coil motor (VCM) realizing method |
-
2017
- 2017-12-29 CN CN201711475855.XA patent/CN108344356A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0651172A (en) * | 1992-07-29 | 1994-02-25 | Nec Corp | Device for adjusting position of image pickup element for optical system mounted on aerospace vehicle |
CN1940698A (en) * | 2005-09-27 | 2007-04-04 | 力相光学股份有限公司 | Voice-coil motor automatic focusing device with position feedback and its focusing method |
CN101743743A (en) * | 2007-07-18 | 2010-06-16 | 磁化电子株式会社 | Camera system with auto-focus function and control method thereof |
CN101960714A (en) * | 2008-03-06 | 2011-01-26 | 阿莱戈微系统公司 | Self-calibration algorithms in a small motor driver IC with an integrated position sensor |
CN105793754A (en) * | 2013-12-04 | 2016-07-20 | 旭化成微电子株式会社 | Camera module adjustment method, lens position control device, control device and control method for linear motion device |
CN103900667A (en) * | 2014-04-04 | 2014-07-02 | 赛摩电气股份有限公司 | Electronic belt scale linear compensation method |
CN104618634A (en) * | 2015-02-12 | 2015-05-13 | 深圳市欧珀通信软件有限公司 | Mobile terminal and method for calibrating rotating angle of camera |
CN106341584A (en) * | 2016-09-23 | 2017-01-18 | 深圳市金立通信设备有限公司 | Camera module focusing production technology, camera module and terminal |
CN106533063A (en) * | 2016-09-29 | 2017-03-22 | 格科微电子(上海)有限公司 | Closed loop voice coil motor (VCM) realizing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111948533A (en) * | 2019-05-17 | 2020-11-17 | 友华科技(香港)有限公司 | Closed-loop motor detection method |
CN114577099A (en) * | 2020-11-16 | 2022-06-03 | 深圳市万普拉斯科技有限公司 | Position detection system, lens, zooming method and terminal |
CN114577099B (en) * | 2020-11-16 | 2023-11-28 | 深圳市万普拉斯科技有限公司 | Position detection system, lens, zooming method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10083331B2 (en) | Positioning an object with respect to a target location | |
EP3004957B1 (en) | A method for calibrating an image capture device | |
EP2031442B1 (en) | Auto-focusing apparatus and method for camera | |
KR101912277B1 (en) | Actuator driving apparatus and camera module including the same | |
US9473703B2 (en) | Blur correction apparatus | |
CN101776835B (en) | Imaging apparatus and its control method | |
EP2645161B1 (en) | Apparatus and method of controlling drive of camera module | |
KR101859377B1 (en) | Actuator driving apparatus and camera module including the same | |
CN112740650B (en) | Image pickup apparatus | |
KR101832606B1 (en) | Sensorless controller of linear actuator | |
CN108344356A (en) | A kind of method actively carrying out motor precision calibration | |
CN105635571B (en) | Camera control method, photographing control device and camera system | |
CN104852643A (en) | Voice coil motor sensor and controller | |
WO2005124418A1 (en) | Focusing information acquisition device, and focusing information acquisition method | |
JP4393045B2 (en) | Lens control apparatus and camera equipped with the same | |
CN104914646A (en) | Camera module and method for auto focusing of camera module | |
CN105635564A (en) | Multiple camera apparatus and method for synchronized autofocus | |
US11107247B2 (en) | Calibration device, calibration method, and calibration chart device | |
US8643726B2 (en) | Test system and method for testing camera module having voice coil motor | |
JP4247622B2 (en) | Lens position detection device, lens barrel, and imaging device | |
CN104914551A (en) | Measuring apparatus and measuring method thereof | |
KR102327732B1 (en) | Actuator driving apparatus and camera module including the same | |
US8558418B2 (en) | Voice coil motor | |
CN112014938A (en) | Lens apparatus, camera system, and computer-readable storage medium | |
CN218792220U (en) | Camera, system, automatic focusing device and position detection device of endoscope |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180731 |