Method and apparatus for simulating vibration effect of motor
Through the simulation method of motor vibration effects, simulation observation and data calculation are first carried out to form a design closed loop, and then actual drive debugging is carried out, which solves the problem of low operating efficiency in the existing technology and achieves rapid design and efficient vibration state simulation.
Patent Information
- Application Number
- PCT/CN2023/082977
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-26
AI Technical Summary
In the prior art, when the motor vibration effect is achieved by adjusting the drive signal by actually driving the motor, the operating efficiency is low, and it is difficult to find a drive waveform that meets the expected vibration effect.
Using the simulation method of motor vibration effect, through simulation observation of the designed waveform, the simulation vibration data is calculated first to form a closed loop of the design, and then the actual drive debugging is carried out, which saves debugging time and improves the vibration state simulation by obtaining accurate motor model parameters. reliability.
Through the simulation method, the driving waveform that meets the expected effect can be quickly designed, which improves the operating efficiency and the reliability of vibration state simulation, and simplifies the waveform design process.
Smart Images

Figure CN2023082977_26092024_PF_FP
Abstract
Description
A method and device for simulating motor vibration effect Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a method and device for simulating motor vibration effects. Background Art
[0002] With the development and popularization of various electronic devices such as smartphones and wearable devices, people's demand for tactile experience is also becoming increasingly rich. Currently, tactile feedback technology is generally achieved through motor vibration. A specific driving waveform is used to stimulate the vibration motor inside the device. The vibration of the vibrator inside the motor is felt by people, thus producing a tactile effect.
[0003] Conventional technology typically adjusts the drive signal by actually driving the motor to achieve the desired vibration effect. For example, if the actual motor / equipment response doesn't meet the desired requirements, the drive signal is modified or parameters are adjusted and the drive is repeated until the desired haptic effect is achieved. However, this approach is inefficient, and it is difficult to find a drive waveform that achieves the desired vibration effect.
[0004] Summary of the Invention
[0005] The present application is proposed to solve the above-mentioned technical problems in the prior art. The embodiments of the present application provide a method and device for simulating motor vibration effects, which can simulate and observe the designed waveform first, and then perform actual drive debugging after obtaining the expected results, thereby saving debugging time.
[0006] According to one aspect of the present application, a method for simulating the vibration effect of a motor is provided, the simulation method comprising: providing a driving waveform for simulating the vibration of the motor; performing component analysis on the driving waveform to decompose the driving waveform into one or more component driving waveforms; calculating the vibration data of the motor under each component driving waveform; and synthesizing the calculated vibration data to obtain the simulated vibration data of the motor under the driving waveform.
[0007] In some embodiments, providing a driving waveform for simulating vibration of a motor includes: selecting one or more structured waveforms from a pre-designed structured waveform library, each structured waveform being determined by at least a waveform type, a waveform voltage, and a waveform frequency; and superimposing the one or more structured waveforms to obtain the driving waveform.
[0008] In some embodiments, calculating the vibration data of the motor under each component driving waveform includes: obtaining the model parameters of the motor; and calculating the vibration data of the motor under each component driving waveform based on the motor vibration model, wherein the motor vibration model is associated with the model parameters of the motor.
[0009] In some embodiments, determining the model parameters of the motor includes: using a pre-generated drive signal to drive the motor to vibrate, wherein the drive signal is associated with two or more frequencies; obtaining response data of the motor under the drive signal; and determining the model parameters of the motor based on the response data.
[0010] In some embodiments, the vibration data includes at least one of a motor vibrator displacement, a motor vibrator movement speed, and a motor vibrator acceleration.
[0011] In some embodiments, the method may further include: calculating tooling vibration data of the motor tooling under each component driving waveform; synthesizing the calculated tooling vibration data to obtain tooling simulation vibration data of the tooling under the driving waveform.
[0012] Another aspect of the present application provides a simulation device for the vibration effect of a motor, comprising: a providing unit for providing a driving waveform for simulating the vibration of the motor; an analyzing unit for performing component analysis on the driving waveform and decomposing the driving waveform into one or more component driving waveforms; a calculating unit for calculating the vibration data of the motor under each component driving waveform; and a synthesizing unit for synthesizing the calculated vibration data to obtain the simulated vibration data of the motor under the driving waveform.
[0013] In some embodiments, the simulation device further includes: a display unit, which is used to display the simulated vibration data.
[0014] Another aspect of the present application provides an electronic device, which includes a memory, a processor, and instructions stored in the memory and executable on the processor, wherein when the instructions are executed by the processor, the processor executes the simulation method described above.
[0015] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor is enabled to perform each step in the above-mentioned simulation method.
[0016] Compared to existing technologies, the motor vibration effect simulation method and device of the present invention allows for waveform design and observation of vibration effects through simulation, thus forming a closed-loop design process. This eliminates the need for actual driving for each designed waveform, saving debugging time. Furthermore, by obtaining highly accurate motor model parameters, the reliability of vibration state simulation data can be improved, facilitating the rapid design of drive waveforms that meet the desired effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other purposes, features, and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0018] FIG1 is a flow chart showing a method for simulating motor vibration effects according to an embodiment of the present application;
[0019] FIG2 is a schematic diagram showing a structured driving waveform provided according to an embodiment of the present application;
[0020] FIG3 is a schematic diagram showing output simulation vibration data according to an embodiment of the present application;
[0021] FIG4 is a flow chart showing a method for calculating vibration data of a motor under various component drive waveforms according to an embodiment of the present application;
[0022] FIG5 is a schematic diagram showing a flow chart of calculating motor parameters according to an embodiment of the present application;
[0023] FIG6 shows a structural block diagram of a device for simulating motor vibration effects according to an embodiment of the present application;
[0024] FIG7 shows a structural block diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] Below, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments of the present application. At the same time, it is not necessary to achieve all of the above advantages at the same time when implementing any example of the embodiments of the present application. It should be understood that the present application should not be limited to the specific details of these example embodiments. Instead, the embodiments of the present application can be implemented without these specific details or using other alternatives without departing from the ideas and principles of the present application defined in the claims.
[0026] FIG1 shows a flow chart of a method for simulating motor vibration effects according to an embodiment of the present application. As shown in FIG1 , the method 100 may begin at step S110 , providing a driving waveform for simulating vibration of a motor.
[0027] For example, a signal for driving a motor to simulate vibration can be generated on a computer terminal. The digital signal of the driving waveform can be used directly for subsequent simulation steps, or it can be loaded onto both ends of the linear motor for actual measurement after digital-to-analog conversion to verify the accuracy of the simulation.
[0028] In one embodiment, one or more structured waveforms can be selected from a pre-designed structured waveform library and superimposed to obtain the driving waveform. The structured waveform library, also referred to as a waveform dataset, can be stored in a memory. Each structured waveform can be defined by data dimensions such as waveform type, waveform voltage, and waveform frequency. Waveform types can include sine waves, square waves, and rounded square waves. Waveform voltage can be characterized by peak voltage or mean value, both of which can be equivalently converted. The waveform frequency can be selected to be equal to or close to the motor's resonant frequency f0, thereby generating a high vibration level in the motor, for example, between 100 and 200 Hz.
[0029] In addition, the driving waveform may also have data dimensions such as waveform time length, waveform starting phase, and waveform data sampling rate. The waveform time length is the duration of the driving waveform. The waveform time length can be characterized by the duration (unit: ms) or the number of waveform cycles. Through this parameter, the change curve of the motor vibration data in the time domain can be simulated and determined. The waveform starting phase can be any value between 0-2π, and the waveform data sampling rate can correspond to the sampling rate in the driver chip.
[0030] By using multiple parameter dimensions to perform structured characterization on the driving waveform, several structured driving waveforms can be pre-designed, each corresponding to a different parameter combination. Figure 2 shows a schematic diagram of some structured driving waveforms. As shown in Figure 2, it specifically shows three waveforms (the horizontal axis is time and the vertical axis is voltage). Each waveform can have the following parameters:
[0031] In the table above, waveform duration is expressed in cycles, peak values are expressed in digital quantized values, and waveform frequency and sampling frequency are expressed in Hz. It should be understood that these parameters are examples only and are not limiting. When designing a drive waveform, one or more waveforms can be selected from these structured drive waveforms for timing splicing or waveform superposition, allowing for the design of arbitrary waveforms based on requirements.
[0032] Returning to FIG. 1 , after the motor driving waveform is designed, the simulation method of this embodiment may proceed to step 120 , performing component analysis on the driving waveform to decompose the driving waveform into one or more component driving waveforms.
[0033] Since the designed driving waveform may be an arbitrary waveform, in order to simulate the vibration effect of the waveform, this embodiment can first perform component analysis to convert it into a combination of component driving waveforms that can be applied to the linear motor model. That is, each component driving waveform can be calculated and processed using a unified linear motor model.
[0034] In one embodiment, the designed driving waveform can be subjected to Fourier decomposition, thereby decomposing the driving waveform into a linear combination of one or more harmonics. Each harmonic can be considered a component driving waveform, and its voltage value and frequency can be determined by the coefficients of the corresponding series obtained by Fourier decomposition and the harmonic angular frequency. As a well-known numerical analysis tool, the Fourier transform process is not described in detail in this embodiment.
[0035] Afterwards, step 130 may be performed to calculate vibration data of the motor under each component driving waveform.
[0036] The computational processing may involve simulating the application of at least a portion of the analytically obtained component drive waveforms to both ends of the motor unit to obtain vibration data. For example, the vibration data may include at least one of the motor vibrator displacement, motor vibrator movement speed, and motor vibrator acceleration. In actual applications, the motor unit is typically fixed to a tooling. Applying a drive waveform to the motor unit to generate vibration will also cause the tooling to vibrate in the opposite direction. In one embodiment, the vibration data may also include the acceleration of the tooling.
[0037] For example, when the driving waveform is Fourier decomposed, the linear motor will move in a quasi-simple harmonic vibration mode under the drive of each component driving waveform. Specifically, when the motor model parameters are obtained, the motor's vibrator displacement, vibrator movement speed, and vibrator acceleration can be calculated using the following formulas (1)-(3):
[0038] Where x(ω) is the displacement of the vibrator under the component drive waveform, u(ω) is the moving speed of the vibrator under the component drive waveform, and a(ω) is the acceleration of the motor vibrator under the component drive waveform; V vc is the peak voltage of the component drive waveform, which can be determined by designing the coefficients of the corresponding series of voltage and component drive waveform, ω is the angular frequency of the component drive waveform signal, which is generally a multiple of the fundamental frequency obtained by Fourier decomposition; Bl is the motor electromagnetic force coefficient, R e is the motor resistance, M ms is the motor mass, ω0 is the motor's resonant angular frequency, Q ts is the Q factor of the motor system. These parameters are inherent parameters of the motor and can be obtained through modeling calculation, which will be described in detail below.
[0039] In one embodiment, the calculation in this step may be performed on some of the n component driving waveforms obtained by Fourier decomposition. For example, the above simulation calculation may be performed only on the component driving waveforms corresponding to the decomposition levels below the first 10 terms obtained by Fourier decomposition, thereby reducing the amount of simulation calculation.
[0040] After simulating and calculating each component driving waveform to obtain corresponding vibration data, the simulation method of this embodiment may proceed to step 140 to synthesize the calculated vibration data to obtain simulated vibration data of the motor under the driving waveform.
[0041] For a linear motor, its mass generally moves in a single axis under the driving waveform, so the calculated vibration data can be linearly superimposed to obtain the final simulated vibration data of the motor. The vibration data may include the motor vibrator displacement x ms 、Motor vibrator moving speed u ms , motor oscillator acceleration a ms According to the method of this embodiment, even when there is no actual motor and driving device, the vibration effect of the motor can be simulated and observed after the driving waveform is designed.
[0042] FIG3 is a schematic diagram showing output simulation vibration data according to an embodiment of the present application. The motor model parameters are: motor mass 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, driving voltage V vc = 1. The three curves represent the time-series data changes of the motor vibrator's displacement, velocity, and acceleration, respectively, obtained through simulation. By observing the vibration effects of the drive waveform through simulation, a closed-loop design is formed. For example, based on the obtained motor vibrator displacement and displacement velocity, amplitude protection can be implemented for the motor, and the simulated motor acceleration data can be used to evaluate the motor's vibration effects. Actual drive debugging is only carried out after the expected results are met, thus saving debugging time.
[0043] In one embodiment, after calculating the motor vibrator acceleration, the vibration level of the motor fixture can also be calculated. For example, the vibration data of the motor fixture under each component drive waveform can be calculated first. The vibration level of the motor fixture can be the acceleration at a predetermined position on the fixture, which can be calculated using the following formula:
[0044] Among them, a tool (ω) is the acceleration of the motor fixture at a predetermined position in response to the component drive waveform, M ms is the motor mass, a(ω) is the motor vibration acceleration under the component drive waveform, Mtool is the equivalent mass of the tooling.
[0045] After obtaining the fixture data for each component drive, the calculated fixture vibration data can be synthesized to obtain simulated fixture vibration data for the motor fixture under the specified drive waveform. For example, the calculated fixture vibration data can be linearly superimposed to obtain the final simulated vibration data for the motor fixture.
[0046] Alternatively, after the motor vibrator acceleration is obtained in the final simulation, the vibration level of the motor fixture can be calculated using the following formula:
[0047] Among them, a tool M is the acceleration of the motor fixture at a predetermined position in response to the driving waveform. ms is the motor mass, a ms is the motor vibration acceleration under the driving waveform, M tool By using the calculation method of this embodiment, the vibration level of the tooling can be obtained without installing a vibration sensor on the tooling, and whether the tactile effect meets expectations can be evaluated based on the vibration level, thereby improving operational convenience.
[0048] FIG4 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. As shown in FIG4 , obtaining motor response data under the component drive signals may include the following steps:
[0049] Step 310: Determine the model parameters of the motor.
[0050] In one embodiment, in order to perform calculations according to the above equations (1)-(3), the model parameters include at least the motor mass, the motor resistance, and the motor resonant angular frequency, and may also include the motor electromagnetic force coefficient Bl and / or Q factor.
[0051] In one embodiment, some model parameters of the motor can be determined based on the response data of the motor to a preset drive signal. For example, the resonant frequency and angular frequency of the motor can be determined based on the frequency point corresponding to the maximum measured value of the vibration acceleration. At the same time, parameters such as the motor resistance and inductance can be determined based on the motor calculation model of voltage and current.
[0052] In one embodiment, the frequency impedance curve of the motor can be obtained based on the voltage and current response data of the motor under a driving signal with multiple frequency points, and then the motor parameters can be directly calculated based on the motor modeling formula, which will be described in detail later.
[0053] Step 320 : Calculate vibration data of the motor under each component driving waveform based on a motor vibration model, wherein the motor vibration model is associated with model parameters of the motor.
[0054] When the motor model parameters are known, the response data of the motor's component drive waveform after analysis of any drive waveform can be calculated using the motor vibration model described above (Formulas 1-3), which will not be repeated here.
[0055] FIG5 is a flow chart showing a method for calculating motor model parameters according to an embodiment of the present invention. As shown in FIG5 , the calculation of motor model parameters can be achieved by the following steps:
[0056] In step 310 , a pre-generated driving signal is used to drive a motor to vibrate, where the driving signal is associated with two or more frequencies.
[0057] Unlike the aforementioned simulation, determining the motor model parameters requires actually driving the motor. For example, a digital signal can be generated on the host computer. After digital-to-analog conversion and power amplification, this digital signal becomes an analog driving signal, which is then applied to both ends of the linear motor. The applied voltage can be preset. Under the driving signal, the motor will vibrate along with the tooling.
[0058] In one embodiment, the driving signal is associated with more than two frequencies, that is, the driving waveform for driving the motor has multiple frequency points, for example, more than 10 or more frequency points, thereby providing a basis for the subsequent acquisition of motor model parameters. The frequency range of the driving signal can be between 20-6000 Hz, and the waveform of the driving signal can be a sine wave, a square wave, a rounded square wave, etc. For example, in response to the modeling enable signal, the waveform type can be selected and a waveform or a waveform group with multiple predetermined frequency points can be generated to drive the motor once or multiple times. Specifically, the host computer can transmit the waveform data to a data exchange device such as a microcontroller. The data exchange device can cache part or all of the waveform data, and then send it to a digital-to-analog conversion device for digital-to-analog conversion and signal amplification processing, and then provide the amplified driving waveform to the linear motor to drive the motor to vibrate.
[0059] Specifically, in one embodiment, two or more frequency points can be selected within a predetermined frequency range, and a fixed-period drive waveform can be generated for each frequency. For example, the predetermined frequency range can be 20-6000 Hz. Within this range, n frequency points are selected, where n can be an integer greater than 10, and drive waveforms having corresponding frequencies are generated. In other words, n drive waveforms are generated, each of which can last for a number of periods, for example, 3-5 periods. These n drive waveforms can be sent to a drive circuit connected to the motor, which then drives the motor n times.
[0060] In another embodiment, a starting frequency and an ending frequency can be selected within a predetermined frequency range, and a continuous drive waveform having more than two frequencies can be generated with a preset frequency step. For example, the predetermined frequency range can be 20-6000 Hz, that is, 20 Hz can be selected as the starting frequency and 6000 Hz as the ending frequency, and a preset frequency step can be set, which can be, for example, 1-20 Hz, so that a set of frequency values can be determined within the preset frequency range. Then, a waveform of several cycles is generated for each frequency point in the set of frequency values, and the waveforms of all frequency points are connected end to end in time sequence to generate a continuous drive waveform having multiple frequency points. It can be seen that in this embodiment, only one drive waveform is generated when making a drive waveform. The drive waveform can be sent to the motor drive circuit, and the drive circuit drives the motor once.
[0061] Step 320: Acquire response data of the motor under the driving signal.
[0062] For example, sensors installed at both ends of the motor or on the tooling can be used to collect response data such as electrical signals and vibration levels generated by the motor during vibration, and corresponding response data can be collected for the driving signal at each frequency point. When there are more than two frequency points in the driving signal, the collected response data will also be associated with the more than two frequencies.
[0063] In one embodiment, the response data includes voltage data and current data. For example, voltage and current sensors may be provided at both ends of the motor so that the voltage across the motor and the current flowing through the motor coils may be monitored in real time.
[0064] In one embodiment, the response data may also include vibration data such as the acceleration of the motor. The vibration of the linear motor will drive the tooling to vibrate in the opposite direction. Therefore, the vibration acceleration of the motor can be measured by a sensor such as a three-axis accelerometer placed close to the tooling near the motor position.
[0065] Although steps 310 and 320 are described separately above, it is understood that driving the motor to vibrate and collecting vibration response data can be performed simultaneously. Specifically, response data for the drive waveform at corresponding frequency points can be collected while the motor is vibrating. The collected data, such as voltage, current, and acceleration, can be transmitted to a host computer for smoothing and other processing to obtain response data for subsequent calculation of motor model parameters.
[0066] Step 330: Determine the parameters of the motor according to the response data.
[0067] In one embodiment, as shown in FIG5 , the motor parameters may be determined by the following steps:
[0068] Step 331 : Calculate the impedance value of the motor at each frequency point based on the response data.
[0069] In one embodiment, when the motor is driven to vibrate sequentially using n driving waveforms, the host computer can calculate the impedance value Z at the kth frequency point based on the voltage and current data collected when the motor vibrates under the driving waveform for the kth (1-n)th waveform data, for example in Furthermore, after obtaining the corresponding impedance value at each of the n frequency points, the calculated impedance value and the corresponding frequency value are correlated to obtain the frequency impedance curve of the motor within the set frequency range.
[0070] In another embodiment, when a single continuous driving waveform is used to drive the motor to vibrate, the host computer can calculate the impedance value Z at each frequency point based on the voltage and current data collected when the motor vibrates under the driving waveform, for example in After the drive waveform that drives the motor to vibrate is played, a continuous impedance curve in the time domain can be calculated. Then, through operations such as DFT, the frequency impedance curve of the motor within the set frequency range can be obtained.
[0071] In step 332 , the motor model parameters are calculated using the motor impedance model based on the obtained frequency impedance curve.
[0072] In one embodiment, the obtained frequency impedance curve can be used to perform numerical fitting to calculate the motor model parameters, and the modeling parameters include: motor resistance R e , angular frequency ω, motor inductance L e , motor electromagnetic force coefficient Bl, damping coefficient R ms , motor mass M ms 、Motor force instant C ms , the motor impedance model can be expressed as follows:
[0073] Among them, Z in the above formula vc is the impedance, angular frequency ω=2πf, and f is the frequency of the driving waveform.
[0074] The motor mass M in the above model ms It can be the overall mass of the motor, which can be obtained by weighing, thereby reducing the amount of fitting calculations. Alternatively, the motor mass M ms It can also be the mass of the motor oscillator, which can be obtained through the above model fitting calculation.
[0075] When using the above model for numerical fitting, constraints can be added. When ω is equal to 0, the motor resonant angular frequency ω0 = 2πf0 (f0 is the motor resonant frequency), that is, when M is calculated by fitting ms 、C ms Based on this, the resonant angular frequency ω0 of the motor can be obtained:
[0076] In addition, the motor's Q factor and spring constant K can be calculated based on the following formula:
[0077] Among them, Q es , Q ms Represent the circuit quality factor and mechanical quality factor of the motor respectively, based on Q es , Q ms The motor system Q factor Q can be calculated by the following formula ts :
[0078] It can be seen that this embodiment can directly calculate the motor electromagnetic force coefficient Bl, resonant angular frequency ω0, motor mass M based on the measured frequency impedance curve. ms , motor resistance R e , motor inductance L e , system Q factor Q ts Based on the motor parameters obtained, the displacement, velocity, and acceleration of the motor under any designed drive waveform signal can be directly simulated and calculated based on the formulas (1)-(3) described above. Then, based on the formulas (4)-(5), the acceleration evaluation value of the motor tooling for the arbitrary drive waveform can be obtained. After calculating the above vibration data, the relevant simulated vibration data can be displayed, for example, in the form of a data curve chart in Figure 3 using the information display tool of the host computer.
[0079] The embodiments of the present application can observe the vibration effect through simulation after designing the waveform, and then perform actual drive debugging after obtaining the expected results, thereby simplifying the waveform design process and saving debugging time.
[0080] An embodiment of the present invention also provides a device for simulating motor vibration effects. As shown in FIG6 , the device 400 for simulating motor vibration effects according to an embodiment of the present application may include: a providing unit 410 for providing a driving waveform for simulating vibration of the motor; an analyzing unit 420 for performing component analysis on the driving waveform and decomposing the driving waveform into one or more component driving waveforms; a calculating unit 430 for calculating the vibration data of the motor under each component driving waveform; and a synthesizing unit 440 for synthesizing the calculated vibration data to obtain the simulated vibration data of the motor under the driving waveform. The above-mentioned units or modules can be integrated into a host computer, such as a processor with data processing capabilities. The host computer may also include other functional modules such as digital-to-analog conversion.
[0081] In one embodiment, the simulation device 400 may further include a display unit 450 for displaying the simulated vibration data.
[0082] In one embodiment, the providing unit 410 is configured to provide a driving waveform for simulating vibration of a motor in the following manner: selecting one or more structured waveforms from a pre-designed structured waveform library, each structured waveform being determined by at least a waveform type, a waveform voltage, and a waveform frequency; and superimposing the one or more structured waveforms to obtain the driving waveform.
[0083] In one embodiment, the calculation unit 430 is configured to calculate the vibration data of the motor under each component driving waveform in the following manner: obtaining the model parameters of the motor; and calculating the vibration data of the motor under each component driving waveform based on the motor vibration model, wherein the motor vibration model is associated with the model parameters of the motor.
[0084] In one embodiment, the calculation unit 430 may receive the model parameters of the motor; alternatively, the calculation unit 430 may be configured to determine the model parameters of the motor in the following manner: using a pre-generated drive signal to drive the motor to vibrate, wherein the drive signal is associated with two or more frequencies; obtaining response data of the motor under the drive signal; and determining the model parameters of the motor based on the response data.
[0085] In one embodiment, the vibration data includes at least one of a motor vibrator displacement, a motor vibrator movement speed, and a motor vibrator acceleration.
[0086] In one embodiment, the calculation unit can also be configured to calculate the vibration data of the motor tooling, which can be performed in the following manner: calculating the tooling vibration data of the motor tooling under each component driving waveform; synthesizing the calculated tooling vibration data to obtain the tooling simulation vibration data of the motor tooling under the driving waveform.
[0087] The specific functions and operations of the various units and modules in the above-mentioned simulation device 400 have been described in detail in the evaluation method described above with reference to Figures 1-5, so they are only briefly introduced here and unnecessary repeated descriptions are omitted.
[0088] This article also provides a computer-readable storage medium, on which a simulation program for motor vibration effects is stored. When the simulation program for motor vibration effects is run by a processor, the steps of the simulation method for motor vibration effects as described above are executed. For specific implementation, reference can be made to the simulation calculation method described in Figures 1-5, which will not be repeated here.
[0089] The embodiments of this document may also be an electronic device, which includes a memory, a processor, and instructions stored in the memory and executable on the processor, wherein the instructions, when executed by the processor, cause the processor to execute the steps of the method for simulating the motor vibration effect as described above. For specific implementation, reference may be made to the simulation calculation method described in Figures 1-5, which will not be repeated here.
[0090] FIG7 shows a block diagram of an electronic device according to an embodiment of the present application. As shown in FIG7 , the electronic device 500 includes a processor 510 and a memory 520 .
[0091] The processor 510 may be a central processing unit (CPU), a microprocessor, or other forms of processing chips having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
[0092] Memory 520 can be an internal storage unit of an electronic device, such as non-volatile and / or volatile memory. Memory 620 can store various data, such as motor model parameters, and can include one or more computer program products. These computer program products can include various forms of computer-readable storage media, such as volatile and / or non-volatile memory. The computer-readable storage media can store one or more computer program instructions, which the processor 610 can execute to implement the aforementioned simulation of the vibration effects of the motor under a pre-designed drive waveform and / or other desired functions.
[0093] In one example, the electronic device 600 may further include an input device 630 and an output device 640, which are interconnected via 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 device. In addition, the input device 630 may also include, for example, a keyboard, a mouse, etc. The output device 640 may output various information to the outside. The output device 640 may include, for example, a display, a speaker, a communication network, and a remote output device connected thereto.
[0094] Of course, for the sake of simplicity, FIG8 shows only some of the components of the electronic device 600 that are relevant to the present application, omitting components such as a bus, input / output interfaces, etc. In addition, the electronic device 600 may further include any other appropriate components depending on the specific application.
[0095] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this application are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of this application. In addition, the specific details disclosed above are merely illustrative and facilitating understanding, and are not restrictive. The above details do not limit this application to necessarily being implemented using the above specific details.
[0096] The above description has been provided for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A method for simulating motor vibration effects, include: Providing a driving waveform for simulating vibration of the motor; Performing component analysis on the driving waveform to decompose the driving waveform into one or more component driving waveforms; Calculate the vibration data of the motor under each component driving waveform; The various vibration data obtained by calculation are synthesized to obtain simulated vibration data of the motor under the driving waveform.
2. The simulation method according to claim 1, in, The drive waveforms provided for simulating vibration of the motor include: Select one or more structured waveforms from a pre-designed structured waveform library, each structured waveform being determined by at least a waveform type, a waveform voltage, and a waveform frequency; The one or more structured waveforms are superimposed to obtain the driving waveform.
3. The simulation method according to claim 1, in, The vibration data of the motor under each component drive waveform is calculated including: Obtaining model parameters of the motor; Based on a motor vibration model, vibration data of the motor under each component driving waveform is calculated, and the motor vibration model is associated with model parameters of the motor.
4. The simulation method according to claim 3, in, Determine the model parameters of the motor including: Using a pre-generated drive signal to drive the motor to vibrate, the drive signal being associated with more than two frequencies; Acquiring response data of the motor under the driving signal; and Model parameters of the motor are determined based on the response data.
5. The simulation method according to claim 1, in, The vibration data includes at least one of a motor vibrator displacement, a motor vibrator movement speed, and a motor vibrator acceleration.
6. The simulation method according to claim 1, further comprising: include: Calculate the vibration data of the motor tooling under each component driving waveform; The calculated vibration data of each tooling are synthesized to obtain tooling simulation vibration data of the motor tooling under the driving waveform.
7. A simulation device for motor vibration effect, include: providing a unit for providing a driving waveform for simulating vibration of the motor; An analysis unit, which is used to perform component analysis on the driving waveform, and decompose the driving waveform into one or more component driving waveforms; A calculation unit, which is used to calculate the vibration data of the motor under each component driving waveform; and The synthesis unit is used to synthesize the various vibration data obtained by calculation to obtain the simulated vibration data of the motor under the driving waveform.
8. The simulation device according to claim 7, further comprising: include: A display unit is used to display the simulated vibration data.
9. An electronic device, comprising a memory, a processor, and instructions stored in the memory and executable on the processor, wherein when the instructions are executed by the processor, the processor: Providing a driving waveform for simulating vibration of the motor; Performing component analysis on the driving waveform to decompose the driving waveform into one or more component driving waveforms; Calculate the vibration data of the motor under each component driving waveform; The various vibration data obtained by calculation are synthesized to obtain simulated vibration data of the motor under the driving waveform.
10. The electronic device according to claim 9, in, The drive waveforms provided for simulating vibration of the motor include: Select one or more structured waveforms from a pre-designed structured waveform library, each structured waveform being determined by at least a waveform type, a waveform voltage, and a waveform frequency; The one or more structured waveforms are superimposed to obtain the driving waveform.
11. The electronic device according to claim 9, in, The vibration data of the motor under each component drive waveform is calculated including: Obtaining model parameters of the motor; Based on a motor vibration model, vibration data of the motor under each component driving waveform is calculated, and the motor vibration model is associated with model parameters of the motor.
12. The electronic device according to claim 11, in, Determine the model parameters of the motor including: Using a pre-generated drive signal to drive the motor to vibrate, the drive signal being associated with more than two frequencies; Acquiring response data of the motor under the driving signal; and Model parameters of the motor are determined based on the response data.
13. The electronic device according to claim 9, in, When the instructions are executed by the processor, the processor further causes the processor to: Calculate the vibration data of the motor tooling under each component driving waveform; The calculated vibration data of each tooling are synthesized to obtain tooling simulation vibration data of the motor tooling under the driving waveform.
14. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor: Providing a driving waveform for simulating vibration of the motor; Performing component analysis on the driving waveform to decompose the driving waveform into one or more component driving waveforms; Calculate the vibration data of the motor under each component driving waveform; The various vibration data obtained by calculation are synthesized to obtain simulated vibration data of the motor under the driving waveform.
15. The computer-readable storage medium according to claim 14, in, When the computer program is executed by a processor, it also causes the processor to: Calculate the vibration data of the motor tooling under each component driving waveform; The calculated vibration data of each tooling are synthesized to obtain tooling simulation vibration data of the motor tooling under the driving waveform.
Citation Information
Patent Citations
Motor vibration control method and device and computer readable storage medium
CN110597393A
Vibration control method and device and computer readable storage medium
CN112269895A
Vibration motor control method and control device, electronic equipment and storage medium
CN113761741A
Simulation method and device for motor vibration effect
CN116384031A
