CN111510603B - Driving method and system of voice coil motor, camera module and mobile phone - Google Patents

Driving method and system of voice coil motor, camera module and mobile phone Download PDF

Info

Publication number
CN111510603B
CN111510603B CN202010336759.2A CN202010336759A CN111510603B CN 111510603 B CN111510603 B CN 111510603B CN 202010336759 A CN202010336759 A CN 202010336759A CN 111510603 B CN111510603 B CN 111510603B
Authority
CN
China
Prior art keywords
sine wave
current
waveform
current waveform
current value
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.)
Active
Application number
CN202010336759.2A
Other languages
Chinese (zh)
Other versions
CN111510603A (en
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.)
Shanghai Awinic Technology Co Ltd
Original Assignee
Shanghai Awinic Technology Co 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 Shanghai Awinic Technology Co Ltd filed Critical Shanghai Awinic Technology Co Ltd
Priority to CN202010336759.2A priority Critical patent/CN111510603B/en
Publication of CN111510603A publication Critical patent/CN111510603A/en
Application granted granted Critical
Publication of CN111510603B publication Critical patent/CN111510603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Abstract

The application provides a driving method and a driving system of a voice coil motor, a camera module and a mobile phone. The waveform generation unit may then receive and generate a sine wave current waveform in response to the control command. The digital-to-analog converter receives and responds to the control command to convert the sine wave current waveform to obtain a driving current corresponding to the sine wave current waveform, and outputs the driving current to drive the voice coil motor. Therefore, the corresponding driving current is output by utilizing the sine wave current waveform, so that the high-frequency component in the current waveform is reduced, and the VCM overshoot value can be effectively reduced, and the problem that the VCM harmonic oscillation time is long due to the serious overshoot phenomenon when the VCM is driven in the prior art can be solved.

Description

