CN108919118B - Motor oscillation period measuring method, device, terminal and storage medium - Google Patents
Motor oscillation period measuring method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN108919118B CN108919118B CN201810713607.2A CN201810713607A CN108919118B CN 108919118 B CN108919118 B CN 108919118B CN 201810713607 A CN201810713607 A CN 201810713607A CN 108919118 B CN108919118 B CN 108919118B
- Authority
- CN
- China
- Prior art keywords
- motor
- voltage signal
- oscillation period
- test voltage
- measuring
- 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.)
- Expired - Fee Related
Links
- 230000010355 oscillation Effects 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012360 testing method Methods 0.000 claims abstract description 71
- 238000005259 measurement Methods 0.000 claims abstract description 57
- 230000008859 change Effects 0.000 claims abstract description 30
- 230000006870 function Effects 0.000 claims description 38
- 238000006243 chemical reaction Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 4
- 238000000691 measurement method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 21
- 230000000694 effects Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005483 Hooke's law Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
- G01R31/343—Testing dynamo-electric machines in operation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Electrical Machinery Utilizing Piezoelectricity, Electrostriction Or Magnetostriction (AREA)
Abstract
The application provides a motor oscillation period measuring method, a device, a terminal and a storage medium, which are applied to a camera module, wherein the camera module comprises: the method comprises the steps of detecting a test voltage signal output by the first end of the motor; and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal. Through this application, need not dispose extra laser range finder and corresponding tool, practice thrift the measurement cost for the measurement process is more simple and direct, promotes measuring effect.
Description
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for measuring a motor oscillation period, a terminal, and a storage medium.
Background
The measurement of the motor oscillation period in the related art is performed by means of laser ranging.
In this way, the laser distance measuring instrument and the corresponding jig need to be additionally configured, and an additional testing workstation needs to be added for measurement, so that the time consumption is high, the measurement cost is high, the measurement is not convenient and fast, and the measurement effect is not good.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the method, the device, the terminal and the storage medium for measuring the motor oscillation period are provided, an additional laser range finder and a corresponding jig are not required to be configured, the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved.
In order to achieve the above object, an embodiment of the present application provides a method for measuring a motor oscillation period, which is applied to a camera module, where the camera module includes: driver chip and motor, the first end of motor with the driver chip electrical property links to each other, the second end of motor links to each other with the power, includes: detecting a test voltage signal output by a first end of the motor; and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
According to the motor oscillation period measuring method provided by the embodiment of the first aspect of the application, the motor oscillation period is measured according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, an additional laser range finder and a corresponding jig are not required to be configured, the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved.
In order to achieve the above object, an embodiment of the present application provides a motor oscillation period measuring device, which is applied to a camera module, where the camera module includes: driver chip and motor, the first end of motor with the driver chip electrical property links to each other, the second end of motor links to each other with the power, includes: the detection module is used for detecting a test voltage signal output by the first end of the motor; and the measuring module is used for measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
The motor oscillation period measuring device provided by the embodiment of the second aspect of the application measures the motor oscillation period according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, does not need to be provided with an additional laser range finder and a corresponding jig, saves the measurement cost, enables the measurement process to be simpler and more convenient, and improves the measurement effect.
In order to solve the above problem, a third aspect of the present application further provides a terminal, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory is used for storing executable program codes; wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: detecting a test voltage signal output by a first end of the motor; and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
The terminal provided by the embodiment of the third aspect of the application measures the motor oscillation period according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, does not need to configure an additional laser range finder and a corresponding jig, saves the measurement cost, enables the measurement process to be simpler and more convenient, and improves the measurement effect. Motor oscillation period measurement
A fourth aspect of the present application is directed to a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform a method for measuring a motor oscillation period, the method including: detecting a test voltage signal output by a first end of the motor; and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
According to the non-transitory computer-readable storage medium provided by the embodiment of the fourth aspect of the application, the motor oscillation period is measured according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved. Motor oscillation period measurement
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a method for measuring an oscillation period of a motor according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a connection relationship between a driving chip and a motor according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a method for measuring an oscillation period of a motor according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a motor oscillation period measuring device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a motor oscillation period measuring device according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a schematic flow chart of a method for measuring an oscillation period of a motor according to an embodiment of the present application.
The present embodiment is exemplified in that the motor oscillation period measuring method is configured as a motor oscillation period measuring apparatus.
The motor oscillation period measuring method in this embodiment may be configured in a motor oscillation period measuring device, and the motor oscillation period measuring device may be disposed in an electronic device, which is not limited in this embodiment.
The present embodiment takes the case where the motor oscillation period measuring method is provided in an electronic apparatus as an example.
The motor oscillation period measuring method of the embodiment is applied to a camera module of an electronic device, and the camera module comprises: the driving device comprises a driving chip and a motor, wherein the first end of the motor is electrically connected with the driving chip, and the second end of the motor is connected with a power supply.
Among them, electronic devices such as smart phones, tablet computers, personal digital assistants, electronic books, and other hardware devices having various operating systems.
It should be noted that the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) in the electronic device in terms of hardware, and may be, for example, a related background service in the electronic device in terms of software, which is not limited to this.
The measurement of the motor oscillation period in the related art is performed by means of laser ranging.
In this way, the laser distance measuring instrument and the corresponding jig need to be additionally configured, and an additional testing workstation needs to be added for measurement, so that the time consumption is high, the measurement cost is high, the measurement is not convenient and fast, and the measurement effect is not good.
In order to solve the above technical problem, an embodiment of the present application provides a method for measuring an oscillation period of a motor, where the oscillation period of the motor is measured according to a first voltage variation condition of a test voltage signal by detecting the test voltage signal output by a first end of the motor, and no additional laser range finder or corresponding jig is required to be configured, so that a measurement cost is saved, a measurement process is simpler and faster, and a measurement effect is improved.
Referring to fig. 2, fig. 2 is a schematic diagram of a connection relationship between a driving chip and a motor in an embodiment of the present application. Fig. 2 includes: the driving chip 201 and the motor 202, the first end 2021 of the motor 202 is electrically connected to the driving chip 201, the second end 2022 of the motor 202 is connected to the power supply, and further comprising: and a voltage signal collecting pin 203, through which the voltage signal collecting pin 203 can detect the test voltage signal output by the first end of the motor.
Referring to fig. 1, the method includes:
s101: and detecting a test voltage signal output by the first end of the motor.
In the specific implementation process of the embodiment of the application, the test voltage signal output by the first end of the motor can be detected in real time; or, detecting the test voltage signal output by the first end of the motor at preset time intervals.
The motor oscillation period is measured in real time by detecting the test voltage signal output by the first end of the motor in real time, and then the focusing processing process of the camera assembly is processed according to the real-time measured motor oscillation period, so that the measurement accuracy can be guaranteed, and meanwhile, the subsequent focusing processing is indirectly facilitated.
The embodiment of the application also realizes that the test voltage signal output by the first end of the motor is detected at preset time intervals by configuring the preset time intervals, so that the flexibility of configuration of the method is effectively improved, the test voltage signal output by the first end of the motor can be detected at the preset time intervals only when actual measurement requirements are met, and the use experience of a user is improved.
Optionally, in some embodiments, referring to fig. 3, before S101, the method further includes:
s301: a conversion formula between a second voltage variation condition of the reference voltage signal and the motor oscillation period is determined.
Alternatively, a first function corresponding to the electromagnetic force when the driving chip drives the motor to vibrate may be determined; determining a second function corresponding to the induced electromotive force when the driving chip drives the motor to vibrate; determining a third function corresponding to the reference voltage signal and the induced electromotive force when the driving chip drives the motor to vibrate; a conversion formula is determined from the first function, the second function, and the third function.
In the process of executing the above conversion formula between the second voltage variation condition of the reference voltage signal and the motor oscillation period, the following working principle of the motor is considered:
the voice coil motor is an electromagnetic system, a motor coil generates corresponding electromagnetic force (ampere's law, F ═ B L I) after being electrified in a magnetic field, the electromagnetic force can make a motor carrier part separate from an original position and start to move, meanwhile, due to the movement of the carrier, an elastic sheet starts to generate elastic force (hooke's law, F ═ kx), when the elastic force, gravity and the electromagnetic force are balanced, the motor carrier gradually enters a stable state, and in the moving process of the motor coil, due to the relation of cutting the magnetic field, the corresponding induced electromotive force (E ═ B L V) can be obtained.
In the embodiment of the present application, assuming that the motor vibrates according to the electromagnetic force f (t) ═ a · sin (ω t + B) (this function may be referred to as a first function), the vibration speed may be expressed asThe induced electromotive force generated at this time is e (t) ═ B L V (t) ═ B L a · cos (ω t + B) (this function may be referred to as a second function), and a function V corresponding to the induced electromotive force and the corresponding reference voltage signal is a function V corresponding to the induced electromotive forceout=VddE (t) (this function may be referred to as a third function), and then the conversion formula V may be determined from the first function, the second function, and the third functionout=VddB L A · cos (ω t + B). The conversion formula obtained by the above calculation is knownTherefore, in the process of measuring the actual motor oscillation period, the collected voltage variation (which may be referred to as a first voltage variation) of the test voltage signal output by the first end of the motor may be directly combined with the conversion formula to measure the motor oscillation period.
S102: and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
Referring to fig. 3, the method may further include:
s302: and taking the first voltage change condition as the input of the conversion formula, and analyzing the output of the conversion formula to obtain the motor oscillation period corresponding to the test voltage signal.
In the specific execution process, the practical application experience can be combined into the motor oscillation period measuring process, so that the measurement of the motor oscillation period is more suitable for the change situation of a practical application scene, and the measurement accuracy of the motor oscillation period in another dimension is improved. In addition, the measurement of the motor oscillation period is directly carried out based on a predetermined conversion formula, so that the measurement time can be effectively saved.
In the embodiment, the motor oscillation period is measured according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved.
Fig. 4 is a schematic structural diagram of a motor oscillation period measuring apparatus according to an embodiment of the present application.
Be applied to the camera module, the camera module includes: the driving device comprises a driving chip and a motor, wherein the first end of the motor is electrically connected with the driving chip, and the second end of the motor is connected with a power supply.
Referring to fig. 4, the apparatus 400 includes:
the detecting module 401 is configured to detect a test voltage signal output by a first end of the motor.
A measuring module 402, configured to measure a motor oscillation period according to a first voltage variation condition of the test voltage signal.
Optionally, in some embodiments, referring to fig. 5, further comprising:
a determining module 403 is configured to determine a conversion formula between the second voltage variation of the reference voltage signal and the motor oscillation period.
Optionally, in some embodiments, the measurement module 402 is specifically configured to:
and taking the first voltage change condition as the input of the conversion formula, and analyzing the output of the conversion formula to obtain the motor oscillation period corresponding to the test voltage signal.
Optionally, in some embodiments, the determining module 403 is specifically configured to:
determining a first function corresponding to electromagnetic force when the driving chip drives the motor to vibrate;
determining a second function corresponding to the induced electromotive force when the driving chip drives the motor to vibrate;
determining a third function corresponding to the reference voltage signal and the induced electromotive force when the driving chip drives the motor to vibrate;
a conversion formula is determined from the first function, the second function, and the third function.
Optionally, in some embodiments, the detection module 401 is specifically configured to:
detecting a test voltage signal output by a first end of the motor in real time; or,
and detecting a test voltage signal output by the first end of the motor at preset time intervals.
It should be noted that the explanation of the embodiment of the motor oscillation period measurement method in the foregoing fig. 1-3 is also applicable to the motor oscillation period measurement device 400 of this embodiment, and the implementation principle is similar, and is not repeated here.
In the embodiment, the motor oscillation period is measured according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
The terminal can be a mobile phone, a tablet computer and the like.
Referring to fig. 6, the terminal 60 of the present embodiment includes: the shell 601, the processor 602, the memory 603, the circuit board 604, the power supply circuit 605 and the 6 circuit board 604 are arranged in a space surrounded by the shell 601, and the processor 602 and the memory 603 are arranged on the circuit board 604; a power supply circuit 605 for supplying power to each circuit or device of the terminal 60; the memory 603 is used for storing executable program code; wherein the processor 602 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 603, for performing:
detecting a test voltage signal output by a first end of the motor;
and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
It should be noted that the explanation of the embodiment of the motor oscillation period measurement method in the foregoing embodiments of fig. 1 to fig. 3 also applies to the terminal 60 of this embodiment, and the implementation principle is similar, and is not described again here.
In the embodiment, the motor oscillation period is measured according to the first voltage change condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and more convenient, and the measurement effect is improved.
To achieve the above embodiments, the present application also proposes a non-transitory computer-readable storage medium having instructions stored thereon, which when executed by a processor of a terminal, enable the terminal to perform a motor oscillation period measurement method, the method comprising:
detecting a test voltage signal output by a first end of the motor;
and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
In the non-transitory computer-readable storage medium in this embodiment, the oscillation period of the motor is measured according to the first voltage variation condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and faster, and the measurement effect is improved.
In order to implement the above embodiments, the present application also proposes a computer program product, wherein when instructions of the computer program product are executed by a processor, a method for measuring an oscillation period of a motor is performed, the method comprising:
detecting a test voltage signal output by a first end of the motor;
and measuring the motor oscillation period according to the first voltage change condition of the test voltage signal.
In the computer program product in this embodiment, the oscillation period of the motor is measured according to the first voltage variation condition of the test voltage signal by detecting the test voltage signal output by the first end of the motor, and an additional laser range finder and a corresponding jig are not required to be configured, so that the measurement cost is saved, the measurement process is simpler and faster, and the measurement effect is improved.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (8)
1. A motor oscillation period measuring method is characterized in that the method is applied to a camera module, and the camera module comprises: the driving method comprises a driving chip and a motor, wherein a first end of the motor is electrically connected with the driving chip, a second end of the motor is connected with a power supply, and the driving method comprises the following steps:
detecting a test voltage signal output by a first end of the motor;
measuring the motor oscillation period according to the first voltage change condition of the test voltage signal;
before the detecting the test voltage signal output by the first end of the motor, the method further comprises:
determining a conversion formula between a second voltage change condition of the reference voltage signal and the motor oscillation period;
the measuring the motor oscillation period according to the first voltage change condition of the test voltage signal comprises the following steps:
and taking the first voltage change condition as the input of the conversion formula, and analyzing the output of the conversion formula to obtain the motor oscillation period corresponding to the test voltage signal.
2. The motor oscillation period measuring method of claim 1, wherein determining a conversion equation between the second voltage variation of the reference voltage signal and the motor oscillation period comprises:
determining a first function corresponding to electromagnetic force when the driving chip drives the motor to vibrate;
determining a second function corresponding to induced electromotive force when the driving chip drives the motor to vibrate;
determining a third function corresponding to the reference voltage signal and the induced electromotive force when the driving chip drives the motor to vibrate;
determining the conversion formula according to the first function, the second function, and the third function.
3. The motor oscillation cycle measuring method of any one of claims 1-2, wherein said detecting a test voltage signal output by a first terminal of said motor comprises:
detecting a test voltage signal output by a first end of the motor in real time; or,
and detecting a test voltage signal output by the first end of the motor at preset time intervals.
4. The utility model provides a motor oscillation period measuring device which characterized in that is applied to in the camera module, the camera module includes: driver chip and motor, the first end of motor with the driver chip electrical property links to each other, the second end of motor links to each other with the power, the device includes:
the detection module is used for detecting a test voltage signal output by the first end of the motor;
the measuring module is used for measuring the motor oscillation period according to the first voltage change condition of the test voltage signal; further comprising:
the determining module is used for determining a conversion formula between a second voltage change condition of the reference voltage signal and the motor oscillation period;
the measurement module is specifically configured to:
and taking the first voltage change condition as the input of the conversion formula, and analyzing the output of the conversion formula to obtain the motor oscillation period corresponding to the test voltage signal.
5. The motor oscillation period measurement device of claim 4, wherein the determination module is specifically configured to:
determining a first function corresponding to electromagnetic force when the driving chip drives the motor to vibrate;
determining a second function corresponding to induced electromotive force when the driving chip drives the motor to vibrate;
determining a third function corresponding to the reference voltage signal and the induced electromotive force when the driving chip drives the motor to vibrate;
determining the conversion formula according to the first function, the second function, and the third function.
6. The motor oscillation cycle measuring device of any of claims 4-5, wherein the detection module is specifically configured to:
detecting a test voltage signal output by a first end of the motor in real time; or,
and detecting a test voltage signal output by the first end of the motor at preset time intervals.
7. A terminal comprising a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, the processor and the memory being disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory is used for storing executable program codes; wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
detecting a test voltage signal output by a first end of the motor;
measuring the motor oscillation period according to the first voltage change condition of the test voltage signal;
before the detecting the test voltage signal output by the first end of the motor, the method further comprises:
determining a conversion formula between a second voltage change condition of the reference voltage signal and the motor oscillation period;
the measuring the motor oscillation period according to the first voltage change condition of the test voltage signal comprises the following steps:
and taking the first voltage change condition as the input of the conversion formula, and analyzing the output of the conversion formula to obtain the motor oscillation period corresponding to the test voltage signal.
8. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the motor oscillation period measurement method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810713607.2A CN108919118B (en) | 2018-06-29 | 2018-06-29 | Motor oscillation period measuring method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810713607.2A CN108919118B (en) | 2018-06-29 | 2018-06-29 | Motor oscillation period measuring method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108919118A CN108919118A (en) | 2018-11-30 |
CN108919118B true CN108919118B (en) | 2020-08-07 |
Family
ID=64423946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810713607.2A Expired - Fee Related CN108919118B (en) | 2018-06-29 | 2018-06-29 | Motor oscillation period measuring method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108919118B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109696630B (en) * | 2018-12-20 | 2021-01-26 | 聚辰半导体股份有限公司 | Voice coil motor parameter self-detection method |
CN112748337B (en) * | 2019-10-31 | 2023-08-04 | 北京小米移动软件有限公司 | Electronic device, method and device for controlling motor in electronic device |
CN114001931B (en) * | 2021-11-02 | 2024-04-30 | Oppo广东移动通信有限公司 | Testing device and testing method for imaging assembly |
CN115086646A (en) * | 2022-06-09 | 2022-09-20 | 昆山丘钛微电子科技股份有限公司 | Anti-shake control method and system, test fixture and handheld device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244494A (en) * | 2010-05-13 | 2011-11-16 | 安森美半导体贸易公司 | Drive control circuit for linear vibration motor |
CN205333824U (en) * | 2016-01-25 | 2016-06-22 | 信利光电股份有限公司 | Detecting system of linear motor |
CN106101555A (en) * | 2016-07-29 | 2016-11-09 | 广东欧珀移动通信有限公司 | Focusing process method, device and the mobile terminal of mobile terminal |
CN106230341A (en) * | 2016-07-20 | 2016-12-14 | 瑞声科技(新加坡)有限公司 | Monitoring system and control method thereof |
CN107966661A (en) * | 2017-12-26 | 2018-04-27 | 广东乐心医疗电子股份有限公司 | Vibration motor detection method and device and electronic product comprising device |
CN207304404U (en) * | 2017-09-13 | 2018-05-01 | 大连海事大学 | Ship Vibration based on friction nanometer power generator can gather and intelligent monitoring device |
-
2018
- 2018-06-29 CN CN201810713607.2A patent/CN108919118B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244494A (en) * | 2010-05-13 | 2011-11-16 | 安森美半导体贸易公司 | Drive control circuit for linear vibration motor |
CN205333824U (en) * | 2016-01-25 | 2016-06-22 | 信利光电股份有限公司 | Detecting system of linear motor |
CN106230341A (en) * | 2016-07-20 | 2016-12-14 | 瑞声科技(新加坡)有限公司 | Monitoring system and control method thereof |
CN106101555A (en) * | 2016-07-29 | 2016-11-09 | 广东欧珀移动通信有限公司 | Focusing process method, device and the mobile terminal of mobile terminal |
CN207304404U (en) * | 2017-09-13 | 2018-05-01 | 大连海事大学 | Ship Vibration based on friction nanometer power generator can gather and intelligent monitoring device |
CN107966661A (en) * | 2017-12-26 | 2018-04-27 | 广东乐心医疗电子股份有限公司 | Vibration motor detection method and device and electronic product comprising device |
Also Published As
Publication number | Publication date |
---|---|
CN108919118A (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108919118B (en) | Motor oscillation period measuring method, device, terminal and storage medium | |
Ribeiro et al. | Evaluation of low-cost MEMS accelerometers for SHM: frequency and damping identification of civil structures | |
US8588867B2 (en) | Mobile terminal, method of controlling wireless charging thereof, and wireless charging system thereof | |
KR101935148B1 (en) | Method for estimating a variation in preload applied to linear guideway | |
CN105759209A (en) | battery electric quantity estimation method and device | |
CN104155044A (en) | Measuring device and measuring method for cable force of cable-stayed bridge based on mobile terminal | |
US10790688B2 (en) | Method for measuring battery parameters under discharge or charge | |
EP3370074B1 (en) | Method for detecting background noise of sensor, and device thereof | |
CN105157722B (en) | Geographic location monitoring method and equipment | |
CN104316882A (en) | Method and device for detecting residual capacity of mobile power supply | |
US20140323181A1 (en) | Accessory for data acquisition and data transfer to an external device | |
CN110456271A (en) | Detection method, device, equipment and the storage medium of motor hall signal | |
CN205862320U (en) | Computer software testing device | |
CN110287625A (en) | Performance of storage system assesses device, method, electronic equipment and storage medium | |
CN115112325A (en) | Hard disk vibration inspection equipment, system, method, device and storage medium | |
KR101173235B1 (en) | vibratory force measurement device for vibration motor using springy support members | |
KR100706325B1 (en) | Apparatus for measuring consumption power of terminal having wireless communication module and method thereof | |
CN113267247A (en) | Method and device for measuring vibration frequency of electric toothbrush and measuring instrument | |
US9594124B2 (en) | Battery charge meter testing | |
JP5536117B2 (en) | Radiation measurement system, radiation measurement method, radiation measurement program, information processing apparatus, and sensor apparatus | |
CN109579953A (en) | A kind of weight measurements and terminal, storage medium | |
CN117971604B (en) | Static current prediction method and device, storage medium and electronic equipment | |
CN103499320A (en) | Anchoring engineering quality detector and analysis method | |
RU2552177C2 (en) | Method of assessment of impact of operation of applications and their functions on energy consumption in embedded systems | |
CN211060851U (en) | Three-dimensional scanning modeling device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200807 |