Motor detection method, system, drive chip, electronic device, and storage medium

By inputting low-frequency audio and sweep frequency signals to the motor to obtain its DC impedance, resonant frequency, and quality factor, and using a driver chip to realize motor detection, the problem of high detection cost in the existing technology is solved, and efficient and low-cost motor detection is achieved.

CN115113039BActive Publication Date: 2026-03-03SHANGHAI AWINIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-17
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Current technology requires additional specialized testing equipment for motor testing, resulting in high testing costs.

Method used

By inputting preset signals, including low-frequency audio signals and frequency sweep signals, to the motor under test, the motor's DC impedance, resonant frequency, and quality factor can be obtained. The detection is then achieved using a driver chip, avoiding the need for additional equipment configuration.

Benefits of technology

It reduces motor testing costs, improves testing efficiency, and enables rapid identification of faulty motors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113039B_ABST
    Figure CN115113039B_ABST
Patent Text Reader

Abstract

The application discloses a motor detection method, a system, a driving chip, an electronic device and a storage medium. The motor detection method comprises the following steps: inputting a preset signal with a specific structure into a motor to be detected, wherein the preset signal comprises a first detection signal formed by a low-frequency audio signal; obtaining a first response signal generated by the motor to be detected in response to the first detection signal; obtaining a direct-current impedance of the motor to be detected through the first response signal generated in response to the first detection signal; obtaining a resonance frequency and a quality factor of the motor to be detected through a second response signal generated in response to a second detection signal and the obtained direct-current impedance of the motor to be detected. The motor to be detected is detected, the method does not need to additionally set a test device, can be realized by relying on a driving chip for driving the motor, and is favorable for reducing the detection cost of the motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of testing technology, and more specifically, to a motor testing method, system, driver chip, electronic device, and storage medium. Background Technology

[0002] In various end products (such as mobile phones), motors are devices that generate vibrations to provide user feedback. As users' demands for end products increase, higher requirements are also being placed on the vibration frequency and vibration sensation of these products.

[0003] Therefore, when testing motors, it is of great practical significance to quickly and effectively detect faulty motors or motors with abnormal assembly, and to prevent end products equipped with abnormal motors from leaving the factory.

[0004] Current technologies often require additional specialized testing equipment for motor testing, which is not conducive to reducing the cost of motor testing. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a motor testing method, system, driver chip, electronic device, and storage medium to reduce the cost of the motor testing process.

[0006] To achieve the above technical objectives, the embodiments of this application provide the following technical solutions:

[0007] A motor detection method, comprising:

[0008] A preset signal is input to the motor under test. The preset signal includes a first detection signal, which includes an audio signal of a preset fixed frequency. The value of the preset fixed frequency is less than a preset frequency value. The motor under test includes a first resistor.

[0009] The test signal generated by the motor under test in response to the preset signal is obtained. The test signal includes a first response signal, which is a signal generated by the motor under test in response to the first detection signal. The first response signal includes a first voltage signal and a first current signal.

[0010] The DC impedance of the motor under test is obtained based on the first response signal.

[0011] Optionally, obtaining the DC impedance of the motor under test based on the first response signal includes:

[0012] Obtain the maximum absolute value of the peak voltage of the first voltage signal;

[0013] Obtain the maximum value of the absolute value of the peak current of the first current signal;

[0014] The ratio of the maximum absolute value of the voltage peak to the maximum absolute value of the current peak is taken as the DC impedance of the motor under test.

[0015] Optionally, obtaining the DC impedance of the motor under test based on the first response signal includes:

[0016] The voltage frequency energy of the first voltage signal is obtained using frequency analysis methods.

[0017] The current frequency energy of the first current signal is obtained using the frequency analysis method described above.

[0018] The ratio of the voltage frequency energy to the current frequency energy is used as the DC impedance of the motor under test.

[0019] Optionally, the preset signal further includes a second detection signal, which includes a frequency sweep signal, and the frequency range of the frequency sweep signal includes the resonant frequency of the motor under test.

[0020] The test signal also includes a second response signal, which is a signal generated by the motor under test in response to the second detection signal. The second response signal includes a second voltage signal and a second current signal.

[0021] The motor detection method further includes:

