METHOD FOR RECOGNIZING MOTOR SYSTEM

Information

  • Patent Application
  • 20200209900
  • Publication Number
    20200209900
  • Date Filed
    December 05, 2019
    4 years ago
  • Date Published
    July 02, 2020
    3 years ago
Abstract
A method for recognizing a motor system is provided. The method includes steps of: establishing a functional series filter model for describing a motor system; generating a logarithmic sweep signal; feeding the logarithmic sweep signal to the motor system and obtaining, by an accelerometer, a vibration acceleration output by the motor system; generating an inverse signal of the logarithmic sweep signal generated; convolving the vibration acceleration with the inverse signal to obtain a one-dimensional impulse response sequence; intercepting the one-dimensional impulse response sequence by using a window function to obtain impulse response sequences; solving kernel functions according to the impulse response sequences, substituting the kernel functions into a recognition formula of the motor system, and describing and identifying the motor system through the recognition formula.
Description
TECHNICAL FIELD

The present disclosure relates to the field of signal processing, and in particular, to a method for recognizing a motor system using a one-dimensional Volterra filter.


BACKGROUND

With a development of science and technology, audiovisual and other senses have been difficult to meet people's demands, and tactile feedback has entered the public's vision field as a direct sense. A tactile actuator with a motor being a core and an electronic device (such as a cellphone, a tablet, or a motor central device) being a carrier can provide a customized tactile experience by designing its specific waveform. For example, according to scenarios in the game, different sound sources can correspond to different vibrations, which makes people recognize targets more directly and fast in the game and at the same time obtain higher immersion feeling. For another example, for electronic devices such as cellphones, virtual buttons can be provided with highly customized vibration waveforms to achieve special feelings of physical buttons. Recognition for motor system is essential to design a motor customized waveform.


The recognition for the motor system can be understood as determining a processing process of an input signal by a motor system, that is, when an input voltage signal is provided, an output vibration waveform of the motor can be known by recognizing an obtained processing process.


The recognition for the motor system in the related art mostly relies on a physical model, components such as a circuit structure and a magnetic drive are included. On the one hand, an analysis is cumbersome, and an error in recognition of the physical model may lead to an error of a system identification; and on the other hand, it is difficult to accurately describe a nonlinear component of a motor.


Therefore, it is necessary to provide a new method for recognizing the motor system to solve the above problems.





BRIEF DESCRIPTION OF DRAWINGS

Many aspects of the exemplary embodiment can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.



FIG. 1 is a schematic diagram of device for recognizing a motor system using a method for recognizing a motor system;



FIG. 2 is a flow chart of a method for recognizing a motor system;



FIG. 3 is a schematic diagram of a one-dimensional impulse response sequence used in a method for recognizing a motor system;



FIG. 4 is a schematic diagram of a 1st-order kernel function h1 of a method for recognizing a motor system;



FIG. 5 is a schematic diagram of a 2nd-order kernel function h2 of a method for recognizing a motor system;



FIG. 6 is a schematic diagram of a 3rd-order kernel function h3 of a method for recognizing a motor system;



FIG. 7 is a schematic diagram of a 4th-order kernel function h4 of a method for recognizing a motor system;



FIG. 8 is a schematic diagram of a 5th-order kernel function h5 of a method for recognizing a motor system; and



FIG. 9 is a diagram illustrating a comparison between an acceleration obtained according to a method for recognizing a motor system using a measured acceleration.





DESCRIPTION OF EMBODIMENTS

The technical solutions in embodiments of the present disclosure are described in the following with reference to the accompanying drawings. It should be understood that described embodiments are merely exemplary embodiments of the present disclosure, which shall not be interpreted as providing limitations to the present disclosure. All other embodiments obtained by those skilled in the art without creative efforts according to the embodiments of the present disclosure are within the scope of the present disclosure.


With reference to FIG. 1, an embodiment of the present disclosure provides a method for recognizing a motor system, the method can be implemented through a signal generator 1, a motor system 2, and an accelerometer 3.


The signal generator 1 inputs an excitation voltage x(n) to the motor system 2.


