CN106772033B - A kind of method and mobile terminal for testing motor driveability - Google Patents

A kind of method and mobile terminal for testing motor driveability Download PDF

Info

Publication number
CN106772033B
CN106772033B CN201611087045.2A CN201611087045A CN106772033B CN 106772033 B CN106772033 B CN 106772033B CN 201611087045 A CN201611087045 A CN 201611087045A CN 106772033 B CN106772033 B CN 106772033B
Authority
CN
China
Prior art keywords
motor
gravimetric data
driveability
preset value
time stamp
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.)
Active
Application number
CN201611087045.2A
Other languages
Chinese (zh)
Other versions
CN106772033A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611087045.2A priority Critical patent/CN106772033B/en
Publication of CN106772033A publication Critical patent/CN106772033A/en
Application granted granted Critical
Publication of CN106772033B publication Critical patent/CN106772033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The present invention relates to mobile communication fields, provide a kind of method and mobile terminal for testing motor driveability, and the method for the test motor driveability is applied to mobile terminal comprising: send a motor drive signal drive motor vibration;Acquire the gravimetric data and corresponding output time stamp of motor vibration;Gravimetric data and corresponding output time stamp to acquisition are compared with preset value, and according to comparison result, judge the driveability of motor;Wherein, the driveability of motor includes normally, needs replacing and need to calibrate.The method of Test driver performance of the present invention is not necessarily to manual intervention, and test is simple accurate, alleviates the workload of producers, reduces production cost;Motor driveability can be tested and be calibrated to the mobile terminal, bring the better using effect of user.

Description

A kind of method and mobile terminal for testing motor driveability
Technical field
The present invention relates to mobile communication field more particularly to a kind of methods and mobile terminal for testing motor driveability.
Background technique
Vibration prompting when motor receives information for generating is equipped in current mobile terminal, to guarantee same type Number the motor seismaesthesia consistency of mobile terminal motor driveability must be tested, the test of motor driveability at present All be manual testing, this test job intensity is big, and due to the feeling of each producers difference, can not precise and high efficiency sentence Whether disconnected motor driveability reaches requirement;Simultaneously as user uses the increase of time, motor aging, the driveability of motor It decreases, user can not calibrate motor.
Summary of the invention
The embodiment of the invention provides a kind of methods and mobile terminal for testing motor driveability, can overcome the prior art In the status that motor driveability can not manually can only be tested, realize the automatic test to mobile terminal motor and school It is quasi-.
On the one hand, a kind of method for testing motor driveability provided in an embodiment of the present invention comprising:
Send a motor drive signal drive motor vibration;
Acquire the gravimetric data and corresponding output time stamp of motor vibration;
Gravimetric data and corresponding output time stamp to acquisition are compared with preset value, and according to comparison result, are sentenced The driveability of disconnected motor;
Wherein, the driveability of motor includes normally, needs replacing and need to calibrate.
It is provided in an embodiment of the present invention test motor driveability method, using reflection motor vibration gravimetric data and Corresponding output time stamp, allows mobile terminal to be tested automatically, is not necessarily to manual intervention, and test is simple accurate, alleviates production people The workload of member, reduces production cost.
On the other hand, the embodiment of the invention provides a kind of mobile terminals characterized by comprising
Drive module is shaken for sending driving signal with drive motor;
Induction module shakes for induction motor and exports gravimetric data;
Acquisition module, for acquiring the gravimetric data;
Timing module, for acquiring the corresponding output time stamp of the gravimetric data;
Judgment module, for acquisition gravimetric data and output time stamp be compared with preset value, judge motor Driveability.
Motor driveability can be tested and be calibrated to mobile terminal provided in an embodiment of the present invention, and convenient test is accurate, brings The better using effect of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for test motor driveability that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of mobile terminal provided by Embodiment 2 of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment one:
Fig. 1 is a kind of flow diagram of the method for test motor driveability provided in this embodiment.
Referring to Fig.1, the present invention provides a kind of method for testing motor driveability, it is applied to mobile terminal, feature It is, comprising:
Step S11 sends a motor drive signal drive motor vibration;
The gravimetric data and corresponding output time stamp of step S12 acquisition motor vibration;
Step S13 is compared the gravimetric data of acquisition and corresponding output time stamp with preset value, and according to comparing As a result, judging the driveability of motor;
Wherein, the driveability of motor includes normally, needs replacing and need to calibrate.
The method that motor driveability is tested described in the present embodiment, it is defeated using the gravimetric data and correspondence of reflection motor vibration Timestamp out allows mobile terminal to analyze automatically the gravimetric data of acquisition and output time stamp, is not necessarily to manual intervention, mitigates The workload of producers, reduces production cost.
Step S11 described above sends the step of motor drive signal drive motor vibration, specifically: send one The PWM wave drive motor vibration of 1KHz, 50% duty ratio, sending time continue 30 seconds.
The step of gravimetric data and corresponding output time stamp of step S12 acquisition motor vibration described above, specifically: When motor vibration, at least one gravimetric data An, the corresponding output time stamp Bn of each gravimetric data An are acquired.
Step S13 described above is compared the gravimetric data of acquisition and corresponding output time stamp with preset value, and According to comparison result, the step of judging the driveability of motor, specifically:
The preset value includes the first preset value A1, and gravimetric data An is taken to be greater than or equal to each time of the first preset value A1 Stab B1n, the time difference tn of each adjacent two B1n;Seek the average value T of all tn;
If T=1ms, then judge that the driveability of motor is normal.
First preset value A1 described above is the gravimetric data of the gravity sensor output when gravity is equal to 1200mg, if An Maximum value Amax is less than A1 or T ≠ 1ms, then judges the driveability of motor to need replacing.
Preset value described above further includes that the second preset value A2, the second preset value A2 is the gravity when gravity is equal to 1300mg The gravimetric data of sensor output, the first preset value A1 are the gravity of the gravity sensor output when gravity is equal to 1200mg Data,
If T ≠ 1ms, and the size of An maximum value Amax is A1≤Amax≤A2, then judges the driveability of motor to need It calibrates.
The method of test motor driveability of the present invention, it is simple and convenient, it is advantageously implemented the standard of production Change.
Embodiment two:
Fig. 2 is the structural schematic diagram of mobile terminal provided in this embodiment.
Referring to Fig. 2, mobile terminal 200 provided in this embodiment characterized by comprising
Motor 201,
Drive module 203, for sending driving signal with the vibration of drive motor 201;
Induction module 202 shakes for induction motor 201 and exports gravimetric data;
Acquisition module 204, for acquiring the gravimetric data;
Timing module 205, for acquiring the corresponding output time stamp of the gravimetric data;
Judgment module 206, for acquisition gravimetric data and output time stamp be compared with preset value, judge motor 201 driveability.
Induction module 202 described above is gravity sensor.
Drive module 203, acquisition module 204, timing module 205 and judgment module 206 described above are integrated at It manages in device 207.
Mobile terminal 200 provided in this embodiment, can test and calibrate the driveability of motor 201, and convenient test is accurate, Motor vibration is required to realize standardization, brings the better using effect of user.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (6)

1. a kind of method for testing motor driveability, is applied to mobile terminal characterized by comprising
Send a motor drive signal drive motor vibration;
Acquire the gravimetric data and corresponding output time stamp of motor vibration;
Gravimetric data and corresponding output time stamp to acquisition are compared with preset value, and according to comparison result, judge horse The driveability reached;
Wherein, the driveability of motor includes normally, needs replacing and need to calibrate;
Wherein, described the step of sending a motor drive signal drive motor vibration, specifically:
The PWM wave drive motor vibration of a 1KHz, 50% duty ratio are sent, sending time continues 30 seconds;
The step of gravimetric data and corresponding output time stamp of the acquisition motor vibration, specifically: when motor vibration, acquisition The corresponding output time stamp Bn of at least one gravimetric data An, each gravimetric data An;
The described pair of gravimetric data acquired and corresponding output time stamp are compared with preset value, and according to comparison result, are sentenced The step of driveability of disconnected motor, specifically:
The preset value includes the first preset value A1, and gravimetric data An is taken to be greater than or equal to each timestamp of the first preset value A1 The time difference tn of B1n, each adjacent two B1n;Seek the average value T of all tn;
If T=1ms, then judge that the driveability of motor is normal.
2. the method according to claim 1, wherein the first preset value A1 is when gravity is equal to 1200mg The gravimetric data of gravity sensor output judges that the driveability of motor is if An maximum value Amax is less than A1 or T ≠ 1ms It needs replacing.
3. the method according to claim 1, wherein the preset value further includes the second preset value A2, described Two preset value A2 are the gravimetric data of the gravity sensor output when gravity is equal to 1300mg, and the first preset value A1 is when weight The gravimetric data of gravity sensor output when power is equal to 1200mg,
If T ≠ 1ms, and the size of An maximum value Amax is A1≤Amax≤A2, then judges the driveability of motor to need school It is quasi-.
4. a kind of mobile terminal characterized by comprising
Motor,
Drive module is shaken for sending driving signal with drive motor;
Induction module shakes for induction motor and exports gravimetric data;
Acquisition module, for acquiring the gravimetric data;
Timing module, for acquiring the corresponding output time stamp of the gravimetric data;
Judgment module, for acquisition gravimetric data and output time stamp be compared with preset value, judge the driving of motor Performance;
Wherein, the drive module is specifically used for: sending the PWM wave drive motor vibration of a 1KHz, 50% duty ratio, sends Time continues 30 seconds;
The timing module is specifically used for: when motor vibration, acquiring at least one gravimetric data An, each gravimetric data An is corresponding One output time stamp Bn;
The judgment module is specifically used for, and the preset value includes the first preset value A1, and gravimetric data An is taken to be greater than or equal to the Each timestamp B1n of one preset value A1, the time difference tn of each adjacent two B1n;Seek the average value T of all tn;
If T=1ms, then judge that the driveability of motor is normal.
5. mobile terminal according to claim 4, which is characterized in that the induction module is gravity sensor.
6. mobile terminal according to claim 4 or 5, which is characterized in that the drive module, acquisition module, timing mould Block and judgment module are integrated in application processor.
CN201611087045.2A 2016-11-30 2016-11-30 A kind of method and mobile terminal for testing motor driveability Active CN106772033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611087045.2A CN106772033B (en) 2016-11-30 2016-11-30 A kind of method and mobile terminal for testing motor driveability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611087045.2A CN106772033B (en) 2016-11-30 2016-11-30 A kind of method and mobile terminal for testing motor driveability

Publications (2)

Publication Number Publication Date
CN106772033A CN106772033A (en) 2017-05-31
CN106772033B true CN106772033B (en) 2019-08-20

Family

ID=58914962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611087045.2A Active CN106772033B (en) 2016-11-30 2016-11-30 A kind of method and mobile terminal for testing motor driveability

Country Status (1)

Country Link
CN (1) CN106772033B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197071A (en) * 2017-06-28 2017-09-22 上海创功通讯技术有限公司 The motor vibration intensity calibration method and system of mobile terminal
CN107966661A (en) * 2017-12-26 2018-04-27 广东乐心医疗电子股份有限公司 A kind of vibrating motor detection method and device and the electronic product comprising the device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201869266U (en) * 2010-09-03 2011-06-15 上海华勤通讯技术有限公司 Mobile phone capable of regulating vibration according to gravity sensation
CN102439956A (en) * 2011-09-27 2012-05-02 华为终端有限公司 Method, device and terminal for adjusting vibration frequency of vibration element in terminal
CN205120930U (en) * 2015-11-05 2016-03-30 重庆市灵龙自动化设备有限公司 Cell -phone vibration motor capability test system
CN105572587A (en) * 2015-12-08 2016-05-11 惠州Tcl移动通信有限公司 Mobile terminal motor automatic detection method and system
CN106059440A (en) * 2016-05-31 2016-10-26 维沃移动通信有限公司 Mobile terminal vibration motor control method and mobile terminal
CN106154158A (en) * 2015-04-10 2016-11-23 小米科技有限责任公司 Terminal motor detecting method and device
CN106294051A (en) * 2016-09-27 2017-01-04 深圳市金立通信设备有限公司 A kind of motor detecting method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201869266U (en) * 2010-09-03 2011-06-15 上海华勤通讯技术有限公司 Mobile phone capable of regulating vibration according to gravity sensation
CN102439956A (en) * 2011-09-27 2012-05-02 华为终端有限公司 Method, device and terminal for adjusting vibration frequency of vibration element in terminal
CN106154158A (en) * 2015-04-10 2016-11-23 小米科技有限责任公司 Terminal motor detecting method and device
CN205120930U (en) * 2015-11-05 2016-03-30 重庆市灵龙自动化设备有限公司 Cell -phone vibration motor capability test system
CN105572587A (en) * 2015-12-08 2016-05-11 惠州Tcl移动通信有限公司 Mobile terminal motor automatic detection method and system
CN106059440A (en) * 2016-05-31 2016-10-26 维沃移动通信有限公司 Mobile terminal vibration motor control method and mobile terminal
CN106294051A (en) * 2016-09-27 2017-01-04 深圳市金立通信设备有限公司 A kind of motor detecting method and terminal

Also Published As

Publication number Publication date
CN106772033A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106772033B (en) A kind of method and mobile terminal for testing motor driveability
US20110314322A1 (en) Time synchronization system and server using same
US20090265138A1 (en) Testing system and method for testing a vibration function of a mobile phone
CN102077105A (en) Method for battery capacity estimation
TW200622269A (en) System and method for measuring time dependent dielectric breakdown
EP1772996A3 (en) System and method providing low power operation in a multimode communication device
TW201129811A (en) System and method for measuring capacitance
CN104467120B (en) Charging equipment and its charging method, device, electronic equipment and charging system
CN103118172A (en) Mobile terminal subscriber identity module (SIM) card compatibility testing method and system
EP2650667A3 (en) Apparatus for alarming inverter status and apparatus for analyzing motor status in mobile terminal
CN102439956A (en) Method, device and terminal for adjusting vibration frequency of vibration element in terminal
CN109672588A (en) Charging method, storage medium and processor
US8233051B2 (en) Method for testing camera function of electronic device
CN102033207A (en) Automatic test equipment of lithium battery BP protection board
US20090043529A1 (en) System and method for testing an accuracy of a real time clock
CN109194199A (en) parallel motor driver
CN106502897B (en) Test model generation method and device
EP2418778A3 (en) Method and device for supplying clock
Carloni et al. Open and flexible li-ion battery tester based on python language and raspberry pi
CN105431990B (en) The control system of the supply voltage of carried on vehicle electrical network
CN109030994B (en) Test method and system
CN1858611B (en) Verifying system, establishing method of verifying system and verifying method
FR2973884B1 (en) DEVICE FOR DIAGNOSING AN ELECTRICAL NETWORK
CN102928782B (en) Magneto test macro and method
US20130096859A1 (en) Resistance determining system

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
GR01 Patent grant
GR01 Patent grant