[0022] The resonant frequency and quality factor of the motor under test are obtained based on the DC impedance of the motor under test and the second response signal.

[0023] Optionally, obtaining the resonant frequency and quality factor of the motor under test based on the DC impedance of the motor under test and the second response signal includes:

[0024] Based on the second response signal, the impedance curve of the motor under test is calculated and obtained. The impedance curve is used to characterize the impedance value of the motor under test at different frequencies.

[0025] The resonant frequency of the motor under test is obtained based on the impedance curve of the motor under test.

[0026] The quality factor of the motor under test is calculated based on the resonant frequency of the motor under test and the second response signal.

[0027] Optionally, calculating the quality factor of the motor under test based on the resonant frequency of the motor under test and the second response signal includes:

[0028] Based on the resonant frequency of the motor under test, determine the impedance value of the motor under test at the resonant frequency;

[0029] The impedance value of the motor under test at the resonant frequency and the DC impedance of the motor under test are substituted into the first preset formula to calculate the lookup resistance value.

[0030] The first preset formula includes: Where Ra represents the search resistance value, Rf0 represents the impedance value of the motor under test at the resonant frequency, and Re represents the DC impedance of the motor under test.

[0031] The first frequency and the second frequency are determined in the impedance curve of the motor under test based on the search resistance value, and the values ​​of the impedance curve of the motor under test at the first frequency and the second frequency are both the search resistance value.

[0032] The quality factor of the motor under test is calculated by substituting the resonant frequency, the first frequency, the second frequency, the DC impedance, and the impedance value of the motor under test at the resonant frequency into the second preset formula.

[0033] The second preset formula includes: Wherein, Q represents the quality factor of the motor under test, f1 represents the first frequency, f2 represents the second frequency, f0 represents the resonant frequency of the motor under test, Re represents the DC impedance of the motor under test, and Rf0 represents the impedance value of the motor under test at the resonant frequency.

[0034] Optionally, calculating the impedance curve of the motor under test based on the second response signal includes:

[0035] Divide the peak voltage of the second voltage signal at each frequency value of the sweep frequency signal by the current corresponding to the peak voltage in the second current signal to obtain the impedance value of the motor under test at each frequency value.

[0036] The impedance curve of the motor under test is obtained based on the impedance values ​​of the motor under test at various frequencies.

[0037] Optionally, calculating the impedance curve of the motor under test based on the second response signal includes:

[0038] Using frequency analysis methods, the voltage frequency energy of the second voltage signal at the frequency values ​​of each sweep signal is calculated;

[0039] Using the frequency analysis method, the current frequency energy of the second current signal at the frequency values ​​of each sweep frequency signal is calculated;

[0040] Divide the voltage frequency energy of the second voltage signal at each frequency value of the sweep signal by the current frequency energy of the second current signal at each frequency value of the sweep signal to obtain the impedance value of the motor under test at each frequency value.

[0041] The impedance curve of the motor under test is obtained based on the impedance values ​​of the motor under test at various frequencies.

[0042] Optionally, obtaining the resonant frequency of the motor under test based on its impedance curve includes:

[0043] The frequency value corresponding to the highest impedance point in the impedance curve is taken as the resonant frequency of the motor under test.

[0044] Optionally, when the frequency sweep signal included in the second detection signal is an equal-amplitude frequency sweep signal, obtaining the resonant frequency of the motor under test based on the second response signal includes:

[0045] Obtain the minimum and maximum points in the second current signal;

[0046] The resonant frequency of the motor under test is calculated based on the time interval between the minimum maximum point and the adjacent maximum point in the second current signal.

[0047] A motor detection system, comprising:

[0048] A signal input module is used to input a preset signal to the motor under test. The preset signal includes a first detection signal, which includes an audio signal of a preset fixed frequency. The value of the preset fixed frequency is less than a preset frequency value. The motor under test includes a first resistor.

[0049] The signal acquisition module is used to acquire the test signal generated by the motor under test in response to the preset signal. The test signal includes a first response signal, which is the signal generated by the motor under test in response to the first detection signal. The first response signal includes a first voltage signal and a first current signal.

[0050] The first calculation module is used to obtain the DC impedance of the motor under test based on the first response signal.

