CN116384031A - Simulation method and device for motor vibration effect - Google Patents

Simulation method and device for motor vibration effect Download PDF

Info

Publication number
CN116384031A
CN116384031A CN202111601374.5A CN202111601374A CN116384031A CN 116384031 A CN116384031 A CN 116384031A CN 202111601374 A CN202111601374 A CN 202111601374A CN 116384031 A CN116384031 A CN 116384031A
Authority
CN
China
Prior art keywords
motor
waveform
driving
vibration
vibration data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111601374.5A
Other languages
Chinese (zh)
Inventor
柳慧芬
何亮
彭参镇
郑天驰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Silicon Integrated Co Ltd
Original Assignee
Wuhan Silicon Integrated Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Silicon Integrated Co Ltd filed Critical Wuhan Silicon Integrated Co Ltd
Priority to CN202111601374.5A priority Critical patent/CN116384031A/en
Publication of CN116384031A publication Critical patent/CN116384031A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Abstract

Disclosed are a method and a device for simulating a motor vibration effect, according to an embodiment, the method for simulating the motor vibration effect may include: providing a driving waveform for performing simulated vibration on the motor; performing component analysis on the driving waveform, and decomposing the driving waveform into one or more component driving waveforms; calculating vibration data of the motor under each component driving waveform; and synthesizing the calculated vibration data to obtain simulation vibration data of the motor under the driving waveform. The invention can simulate and observe the designed waveform first, and then carry out actual driving debugging after obtaining the expected result, thereby saving the debugging time.

Description

