Motor testing system and method, and computer storage medium
By designing a motor test system in electronic devices, using the driver chip and controller to generate and adjust the driving signals, and combining sensor detection data, the motor vibration control problem in electronic devices is solved, and the user experience and equipment stability are improved.
Patent Information
- Application Number
- CN202010516825.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-09
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is difficult to effectively control and optimize motor vibration in electronic devices, resulting in poor user experience.
A motor testing system is designed, including a driving chip and a controller, and control the motor vibration is achieved by generating driving signals, collecting data, analyzing vibration states and adjusting signals. The system also detects acceleration and amplitude data through sensors, judges the vibration mode and resonance state, and adjusts the driving signal according to the detection results to optimize the vibration effect.
Accurate control of motor vibration, improves vibration tactile experience, can calibrate resonance frequency in real time and detect motor damage, extending the service life of the equipment.
Smart Images

Figure CN111782444B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a motor testing system and method, and a computer storage medium. Background Art
[0002] The touch feedback function on electronic devices can bring users a good tactile experience. In the related art, the touch function is realized by installing a motor unit inside the electronic device. How to control the motor has always been a concern of the industry. Summary of the invention
[0003] The present disclosure provides a motor testing system and method, and a computer storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a motor testing system is provided, the motor testing system comprising:
[0005] A driving chip, used to generate a driving signal; drive the motor to vibrate through the driving signal, and collect data of the motor during the vibration process;
[0006] The controller is used to analyze the vibration state of the motor according to the data to obtain a vibration state analysis result; and adjust the drive signal according to the vibration state analysis result.
[0007] In the above solution, the motor testing system further includes:
[0008] A first sensor, used for detecting first acceleration data of the motor during vibration;
[0009] The controller is further used to control the vibration of the motor according to the first acceleration data.
[0010] In the above solution, the controller is also used for:
[0011] The vibration mode of the motor is determined according to the first acceleration data, and when the vibration mode is not within a preset vibration mode range, the amplitude of the driving signal is reduced.
[0012] In the above scheme, the first sensor is also used to detect the amplitude data of the motor during the vibration process; the controller is also used to track or calibrate the resonance state of the motor according to the amplitude data.
[0013] In the above scheme, the motor testing system also includes: a mass block, connected to the motor for driving the mass block to move; a second sensor, connected to the mass block, for detecting second acceleration data of the mass block during movement; and the controller, further for controlling the vibration of the motor according to the second acceleration data.
[0014] In the above scheme, the data of the motor during the vibration process includes voltage value and / or current value; the controller is also used to monitor and detect the vibration state of the motor according to the voltage value and / or the current value; and determine the vibration model according to the monitoring and detection results.
[0015] In the above scheme, the driving chip is also used to detect the size of the sound generated by the vibration of the motor; the controller is also used to determine whether the motor is damaged based on the size of the sound.
[0016] In the above scheme, the driving chip includes: a digital-to-analog conversion module, used to generate a driving signal; a power amplifier module connected to the digital-to-analog conversion module and the motor, used to perform power amplification processing on the driving signal and transmit the driving signal after power amplification processing to the motor; an analog-to-digital conversion module, connected to the motor, used to collect data of the motor during the vibration process.
[0017] According to a second aspect of an embodiment of the present disclosure, a motor testing method is provided, the motor testing method comprising:
[0018] Generate a driving signal; drive the motor to vibrate by the driving signal, and collect data of the motor during the vibration process;
[0019] The vibration state of the motor is analyzed according to the data to obtain a vibration state analysis result; and the drive signal is adjusted according to the vibration state analysis result.
[0020] In the above solution, the motor testing method further includes:
[0021] Detecting first acceleration data of the motor during vibration;
[0022] The vibration of the motor is controlled according to the first acceleration data.
[0023] In the above solution, the motor testing method further includes:
[0024] The vibration mode of the motor is determined according to the first acceleration data, and when the vibration mode is not within a preset vibration mode range, the amplitude of the driving signal is reduced.
[0025] In the above solution, the motor testing method further includes:
[0026] Detecting amplitude data of the motor during vibration;
[0027] The resonant state of the motor is tracked or calibrated based on the amplitude data.
[0028] In the above solution, the motor testing method further includes:
[0029] Detecting second acceleration data of the mass block during the movement; wherein the mass block is connected to the motor for driving the mass block to move;
[0030] The vibration of the motor is controlled according to the second acceleration data.
[0031] In the above solution, the data of the motor during vibration includes voltage value and / or current value;
[0032] Monitoring and detecting the vibration state of the motor according to the voltage value and / or the current value;
[0033] The vibration model is determined based on the monitoring and detection results.
[0034] In the above solution, the motor testing method further includes:
[0035] Obtaining the magnitude of the sound generated by the motor vibration;
[0036] Whether the motor is damaged is determined based on the size of the sound.
[0037] According to a third aspect of an embodiment of the present disclosure, a computer storage medium is provided, wherein executable instructions are stored in the computer storage medium, and when the executable instructions are executed by a processor, the processor executes the motor testing method described in any one of the aforementioned schemes.
[0038] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0039] In the present disclosure, the motor testing system includes: a driving chip, used to generate a driving signal; driving the motor to vibrate through the driving signal, and collecting data of the motor during the vibration process; a controller, used to analyze the vibration state of the motor according to the data to obtain a vibration state analysis result; adjusting the driving signal according to the vibration state analysis result; adopting the technical solution provided in the present disclosure, the vibration of the motor can be controlled through the motor testing system.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the description, are used to explain the principles of the present invention. In the drawings:
[0042] Figure 1 The structure frame of the motor test system according to an exemplary embodiment is shown Figure 1 ;
[0043] Figure 2 The structure frame of the motor test system according to an exemplary embodiment is shown Figure 2 ;
[0044] Figure 3 The structure frame of the motor test system according to an exemplary embodiment is shown Figure 3 ;
[0045] Figure 4 The structure frame of the motor test system according to an exemplary embodiment is shown Figure 4 ;
[0046] Figure 5 is a structural block diagram of a driver chip according to an exemplary embodiment;
[0047] Figure 6 is a flow chart showing a motor testing method according to an exemplary embodiment;
[0048] Figure 7 is a block diagram of an electronic device 800 applied to a motor test system according to an exemplary embodiment. DETAILED DESCRIPTION
[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0050] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a", "an", and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0051] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at" or "when" or "in response to determination".
[0052] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0053] This embodiment provides a motor testing system, such as Figure 1 As shown, the motor test system includes a driver chip 10 and a controller 20; wherein,
[0054] The driving chip 10 is used to generate a driving signal; drive the motor to vibrate through the driving signal, and collect data of the motor during the vibration process;
[0055] The controller 20 is used to analyze the vibration state of the motor according to the data to obtain a vibration state analysis result; and adjust the driving signal according to the vibration state analysis result.
[0056] In this embodiment, the driving signal is an electrical signal. For example, the driving signal may be a voltage signal or a current signal.
[0057] In this embodiment, the data of the motor during the vibration process includes but is not limited to the current value I of the drive signal and the voltage value V of the motor input terminal.
[0058] In this embodiment, the controller 20 may be a microcontroller (MCU), a single-chip microcomputer or a control circuit, or an application processor (AP), a central processing unit (CPU), a graphics processing unit (GPU), etc. The controller 20 is electrically connected to the driver chip 10. The controller 20 can analyze the vibration state of the motor according to the data collected by the driver chip 10 to obtain the vibration state analysis result; and adjust the driving signal output by the driver chip 10 according to the vibration state analysis result to realize the control of the vibration of the motor.
[0059] The motor testing system described in this embodiment can achieve control over motor vibration. Since the driving signal input to the motor can be adjusted according to the collected data, it helps to enhance or optimize the vibration tactile experience.
[0060] based on Figure 1 The motor test system shown, in some embodiments, Figure 2 As shown, the motor testing system also includes:
[0061] A first sensor 30, used to detect first acceleration data of the motor during vibration;
[0062] The controller 20 is further configured to control the vibration of the motor according to the first acceleration data.
[0063] Wherein, controlling the vibration of the motor includes: adjusting the frequency and / or amplitude of the driving signal.
[0064] The first sensor 30 is a sensor capable of detecting acceleration data, for example, the first sensor is an acceleration sensor.
[0065] The first acceleration data includes acceleration data on at least one of the X-axis, the Y-axis and the Z-axis.
[0066] In some embodiments, the controller 20 is further configured to:
[0067] The vibration mode of the motor is determined according to the first acceleration data, and when the vibration mode is not within a preset vibration mode range, the amplitude of the driving signal is adjusted.
[0068] Wherein, the preset vibration mode range includes: there is no acceleration signal in the X-axis and Y-axis directions.
[0069] Exemplarily, when there is an acceleration signal in the Z-axis direction but no acceleration signal in the X-axis and Y-axis directions, it is determined that the vibration mode of the motor is within the preset vibration mode range; when there is an acceleration signal in the X-axis or Y-axis direction, it is determined that the vibration mode of the motor is not within the preset vibration mode range, and adjustments are made, such as reducing the amplitude of the drive signal.
[0070] In some embodiments, the first sensor 30 is further used to detect amplitude data of the motor during vibration; the controller 20 is further used to track or calibrate the resonance state of the motor according to the amplitude data.
[0071] Among them, the controller 20 controls the driving chip 10 to output driving signals of different frequencies and amplitudes to the motor, and collects amplitude data at the same time. When the amplitude value in a certain vibration direction reaches the maximum point, the corresponding driving signal at this time is the resonant driving signal, and the corresponding frequency at this time is the resonant frequency f0.
[0072] In this way, the motor detection system can be used to track or calibrate the resonance state. The motor test system can be used to calibrate the resonance frequency f0 in the resonance state. For example, the motor test system can be used to calibrate f0 in real time at any time, such as when a temperature change is detected.
[0073] based on Figure 1 The motor test system shown, in some embodiments, Figure 3 As shown, the motor testing system also includes: a mass block 40, connected to the motor for driving the mass block 40 to move; a second sensor 50, connected to the mass block 40, for detecting second acceleration data of the mass block 40 during movement; and the controller 20, further for controlling the vibration of the motor according to the second acceleration data.
[0074] Wherein, controlling the vibration of the motor includes: adjusting the frequency and / or amplitude of the driving signal.
[0075] The second sensor 50 is a sensor capable of detecting acceleration data, for example, the second sensor is a pressure sensor.
[0076] Wherein, the second acceleration data includes: acceleration data on the Z axis.
[0077] based on Figure 1 In the motor testing system shown, in some embodiments, the data of the motor during the vibration process includes voltage value and / or current value; the controller 20 is also used to monitor and detect the vibration state of the motor according to the voltage value and / or the current value; and determine the vibration model according to the monitoring and detection results.
[0078] In some embodiments, the controller 20 determines the vibration model according to the driving signal corresponding to the monitoring and detection results.
[0079] In this way, the motor testing system can model the motor and solidify the vibration model of the motor under certain voltage and frequency conditions. When different vibration effects are required, any vibration effect can be achieved by splicing the corresponding vibration models.
[0080] In some embodiments, the motor testing system can control the driving chip 10 under the same driving waveform by the controller 20 to collect the motor vibration signal, voltage V and current I, and achieve the consistency of motor vibration by compensating the driving signal. If the resistance is consistent and the driving signal given by the signal link is consistent, the consistency detection of the vibration effect of the motor can be achieved by compensating the driving signal.
[0081] based on Figure 1In the motor testing system shown, in some embodiments, the driver chip 10 is also used to detect the size of the sound generated by the vibration of the motor; the controller 20 is also used to obtain the size of the sound generated by the vibration of the motor; and whether the motor is damaged is determined based on the size of the sound.
[0082] In some embodiments, the controller 20 determines whether the sound generated by the motor vibration exceeds a preset sound level; when the sound level exceeds the preset sound level, it is determined that the motor is damaged or there is a risk of damage to the motor.
[0083] In this way, the motor testing system can detect whether the motor is damaged, thereby helping to indicate whether the motor needs to be replaced.
[0084] Figure 4 A block diagram of a motor testing system is shown. The motor testing system generates a driving signal through a driving chip, and amplifies the driving signal to drive the motor to vibrate. When the motor vibrates, the internal magnetic field changes. The controller analyzes the vibration state of the motor through the data of the motor vibration sensed by the first sensor or the second sensor; or analyzes the vibration state through the voltage and current detected when the motor vibrates. The controller adjusts the driving signal output by the driving chip according to the motor vibration state, thereby realizing vibration control, modulation, optimization, problem analysis, etc. of the motor.
[0085] based on Figure 1 The motor test system shown is Figure 5 As shown, in some embodiments, the driver chip 10 includes: a digital-to-analog conversion module 101, used to generate a driving signal; a power amplifier module 102 connected to the digital-to-analog conversion module 101 and the motor, used to amplify the driving signal and transmit the amplified driving signal to the motor; an analog-to-digital conversion module 103, connected to the motor, used to collect data of the motor during vibration. It should be understood that Figure 5 The driver chip block diagram shown is an optional specific implementation, but is not limited to this. It should also be understood that Figure 5 The driving chip block diagram shown is only for illustrating the embodiment of the present disclosure, and those skilled in the art can Figure 5 Various obvious changes and / or substitutions can be made to the examples, and the resulting technical solutions still fall within the scope of the disclosure of the embodiments of the present disclosure.
[0086] Figure 6 is a flow chart of a motor testing method according to an exemplary embodiment. Figure 6As shown, the motor testing method is applied to an electronic device having a motor. The embodiments of the present application can be applied to various electronic devices, including but not limited to fixed terminals and mobile terminals. For example, the fixed terminals include but are not limited to: personal computers (PCs), televisions, etc.; the mobile terminals include but are not limited to: mobile phones, tablet computers, wearable devices, speakers, alarm clocks, etc. The motor testing method includes the following steps.
[0087] In step S11, a driving signal is generated; the motor is driven to vibrate by the driving signal, and data of the motor during the vibration process is collected;
[0088] In step S12, the vibration state of the motor is analyzed according to the data to obtain a vibration state analysis result; and the drive signal is adjusted according to the vibration state analysis result.
[0089] This embodiment does not limit how to generate the driving signal.
[0090] In this embodiment, the driving signal is an electrical signal. For example, the driving signal may be a voltage signal or a current signal.
[0091] In this embodiment, the data of the motor during the vibration process includes but is not limited to the current value I of the drive signal and the voltage value V of the motor input terminal.
[0092] The motor testing method described in this embodiment can achieve control over motor vibration. Since the driving signal input to the motor can be adjusted based on the collected data, it helps to enhance or optimize the vibration tactile experience.
[0093] In some embodiments, the motor testing method further comprises:
[0094] Detecting first acceleration data of the motor during vibration;
[0095] The vibration of the motor is controlled according to the first acceleration data.
[0096] Wherein, controlling the vibration of the motor includes: adjusting the frequency and / or amplitude of the driving signal.
[0097] The first acceleration data includes acceleration data on at least one of the X-axis, the Y-axis and the Z-axis.
[0098] In some embodiments, controlling the vibration of the motor according to the first acceleration data includes:
[0099] The vibration mode of the motor is determined according to the first acceleration data, and when the vibration mode is not within a preset vibration mode range, the amplitude of the driving signal is adjusted.
[0100] Wherein, the preset vibration mode range includes: there is no acceleration signal in the X-axis and Y-axis directions.
[0101] Exemplarily, when there is an acceleration signal in the Z-axis direction but no acceleration signal in the X-axis and Y-axis directions, it is determined that the vibration mode of the motor is within the preset vibration mode range; when there is an acceleration signal in the X-axis or Y-axis direction, it is determined that the vibration mode of the motor is not within the preset vibration mode range, and adjustments are made, such as reducing the amplitude of the drive signal.
[0102] In some embodiments, the motor testing method further comprises:
[0103] Detecting amplitude data of the motor during vibration;
[0104] The resonant state of the motor is tracked or calibrated based on the amplitude data.
[0105] Among them, by outputting driving signals of different frequencies and amplitudes to the motor and collecting amplitude data at the same time, when the amplitude value in a certain vibration direction reaches the maximum point, the corresponding driving signal at this time is the resonant driving signal, and the corresponding frequency at this time is the resonant frequency f0.
[0106] In this way, the motor detection system can be used to track or calibrate the resonance state. The motor test system can be used to calibrate the resonance frequency f0 in the resonance state. For example, because the vibration of the motor can be maximized at f0, the motor test system can be used to calibrate f0 in real time at any time, such as when temperature changes are detected.
[0107] In some embodiments, the motor testing method further comprises:
[0108] Detecting second acceleration data of the mass block during the movement; wherein the mass block is connected to the motor for driving the mass block to move;
[0109] The vibration of the motor is controlled according to the second acceleration data.
[0110] Wherein, controlling the vibration of the motor includes: adjusting the frequency and / or amplitude of the driving signal.
[0111] Wherein, the second acceleration data includes: acceleration data on the Z axis.
[0112] In some embodiments, the data of the motor during vibration includes voltage value and / or current value;
[0113] Monitoring and detecting the vibration state of the motor according to the voltage value and / or the current value;
[0114] The vibration model is determined based on the monitoring and detection results.
[0115] In this way, the motor testing system can model the motor and solidify the vibration model of the motor under certain voltage and frequency conditions. When different vibration effects are required, any vibration effect can be achieved by splicing the corresponding vibration models.
[0116] In some embodiments, the motor vibration signal, voltage V and current I are collected under the same driving waveform, and the consistency of the motor vibration is achieved by compensating the driving signal. If the resistance is consistent and the driving signal given by the signal link is consistent, the consistency detection of the vibration effect of the motor is achieved by compensating the driving signal.
[0117] In some embodiments, the motor testing method further comprises:
[0118] Obtaining the magnitude of the sound generated by the motor vibration;
[0119] Whether the motor is damaged is determined based on the size of the sound.
[0120] In some embodiments, judging whether the motor is damaged according to the size of the sound includes:
[0121] Determine whether the sound generated by the motor vibration exceeds the preset sound level;
[0122] When the sound volume exceeds a preset level, it is determined that the motor is damaged or there is a risk of damage to the motor.
[0123] In this way, the motor testing system can detect whether the motor is damaged, thereby helping to indicate whether the motor needs to be replaced.
[0124] The present disclosure provides an electronic device, which includes a motor and the motor testing system described above.
[0125] In this way, the motor vibration can be controlled through the motor testing system, which helps to improve or optimize the vibration tactile experience.
[0126] The embodiment of the present disclosure also records an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the motor testing method provided by any one of the aforementioned technical solutions is implemented.
[0127] The embodiment of the present application also describes a computer storage medium, in which computer executable instructions are stored, and the computer executable instructions are used to execute the motor detection method described in the above embodiments. That is, after the computer executable instructions are executed by the processor, the motor testing method provided by any of the above technical solutions can be implemented.
[0128] Those skilled in the art should understand that the functions of each program in the computer storage medium of this embodiment can be understood by referring to the relevant description of the motor testing method described in the aforementioned embodiments.
[0129] Figure 7 1 is a block diagram of an electronic device 800 to which a motor test system is applied according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0130] Reference Figure 7 The electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0131] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0132] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0133] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0134] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0135] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0136] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0137] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a complementary metal oxide semiconductor (CMOS) or a charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0138] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
[0139] In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned motor testing method.
[0140] In an exemplary embodiment, a non-transitory computer storage medium including executable instructions is also provided, such as a memory 804 including executable instructions, and the above-mentioned executable instructions can be executed by the processor 820 of the electronic device 800 to complete the above-mentioned method. For example, the non-transitory computer storage medium can be a ROM, a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0141] The technical solutions described in the embodiments of the present disclosure can be combined arbitrarily without conflict.
[0142] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0143] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A motor testing system, characterized in that: The motor testing system comprises: A driving chip, used to generate a driving signal; drive the motor to vibrate through the driving signal, and collect data of the motor during the vibration process; A controller, configured to analyze the vibration state of the motor according to the data to obtain a vibration state analysis result; and adjust the drive signal according to the vibration state analysis result; The motor testing system further comprises: A first sensor is used to detect first acceleration data of the motor during vibration; the first acceleration data includes acceleration data of the vibration motor in the direction of at least one of the X-axis, the Y-axis and the Z-axis; The controller is further used to control the vibration of the motor according to the first acceleration data; Wherein, the controller is also used for: determining a vibration mode of the motor according to the first acceleration data, and reducing the amplitude of the driving signal when the vibration mode is not within a preset vibration mode range; The vibration mode is within the preset vibration mode range, including: the first acceleration data includes acceleration data in the Z-axis direction, and does not include acceleration data in the X-axis direction and acceleration data in the Y-axis direction.
2. The motor testing system according to claim 1, characterized in that: The first sensor is further used to detect amplitude data of the motor during vibration; The controller is further used to track or calibrate the resonance state of the motor according to the amplitude data.
3. The motor testing system according to claim 1, characterized in that: The motor testing system further comprises: A mass block connected to the motor for driving the mass block to move; A second sensor, connected to the mass block, for detecting second acceleration data of the mass block during movement; The controller is further used to control the vibration of the motor according to the second acceleration data.
4. The motor testing system according to claim 1, characterized in that: The data of the motor during vibration includes voltage value and / or current value; The controller is further used to monitor and detect the vibration state of the motor according to the voltage value and / or the current value; and determine the vibration model according to the monitoring and detection results.
5. The motor testing system according to claim 1, characterized in that: The driving chip is also used to detect the size of the sound generated by the vibration of the motor; The controller is also used to determine whether the motor is damaged according to the size of the sound.
6. The motor testing system according to claim 1, characterized in that: The driver chip comprises: A digital-to-analog conversion module, used for generating a driving signal; A power amplifier module connected to the digital-to-analog conversion module and the motor, used to perform power amplification processing on the drive signal and transmit the drive signal after power amplification processing to the motor; The analog-to-digital conversion module is connected to the motor and is used to collect data of the motor during vibration.
7. A motor testing method, characterized in that: The motor testing method comprises: Generate a driving signal; drive the motor to vibrate by the driving signal, and collect data of the motor during the vibration process; Analyzing the vibration state of the motor according to the data to obtain a vibration state analysis result; and adjusting the driving signal according to the vibration state analysis result; The motor testing method further comprises: Detecting first acceleration data of the motor during vibration; the first acceleration data includes acceleration data of the vibration motor in the direction of at least one of the X-axis, the Y-axis and the Z-axis; controlling the vibration of the motor according to the first acceleration data; The motor testing method further comprises: determining a vibration mode of the motor according to the first acceleration data, and reducing the amplitude of the driving signal when the vibration mode is not within a preset vibration mode range; The vibration mode is within the preset vibration mode range, including: the first acceleration data includes acceleration data in the Z-axis direction, and does not include acceleration data in the X-axis direction and acceleration data in the Y-axis direction.
8. The motor testing method according to claim 7, characterized in that: The motor testing method further comprises: Detecting amplitude data of the motor during vibration; The resonant state of the motor is tracked or calibrated based on the amplitude data.
9. The motor testing method according to claim 7, characterized in that: The motor testing method further comprises: Detecting second acceleration data of the mass block during the movement; wherein the mass block is connected to the motor for driving the mass block to move; The vibration of the motor is controlled according to the second acceleration data.
10. The motor testing method according to claim 7, characterized in that: The data of the motor during vibration includes voltage value and / or current value; Monitoring and detecting the vibration state of the motor according to the voltage value and / or the current value; The vibration model is determined based on the monitoring and detection results.
11. The motor testing method according to claim 7, characterized in that: The motor testing method further comprises: Obtaining the magnitude of the sound generated by the motor vibration; Whether the motor is damaged is determined based on the size of the sound.
12. A computer storage medium, characterized in that: The computer storage medium stores executable instructions, and when the executable instructions are executed by the processor, the processor executes the motor testing method according to any one of claims 7 to 11.