[0051] A driver chip includes: a memory and a processor;

[0052] The memory is used to store program code, and the processor is used to call the program code, which is used in any of the motor detection methods described above.

[0053] An electronic device including the driver chip as described above.

[0054] A storage medium storing program code, which, when executed, implements the motor detection method described in any of the preceding claims.

[0055] As can be seen from the above technical solutions, the embodiments of this application provide a motor testing method, system, driver chip, electronic device, and storage medium. The motor testing method first inputs a preset signal of a specific composition to the motor under test. The preset signal includes a first detection signal composed of a low-frequency audio signal. Then, it acquires a first response signal generated by the motor under test in response to the first detection signal. Finally, it acquires the DC impedance of the motor under test through the first response signal generated in response to the first detection signal, thereby achieving the purpose of testing the motor under test. This method does not require additional testing equipment and can be implemented by the driver chip that drives the motor, which helps to reduce the testing cost of the motor. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0057] Figure 1 A schematic flowchart of a motor detection method provided for one embodiment of this application;

[0058] Figure 2 A schematic flowchart of a motor detection method provided for another embodiment of this application;

[0059] Figure 3 A schematic diagram of an apparatus for acquiring current and voltage signals of a motor under test, provided for one embodiment of this application;

[0060] Figure 4 A waveform diagram of a current signal in a test signal provided for one embodiment of this application;

[0061] Figure 5 A waveform diagram of a voltage signal in a test signal is provided for one embodiment of this application;

[0062] Figure 6 A schematic flowchart of a motor detection method provided in another embodiment of this application;

[0063] Figure 7 A schematic flowchart of a motor detection method provided in another embodiment of this application;

[0064] Figure 8This is a flowchart illustrating a motor detection method provided as an optional embodiment of this application. Detailed Implementation

[0065] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0066] This application provides a motor detection method, such as... Figure 1 As shown, it includes:

[0067] S101: Input a preset signal to the motor under test. The preset signal includes a first detection signal, which includes an audio signal of a preset fixed frequency. The value of the preset fixed frequency is less than a preset frequency value. The motor under test includes a first resistor.

[0068] S102: Obtain the test signal generated by the motor under test in response to the preset signal. The test signal includes a first response signal, which is a signal generated by the motor under test in response to the first detection signal. The first response signal includes a first voltage signal and a first current signal.

[0069] S103: Obtain the DC impedance of the motor under test based on the first response signal.

[0070] The first resistor is typically connected in series with the input terminal of the motor under test. The first resistor is used to cooperate with the driver chip to sample the voltage signal and / or current signal of the motor under test.

[0071] To perform a more comprehensive test on the motor under test, optionally, refer to... Figure 2 The preset signal further includes a second detection signal, which includes a frequency sweep signal, and the frequency range of the frequency sweep signal includes the resonant frequency of the motor under test.

[0072] The test signal also includes a second response signal, which is a signal generated by the motor under test in response to the second detection signal. The second response signal includes a second voltage signal and a second current signal.

[0073] The motor detection method further includes:

[0074] S104: Obtain the resonant frequency and quality factor of the motor under test based on the DC impedance of the motor under test and the second response signal.

[0075] Generally, the duration of the preset signal does not exceed 2 seconds, wherein the duration of the first detection signal is about 0.5 seconds and the duration of the second detection signal is about 1.5 seconds. The duration of the preset signal is positively correlated with the total motor detection time. The longer the total motor detection time, the higher the corresponding detection cost. Therefore, controlling the duration of the preset signal to about 2 seconds can shorten the total detection time while meeting the detection requirements, which is beneficial to shorten the motor detection time, reduce the motor detection cost, and improve the motor detection efficiency.

[0076] The purpose of inputting the first detection signal to the motor under test is to test the DC impedance based on the first response signal generated by the motor under test in response to the signal. Since the motor under test cannot operate under DC drive, in this embodiment, the impedance value obtained from the first response signal generated by the motor under test in response to the first detection signal at a very low frequency (less than a preset frequency value) is used as the DC impedance of the motor under test. The preset frequency value can be selected in the range of 60Hz, but at the same time, the preset fixed frequency should not be too low, so as to avoid the situation where the low-frequency audio signal cannot drive the motor. That is, the value range of the preset fixed frequency can be 20Hz to 60Hz, for example, 20Hz, 30Hz, 40Hz, 50Hz and 60Hz, etc., and this application does not limit it.