Simulation method and device for motor vibration effect
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for simulating a motor vibration effect.
Background
Along with the development and popularization of various electronic devices such as smart phones and wearable devices, the requirements of people on haptic experience are increasingly abundant. Currently, haptic feedback techniques are generally implemented by motor vibration, which excites a vibration motor inside a device with a specific driving waveform, and vibrator vibration inside the motor is perceived by people to generate haptic effects.
In the prior art, the driving signal is generally adjusted by actually driving the motor to obtain the motor vibration effect. For example, when the response of the actual motor/tool does not meet the requirements, the driving signal or the adjustment parameter is changed to drive again until the output haptic effect meets the requirements, however, this method has low operation efficiency, and it is difficult to find a driving waveform that meets the expected vibration effect.
Disclosure of Invention
The present application has been proposed in order to solve the above-mentioned technical problems occurring in the prior art. The embodiment of the application provides a simulation method and a simulation device for motor vibration effect, which can simulate and observe designed waveforms first, and then carry out actual driving debugging after obtaining expected results, so that debugging time can be saved.
According to an aspect of the present application, there is provided a simulation method of a motor vibration effect, the simulation method including: providing a driving waveform for performing simulated vibration on the motor; component analysis is carried out on the driving waveform, and the driving waveform is decomposed into one or more component driving waveforms; calculating vibration data of the motor under each component driving waveform; and synthesizing the calculated vibration data to obtain simulation vibration data of the motor under the driving waveform.
In some embodiments, providing a drive waveform for simulated vibration of a motor includes: selecting one or more structured waveforms from a library of pre-designed structured waveforms, each structured waveform being determined by at least a waveform type, a waveform voltage, and a waveform frequency; and superposing the one or more structured waveforms to obtain the driving waveform.
In some embodiments, calculating vibration data of the motor at each component drive waveform includes: obtaining model parameters of the motor; vibration data of the motor under each component drive waveform is calculated based on a motor vibration model associated with model parameters of the motor.
In some embodiments, determining model parameters of the motor includes: driving the motor to vibrate by a pre-generated drive signal, the drive signal being associated with more than two frequencies; acquiring response data of the motor under the driving signal; and determining model parameters of the motor according to the response data.
In some embodiments, the vibration data includes at least one of motor vibrator displacement, motor vibrator movement speed, motor vibrator acceleration.
In some embodiments, the method may further comprise: calculating tool vibration data of the motor tool under each component driving waveform; and synthesizing the calculated tool vibration data to obtain tool simulation vibration data of the tool under the driving waveform.
Another aspect of the present application provides a motor vibration effect simulation apparatus, including: providing a unit for providing a driving waveform for simulated vibration of the motor; an analysis unit for performing component analysis on the driving waveform, and decomposing the driving waveform into one or more component driving waveforms; a calculation unit for calculating vibration data of the motor under the respective component driving waveforms; and a synthesizing unit for synthesizing the calculated vibration data to obtain the simulated vibration data of the motor under the driving waveform.
In some embodiments, the simulation apparatus further comprises: and the display unit is used for displaying the simulated vibration data.
Another aspect of the present application also provides an electronic device comprising a memory, a processor, and instructions stored on the memory and executable on the processor, which when executed by the processor, cause the processor to perform the emulation method described above.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of the simulation method described above.
Compared with the prior art, by adopting the motor vibration effect simulation method and the motor vibration effect simulation device, after the waveform is designed, the vibration effect can be observed through simulation, so that a design closed loop is formed, actual driving is not required for each design waveform, and the debugging time is saved. Further, by obtaining the motor model parameters with high accuracy, the reliability of the vibration state simulation data can be improved, and the driving waveform meeting the expected effect can be quickly designed.
Drawings
The foregoing and other objects, features and advantages of the present application will become more apparent from the following more particular description of embodiments of the present application, as illustrated in the accompanying drawings. The accompanying drawings are included to provide a further understanding of embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate the application and not constitute a limitation to the application. In the drawings, like reference numerals generally refer to like parts or steps.
FIG. 1 illustrates a flow chart of a method of simulating motor vibration effects provided in accordance with an embodiment of the present application;
FIG. 2 shows a schematic diagram of a structured drive waveform provided in accordance with an embodiment of the present application;
FIG. 3 illustrates a schematic diagram of output simulated vibration data provided in accordance with an embodiment of the present application;
FIG. 4 is a flow chart of a method for calculating vibration data of a motor under various component drive waveforms according to an embodiment of the present application;
FIG. 5 shows a flow diagram for calculating motor parameters according to an embodiment of the present application;
FIG. 6 is a block diagram showing a motor vibration effect simulation apparatus according to an embodiment of the present application;
fig. 7 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It will be apparent that the described embodiments are only some of the embodiments of the present application and not all of the embodiments of the present application. Also, not all of the above advantages need be achieved at the same time to practice any of the examples of embodiments of the present application. It should be understood that the present application should not be limited to the particular details of these example embodiments. Rather, embodiments of the present application may be practiced without these specific details or with other alternatives, without departing from the spirit and principles of the application, which are defined by the claims.
Fig. 1 is a flowchart illustrating a method for simulating the vibration effect of a motor according to an embodiment of the present application, and as shown in fig. 1, the method 100 may begin with step S110, where a driving waveform for simulating the vibration of the motor is provided.
For example, a signal for simulating vibration of the driving motor can be generated at a computer terminal, a digital signal of the driving waveform can be directly subjected to a subsequent simulation step, or can be actually subjected to digital-to-analog conversion after the simulation step and then loaded to two ends of the linear motor for actual measurement so as to verify the simulation accuracy.
In an embodiment, one or more structured waveforms may be selected from a pre-designed structured waveform library, and the one or more structured waveforms are superimposed, thereby obtaining the driving waveform. The structured waveform library may also be referred to as a waveform dataset, which may be stored in a memory, and each structured waveform may be determined by a waveform type, a waveform voltage, a waveform frequency, and the like, where the waveform type may include a sine wave, a square wave, a rounded square wave, and the like, the waveform voltage may be characterized by a peak voltage or an average value, the peak voltage or the average value may be equivalently scaled, and the waveform frequency may be selected to be equal to or close to a resonant frequency f0 of the motor, such that the motor generates a higher vibration level, for example, between 100 Hz and 200 Hz.
In addition, the driving waveform can also have data dimensions such as waveform time length, waveform initial phase, waveform data sampling rate and the like, the waveform time length is the duration of the driving waveform, the waveform time length can be represented by duration (unit ms) or waveform period number, the change curve of motor vibration data in the time domain can be determined through simulation through the parameter, the waveform initial phase can be any value between 0 pi and 2 pi, and the waveform data sampling rate can correspond to the sampling rate in the driving chip.
By structurally characterizing the drive waveform with multiple parameter dimensions, several structured drive waveforms can be pre-designed, each corresponding to a different combination of parameters. Fig. 2 shows a schematic diagram of some structured driving waveforms, as shown in fig. 2, which specifically shows three waveforms (time on the abscissa and voltage on the ordinate), each of which may have the following parameters:
waveform ID Type(s) Duration of time Peak value Phase of Frequency of Sampling frequency
1 Sine wave 2 127 0 119.5 24k
2 Round corner square wave 2 127 0 119.5 24k
3 Fang Bo 2 127 0 119.5 24k
In the above table, the waveform duration is characterized by a number of cycles, the peak value is characterized by a digital quantized value, the waveform frequency, the sampling frequency, is in Hz, it being understood that the parameters in the table are merely examples and not limitations. In actual design of the drive waveforms, one or more waveforms may be selected from these structured drive waveforms for timing stitching or waveform stacking, so that any waveform may be designed as desired.
Returning to fig. 1, after designing the motor driving waveform, the simulation method of the present embodiment may proceed to step 120 to perform component analysis on the driving waveform, and decompose the driving waveform into one or more component driving waveforms.
Because the designed driving waveform may be any waveform, in order to realize the simulation of the vibration effect of the waveform, the embodiment can firstly analyze the component of the waveform to convert the component into the combination of component driving waveforms which can be suitable for the linear motor model, that is, each component driving waveform can be calculated by using a uniform linear motor model.
In one embodiment, the designed drive waveform may be fourier decomposed such that it is decomposed into a linear combination of one or more harmonics, each of which may be considered a component drive waveform, the voltage values and frequencies of which may be determined by the coefficients of the corresponding series and harmonic angular frequencies obtained from the fourier decomposition. As a well-known numerical analysis tool, the present embodiment does not specifically describe the fourier transform process.
Thereafter, step 130 may be performed to calculate vibration data of the motor at each component driving waveform.
The calculation process may be to simulate at least part of the driving waveforms of the respective component driving waveforms obtained by analysis applied to both ends of the motor unit to obtain vibration data, and the vibration data may include at least one of motor vibrator displacement, motor vibrator moving speed, and motor vibrator acceleration, for example. In practical applications, the motor unit is generally fixedly disposed on the tool, and applying a driving waveform to the motor unit to generate vibration will also drive the tool to perform reverse vibration, and in an embodiment, the vibration data may further include acceleration of the tool.
For example, in the case of fourier decomposition of the drive waveform, the linear motor will move in a mode of quasi-simple harmonic vibration under the drive of each component drive waveform, specifically, the vibrator displacement, vibrator moving speed, and vibrator acceleration of the obtained motor can be calculated by the following formulas (1) to (3) in the case of obtaining the motor model parameters:
Figure BDA0003433175340000051
Figure BDA0003433175340000052
Figure BDA0003433175340000053
wherein x (ω) is a vibrator displacement under the component driving waveform, u (ω) is a vibrator moving speed under the component driving waveform, and a (ω) is a motor vibrator acceleration under the component driving waveform; v (V) vc As the peak voltage of the component drive waveform, which can be determined by designing coefficients of the voltage and the corresponding progression of the component drive waveform, ω is the angular frequency of the component drive waveform signal, which is typically a multiple of the fundamental frequency obtained by fourier decomposition; bl is the electromagnetic force coefficient of the motor, R e Is motor resistance, M ms For motor mass, omega 0 For the resonant angular frequency of the motor, Q ts These parameters are motor intrinsic parameters, which can be obtained through modeling calculations, which will be described in detail below, for the motor system Q factor.
In an embodiment, the calculation of this step may be selected for a part of the n component driving waveforms obtained by fourier decomposition, for example, the above-described analog calculation may be performed for only the component driving waveforms corresponding to the first 10 or less decomposition levels obtained by fourier decomposition, so that the calculation amount of the analog simulation may be reduced.
After performing analog computation on each component driving waveform to obtain corresponding vibration data, the simulation method of the present embodiment may proceed to step 140, and synthesize each vibration data obtained by the computation to obtain simulated vibration data of the motor under the driving waveform.
For a linear motor, the mass block of the linear motor generally moves uniaxially under the driving waveform, so that the calculated vibration data can be linearly superimposed to obtain the final simulated vibration data of the motor. The vibration data may include motor vibrator displacement x ms Motor vibrator moving speed u ms Acceleration a of motor vibrator ms . According to the method of the present embodiment, even when there is no actual motor and driving apparatus, the vibration effect of the motor can be simulated and observed after designing the driving waveform.
Fig. 3 shows a schematic diagram of output simulated vibration data provided according to an embodiment of the present application. Wherein, motor model parameters are: motor massQuantity M ms = 0.004768, motor resistance R e 8.1832 motor resonant frequency f0=119.5, mechanical quality factor Q ms = 8.8084, circuit quality factor Q es = 17.8745, motor inductance l= 0.00010763, tooling mass M tool =0.178, drive voltage V vc =1. The three curves respectively represent the displacement, the speed and the data change of the acceleration of the motor vibrator, which are obtained through simulation calculation, in time sequence, and the vibration effect of the driving waveform is observed through simulation, so that a design closed loop is formed, for example, the motor can be subjected to amplitude protection based on the obtained displacement and the vibrator displacement speed, and the vibration effect of the motor can be evaluated based on the simulated motor acceleration data. Only after the expected result is met, the actual driving debugging is performed, so that the debugging time is saved.
In an embodiment, after the vibrator acceleration of the motor is obtained by calculation, the vibration level of the motor tool may also be calculated. For example, tool vibration data of the motor tool under each component driving waveform may be calculated first, and the vibration level of the motor tool may be acceleration at a predetermined position of the tool, which may be calculated by the following formula:
Figure BDA0003433175340000061
wherein a is tool (ω) is the acceleration of the motor tooling at a predetermined position in response to the component drive waveform, M ms For motor mass, a (ω) is motor vibration acceleration under component drive waveform, M tool The equivalent mass of the tool is obtained.
After the tool data driven by each component are obtained, the calculated tool vibration data can be synthesized, so that tool simulation vibration data of the motor tool under the driving waveform is obtained. For example, the calculated vibration data of each tool may be linearly superimposed to obtain the final simulated vibration data of the motor tool.
Alternatively, the vibration level of the motor tool may be calculated by the following formula after the final simulation obtains the vibrator acceleration of the motor:
Figure BDA0003433175340000071
wherein a is tool For motor tooling to respond to acceleration of the drive waveform at a predetermined position, M ms A is the motor mass, a ms For motor vibration acceleration under driving waveform, M tool The equivalent mass of the tool is obtained. Through the calculation mode of the embodiment, the vibration level of the tool can be obtained without additionally arranging the vibration sensor on the tool, and whether the haptic effect accords with the expectation can be estimated based on the vibration level, so that the operation convenience is improved.
Fig. 4 is a flowchart of a method for calculating vibration data of a motor under each component driving waveform according to an embodiment of the present application, and as shown in fig. 4, obtaining motor response data of the motor under the component driving signal may include the following steps:
at step 310, model parameters of the motor are determined.
In one embodiment, to calculate according to the foregoing formulas (1) - (3), the model parameters include at least motor mass, motor resistance, motor resonant angular frequency, and the like, and may further include motor electromagnetic coefficient Bl and/or Q factor.
In an embodiment, the partial model parameters of the motor may be determined based on the response data of the motor to the preset driving signal, for example, the resonant frequency and the angular frequency of the motor may be determined based on the frequency point corresponding to the maximum measured value of the vibration acceleration, and the parameters such as the motor resistance and the inductance may be determined based on the motor calculation model for the voltage and the current.
In an embodiment, the frequency impedance curve of the motor may be obtained based on the voltage and current response data of the motor under the driving signal having a plurality of frequency points, and the motor parameters may be directly calculated based on a motor modeling formula, which will be described later in detail.
At step 320, vibration data of the motor at each component drive waveform is calculated based on a motor vibration model associated with model parameters of the motor.
In the case of knowing the motor model parameters, the response data of the motor to the component driving waveform after the analysis of the arbitrary driving waveform can be obtained through calculation of the motor vibration model (formulas 1 to 3) described above, and will not be described here.
Fig. 5 shows a schematic flow chart of calculating motor model parameters according to an embodiment of the present application. As shown in fig. 5, calculating motor model parameters may be accomplished by:
in step 310, the motor is driven to vibrate using a pre-generated drive signal, the drive signal being associated with more than two frequencies.
Unlike the simulation described above, actual driving of the motor is required in the process of determining the motor model parameters. For example, a digital signal may be generated at the host computer, and the digital signal may be converted into a driving analog signal by digital-to-analog conversion and power amplification, and then the driving analog signal may be applied to both ends of the linear motor, and the applied voltage may be preset. The motor will drive the tool to vibrate together under the drive signal.
In an embodiment, the drive signal is associated with more than two frequencies, i.e. the drive waveform driving the motor has a plurality of frequency bins, e.g. may have more than 10 or more frequency bins, so that a basis for a subsequent acquisition of motor model parameters may be provided. The frequency range of the drive signal may be between 20-6000Hz, the waveform of the drive signal may take the form of a sine wave, a square wave, a rounded square wave, etc., for example, in response to a modeling enable signal, the waveform type may be selected and a waveform or set of waveforms having a plurality of predetermined frequency points may be generated, driving the motor a single time or multiple times. Specifically, the upper computer can transmit waveform data to a data exchange device such as a microcontroller, the data exchange device can buffer part or whole waveform data, the data exchange device can transmit the data to a digital-to-analog conversion device for digital-to-analog conversion and signal amplification processing, and then the amplified driving waveform is provided to the linear motor to drive the motor to vibrate.
Specifically, in an embodiment, more than two frequency points may be selected within a predetermined frequency range, and a driving waveform of a fixed period may be generated for each frequency. For example, the predetermined frequency range may be 20-6000Hz, within which n frequency points are selected, n may be an integer above 10, and driving waveforms having corresponding frequencies are generated, i.e. n driving waveforms are generated, each of which may last for several cycles, e.g. 3-5 cycles. The n driving waveforms may be sent to driving circuits connected to the motor, respectively, which drives the motor n times.
In another embodiment, the start frequency and the end frequency may be selected within a predetermined frequency range, and a continuous driving waveform having two or more frequencies may be generated in preset frequency steps. For example, the predetermined frequency range may be 20-6000Hz, i.e. 20Hz may be selected as the starting frequency and 6000Hz as the ending frequency, and a preset frequency step may be set, which step may be for example 1-20Hz, whereby a set of frequency values may be determined in the preset frequency range. Then, a waveform of several cycles is generated for each frequency bin in the set of frequency values, and waveforms of all frequency bins are connected end to end in time sequence to generate a continuous driving waveform having a plurality of frequency bins. It can be seen that the fabrication of the driving waveforms in this embodiment generates only one driving waveform. The drive waveform may be sent to a motor drive circuit that drives the motor a single time.
Step 320, obtaining response data of the motor under the driving signal.
For example, the response data of the motor, such as an electric signal, a vibration level and the like generated in the vibration process can be collected through the sensors arranged at the two ends of the motor or on the tooling, the corresponding response data is collected for the driving signals of all the frequency points, and in the case that more than two frequency points exist in the driving signals, the collected response data is also related to the more than two frequencies.
In one embodiment, the response data includes voltage data and current data, for example, voltage and current sensors may be provided across the motor so that the voltage across the motor, as well as the current flowing through the motor coils, may be monitored in real time.
In an embodiment, the response data may further include vibration data such as acceleration of the motor, and the vibration of the linear motor drives the tool to perform reverse vibration, so that the vibration acceleration of the motor may be obtained through measurement of a sensor such as a three-axis accelerometer attached to the tool near the motor.
Although described separately above with respect to steps 310 and 320, it is understood that driving the motor to vibrate and collecting response data of the vibration may be performed simultaneously, i.e., response data of the driving waveform at corresponding frequency points may be collected simultaneously during vibration of the motor. The collected data such as voltage, current and acceleration can be transmitted to an upper computer for smoothing and the like to obtain response data so as to calculate the subsequent motor model parameters.
And 330, determining the parameters of the motor according to the response data.
In one embodiment, as shown in FIG. 5, the parameters of the motor may be determined by:
and step 331, calculating the impedance value of the motor at each frequency point according to the response data.
In one embodiment, when the motor is sequentially driven to vibrate by n driving waveforms, the upper computer can calculate the impedance Z at the kth frequency point based on the voltage and current data acquired by the motor vibrating under the driving waveforms for the kth (1-n) waveform data, for example
Figure BDA0003433175340000091
Wherein->
Figure BDA0003433175340000092
Voltage and current data, respectively. And, the frequency impedance curve of the motor in the set frequency range can be obtained by obtaining the corresponding impedance value of each of the n frequency points and correlating the calculated impedance value with the corresponding frequency value.
In another embodiment, when the motor is driven to vibrate by a single continuous driving waveform, the upper computer can collect the sum of voltages acquired by the motor vibrating under the driving waveformThe current data calculating the impedance Z at each frequency point, e.g
Figure BDA0003433175340000093
Wherein->
Figure BDA0003433175340000094
Voltage and current data, respectively. After the driving waveform of the driving motor for vibration is played, a continuous curve of the impedance value in the time domain can be calculated and obtained, and then a frequency impedance curve of the motor in a set frequency range can be obtained through operations such as DFT.
Step 332, calculating model parameters of the motor by using the motor impedance model based on the obtained frequency impedance curve.
In one embodiment, the model Ma Damo parameters can be calculated by numerical fitting using the obtained frequency impedance curves, and the modeling parameters include: motor resistor R e Angular frequency omega, motor inductance L e Electromagnetic force coefficient Bl of motor and damping coefficient R ms Motor mass M ms Instantaneous motor force C ms The motor impedance model may have the following expression:
Figure BDA0003433175340000101
wherein Z in the above formula vc For impedance, the angular frequency ω=2pi f, f is the frequency of the drive waveform.
Motor mass M in the above model ms The overall mass of the motor, which can be obtained by weighing, can be used to reduce the amount of fitting calculations. Alternatively, motor mass M ms The mass of the motor vibrator can also be obtained through the model fitting calculation.
In numerical fitting using the above model, constraints can be added, in the above formula
Figure BDA0003433175340000102
Equal to 0, where ω will be the motor resonant angular frequency ω 0 =2pi.f0 (f 0 is the motor resonant frequency), i.e. M is calculated by fitting ms 、C ms Can obtain the resonant angle frequency omega of the motor on the basis of the frequency omega 0
Figure BDA0003433175340000103
In addition, the Q factor and the elastic stiffness coefficient K of the motor can also be calculated based on the following formula:
Figure BDA0003433175340000104
Figure BDA0003433175340000105
wherein Q is es 、Q ms Respectively representing the circuit quality factor and the mechanical quality factor of the motor, based on Q es 、Q ms The motor system Q factor Q can be calculated by ts
Figure BDA0003433175340000106
It can be seen that the present embodiment can directly calculate and obtain the electromagnetic force coefficient Bl and the resonant angular frequency omega of the motor based on the measured frequency impedance curve 0 Motor mass M ms Motor resistance R e Inductance L of motor e System Q factor Q ts And (3) directly simulating and calculating the vibrator displacement, speed and acceleration of the motor under the drive waveform signals of arbitrary design based on the obtained motor parameters according to the formulas (1) - (3), and further obtaining the acceleration evaluation value of the motor tool for the arbitrary drive waveform based on the formulas (4) - (5). After the vibration data is calculated, the relevant simulated vibration data can be displayed, for example, the information display tool of the upper computer is utilized in the form of the data graph of fig. 3And displaying.
According to the embodiment of the application, the vibration effect can be observed through simulation after the waveform is designed, and the actual driving debugging is performed after the result of the pre-period is obtained, so that the waveform design flow can be simplified, and the debugging time is saved.
The embodiment of the invention also provides a simulation device for the motor vibration effect. As shown in fig. 6, the simulation apparatus 400 of the motor vibration effect according to the embodiment of the present application may include: a providing unit 410 for providing a driving waveform for performing a simulated vibration of the motor; an analysis unit 420 for performing component analysis on the driving waveform, and decomposing the driving waveform into one or more component driving waveforms; a calculation unit 430 for calculating vibration data of the motor at the respective component driving waveforms; and a synthesizing unit 440 for synthesizing the calculated respective vibration data to obtain simulated vibration data of the motor under the driving waveform. The above units or modules may be integrated in a host computer, such as a processor with data processing capability, and the host computer may further include other functional modules such as digital-to-analog conversion.
In an embodiment, the simulation device 400 may also include a display unit 450 for presenting the simulated vibration data.
In an embodiment, the providing unit 410 is configured to provide a driving waveform for simulating vibration of the motor in the following manner: selecting one or more structured waveforms from a preset structured waveform library, wherein each structured waveform is at least determined by a waveform type, a waveform voltage and a waveform frequency; and superposing the one or more structured waveforms to obtain the driving waveform.
In one embodiment, the calculating unit 430 is configured to calculate vibration data of the motor under each component driving waveform as follows: obtaining model parameters of the motor; vibration data of the motor under each component drive waveform is calculated based on a motor vibration model associated with model parameters of the motor.
In an embodiment, the computing unit 430 may receive model parameters of the motor; alternatively, the computing unit 430 may be configured to determine model parameters of the motor in the following manner including: driving the motor to vibrate using a pre-generated drive signal, the drive signal being associated with more than two frequencies; acquiring response data of the motor under the driving signal; and determining model parameters of the motor according to the response data.
In an embodiment, the vibration data includes at least one of motor vibrator displacement, motor vibrator moving speed, motor vibrator acceleration.
In an embodiment, the calculating unit may be further configured to calculate vibration data of the motor fixture, which may be performed in the following manner: calculating tool vibration data of the motor tool under each component driving waveform; and synthesizing the calculated tool vibration data to obtain tool simulation vibration data of the motor tool under the driving waveform.
The specific functions and operations of the respective units and modules in the above-described simulation apparatus 400 have been described in detail in the evaluation methods described above with reference to fig. 1 to 5, and thus are only briefly described herein, and unnecessary repetitive descriptions are omitted.
Also provided herein is a computer-readable storage medium having stored thereon a simulation program of motor vibration effects, which when executed by a processor performs the steps of the simulation method of motor vibration effects as described above, and the simulation calculation method, which may be described with reference to fig. 1-5, is specifically implemented and will not be described in detail herein.
Embodiments herein may also be an electronic device including a memory, a processor, and instructions stored on the memory and executable on the processor, wherein the instructions, when executed by the processor, cause the processor to perform steps of a method of simulating a motor vibration effect as described above, and a specific implementation may refer to the method of simulating calculation described in fig. 1-5, which is not repeated herein.
Fig. 7 illustrates a block diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 500 includes a processor 510 and a memory 520.
The processor 510 may be a Central Processing Unit (CPU), microprocessor, or other form of processing chip having data processing and/or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
Memory 520 may be an internal storage unit of an electronic device, such as non-volatile and/or volatile memory, and the like. Memory 620 may have various types of data, such as motor model parameters, stored thereon, and may comprise one or more computer program products, which may comprise various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 610 to perform the above-described simulation of the vibration effect of the motor under a pre-designed drive waveform and/or other desired functions.
In one example, the electronic device 600 may further include: input device 630 and output device 640, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown). For example, the input device 630 may be a camera, an antenna, or a microphone apparatus. In addition, the input device 630 may also include, for example, a keyboard, a mouse, and the like. The output device 640 can output various information to the outside. The output device 640 may include, for example, a display, speakers, and a communication network and remote output device connected thereto, among others.
Of course, only some of the components of the electronic device 500 that are relevant to the present application are shown in fig. 7 for simplicity, components such as buses, input/output interfaces, and the like being omitted. In addition, the electronic device 500 may include any other suitable components depending on the particular application.
The basic principles of the present application have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present application. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, as the application is not intended to be limited to the specific details disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the application to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (10)

