This application claims the benefit of Korean Patent Application No. 10-2015-0022608, filed on Feb. 13, 2015, entitled “Apparatus and Method for Driving Gyro Sensor” which is hereby incorporated by reference in its entirety into this application.
The present disclosure relates to an apparatus and a method for driving a gyro sensor.
Generally, recently developed mobile devices which are equipped with inertial sensors (accelerator sensor, gyro sensor, geomagnetic sensor, or the like) using an inertial input applied from the outside have been released. Among those, the gyro sensor is a sensor which may detect torque quantities of objects to measure an angular velocity of the corresponding object. The angular velocity may be obtained by Corioils force “F=2 mΩV”, in which m represents a mass of a sensor mass, Ω represents an angular velocity to be measured, and V represents a motion velocity of the sensor mass.
Further, to make the mass of the gyro sensor stably resonate, a mass resonance amplitude control and a phase control are very important. The mass resonance amplitude control is to control the mass to always resonate in constant amplitude. Further, the phase control is to control a phase difference between a driving signal generated to make the mass resonate and a driving displacement signal generated through the mass to be constantly kept at all times in a control circuit.
(Patent Document 1) JP2004212111 A
An aspect of the present disclosure may make a driving mass of a gyro sensor rapidly resonate and provide an apparatus and a method for driving a gyro sensor capable of being stably driven initially while shortening a time until the gyro sensor in a stop state reaches a resonance state, by applying a driving signal based on a start signal to the driving mass of the gyro sensor through an oscillator and a resonance determiner at the time of initial driving.
According to an aspect of the present disclosure, an apparatus for driving a gyro sensor may include: a driving circuit generating a first clock signal based on a driving displacement signal output from the gyro sensor; an oscillator generating a start signal of which the frequency varies for an initial driving of the gyro sensor; a resonance determiner determining a driving state of the gyro sensor using a frequency or an amplitude of a second clock signal generated based on the driving displacement signal and generating a select signal depending on the determination of the driving state; and a signal transmitter selectively transmitting any one of the first clock signal or the start signal to the driving circuit depending on the select signal, wherein the driving circuit generates a driving signal for driving the gyro sensor based on a transmission signal of the signal transmitter.
According to another aspect of the present disclosure, a method for controlling a gyro sensor may include: transmitting a select signal to a driving circuit through a signal transmitter depending on a control of a select signal selecting the start signal for an initial driving of the gyro sensor; a first clock signal applying a driving signal generated based on an output signal of the signal transmitter to the gyro sensor and generating a first clock signal based on a driving displacement signal output from the gyro sensor; and determining whether a driving of the gyro sensor corresponds to a resonance state using a frequency and an amplitude of a second clock signal generated based on the driving displacement signal and if it is determined that the driving of the gyro sensor corresponds to the resonance state, generating the driving signal based on the first clock signal.
The above and other aspects, features and other advantages of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
The objects, features and advantages of the present disclosure will be more clearly understood from the following detailed description of the exemplary embodiments taken in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same reference numerals are used to designate the same or similar components, and redundant descriptions thereof are omitted. Further, in the following description, the terms “first,” “second,” “one side,” “the other side” and the like are used to differentiate a certain component from other components, but the configuration of such components should not be construed to be limited by the terms. Further, in the description of the present disclosure, when it is determined that the detailed description of the related art would obscure the gist of the present disclosure, the description thereof will be omitted.
Hereinafter, an exemplary embodiment of the present disclosure will be described in detail with reference to the accompanying drawings, in which a driving displacement signal, and the like may be represented by a voltage form or a current form.
The gyro sensor 10 is a sensor which includes a driving mass (not illustrated) to be able to detect three axial angular velocities which are positioned on a space. There are several types of gyro sensors 10 such as a rotation type gyro sensor, a vibration type gyro sensor, a fluid type gyro sensor, and an optical type gyro sensor. The vibration type gyro sensor has been mainly used in mobile products, recently. The vibration type sensor may be largely divided into two types of a piezoelectric type and a capacitive type.
A driving signal (pulse wave) applied from a driving circuit 100 vibrates a driving mass (not illustrated) of the gyro sensor 10 and a driving displacement signal (sine wave) is generated by the vibration. Here, a resonance condition of the driving mass (not illustrated) by the driving signal is that a phase difference between the driving signal and the driving displacement signal should be 90°.
As illustrated in
Describing in more detail a resonance state, the resonance means a phenomenon that the driving mass vibrates in large amplitude at a specific frequency. In this case, the frequency is referred to as the resonance frequency. When a voltage is applied to two parallel electrodes in the gyro sensor 10, in the case of a piezoelectric scheme, a stress is generated in a piezoelectric material to move an interval between the two electrodes, and in the case of a capacitive scheme, a + charge and a − charge move by a repulsive or attractive force therebetween to move the electrodes.
However, even though a voltage is applied to the electrodes, the driving mass of the gyro sensor 10 does not unconditionally move much but when the frequency of the driving voltage applied to the electrode of the gyro sensor 10 coincides with the frequency of the mass of the gyro sensor 10, the driving mass vibrates and thus the driving of the gyro sensor 10 reaches a resonance state. In this case, the gyro sensor 10 generates a Corioils output, the driving displacement signal from the gyro sensor 10 is converted into a first clock signal via a charge amplifier 110 and a phase shifter 120, and the gyro sensor 10 forms a close loop while the driving signal is applied to the gyro sensor 10.
However, even though the close loop is formed, the gyro sensor 10 does not necessarily resonate. Therefore, a loop which may be resonated is formed only when a signal which may be resonated, that is, a signal which vibrates the driving mass is applied. A circuit including the gyro sensor 10 is not ideal and therefore an offset for each portion is present. Therefore, only when a signal beyond the offset is applied, a resonance loop is formed and a driving of the gyro sensor 10 reaches a resonance state.
The gyro sensor 10 resonates by noise of a circuit or a signal which is generated when a first VDD is applied, but when the offset of the circuit is large, the gyro sensor 10 may not resonate. Further, when a sleep mode in which the gyro sensor 10 is not driven is shifted to an active mode in which the gyro sensor 10 is driven, there may be a case in which much time until the driving of the gyro sensor 10 reaches the resonance state is required.
Accordingly, an apparatus for driving a gyro sensor 10 according to an exemplary embodiment of the present disclosure serves to help the driving of the gyro sensor 10 rapidly and stably reach the resonance state using the driving circuit 100 and the start circuit 200, when the resonance may not be made or much time until the gyro sensor 10 reaches the resonance state is required.
The driving circuit 100 converts the driving displacement signal output from the gyro sensor 10 to generate the first clock signal and generate the driving signal applied to the gyro sensor 10. In detail, the driving circuit 100 converts the driving displacement signal into a voltage signal form and shifts a phase by 90°. The driving circuit 100 uses the 90° shifted driving displacement signal to generate the first clock signal and then transmit the generated first clock signal to the start circuit 200. Next, the driving circuit 100 generates the driving signal based on the frequency of the signal transmitted from the signal transmitter 300 and applies the generated driving signal to the gyro sensor 10. Here, the driving circuit 100 includes the charge amplifier 110, the phase shifter 120, a first comparator 130, an amplitude controller 140, and a pulse generator 150 which will be described below in detail.
The charge amplifier 110 converts the driving displacement signal output from the gyro sensor 10 into a voltage signal form, amplifies the signal, and then transmits the amplified signal to the phase shifter 120 and the start circuit 200. In detail, the charge amplifier 110 converts a change in a charge quantity generated from a driving displacement electrode from the gyro sensor 10 into the voltage signal form and then amplifies the signal.
The phase shifter 120 shifts a phase of an output signal of the charge amplifier 110 by 90°. This is to make the phase difference between the driving displacement signal and the driving signal be 90°, thereby making the driving mass of the gyro sensor 10 stably resonate.
The first comparator 130 compares the output signal of the phase shifter 120 with a reference voltage to generate the first clock signal. In detail, the 90° shifted driving displacement signal is connected to a non-inversion terminal of the first comparator 130 and the reference voltage is connected to an inversion terminal of the first comparator 130. When the 90° shifted driving displacement signal is larger than the reference voltage, the first clock signal in a square wave form having a value of 1 (high) is generated and when the 90° shifted driving displacement signal is smaller than the reference voltage, the first clock signal in the square wave form having a value of 0 (low) is generated. The generated first clock signal is transmitted to the signal transmitter 300.
The amplitude controller 140 determines the amplitude of the driving signal which will be applied to the gyro sensor 10. In detail, the amplitude controller 140 is to always converge the amplitude of the driving signal to a constant value based on the driving displacement signal and determines the amplitude of the driving signal based on an operation using a PID controller, and the like.
The pulse generator 150 selectively receives the first clock signal or the start signal from the signal transmitter 300 to generate the driving signal. The pulse generator 150 generates the driving signal in a pulse wave form having the same period as that of the signal transmitted from the signal transmitter 300 of the start circuit 200 and transmits the generated driving signal to the gyro sensor 10. As described above, the driving signal is used while the driving mass of the gyro sensor 10 resonates.
The start circuit 200 generates the start signal for the initial driving of the gyro sensor 10 and determines the driving state of the gyro sensor 10 based on the driving displacement signal. In detail, the start circuit 200 determines whether the driving of the gyro sensor 10 corresponds to the resonance state and generates a select signal which selects the first clock signal or the start signal.
In more detail, the start circuit 200 converts the driving displacement signal having the voltage signal form which is transmitted from the driving circuit 100 into the second clock signal and then uses the converted second clock signal to determine whether the gyro sensor 10 is in the resonance state. Further, the start circuit 200 generates the select signal depending on the resonance to control the signal transmitter 300. Here, the start circuit 200 includes a second comparator 210, an oscillator 230, and a resonance determiner 220 which will be described below in detail.
The second comparator 210 compares the output signal of the charge amplifier 110 of the driving circuit 100 with the reference voltage to generate the second clock signal. Like generating the first clock signal as described above, when the second comparator 210 compares the driving displacement signal having the voltage signal form with the reference voltage to determine that the driving displacement signal having the voltage signal form is larger than the reference voltage, the second comparator 210 generates the second clock signal in a square wave form having a high value and transmits the generated second clock signal to the resonance determiner 220 and when the second comparator 210 compares the driving displacement signal having the voltage signal form with the reference voltage to determine that the driving displacement signal having the voltage signal form is smaller than the reference voltage, the second comparator 210 generates the second clock signal in the square wave form having a low value and transmits the generated second clock signal to the resonance determiner 220.
The resonance determiner 220 uses the second clock signal to determine whether the gyro sensor 10 resonates. In this case, the resonance determiner 220 uses the second clock signal to determine the resonance of the gyro sensor 10 using various methods.
First, when the amplitude of the second clock signal is equal to or more than the preset reference value, it may be determined that the gyro sensor 10 is in the resonance state.
As illustrated in
There is another method for determining a resonance of a gyro sensor 10 using a frequency of a second clock signal. Another method for determining a resonance of a gyro sensor 10 counts a clock of the second clock signal during a sampling period to measure the frequency of the second clock signal and compares the measured frequency with the preset reference frequency to determine whether the measured frequency is the same as the preset reference frequency. In this case, the preset reference frequency means the resonance frequency which is operated in consideration of each device value and characteristics of the gyro sensor 10 by a user. The frequency may be measured from the generation of the second clock signal and therefore it may be determined whether the gyro sensor 10 rapidly resonates.
If it is determined that the gyro sensor 10 is in an initial driving stage and does not yet reach the resonance state, the resonance determiner 220 guides the driving of the gyro sensor 10 to the resonance state based on the select signal selecting the start signal. If it is determined that the driving of the gyro sensor 10 reaches the resonance state, the close loop is formed and therefore the start signal is no more required. Therefore, the select signal selecting the first clock signal is generated to control the signal transmitter 300.
If it is determined that the driving of the gyro sensor 10 is in the resonance state depending on the control of the select signal, the signal transmitter 300 transmits the first clock signal and if it is determined that the driving of the gyro sensor 10 is in a non-resonance state, the signal transmitter 300 transmits the start signal. That is, any one of the first clock signal or the start signal is transmitted to the pulse generator 150 depending on the select signal of the resonance determiner 220. The signal transmitter 300 may be a switch or a multiplexer (MUX) and any device which may achieve the same purpose may be used.
The oscillator 230 generates the start signal of which the frequency is changed and transmits the generated start signal to the signal transmitter 300. The oscillator 230 means an apparatus which generates an electrical vibration using an electron tube, a semiconductor, and the like. The oscillator 230 includes a signal generator 250 and a frequency controller 240 and the oscillator 230 may be a relaxation oscillator.
The oscillator 230 which is included in the exemplary embodiment of the present disclosure may select a mode which generates an output signal having a fixed oscillation frequency and a mode which generates an output signal having a varying oscillation frequency. The above-mentioned mode is determined by a mode determination signal which is input by an external user.
The signal generator 250 generates the start signal having a frequency lower than the preset reference frequency at the time of the initial driving. The signal generator 250 includes a flip flop 251 and generates a Clk_a clock and a Clk_b clock through a Q terminal and a Qn terminal of the flip flop 251, respectively. The start signal having the square wave form is output based on the subsequently generated Clk_a clock and the Clk_b clock.
The driving signal is generated based on the start signal having a frequency lower than the reference frequency at the time of the initial driving and is applied to the gyro sensor 10. Next, the frequency of the start signal is increased to have a constant slope. When a process of applying the driving signal generated based on the start signal having the constantly increasing frequency is performed, the frequency of the start signal coincides with the resonance frequency at which the gyro sensor 10 resonates. Here, the reference frequency is the same frequency as the reference frequency which is used to determine the resonance.
The frequency controller 240 controls the frequency of the start signal through an input current I2 of the signal generator 250. The frequency of the start signal is adjusted by the current I2 which is input to the signal generator 250 through the frequency controller 240 and the frequency of the start signal is constantly increased depending on the change in the input current I2. The frequency controller 240 includes a first MOSFET 241, a current mirror circuit 244, a variable current source 251, and start switches SW.1 and SW.2.
The first MOSFET 241 controls a current I1 which flows from a drain to a source based on the bias voltage Vbias applied to a gate. The current mirror circuit 244 makes a magnitude of the current I1 flowing in the drain equal to that of the input current I2 of the signal generator 250 and the variable current source 251 adjusts a supply current Is to determine a variation of the bias voltage Vbias. The start switch serves to apply the bias voltage Vbias to the gate of the first MOSFET 241 by the switching operation and includes the first switch SW.1 and the second switch SW.2.
The first switch SW.1 connected to the variable current source 251 is operated in an on state and the second switch SW.2 connected to the gate of the first MOSFET 241 is operated in an off state. In this case, the bias voltage Vbias is formed by the current Is which is supplied from the variable current source 251 and a capacitor C and the bias voltage Vbias is identically applied to the gate of the first MOSFET 241 which is electrically connected to the capacitor C. In this case, the current I1 starts to flow from the drain of the first MOSFET 241 to the source thereof as the bias voltage Vbias is applied. The same current as the current I1 flowing in the drain is input to the signal generator 250 by the current mirror circuit 244 which includes the second MOSFET 242 and the third MOSFET 243.
Therefore, when the supply current Is of the variable current source 251 is increased, the bias voltage Vbias is increased. Further, as the bias voltage Vbias is increased, the current I1 flowing in the drain is also identically increased and the input current I2 of the signal generator 250 is also increased through the current mirror circuit 244. As the input current I2 is increased, the frequency of the start signal is increased. When the start signal having the fixed frequency is generated as described above, the start signal is set to constantly output the supply current Is of the variable current source 251.
Like graphs {circle around (1)}, {circle around (2)}, and {circle around (3)} illustrated in
Therefore, like the graph {circle around (1)} illustrated in
Hereinafter, a method for controlling a gyro sensor 10 according to the exemplary embodiment of the present disclosure including the above configuration will be described. Hereinafter, the same or similar content as or to the foregoing content will be omitted or briefly described.
Referring to
The step of increasing the frequency of the start signal (S120) will be described in detail. When the supply current Is of the variable current source 251 is increased and thus the bias voltage Vbias applied to the gate of the first MOSFET 241 is increased, as the bias voltage Vbias is increased, the current I1 flowing in the drain of the first MOSFET 241 is increased. Using the characteristics of the current mirror circuit 244, the input current I2 of the signal generator 250 is increased like the current I1 flowing in the drain and therefore the frequency of the start signal output from the signal generator 250 is increased.
Subsequent to the step of increasing the frequency of the start signal, the pulse generator 150 generates the driving signal based on the start signal and applies the generated driving signal to the gyro sensor 10. Then the gyro sensor 10 generated the driving displacement signal.
In more detail, the driving signal is generated according to the frequency of the start signal and the control of the amplitude controller 140 and is applied to the gyro sensor 10 (S130) and the driving displacement signal output from the gyro sensor 10 is converted into the voltage signal form and then is amplified. Next, the phase of the driving displacement signal having the voltage signal form is shifted by 90° and the first comparator 130 compares the 90° shifted driving displacement signal with the reference voltage to generate the first clock signal (S140). As described above, the first clock signal is a clock signal which has a value of 1 in a period larger than the reference voltage and has a value of 0 in a period smaller than the reference voltage.
It is determined whether the gyro sensor 10 resonates using the driving displacement signal after the generation of the first clock signal (S150) and when the gyro sensor 10 resonates, the driving signal is generated based on the driving displacement signal.
In more detail, the second comparator 210 compares the driving displacement signal having the voltage signal form with the reference voltage to generate the second clock signal and then determines whether the driving of the gyro sensor 10 corresponds to the resonance state based on the second clock signal.
As the determination of the resonance, the second clock signal is transmitted from the second comparator 210 and thus the amplitude of the second clock signal is measured and when the amplitude of the second clock signal is equal to or more than the preset reference value, it is determined that the gyro sensor 10 resonates. Here, the reference value may be 1 and to achieve the same purpose, the reference value may have a different value.
Still another method for determining a resonance state includes counting the second clock signal to measure the frequency of the second clock signal and then comparing and determining the frequency of the second clock signal with the preset reference frequency. In this case, the reference frequency means the resonance frequency operated by allowing the user to consider the characteristics and specifications of the gyro sensor 10.
When it is determined that the driving of the gyro sensor 10 corresponds to the resonance state, the select signal selecting the first clock signal is generated (S160). Next, the gyro sensor 10 forms the close loop which generates the driving signal based on the frequency of the first clock signal. Further, the operation of the oscillator 230 stops by the switching operation of turning off the first switch and turning on the second switch (S170).
However, if it is determined that the driving of the gyro sensor 10 is in the non-resonance state, that is, when the amplitude of the second clock signal is less than the reference value or the frequency of the second clock signal is different from the reference frequency, the method returns to a step of increasing the frequency of the start signal and again performs the foregoing steps.
Although the embodiments of the present disclosure have been disclosed for illustrative purposes, it will be appreciated that the present disclosure is not limited thereto, and those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the disclosure.
Accordingly, any and all modifications, variations or equivalent arrangements should be considered to be within the scope of the disclosure, and the detailed scope of the disclosure will be disclosed by the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2015-0022608 | Feb 2015 | KR | national |