Linear resonant device, and braking method for same
Abstract
A linear resonant device and a braking method for the same. The linear resonant device comprises a linear resonant motor and a drive chip. The drive chip pre-stores a drive waveform and at least one first braking waveform therein. The method comprises: determining, in response to a braking instruction, whether vibration of the linear resonant motor meets a first condition while being driven by the drive waveform; and if so, controlling the drive chip to drive, by using the first braking waveform, the linear resonant motor and to conduct a first braking process for the linear resonant motor, wherein the first braking waveform comprises at least two pulse waveforms, and an amplitude value of each of the at least two pulse waveforms gradually decreases along a propagation direction of the first braking waveform.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method for braking a linear resonance device, wherein
the linear resonance device comprises a linear resonance actuator and a driving chip, the driving chip pre-stores a driving waveform signal and a first braking waveform signal, and the method comprises:
in response to a braking instruction, determining whether a vibration of the linear resonance actuator under driving of the driving waveform signal meets a first condition;
in a case that the vibration of the linear resonance actuator meets the first condition, controlling the driving chip to output the first braking waveform signal to drive the linear resonance actuator to perform a first braking process on the linear resonance actuator;
and in a case that the first braking process meets a second condition, controlling the driving chip to stop outputting the first braking waveform signal, to finish braking the linear resonance actuator, wherein
the first braking waveform signal comprises at least two pulses, and among the at least two pulses, an amplitude of a preceding pulse is greater than an amplitude of a succeeding pulse.
2. The method according to claim 1 , wherein the first braking waveform signal comprises a first pulse and a second pulse, wherein
the controlling the driving chip to output the first braking waveform signal to drive the linear resonance actuator comprises: controlling the driving chip to output the first pulse prior to the second pulse;
and an amplitude AMP(i) of the first pulse and an amplitude AMP(i+1) of the second pulse meet the following equation:
AMP ( i+ 1)=floor( N*AMP ( i )/2 m );
wherein i represents an integer not less than 1, N represents a pulse amplitude attenuation factor, m represents the number of bits of the pulse amplitude attenuation factor stored in a register, and a floor function is a ROUNDDOWN function.
3. The method according to claim 1 , wherein the second condition comprises that the number of pulses in the first braking waveform signal outputted by the driving chip reaches a first preset value.
4. The method according to claim 1 , wherein the driving chip further pre-stores at least one second braking waveform signal, wherein the method further comprises:
in a case that the vibration of the linear resonance actuator does not meet the first condition, controlling the driving chip to output the second braking waveform signal to drive the linear resonance actuator to perform a second braking process on the linear resonance actuator;
in a case that the second braking process meets a third condition, controlling the driving chip to output the first braking waveform signal to drive the linear resonance actuator to perform the first braking process on the linear resonance actuator; and
in a case that the first braking process meets the second condition, controlling the driving chip to stop outputting the first braking waveform signal, to finish braking the linear resonance actuator, wherein
the second braking, waveform signal comprises at least one pulse, and an amplitude of the pulse in the second braking waveform signal is not less than a maximum amplitude among amplitudes of pulses in the first braking waveform signal.
5. The method according to claim 4 , wherein the second braking waveform signal comprises at least two pulses, and the at least two pulses in the second braking waveform signal have a same amplitude.
6. The method according to claim 5 , wherein the maximum amplitude among amplitudes of pulses in the first braking waveform signal is the same as an amplitude of any one of the gat least two pulses in the second braking waveform signal.
7. The method according to claim 4 , wherein the pulse in the second braking waveform signal has a same frequency as the pulse in the first braking waveform signal.
8. The method according, to claim 1 , further comprising: adjusting a frequency of the first braking waveform signal outputted by the driving chip based on a frequency of the vibration of the linear resonance actuator under driving of the driving waveform signal.
9. The method according to claim 1 , further comprising: determining whether a braking instruction is received when stopping outputting the driving waveform signal.
10. A linear resonance device, comprising:
a linear resonance actuator;
a driving chip; and
a processor, wherein
the driving chip is configured to pre-store a driving waveform signal and a first braking waveform signal; and
the processor is configured to:
in response to a braking instruction, determine whether a vibration of the linear resonance actuator under driving of the driving waveform signal meets a first condition;
in a case that the vibration of the linear resonance actuator meets the first condition, control the driving chip to output the first braking waveform signal to drive the linear resonance actuator to perform a first braking process on the linear resonance actuator; and
in a case that the first braking process meets a second condition, control the driving chip to stop outputting the first braking waveform signal, to finish braking the linear resonance actuator, wherein
the first braking waveform signal comprises at least two pulses, and among the at least two pulses, an amplitude of a preceding pulse is greater than an amplitude of a succeeding pulse.
11. The linear resonance device according to claim 10 , wherein the driving chip comprises a register, a static random-access memory and a drive controller, wherein
the static random-access memory is configured to pre-store a first braking waveform signal;
the processor is configured to output a first control instruction in the case that the vibration of the linear resonance actuator meets the first condition; and
the register is configured to, in response to the first control instruction, trigger the drive controller to read the first braking waveform signal in the static random-access memory to perform the first braking process on the linear resonance actuator.
12. The linear resonance device according to claim 10 , wherein the first braking waveform signal comprises a first pulse and a second pulse, wherein
the driving chip being configured to output the first braking waveform signal to drive the linear resonance actuator comprises the driving chip being configured to output the first pulse prior to the second pulse, and an amplitude AMP(i) of the first pulse and an amplitude AMP(i+1) of the second pulse meet the following equation:
AMP ( i+ 1)=floor( N*AMP ( i )/2 m );
wherein i represents an integer not less than 1, N represents a pulse amplitude attenuation factor, m represents the number of bits of the pulse amplitude attenuation factor stored in a register, and a floor function is a ROUNDDOWN function.
13. The linear resonance device according to claim 10 , wherein the second condition comprises that the number of pulses in the first braking, waveform signal outputted by the driving chip reaches a first preset value.
14. The linear resonance device according to claim 11 , wherein the static random-access memory further pre-stores at least one second braking waveform signal, wherein
in a case that the vibration of the linear resonance actuator does not meet the first condition, the processor is configured to output a second control instruction, and the register is configured to, in response to the second control instruction, trigger the driving chip to Output the second braking waveform signal to drive the linear resonance actuator to perform a second braking process on the linear resonance actuator;
in a case that the second braking process meets a third condition, the processor is configured to output a first control instruction, and the register is configured to, in response to the first control instruction, trigger the driving chip to output the first braking waveform signal to drive the linear resonance actuator to perform the first braking process on the linear resonance actuator; and
in a case that the first braking process meets the second condition, the processor is configured to control the driving chip to stop outputting the first braking waveform signal, to finish braking the linear resonance actuator, wherein
the second braking waveform signal comprises at least one pulse, and an amplitude of the pulse in the second braking waveform signal is not less than a maximum amplitude among amplitudes of pulses in the first braking waveform signal.
15. The linear resonance device according to claim 14 , wherein the second braking waveform signal comprises at least two pulses, and the at least two pulses in the second braking waveform signal have a same amplitude.
16. The linear resonance device according to claim 15 , the maximum amplitude among amplitudes of pulses in the first braking waveform signal is the same as an amplitude of any one of the at least two pulses in the second braking waveform signal.
17. The linear resonance device according to claim 14 , wherein the pulse in the second braking waveform signal has a same frequency as the pulse in the first braking waveform signal.
18. The linear resonance device according to claim 11 , further comprising a clock chip, wherein the processor is further configured to: adjust a sampling frequency of the clock chip to a preset frequency based on a frequency of the vibration of the linear resonance actuator under driving of the driving waveform signal, to control the driving chip to read the first braking waveform signal in the static random-access memory at the preset frequency, to output the first braking waveform signal.
19. A driving chip comprising: a register, a static random-access memory and a drive controller, wherein
the static random-access memory is configured to pre-store a first braking waveform signal; and
the register is configured to, in response to a first control instruction, trigger the drive controller to read the first braking waveform signal in the static random-access memory to perform a first braking process on a linear resonance actuator,
wherein the first braking waveform signal comprises a first pulse and a second pulse, and the first pulse is outputted prior to the second pulse, and an amplitude AMP(i) of the first pulse and an amplitude AMP(i+1) of the second pulse meet the following equation:
AMP ( i+ 1)=floor* AMP ( i )/2 m );
wherein i represents an integer not less than 1, N represents a pulse amplitude attenuation factor, m represents the number of bits of the pulse amplitude attenuation factor stored in a register, and a floor function is a ROUNDDOWN function.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.