The present invention relates to a closed loop control technique for a linear vibration actuator with the help of a micro-controller.
Recently linear vibration actuators (LVA) are finding application in cellular phones for generating vibration, used as an alarm for incoming calls. The cross-sectional view of the LVA is shown in
where, m is the mass of the weight 103 and k is the spring constant of the spring 105. The sensitivity of vibration depends on the stroke-length of the LVA. Typically, most of the LVAs are designed between a resonant frequency (fr) range of 135 Hz to 170 Hz and the sensitivity of vibration is kept between 90 dB to 110 dB. In the present available technology, the LVA is driven in open loop by a transistor with 50% ON-duty and operated from a power supply of 1.4 V. A basic driving circuit of the LVA with a free running astable multi-vibrator is shown in
The present invention aims to operate the LVA in closed loop with the help of a micro-controller by sensing the back electromotive force (emf) during the transistor OFF period, so that the resonant frequency (fr) of the LVA is automatically tracked.
In the first aspect of the invention, an apparatus for controlling a linear vibration actuator includes a switching element that alternately turns on and off to provide power intermittently to the linear vibration actuator, a drive circuit that drives the switching element in a PWM control method, an interface circuit that detects the back electromotive force of the linear vibration actuator during the OFF period of the switching element, the interface circuit connected between the junction point of the switching element and the linear vibration actuator and the AD input terminal of the controller, and a controller that controls the drive circuit based on the back electromotive force detection result by the interface circuit such that the switching element is driven at a resonant frequency.
In the second aspect of the invention, a closed loop control method of a linear vibration actuator which vibrates linearly and energized by a switching element driven in a PWM control method, includes detecting a crest or peak point (Bc, Bp) of a back electromotive force occurring in the linear vibration actuator, comparing the detected crest or peak point (Bc, Bp) with a reference value (Bcr, Bpr), and adjusting at least one of the parameters such as the PWM duty (α) applied to the switching element and the operating frequency (fr) of the linear vibration actuator, so that the crest or peak point (Bc, Bp) of the back electromotive force is constant.
In the third aspect of the invention, a closed loop control method of a linear vibration actuator which vibrates linearly and energized by a switching element driven in a PWM control method, includes detecting the zero cross point (Z1) in the negative slope region of the back electromotive force occurring in the linear vibration actuator, calculating an operating frequency of the linear vibration actuator based on the period between two consecutive zero cross points (Z1) in the negative slope region of the back electromotive force, driving the switching element with the calculated operating frequency, while turning on the switching element after a turn-on delay (tond) from the instant after detecting the zero cross points (Z1) of the back electromotive force and there by updating the turn-an delay (tond) based on the calculated operating frequency so that the PWM duty (α) is located at the center of two zero cross points (Z0) and (Z1), and continuously adjusting the PWM ON-duty (α) after sensing the back emf peak or crest point (Bp or Bc) and comparing it with the value of the reference back emf peak or crest point (Bpr or Bcr).
In the fourth aspect of the invention, a closed loop control method of a linear vibration actuator which vibrates linearly and energized by a switching element driven in a PWM control method, includes: detecting a zero cross point (Z0) in the positive slope region and a zero cross point (Z1) in the negative slope region of a back electromotive force occurring in the linear vibration actuator, estimating a turn-off delay (toffd) based on the zero cross point (Z0) in the positive slope region, the turn-off delay (toffd) being an interval between a turn-off instant of the PWM duty pulse and an instant when the zero cross point (Z0) in the positive slope region is detected, changing the turn-on delay (tond) so that the turn-on delay (tond) is substantially equal to the turn-off delay (toffd), driving the switching element so as to turn it on with the turn-on delay (tond) after the zero cross point (Z1) in the negative slope region is detected, and continuously adjusting the PWM O-N-duty (α) after sensing the back emf peak or crest point (Bp or Bc) and comparing it with the value of the reference back emf peak or crest point (Bpr or Bcr).
In the fifth aspect of the invention, a closed loop control method of a linear vibration actuator which vibrates linearly and energized by a switching element driven in a PWM control method, includes detecting a peak or crest point (Bp or Bc) of the back electromotive force occurring in the linear vibration actuator, defining a turn-on delay (tond) from the instant of the detection of the peak or crest point (Bp or Bc) of the back electromotive force, calculating an operating frequency of the linear vibration actuator based on the period between two consecutive peaks or crests (Bp or Bc) of the back electromotive force, and driving the switching element with the calculated operating frequency, while turning on the switching element with the turn-on delay (tond) after detecting the peak or crest point (Bp or Bc) of the back electromotive force.
In the sixth aspect of the invention, a closed loop control method of a linear vibration actuator which vibrates linearly and energized by a switching element driven in a PWM control method, includes detecting a peak or crest point (Bp or Bc) of the back electromotive force occurring in the linear vibration actuator, defining a turn-on delay (tond) and a turn-off delay (toffd) based on the detected peak or crest point (Bp or Bc) of the back electromotive force, the turn-off delay (toffd) being an interval between a turn-off instant of the PWM duty pulse and an instant corresponding to the peak or crest point (Bp or Bc) of the back electromotive force, changing the turn-on delay (tond) so that the turn-on delay (tond) is substantially equal to the turn-off delay (toffd), and driving the switching element so as to turn on the switching element with the turn-on delay (tond) after detecting the peak or crest point (Bp or Bc) of the back electromotive force.
Preferred embodiments of the present invention are described below with accompanying figures.
The LVA 11 is preferably operated at a supply voltage ranging from 1.4 V to 4.2 V.
The interface circuit 20a includes an operational amplifier 21 between the collector of the drive transistor QN1 and an A/D input of the micro-controller 30. The interface circuit 20a further includes a resistor divider circuit including resistors R2 and R3 and a resistor divider circuit including resistors R4 and R5. The transistor QN1 is driven from an output port of the micro-controller 30. The operational amplifier 21 functions as a level shifter and the zero-cross level is decided by the resistor divider circuit including resistors R4 and R5. The gain of the operational amplifier 21 is adjusted for accurate A/D sensing. The inverted back emf of the LVA 11 with the zero-cross level as seen by the A/D input of the micro-controller 30 is shown in
A closed-loop operation of the LVA 11 can be performed with different algorithms which are described later. All these algorithms require the sensing of the magnitude of the back emf crest point (Bc) defined from the zero-cross level. The information of the timing instants when zero-cross points (Z0) and (Z1) in the negative and positive back emf slope region respectively have occurred, is also required for operating the LVA 11 always at resonant frequency (fr).
With the drive circuit having the interface circuit shown in
The magnitude of the inverted back emf crest point (Bc) or the back emf peak point (Bp) which is detected by the above described interface circuit is directly proportional to the stroke length or the sensitivity of vibration of the LVA. Hence, the closed loop operation of LVA 11 is performed to keep the magnitude of the back emf crest point (Bc) or the back emf peak point (Bp) constant and to make the PWM ON-duty at the center of two zero cross points (Z0) and (Z1), as shown in
Some embodiments of a control method of the LVA are described below for the drive circuit including the second interface circuit 20b. However the following embodiments are also valid for the drive circuit including the first or third interface circuit 20a or 20c with necessary modifications.
According to the following control methods, the LVA is operated in closed loop control by sensing its back electromotive force (emf) during the transistor OFF period, so that the operating resonant frequency (fr) is automatically tracked. Hence, the stroke length or the sensitivity of vibration of the LVA is always constant during the closed loop control irrespective of the change of battery voltage or the application of external damping force. The use of a micro-controller in commercially available cellular phones etc. strongly supports the implementation of the closed loop control. The back emf can be easily sensed by an A/D converter present within the micro-controller. Hence, the control technique can be realized without much additional cost.
The LVA may preferably be operated at a resonant frequency at higher battery voltage (2.9V to 4.2V) and lower turn-on duty (10% to 15%), thus providing the equal stroke length, that is, the same sensitivity of vibration as when operated at lower battery voltage (1.2V to 1.6V) and higher turn-on duty (40% to 50%). The average current flowing through the LVA in both cases is the same, making the LVA when operated at higher battery voltage more energy efficient.
The first algorithm of the control method of LVA 11 is described below, in which a PWM ON-duty is changed in steps based on the detected back emf of the LVA 11 while an operating frequency of the LVA 11 is constant.
The first algorithm has the salient features as follows.
(i) The LVA is always operated at a pre-determined constant resonant frequency (frc).
(ii) The initial PWM ON-duty (α) at starting is also pre-determined.
(iii) These parameters (frc and α) depend on the LVA characteristics, the desired reference back emf peak point (Bpr) and the required starting response. It is noted that the parameters (frc and α) and the other parameters are stored in advance to a data storage means of the control apparatus such as a ROM (or a hard disk) of the micro-controller.
(iv) The LVA is brought under closed loop operation from the first cycle and the magnitude of the back emf peak point (Bp) is continuously sensed and compared with the value of the reference back emf peak point (Bpr). If the error between Bp and Bpr exceeds a pre-determined tolerance value (δ), the PWM ON-duty (α) is changed in steps by a very small percentage of PWM ON-duty which is equal to (Δα), until the back emf peak point (Bp) again reaches near to the reference value (Bpr) making the sensitivity of the vibration unaltered. For better reliability of closed loop control, an upper limit (αmax) and a lower limit (αmin) of the PWM ON-duty is defined for the LVA 11. The value of Δα which is very much dependent on the system design, may remain constant throughout or may vary proportionally with respect to the magnitude of error between Bp and Bpr.
Detail description is made to the first algorithm with reference to
When a start switch of the control apparatus is turned on (S11), values of several parameters are read from the data storage means in the control apparatus (S12). Based on the initialised PWM ON-duty, PWM ON pulse is set (S13). The back emf peak Bp is detected by the interface circuit at every PWM OFF period (S14). Error between the detected back emf peak Bp and the reference back emf peak Bpr is compared with an error tolerance δ (S15).
If the error (|Bp-Bpr|) between the detected back emf peak Bp and the reference back emf peak Bpr is within the error tolerance δ (S15), a percentage of the duty α is not changed (S16): If the error (|Bp-Bpr|) exceeds the error tolerance δ (S15), a percentage of the duty α is changed. That is, if Bp>Bpr (S17), the duty α is decreased by the predetermined value Δα (S18), otherwise it is increased by the predetermined value Δα (S19). Then the micro-controller 30 instructs the switch driver to drive the transistor QN1 with the obtained duty α.
The above procedure (S13 to S19) is repeated while the start switch is kept on (S20). When the start switch is turned off, the output of PWM ON pulse is terminated (S21).
The second algorithm of the control method of the LVA 11 is described below, in which an operating frequency of the LVA 11 is changed in steps based on the detected back emf of the LVA 11 while the PWM ON-duty is constant.
Referring to
(i) The LVA 11 is always operated at a pre-determined fixed PWM ON-duty (αc). The fixed PWM ON-duty (αc) is first read as well as other parameters (S32) after switch-on.
(ii) An operating frequency of the LVA during starting is equal to a pre-determined resonant frequency (fr).
(iii) The parameters (αc and fr) depend on the LVA characteristics, the desired reference back emf peak point (Bpr) and the required starting response.
(iv) The LVA is brought under a closed loop operation from the first cycle and the magnitude of the back emf peak point (Bp) is continuously sensed (S34), and compared with the value of the reference back emf peak point (Bpr) (S35). If the error between (Bp) and (Bpr) exceeds a predetermined tolerance value (δ), the operating frequency is changed in steps by a very small percentage of resonant frequency equal to (Δf) (S37 to S39), until the back emf peak point (Bp) again reaches near to the reference value (Bpr) making the sensitivity of the vibration unaltered. If the error between (Bp) and (Bpr) is within the error tolerance δ, a percentage of the operating frequency fr is not changed (S36). The above procedure (S33 to S39) is repeated while the start switch is kept on (S40).
For better reliability of the closed loop control, an upper limit (fmax) and a lower limit (fmin) of the resonant frequency is defined for the LVA. The value of (Δf) which greatly depends on the system design, may remain constant throughout or may vary proportionally with respect to the magnitude of the error between (Bp) and (Bpr).
The third algorithm of the control method of LVA 11 is described below with reference to
Referring to
The fourth algorithm of the control method of the LVA 11 is described below, in which an open loop operation is first performed during a predetermined number (N) of cycles and subsequently a closed loop operation is performed. In the closed loop operation, a turn-on delay (tond) is set so that a PWM duty pulse is located at the center of an interval between a zero-cross point Z1 in a negative slope of the back emf and a zero-cross point Z0 in a positive slope of the back emf. The turn-on delay (tond) is an interval from the zero-cross point Z1 in a negative slope of the back emf to a start of a PWM duty pulse.
Referring to
(i) The LVA 11 is started in open loop operation with a pre-determined initial PWM ON-duty (α). It is noted from the flow chart shown in
(ii) The drive transistor QN1 is always turned ON after sensing the zero-cross point (Z1) in the negative slope region of the back emf (S73), and a turn-on delay (tond) as shown in
(iii) The starting PWM ON-duty (α) and the initial turn-on delay (tond1) are kept constant during the open loop operation (S78). The values of these two parameters depend on the LVA characteristics, the desired reference back emf peak point (Bpr) and the required starting response. After few initial cycles equal to (N), the LVA is brought into the closed loop operation (S75, S84).
(iv) During the closed loop operation, the magnitude of the back emf peak point (Bp) is continuously sensed (S76), and compared with the value of the reference back emf peak point (Bpr) (S77). If the error between (Bp) and (Bpr) exceeds a pre-determined tolerance value (δ) (S77), the PWM ON-duty is changed in steps by a very small percentage of PWM ON-duty equal to Δα (S79, S80, S81), until the back emf peak point (Bp) again reaches near to the reference value (Bpr) (S77). Thus, the sensitivity of vibration is unaltered. For better reliability of the closed loop control, an upper limit (αmax) and a lower limit (αmin) of the PWM ON-duty (α) is defined for the LVA 11 (refer to S80, 81). The value of Δα which greatly depends on the system design, may remain constant throughout or may vary proportionally with respect to the magnitude of error (|Bp-Bpr|).
(v) During the closed loop operation, the operating frequency of the LVA 11 is calculated by detecting the time period between two consecutive zero-cross points (Z1) (S82, S83). The turn-on delay is continuously updated with respect to the operating frequency (S85), so that the PWM ON-duty is always at the center of the two zero-cross points (Z0) and (Z1). This indirectly assures operation of the LVA at a resonant frequency (fr). The turn-on delay tond in the closed loop operation is obtained by an equation of (Tr/4-α/2) in which Tr equals to 1fr. The drive transistor QN1 is turned on when a period of turn on delay of tond elapses from the zero-cross point Z1 of the back emf in the negative slope. In this embodiment, the period of turn on delay tond is measured by a counter tcount which counts up a clock (S87 to S90).
The fifth algorithm of the control method of the LVA 11 is described below. The previously mentioned salient features (i) to (iv) for the fourth algorithm are same for the fifth algorithm too. The major difference between the fourth and fifth algorithms lies in the sensing of another zero-cross point (Z0) in the positive slope region of the back emf during the closed loop operation to estimate a turn-off delay (toffd) on-line and make the turn-on delay (tond) equal to the turn-off delay (toffd) as shown in
Referring to
(i) In the closed loop operation, a turn-off delay (toffd) is estimated or noted by counting up a clock from the instant when the PWM pulse turns off to the instant when the back emf zero-cross point (Z0) is detected (S106 to S109).
(ii) If the error between the set turn-on delay (tond) and the estimated turn-off delay (toffd) exceeds a pre-determined tolerance value (ε) (S118), the turn-on delay (tond) is changed in steps by a small period equal to (Δt) (S120 to S122), so that it again becomes nearly equal to turn-off delay (toffd). If the difference does not exceeds the tolerance value (ε), the turn-on delay (tond) is not changed (S119). The value of (Δt) which greatly depends on the system design, may remain constant throughout or may vary proportionally with respect to the magnitude of error between (tond) and (toffd). This algorithm directly assures that the PWM ON-duty is always at the center of the two zero-cross (Z0) and (Z1) and the LVA is thus operating on resonant frequency (fr).
A PWM pulse is made output when a period of the turn on delay (tond) elapses after detecting the zero-cross point (Z1) (S124 to 126).
The sixth algorithm of the control method of the LVA 11 is described below. The features of the sixth algorithm is basically the same as the fourth algorithm; In the sixth algorithm the turn-on delay (tond) is defined based on the back emf peak point (Bp).
The flow chart for the sixth algorithm is shown in
The seventh algorithm of the control method of the LVA 11 is described below. The features of the seventh algorithm is basically the same as the fifth algorithm. In the seventh algorithm, the zero-cross points (Z0) and (Z1) are not sensed, and the turn-on delay (tond) and the turn-off delay (toffd) as shown in
As shown in the flowchart, the turn-off delay (toffd) is known by the detection timing of the back emf peak points (Bp). That is, the turn-off delay (toffd) is noted by counting clocks from the end of PWM pulse to the detection of the back emf peak point (Bp) (S175 to S178). The turn-on delay (tond) is made equal to the turn-off delay (toffd) (S180 to S184).
Closed loop control of the LVA as described above is ideal for generating vibration in cellular phones, game controllers, toys, healthy bands etc. as the sensitivity of vibration can be always made constant. The presence of micro-controller in all these systems helps to implement the closed-loop control of the LVA without any additional cost.
Although the present invention has been described in connection with specified embodiments thereof, many other modifications, corrections and applications are apparent to those skilled in the art. Therefore, the present invention is not limited by the disclosure provided herein but limited only to the scope of the appended claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2003/002238 | 2/27/2003 | WO | 00 | 4/17/2007 |