Driving method and system of voice coil motor, camera module and mobile phone
Technical Field
The application relates to the technical field of motor control, in particular to a driving method and system of a voice coil motor, a camera module and a mobile phone.
Background
With the development of science and technology, smart phones are updated more and more quickly, and besides the basic performance of the mobile phones, the camera shooting and photographing performance of the mobile phones also becomes the competitive focus of various merchants. And what is used as a driving core in the camera is a Voice Coil Motor (VCM). The VCM is a device that converts electrical energy into mechanical energy and implements linear and limited swing angle motion. The regular motion can be generated by utilizing the interaction between the magnetic field from the permanent magnetic steel and the magnetic poles in the magnetic field generated by the conductor of the electrified coil. Since the VCM is a non-commutating power device and its positioning accuracy depends on the feedback and control system, the VCM is often used to drive the lens.
In the prior art, in a method for driving a lens by using a VCM, when the VCM is driven to operate, since a driving current contains a relatively large number of high-frequency components, a severe overshoot phenomenon generally occurs in a driving process, and too much overshoot affects the consistency of a spring in a voice coil motor, which may affect the performance and reliability of the VCM due to metal fatigue and change of the spring elastic coefficient over time. Moreover, the VCM harmonic oscillation time is relatively long due to a severe overshoot phenomenon, the lens is linked to the VCM through a physical material, and the longer the VCM harmonic oscillation time is, the longer the lens stabilization time is, so that the lens cannot be rapidly stabilized.
Disclosure of Invention
In view of the above, the present application provides a driving method and system for a voice coil motor, a camera module and a mobile phone.
In order to achieve the above purpose, the present application provides the following technical solutions:
the present application provides in a first aspect a driving system for a voice coil motor, including:
a communication interface;
the controller is used for receiving configuration parameters through the communication interface and generating a control instruction according to the configuration parameters;
the waveform generating unit is connected with the controller and used for receiving and responding to the control command to generate a sine wave current waveform;
and the digital-to-analog converter is connected with the controller and the waveform generating unit and used for receiving and responding to the control command to convert the sine wave current waveform to obtain a driving current corresponding to the sine wave current waveform and outputting the driving current to drive the voice coil motor.
Optionally, in the system, the waveform generating unit includes:
the waveform generator and the shaper are respectively connected with the controller; wherein:
the waveform generator is used for responding to the control instruction to generate the sine wave current waveform or responding to the control instruction to generate a non-sine current waveform;
and the shaper is connected with the waveform generator and used for shaping the non-sinusoidal current waveform generated by the waveform generator in response to the control instruction to obtain the sinusoidal current waveform.
Optionally, in the system, the waveform generating unit includes:
and the waveform generator is connected with the controller and used for responding to the control command and generating the sine wave current waveform.
Optionally, in the system, when the digital-to-analog converter performs conversion of the sine wave current waveform in response to the control instruction to obtain the driving current corresponding to the sine wave current waveform, the digital-to-analog converter is configured to:
responding to the control command to convert a first sine wave current waveform to obtain a driving current corresponding to the first sine wave current waveform; wherein: the driving current corresponding to the first sine wave current waveform is as follows: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is continuously kept for a preset time length.
Optionally, in the system, when the digital-to-analog converter performs conversion of the sine wave current waveform in response to the control instruction to obtain the driving current corresponding to the sine wave current waveform, the digital-to-analog converter is configured to:
responding to the control command to convert a second type of sine wave current waveform to obtain a driving current corresponding to the second type of sine wave current waveform; wherein: the driving current corresponding to the second type of sine wave current waveform is as follows: at a first time, the current value is a first current value, and is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting from the second time, increasing from the second current value to a third current value in the form of a second sine wave, and maintaining at the third current value for a preset time period.
Optionally, in the system, a period of the first sine wave is equal to a period of the second sine wave, or the period of the first sine wave is not equal to the period of the second sine wave.
A second aspect of the present application provides a driving method of a voice coil motor, including:
receiving configuration parameters, and generating a first control instruction and a second control instruction according to the configuration parameters;
generating a sine wave current waveform according to the first control instruction;
and converting the sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the sine wave current waveform, and outputting the driving current to drive the voice coil motor.
Optionally, in the method, the generating a sine wave current waveform according to the first control instruction includes:
and generating a non-sinusoidal current waveform according to the first control instruction, and shaping the non-sinusoidal current waveform to obtain the sinusoidal current waveform.
Optionally, in the method, the converting the sine wave current waveform according to the second control instruction to obtain the driving current corresponding to the sine wave current waveform includes:
converting a first sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the first sine wave current waveform; wherein: the driving current corresponding to the first sine wave current waveform is as follows: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is continuously kept for a preset time length.
Optionally, in the method, the converting the sine wave current waveform according to the second control instruction to obtain the driving current corresponding to the sine wave current waveform includes:
converting a second type of sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the second type of sine wave current waveform; wherein: the driving current corresponding to the second type of sine wave current waveform is as follows: at a first time, the current value is a first current value, and is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting from the second time, increasing from the second current value to a third current value in the form of a second sine wave, and maintaining at the third current value for a preset time period.
Optionally, in the method, a period of the first sine wave is equal to a period of the second sine wave, or the period of the first sine wave is not equal to the period of the second sine wave.
The third aspect of the present application provides a camera module, including: lens, base, sensor, voice coil motor and the actuating system of voice coil motor as in any one above.
A fourth aspect of the present application provides a mobile phone, including: the camera module according to the third aspect.
According to the technical scheme, in the driving system of the voice coil motor, the controller receives the configuration parameters through the communication interface and generates the control command according to the configuration parameters. The waveform generation unit may then receive and generate a sine wave current waveform in response to the control command. The digital-to-analog converter receives and responds to the control command to convert the sine wave current waveform to obtain a driving current corresponding to the sine wave current waveform, and outputs the driving current to drive the voice coil motor. Therefore, the corresponding driving current is output by utilizing the sine wave current waveform, so that the high-frequency component in the current waveform is reduced, and the VCM overshoot value can be effectively reduced, and the problem that the VCM harmonic oscillation time is long due to the serious overshoot phenomenon when the VCM is driven in the prior art can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic view of a driving system of a voice coil motor according to an embodiment of the present disclosure;
FIG. 2 is a schematic view of a driving system of a voice coil motor according to another embodiment of the present disclosure;
FIG. 3 is a driving algorithm execution diagram of a driving system based on a voice coil motor according to an embodiment of the present application;
FIG. 4 is a diagram of an algorithm for driving a voice coil motor according to the prior art;
FIG. 5 is a diagram illustrating an implementation of a driving algorithm for another voice coil motor disclosed in the prior art;
FIG. 6 is a driving algorithm execution diagram of another driving system based on a voice coil motor disclosed in the embodiment of the present application;
FIG. 7 is a diagram of an implementation of another prior art voice coil motor driving algorithm;
fig. 8 is a flowchart illustrating a driving method of a voice coil motor according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Moreover, in this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
As can be seen from the background art, in the prior art, in the method of driving the lens by using the VCM, when the VCM is driven to operate, since the driving current contains many high frequency components, there is a severe overshoot phenomenon in the driving process, and too much overshoot affects the consistency of the spring in the voice coil motor, which causes metal fatigue over time, and the change of the spring elastic coefficient affects the performance and reliability of the VCM. Moreover, the VCM harmonic oscillation time is relatively long due to a severe overshoot phenomenon, the lens is linked to the VCM through a physical material, and the longer the VCM harmonic oscillation time is, the longer the lens stabilization time is, so that the lens cannot be rapidly stabilized.
Based on this, the embodiment of the application discloses a driving method and a driving system of a voice coil motor, which output corresponding driving current by using sine wave current waveform, thereby reducing high frequency component in the current waveform, effectively reducing a VCM overshoot value, and solving the problem of long VCM harmonic oscillation time caused by serious overshoot phenomenon when the VCM is driven in the prior art.
The embodiment of the present application provides a driving system of a voice coil motor, specifically refer to fig. 1, including:
a communication interface 101.
It should be noted that the upper computer communicates with the driving system through the communication interface 101, configures parameters for the system according to actual conditions, and sends the configured parameters to the communication interface 101. The communication interface 101 may be an I2C, SPI, UART, or other type of communication interface.
And the controller 102 is configured to receive the configuration parameters through the communication interface 101, and generate a control instruction according to the configuration parameters.
It should be noted that the controller 102 is a control device of the system, and receives the configuration parameters sent by the communication interface 101, and then generates specific control instructions according to specific contents of the configuration parameters, and when the control instructions are sent to other components in the drive system, the other components can be controlled to operate according to the sent control instructions, so that the controller 102 can control the operating state of the whole system by sending the control instructions.
And a waveform generating unit 103 connected to the controller 102 for receiving and generating a sine wave current waveform in response to a control command.
When necessary, the waveform generating unit 103 is connected to the controller 102, and can receive a control command transmitted by the controller 102. Upon receiving a control command to generate a sine wave current waveform sent by the controller 102, the sine wave current waveform is generated in response to the control command.
Optionally, in another embodiment of the present application, an implementation manner of the waveform generating unit, as shown in fig. 2, specifically includes:
a waveform generator 203 and a shaper 204 respectively connected to the controller 202; wherein:
the waveform generator 203 is configured to receive a response instruction sent by the controller 202 and respond to a control instruction to generate a sine wave current waveform, or receive a response instruction sent by the controller 202 and respond to a control instruction to generate a non-sine current waveform;
the shaper 204 is connected to the waveform generator 203, and is configured to receive the response instruction sent by the controller 202 and respond to the control instruction, and shape the non-sinusoidal current waveform generated by the waveform generator 203 to obtain a sinusoidal current waveform.
The controller 202 receives the configuration parameters transmitted from the communication interface 201, and transmits a control command for generating a non-sinusoidal current waveform to the waveform generator 203 when it is determined that the non-sinusoidal current waveform needs to be generated based on the configuration parameters. Upon receiving the command, the waveform generator 203 generates a non-sinusoidal current waveform in response to the control command. The controller 202 generates a shaping control command for the non-sinusoidal current waveform, and transmits the control command to the shaper 204. The shaper 204 performs sine wave shaping on the non-sinusoidal current waveform generated by the waveform generator 203 in response to the control command, and removes high frequency components in the waveform to obtain a sinusoidal current waveform. In this manner, the sine wave current waveform obtained by the shaping is transmitted to the digital-to-analog converter 205, the controller 202 transmits a control command for converting the sine wave current waveform to the digital-to-analog converter 205, the digital-to-analog converter 205 generates a drive current corresponding to the sine wave current waveform in response to the control command, outputs the drive current to the VCM, and drives the VCM with the drive current. Since the generated driving current does not contain a high frequency component as the waveform shaped by the shaper 204, the VCM driven by the current will not generate a large overshoot phenomenon, and the harmonic oscillation time is short.
When the controller 202 determines that the sine wave current waveform needs to be generated based on the configuration parameters, it sends a control command for generating the sine wave current waveform to the waveform generator 203. Upon receiving the command, the waveform generator 203 generates a sinusoidal current waveform in response to the control command. Since the sine wave current waveform is already generated at this time, the shaper 204 does not need to shape the current waveform any more, but directly sends the current waveform to the digital-to-analog converter 205, the controller 202 sends a control command for converting the sine wave current waveform to the digital-to-analog converter 205, and the digital-to-analog converter 205 generates a drive current corresponding to the sine wave current waveform in response to the control command, outputs the drive current to the VCM, and drives the VCM with the drive current.
Optionally, in another embodiment of the present application, another implementation manner of the waveform generating unit 103 includes:
a waveform generator coupled to the controller 102 for generating a sine wave current waveform in response to a control command.
It should be noted that, in this embodiment, the waveform generator connected to the controller 102 is only used for generating the sine wave current waveform in response to the sine wave generation control command sent by the controller 102. In addition, in this embodiment, specific contents of the waveform generator generating the sine wave current waveform may refer to the contents of the above embodiments, and are not described herein again.
And the digital-to-analog converter 104 connected to the controller 102 and the waveform generating unit 103 is configured to receive and convert a sine wave current waveform in response to a control command, obtain a driving current corresponding to the sine wave current waveform, output the driving current, and drive the voice coil motor.
The digital-to-analog converter 104 is connected to both the controller 102 and the waveform generating unit 103, and when receiving a control command for converting a sine-wave current waveform sent from the controller 102, the digital-to-analog converter cooperates the sine-wave current waveform sent from the waveform generating unit 103 with an external circuit to generate a driving current corresponding to the sine-wave current waveform in response to the control command, and outputs the driving current to the VCM, thereby driving the VCM with the driving current.
In the driving system of the voice coil motor provided by the present application, the controller 102 receives the configuration parameters through the communication interface 101, and generates the control command according to the configuration parameters. The waveform generation unit 103 may then receive and generate a sine wave current waveform in response to the control command. The dac 104 receives and converts the sine wave current waveform in response to the control command to obtain a driving current corresponding to the sine wave current waveform, and outputs the driving current to drive the voice coil motor. Therefore, the corresponding driving current is output by utilizing the sine wave current waveform, so that the high-frequency component in the driving current waveform is reduced, and the VCM overshoot value in the VCM stroke curve can be effectively reduced, and therefore, the problem that the VCM harmonic oscillation time is long due to the serious overshoot phenomenon when the VCM is driven in the prior art can be solved.
Optionally, in another embodiment of the present application, when the digital-to-analog converter 104 performs conversion of a sine wave current waveform in response to the control command to obtain a driving current corresponding to the sine wave current waveform, as shown in fig. 3, the conversion may be used to:
responding to a control command to convert a first sine wave current waveform to obtain a driving current corresponding to the first sine wave current waveform; wherein: the drive current for the first sine wave current waveform is: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is continuously kept for a preset time length.
It is understood that, in the above embodiments of the present application, the period of the sine wave may be adjusted as needed, so as to adjust the time interval between the first time and the second time and adjust the output magnitude of the driving current during the process of increasing from the first current value to the second current value, thereby reducing the high frequency component in the driving current waveform and the VCM overshoot value in the VCM stroke curve.
It should be noted that, in the VCM driving algorithm commonly used in the prior art, as shown in fig. 4, a curve 1 is a VCM driving current waveform, and the current directly jumps from a first current value to a second current value at a first time and is kept at the second current value. The VCM stroke curve is shown in curve 2, where the VCM stroke increases drastically from the first moment and is accompanied by a severe overshoot, the overshoot is very large, and the overshoot is used to represent the amplitude of the VCM harmonic oscillation, and too large amplitude of the harmonic oscillation results in a long time for the harmonic oscillation. The inventor analyzes that the reason for causing the serious overshoot is that the current signal of the algorithm is similar to a step signal, which contains many high-frequency components, and when the high-frequency components pass through the transfer function, the serious overshoot phenomenon is generated. And finally, the harmonic oscillation amplitude of the VCM stroke is smaller than the threshold value at the second moment, the VCM stroke is regarded as a stable state at the moment, and the VCM harmonic oscillation time is the time difference between the second moment and the first moment. The threshold is a uniform measure and is typically set to 2 microns, and for ease of understanding, the threshold is the same as set forth herein in the following examples.
In addition, there is a VCM driving algorithm frequently used in the prior art, as shown in fig. 5, in which a curve 1 is a VCM driving current waveform, a current is smoothly increased from a first current value at a first time, and is increased to a second current value at a second time, and the second current value is maintained all the time. And the curve 2 is a VCM stroke curve, the VCM stroke is slowly increased along with the increase of the current and is stable at the third moment, and the harmonic oscillation time of the algorithm is the time difference between the third moment and the second moment. In this algorithm, the time from the start of outputting the drive current to the time when VCM reaches the steady state is still relatively long.
In this embodiment, after receiving the configuration parameters sent by the communication interface 101, the controller 102 sends a control command for generating a sine wave current waveform to the waveform generating unit 103, the control waveform generating unit 103 generates a sine wave current waveform as shown in fig. 3 and sends the sine wave current waveform to the digital-to-analog converter 104, then the controller 102 generates a control command for converting the sine wave current waveform and sends the control command to the digital-to-analog converter 104, and the digital-to-analog converter 104 cooperates with an external circuit to obtain a driving current corresponding to the sine wave current waveform in response to the control command.
As can be seen from fig. 3, the current value output at the first time is the first current value, and from the first time to the second time, the current value is increased from the first current value to the second current value in a sine wave manner, and the second current value is continuously maintained for a preset duration, which may be set manually as required. The first current value and the second current value are set by an upper computer and stored in configuration parameters, and the controller 102 generates a control command according to the first current value and the second current value stored in the configuration parameters and sends the control command to the digital-to-analog converter 104. The first time is the time for starting to output the first current value, and the second time is the time for reaching the second current value. The curve 1 is a VCM driving current waveform, the curve 2 is a VCM stroke curve, the VCM stroke gradually increases from the first moment, and the harmonic oscillation starts when the second moment is reached, but the overshoot value is small and is quickly smaller than the threshold value, so that the harmonic oscillation stabilizing time is quick, and the time from the start of outputting the driving current to the time when the VCM reaches the stable state can be shorter.
Optionally, in another embodiment of the present application, when the digital-to-analog converter 104 performs conversion of a sine wave current waveform in response to the control command to obtain a driving current corresponding to the sine wave current waveform, as shown in fig. 6, the conversion may be used to:
responding to the control command to convert the second sine wave current waveform to obtain a driving current corresponding to the second sine wave current waveform; wherein: the drive current corresponding to the second sine wave current waveform is: at a first time, the current value is a first current value, the current value is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting at the second time, the current value is increased from the second current value to the third current value in the form of a second sine wave and is maintained at the third current value for a preset time period.
It is understood that, in this embodiment, the period of the sine wave (first sine wave) in the first rising process from the first current value to the second current value may be adjusted as needed, so as to adjust the first time interval between the first time and the second time and adjust the output magnitude of the driving current in the first rising process, thereby reducing the high frequency component in the driving current waveform in the first rising process and the VCM overshoot value in the VCM stroke curve (for example, overshoot value 1 in fig. 6); or adjusting a period of a sine wave (second sine wave) in a second rising process of increasing from the second current value to the third current value, thereby adjusting an output magnitude of the driving current in the second rising process, and further reducing a high frequency component in a waveform of the driving current in the second rising process and a VCM overshoot value (for example, overshoot value 2 in fig. 6) in a VCM stroke curve; or adjusting the period of the first sine wave and the period of the second sine wave. In an alternative, the period of the first sine wave and the period of the second sine wave are equal. In another alternative, the period of the first sine wave and the period of the second sine wave are not equal.
In another conventional algorithm, as shown in fig. 7, a curve 1 in the figure is a VCM driving current waveform, the current directly jumps from a first current value to a second current value at a first time, the second current value is a half of the sum of the first current value and a third current value, the second current value is maintained until the second time, and the second time directly jumps to the third current value and is maintained at the third current value. Curve 2 is the VCM travel curve, and VCM has a large overshoot value from the first time to the second time, but the overshoot value starts to decrease after the second time, and starts to stabilize at the third time, and the VCM harmonic oscillation time is the time difference between the third time and the second time. However, the algorithm needs to know the VCM harmonic oscillation period in advance, and set the algorithm parameters based on this, because the algorithm generates multiple harmonics, the difference between the harmonics and the harmonics is pi, and the harmonics with the difference pi cancel each other out. And if the harmonic waves are not opposite, the harmonic wave oscillation is strengthened, and the time of the harmonic wave oscillation is longer.
In this embodiment, after receiving the configuration parameters sent by the communication interface 101, the controller 102 sends a control command for generating a sine wave current waveform to the waveform generating unit 103, the control waveform generating unit 103 generates a sine wave current waveform as shown in fig. 6 and sends the sine wave current waveform to the digital-to-analog converter 104, then the controller 102 generates a control command for converting the sine wave current waveform and sends the control command to the digital-to-analog converter 104, and the digital-to-analog converter 104 cooperates with an external circuit to obtain a driving current corresponding to the sine wave current waveform in response to the control command.
As can be seen from fig. 6, the current value outputted at the first time is the first current value, and is increased from the first current value to the second current value in a sine wave manner, and the second current value is maintained until the second time, and the second time can be set artificially. At a second time, the current value is increased from the second current value to a third current value in the form of a sine wave. The curve 1 is a VCM driving current waveform, the curve 2 is a VCM stroke curve, the VCM stroke is gradually increased from the first moment, and the harmonic oscillation of the first step is started after the current reaches the second current value. At the second moment, after the current reaches the third current value, VCM starts the second step harmonic oscillation, but the overshoot value is small and is smaller than the threshold value, so the harmonic oscillation stabilizing time is fast, and the time from the start of outputting the driving current to the time when VCM reaches the steady state can be made shorter than that shown in fig. 7. In addition, the implementation algorithm can also realize shorter VCM harmonic oscillation time without knowing the VCM harmonic oscillation period in advance, fundamentally reduces high-frequency components contained in the VCM driving current, can better adapt to different types of VCMs, and can generate good driving effect under the condition of no configuration.
Optionally, in another embodiment of the present application, a period of the first sine wave is equal to a period of the second sine wave, or the period of the first sine wave is not equal to the period of the second sine wave.
Another embodiment of the present application further provides a driving method of a voice coil motor, which is applied to the driving system of the voice coil motor in the foregoing embodiment, and with reference to fig. 8 in particular, the driving method includes:
s801, receiving the configuration parameters, and generating a first control instruction and a second control instruction according to the configuration parameters.
Alternatively, the driving method of the voice coil motor disclosed in this embodiment may be performed by the driving system of the voice coil motor in the above embodiment. A drive system for a voice coil motor comprising: the controller receives the configuration parameters through the communication interface and generates a control instruction according to the configuration parameters.
And S802, generating a sine wave current waveform according to the first control command.
Optionally, the waveform generating unit in the driving system of the voice coil motor receives and responds to the first control command to generate the sine wave current waveform.
And S803, converting the sine wave current waveform according to the second control command to obtain a driving current corresponding to the sine wave current waveform, and outputting the driving current to drive the voice coil motor.
Optionally, a digital-to-analog converter in the driving system of the voice coil motor receives and responds to the second control instruction to convert the sine wave current waveform, so as to obtain a driving current corresponding to the sine wave current waveform, and output the driving current to drive the voice coil motor.
In the driving method of the voice coil motor, the configuration parameters are received, and the first control instruction and the second control instruction are generated according to the configuration parameters. And then generating a sine wave current waveform according to the first control instruction, converting the sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the sine wave current waveform, and outputting the driving current to drive the voice coil motor. In this way, by outputting the corresponding driving current using the sine wave current waveform, thereby reducing the high frequency component in the current waveform, the VCM overshoot value can be effectively reduced. Therefore, the problem that the VCM harmonic oscillation time is long due to the fact that a serious overshoot phenomenon exists when the VCM is driven in the prior art can be solved.
For a specific implementation process of the method of this embodiment, reference may be made to the contents of the system embodiment corresponding to fig. 1, which is not described herein again.
Optionally, in another embodiment of the present application, an implementation manner of step S802 includes:
the waveform generator generates a sine wave current waveform in response to a first control command.
For the specific implementation process of the method of this embodiment, reference may be made to the contents of the system embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present application, an implementation manner of step S802 specifically includes:
and generating a non-sinusoidal current waveform according to the first control instruction, and shaping the non-sinusoidal current waveform to obtain a sine wave current waveform.
Optionally, the waveform generator generates a non-sinusoidal current waveform in response to the first control command. And the shaper responds to the first control instruction and shapes the non-sinusoidal current waveform to obtain a sinusoidal current waveform.
For the specific implementation process of the method of this embodiment, reference may be made to the contents of the system embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present application, an implementation manner of converting the sine wave current waveform according to the second control instruction in step S803 to obtain the driving current corresponding to the sine wave current waveform includes:
converting the first sine wave current waveform according to a second control instruction to obtain a driving current corresponding to the first sine wave current waveform; wherein: the driving current corresponding to the first sine wave current waveform is as follows: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is kept for a preset time.
Optionally, the above-mentioned embodiment of step S803 may be executed by a digital-to-analog converter, and specifically, the digital-to-analog converter receives and responds to the second control instruction sent by the controller to convert the first sine-wave current waveform, so as to obtain the driving current corresponding to the first sine-wave current waveform.
For the specific implementation process of the method of this embodiment, reference may be made to the contents of the system embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present application, another implementation manner of converting the sine wave current waveform according to the second control instruction in step S803 to obtain the driving current corresponding to the sine wave current waveform includes:
converting the second sine wave current waveform according to a second control instruction to obtain a driving current corresponding to the second sine wave current waveform; wherein: the drive current corresponding to the second sine wave current waveform is: at a first time, the current value is a first current value, the current value is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting from the second time, the current value is increased from the second current value to a third current value in the form of a second sine wave and is maintained at the third current value for a preset time period.
Alternatively, the above-mentioned embodiment of step S803 may also be executed by a digital-to-analog converter, and the digital-to-analog converter receives and converts the second sine-wave current waveform in response to the second control instruction, so as to obtain the driving current corresponding to the second sine-wave current waveform.
For the specific implementation process of the method of this embodiment, reference may be made to the contents of the system embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present application, a period of the first sine wave is equal to a period of the second sine wave, or the period of the first sine wave is not equal to the period of the second sine wave.
Another embodiment of the present application further provides a camera module, including: the device comprises a lens, a base, a sensor, a voice coil motor and a driving system of the voice coil motor.
The structural form of the driving system of the voice coil motor can be seen in fig. 1 and fig. 2, and the specific processes of each component in the driving system can be seen in the above system embodiment and method embodiment, which are not described herein again.
Another embodiment of the present application further provides a mobile phone, and in this embodiment, the mobile phone includes a camera module and other necessary components. It should be noted that the camera module includes: the device comprises a lens, a base, a sensor, a voice coil motor and a driving system of the voice coil motor.
Similarly, the structural form of the driving system of the voice coil motor can be seen in fig. 1 and fig. 2, and the specific processes of each component in the driving system can be seen in the above system embodiment and method embodiment, which are not described herein again.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. A drive system for a voice coil motor, comprising:
a communication interface;
the controller is used for receiving configuration parameters through the communication interface and generating a control instruction according to the configuration parameters;
the waveform generating unit is connected with the controller and used for receiving and responding to the control command to generate a sine wave current waveform;
the digital-to-analog converter is connected with the controller and the waveform generating unit and used for receiving and responding to the control command to convert the sine wave current waveform to obtain a driving current corresponding to the sine wave current waveform and outputting the driving current to drive the voice coil motor;
wherein, the digital-to-analog converter is used for responding to the control instruction to convert the sine wave current waveform to obtain the driving current corresponding to the sine wave current waveform:
responding to the control command to convert a first sine wave current waveform to obtain a driving current corresponding to the first sine wave current waveform; wherein: the driving current corresponding to the first sine wave current waveform is as follows: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is continuously kept for a preset time length.
2. The drive system according to claim 1, wherein the waveform generation unit includes:
the waveform generator and the shaper are respectively connected with the controller; wherein:
the waveform generator is used for responding to the control instruction to generate the sine wave current waveform or responding to the control instruction to generate a non-sine current waveform;
and the shaper is connected with the waveform generator and used for shaping the non-sinusoidal current waveform generated by the waveform generator in response to the control instruction to obtain the sinusoidal current waveform.
3. The drive system according to claim 1, wherein the waveform generation unit includes:
and the waveform generator is connected with the controller and used for responding to the control command and generating the sine wave current waveform.
4. The driving system according to any one of claims 1 to 3, wherein the digital-to-analog converter, when executing the conversion of the sine wave current waveform in response to the control command to obtain the driving current corresponding to the sine wave current waveform, is configured to:
responding to the control command to convert a second type of sine wave current waveform to obtain a driving current corresponding to the second type of sine wave current waveform; wherein: the driving current corresponding to the second type of sine wave current waveform is as follows: at a first time, the current value is a first current value, and is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting from the second time, increasing from the second current value to a third current value in the form of a second sine wave, and maintaining at the third current value for a preset time period.
5. The drive system of claim 4, wherein the period of the first sine wave and the period of the second sine wave are equal or the period of the first sine wave and the period of the second sine wave are not equal.
6. A method of driving a voice coil motor, comprising:
receiving configuration parameters, and generating a first control instruction and a second control instruction according to the configuration parameters;
generating a sine wave current waveform according to the first control instruction;
converting the sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the sine wave current waveform, and outputting the driving current to drive the voice coil motor;
wherein, the converting the sine wave current waveform according to the second control instruction to obtain the driving current corresponding to the sine wave current waveform includes:
converting a first sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the first sine wave current waveform; wherein: the driving current corresponding to the first sine wave current waveform is as follows: the current value at the first moment is a first current value, the current value is increased from the first current value to a second current value in a sine wave mode from the first moment to the second moment, and the second current value is continuously kept for a preset time length.
7. The driving method according to claim 6, wherein the generating a sine wave current waveform according to the first control command includes:
and generating a non-sinusoidal current waveform according to the first control instruction, and shaping the non-sinusoidal current waveform to obtain the sinusoidal current waveform.
8. The driving method according to claim 6, wherein said converting the sine wave current waveform according to the second control command to obtain the driving current corresponding to the sine wave current waveform comprises:
converting a second type of sine wave current waveform according to the second control instruction to obtain a driving current corresponding to the second type of sine wave current waveform; wherein: the driving current corresponding to the second type of sine wave current waveform is as follows: at a first time, the current value is a first current value, and is increased from the first current value to a second current value in the form of a first sine wave from the first time, and the second current value is maintained to a second time; starting from the second time, increasing from the second current value to a third current value in the form of a second sine wave, and maintaining at the third current value for a preset time period.
9. The driving method according to claim 8, characterized in that the period of the first sine wave and the period of the second sine wave are equal or the period of the first sine wave and the period of the second sine wave are not equal.
10. The utility model provides a module of making a video recording which characterized in that includes: lens, base, transducer, voice coil motor and drive system for a voice coil motor according to any of claims 1 to 5.
11. A cellular phone, comprising: the camera module of claim 10.
CN202010336759.2A 2020-04-26 2020-04-26 Driving method and system of voice coil motor, camera module and mobile phone Active CN111510603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010336759.2A CN111510603B (en) 2020-04-26 2020-04-26 Driving method and system of voice coil motor, camera module and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010336759.2A CN111510603B (en) 2020-04-26 2020-04-26 Driving method and system of voice coil motor, camera module and mobile phone

