Technical Field
The present disclosure is directed to generating power drive signals for an actuator.
Description of the Related Art
Digital cameras have progressed to smaller sizes, lower weight, and higher resolutions. A drawback to this development, however, has been the impact of minor movements on image quality. Particularly, subtle movements or vibrations while capturing an image often causes image blurring. This is especially a problem for smartphones with built-in cameras, where users capture images with outstretched arms and have a greater chance of involuntary movements. Image stabilization is widely used to minimize image blurring. Current methods of image stabilization include digital image stabilization, electronics image stabilization, and optical image stabilization. Generally, digital image stabilization and electronics image stabilization require large amounts of memory and processor resources. Optical image stabilization, on the other hand, minimizes memory and processor demands by adjusting the lens position itself. As such, optical image stabilization is ideal for portable devices, such as smartphones and tablets with built-in cameras.
In general, optical image stabilization minimizes image blurring by sensing movements of a housing and compensating for the movements by adjusting the position of the camera lens. For example, see “Optical Image Stabilization (OIS),” Rosa et al, STMicroelectronics. Optical image stabilization circuits typically include a gyroscope, a controller, and a drive circuit that includes a large current source to drive an actuator to move the camera lens.
Most drive circuits output either a linear power drive signal having a constant voltage level or a standard pulse-width modulation power drive signal having high (i.e., 1) and low (i.e., 0) voltage levels with a certain duty cycle or frequency. For example, see “Optical Image Stabilization (OIS),” Rosa et al, STMicroelectronics. Linear power drive signals and pulse-width modulation power drive signals each having their own advantages. Namely, linear power drive signals are used to reduce noise, and standard pulse-width modulation power drive signals are used for power efficiency. Drive circuits, however, generally do not generate both linear and standard pulse-width modulation power drive signals.
The present disclosure provides an optical image stabilization circuit that generates power drive signals to drive an actuator.
According to one embodiment, a housing includes a camera lens; an actuator to move the lens; a position sensor; and an optical image stabilization circuit having a gyroscope, a controller, and a drive circuit. A power waveform generator of the drive circuit generates a power waveform based on power drive signal data received from the microcontroller. Subsequently, a power waveform conversion circuit of the drive circuit converts the power waveform to a corresponding power drive signal. The actuator is then driven with the power driven signal to move the lens accordingly and compensate for any movements and vibrations of the housing.
The optical image stabilization circuit disclosed herein is capable of generating linear power drive signals, standard pulse-width modulation power drive signals, and multi-state pulse-width modulation power drive signals to drive the actuator. The frequency of the power drive signals are limited only by the speed of the power waveform generator and the power waveform conversion circuit of the drive circuit.
The foregoing and other features and advantages of the present disclosure will be more readily appreciated as the same become better understood from the following detailed description when taken in conjunction with the accompanying drawings.
In the following description, certain specific details are set forth in order to provide a thorough understanding of various embodiments of the disclosure. However, one skilled in the art will understand that the disclosure may be practiced without these specific details. In some instances, well-known details associated with optical image stabilization have not been described to avoid obscuring the descriptions of the embodiments of the present disclosure.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In the drawings, identical reference numbers identify similar features or elements. The size and relative positions of features in the drawings are not necessarily drawn to scale.
The housing 10 may be any device that includes a camera. For example, the housing 10 may be a smartphone, a tablet, a digital camera, or a portable computer with a built-in camera.
The actuator 14 is coupled to the lens 12 and the drive circuit 24. The actuator 14 is configured to move the lens 12 in response to a power drive signal from the drive circuit 26. The actuator 14 may be based upon a variety of different technologies, such as adaptive liquid lenses, shape memory alloys, or piezo-electric motors. In a preferred embodiment, the actuator 14 is based on a voice coil motor.
The position sensor 16 is coupled to the lens 12 and the drive circuit 24. The position sensor 16 is configured to measure a position of the lens 12, and provide position data of the position of the lens 12 to the drive circuit 24. The position sensor 16 may be any type of sensor configured to detect movements of the lens 12. For example, the position sensor 16 may include photo sensors or hall sensors.
The optical image stabilization circuit 18 is coupled to the actuator 14 and the position sensor 16. The optical image stabilization circuit 18 performs an image stabilization process to minimize the impact of movements or vibrations inflicted upon the housing 10. As previously stated, the optical image stabilization circuit 18 includes the gyroscope 20, the microcontroller 22, and the drive circuit 24.
The gyroscope 20 is coupled to the microcontroller 22. The gyroscope 20 is configured to detect movements of the housing 10 during the instant that a photograph is being taken. For example, if the housing 10 is a smartphone having the lens 12, the gyroscope 20 detects the movements of the smartphone when the aperture of the camera opens to record the image after the user presses the button to take a picture. The gyroscope 20 will sense then output any movement, such as angular rates along lateral, vertical, and longitudinal axes, of the housing 10 having the camera and lens 12 therein. The movement data of the housing 10 is provided to the microcontroller 22 to be used as a reference of angular displacement of the housing 10 relative to the lens 12. Any movement of the housing that occurs for the brief time period that the image is actually being recorded as digital data is counteracted by an equal and opposite movement of the lens itself.
The microcontroller 22 is coupled to the gyroscope 20 and the drive circuit 24. The microcontroller 22 is configured to perform a lens movement control cycle operation to provide image stabilization while a picture is being taken. Particularly, the microcontroller 22 receives movement data of the movement of the housing 10 from the gyroscope 20 and position data of the position of the lens 12 from the position sensor 16 via the drive circuit 24. The microcontroller 22 then calculates power drive signal data based on the movement data and the position data. The power drive signal data is used to generate power drive signals to move the lens to offset and compensate for any movements and vibrations of the housing 10. In one embodiment, as will be discussed in further detail with respect to
The drive circuit 24 is coupled to the actuator 14, the position sensor 16, and the microcontroller 22. As previously discussed, the drive circuit 24 is configured to receive position data of the position of the lens 12 from the position sensor 16, and receive power drive signal data from the microcontroller 22. The drive circuit 24 is also configured to provide power drive signals to the actuator 14 to move the lens 12. As previously stated, the drive circuit 24 includes the power waveform generator 26 and the power waveform conversion circuit 28.
The power waveform generator 26 generates a power waveform based on the power drive signal data from the microcontroller 22. As will be discussed in further detail with respect to
The power waveform conversion circuit 28 converts the power waveform received from the power waveform generator 26 to a corresponding power drive signal that is capable of driving the actuator 14. The power waveform conversion circuit 28 is capable of converting a power waveform having any shape, such as a linear shape, a standard pulse-with modulation shape, or a multi-state pulse-width modulation shape. The power waveform conversion circuit 28 will be discussed in further detail with respect to
It should be noted that although only one drive circuit, actuator, and position sensor are shown in
The digital to analog converter 30 is configured to receive the power waveform from the power waveform generator 26 and convert the power waveform to an equivalent voltage signal having the same shape as the power waveform. Particularly, the digital to analog converter 30 converts the amplitude value for each time interval of the power waveform to a corresponding voltage level. In one embodiment, the digital to analog converter 30 dynamically adjusts the voltage signal to minimize any system offset error. That is, the digital to analog converter 30 tunes the voltage signal by increasing or decreasing its voltage levels to provide an absolute zero crossing.
The operational amplifier 32 and the integrated circuit components 34 are configured to convert the voltage signal generated by the digital to analog converter 30 to a power drive signal to drive the voice coil 38. Particularly, the voltage signal is converted to an equivalent electric current signal. In one embodiment, the operational amplifier 32 and the integrated circuit components 34 applies a gain to the voltage signal such that resulting electric current signal is at a required electric current level to drive the H bridge circuit 36 and the voice coil 38. For example, the operational amplifier 32 and the integrated circuit components 32 may convert the voltage signal to an electric current signal having amplitudes between 0 milliamps to 120 milliamps. The entire available range of voltage or current can be divided into units, with each unit being the sized needed to cover the available range. For example, if the max amplitude is 7 units, then a 3 bit number can be used. The 120 milliamps is divided into 7 equals units of about 17 milliamps each, with a value of zero units being zero milliamps. Similarly, if a more fine power division is desired, such as 9 or 12, then each unit will equal about 13.3 or 10 milliamps, respectively. Further, if a different maximum value is provided, such as 70 milliamps or 240 milliamps, then the available maximum will be divided into the desired number of discrete steps based on the number of units available, whether 8, 9, 10, 16, 24 or the like. For example, use of 32 different units, with zero being one unit is preferred embodiment. The terms to describe motor drive power can be defined in terms of volts, current or combinations thereof, as is known in the art. H bridges and voice coils are known in the art and will not be discussed in detail herein.
It should be understood that the power waveform conversion circuit 28 may be used in conjunction with any type of actuator. As previously discussed, the actuator 14 may be may be based upon a variety of different technologies, such as voice coil motors, adaptive liquid lenses, shape memory alloys, or piezo-electric motors. In another embodiment, the voice coil 38 is replaced with a shape memory alloy and the H bridge circuit is modified accordingly to drive the shape memory alloy as is known in the art.
At a first step 50, the microcontroller 22 receives movement data of the movement of the housing 10 from the gyroscope 20 and position data of the position of the lens 12 from the position sensor 16 via the drive circuit 24.
In a subsequent step 52, the microcontroller 22 calculates power drive signal data based on the movement data and the position data. The power drive signal data is used by the drive circuit 24 to generate power drive signals to compensate for any movements and vibrations of the housing 10. In one embodiment, as will be discussed in further detail with respect to
In step 54, the power waveform generator 26 of the drive circuit 24 receives the power drive signal data generates a power waveform based on the power drive signal data. The generation of the power waveform will be discussed in further detail with respect to
In step 56, the power waveform conversion circuit 28 converts the power waveform from the power waveform generator 26 to a corresponding power drive signal. In particular, as previously discussed, the digital to analog converter 30 receives the power waveform from the power waveform generator 26 and converts the power waveform to an equivalent voltage signal having the same shape. The operational amplifier 32 and the integrated circuit components 34 then converts the voltage signal to a power drive signal to drive the H bridge circuit 34 and the voice coil 36.
In step 58, the actuator 14 is driven by the power drive signal to move the lens 12 accordingly and compensate for any movements and vibrations of the housing 10.
At step 62, the power wave form generator 26 of the drive circuit 24 receives the power drive signal data from the microcontroller 22. In one embodiment, the power drive signal data includes a power input parameter ISP, a total bit resolution RES, an amplitude bit resolution AMP, and a transition limit TRN. In another embodiment, the total bit resolution RES, the amplitude resolution AMP, and the transition limit TRN is not included in the power drive signal data, and is instead preprogrammed in to the power waveform generator 26. Values for the power input parameter ISP, the total bit resolution RES, the amplitude bit resolution AMP, and the transition limit TRN that are used to calculate the fixed order power waveform shown in
The power input parameter ISP is used to generate a power waveform. The power input parameter ISP specifies the total power of the power waveform. The power input parameter ISP is composed of a base amplitude bit range BAR that specifies a base amplitude value BAV, a timing bit range TRG that specifies a timing value TVL, and an incremental amplitude bit range IAR that specifies an incremental amplitude value IAV. For example, the fixed order power waveform of
The total bit resolution RES is the bit resolution of the power input parameter ISP. The total bit resolution RES determines the largest value that the power input parameter ISP may be. For example, the fixed order power waveform of
The amplitude bit resolution AMP is the bit resolution for the amplitudes of a power waveform. Namely, the amplitude bit resolution AMP determines the number of amplitude units over which the amplitude can vary. For example, the fixed order power waveform of
The transition limit TRN limits a power waveform's amplitude transition between consecutive time intervals. That is, the transition limit TRN is the maximum amount of amplitude units that a power waveform may change from one time interval to a subsequent time interval. For example, the fixed order power waveform of
In step 64, the total bit resolution RES and the amplitude bit resolution AMP is used to calculate a timing bit resolution PUL. The timing bit resolution PUL is the total amount of bits that is used to specify a timing value TVL. The total bit resolution RES is calculated using the following equation:
PUL=RES−AMP
For example, the fixed order power waveform of
The power input parameter ISP, the total bit resolution RES, the amplitude bit resolution AMP, the transition limit TRN, and the timing bit resolution PUL are used to calculate a base amplitude bit range BAR, a timing bit range TRG, an incremental amplitude bit range IAR, a base amplitude value BAV, a timing value TVL, an incremental amplitude value IAV, a minimum amplitude output value MIN, a maximum amplitude output value MAX, an incremental amplitude output value INC, a maximum amplitude output value length TUH, and a minimum amplitude output value length TUL. The calculations of these values for the fixed order power waveform shown in
In step 66, the base amplitude bit range BAR is calculated. The base amplitude bit range BAR is the bit range of the power input parameter ISP that specifies the base amplitude value BAV. Particularly, the base amplitude bit range BAR is used as a mask to parse the base amplitude value BAV from the power input parameter ISP. The base amplitude bit range BAR is calculated using the following equation:
BAR=2REs+1−2TRN+PUL
For example, referring to Table B, the fixed order power waveform of
In step 68, the base amplitude value BAV is calculated. The base amplitude value BAV is an intermediary value that is used to calculate the minimum amplitude output value MIN. The base amplitude value BAV is obtained by parsing the power input parameter ISP by using the base amplitude bit range BAR. Particularly, the base amplitude value BAV is calculated using the following equation:
BAV=ISP AND BAR
For example, referring to Table B, the fixed order power waveform of
In step 70, the minimum amplitude output value MIN is calculated. The minimum amplitude output value MIN is the lowest amplitude that a power wave form may have. The minimum amplitude output value MIN is calculated by removing the bits of the timing bit range TRG. This is done by shifting the base amplitude value BAV to the right by a number of bits equal to the timing bit resolution PUL. For instance, referring to Table B, the fixed order power waveform of
In step 72, the maximum amplitude output value MAX is calculated. The maximum amplitude output value MAX is the largest amplitude that a power waveform may have. The maximum amplitude output value MAX is calculated using the following equation:
MAX=MIN+2TRN
For example, referring to Table B, the fixed order power waveform of
In step 74, the timing bit range TRG is calculated. The timing bit range TRG is the bit range of the power input parameter ISP that specifies the timing value TVL. Particularly, the timing bit range TRG is used as a mask to parse the timing value TVL from the power input parameter ISP. The timing bit range TRG is calculated using the following equation:
TRG=2TRN*(2PUL−1)
For instance, referring to Table B, the fixed order power waveform of
In step 76, the timing value TVL is calculated. The timing value TVL is an intermediary value that is used to calculate the maximum amplitude output value length TUH. The timing value TVL is obtained by parsing the power input parameter ISP by using the timing bit range TRG. Particularly, the timing value TVL is calculated using the following equation:
TVL=ISP AND TRG
For example, referring to Table B, the fixed order power waveform of
In step 78, the maximum amplitude output value length TUH is calculated. The maximum amplitude output value length TUH is the total number of time units of the maximum amplitude output value MAX that a power waveform may have. Each time unit represents an increment of time. One time unit, for instance, may be equal to one nanosecond, one microsecond, or one second. The maximum amplitude output value length TUH is calculated by shifting the timing value TVL to the right by a number of bits equal to the transition limit TRN. For instance, referring to Table B, the fixed order power waveform of
In step 80, the minimum amplitude output value length TUL is calculated. The minimum amplitude output value length TUL is the total number of time units of the minimum amplitude output value MIN that a power waveform may have. The minimum amplitude output value length TUL, which is the complement of the maximum amplitude output value length TUH, is calculated using the following equation:
TUL=2PUL−1−TUH
For example, referring to Table B, the fixed order power waveform of
In step 82, the incremental amplitude bit range IAR is calculated. The incremental amplitude bit range IAR is the bit range of the power input parameter ISP that specifies the incremental amplitude value IAV. Namely, the incremental amplitude bit range IAR is used as a mask to parse the incremental amplitude value IAV from the power input parameter ISP. The incremental amplitude bit range IAR is calculated using the following equation:
IAR=2TRN−1
For example, referring to Table B, the fixed order power waveform of
In step 84, the incremental amplitude value IAV is calculated. The incremental amplitude value IAV is an intermediary value that is used to calculate the incremental amplitude output value INC. The incremental amplitude value IAV is obtained by parsing the power input parameter ISP by using the incremental amplitude bit range IAR. Particularly, the incremental amplitude value IAV is calculated using the following equation:
IAV=ISP AND IAR
For example, referring to Table B, the fixed order power waveform of
In step 86, the incremental amplitude output value INC is calculated. The incremental amplitude output value INC is an intermediary amplitude of a power waveform that is between the minimum amplitude output value MIN and the maximum amplitude output value MAX. The incremental amplitude output value INC is calculated using the following equation:
INC=MIN+IAV
For instance, referring to Table B, the fixed order power waveform of
In step 88, the power waveform is generated. The power wave form is formed by using the minimum amplitude output value MIN, the maximum amplitude output value MAX, the incremental amplitude output value INC, the maximum amplitude output value length TUH, and the minimum amplitude output value length TUL.
The total number of time units of the power waveform is calculated using the following equation:
Total number of time units=2PUL
The total number of time units represents the length of the power waveform. For example, the fixed order power waveform of
In one embodiment, the power waveform is a fixed order power waveform. A fixed order power waveform is composed of a plurality of time intervals. Time intervals for the fixed order power waveform shown in
The first time interval, or time interval 0, of a fixed order power waveform has a length of 1 time unit. For instance, referring to Table C, time interval 0 for the fixed order power waveform of
For a fixed order power waveform, the amplitude of each time interval is equal to the minimum amplitude output value MIN, the maximum amplitude output value MAX, or the incremental amplitude output value INC. The amplitude of the first time interval, time interval 0, is equal to the incremental amplitude output value INC. Namely, the amplitude of time interval 0 is calculated using the following equation:
Time interval 0=INC
For example, referring to Tables B and C, time interval 0 for the fixed order power waveform of
In another embodiment, the power waveform is a sorted order power waveform.
In a further embodiment, the power waveform is a multi-cycle power waveform.
The power waveform generator 26 as described herein is capable of generating a scalable power waveform that may have any power level, duty cycle, and frequency that the hardware of the system allows for by varying the power input parameter ISP, the total bit resolution RES, the amplitude bit resolution AMP, or the transition limit TRN. The power waveform may have a linear shape and a standard pulse-width modulation shape. For example, a power waveform having linear shape may be created by setting the total bit resolution RES to be equal to the amplitude bit resolution AMP, and a power waveform having a standard pulse-width modulation shape may be created by setting the amplitude bit resolution AMP to be equal to zero. In addition, the power waveform generator 26 is capable of generating a multi-state pulse-width modulation power waveform that can have multiple different power levels, duty cycles, and frequencies. In contrast to a standard pulse-width modulation power waveform, in which there are only two power levels (high and low), a multi-state pulse-width modulation power waveform may have power levels of 1, ½, ⅓, ¼, or some other value less than the full power level and greater than the lowest power level, and the width of each pulse within a cycle can vary greatly.
The optical image stabilization circuit 18 disclosed herein is capable of generating linear power drive signals, standard pulse-width modulation power drive signals, and multi-state pulse-width modulation power drive signals to drive the actuator 14. The frequency of the power drive signals are limited only by the speed of the power waveform generator 26 and the power waveform conversion circuit 28 of the drive circuit 24.
It should be understood that, although the drive circuit 24 is discussed in the context of optical image stabilization, the drive circuit 24 may be applied to any application with an actuator.
The various embodiments described above can be combined to provide further embodiments. All of the U.S. patents, U.S. patent application publications, U.S. patent applications, foreign patents, foreign patent applications and non-patent publications referred to in this specification and/or listed in the Application Data Sheet are incorporated herein by reference, in their entirety. Aspects of the embodiments can be modified, if necessary to employ concepts of the various patents, applications and publications to provide yet further embodiments.
These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.