Method for compensating signal of motor, electronic apparatus and storage medium
AssigneeAAC Technologies Pte. Ltd.
InventorsXuan Guo, Zheng Xiang, Xiang Lu
Life of this patent
Estimating the term…
Abstract
A method for compensating a signal of a motor includes acquiring an original signal and nonlinear parameters of the motor; calculating a compensation signal for the original signal according to the acquired nonlinear parameters; and loading the calculated compensation signal into the motor to excite the motor to vibrate. An electronic apparatus and a storage medium are also provided. In this method, the original excitation signal is compensated for nonlinearity according to the nonlinear motor parameters, and is then used for exciting the motor. Therefore, the actual vibration effect can be closer to the expected effect as designed, which can bring more desirable tactility experience.
Claims17
A method for compensating a signal of a motor, comprising:
- acquiring an original signal and nonlinear parameters of the motor;
- calculating a compensation signal for the original signal according to the acquired nonlinear parameters;
- and
- loading the calculated compensation signal into the motor to excite the motor to vibrate, wherein
- the nonlinear parameters comprise an electromagnetic force coefficient b, a spring stiffness coefficient k and a damping Rm, and the functions of the nonlinear parameters with respect to a vibrator displacement x are expressed as follows:
- b(x)=b0+b1x+b2x2+ . . . +bnxn
- k(x)=k0+k1x+k2x2+ . . . +knxn
- Rm(x)=R0+R1x+R2x2+ . . . +Rnxn
- where n is an arbitrary positive integer, and b0˜bn and k0˜kn, R0˜Rn are nonlinear parameter coefficients.
An electronic apparatus comprising:
- at least one processor;
- and
- a memory in communication with the at least one processor, the memory storing a motor signal compensation program executable by the at least one processor, the motor signal compensation program being executable by the at least one processor to perform a method for compensating a signal of a motor, the method comprising:
- acquiring an original signal and nonlinear parameters of the motor;
- calculating a compensation signal for the original signal according to the acquired nonlinear parameters;
- and
- loading the calculated compensation signal into the motor to excite the motor to vibrate, wherein
- the nonlinear parameters comprise an electromagnetic force coefficient b, a spring stiffness coefficient k and a damping Rm, and the functions of the nonlinear parameters with respect to a vibrator displacement x are expressed as follows:
- b(x)=b0+b1x+b2x2+ . . . +bnxn
- k(x)=k0+k1x+k2x2+ . . . +knxn
- Rm(x)=R0+R1x+R2x2+ . . . +Rnxn
- where n is an arbitrary positive integer, and b0˜bn and k0˜kn, R0˜Rn are nonlinear parameter coefficients.
A computer readable storage medium having a motor signal compensation program stored thereon, the motor signal compensation program being executable by at least one processor to perform a method for compensating a signal of a motor, the method comprising:
- acquiring an original signal and nonlinear parameters of the motor;
- calculating a compensation signal for the original signal according to the acquired nonlinear parameters;
- and
- loading the calculated compensation signal into the motor to excite the motor to vibrate wherein
- the nonlinear parameters comprise an electromagnetic force coefficient b, a spring stiffness coefficient k and a damping Rm, and the functions of the nonlinear parameters with respect to a vibrator displacement x are expressed as follows:
- b(x)=b0+b1x+b2x2+ . . . +bnxn
- k(x)=k0+k1x+k2x2+ . . . +knxn
- Rm(x)=R0+R1x+R2x2+ . . . +Rnxn
- where n is an arbitrary positive integer, and b0˜bn and k0˜kn, R0˜Rn are nonlinear parameter coefficients.
Dependencies are inferred from the claim text.