Publications (2)

Publication Number Publication Date
CN111510603A CN111510603A (en) 2020-08-07
CN111510603B true CN111510603B (en) 2021-08-27

Family

ID=71864213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010336759.2A Active CN111510603B (en) 2020-04-26 2020-04-26 Driving method and system of voice coil motor, camera module and mobile phone

Country Status (1)

Country Link
CN (1) CN111510603B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1087249A2 (en) * 1999-09-21 2001-03-28 Fuji Photo Optical Co., Ltd. Image stabilizing apparatus
CN101969291A (en) * 2010-10-28 2011-02-09 哈尔滨工业大学 System-on-chip driver of high-subdivision multi-path stepping motor
CN103345037A (en) * 2013-07-04 2013-10-09 聚辰半导体(上海)有限公司 Reshaping signal control method of camera voice coil motor actuator
CN104320110A (en) * 2014-10-29 2015-01-28 芯荣半导体有限公司 Voice coil motor shaping signal and driving control method and driving chip circuit
CN108347209A (en) * 2018-02-02 2018-07-31 瑞声科技(新加坡)有限公司 Overshoot response eliminates system and method
CN109687759A (en) * 2018-11-21 2019-04-26 南京航空航天大学 A kind of driving method and circuit of piezoelectric ultrasonic motor step motion
CN111049437A (en) * 2019-12-24 2020-04-21 浙江大华技术股份有限公司 Method, device, equipment and medium for compensating back electromotive force voltage of stepping motor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6268749B2 (en) * 2013-05-17 2018-01-31 リコーイメージング株式会社 Imaging device
CN110505420A (en) * 2019-09-16 2019-11-26 中国兵器工业集团第二一四研究所苏州研发中心 A kind of low-power consumption EMCCD high pressure sinusoidal drive signals generation circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1087249A2 (en) * 1999-09-21 2001-03-28 Fuji Photo Optical Co., Ltd. Image stabilizing apparatus
CN101969291A (en) * 2010-10-28 2011-02-09 哈尔滨工业大学 System-on-chip driver of high-subdivision multi-path stepping motor
CN103345037A (en) * 2013-07-04 2013-10-09 聚辰半导体(上海)有限公司 Reshaping signal control method of camera voice coil motor actuator
CN104320110A (en) * 2014-10-29 2015-01-28 芯荣半导体有限公司 Voice coil motor shaping signal and driving control method and driving chip circuit
CN108347209A (en) * 2018-02-02 2018-07-31 瑞声科技(新加坡)有限公司 Overshoot response eliminates system and method
CN109687759A (en) * 2018-11-21 2019-04-26 南京航空航天大学 A kind of driving method and circuit of piezoelectric ultrasonic motor step motion
CN111049437A (en) * 2019-12-24 2020-04-21 浙江大华技术股份有限公司 Method, device, equipment and medium for compensating back electromotive force voltage of stepping motor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
正弦脉宽调制方式实现步进电机细分技术的研究与应用;陆园,马俊韬;《2015年第二届中国航空技术大会》;20150915;全文 *

