Motor parameter acquisition method and device
By pre-generating drive signals and response data, the parameters of the linear motor are obtained, which solves the problem of inaccurate parameter acquisition in the existing technology and improves the reliability of the vibration effect and the accuracy of the simulation data.
Patent Information
- Application Number
- CN202111601396.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-12-24
AI Technical Summary
The existing technology lacks effective modeling methods to obtain accurate linear motor parameters, resulting in deviations between the actual vibration effect of the motor and the predicted effect.
By using the pre-generated drive signal, the motor is driven to vibrate, and the response data is obtained. The parameters of the motor, such as resonant frequency, motor resistance, motor inductance and Q factor, are determined based on the response data, and the frequency impedance curve is used to calculate the motor model.
It improves the accuracy of motor parameter acquisition, simplifies hardware devices, reduces equipment costs, and improves the reliability of tactile simulation data.
Smart Images

Figure CN116155143B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a method and device for acquiring parameters of a linear motor. Background Art
[0002] With the development and popularization of various electronic devices such as smart phones and wearable devices, people's requirements for tactile experience are becoming increasingly rich. At present, tactile feedback technology is generally achieved through motor vibration, so the vibration of the motor will directly affect the tactile effect.
[0003] In some production and application scenarios, it is necessary to first simulate the linear motor to predict the vibration effect of the motor. However, the existing technology lacks an effective modeling method to obtain accurate and comprehensive motor parameters, which brings complexity to the simulation and inevitably leads to deviations between the actual vibration effect of the motor and the predicted effect.
[0004] Therefore, it is necessary to provide a method for accurately obtaining motor parameters. Summary of the invention
[0005] In order to solve the above technical problems in the prior art, the present application is proposed. The embodiments of the present application provide a method and system for obtaining motor parameters, which can accurately obtain the model parameters of the linear motor, thereby facilitating simulation calculation or other operations on the motor.
[0006] According to one aspect of the present application, a method for acquiring motor parameters is provided, comprising: using a pre-generated drive signal to drive a motor to vibrate, the drive signal being associated with more than two frequencies; acquiring response data of the motor under the drive signal, the response data being associated with more than two frequencies; and determining the parameters of the motor based on the response data.
[0007] In some embodiments, the method further includes: selecting more than two frequency points within a predetermined frequency range and generating a fixed-period driving waveform for each frequency; or selecting a starting frequency and an ending frequency within a predetermined frequency range to generate a continuous driving waveform with more than two frequencies with a preset frequency step.
[0008] In some embodiments, the response data includes voltage data and current data.
[0009] In some embodiments, determining the parameters of the motor according to the response data includes: calculating the impedance value of the motor at each frequency point according to the response data; and calculating the parameters of the motor using a motor model based on the obtained frequency-impedance curve.
[0010] In some embodiments, the parameters of the motor further include at least one of the following parameters: resonant frequency, motor resistance, motor inductance, and Q factor.
[0011] In some embodiments, the parameters of the motor further include the temperature coefficient of the resonant frequency, motor resistance, and motor inductance.
[0012] In some embodiments, the method may further include: generating a second continuous drive waveform based on the resonant frequency, the second continuous drive waveform having a second starting frequency and a second ending frequency, and the resonant frequency is between the second starting frequency and the second ending frequency; using the second continuous drive waveform to drive the motor to vibrate; and obtaining vibration data of the motor tooling, and determining the frequency point corresponding to the maximum value in the vibration data.
[0013] In some embodiments, the method may also include: selecting a third frequency to generate a third drive waveform of several cycles, wherein the third frequency is lower than the resonant frequency so that the motor does not oscillate at the third frequency; providing the third drive waveform to the motor; and collecting voltage and current data at both ends of the motor, and calculating the resistance value based on the voltage and current data.
[0014] In some embodiments, the method may also include: selecting a fourth frequency to generate a fourth drive waveform of several cycles, wherein the fourth frequency is higher than the resonant frequency so that the motor does not vibrate at the fourth frequency; providing the fourth drive waveform to the motor; and collecting voltage and current data across the motor, and calculating the inductance value based on the voltage and current data.
[0015] Another aspect of the present application provides a motor parameter acquisition system, comprising: a driving device, which is used to drive a motor to vibrate using a pre-generated driving signal, wherein the driving signal is associated with more than two frequencies; a data exchange device, which is used to obtain response data of the motor under the driving signal, wherein the response data is associated with more than two frequencies; and a parameter calculation device, which is used to determine the parameters of the motor based on the response data.
[0016] In some embodiments, the system further includes: a waveform generating device configured to generate the drive signal in one of the following ways: selecting two or more frequency points within a predetermined frequency range, and generating a fixed-period drive waveform for each frequency; or selecting a starting frequency and an ending frequency within a predetermined frequency range, and generating a continuous drive waveform with more than two frequencies with a preset frequency step.
[0017] Compared with the prior art, the motor parameter acquisition method and device system of the embodiment of the present application can calculate a variety of motor parameters including the resonant frequency of the motor by producing a specific driving waveform and collecting the response data of the motor. The acquired parameters are highly accurate and can improve the reliability of the tactile simulation data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used 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 accompanying drawings, the same reference numerals generally represent the same components or steps.
[0019] Figure 1 A flow chart showing a method for obtaining linear motor parameters according to an embodiment of the present application is shown;
[0020] Figure 2 A schematic diagram showing a method flow chart for generating a frequency impedance curve according to an embodiment of the present application is shown;
[0021] Figure 3 A schematic flow chart of a method for generating a frequency impedance curve according to another embodiment of the present application is shown;
[0022] Figure 4 A schematic diagram showing a flow chart of calculating motor parameters according to an embodiment of the present application is shown;
[0023] Figure 5 A flow chart of a method for determining a motor resonant frequency for verification according to an embodiment of the present application is shown;
[0024] Figure 6 A flow chart showing a method for determining a motor resistance for verification according to an embodiment of the present application is shown;
[0025] Figure 7 A flow chart showing a method for determining a motor inductance for verification according to an embodiment of the present application is shown;
[0026] Figure 8 A structural block diagram of a motor parameter acquisition system provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] Below, the example embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. At the same time, it is not necessary to realize all the above advantages at the same time to implement 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 by adopting other alternatives, without departing from the ideas and principles of the present application defined in the claims.
[0028] As described in the background technology section, in order to realize the simulation calculation and drive parameter configuration of the linear motor, it is necessary to obtain the full range of motor parameters in advance, and the existing technology may require different test methods to obtain different motor parameters. To solve this technical problem, the embodiment of this article provides a method for obtaining motor parameters, referring to Figure 1 , which shows a flow chart of a method for obtaining linear motor parameters provided by an embodiment of the present application, such as Figure 1 As shown, the method 100 may start at step S110 , using a pre-generated driving signal to drive the motor to vibrate, wherein the driving signal is associated with more than two frequencies.
[0029] For example, a digital signal can be generated on the host computer, which is converted into a driving analog signal after digital-to-analog conversion and power amplification and loaded onto both ends of the linear motor. The applied voltage can be preset. Under the driving signal, the motor will drive the tooling to vibrate together.
[0030] In this 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, it may have more than 7, more than 10 or more frequency points, thereby providing a basis for subsequent acquisition of motor parameters.
[0031] In one embodiment, the frequency range of the driving signal may be between 20-6000 Hz, and the waveform of the driving signal may be a sine wave, a square wave, a rounded square wave, etc. For example, in response to a modeling enable signal, a waveform type may be selected and a waveform or a waveform group having multiple predetermined frequency points may be generated to drive the motor once or multiple times. Since the driving signal has multiple frequency points, the waveform at each frequency point may have several cycles, so generating the driving signal and driving the motor to vibrate may be performed simultaneously. For example, while the motor is driven by a driving waveform having a first frequency point, the host computer may generate a driving waveform having a second frequency point.
[0032] In step 120, response data of the motor under the driving signal is obtained, and the response data is associated with more than two frequencies.
[0033] 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.
[0034] In one embodiment, the response data includes voltage data and current data. For example, a voltage / current sensor may be provided at both ends of the motor to monitor the voltage across the motor and the current flowing through the motor coil.
[0035] 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, so the vibration acceleration of the motor can be measured by a sensor such as a three-axis accelerometer close to the tooling.
[0036] Although steps 110 and 120 are described separately above, it is understandable that the driving motor to vibrate and the collection of vibration response data can be performed simultaneously, that is, the response data of the driving waveform at the corresponding frequency point can be collected simultaneously during the motor vibration process. The collected voltage, current, acceleration and other data can be transmitted to the host computer for smoothing processing to obtain response data for subsequent calculation of motor parameters.
[0037] Step 130: Determine the parameters of the motor according to the response data.
[0038] For example, some parameters of the motor can be determined based on the response data itself. For example, the resonant 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, the motor resistance, inductance and other parameters can be determined based on the motor calculation model of voltage and current.
[0039] In one embodiment, the frequency impedance curve of the motor can be obtained based on the voltage and current data at each frequency point, and then the full range of motor parameters including the resonant frequency can be directly calculated based on the motor modeling formula. That is, there is no need to set an acceleration sensor, thereby simplifying the hardware device and reducing the equipment cost. This will be described in detail below.
[0040] Figure 2 FIG. 2 is a flow chart of a method for generating a frequency impedance curve according to an embodiment of the present application. Figure 2 As shown, the frequency impedance curve of the motor can be obtained by the following steps:
[0041] In step 210, more than two frequency points are selected within a predetermined frequency range, and a driving waveform with a fixed period is generated for each frequency.
[0042] For example, a driving waveform is first produced, the predetermined frequency range may be, for example, 20-6000 Hz, n frequency points are selected within the range, n may be an integer greater than 10, and a driving waveform with a corresponding frequency is generated, that is, n driving waveforms are generated, each driving waveform may last for several cycles, for example, 3-5 cycles.
[0043] In step 220, each waveform data is converted into a digital-to-analog format and amplified to generate an analog signal to drive the motor to vibrate.
[0044] After the waveform data is produced or synchronized with the production, it can be transmitted in the order of gradually increasing or decreasing frequency points. As shown in the figure, the host computer can transmit the k(1-n)th waveform data to the data exchange device, which can cache part or all of the waveform data, and then send it to the 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.
[0045] In step 230, voltage data and current data at both ends of the motor are collected.
[0046] For example, the sensor connected to the motor collects voltage data and current data and uploads them to the host computer through the data exchange device. In this embodiment, it is not necessary to collect motor vibration data such as acceleration, thereby simplifying the device. It can be understood that this step can be performed simultaneously with step 220, that is, the signal is collected while the motor is driven to vibrate.
[0047] In step 240 , the impedance value of the motor at the frequency point corresponding to each driving waveform is calculated.
[0048] like Figure 2 As shown, for the kth waveform data, the host computer can calculate the impedance value at the kth frequency point based on the voltage and current data collected when the motor vibrates under the driving waveform, for example in They are voltage and current data respectively.
[0049] In step 250, after the impedance test at all frequency points is completed, a frequency-impedance curve is generated.
[0050] For example, by repeating steps 220-240, the impedance value corresponding to each of the set n frequency points can be obtained, and the calculated impedance value and the corresponding frequency value can be associated to obtain the frequency impedance curve of the motor within the set frequency range.
[0051] Figure 3 FIG. 2 is a flow chart of a method for generating a frequency impedance curve according to another embodiment of the present application. Figure 3 As shown, the frequency impedance curve of the motor can also be obtained by the following steps:
[0052] Step 310 , selecting a start frequency and an end frequency within a predetermined frequency range, and generating a continuous driving waveform having more than two frequencies with a preset frequency step size.
[0053] For example, the predetermined frequency range may be 20-6000 Hz, that is, 20 Hz may be selected as the starting frequency, 6000 Hz may be selected as the ending frequency, and a preset frequency step may be set, such as 1-20 Hz, so that a set of frequency values may be determined. 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 driving waveform with multiple frequency points. It can be seen that, unlike Figure 2 In the described embodiment, only one driving waveform is generated when making the driving waveform in this embodiment.
[0054] Step 320 , converting the generated waveform data into digital-to-analog data and amplifying the data to generate an analog signal to drive the motor to vibrate.
[0055] The host computer can transmit the generated driving waveform data to the data exchange device, which can cache part or all of the waveform data, and then send it to the 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.
[0056] Step 330, collecting voltage data and current data at both ends of the motor.
[0057] For example, the sensor connected to the motor can collect voltage data and current data across the two ends of the motor and upload the collected data to the host computer via the data exchange device. Similar to the previous embodiment, this embodiment does not need to set an accelerometer to collect motor vibration data, thereby simplifying the device. It can be understood that this step can be performed simultaneously with step 320, that is, the signal is collected while the motor is driven to vibrate.
[0058] Step 340 , calculating the impedance value of the motor at each frequency and generating a frequency-impedance curve.
[0059] For example, the host computer can calculate the impedance value at each frequency point based on the voltage and current data collected when the motor vibrates under the driving waveform, such as in They are voltage and current data respectively.
[0060] In one embodiment, after the driving waveform driving the motor to vibrate is played, a continuous curve of the impedance value in the time domain can be calculated, and then the frequency impedance curve of the motor within a set frequency range can be obtained through operations such as DFT.
[0061] After obtaining the frequency-impedance curve, as described above, an embodiment of the present invention can directly calculate the motor parameters based on the motor modeling formula, thereby avoiding obtaining different motor parameters through multiple different monitoring or calculations. Figure 4 FIG. 2 shows a flow chart of calculating motor parameters according to an embodiment of the present application. Figure 4 As shown, determining the parameters of the motor according to the response data includes:
[0062] In step 410, the impedance value of the motor at each frequency point is calculated based on the response data.
[0063] In this embodiment, the response data includes voltage data and current data, that is, the vibration-related data of the motor may not be collected. Figure 2-3 The method described above is used to calculate the impedance value at each frequency point and obtain the frequency impedance curve, which will not be repeated here.
[0064] In step 420 , the motor parameters are calculated using the motor model based on the obtained frequency impedance curve.
[0065] In one embodiment, the obtained frequency impedance curve can be used to perform numerical fitting to calculate the motor model parameters. The modeling parameters may include, for example: the motor resistance R e , angular frequency ω, motor inductance L e , motor electromagnetic force coefficient Bl, damping coefficient R ms 、Motor force instant C ms , the motor model can be expressed as follows:
[0066]
[0067] Among them, Z in the above formula vc is the impedance, ω=2πf, and f is the frequency of the driving waveform.
[0068] The motor mass M in the above model is ms It can be the overall mass of the motor, which can be obtained by weighing, thereby reducing the amount of simulation 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.
[0069] In one embodiment, the above motor model can also be transformed to some extent. For example, for the impedance curve of a specific frequency range, jωL can be omitted. e Item, which is also within the protection scope of this application.
[0070] When using the above model for numerical fitting, constraints can be added. When it is equal to 0, ω will be the resonant angular frequency ω 0=2πf0, that is, when fitting and calculating M ms , C ms Based on this, the resonant frequency f0 of the motor can be obtained:
[0071]
[0072] In addition, the motor's Q factor and elastic stiffness coefficient K can be calculated based on the following formula:
[0073]
[0074]
[0075] Among them, the Q factor Q es , Q ms They represent circuit quality factor and mechanical quality factor respectively.
[0076] It can be seen that this embodiment can directly calculate the resonant frequency f0, motor resistance R based on the measured frequency impedance curve. e , Motor inductance L e , Q factor, etc., while the existing technology generally uses a voltage model to obtain parameters such as resistance and inductance, and the resonant frequency also needs to be obtained based on the monitoring of back electromotive force. Therefore, this embodiment simplifies the measurement device and detection process of the motor parameters.
[0077] In one embodiment, the above-mentioned step of generating the frequency-impedance curve can be performed in a dynamic environment, for example, by performing measurement calculations at different temperatures to obtain the frequency-impedance curves at different temperatures, and then using the motor model to obtain the resonant frequency, motor resistance and / or motor inductance at different temperatures. Based on these data obtained, the temperature coefficients of the resonant frequency, motor resistance and motor inductance can be determined.
[0078] The motor parameters obtained can be used in specific scenarios such as motor vibration state simulation, drive parameter configuration, motor damage assessment, motor protection application, etc. For example, based on the obtained motor parameters and vibration model, after inputting the drive waveform data and reference voltage, the vibration state data of the motor can be obtained by simulation calculation. In another application, the temperature inside the motor can be directly determined based on the obtained resonant frequency, motor resistance or motor inductance and other parameters and the corresponding temperature coefficient, so that the temperature protection operation can be implemented on the motor.
[0079] After obtaining the motor parameters through the above method, the accuracy of the numerical fitting operation can also be determined by verifying some motor parameters. Figure 5 A flow chart of a method for determining a motor resonant frequency for verification according to an embodiment of the present application is shown. The method may include the following steps:
[0080] Step 510: Generate a second continuous driving waveform based on the resonant frequency, wherein the second continuous driving waveform has a second starting frequency and a second ending frequency, and the resonant frequency is between the second starting frequency and the second ending frequency.
[0081] In one embodiment, the calculated motor resonance frequency or the rated resonance frequency f0' at the factory is used as a reference, and an offset value offset (e.g., 10 Hz) is set, the second starting frequency is f0'-offset, and the second ending frequency is f0'+offset; or the second starting frequency is f0'+offset, and the second ending frequency is f0'-offset. A set of frequency values is determined within the frequency range of the second starting frequency and the second ending frequency with a preset frequency step value (e.g., 0.5 Hz), and a waveform of several cycles is generated for each frequency value, such as a sine wave, a square wave, or a rounded square wave, and then the waveforms of all frequency values are connected end to end in time sequence, thereby generating a second continuous driving waveform.
[0082] Step 520: Use the second continuous driving waveform to drive the motor to vibrate.
[0083] For example, the host computer can transmit the generated second driving waveform data to the data exchange device, which can cache part or all of the waveform data, and then send it to the digital-to-analog conversion device for digital-to-analog conversion and signal amplification processing, and then provide the amplified driving analog signal to the linear motor to drive the motor to vibrate.
[0084] Step 530 , obtaining vibration data of the motor fixture, and determining the frequency point corresponding to the maximum value in the vibration data.
[0085] It can be understood that while the motor is vibrating, the vibration data of the motor fixture can be collected by using sensors, such as an acceleration sensor to collect measurement data at each frequency point. After the second drive waveform data is played, the maximum value in the measurement data and the frequency point corresponding to the maximum value can be determined, and the frequency point corresponding to the maximum value can be determined as the true resonant frequency of the linear motor.
[0086] In another embodiment, an acceleration sensor may not be provided in the device that performs this step. Instead, voltage data and current data at both ends of the motor under the second driving waveform are collected by voltage and current sensors, and the reverse electromotive force information at each frequency point is calculated based on the voltage and current data. The maximum value of the reverse electromotive force amplitude and the frequency point corresponding to the maximum value are determined, and the frequency point corresponding to the maximum value can be determined as the true resonant frequency of the motor.
[0087] The actual resonant frequency of the motor determined in the above manner can be used to verify the resonant frequency calculated based on the impedance curve described above.
[0088] Figure 6 A flow chart of a method for determining a motor resistance for verification according to an embodiment of the present application is shown. Figure 6 As shown, the measuring method may include the following steps:
[0089] Step 610: Select a third frequency to generate a third driving waveform of several cycles, wherein the third frequency is lower than the resonant frequency so that the motor will not vibrate at the third frequency.
[0090] In one embodiment, with the calculated motor resonant frequency or the factory rated resonant frequency f0' as a reference, a low frequency value much lower than the above value is selected as the third frequency, and a driving waveform with several cycles of this frequency is generated, such as a sine wave, a square wave, or a rounded square wave.
[0091] Step 620: Provide the third driving waveform to the motor.
[0092] For example, the host computer can transmit the generated third driving waveform data to the data exchange device, which can cache part or all of the waveform data, and then send it to the digital-to-analog conversion device for digital-to-analog conversion and signal amplification processing, and then provide the amplified driving analog signal to the linear motor. Under this driving signal, the motor will basically not vibrate or produce weak vibration.
[0093] Step 630 , collecting voltage and current data at both ends of the motor, and calculating the resistance value based on the voltage and current data.
[0094] For example, while providing a driving waveform to the motor, a sensor connected to the motor can be used to collect voltage data and current data across the motor and upload the collected data to a host computer via a data exchange device. The resistance value of the motor can be calculated by dividing the obtained voltage and current data.
[0095] The motor resistance value determined in the above manner can be used to verify the motor resistance calculated based on the impedance curve described above.
[0096] Figure 7 A flow chart of a method for determining a motor inductance for verification according to an embodiment of the present application is shown. Figure 7 As shown, the measuring method may include the following steps:
[0097] Step 710: Select a fourth frequency to generate a fourth driving waveform of several cycles, wherein the fourth frequency is higher than the resonant frequency so that the motor will not vibrate at the fourth frequency.
[0098] In one embodiment, with the calculated motor resonant frequency or the factory rated resonant frequency f0' as a reference, a high-frequency frequency value much higher than the above value is selected as the fourth frequency, and a driving waveform with several cycles of this frequency is generated, such as a sine wave, a square wave, or a rounded square wave.
[0099] Step 720: Provide the fourth driving waveform to the motor.
[0100] For example, the host computer can transmit the generated fourth driving waveform data to the data exchange device, which can cache part or all of the waveform data, and then send it to the digital-to-analog conversion device for digital-to-analog conversion and signal amplification processing, and then provide the amplified driving analog signal to the linear motor. Under this driving signal, the motor will basically not vibrate or produce weak vibration.
[0101] Step 730, collecting voltage and current data at both ends of the motor, and calculating the inductance value based on the voltage and current data.
[0102] For example, while providing a driving waveform to the motor, a sensor connected to the motor can be used to collect voltage data and current data across the motor and upload the collected data to a host computer via a data exchange device. The obtained voltage and current data can be divided to calculate the inductance value of the motor.
[0103] The motor inductance value determined in the above manner can be used to verify the motor inductance calculated based on the impedance curve described above.
[0104] Based on the above verification method, the linear motor parameter acquisition method provided by an embodiment of the present invention can be determined. By producing a driving waveform with multiple frequency points and collecting the response data of the motor, a variety of motor parameters can be calculated. The acquired parameters are highly accurate, which can improve the reliability of the tactile simulation data. At the same time, the full range of parameters including the resonant frequency of the motor can be directly determined based on the frequency impedance curve. The detection process is simple, so the detection efficiency can be improved, and it can be directly applied to various scenarios such as vibration state simulation, brake parameter configuration, and motor damage assessment.
[0105] The embodiment of the present invention also provides a system for obtaining linear motor parameters. Figure 8As shown, the motor parameter acquisition system 800 according to the embodiment of the present application may include: a driving device 810, which is connected to the motor on the tooling and is used to drive the motor to vibrate using a pre-generated driving signal, and the driving signal is associated with more than two frequencies; a data exchange device 820, which is connected to the motor of the driving device 810 to obtain the response data of the motor under the driving signal, and the response data is associated with more than two frequencies. At the same time, the data exchange device 820 can also be connected to the driving device 810 to send the driving waveform data to the driving device 810. The system includes a parameter calculation device 830, which is connected to the data exchange device 820 to receive the response data and is used to determine the parameters of the motor based on the response data.
[0106] In one embodiment, the driving device 810 may include at least a digital-to-analog converter and a power amplifier for converting the received digital driving signal into an analog signal and amplifying it. The data exchange device 820 may be a microcontroller with digital signal storage and processing capabilities, which supports multi-channel data input to transmit data signals such as voltage, current, acceleration, etc. collected by the sensor to the parameter calculation device 830. The parameter calculation device 830 can be integrated in a host computer, such as a processor with data processing capabilities. Although not shown, the host computer may also include other functional modules such as digital-to-analog conversion and display tools. In addition, each device may include a USB interface for transmitting and receiving data.
[0107] like Figure 8 As shown, the acquisition system 800 may also include a waveform generating device 840, which is configured to generate the driving signal in one of the following ways: selecting more than two frequency points within a predetermined frequency range, and generating a driving waveform with a fixed period for each frequency; or selecting a starting frequency and an ending frequency within a predetermined frequency range, and generating a continuous driving waveform with more than two frequencies with a preset frequency step.
[0108] In one example, the response data acquired by the data exchange device 820 includes voltage data and current data. The voltage and current data may be acquired by a sensor (not shown) connected to the motor.
[0109] In one example, the parameter calculation device 830 may be configured to determine the parameters of the motor in the following manner: calculating the impedance value of the motor at each frequency point according to the response data; and calculating the parameters of the motor using a motor model based on the obtained frequency-impedance curve.
[0110] In one example, the motor parameters calculated using the motor model may further include at least one of the following parameters: resonant frequency, motor resistance, motor inductance, and Q factor.
[0111] In one example, the waveform generating device 840 may also be configured to generate a second continuous driving waveform based on the resonant frequency, the second continuous driving waveform having a second starting frequency and a second ending frequency, and the resonant frequency is between the second starting frequency and the second ending frequency. In addition, the driving device 810 may be configured to drive the motor to vibrate using the second continuous driving waveform; and the data exchange device 820 may be configured to obtain vibration data of the motor fixture and determine the frequency point corresponding to the maximum value in the vibration data.
[0112] In one example, the waveform generating device 840 may also be configured to select a third frequency to generate a third driving waveform of several cycles, wherein the third frequency is lower than the resonant frequency so that the motor does not oscillate at the third frequency. In addition, the driving device 810 may be configured to provide the third driving waveform to the motor; and the data exchange device 820 may be configured to collect voltage and current data at both ends of the motor, and calculate the resistance value based on the voltage and current data.
[0113] In one example, the waveform generating device 840 may also be configured to select a fourth frequency to generate a fourth driving waveform of several cycles, wherein the fourth frequency is higher than the resonant frequency so that the motor does not oscillate at the fourth frequency. In addition, the driving device 810 may be configured to provide the fourth driving waveform to the motor; and the data exchange device 820 may be configured to collect voltage and current data at both ends of the motor, and calculate the inductance value based on the voltage and current data.
[0114] The specific functions and operations of the various units and modules in the above-mentioned braking device 800 have been described in the above reference. Figure 1-7 The parameter acquisition method described in detail is described in detail, so it is only briefly introduced here and unnecessary repeated descriptions are omitted.
[0115] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0116] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0117] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0118] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0119] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for obtaining motor parameters, include: Using a pre-generated drive signal to drive the motor to vibrate, the drive signal being associated with more than two frequencies; Acquire response data of the motor under the driving signal, wherein the response data is associated with more than two frequencies; as well as Determining parameters of the motor according to the response data, wherein the parameters of the motor include motor resistance; Wherein, determining the parameters of the motor according to the response data includes: Calculating the impedance value of the motor at each frequency point according to the response data; Based on the obtained frequency impedance curve, the motor parameters are calculated using the motor model, wherein the method further comprises verifying the motor resistance by the following steps: Selecting a third frequency to generate a third driving waveform of a plurality of cycles, wherein the third frequency is lower than the resonant frequency of the motor so that the motor does not oscillate at the third frequency; providing the third drive waveform to the motor; The voltage and current data at both ends of the motor are collected, and the resistance value is calculated based on the voltage and current data.
2. The method according to claim 1, further comprising: include: Selecting more than two frequency points within a predetermined frequency range, and generating a driving waveform with a fixed period for each frequency; or A starting frequency and an ending frequency are selected within a predetermined frequency range, and a continuous driving waveform having more than two frequencies is generated with a preset frequency step.
3. The method according to claim 1, in, The response data includes voltage data and current data.
4. The method according to claim 1, in, The parameters of the motor also include at least one of the following parameters: resonant frequency, motor inductance, temperature coefficient of motor inductance and Q factor.
5. The method according to claim 4 further comprises verifying the resonant frequency by: generating a second continuous driving waveform based on the resonant frequency, wherein the second continuous driving waveform has a second starting frequency and a second ending frequency, and the resonant frequency is between the second starting frequency and the second ending frequency; using the second continuous drive waveform to drive the motor to vibrate; Vibration data of the motor fixture is obtained, and a frequency point corresponding to a maximum value in the vibration data is determined.
6. The method according to claim 4, further comprising verifying the motor inductance by: Selecting a fourth frequency to generate a fourth driving waveform of several cycles, wherein the fourth frequency is higher than the resonant frequency so that the motor does not vibrate at the fourth frequency; providing the fourth drive waveform to the motor; The voltage and current data at both ends of the motor are collected, and the inductance value is calculated based on the voltage and current data.
7. A motor parameter acquisition system, include: A waveform generating device configured to generate a drive signal, the drive signal being associated with two or more frequencies: A driving device, which is used to drive the motor to vibrate using the generated driving signal; A data exchange device, which is used to obtain response data of the motor under the driving signal, wherein the response data is associated with more than two frequencies; as well as a parameter calculation device, which is used to determine the parameters of the motor according to the response data, wherein the parameters of the motor include motor resistance; The waveform generating device is further configured to select a third frequency to generate a third driving waveform of several cycles, wherein the third frequency is lower than the resonant frequency of the motor so that the motor does not vibrate at the third frequency. Wherein, the driving device is further configured to provide the third driving waveform to the motor, And wherein, the data exchange device is further configured to collect voltage and current data at both ends of the motor, and calculate the resistance value based on the voltage and current data.
8. The acquisition system according to claim 7, in, The waveform generating device is configured to generate the driving signal in one of the following ways: Selecting more than two frequency points within a predetermined frequency range, and generating a driving waveform with a fixed period for each frequency; or A starting frequency and an ending frequency are selected within a predetermined frequency range, and a continuous driving waveform having more than two frequencies is generated with a preset frequency step.