1. A simulation method of motor vibration effect comprises the following steps:
providing a driving waveform for performing simulated vibration on the motor;
performing component analysis on the driving waveform, and decomposing the driving waveform into one or more component driving waveforms;
calculating vibration data of the motor under each component driving waveform;
and synthesizing the calculated vibration data to obtain simulation vibration data of the motor under the driving waveform.
2. The simulation method of claim 1, wherein providing a drive waveform for simulating vibration of a motor comprises:
selecting one or more structured waveforms from a preset structured waveform library, wherein each structured waveform is at least determined by a waveform type, a waveform voltage and a waveform frequency;
and superposing the one or more structured waveforms to obtain the driving waveform.
3. The simulation method of claim 1, wherein calculating vibration data of the motor at each component drive waveform comprises:
obtaining model parameters of the motor;
vibration data of the motor under each component drive waveform is calculated based on a motor vibration model associated with model parameters of the motor.
4. A simulation method according to claim 3, wherein determining model parameters of the motor comprises:
driving the motor to vibrate using a pre-generated drive signal, the drive signal being associated with more than two frequencies;
acquiring response data of the motor under the driving signal; and
and determining the model parameters of the motor according to the response data.
5. The simulation method of claim 1, wherein the vibration data includes at least one of motor vibrator displacement, motor vibrator movement speed, motor vibrator acceleration.
6. The simulation method of claim 1, further comprising:
calculating tool vibration data of the motor tool under each component driving waveform;
and synthesizing the calculated tool vibration data to obtain tool simulation vibration data of the motor tool under the driving waveform.
7. A motor vibration effect simulation apparatus, comprising:
a providing unit for providing a driving waveform for performing simulated vibration on the motor;
an analysis unit for performing component analysis on the driving waveform, and decomposing the driving waveform into one or more component driving waveforms;
a calculation unit for calculating vibration data of the motor under the respective component driving waveforms; and
and the synthesis unit is used for synthesizing the calculated vibration data to obtain simulated vibration data of the motor under the driving waveform.
8. The simulation apparatus of claim 7, further comprising:
and the display unit is used for displaying the simulated vibration data.
9. An electronic device comprising a memory, a processor, and instructions stored on the memory and executable on the processor, which when executed by the processor, cause the processor to perform the simulation method of any of claims 1-6.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the simulation method of any of claims 1 to 6.
CN202111601374.5A 2021-12-24 2021-12-24 Simulation method and device for motor vibration effect Pending CN116384031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111601374.5A CN116384031A (en) 2021-12-24 2021-12-24 Simulation method and device for motor vibration effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111601374.5A CN116384031A (en) 2021-12-24 2021-12-24 Simulation method and device for motor vibration effect