[0077] The second detection signal includes a frequency sweep signal. Generally, the resonant frequency of the motor under test is around 170Hz. Therefore, the frequency sweep signal can range from 150Hz to 190Hz. This ensures that the frequency range of the frequency sweep signal includes the resonant frequency of the motor under test. Thus, the resonant frequency and quality factor of the motor under test can be obtained based on the second response signal obtained from the motor under test's response to the second detection signal.

[0078] The frequency of the sweep signal can vary continuously from high to low, or from low to high. The sweep signal can be of equal amplitude or of unequal amplitude; this application does not limit its application in this regard. The test signal generated by the motor under test in response to the preset signal includes a voltage signal and a current signal. (Referring to...) Figure 3 The current signal can be obtained by connecting a first resistor (e.g., a 0.2-ohm resistor) in series in the motor's input trace. By detecting the voltage across the first resistor, the current flowing through the motor under test can be calculated based on the voltage across the first resistor and its resistance value. The voltage signal can be obtained by directly detecting the voltage at the motor's terminals using the motor's driver chip. Figure 3In the diagram, 10 represents the motor, 20 represents the test equipment used to perform the motor testing method, and R1 represents the first resistor.

[0079] After obtaining the test signal, the DC impedance, resonant frequency, and quality factor of the motor under test can be obtained using the test signal.

[0080] refer to Figure 4 and Figure 5 , Figure 4 This is a schematic diagram of the waveform of the current signal in the test signal. Figure 4 The front section is the first current signal obtained by the motor under test in response to the first detection signal, and the rear section is the second current signal obtained by the motor under test in response to the second detection signal. Figure 4 In the diagram, the horizontal axis represents time, and the vertical axis represents the amplitude of the current signal.

[0081] akin, Figure 5 In the diagram, the first segment represents the first voltage signal obtained by the motor under test in response to the first detection signal, and the second segment represents the second voltage signal obtained by the motor under test in response to the second detection signal. Figure 5 In the graph, the horizontal axis represents time, and the vertical axis represents the amplitude of the voltage signal. From... Figure 4 and Figure 5 It is not difficult to see that when the signal input to the motor under test abruptly changes from the first detection signal to the second detection signal, the obtained test signal is not stable for a period of time. Therefore, this unstable test signal can be removed from the test signal and not used as the basis for obtaining the resonant frequency and quality factor of the motor under test. That is, the second voltage signal and the second current signal include the stable signal after the preset signal abruptly changes from the first detection signal to the second detection signal for a certain period of time. Whether the current signal and voltage signal are stable can be determined by the display on the oscilloscope. Figure 4 and Figure 5 The test signal shown is intuitively identifiable.

[0082] The specific method for obtaining DC impedance, resonant frequency, and quality factor of the motor detection method provided in the embodiments of this application is described below.

[0083] Optionally, in one embodiment of this application, such as Figure 6 As shown, obtaining the DC impedance of the motor under test based on the first response signal includes:

[0084] S1031: Obtain the maximum value of the absolute value of the peak voltage of the first voltage signal;

[0085] S1032: Obtain the maximum value of the absolute value of the peak current of the first current signal;

[0086] S1033: The ratio of the maximum absolute value of the voltage peak to the maximum absolute value of the current peak is taken as the DC impedance of the motor under test.

[0087] As mentioned above, since the value of the preset fixed frequency is small and close enough to 0Hz, the resistance value of the motor under test under the first detection signal can be used as the DC impedance of the motor under test.

[0088] In this embodiment, a specific method for calculating the DC impedance of the motor under test is provided, namely, obtaining the maximum value of the absolute value of the voltage peak and the maximum value of the absolute value of the current peak from the first voltage signal and the first current signal respectively, and taking the ratio of the maximum value of the absolute value of the voltage peak to the maximum value of the absolute value of the current peak as the DC impedance of the motor under test.

[0089] Furthermore, in another embodiment of this application, such as Figure 7 As shown, obtaining the DC impedance of the motor under test based on the first response signal includes:

[0090] S1034: Use frequency analysis methods to obtain the voltage frequency energy of the first voltage signal;

[0091] S1035: Using the frequency analysis method, obtain the current frequency energy of the first current signal;

[0092] S1036: The ratio of the voltage frequency energy to the current frequency energy is used as the DC impedance of the motor under test.

[0093] In this embodiment, another method for obtaining the DC impedance of the motor under test based on the first response signal is provided, wherein the frequency analysis method includes, but is not limited to, Fast Fourier Transform (FFT).

[0094] For methods on obtaining resonant frequency and quality factor, please refer to [reference needed]. Figure 8 The step of obtaining the resonant frequency and quality factor of the motor under test based on the DC impedance of the motor under test and the second response signal includes:

[0095] S1041: Based on the second response signal, calculate the impedance curve of the motor under test, the impedance curve being used to characterize the impedance value of the motor under test at different frequencies.

[0096] S1042: Obtain the resonant frequency of the motor under test based on the impedance curve of the motor under test;

[0097] S1043: Calculate the quality factor of the motor under test based on the resonant frequency of the motor under test and the second response signal.

[0098] The horizontal axis of the impedance curve can be frequency, and the vertical axis can be impedance value. The range of values ​​for the horizontal axis of the impedance curve can be the same as the range of frequencies of the swept frequency signal included in the second detection signal, that is, the frequency values ​​of the horizontal axis of the impedance curve correspond one-to-one with the frequency values ​​of the swept frequency signal.

[0099] Specifically, the method of calculating the impedance curve of the motor under test based on the second response signal includes at least two methods:

[0100] (1) The step of calculating the impedance curve of the motor under test based on the second response signal includes:

[0101] S10411: Divide the peak voltage of the second voltage signal at each frequency value of the sweep frequency signal by the current corresponding to the peak voltage in the second current signal to obtain the impedance value of the motor under test at each frequency value.

[0102] S10412: Obtain the impedance curve of the motor under test based on the impedance values ​​of the motor under test at various frequency values.

[0103] The peak voltage of the second voltage signal at each frequency value of the sweep frequency signal can be obtained by first determining the frequency value of the sweep frequency signal at a certain time point, and then finding the peak voltage corresponding to that time point in the second voltage signal as the peak voltage of the sweep frequency signal at that frequency value. Similarly, the current corresponding to the peak voltage in the second current signal can be obtained by finding the current corresponding to that time point in the second current signal.

[0104] (2) The step of calculating the impedance curve of the motor under test based on the second response signal includes:

[0105] S10413: Using frequency analysis methods, calculate the voltage frequency energy of the second voltage signal at the frequency values ​​of each sweep frequency signal;

[0106] S10414: Using the frequency analysis method, calculate the current frequency energy of the second current signal at the frequency values ​​of each sweep frequency signal;

[0107] S10415: Divide the voltage frequency energy of the second voltage signal at each frequency value of the sweep frequency signal by the current frequency energy of the second current signal at each frequency value of the sweep frequency signal to obtain the impedance value of the motor under test at each frequency value.

[0108] S10416: Obtain the impedance curve of the motor under test based on the impedance values ​​of the motor under test at various frequency values.

[0109] Similarly, the frequency analysis methods include, but are not limited to, the Fast Fourier Transform.

[0110] Regarding the method for obtaining the resonant frequency, optionally, obtaining the resonant frequency of the motor under test based on the impedance curve of the motor under test includes:

[0111] S10421: The frequency value corresponding to the highest impedance point in the impedance curve is taken as the resonant frequency of the motor under test.

[0112] Optionally, the method for obtaining the quality factor may include, based on the resonant frequency of the motor under test and the second response signal, calculating the quality factor of the motor under test.

[0113] S10431: Determine the impedance value of the motor under test at the resonant frequency based on the resonant frequency of the motor under test;

[0114] S10432: Substitute the impedance value of the motor under test at the resonant frequency and the DC impedance of the motor under test into the first preset formula to calculate and obtain the lookup resistance value.

[0115] The first preset formula includes: Where Ra represents the search resistance value, Rf0 represents the impedance value of the motor under test at the resonant frequency, and Re represents the DC impedance of the motor under test.

[0116] S10433: Determine a first frequency and a second frequency from the impedance curve of the motor under test, wherein the values ​​of the impedance curve of the motor under test at the first frequency and the second frequency are both the lookup resistance values.

[0117] S10434: Substitute the resonant frequency of the motor under test, the first frequency, the second frequency, the DC impedance, and the impedance value of the motor under test at the resonant frequency into the second preset formula to calculate the quality factor of the motor under test.

[0118] The second preset formula includes: Wherein, Q represents the quality factor of the motor under test, f1 represents the first frequency, f2 represents the second frequency, f0 represents the resonant frequency of the motor under test, Re represents the DC impedance of the motor under test, and Rf0 represents the impedance value of the motor under test at the resonant frequency.

[0119] Based on the above embodiments, in another embodiment of this application, when the frequency sweep signal included in the second detection signal is an equal amplitude frequency sweep signal, the step of obtaining the resonant frequency of the motor under test according to the second response signal includes:

[0120] S10435: Obtain the minimum and maximum points in the second current signal;

[0121] S10436: Calculate the resonant frequency of the motor under test based on the time interval between the minimum maximum point and the adjacent maximum point in the second current signal.

[0122] This embodiment provides a method for obtaining the resonant frequency when the sweep frequency signal included in the second detection signal is a constant amplitude sweep frequency signal. When the sweep frequency signal included in the second detection signal is a constant amplitude sweep frequency signal, the input voltage signal at each frequency point of the sweep frequency signal is the same. Therefore, it is only necessary to detect the minimum and maximum points in the second current signal. The resonant frequency of the motor under test can be calculated based on the time interval between the minimum and maximum points and adjacent maximum points in the second current signal. Specifically, the resonant frequency of the motor under test can be the reciprocal of this time interval.

[0123] Accordingly, this application also provides a motor detection system, including:

[0124] The signal input module is used to input a preset signal to the motor under test. The preset signal includes a first detection signal and a second detection signal. The first detection signal includes an audio signal with a preset fixed frequency. The value of the preset fixed frequency is less than a preset frequency value. The second detection signal includes a sweep frequency signal. The frequency range of the sweep frequency signal includes the resonant frequency of the motor under test.

[0125] The signal acquisition module is used to acquire the test signal generated by the motor under test in response to the preset signal. The test signal includes a first response signal and a second response signal. The first response signal is the signal generated by the motor under test in response to the first detection signal. The first response signal includes a first voltage signal and a first current signal. The second response signal is the signal generated by the motor under test in response to the second detection signal. The second response signal includes a second voltage signal and a second current signal.

[0126] The first calculation module is used to obtain the DC impedance of the motor under test based on the first response signal;

[0127] The second calculation module is used to obtain the resonant frequency and quality factor of the motor under test based on the DC impedance of the motor under test and the second response signal.

[0128] Accordingly, embodiments of this application also provide a motor, see reference. Figure 2 The motor 10 includes a first resistor R1 connected in series in the input trace of the motor 10 and a test device 20; the test device 20 includes a memory and a processor.

[0129] The memory is used to store program code, and the processor is used to call the program code, which is used to execute the motor detection method described in any of the above embodiments.

[0130] Accordingly, this application also provides a storage medium storing program code, which, when executed, implements the motor detection method described in any of the above embodiments.

[0131] In summary, the embodiments of this application provide a motor testing method, system, driver chip, electronic device, and storage medium. The motor testing method first inputs a preset signal of a specific configuration to the motor under test. The preset signal includes a first detection signal composed of a low-frequency audio signal and a second detection signal including a sweep frequency signal. Then, it acquires a first response signal and a second response signal generated by the motor under test in response to the first and second detection signals, respectively. Finally, it acquires the DC impedance of the motor under test using the first response signal generated in response to the first detection signal, and acquires the resonant frequency and quality factor of the motor under test using the second response signal generated in response to the second detection signal and the acquired DC impedance. This achieves the purpose of testing the motor under test. This method does not require additional testing equipment and can be implemented using the driver chip of the motor, which helps reduce the testing cost of the motor.

[0132] The features described in the various embodiments of this specification can be substituted for or combined with each other. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other.

[0133] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A motor detection method characterized by, The method comprises: inputting a preset signal to a motor to be tested, the preset signal comprising a first detection signal, the first detection signal comprising a preset fixed-frequency audio signal, the preset fixed frequency being less than a preset frequency value; the motor to be tested comprising a first resistor; obtaining a test signal generated by the motor to be tested in response to the first detection signal, the test signal comprising a first response signal, the first response signal being a signal generated by the motor to be tested in response to the first detection signal, the first response signal comprising a first voltage signal and a first current signal; obtaining a direct-current impedance of the motor to be tested according to the first response signal; the preset signal further comprises a second detection signal, the second detection signal comprising a sweep signal, the frequency value range of the sweep signal comprising a resonance frequency of the motor to be tested; the test signal further comprises a second response signal, the second response signal being a signal generated by the motor to be tested in response to the second detection signal, the second response signal comprising a second voltage signal and a second current signal; wherein the second voltage signal and the second current signal are stable signals after a period of time when the preset signal changes from the first detection signal to the second detection signal; the motor detection method further comprises: obtaining a resonance frequency and a quality factor of the motor to be tested according to the direct-current impedance of the motor to be tested and the second response signal; wherein obtaining the resonance frequency of the motor to be tested comprises: calculating an impedance curve of the motor to be tested according to the second response signal, the impedance curve being used to represent impedance values of the motor to be tested at different frequencies; and obtaining the resonance frequency of the motor to be tested according to the impedance curve of the motor to be tested; The calculating the quality factor of the motor to be tested according to the resonance frequency of the motor to be tested and the second response signal further comprises: determining an impedance value of the motor to be tested at the resonance frequency according to the resonance frequency of the motor to be tested; and substituting the impedance value of the motor to be tested at the resonance frequency and a direct current impedance of the motor to be tested into a first preset formula to obtain a lookup resistance value, wherein the first preset formula comprises: ; wherein, represents the lookup resistance value, represents the impedance value of the motor to be tested at the resonance frequency, represents the direct current impedance of the motor to be tested; determining a first frequency and a second frequency in an impedance curve of the motor to be tested according to the lookup resistance value; and substituting the resonance frequency of the motor to be tested, the first frequency, the second frequency, the direct current impedance and the impedance value of the motor to be tested at the resonance frequency into a second preset formula to obtain the quality factor of the motor to be tested. The second preset formula comprises: ; wherein, represents a quality factor of the motor to be measured, represents the first frequency, represents the second frequency, represents a resonance frequency of the motor to be measured, represents a direct current impedance of the motor to be measured, represents an impedance value of the motor to be measured at the resonance frequency.

2. The motor detection method of claim 1, wherein the method of obtaining the direct-current impedance of the motor to be tested according to the first response signal comprises: obtaining a maximum value of a voltage peak absolute value of the first voltage signal; obtaining a maximum value of a current peak absolute value of the first current signal; taking a ratio of the maximum value of the voltage peak absolute value to the maximum value of the current peak absolute value as the direct-current impedance of the motor to be tested.

3. The motor detection method of claim 1, wherein, the method of obtaining the direct-current impedance of the motor to be tested according to the first response signal comprises: obtaining a voltage frequency energy of the first voltage signal by using a frequency analysis method; obtaining a current frequency energy of the first current signal by using the frequency analysis method; taking a ratio of the voltage frequency energy to the current frequency energy as the direct-current impedance of the motor to be tested.

4. The motor detection method of claim 1, wherein the method of calculating the impedance curve of the motor to be tested according to the second response signal comprises: dividing a peak voltage of the second voltage signal at each frequency value of the sweep signal by a current corresponding to the peak voltage in the second current signal to obtain an impedance value of the motor to be tested at each frequency value; obtaining the impedance curve of the motor to be tested according to the impedance values of the motor to be tested at each frequency value.

5. The motor detection method of claim 1, wherein, the method of calculating the impedance curve of the motor to be tested according to the second response signal comprises: calculating a voltage frequency energy of the second voltage signal at each frequency value of the sweep signal by using a frequency analysis method; The frequency analysis method is used to calculate the current frequency energy of the second current signal at the frequency value of each sweep signal; The voltage frequency energy of the second voltage signal at the frequency value of each sweep signal is divided by the current frequency energy of the second current signal at the frequency value of each sweep signal to obtain the impedance value of the motor to be tested at each frequency value; According to the impedance value of the motor to be tested at each frequency value, the impedance curve of the motor to be tested is obtained.

6. The motor detection method of claim 1, wherein, The impedance curve of the motor to be tested is obtained according to the impedance curve of the motor to be tested, and the resonant frequency of the motor to be tested is obtained. When the sweep signal included in the second detection signal is an equal-amplitude sweep signal, the resonant frequency of the motor to be tested is obtained according to the second response signal, and the resonant frequency of the motor to be tested is obtained according to the second response signal.

7. The motor detection method of claim 1, wherein, The minimum maximum value point in the second current signal is obtained; The resonant frequency of the motor to be tested is calculated according to the time interval between the minimum maximum value point and the adjacent maximum value point in the second current signal. It includes:

8. A motor detection system characterized by, The signal input module is used for inputting a preset signal to a motor to be tested, the preset signal includes a first detection signal, the first detection signal includes an audio signal with a preset fixed frequency, and the value of the preset fixed frequency is less than a preset frequency value; the motor to be tested includes a first resistor; The signal acquisition module is used for acquiring a test signal generated by the motor to be tested in response to the preset signal, the test signal includes a first response signal, the first response signal is a signal generated by the motor to be tested in response to the first detection signal, and the first response signal includes a first voltage signal and a first current signal; the preset signal further includes a second detection signal, the second detection signal includes a sweep signal, and the frequency value range of the sweep signal includes the resonant frequency of the motor to be tested; the test signal further includes a second response signal, the second response signal is a signal generated by the motor to be tested in response to the second detection signal, and the second response signal includes a second voltage signal and a second current signal; wherein the second voltage signal and the second current signal are stable signals after the preset signal is changed from the first detection signal to the second detection signal for a period of time; the first calculation module is used for obtaining the direct current impedance of the motor to be tested according to the first response signal; The second calculation module is used for obtaining the resonant frequency and the quality factor of the motor to be tested according to the direct current impedance of the motor to be tested and the second response signal; The second calculation module is further used for obtaining the impedance curve of the motor to be tested according to the second response signal, the impedance curve is used to represent the impedance value of the motor to be tested at different frequencies; the resonant frequency of the motor to be tested is obtained according to the impedance curve of the motor to be tested; and the quality factor of the motor to be tested is calculated according to the resonant frequency of the motor to be tested and the second response signal. It includes: The second calculation module is further configured to: determine an impedance value of the motor to be tested at a resonance frequency of the motor to be tested according to the resonance frequency; and substitute the impedance value of the motor to be tested at the resonance frequency and a direct-current impedance of the motor to be tested into a first preset formula to obtain a lookup resistance value, wherein the first preset formula comprises: ; wherein, represents the lookup resistance value, represents the impedance value of the motor to be tested at the resonance frequency, represents the direct-current impedance of the motor to be tested; determine a first frequency and a second frequency in an impedance curve of the motor to be tested according to the lookup resistance value; and substitute the resonance frequency of the motor to be tested, the first frequency, the second frequency, the direct-current impedance, and the impedance value of the motor to be tested at the resonance frequency into a second preset formula to obtain a quality factor of the motor to be tested. The second preset formula comprises: ; wherein, represents a quality factor of the motor to be measured, represents the first frequency, represents the second frequency, represents a resonance frequency of the motor to be measured, represents a direct current impedance of the motor to be measured, represents an impedance value of the motor to be measured at the resonance frequency.

9. A driver chip, characterized by comprising: Memory and processor; ​ The memory is configured to store program code, and the processor is configured to invoke the program code, and the program code is configured to execute the motor detection method in any one of claims 1-7.

10. An electronic device, comprising: The driving chip as claimed in claim 9 is included.

11. A storage medium, characterized by The storage medium has program code stored thereon, and the program code, when executed, implements the motor detection method in any one of claims 1-7.

Citation Information

Patent Citations

  • Voice coil motor sensor and controller

    CN104852643A

  • Intelligent handheld equipment and resonant frequency measurement method for linear motor therefor

    CN107894277A