CN107966661A - Vibration motor detection method and device and electronic product comprising device - Google Patents

Vibration motor detection method and device and electronic product comprising device Download PDF

Info

Publication number
CN107966661A
CN107966661A CN201711430015.1A CN201711430015A CN107966661A CN 107966661 A CN107966661 A CN 107966661A CN 201711430015 A CN201711430015 A CN 201711430015A CN 107966661 A CN107966661 A CN 107966661A
Authority
CN
China
Prior art keywords
vibration motor
duty ratio
motor
pwm
rotating speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711430015.1A
Other languages
Chinese (zh)
Inventor
吴国义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN201711430015.1A priority Critical patent/CN107966661A/en
Publication of CN107966661A publication Critical patent/CN107966661A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/34Testing dynamo-electric machines
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P15/00Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration
    • G01P15/02Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration by making use of inertia forces using solid seismic masses
    • G01P15/08Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration by making use of inertia forces using solid seismic masses with conversion into electric or magnetic values
    • G01P15/097Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration by making use of inertia forces using solid seismic masses with conversion into electric or magnetic values by vibratory elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P15/00Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration
    • G01P15/18Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration in two or more dimensions

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Electrical Machinery Utilizing Piezoelectricity, Electrostriction Or Magnetostriction (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

The invention discloses a vibration motor detection method and a device and an electronic product comprising the device, wherein the method mainly comprises the following steps: an acquisition step, namely acquiring acceleration data generated when a vibration motor driven by PWM with a preset duty ratio rotates within a preset time period by using a three-axis acceleration sensor fixed on the same substrate as the vibration motor; calculating, namely calculating the rotating speed of the vibration motor according to the number of sine waves in a curve determined by the acquired acceleration data; and a comparison and judgment step, comparing the calculated rotating speed of the vibration motor with a standard rotating speed corresponding to PWM of a corresponding duty ratio, and if the rotating speed difference value is less than a preset qualified threshold value, judging that the detected vibration motor is qualified. According to the vibration motor detection method and device and the electronic product comprising the device, the difficulty of vibration motor test in production can be solved; in addition, scrap and loss are reduced through calibration, and product consistency is guaranteed through calibration.

Description

Vibration motor detection method and device and electronic product comprising device
Technical Field
The present invention relates to a motor detection method and device, and more particularly, to a vibration motor detection method and device and an electronic product including the device.
Background
A vibration motor (i.e. a vibration motor) is a device that generates vibration by driving a rotor to do centrifugal motion through the rotation of the motor, and is generally used for reminding a user. The advantages of silence and small size make it widely used in most electronic products, such as mobile phones, electronic watches, smart bands, etc. However, the process and structure of the vibration motors are difficult to ensure the consistency of each motor, so that the same type of vibration motors also have individual differences, resulting in the same power supply situation and different vibration intensities. Therefore, there are problems that the user experience is affected by the strong or weak sense of vibration, and the inspection of the production is inconvenient due to the different senses of vibration of the same product.
At present, the detection device for the miniature vibration motor is mainly used for detecting current and detecting the actual rotating speed of the motor by using a photoelectric sensor. A black and white dial is attached above the position of the rotary head of the vibration motor, the detection is carried out by a photoelectric sensor, and the accurate rotating speed is obtained by calculating the count of black and white changes. Although the scheme can accurately test the performance of the motor, the scheme can only be used for sampling detection and cannot detect each vibration motor, because the detection needs long time and is inconvenient to operate, a part of defective products are used in products due to the current situation.
Moreover, the existing vibration motor inspection device is not suitable for individual detection, and the inspection device needs to be tested to realize the production, so that the inspection device cannot meet the production requirement. If the performance of the motor is tested separately, the motor needs to be connected with a power supply and put on a specific test rack, and the test can detect the motor with problems, but the motor with problems in the process of being welded on a PCB or mounted on a product cannot be selected, such as the motor characteristic change caused by high temperature, the motor damage caused by extrusion and the like.
Therefore, a new method and apparatus for testing and calibrating a vibration motor is needed to solve the difficulty of testing the vibration motor during production; in addition, scrap and loss are reduced through calibration, and product consistency is guaranteed through calibration.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a vibration motor detection method and device. In order to realize the purpose, the technical scheme adopted by the invention is as follows:
according to a first aspect of embodiments of the present invention, there is provided a vibration motor detection method including: an acquisition step, namely acquiring acceleration data generated when a vibration motor driven by PWM with a preset duty ratio rotates within a preset time period by using a three-axis acceleration sensor fixed on the same substrate as the vibration motor; calculating, namely calculating the rotating speed of the vibration motor according to the number of sine waves in a curve determined by the acquired acceleration data; and a comparison and judgment step, comparing the calculated rotating speed of the vibration motor with a standard rotating speed corresponding to PWM of a corresponding duty ratio, and if the rotating speed difference value is less than a preset qualified threshold value, judging that the detected vibration motor is qualified.
According to one embodiment, the vibration motor detection method further comprises a setting step of setting an average value of the rotation speeds of the plurality of motors corresponding to different standard duty ratios as a standard rotation speed corresponding to the corresponding standard duty ratio by detecting the rotation speeds of the plurality of standard motor samples under the PWM driving of the different standard duty ratios.
According to still another embodiment, the method for detecting the vibration motor further comprises a calibration step, if the rotation speed difference value is larger than a predetermined qualified threshold value but smaller than a predetermined unqualified threshold value, the duty ratio of the PWM for driving the motor is compensated and calibrated by using the duty ratio difference value corresponding to the rotation speed difference value.
According to still another embodiment, the vibration motor detection method further includes an output step of outputting a detection result.
According to another embodiment, in the step of collecting, when the vibration motor is driven by changing the PWM with a different predetermined duty ratio, the driving is stopped for a predetermined time interval.
According to still another embodiment, in the calculating step, acceleration data collected during a period in which the rotation of the vibration motor driven by PWM with a predetermined duty ratio is stable for a predetermined period of time is selected for calculating the rotation speed of the vibration motor.
According to a second aspect of the embodiments of the present invention, there is provided a vibration motor detecting apparatus including: the acquisition module is used for acquiring acceleration data generated when the vibration motor driven by PWM with a preset duty ratio rotates within a preset time period; the calculation module is used for calculating the rotating speed of the vibration motor according to the number of sine waves in a curve determined by the acquired acceleration data; and the comparison and judgment module is used for comparing the calculated rotating speed of the vibration motor with the standard rotating speed corresponding to the PWM with the corresponding duty ratio, and if the rotating speed difference value is smaller than a preset qualified threshold value, the detected vibration motor is qualified.
According to an embodiment, the vibration motor detection device further includes a setting module, configured to set an average value of the rotation speeds of the plurality of motors corresponding to different standard duty ratios as a standard rotation speed corresponding to the corresponding standard duty ratio by detecting the rotation speeds of the plurality of standard motor samples under PWM driving with different standard duty ratios.
According to still another embodiment, the vibration motor detection device further comprises a calibration module, which is used for performing compensation calibration on the PWM duty ratio of the driving motor by using the duty ratio difference value corresponding to the rotation speed difference value when the rotation speed difference value is greater than the predetermined qualified threshold value but less than the predetermined unqualified threshold value.
According to still another embodiment, the vibration motor detection apparatus further comprises an output module for outputting the detection result.
According to a third aspect of embodiments of the present invention, there is provided an electronic product including: the vibration test system comprises a triaxial acceleration sensor, a vibration motor, a motor driving circuit, a memory and a controller, wherein the triaxial acceleration sensor and the vibration motor are fixed on the same PCB or a rigid substrate; further, a vibration motor detection apparatus according to the second aspect of the embodiment of the present invention is included.
According to the vibration motor detection method and device and the electronic product comprising the device, the difficulty of vibration motor test in production can be solved; in addition, scrap and loss are reduced through calibration, and product consistency is guaranteed through calibration.
The present invention will now be described more fully hereinafter by way of example with reference to the accompanying drawings, in which like reference numerals refer to like or substantially like parts.
Drawings
FIG. 1 is a schematic flow diagram of a vibration motor detection method in accordance with one embodiment of the present invention;
fig. 2 is a schematic view of a structure for detecting acceleration generated by rotation of a vibration motor using an acceleration sensor according to an example of the present invention;
FIG. 3 is a schematic diagram of vibration motor detection using a bracelet according to an example of the invention;
FIG. 4 is a graph plotting data generated throughout the operation of a vibration motor in accordance with one embodiment of the present invention;
FIG. 5 illustrates actual rotational speed data obtained by calculation, in accordance with one embodiment of the present invention;
FIG. 6 is a graph plotted against the duty cycle versus motor average speed data of FIG. 5;
FIG. 7 is a diagram illustrating data obtained by detecting nine bracelets according to the vibration motor detection method of the present invention;
FIG. 8 is a schematic flow diagram of a vibration motor detection process in accordance with one embodiment of the present invention;
fig. 9 is a schematic structural block diagram of a vibration motor detecting apparatus according to an embodiment of the present invention; and
fig. 10 is a schematic configuration diagram of a vibration motor detecting apparatus according to an embodiment of the present invention.
Detailed Description
As shown in fig. 1, a schematic flow chart of a vibration motor detection method according to an embodiment of the present invention mainly includes: an acquisition step 102, a calculation step 104, and a comparison and judgment step 106; in the embodiment where the rotation speed determination criterion is not set, the setting step 100 is also optionally included; in other embodiments, a calibration step 108 and/or an output step 110 are also optionally included. This will be specifically explained below.
The vibration motor detection method according to the embodiment of the invention can be mainly realized by an acceleration sensor and a vibration motor which are fixed on a substrate (generally rigid), a motor driving circuit controls the conduction and the cut-off of a motor driving tube by PWM with constant frequency and certain duty ratio, and the position deviation generated by the rotation of the motor can be actually applied to the acceleration sensor. The rotation speed of the motor can be controlled by changing the duty ratio of the PWM, so that different vibration intensities are generated. Experiments show that the rotation speed of the motor has a direct relation with the vibration strength. The acceleration sensor can measure the acceleration values in three directions, and the rotation of the motor can be regarded as uniform-speed circular motion. As shown in fig. 2, when the eccentric mass 903 of the motor 902 reaches a position in a direction indicated by an arrow in the figure, the acceleration of the acceleration sensor 904 in the x-axis direction reaches a maximum positive value, and the acceleration of the eccentric mass of the motor in the opposite direction (i.e., in the opposite direction of the arrow) is minimum and negative. The motor rotates to enable the whole PCB 900 to vibrate, the x-axis data of the acceleration sensor on the PCB can be changed along with sine waves, and the number of the rotating circles of the motor can be obtained by calculating the number of positive selection waves. Therefore, the rotating speed of the motor can be measured through the three-axis acceleration sensor, the rotating speed is positively correlated with the vibration strength, and the larger the rotating speed is, the stronger the vibration strength is.
In the setting step 100, the relationship between the PWM duty ratio and the motor rotation speed may be experimentally measured. A plurality of samples are taken, each sample being operated with a predetermined PWM duty cycle, e.g., 100%, 90%, 80%,. 30%, 20%, 10%, respectively, drive motor for a predetermined period of time, e.g., two seconds. And stopping working for a preset time interval, such as two seconds, every time when one duty ratio is switched, sampling acceleration data by using a frequency of 1.25k, drawing a curve, and selecting data of a relatively stable rotation time period, such as 200ms, in the data corresponding to each duty ratio of each sample for calculation. The motor speed N can be calculated by simply counting N sine waves within 200ms, N = N (1 × 60 × 1000/200) because each time a complete waveform of acceleration is detected to prove that the motor rotates one circle, and after the motor speed is obtained, the rotating speed of each duty ratio and the duty ratio of PWM form a corresponding relationship. The rotation speeds corresponding to the PWM duty cycles of the plurality of samples may be averaged to draw a curve, which may be used as a standard for subsequent calibration of the motor.
In a specific example using a bracelet as an example, the data collecting bracelet is placed on the sponge and fixed. Specifically, as shown in fig. 3, the hand ring 300 is placed in the sponge groove 302 to buffer the hand ring. When the motor rotates, the interference generated by the vibration of the bracelet can be shielded; the data acquisition instruction of the bracelet motor is sent through the mobile phone Bluetooth, at the moment, the bracelet can work in a set mode (the work of the drive motor is respectively carried out by 100%, 90%, 80%, 30%, 20% and 10% of PWM duty ratio, the work is stopped for two seconds by switching one duty ratio, and the acceleration data is sampled by using the frequency of 1.25 k), and the three-axis acceleration data is uploaded to the mobile phone in real time through the Bluetooth to be stored in the mobile phone for processing. The data generated during the whole process of motor operation is plotted as a curve as shown in fig. 4, wherein the duty ratio of 30% -10% is not analyzed because the motor is not driven, the motor shakes more severely, and the vibration is too weak to be applied. Since 1.25k of frequency sampling is used, 1s can produce 1250 data, and there are about 2500 data for each duty cycle. For convenience and accuracy of calculation, the data corresponding to each duty ratio is calculated by taking the data of more stable 200ms, 250 acceleration data are obtained every 200ms according to the sampling frequency, and a generated curve is shown in fig. 4.
Calculating the number of complete sine waves within 200ms of each duty ratio, wherein each sine wave represents one rotation of the motor, and the number N of the sine waves of 200ms is equivalent to the number N of the sine waves of 1min, and the calculation formula is as follows: n = N (1 × 60 × 1000/200), it is thus possible to obtain an actual speed of the motor N for each duty cycle. The same type of bracelet is selected for use, the operations are carried out respectively, and the actual data obtained through calculation are shown in figure 5.
From the duty cycle versus motor average speed data of fig. 5, a plot can be drawn as shown in fig. 6. As can be seen from the curve of fig. 6, the curve can be approximately divided into segments of a three-part linear relationship, which is as follows:
if the duty ratio is set as D and the rotating speed is set as N, then
When the D is more than or equal to 40 percent and less than 70 percent, N =6126(D-40%) +6225;
when the D is more than or equal to 70 percent and less than 80 percent, N =34130(D-70%) +8062;
when D is more than or equal to 80% and less than or equal to 100%, N =11250(D-80%) + 11475.
The above three-segment linear relationship can be used as a motor standard curve for detection and calibration of the bracelet vibration motor. And the three-segment linear relation obtained above can be written into code generation firmware and burned into a bracelet.
In the acquisition step 102, acceleration data generated when the vibration motor driven by PWM with a predetermined duty ratio rotates within a predetermined time period is acquired using a three-axis acceleration sensor fixed on the same substrate as the vibration motor. Namely, the motor is set to work for a period of time at a constant frequency and a certain duty ratio, and acceleration data in the working process of the motor is acquired through an acceleration sensor. In the specific example of the bracelet, the three-segment linear relationship described above can be used as a standard curve of the motor, the motor is driven by selecting duty ratios such as representative 55%, 75% and 90%, and setting the frequency of the PWM driving motor to 5k, and the generated acceleration data is collected. Of course, in other embodiments, it is not excluded that other duty cycles than 55%, 75%, 90% may be used.
In a calculation step 104, the vibration motor speed is calculated from the number of sine waves in the curve determined from the collected acceleration data. In order to facilitate and correct the calculation, in one embodiment, the data corresponding to each duty cycle is used to calculate the data with a relatively stable middle time of 200ms, and the sampling frequency indicates that 250 acceleration data are generated every 200 ms. Then, the number of complete sine waves within 200ms of each duty ratio is calculated, each sine wave represents one rotation of the motor, the number N of the sine waves of 200ms is equivalent to the number N of the sine waves of 1min, and the calculation formula is as follows: n = N (1 × 60 × 1000/200), so that the actual speed N of the motor can be obtained for each duty cycle.
In the comparing and determining step 106, the calculated rotation speed of the vibration motor is compared with the standard rotation speed corresponding to the PWM with the corresponding duty ratio, and if the rotation speed difference is smaller than the predetermined qualified threshold, it is determined that the detected vibration motor is qualified. In a specific example of a bracelet, the qualified threshold may be set such that an absolute value of a difference between a measured value and a rotation speed corresponding to a standard curve of the motor is less than or equal to 200; the unqualified threshold value can be set to be more than or equal to 600 according to the absolute value of the difference between the measured value and the rotating speed corresponding to the motor standard curve; and a calibratable threshold range if the absolute value of the difference between the measured value and the motor standard curve is greater than a qualified threshold, e.g., 200, and less than a disqualified threshold, e.g., 600. If the qualified condition is met, the motor is considered to work normally, calibration is not carried out, and the motor is directly considered as a qualified product. In addition, in other embodiments, other values that may set the pass and fail thresholds to around 200 and 600 are not excluded.
In the calibration step 108, if the rotation speed difference is greater than the predetermined qualified threshold but less than the predetermined unqualified threshold, the PWM duty ratio of the driving motor is compensated and calibrated by using the duty ratio difference corresponding to the rotation speed difference. And (4) screening the detected motor to judge whether the motor reaches the calibration condition, if so, calculating to obtain a calibration value, and storing the calibration value. The duty ratio of the PWM is finely adjusted through the calibration value, and the rotating speed of the motor is controlled, so that the aim of calibrating the vibration effect of the vibration motor is fulfilled.
In an example of testing nine bracelets according to the above process, testing nine machines yields data as shown in fig. 7. The conclusion can be drawn from the data shown in FIG. 7: bracelet 1#, bracelet 2#, bracelet 3#, bracelet 4#, and bracelet 5# are qualified; bracelet 6# and bracelet 8# are required to be calibrated; bracelet 7# is unqualified.
Wherein bracelet 6# first linearity and third linearity do not do the calibration, and the second linearity calibration calculates as follows:
from N =34130(D-70%) + 8062D = (N-8062)/34130+ 70%; and substituting the actual rotating speed N =9450 into a formula to obtain D =74.1%, so that the calibration value is 75% -74.1% =0.9%, namely the compensation duty ratio is 0.9%.
The first linearity, the second linearity and the third linearity of the bracelet 8# are all calculated by calibration as follows:
the first linearity is represented by N =6126(D-40%) + 6225D = (N-6225)/6126+ 40%; substituting the actual rotating speed N =6805 into a formula to obtain D =49.5%, so that the calibration value is 55% -49.5% =5.5%, namely the compensation duty ratio is 5.5%;
the second linearity is represented by N =34130(D-70%) + 8062D = (N-8062)/34130+ 70%; substituting the actual rotating speed N =9441 into a formula to obtain D =74%, so that the calibration value is 75% -74% =1%, namely the compensation duty ratio is 1%;
the third linearity is represented by N =11250(D-80%) + 11475D = (N-11475)/11250+ 80%; and substituting the actual rotating speed N =12060 into a formula to obtain D =85.2%, so that the calibration value is 90% -85.2% =4.8%, namely the compensation duty ratio is 4.8%.
In the output step 110, the method is used to output the detection result. For example, in one embodiment, the detection result is displayed through a display, or a voice, light or other mode is adopted, and when the detected motor is a defective product, an alarm is given, so that the purpose of screening is achieved.
As shown in fig. 8, which is a schematic flow chart of a vibration motor detection process according to an embodiment of the present invention, a vibration motor detection mode is entered in block 700, a three-axis acceleration sensor is turned on in block 702 (i.e., step 102), and then a motor is driven to rotate according to the set PWM in block 704; next, at block 706, it is determined whether the triaxial acceleration sensor has reached the sample duration; if not, then acceleration data continues to be collected at block 708; if so, block 710 is entered to stop the vibration motor from rotating and the tri-axial acceleration sensor is stopped at block 712. Next, in block 714, acceleration data processing is performed to obtain an actual motor speed (i.e., step 104). Then, at block 716, comparing whether the actual rotation speed is consistent with the rotation speed corresponding to the duty ratio of the set PWM (i.e., step 106); if so, then at block 718 it is determined that the vibration motor is functioning properly, and then at block 728 the motor test mode is exited; if the actual speed is not consistent with the speed corresponding to the set PWM duty cycle, block 716, block 720 is entered, it is determined whether the difference is within a calibratable range, if so, block 722 is entered for calibration and the calibration value is saved (i.e., step 108), and then block 728 is entered to exit the motor test mode; if it is determined at block 720 that the difference is not within the calibratable range, the motor is determined to be defective at block 724, and an alarm prompt is entered at block 726 (i.e., step 110), followed by exiting the motor test mode at block 728.
Although the steps in the above embodiments are described in a certain order, this is not a limitation, and is only for convenience of description. For example, there is no order limitation between the calibration step and the output step.
As shown in fig. 9, a schematic block diagram of a vibration motor detection apparatus 800 according to an embodiment of the present invention mainly includes: an acquisition module 803, a calculation module 805, and a comparison and judgment module 807; in other embodiments, it further optionally comprises: a setup module 801, a calibration module 809, and/or an output module 811. Wherein,
-a setting module 801 for executing step 100, which can be implemented by a processor, and an acceleration sensor, a memory, etc. under the control of the processor, and sets an average value of a plurality of motor rotation speeds corresponding to different duty ratios as a standard rotation speed corresponding to the corresponding duty ratio by detecting the rotation speeds of a plurality of motor samples under PWM driving with different duty ratios;
-an acquisition module 803 for executing step 102, which can be implemented by a processor, and a timer, an acceleration sensor, etc. under the control of the processor, and acquires acceleration data generated when the vibration motor driven by PWM with a predetermined duty ratio rotates within a predetermined time period by a three-axis acceleration sensor fixed on the same substrate as the vibration motor;
-a calculation module 805 for performing step 104, which module may be implemented by a processor or the like, for calculating the vibration motor rotation speed from the number of sine waves in the curve determined from the acquired acceleration data;
-a comparing and determining module 807 for executing step 106, which may be implemented by a processor, a memory, and the like, for comparing the calculated rotation speed of the vibration motor with a standard rotation speed corresponding to PWM of a corresponding duty ratio, and if the rotation speed difference is smaller than a predetermined qualified threshold, determining that the detected vibration motor is qualified;
-a calibration module 809 for executing step 108, which can be implemented by the processor, the memory, and the like, and when the rotation speed difference is greater than the predetermined qualified threshold but less than the predetermined unqualified threshold, performing compensation calibration on the PWM duty ratio of the driving motor by using the duty ratio difference corresponding to the rotation speed difference; and
output module 811 is for performing step 110, which may be implemented by a processor, and a display, a speaker, and/or a flash under control of the processor, for outputting the detection result.
In one embodiment, the vibration motor detection apparatus according to the embodiment of the present invention may be implemented independently, as shown in fig. 10, and includes: a base plate 900, such as a PCB plate, on which a mounting portion adapted to fix a vibration motor 902 to be detected is provided; a three-axis acceleration sensor 904 fixed on the substrate; a motor driving circuit (not shown in the figure) for driving the vibration motor with different PWM of a predetermined duty ratio; and a controller (or processor) 906 connected with the three-axis acceleration sensor and the motor driving circuit; wherein the controller is configured to calculate a vibration motor speed from the number of sine waves in the curve determined from the collected acceleration data; and comparing the calculated rotating speed of the vibration motor with the standard rotating speed corresponding to the PWM with the corresponding duty ratio, and if the rotating speed difference value is smaller than a preset qualified threshold value, determining that the detected vibration motor is qualified.
In still another embodiment, the vibration motor detecting apparatus further includes a storage unit (not shown) for storing the standard rotation speed corresponding to the PWM of the corresponding duty ratio. In another embodiment, the vibration motor detection device further comprises an output component (not shown in the figure) for outputting the detection result.
In yet another embodiment, the controller is further configured to perform compensation calibration on the PWM duty cycle of the drive motor using a duty cycle difference corresponding to the rotational speed difference if the rotational speed difference is greater than a predetermined pass threshold but less than a predetermined fail threshold.
In another embodiment, the controller is further configured to select acceleration data collected during a period of time in which the rotation of the vibration motor driven by PWM with a predetermined duty ratio is stable for a predetermined period of time, for calculating the rotation speed of the vibration motor.
In yet another embodiment, the controller is further configured to stop driving for a predetermined time interval while varying the different predetermined duty cycles of the PWM to drive the vibration motor.
The vibration motor detection device according to the embodiment of the present invention may also be implemented in other electronic products, including: the vibration test system comprises a triaxial acceleration sensor, a vibration motor, a motor driving circuit, a memory and a controller, wherein the triaxial acceleration sensor and the vibration motor are fixed on the same PCB or a rigid substrate; the controller is configured to calculate a vibration motor speed from the number of sine waves in the curve determined from the collected acceleration data; and comparing the calculated rotating speed of the vibration motor with the standard rotating speed corresponding to the PWM with the corresponding duty ratio, and if the rotating speed difference value is smaller than a preset qualified threshold value, determining that the detected vibration motor is qualified. In one embodiment, the controller is further configured to perform compensation calibration on the PWM duty cycle of the drive motor using a duty cycle difference corresponding to the rotational speed difference if the rotational speed difference is greater than a predetermined pass threshold but less than a predetermined fail threshold. In yet another embodiment, the controller is further configured to select acceleration data collected during a period of time in which the rotation of the vibration motor driven with PWM of a predetermined duty ratio is stable for a predetermined period of time for calculating the vibration motor rotation speed. In another embodiment, the controller is further configured to stop driving for a predetermined time interval while varying the different PWM of the predetermined duty cycle to drive the vibration motor.
The present invention has been described above with reference to specific examples, but the present invention is not limited to these specific examples. It should be understood by those skilled in the art that various modifications, equivalents, changes, and the like can be made to the present invention, for example, one step or module in the above-described embodiments is divided into two or more steps or modules to realize, or conversely, the functions of two or more steps or modules in the above-described embodiments are put into one step or module to realize. However, such variations are within the scope of the invention as long as they do not depart from the spirit of the invention. In addition, certain terminology is used in the description and claims of the present application for purposes of description only and is not limiting. Furthermore, the various references above to "one embodiment," "another embodiment," and so forth, refer to different embodiments, which may, of course, be combined in whole or in part in a single embodiment.

Claims (11)

1. A vibration motor detection method, comprising:
an acquisition step, namely acquiring acceleration data generated when a vibration motor driven by PWM with a preset duty ratio rotates within a preset time period by using a three-axis acceleration sensor fixed on the same substrate as the vibration motor;
calculating, namely calculating the rotating speed of the vibration motor according to the number of sine waves in a curve determined by the acquired acceleration data; and
and a comparison and judgment step, comparing the calculated rotating speed of the vibration motor with a standard rotating speed corresponding to PWM of a corresponding duty ratio, and if the rotating speed difference value is smaller than a preset qualified threshold value, judging that the detected vibration motor is qualified.
2. The vibration motor detecting method according to claim 1, further comprising:
and a setting step, namely setting the average value of the rotating speeds of the plurality of motors corresponding to different standard duty ratios as the standard rotating speed corresponding to the corresponding standard duty ratio by detecting the rotating speeds of the plurality of standard motor samples under the PWM driving of different standard duty ratios.
3. The vibration motor detecting method according to claim 1, further comprising:
and a calibration step, if the rotation speed difference value is larger than a preset qualified threshold value but smaller than a preset unqualified threshold value, performing compensation calibration on the duty ratio of the PWM of the driving motor by using the duty ratio difference value corresponding to the rotation speed difference value.
4. The vibration motor detecting method according to claim 1, further comprising:
and an output step for outputting the detection result.
5. The vibration motor detecting method according to claim 1, wherein: and in the acquisition step, when PWM with different preset duty ratios is converted to drive the vibration motor, the driving is stopped for a preset time interval.
6. The vibration motor detecting method according to claim 1, wherein: in the calculating step, acceleration data collected in a time period in which the vibration motor driven by PWM with a preset duty ratio is stable in rotation in a preset time period is selected to be used for calculating the rotation speed of the vibration motor.
7. A vibration motor detecting apparatus, comprising:
the acquisition module is used for acquiring acceleration data generated when the vibration motor driven by PWM with a preset duty ratio rotates within a preset time period;
the calculation module is used for calculating the rotating speed of the vibration motor according to the number of sine waves in a curve determined by the acquired acceleration data; and
and the comparison and judgment module is used for comparing the calculated rotating speed of the vibration motor with the standard rotating speed corresponding to the PWM with the corresponding duty ratio, and if the rotating speed difference value is smaller than a preset qualified threshold value, the detected vibration motor is qualified.
8. The vibration motor detecting apparatus as claimed in claim 7, further comprising:
and the setting module is used for setting the average value of the rotating speeds of the plurality of motors corresponding to different standard duty ratios as the standard rotating speed corresponding to the corresponding standard duty ratio by detecting the rotating speeds of the plurality of standard motor samples under the PWM driving of different standard duty ratios.
9. The vibration motor detecting apparatus as claimed in claim 7, further comprising:
and the calibration module is used for performing compensation calibration on the PWM duty ratio of the driving motor by using the duty ratio difference value corresponding to the rotation speed difference value when the rotation speed difference value is greater than the preset qualified threshold value but less than the preset unqualified threshold value.
10. The vibration motor detecting apparatus as claimed in claim 7, further comprising:
and the output module is used for outputting the detection result.
11. An electronic product, comprising: the vibration test system comprises a triaxial acceleration sensor, a vibration motor, a motor driving circuit, a memory and a controller, wherein the triaxial acceleration sensor and the vibration motor are fixed on the same PCB or a rigid substrate; it is characterized by also comprising: the vibration motor detecting device according to any one of claims 7 to 10.
CN201711430015.1A 2017-12-26 2017-12-26 Vibration motor detection method and device and electronic product comprising device Pending CN107966661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711430015.1A CN107966661A (en) 2017-12-26 2017-12-26 Vibration motor detection method and device and electronic product comprising device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711430015.1A CN107966661A (en) 2017-12-26 2017-12-26 Vibration motor detection method and device and electronic product comprising device

Publications (1)

Publication Number Publication Date
CN107966661A true CN107966661A (en) 2018-04-27

Family

ID=61994775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711430015.1A Pending CN107966661A (en) 2017-12-26 2017-12-26 Vibration motor detection method and device and electronic product comprising device

Country Status (1)

Country Link
CN (1) CN107966661A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919118A (en) * 2018-06-29 2018-11-30 Oppo广东移动通信有限公司 Motor cycle of oscillation measurement method, device, terminal and storage medium
CN109324845A (en) * 2018-10-11 2019-02-12 卡瓦科尔牙科医疗器械(苏州)有限公司 The calibration of dentistry planting machine motor for cell phone prompts algorithm
CN111044290A (en) * 2019-12-29 2020-04-21 歌尔股份有限公司 Detection method and detection system of linear motor
CN111351998A (en) * 2019-12-25 2020-06-30 瑞声科技(新加坡)有限公司 Motor polarity determination method and device, storage medium and equipment
CN111624484A (en) * 2020-05-28 2020-09-04 歌尔科技有限公司 Automatic calibration method and system for vibration motor and electronic device
WO2020211105A1 (en) * 2019-04-18 2020-10-22 瑞声声学科技(深圳)有限公司 Motor drive signal setting method, electronic device, and storage medium
WO2020211106A1 (en) * 2019-04-18 2020-10-22 瑞声声学科技(深圳)有限公司 Motor drive signal setting method, electronic device and storage medium
CN112470016A (en) * 2018-07-17 2021-03-09 施乐百有限公司 Method and system for evaluating vibration behavior of an electric motor
WO2021128013A1 (en) * 2019-12-24 2021-07-01 瑞声声学科技(深圳)有限公司 Vibration signal calibration method, storage medium, and electronic device
CN113612419A (en) * 2021-08-04 2021-11-05 深圳职业技术学院 Method and system for controlling brushless direct current motor to work stably
WO2021243616A1 (en) * 2020-06-03 2021-12-09 瑞声声学科技(深圳)有限公司 Method for searching motor unit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183844A (en) * 2006-11-14 2008-05-21 株式会社电装 Motor drive apparatus and method
CN201409154Y (en) * 2009-03-13 2010-02-17 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal
CN102439956A (en) * 2011-09-27 2012-05-02 华为终端有限公司 Method, device and terminal for adjusting vibration frequency of vibration element in terminal
CN102536867A (en) * 2010-12-16 2012-07-04 盖茨股份有限公司 System for controlling the speed of a radiator fan
CN105572587A (en) * 2015-12-08 2016-05-11 惠州Tcl移动通信有限公司 Mobile terminal motor automatic detection method and system
CN105866473A (en) * 2016-02-24 2016-08-17 安徽华米信息科技有限公司 Motor vibration acceleration measurement method and apparatus thereof
CN106772033A (en) * 2016-11-30 2017-05-31 维沃移动通信有限公司 A kind of method and mobile terminal for testing motor driveability

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183844A (en) * 2006-11-14 2008-05-21 株式会社电装 Motor drive apparatus and method
CN201409154Y (en) * 2009-03-13 2010-02-17 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal
CN102536867A (en) * 2010-12-16 2012-07-04 盖茨股份有限公司 System for controlling the speed of a radiator fan
CN102439956A (en) * 2011-09-27 2012-05-02 华为终端有限公司 Method, device and terminal for adjusting vibration frequency of vibration element in terminal
CN105572587A (en) * 2015-12-08 2016-05-11 惠州Tcl移动通信有限公司 Mobile terminal motor automatic detection method and system
CN105866473A (en) * 2016-02-24 2016-08-17 安徽华米信息科技有限公司 Motor vibration acceleration measurement method and apparatus thereof
CN106772033A (en) * 2016-11-30 2017-05-31 维沃移动通信有限公司 A kind of method and mobile terminal for testing motor driveability

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋丽敏: "《汽油发动机电控系统检修》", 30 September 2013, 中国铁道出版社 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919118B (en) * 2018-06-29 2020-08-07 Oppo广东移动通信有限公司 Motor oscillation period measuring method, device, terminal and storage medium
CN108919118A (en) * 2018-06-29 2018-11-30 Oppo广东移动通信有限公司 Motor cycle of oscillation measurement method, device, terminal and storage medium
CN112470016A (en) * 2018-07-17 2021-03-09 施乐百有限公司 Method and system for evaluating vibration behavior of an electric motor
CN112470016B (en) * 2018-07-17 2024-03-29 施乐百有限公司 Method and system for evaluating vibration behavior of motor
CN109324845A (en) * 2018-10-11 2019-02-12 卡瓦科尔牙科医疗器械(苏州)有限公司 The calibration of dentistry planting machine motor for cell phone prompts algorithm
WO2020211106A1 (en) * 2019-04-18 2020-10-22 瑞声声学科技(深圳)有限公司 Motor drive signal setting method, electronic device and storage medium
WO2020211105A1 (en) * 2019-04-18 2020-10-22 瑞声声学科技(深圳)有限公司 Motor drive signal setting method, electronic device, and storage medium
WO2021128013A1 (en) * 2019-12-24 2021-07-01 瑞声声学科技(深圳)有限公司 Vibration signal calibration method, storage medium, and electronic device
CN111351998A (en) * 2019-12-25 2020-06-30 瑞声科技(新加坡)有限公司 Motor polarity determination method and device, storage medium and equipment
CN111351998B (en) * 2019-12-25 2022-04-29 瑞声科技(新加坡)有限公司 Motor polarity determination method and device, storage medium and equipment
CN111044290B (en) * 2019-12-29 2022-03-11 歌尔光学科技有限公司 Detection method and detection system of linear motor
CN111044290A (en) * 2019-12-29 2020-04-21 歌尔股份有限公司 Detection method and detection system of linear motor
CN111624484A (en) * 2020-05-28 2020-09-04 歌尔科技有限公司 Automatic calibration method and system for vibration motor and electronic device
WO2021243616A1 (en) * 2020-06-03 2021-12-09 瑞声声学科技(深圳)有限公司 Method for searching motor unit
CN113612419A (en) * 2021-08-04 2021-11-05 深圳职业技术学院 Method and system for controlling brushless direct current motor to work stably
CN113612419B (en) * 2021-08-04 2024-05-03 深圳职业技术学院 Method and system for controlling stable operation of brushless DC motor

Similar Documents

Publication Publication Date Title
CN107966661A (en) Vibration motor detection method and device and electronic product comprising device
CN103331506B (en) Detection method for handheld terminal for detecting automatic welding equipment
CN107566726B (en) A kind of method and device correcting rotating camera rotation angle
CN109406407B (en) Dynamic response time detection device and method for infrared laser methane concentration measuring instrument
US9759636B2 (en) Synchronized measurements for a portable multi-channel wireless sensor system
CN202676734U (en) Automobile wheel speed sensor on-line detection system
CN104458762B (en) Digital optical fiber sensor-based detection method for quality of ABS gear ring
CN203642908U (en) Laser range finding sensor
CN205120929U (en) Motor aging testing system
US8866897B2 (en) Image pickup device and image pickup method for the same
CN204165527U (en) Knob line pick-up unit
CN109341504B (en) Method for automatically calibrating position coordinates of platform
CN204479140U (en) The analoging detecting device of axle rotary metering error
CN106872085B (en) Automatic testing arrangement of unmanned aerial vehicle horn kinetic energy efficiency
CN107621579B (en) Touch debugging method of touch screen
CN105527572A (en) System and method for detecting brush motor
JP2020085836A (en) Analysis apparatus and analysis program
CN213600734U (en) Speed sensor testing device
CN110095068B (en) Method and device for reducing length metering error in lithium battery physical defect quality inspection process
CN109143020B (en) PCB testing method, device and testing equipment
CN111220843A (en) Signal level duration time measuring method and device
KR101421672B1 (en) robot vision monitoring system using trigger signal, and method thereof
CN206248098U (en) Gyro phase shift test device in the used groups of MEMS
CN110849473A (en) Sunlight sensor ambient light test system
CN117111576B (en) Driver test apparatus and driver test method using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427

RJ01 Rejection of invention patent application after publication