Publications (1)

Publication Number Publication Date
CN116384031A true CN116384031A (en) 2023-07-04

Family

ID=86963819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111601374.5A Pending CN116384031A (en) 2021-12-24 2021-12-24 Simulation method and device for motor vibration effect

Country Status (1)

Country Link
CN (1) CN116384031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117439487A (en) * 2023-12-21 2024-01-23 荣耀终端有限公司 Electronic equipment, resonance frequency detection method and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117439487A (en) * 2023-12-21 2024-01-23 荣耀终端有限公司 Electronic equipment, resonance frequency detection method and storage medium

Similar Documents

Publication Publication Date Title
CN106326594B (en) Method and circuit for obtaining output quantity of linear resonant actuator
Rewienski et al. A trajectory piecewise-linear approach to model order reduction and fast simulation of nonlinear circuits and micromachined devices
CN101576432A (en) Method for generating jolting table shock response
CN110907827B (en) Motor transient distortion measuring method and system
CN111352509A (en) Vibration control method, storage medium and equipment
CN116384031A (en) Simulation method and device for motor vibration effect
EP1440395A2 (en) Method and apparatus for analysing and modeling of analog systems
CN113468835A (en) Electromagnetic interference prediction software for BUCK chopper
CN112487679A (en) Method, system, terminal and medium for simulating acoustic characteristics of sound box by numerical values
CN111211726B (en) System for generating motor drive signals
Farajvand et al. Representative linearised models for a wave energy converter using various levels of force excitation
CN101609480B (en) Inter-node phase relation identification method of electric system based on wide area measurement noise signal
CN116155143A (en) Method and device for acquiring motor parameters
CN112667077A (en) Motor model parameter detection method and device, electronic equipment and medium
Terespolsky An approximation to the heidler function with an analytical integral for engineering applications using lightning currents
CN116341169A (en) Design method and device for motor driving waveform
CN116341171A (en) Evaluation method and system for motor tool vibration
Li et al. Behavioral modeling for analog system-level simulation by wavelet collocation method
CN112433635B (en) Method and device for testing linear parameters of vehicle-mounted touch device
Polyuschenkov Identification Method of Mathematical Model for Linear Dynamic System
Bousquet et al. System-level modeling of electromechanical devices with energy consumption
Muller et al. Analyzing and simulation of MEMS in VHDL-AMS based on reduced order FE-models
Luo et al. Multi-resolution modeling of power converter using waveform reconstruction
CN114048643A (en) Virtual vibration system modeling method based on composite control and related equipment
Sanchez-Villegas et al. On the evaluation of free-decay and impulse-response modal testing techniques

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination