CPC H02P 6/006 (2013.01) [H02P 23/0077 (2013.01); H02P 25/06 (2013.01)] | 20 Claims |
8. An apparatus for adjusting a vibration waveform of a linear motor, applicable to an electronic device, wherein the electronic device comprises a linear motor, and the apparatus comprises a processor, configured to perform the following:
in response to a vibration description file comprising a steady-state waveform, adjusting the steady-state waveform of the vibration description file, wherein the adjusting of the steady-state waveform of the vibration description file comprises obtaining a frequency of the steady-state waveform of a vibration description file, and mapping the frequency to a target frequency according to a preset first mapping rule and a frequency of the linear motor; and
in response to the vibration description file comprising a transient waveform, adjusting the transient waveform of the vibration description file, wherein the adjusting of the transient waveform of the vibration description file comprises expanding the transient waveform into a waveform sequence, and wherein the waveform sequence is formed by a plurality of target transient waveforms, a frequency of the waveform sequence is the same as a frequency of the transient waveform of the vibration description file, and a frequency of each of the plurality of target transient waveforms is adapted to the linear motor.
|