The motor system 2 is a motor system to be recognized. In an embodiment, the motor system 2 is regarded as a black box. An input signal is the excitation voltage x(n), and an output signal is a vibration acceleration y(n).


The accelerometer 3 is configured to collect the vibration acceleration y(n) output by the motor system 2


With reference to FIG. 2, the method for recognizing the motor system includes following steps.


In step S1, a functional series filter model for describing the motor system is established, the functional series filter model having an input being an excitation voltage x(n) and an output being a vibration acceleration y(n), and y(n) satisfies a recognition formula (1) as follows.










y


(
n
)


=





i
=
0



M
1

-
1










h
1



(
i
)




x


(

n
-
i

)




+




i
=
0



M
2

-
1










h
2



(
i
)





x
2



(

n
-
i

)




+

+




i
=
0



M
p

-
1










h
p



(
i
)





x
p



(

n
-
i

)









(
1
)







Here, hp is a kernel function of the functional series filter model, Mp is a length of a filter of a pth-order kernel function, i is a point coordinate of a discrete-domain kernel function and is a natural number ranging from 0 to Mp−1, n is a positive integer, p is a positive integer, xp(n−i) represents pth power of an x sequence of a (n−i)th point coordinate;


In step S2, a logarithmic sweep signal is generated as the excitation voltage x(n) of the motor system, where x(n) satisfies a formula (2):










x


(
n
)


=

A





sin


{




ω
1


T


ln


(


ω
2



/



ω
1


)



[


e


n






ln


(


ω
2



/



ω
1


)



N


-
1

]

}






(
2
)







Here, A is an amplitude, ω1 and ω2 respectively are a starting angular frequency and an ending angular frequency of the logarithmic sweep signal, T is a signal duration of the logarithmic sweep signal, N is a total number of sampling points, and n is a positive integer.


Meanwhile, parameters satisfy a formula (3):












ω
1


T


ln


(


ω
2



/



ω
1


)



=


π
2

+

2

ηπ






(
3
)







Here, η= . . . , −1, 0, 1, 2, . . . .


In step S3, the logarithmic sweep signal generated in the step S2 is fed to the motor system, and the vibration acceleration y(n) output by the motor system is collected by an accelerometer.


In step S4, an inverse signal of the logarithmic sweep signal is generated, and {tilde over (x)}(n) satisfies a formula (4):











x
~



(
n
)


=



2






ln


(


ω
2


ω
1


)





A
2


T





e


-

n
N




ln


(


ω
2


ω
1


)




·

x


(

-
n

)








(
4
)







In step S5, the vibration acceleration y(n) collected in the step S3 is convolved with the inverse signal {tilde over (x)}(n) obtained in the step S4 to obtain a one-dimensional impulse response sequence k(n); in this step, the one-dimensional impulse response sequence k(n) consists of multiple delayed impulse response sequences.


In step S6, the one-dimensional impulse response sequence k(n) obtained in the step S5 is intercepted by using a window function to obtain impulse response sequences k1(n) to kp(n).