Also Published As

Publication number Publication date
CN111510603A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
KR101172646B1 (en) Driving control circuit of vibration speaker
US10528140B2 (en) Haptic feedback system for an electronic device
US20120019185A1 (en) Methods for controlling one or more positioning actuators and devices thereof
JP5861811B1 (en) Power transmission system
WO2009116453A1 (en) Camera system, device for driving voice coil motor, and method for driving voice coil motor
JP2019106843A (en) Power conversion device
CN102918762B (en) Voltage-controlled stepper motor driver
CN113280044B (en) Control device and method of magnetic suspension bearing control system and magnetic suspension system
JP2017143602A (en) Control method for vibration type actuator, vibration type drive device and electronic apparatus
CN111510603B (en) Driving method and system of voice coil motor, camera module and mobile phone
JP5685022B2 (en) Driving circuit and driving method of voice coil motor with spring return mechanism, and lens module and electronic apparatus using them
JP4292996B2 (en) Control device for step-up / step-down DC-DC converter
CN111294018B (en) LRA drive pulse waveform design method based on Kaiser window
JP6018403B2 (en) Driving circuit for voice coil motor with spring return mechanism, lens module and electronic device using the same
KR20090120452A (en) Loudspeaker actuator
CN114362209B (en) Method and system for suppressing broadband oscillation of current transformer integrated weak current network
CN110380665A (en) A kind of generation method, electronic equipment and storage medium controlling signal
CN107093973B (en) A kind of voice coil motor driving method
US20150349690A1 (en) Driving Signal Generator and Method of Generating Driving Signal
CN209994291U (en) Electric energy conversion circuit based on mechanical vibration
CN114070124A (en) Control apparatus and driving apparatus of vibration type motor
KR102536603B1 (en) Actuator driver for voice coil motor, and actuator driving method thereof
KR101843560B1 (en) Power supply circuit
WO2023184305A1 (en) Piezomotor and controlling method thereof
JP2019134540A (en) Vibration power generator and nonlinear vibrator

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