{







k
1



(
n
)


=


k


(
n
)


·

[


u


(
n
)


-

u


(

n
-

M
1


)



]










k
2



(
n
)


=


k


(
n
)


·

[


u


(

n
+

γ
20


)


-

u


(

n
+

γ
20

-

M
2


)



]















k
p



(
n
)


=


k


(
n
)


·

[


u


(

n
+

γ

p





0



)


-

u


(

n
+

γ

p





0


-

M
p


)



]












Here, u is a unit step function, γp0 is a constant indicating a delay amount of a pth impulse response and calculated as:







γ

p





0


=



ln


(
p
)



ln


(


ω
2



/



ω
1


)



.





In step S7, kernel functions h1 to hp is solved according to the impulse response sequences, the kernel functions are substituted into a recognition formula of the motor system, and the motor system is described and recognized through the recognition formula. The kernel functions h1 to hp are denoted as:






{






h
1

=


k
1

-

3


k
3


+

5


k
5











h
2

=



-

2
A




k
2


+


8
A



k
4















h
3

=



-

4
A




k
3


-


20

A
2




k
5











h
4

=


-

8

A
3





k
4















h
5

=


-

16

A
4





k
5


























h
p

=


-


2

(

p
-
1

)



A

(

p
-
1

)






k
p

















Each kernel function is then substituted into the recognition formula of the motor system, and the motor system is described and identified by the recognition formula.


The motor system is recognized by the method for recognizing the motor system, a physical model is not depended on and a nonlinear component of a motor is included, which can effectively estimate the vibration waveform output by the motor and thereby makes the method for recognizing the motor system be simple and be with a high reliability.


In order to verify an actual effect of the method for recognizing the motor system, a system identification is performed by measuring the vibration acceleration of a motor based on the functional series filter model, and parameters of the motor are as shown in Table 1 as follows.









TABLE 1







parameter list of the motor









symbol
physical meaning and unit
value












f1
starting frequency of sweep signal, Hz
20


f2
ending frequency of sweep signal, Hz
4 × 103


T
Duration of sweep signal, s
9.3383


A
amplitude of sweep signal, V
2


fs
sampling Rate, Hz
8 × 103


M
length of kernel function
2 × 103


zero_pos_offset
offset at time zero
300









With reference to FIGS. 4-8, the motor is identified by performing the method for recognizing the motor system, and the kernel function is identified and obtained. In recognition of the verification, a recognition is performed through 5 orders the kernel function.


With reference to FIG. 9, the input signal x(n) is input into the motor system to recognize the motor system, and estimated vibration acceleration y′(n) output is compared with measured vibration acceleration y(n). Here, a curve A illustrates values of the measured vibration acceleration, a curve B illustrates values of the estimated vibration acceleration, and a curve C illustrates an error value thereof. An error between the estimated acceleration and the measured acceleration is 2.69%, which is a small error and indicates that the method for recognizing the motor system of the present disclosure is effective and accurate.


With the verification test described above, it can be concluded that the method for recognizing the motor system recognizes the motor system and can effectively estimate a vibration waveform output by the motor.


Compared with the related art, in the method for recognizing the motor system of the present disclosure, the functional series filter model for describing the motor system is established with the excitation voltage x(n) being the input of the functional series filter model and the vibration acceleration y(n) being the output of the functional series filter model; the logarithmic sweep signal is generated as the excitation voltage x(n) of the motor system; the generated logarithmic sweep signal is fed to the motor system, and the vibration acceleration y(n) output by the motor system is collected through the accelerometer, and then the inverse signal {tilde over (x)}(n) of the logarithmic sweep signal is generated; and then the vibration acceleration y(n) collected is convolved with the inverse signal {tilde over (x)}(n) to obtain the one-dimensional impulse response sequence k(n); then the one-dimensional impulse response sequence k(n) is intercepted to obtain impulse response sequences k1(n) to kp(n) by using the window function; then the kernel functions h1 to hp is solved according to the impulse response sequences, and the kernel functions are then substituted into the recognition formula of the motor system, and the motor system is described and identified by the recognition formula. The motor system is recognized by the motor system recognition method, no physical model is depended on and a nonlinear component of the motor is included, which can effectively estimate the vibration waveform output by the motor and makes the method for recognizing the motor system be simple and be with a high reliability.


The above description is merely exemplary embodiments of the present disclosure, and is not intended to limit the scope of the present disclosure. All equivalent structures or equivalent process transformations, based on the specification and the drawings of the present disclosure, that can be directly or indirectly applied to other related technology fields are within the scope of the present disclosure.

Claims
  • 1. A method for recognizing a motor system, comprising: step S1 of establishing a functional series filter model for describing the motor system, the functional series filter model having an input being an excitation voltage x(n) and an output being a vibration acceleration y(n), wherein y(n) satisfies a recognition formula (1):
  • 2. The method for recognizing a motor system as described in claim 1, wherein in the step S5, the one-dimensional impulse response sequence k(n) is composed of a plurality of delayed impulse response sequences.
Priority Claims (1)
Number Date Country Kind
201811651546.8 Dec 2018 CN national