Driving method for motor and related product thereof
By adjusting the driving power of the motor to adapt to temperature changes, the problems of motor damage and vibration consistency at low temperatures are solved, and the vibration consistency at different temperatures is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202510188331.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-06-10
AI Technical Summary
The motor may be damaged in low temperature environments, and the vibration intensity and stability are affected by temperature changes, affecting the consistency of user touch.
By obtaining the ambient temperature and actual resonant frequency of the motor, the drive power of the motor is adjusted to remain within the preset power range, ensuring that the motor provides the same vibration at different temperatures.
Effectively prevent the motor from being damaged at low temperatures, and maintain the consistency of vibration at different temperatures, improving user experience.
Smart Images

Figure CN120128039A_ABST
Abstract
Description
Technical Field
[0001] This disclosure generally relates to the technical field of electronic devices. More specifically, this disclosure relates to a driving method for a motor and related products thereof. Background Art
[0002] Vibration motors, camera diagonal motors, fan motors, and / or telescopic motors, etc. can be provided in electronic devices. Among them, the vibration motor can provide reminder functions, tactile feedback functions, or enhanced interaction experience functions, etc. Specifically, in a noisy environment or when using headphones, vibration reminder through the vibration motor can ensure that users do not miss important calls and can be used to remind users. When inputting on a virtual keyboard, the vibration motor can simulate the touch of keys to give users a more real input experience. Further, when performing certain operations (such as swiping to unlock, clicking on an icon, etc.), vibration feedback can confirm that the operation has been recognized and reduce the possibility of misoperation. In game scenarios, the vibration motor can simulate various actions and scenarios, such as explosions, collisions, shootings, etc., to enhance the immersion of the game.
[0003] However, the damping coefficient of the motor shrapnel will change non-linearly under different temperature environments. When the deformation reaches a certain degree, the motor may produce noise or even be damaged when operating under the original voltage. In addition, when the motor changes with the decrease in temperature, it will affect the intensity and stability of vibration, thereby affecting the consistency of the user's touch.
[0004] In view of this, there is an urgent need to provide a driving method for a motor and related products thereof to prevent the motor from being damaged at low temperatures. Summary of the Invention
[0005] In order to solve at least one or more of the above-mentioned technical problems, this disclosure proposes a driving method for a motor and related products thereof in multiple aspects.
[0006] In a first aspect, the present application provides a driving method for a motor, where the motor is used in an electronic device, and the method includes: obtaining the ambient temperature of the motor as a first temperature; obtaining the actual resonance frequency of the motor as a first frequency; and adjusting the driving power of the motor to a preset power range in response to the first temperature deviating from a first preset temperature and the difference between the first frequency and a preset frequency being greater than a preset difference.
[0007] In some embodiments, the electronic device includes a temperature sensor and a heating component, and the obtaining the ambient temperature of the motor includes: the temperature sensor obtains the temperature on a first area of the electronic device, where the first area is far from the heating component of the electronic device.
[0008] In some embodiments, in response to the first temperature deviating from the first preset temperature and the difference between the first frequency and the preset frequency being greater than the preset difference, adjusting the driving power of the motor includes: when the temperature is less than the preset temperature and the difference condition is satisfied when the difference between the first frequency and the preset frequency is greater than the preset difference, adjusting the driving power to the preset power range and making the adjusted first frequency satisfy the first frequency range.
[0009] In some embodiments, the preset frequency includes the resonance frequency of the electronic device under standard working conditions, and the resonance frequency is stored in the non-erasable storage space of the electronic device.
[0010] In some embodiments, the electronic device includes a first motor and a second motor used in association, the first motor includes a first elastic piece, and the second motor includes a second elastic piece; wherein, within the preset temperature range, the stiffness of the first elastic piece decreases as the temperature decreases; the stiffness coefficient of the second elastic piece increases as the temperature decreases.
[0011] In some embodiments, the electronic device includes a third motor and a fourth motor used in cooperation, the third motor includes a first resistor, and the fourth motor includes a second resistor; wherein, the first resistor and the second resistor are different, and the driving method further includes: based on the change of the first temperature, adjusting the driving power of the third motor and / or the fourth motor to change the vibration ratio of the third motor and the fourth motor, wherein the third motor and the fourth motor are used to provide an overall vibration feeling.
[0012] In some embodiments, the motor includes a coil. Before obtaining the actual resonance frequency of the motor, the driving method further includes: in response to the first temperature being less than the third preset temperature, increasing the working current passing through the coil to generate heat and increase the working / environmental temperature of the motor.
[0013] In some embodiments, the motor includes a temperature adjustment device. Obtaining the ambient temperature of the motor as the first temperature includes: obtaining the ambient temperature of the motor as the first ambient temperature; in response to the first ambient temperature deviating from the first preset temperature, using the temperature adjustment device to adjust the temperature around the motor; and obtaining the temperature around the adjusted motor as the first temperature.
[0014] In some embodiments, using the temperature adjustment device to adjust the temperature includes: setting a heat conduction channel between the motor and the heat generating component, and the heat conduction channel is used to transfer the heat emitted by the heat generating component to the motor; or setting heat insulation materials around the motor to reduce the interference of the ambient temperature on the temperature of the motor.
[0015] In some embodiments, the electronic device further includes a light-emitting component, and the motor is electrically connected to the light-emitting component such that when the light-emitting component is lit, the motor drives the electronic device to vibrate. The light-emitting component includes a plurality of lamp beads arranged in an array; or a plurality of lamp beads arranged in a strip.
[0016] In a second aspect, the present application provides an electronic device for a driving method of a motor, including: a processor; and a memory storing computer instructions for the driving method of the motor, which, when executed by the processor, enable the implementation of the method according to any one of the first aspect.
[0017] In a third aspect, the present application provides a computer-readable storage medium storing computer program instructions for the driving method of a motor, which, when executed by one or more processors, enable the implementation of the method according to any one of the first aspect.
[0018] Through the driving method of a motor and its related products provided as above, the solution disclosed in the present disclosure can prevent the motor from being damaged at low temperatures. Further, it can also enable the motor to provide the same vibration feeling at different temperatures. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features, and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the drawings, several embodiments of the present disclosure are shown in an exemplary rather than restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts, where:
[0020] Figure 1a An exemplary block diagram of a driving method 100 of a motor according to some embodiments of the present disclosure is shown;
[0021] Figure 1b A coordinate diagram showing the relationship between the frequency of the motor and the vibration amount of the motor according to some embodiments of the present disclosure is shown;
[0022] Figure 2 An exemplary block diagram of a driving method 200 of a motor according to some other embodiments of the present disclosure is shown;
[0023] Figure 3 An exemplary block diagram of a method 300 for obtaining the ambient temperature of the motor according to some embodiments of the present disclosure is shown;
[0024] Figure 4a An exemplary front view showing the positions of the motor and the light strip according to some embodiments of the present disclosure is shown;
[0025] Figure 4bAn exemplary graph showing the relationship among the ambient temperature, the resonant frequency of the motor, and the vibration amount of the motor in some embodiments of the present disclosure; and
[0026] Figure 5 A schematic block diagram of an electronic device 500 for a driving method of a motor according to an embodiment of the present application is shown. Detailed implementation manners
[0027] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are some, but not all, of the embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
[0028] It should be understood that the terms "including" and "comprising" used in the specification and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0029] It should also be understood that the terms used in the specification of the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. As used in the specification and claims of the present disclosure, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms. It should be further understood that the term "and / or" used in the specification and claims of the present disclosure refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0030] As used in the specification and claims of the present disclosure, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]" according to the context.
[0031] Next, the detailed implementation manners of the present disclosure will be described in detail with reference to the accompanying drawings.
[0032] Figure 1a An exemplary block diagram of a driving method 100 for a motor in some embodiments of the present disclosure is shown. Figure 1b A coordinate graph showing the relationship between the frequency of the motor and the vibration amount of the motor in some embodiments of the present disclosure is shown. As Figure 1a andFigure 1b As shown, the motor is used in an electronic device, and the method includes: S101 obtaining the ambient temperature of the motor as the first temperature; S102 obtaining the actual resonance frequency of the motor as the first frequency; S103 in response to the first temperature deviating from the first preset temperature and the difference between the first frequency and the preset frequency being greater than the preset difference, adjusting the driving power of the motor to the preset power range.
[0033] In some embodiments, the operating frequency of the motor can be the frequency of the periodic driving force received by the motor during operation (such as the current change frequency, mechanical rotation frequency, or vibration frequency, etc.). The operating frequency of the motor can be determined by an external excitation source, such as the rotation frequency of the motor or the frequency of an external vibration source. In some embodiments, the resonance frequency of the motor can include the frequency corresponding to the maximum amplitude during vibration.
[0034] As Figure 1b shown, Curve 1 and Curve 2 can be the vibration amounts corresponding to different motors at different frequencies. When the frequency of the motor increases from small to large, the vibration amount of the motor can first increase and then decrease. It should be understood that when the vibration amount of the motor reaches the maximum value, the frequency of the motor at this time can be the resonance frequency. In some embodiments, the operating frequency of the motor can be adjusted according to the resonance frequency of the motor. In some embodiments, the operating frequency of the motor can be higher than the resonance frequency of the motor, and the operating frequency of the motor can be lower than the resonance frequency of the motor. Further, according to Figure 1b it can be seen that the vibration amount of the motor can be the same at different frequencies. It can be understood that the operating frequency of the motor can be determined according to the usage scenario. For example, when using the mobile phone dial pad, the operating frequency of the motor at this time can be lower than the resonance frequency, so that the user can feel the pressing and bouncing of the keys, but not too strongly to interfere with the operation. When using the alarm clock, the operating frequency of the motor can be close to and higher than the resonance frequency. At this time, the motor can generate a larger vibration amplitude and a more rapid vibration, so that the user can be effectively awakened even when in a state such as sleeping. When simulating low-pitched touches such as walking in a game, the operating frequency of the motor can be lower than its resonance frequency. When providing scenarios such as fighting in a game, the operating frequency of the motor at this time can be higher than its resonance frequency, so as to provide a more sensitive and clear tactile feedback.
[0035] Under the same driving power, as the temperature decreases, the shrapnel may break or be damaged. Specifically, the factors affecting the breakage of the shrapnel can include changes in the rigidity of the shrapnel, changes in the coil resistance, the influence of the driving voltage of the motor, and the relationship between the resonance frequency and the operating frequency of the motor, etc.
[0036] It should be understood that, in general, temperature and rigidity are negatively correlated. When the temperature decreases, the stiffness of the motor's shrapnel increases. Specifically, when the temperature decreases, the molecular motion inside the shrapnel material weakens, and the interaction force between molecules can be enhanced. This reduction in molecular activity can make the material appear as an increase in hardness and stiffness on a macro scale. Furthermore, the elastic modulus of general materials (such as metals and alloys) can increase as the temperature decreases, and it is more difficult for them to deform when subjected to force, so the stiffness increases. Furthermore, the decrease in temperature can cause thermal contraction of the material, resulting in a slight decrease in the size of the shrapnel. This contraction makes the internal structure of the material more compact, thereby increasing its stiffness and strength.
[0037] However, it is understandable that the temperature and rigidity of some specific metals (such as austenitic stainless steel or special alloys) can be positively correlated. Specifically, austenitic stainless steel can undergo a phase change at low temperature, from austenite to martensite. This phase change can cause the stiffness of the material to change, and then the stiffness can be reduced. Further, some specially treated alloys (such as shape memory alloys) can show the characteristic of reduced stiffness at low temperatures. It should be understood that shape memory alloys can have two main crystal structures, namely, the austenite phase at high temperature and the martensite phase at low temperature. The austenite phase has a higher symmetry and a more regular atomic arrangement, and the atoms are tightly bound, so that the material has a higher stiffness; while the crystal structure of the martensite phase has a lower symmetry and a relatively loose atomic arrangement, which reduces the stiffness of the material. When the temperature decreases, the shape memory alloy will undergo a transition from the austenite phase to the martensite phase. In this process, the atoms need to be rearranged to form a new crystal structure. As the martensite phase gradually increases, the overall crystal structure of the material becomes more disordered, and the relative movement between atoms becomes easier, resulting in a decrease in the stiffness of the material.
[0038] In some embodiments, the resonant frequency of the motor may change with changes in temperature. The operating frequency of the motor may be higher than the resonant frequency of the motor. When the temperature decreases, the resonant frequency of the motor may increase. If the operating frequency of the motor continues to be determined based on the resonant frequency of the motor before the temperature drops, the operating frequency of the motor may remain unchanged, so that the resonant frequency of the motor may be close to the operating frequency of the motor. It is understandable that at this time, the motor may produce a resonance phenomenon, thereby increasing the vibration amplitude of the shrapnel, which may cause the shrapnel of the motor to break.
[0039] It should be understood that the change in the resonance frequency of the motor and the change in temperature are generally non-linear. Specifically, the motor contains various materials, such as permanent magnets, copper wires of windings, iron cores of stators and rotors, etc. When the temperature changes, the physical properties of these materials change non-linearly. When the temperature changes, the components of the motor will undergo thermal expansion or contraction. Different materials have different coefficients of thermal expansion, and the thermal expansion process itself may also be non-linear. It can be understood that when the temperature decreases, its elastic modulus can increase, making the stiffness increase, and thus the resonance frequency can increase. As the temperature decreases, the damping can decrease, thus reducing the resonance frequency. When the temperature decreases, due to the combined effect of the change in elastic modulus and the change in damping, the resonance frequency of the motor can increase within a small range (for example, the resonance frequency increases by 5 Hz, 6 Hz or 7 Hz, etc.).
[0040] It can be understood that in order to ensure that the motor has a relatively high vibration level, generally the operating frequency of the motor can be slightly higher than the resonance frequency of the motor. However, when the temperature decreases, along with the resonance frequency of the motor increasing within a small range, the resonance frequency of the motor can approach the operating frequency of the motor, thus causing the motor to resonate, and further leading to the easier breakage of the motor spring plate.
[0041] In some embodiments, the operating frequency of the motor can be affected by the drive voltage. For the same motor, when the motor operates within the maximum drive voltage, the motor can operate normally, and the vibration level of the motor can change with the change of the drive voltage. When the drive voltage of the motor remains unchanged, the vibration level of the motor can remain unchanged.
[0042] In some embodiments, such as Figure 1bAs shown by curve 2 in , the resonance frequency of the motor can be the first resonance frequency, which can be 170 Hz. In a working scenario where the working frequency of the motor is higher than its resonance frequency, for example, the first working frequency of the motor can be 180 Hz. At this time, the corresponding vibration amount can be the first vibration amount, which can be 0.31 G / g. At this time, the corresponding driving voltage can be the first driving voltage. It should be understood that at this time, if the temperature decreases, the resonance frequency of the motor can increase, which can be the second resonance frequency. When driving the motor at this time, the corresponding driving voltage should be reduced from the first driving voltage to the second driving voltage, and its corresponding first working frequency can be increased to the second working frequency, for example, it can be increased to 200 Hz. At this time, the corresponding vibration amount can be the second vibration amount, which can be 0.11 G / g. It should be understood that after the temperature decreases, if the first driving voltage remains unchanged, its working frequency can still remain the first working frequency (e.g., 180 Hz), and its vibration amount can still remain the first vibration amount (e.g., 0.31 G / g) unchanged. It can be understood that when the temperature of the motor decreases, its vibration amount should decrease from the aforementioned first vibration amount to the second vibration amount (e.g., from 0.31 G / g to 0.11 G / g). However, since the vibration amount of the motor remains unchanged at the first vibration amount, the actual vibration amount of the motor is greater than the second vibration amount it should correspond to after the temperature drop, so the motor is more likely to malfunction.
[0043] In some embodiments, when the temperature decreases, the resistance of the coil of the motor can become smaller. When the driving power remains unchanged (i.e., the driving voltage remains unchanged), the current in the coil can increase. As the current increases, the vibration amount of the vibration unit in the motor becomes larger, causing the shrapnel to deform to a greater extent, and its structural stability is affected, and thus it is more likely to be damaged. Further, as the temperature decreases, the stiffness of the shrapnel of the motor can increase. When subjected to the same external force, its ability to undergo elastic deformation becomes weaker, and thus it is more likely to break.
[0044] In some embodiments, the motor can include a vibration motor. Among them, the vibration motor can include a rotor motor and a linear motor. Specifically, the rotor motor can generate vibration by rotating an eccentric mass rotor, and the linear motor can generate vibration by linear motion, which can utilize the resonance effect of a spring and a mass block.
[0045] In some embodiments, the ambient temperature of the motor can be the ambient temperature where the motor is located, or the ambient temperature of the electronic device.
[0046] In some embodiments, obtaining the ambient temperature of the motor may include providing a temperature detection circuit or a temperature sensor in the electronic device. Specifically, the temperature sensor may be provided on a mainboard of the electronic device, on a screen module of the electronic device, or on a housing or a middle frame of a mobile phone.
[0047] In other embodiments, the temperature measured by the temperature sensor of the electronic device itself can also be used as the ambient temperature. For example, the temperature measured by a temperature sensor measuring the area around the processor, a temperature sensor measuring the battery temperature, or a temperature sensor measuring the temperature near the heat dissipation module can be used as the ambient temperature.
[0048] By using the temperature sensor built into the electronic device itself, the number of temperature sensors to be set can be reduced, and the space usage inside the electronic device can be reduced.
[0049] In some embodiments, obtaining the actual resonant frequency of the motor may include obtaining the actual frequency of the motor using an external device and obtaining the resonant frequency of the motor using a built-in algorithm.
[0050] In some embodiments, the aforementioned external devices may include a signal generator, a sensor, and a data acquisition and analysis device. The sensor can be installed on the motor to accurately measure the vibration of the motor. The signal generator can be connected to the motor, and the signal generator can be used to sweep the frequency so that the output frequency of the signal generator starts from the starting frequency and gradually increases to the end frequency according to the set sweep rate. The data acquisition device can be connected to the data acquisition and analysis device. During the sweep process, the data acquisition and analysis device will collect the vibration signal output by the sensor and record the corresponding frequency and vibration amplitude data. It can be understood that the frequency with the largest vibration amplitude at this time is the resonant frequency of the motor.
[0051] In some other embodiments, obtaining the resonance frequency of the motor through an algorithm may include calculating the resonance frequency of the motor through the Back Electromotive Force (BEMF). Specifically, the circuit for measuring the BEMF can be connected to the corresponding pins of the mobile phone motor. Further, a data acquisition card or a development board with data acquisition function, such as Arduino, Raspberry Pi, etc., is used to collect the BEMF signal at an appropriate sampling frequency. Furthermore, the collected signal can be preprocessed, such as filtering. After obtaining the preprocessed signal, the signal can be subjected to spectrum analysis. Specifically, the Fast Fourier Transform (FFT) algorithm can be used to convert the BEMF signal in the time domain into a signal in the frequency domain. Through the FFT transformation, the amplitude distribution of the signal at different frequencies can be obtained. It can be understood that the frequency corresponding to the position with the largest amplitude can be the resonance frequency.
[0052] In some embodiments, the first temperature may be higher than the first preset temperature, and the first temperature may also be lower than the first preset temperature. It should be understood that when the first temperature is higher than the first preset temperature, the actual resonance frequency of the motor at the first temperature may be close to the actual resonance frequency of the motor at the first preset temperature. As the temperature decreases, the actual resonance frequency of the motor gradually increases. The relationship between the temperature change and the actual resonance frequency of the motor will be described in detail later in conjunction with the attached Figure 4b description.
[0053] In some embodiments, when the first temperature deviates from the first preset temperature and the difference between the first frequency and the preset frequency is greater than the preset difference, the driving power of the motor can be adjusted. Specifically, the first temperature may be lower than the first preset temperature. In some embodiments, the aforementioned first preset temperature may be 0°, 5° or 10°, etc.
[0054] In some embodiments, before adjusting the driving power of the motor, the driving power of the motor may be a first power. The preset power range may include a set of one or more preset powers. Further, the preset power may be less than the first power, and the ratio of the preset power to the first power may be 0.95, 0.9, 0.85, or 0.8, etc. In some embodiments, adjusting the driving power of the motor may include adjusting the driving voltage of the motor. Specifically, a driving circuit may be provided at the input end of the motor, and the aforementioned driving circuit may include a driving chip control circuit. The aforementioned driving chip may generate and control the driving signal of the motor. The signal source may come from the processor or microcontroller of the mobile phone; the control circuit may include a Pulse Width Modulation (PWM) circuit or a linear driving circuit for adjusting the vibration intensity and frequency of the motor. In some embodiments, a Power Amplifier (PA) may also be provided between the driving circuits of the motor. The aforementioned power amplifier may amplify the control signal of the driving circuit, thereby driving the motor to rotate. Further, when adjusting the driving power of the motor, the driving power may be reduced by a preset ratio (such as reducing by five percent, ten percent, fifteen percent, or twenty percent, etc.), so as to adjust the driving power of the motor to the preset power range.
[0055] It can be understood that the adjustment of the driving power is determined according to the change in temperature and the change in resonance frequency, that is, the adjustment of the driving power and the change in temperature may be non-linear. Further, the change in temperature and the change in the resistance of the motor coil may be linear, so the change in the coil resistance and the adjustment of the driving power are also non-linear. It is inaccurate to adjust the driving power only according to the change in the coil resistance.
[0056] Through the solution disclosed in this disclosure, when it is detected that the first temperature is lower than the first preset temperature, the driving power of the motor can be reduced, thereby preventing the motor from being damaged at low temperatures.
[0057] In some embodiments, the electronic device includes a temperature sensor and a heating component. Obtaining the ambient temperature of the motor includes: the temperature sensor obtains the temperature on the first area of the electronic device, where the first area is far from the heating component of the electronic device.
[0058] In some embodiments, the heating component may include a processor (such as CPU / GPU), a battery, a power management chip, a wireless module, a charging module, and a camera module, etc.
[0059] In some embodiments, the temperature sensor may include a thermistor, a thermal diode, or a thermocouple, etc. The temperature sensor may be arranged in the vicinity of the motor, such as arranged inside the motor or on the outer housing of the motor.
[0060] In some embodiments, a temperature sensor may also be disposed on the first region, where the first region may be a region away from the heat-generating component.
[0061] In some embodiments, the first region being away from the heat-generating component of the mobile phone may include other components that do not generate heat or generate less heat being disposed between the first region and the heat-generating component of the mobile phone, such as a sensor module, a microphone module, or a speaker module, etc.
[0062] In some other embodiments, a wall or heat-insulating material may also be disposed between the first region and the heat-generating component, which can separate the first region and the heat-generating component.
[0063] In still some other embodiments, the distance between the first region and the heat-generating component may also be set to be greater than a preset distance. The foregoing preset distance may be 2 cm or 3 cm, etc., and the preset distance may be adjusted according to the power consumption of the heat-generating component.
[0064] By disposing the temperature sensor on the first region, and the first region may be away from the heat-generating component of the motor, the temperature sensor can be prevented from being interfered by the heat-generating component in the electronic device, so that the temperature sensor can accurately measure the temperature of the environment where the motor is located, and the accuracy of temperature measurement can be improved.
[0065] In some embodiments, in response to the first temperature deviating from the first preset temperature and the difference between the first frequency and the preset frequency being greater than a preset difference, adjusting the driving power of the motor includes: when the temperature is less than the preset temperature and the difference between the first frequency and the preset frequency is greater than the preset difference to meet the difference condition, adjusting the driving power to a preset power range.
[0066] In some embodiments, the preset temperature may be 0 °C, the preset difference may be 5 Hz, and the preset power range is 85% of the driving power.
[0067] Specifically, when the preset temperature is 0 °C and the preset difference is 5 Hz, the foregoing when the temperature is less than the preset temperature and the difference between the first frequency and the preset frequency is greater than the preset difference to meet the difference condition may include satisfying the following formula:
[0068] T 0 ≤ 0 °C, and
[0069] |F 0 ’ - F 0 | ≥ 5 Hz
[0070] wherein, T 0 may be the preset temperature, F 0 may be the preset frequency, and F 0 ’ may be the actual resonance frequency.
[0071] In some embodiments, adjusting the driving frequency may include adjusting the driving voltage of the motor. It can be understood that when the driving voltage of the motor increases, the driving power of the motor increases. When the driving voltage of the motor decreases, the driving power of the motor decreases. Further, the driving power of the motor can be adjusted by a dedicated driving chip. Specifically, a dedicated driving chip (such as the DRV260x series chips of TI) may have an automatic frequency tracking function, which can automatically detect and adjust the operating frequency of the motor to achieve the adjustment of the input power of the motor.
[0072] Through the foregoing settings, when the temperature of the motor is lower than the preset temperature, the driving power can be adjusted to prevent the motor from being damaged at low temperatures. Further, after the temperature decreases, the resistance of the coil of the motor can become smaller, and the current flowing through the coil can become larger, so that the vibration amount of the motor can become larger. By adjusting the driving power, the vibration amount of the motor can be kept consistent, and thus the same vibration feeling can be provided at different temperatures.
[0073] In some embodiments, the preset frequency includes the resonance frequency of the electronic device under standard operating conditions, and the resonance frequency is stored in the non-erasable storage space of the electronic device.
[0074] In some embodiments, the standard operating conditions of the electronic device may include the environment and operating parameters under which the mobile phone and its components can work stably and reliably under normal operation and test conditions. These conditions usually include parameters such as temperature, humidity, voltage, and load, which are used to ensure the performance and reliability of the mobile phone during design and use.
[0075] In some embodiments, the standard operating conditions of the foregoing motor may include the environment and operating parameters when the motor works stably according to the design requirements under normal operating conditions. These parameters include but are not limited to temperature, voltage, load conditions, operating frequency, etc. The frequency under standard operating conditions refers to the optimal frequency range in which the motor can operate stably and efficiently under these conditions.
[0076] In some embodiments, the non-erasable storage space may include a data area in a storage device that cannot be deleted or modified through conventional operations. In this data area, data cannot be deleted or modified through ordinary operations. Specifically, the non-erasable storage space may include a firmware storage area, which may be the firmware of a storage device or system (such as BIOS, UEFI, embedded system firmware, etc.). The non-erasable storage space may also include a bootloader area, which may store the bootloader of the device for initializing the hardware and loading the operating system. The non-erasable storage space may also include an encryption key storage area, which may be used to store keys or certificates required for encryption and decryption. The non-erasable storage space may also include a system configuration and calibration data area, which may be used to store the factory configuration parameters or calibration data of the device. The non-erasable storage space may include a hardware-protected area, which is a storage area protected by a hardware mechanism to prevent data from being modified or deleted. The non-erasable storage space may also include a read-only memory, which is physically non-modifiable, and data is written during production and cannot be modified by the user.
[0077] By storing the resonance frequency in the non-erasable storage space of the electronic device, it is possible to avoid the resonance frequency being accidentally modified or deleted due to reasons such as system upgrades or user errors, so that the accurate resonance frequency can be read each time the system starts, ensuring the consistency of the vibration effect.
[0078] In some embodiments, the motor includes a first motor and a second motor used in association. The first motor includes a first elastic sheet, and the second motor includes a second elastic sheet; wherein, within a preset temperature range, the stiffness of the first elastic sheet decreases as the temperature decreases; the stiffness of the second elastic sheet increases as the temperature decreases.
[0079] In some embodiments, the output end of the first motor may be connected in parallel with the output end of the second motor.
[0080] In some embodiments, in the Android system, the foregoing first motor and second motor can be switched through software control. Specifically, the foregoing first motor and second motor can be controlled through separate General-Purpose Input / Output (GPIO) pins, and the GPIO pins of each of the foregoing motors can be independently configured and controlled. Further, development can be carried out at the driver layer, and a motor driver can be developed in the Linux kernel to map each motor to an independent file node, and the motors can be controlled by operating these file nodes. Further still, in the Hardware Abstraction Layer (HAL) of Android, an independent interface can be defined for each motor. Furthermore, the interface of the HAL layer can be exposed to the Android framework through the Java Native Interface (JNI). At the JNI layer, a function can be defined to switch the motors. Further still, in the Android framework layer, the motors can be controlled through the Vibrator class. Finally, on the application layer, the motors can be controlled by calling the methods of the Vibrator class.
[0081] In some embodiments, the material of the first elastic sheet can be shape memory metal (such as nickel-titanium alloy) or lead and some low-melting-point metals, etc.
[0082] In some embodiments, the material of the second elastic sheet can be metal material (such as beryllium bronze, phosphor bronze or stainless steel, etc.), alloy material (such as phosphor bronze or nickel alloy, etc.) or composite material (such as carbon fiber composite material or metal matrix composite material, etc.), etc.
[0083] In an electronic device, different motors can be selected according to different temperatures detected by a temperature sensor. When the temperature is relatively high, the stiffness of the second elastic sheet can be relatively low, and at this time, the second elastic sheet can be selected. When the temperature is relatively low, the stiffness of the first elastic sheet of the first motor can be relatively low, and at this time, the first elastic sheet can be selected, so as to avoid damage to the elastic sheet.
[0084] It can be understood that when the temperature is relatively high, the second motor can be selected. As the temperature decreases, the rigidity of the second elastic piece of the second motor increases, and the operating frequency of the second motor can approach the resonant frequency of the second motor, thereby generating a resonance phenomenon. This will cause the vibration motor itself and the components connected thereto (such as elastic pieces, circuit solder joints, etc.) to bear greater mechanical stress and fatigue loads. Being in this high-frequency vibration state for a long time, these components are prone to problems such as metal fatigue and solder joint loosening, thus shortening the overall service life of the second motor and the electronic device. Further, the high-frequency vibration may bring too strong or uncomfortable tactile feedback to the user. For example, when operating the touch screen, the vibration with too high a frequency may make the fingers feel numb and tingling, and long-term use may have an adverse impact on the user's hand health. At this time, the use of the second motor can be paused and switched to the first motor.
[0085] By setting the first motor and the second motor, it can be ensured that the electronic device selects different motors at different temperatures, so as to ensure consistent tactile feedback at different temperatures. The stable vibration frequency enables the user to feel the same vibration intensity and rhythm every time they touch or receive a notification when operating the electronic device, providing a more comfortable and natural tactile feedback, and can enhance the interaction experience with the electronic device. And the stable vibration frequency can avoid irregular vibrations caused by frequency fluctuations, thereby reducing the discomfort or noise interference caused by vibration to the user, making the vibration reminder of the electronic device more appropriate and natural in various scenarios.
[0086] In some embodiments, the electronic device includes a third motor and a fourth motor used in cooperation, the third motor includes a first resistor, and the fourth motor includes a second resistor; wherein, the first resistor and the second resistor are different; the driving method further includes: based on the change of the first temperature, adjusting the driving power of the third motor and / or the driving power of the fourth motor to change the vibration ratio of the third motor and the fourth motor, wherein the third motor and the fourth motor are used to provide an overall vibration feeling.
[0087] In some embodiments, a vibration unit may be disposed inside the motor. A coil may be wound around the outside of the vibration unit, and the coil may be connected to a drive circuit. Further, both sides of the vibration unit may be connected to one end of a shrapnel, and the other end of the shrapnel may be connected to the side wall of the motor. Still further, one or more magnets may be disposed inside the motor. After the drive circuit is turned on, the coil outside the vibration unit may be energized, and it may generate an electromagnetic field. An acting force may be generated between the electromagnetic field and the electromagnetic field generated by the magnet, so as to drive the vibration unit to vibrate. It can be understood that a resistor may be disposed on the coil. When the drive voltage is the same, different resistors result in different corresponding currents in the circuit. Therefore, the magnitude of the electromagnetic field generated by the energized coil is different, and the corresponding vibration amount is different. In some embodiments, the first resistor of the third motor and the second resistor of the fourth motor may be different. Under the same other conditions, the vibration amount of the third motor and the vibration amount of the fourth motor are different. Further, the change of the motor's resistance with temperature will be described in detail later in conjunction with Figure 4b Detailed description.
[0088] In some embodiments, the third motor and the fourth motor may be connected to the main control chip of the electronic device through different circuits respectively, and these circuits can control the start, stop and vibration parameters of the third motor and the fourth motor respectively. In some embodiments, by adjusting the drive power of the third motor and the drive power of the fourth motor, the vibration amount of the third motor and the vibration amount of the fourth motor can be adjusted, so as to generate different vibration modes. For example, when the ambient temperature of the motor is 20 degrees, the ratio between the drive power of the third motor and the drive power of the fourth motor may be 1 / 2. When the ambient temperature of the motor drops to 0 degrees, the ratio between the drive power of the third motor and the drive power of the fourth motor may be 1 / 3.
[0089] It can be understood that by controlling the start, stop and drive power of the third motor and the fourth motor, complex vibration modes can be generated, richer tactile effects can be simulated, and more accurate tactile feedback can be achieved through the coordinated action of multiple motors, improving the user experience.
[0090] Figure 2 An exemplary block diagram of a drive method 200 for a motor according to some other embodiments of the present disclosure is shown. As Figure 2 shown, the motor includes a coil. Before obtaining the actual resonance frequency of the motor, the drive method further includes: in response to the first temperature being less than a third preset temperature, increasing the working current passing through the coil to generate heat and increase the working / ambient temperature of the motor.
[0091] In some embodiments, the driving method may include: S201, obtaining the ambient temperature of the motor as a first temperature; S202, in response to the first temperature being less than a third preset temperature, increasing the working current passing through the coil; S203, obtaining the ambient temperature of the motor as a first temperature; S204, in response to the first temperature deviating from a first preset temperature and the difference between the first frequency and a preset frequency being greater than a preset difference, adjusting the driving power of the motor.
[0092] In some embodiments, when current passes through the coil of the motor, heat can be generated. Specifically, when current passes through the coil, the resistance of the coil converts electrical energy into heat energy, which can be determined according to the following formula:
[0093] Q = I 2 *R*t
[0094] where Q can be the generated heat, I can be the current intensity, R can be the resistance of the coil, and t can be the energization time.
[0095] When the first temperature is less than the third preset temperature, by increasing the working current of the coil, more heat can be generated, thereby increasing the ambient temperature of the motor, and further avoiding the increase in the stiffness of the motor's shrapnel as the temperature decreases, and reducing the possibility of damage to the motor shrapnel at low temperatures.
[0096] Figure 3 An exemplary block diagram of a method 300 for obtaining the ambient temperature of the motor according to some embodiments of the present disclosure is shown. In some embodiments, the motor includes a temperature adjustment device, and obtaining the ambient temperature of the motor as a first temperature includes: S301, obtaining the ambient temperature of the motor as a first ambient temperature; S302, in response to the first ambient temperature deviating from a first preset temperature, using the temperature adjustment device to adjust the temperature around the motor; S303, obtaining the adjusted temperature around the motor as a first temperature.
[0097] In some embodiments, using the temperature adjustment device to adjust the temperature includes: providing a heat conduction channel between the motor and the heat generating component, the heat conduction channel being used to transfer the heat emitted by the heat generating component to the motor; or providing a heat insulating material around the motor to keep the temperature of the motor stable. In some embodiments, the temperature around the motor may include the temperature of the main board where the motor is located. It should be understood that a radio frequency area, a battery area, a component area, etc. may be provided on the main board of the electronic device. The motor may be provided on the component area of the main board, and the temperature around it may include the measured value of the temperature of the component area on the main board.
[0098] In some embodiments, a temperature regulation component may be provided in the outer shell of the motor or inside the motor. Further, a temperature regulation component may also be provided in the surrounding area of the motor. The aforementioned temperature regulation component may include a heater or a heat exchanger, etc.
[0099] In some embodiments, the motor may be connected to a heat-generating component through a heat conduction channel, so that the heat generated by the heat-generating component can be quickly conducted to the motor, and the temperature of the motor can be kept stable. Further, the material of the heat conduction channel can be selected as a material with high thermal conductivity (such as copper, aluminum, etc.), which can improve the heat conduction efficiency.
[0100] In some other embodiments, heat insulation materials may be provided around the motor. For example, a heat insulation film may be provided around the motor, which can reduce the conduction of the heat generated by the motor to other surrounding components, thereby reducing the dissipation of the heat generated by the motor and keeping the temperature in the area where the motor is located stable.
[0101] By providing the temperature regulation component, the heat conduction channel and the heat insulation materials, when the ambient temperature is low, the temperature of the working environment of the motor can be maintained stable, and the motor can be prevented from being damaged at low temperatures. Further, when the motor is in different ambient temperatures, the temperature in the area where the motor is located can be maintained stable, and the same vibration feeling can be provided.
[0102] Figure 4a An exemplary front view showing the positions of the motor and the light strip in some embodiments of the present disclosure is shown. As Figure 4a described, in some embodiments, the electronic device further includes a light-emitting component, and the motor is connected to the light-emitting component, so that when the light-emitting component is lit, the motor drives the electronic device to vibrate, and the light-emitting component includes lamp beads arranged in an array.
[0103] It can be understood that the aforementioned light-emitting component may include a light strip and / or a light array. Specifically, the aforementioned light strip may include a plurality of LED lamp beads connected in series or in parallel on a flexible or rigid circuit board to form a long strip-shaped lighting device. It can be cut and connected as needed, and has high flexibility. The aforementioned light array may be composed of a plurality of LED lamp beads arranged in a certain arrangement (such as a matrix or a grid), and is usually installed on a fixed substrate or housing. The arrangement of the light array can be a regular matrix or an irregular pattern.
[0104] In some embodiments, the light strip can cooperate with the motor. Specifically, the light strip can be used to achieve dynamic visual effects (such as ambient lights, breathing lights, game light effects, etc.), and these functions need to be synchronized with functions such as tactile feedback or optical image stabilization, which requires the combined use of the motor and the light strip. Further, in a game scenario, the combination of the light strip and the motor can provide a more immersive experience. The light strip can change colors according to the game scenario, while the motor provides vibration feedback according to the actions in the game. It can be understood that with the wide use of the light-emitting components, the usage frequency of the motor can also be increased. At this time, when the temperature decreases, it can be more affected. Therefore, by reducing the driving voltage of the motor, the risk of damage to the motor can be reduced while maintaining the consistency of the touch feeling.
[0105] By connecting the motor to the light-emitting component, when the light-emitting component is lit, the motor can vibrate accordingly, which can enhance the immersion of the user when operating the device. For example, in a game scenario, the vibration motor can simulate the actions in the game (such as explosions, collisions, etc.), and the light-emitting component can synchronously display the corresponding colors or light effects to enhance the game experience. Further, the combination of the vibration motor and the light-emitting component can provide a more realistic tactile and visual experience. For example, the touch of an object can be simulated through vibration, and at the same time, the color or light effect of the object can be displayed through the light-emitting component.
[0106] Figure 4b An example diagram showing the relationship between the ambient temperature, the resonant frequency of the motor, and the vibration amount of the motor in some embodiments of the present disclosure is shown. As Figure 4b shown, F0 in the diagram can be the resonant frequency of the motor, R0 can be the resistance of the coil of the motor, and GPP can be the vibration amount of the motor.
[0107] Figure 4b The change relationships of the resonant frequencies, resistance values, and vibration amounts of multiple different prototypes at different temperatures can be shown. In some embodiments, when the ambient temperature of the motor is 20 degrees, it can be used as the standard state. As Figure 4bAs shown, when the ambient temperature of the motor is 20 degrees, the resonance frequency of the motor of Prototype 1 can be 171.7, the resistance of its coil can be 8440 mΩ, and the corresponding vibration amount can be 17326. When the ambient temperature of the motor rises to 30 degrees, the resonance frequency of Prototype 1 can be 171.4, the resistance of its coil can be 8430 mΩ, and the vibration amount corresponding to the motor of this prototype can be 17547. When the ambient temperature of the motor rises to 40 degrees, the resonance frequency of Prototype 1 can be 169.4, the resistance of its coil can be 8700 mΩ, and the corresponding vibration amount can be 16772. It can be understood that when the ambient temperature where the motor is located rises, the changes in the resonance frequency and vibration amount of the motor are relatively small, and it is less affected by temperature. At this time, the driving voltage of the motor can be maintained unchanged or slightly increased. It should be understood that when increasing the driving voltage of the motor, the increase amplitude can be no more than two percent (such as one percent or two percent, etc.).
[0108] Furthermore, when the ambient temperature where the motor is located decreases, for example, when it decreases from 20 degrees to 10 degrees, the resonance frequency of the motor of Prototype 1 can increase to 177.7, the resistance of its coil can be 8430 mΩ, and the corresponding vibration amount can be 18582. When the temperature of the motor decreases to 0 degrees, the resonance frequency of the motor can increase to 181.1, the resistance of its coil can be 8080 mΩ, and the corresponding vibration amount can be 18840. When the temperature of the motor decreases to -10 degrees, the resonance frequency of the motor can increase to 186.9, the resistance of its coil can be 8040 mΩ, and the corresponding vibration amount can be 19912. It can be understood that when the ambient temperature where the motor is located is lower than the preset temperature, as the temperature decreases, the resonance frequency of the motor gradually increases, the resistance of the motor coil gradually decreases, and the vibration amount of the shrapnel also gradually increases. At this time, the changes in the resonance frequency and vibration amount of the motor are relatively large, and it is more affected by temperature. It can be understood that at this time, the driving voltage can be greatly reduced (such as reducing by ten percent or fifteen percent, etc.). It can be understood that when the resistance of the motor coil gradually decreases, if its voltage remains unchanged, the current in the motor coil gradually increases, so the vibration amount of the motor can increase.
[0109] Figure 5 The schematic block diagram of the electronic device 500 for the driving method of the motor according to the embodiment of the present application is shown. As Figure 5As shown, the electronic device 500 may include a processor 510 and a memory 520, where the processor 510 and the memory 520 communicate with each other via a bus. The memory 520 stores analog computer instructions for a driving method of a motor. When the foregoing computer instructions are run by the processor 510, the electronic device 500 is enabled to implement the method steps described in connection with the foregoing figures: obtaining the ambient temperature of the motor as a first temperature; obtaining the actual resonance frequency of the motor as a first frequency; and adjusting the driving power of the motor in response to the first temperature deviating from a first preset temperature and the difference between the first frequency and a preset frequency being greater than a preset difference.
[0110] Based on the foregoing description in connection with the figures, those skilled in the art can also understand that the embodiments of the present application can also be implemented by software programs. Accordingly, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores computer-readable instructions for a driving method of a motor. When the computer-readable instructions are executed by one or more processors, the analog method of the driving method of the motor described in connection with the figures of the present application is implemented. Figure 1a The computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as, for example, resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high-bandwidth memory (HBM), hybrid memory cube (HMC), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device. Any application or module described in the present invention can be implemented using computer-readable / executable instructions that can be stored or otherwise maintained by such a computer-readable medium.
[0111]
[0112] It should also be understood that any module, unit, component, server, computer, terminal or device that executes instructions in the examples of the present invention may include or otherwise access a computer-readable medium, such as a storage medium, a computer storage medium or a data storage device (removable) and / or non-removable), such as a magnetic disk, an optical disk or a magnetic tape. A computer storage medium may include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data.
[0113] In summary, when the motor is below the preset temperature, the driving power can be adjusted to prevent the motor from being damaged at low temperatures. Further, after the temperature decreases, the resistance of the motor coil can become smaller and the current flowing through the coil can become larger, so that the vibration amount of the motor can become larger. By adjusting the driving power, the vibration amount of the motor can be kept consistent, and thus the same vibration feeling can be provided at different temperatures.
[0114] Although multiple embodiments of the present disclosure have been shown and described herein, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Many variations, changes and alternative ways may occur to those skilled in the art without departing from the spirit and scope of the present disclosure. It should be understood that various alternatives to the embodiments of the present disclosure described herein may be employed in practicing the present disclosure. The appended claims are intended to define the scope of protection of the present disclosure and thus cover equivalents or alternatives within the scope of these claims.
Claims
1. A method for driving a motor, wherein the motor is used in an electronic device, characterized in that: The driving method comprises: Acquiring an ambient temperature of the motor as a first temperature; Acquiring an actual resonant frequency of the motor as a first frequency; In response to the first temperature deviating from the first preset temperature and the difference between the first frequency and the preset frequency being greater than the preset difference, the driving power of the motor is adjusted to a preset power range.
2. The driving method according to claim 1, characterized in that: The electronic device comprises a temperature sensor and a heat generating component, and obtaining the ambient temperature of the motor comprises: using the temperature sensor to obtain the temperature of a first area of the electronic device, wherein the first area is far away from the heat generating component of the electronic device.
3. The driving method according to claim 1, characterized in that: In response to the first temperature deviating from the first preset temperature, and the difference between the first frequency and the preset frequency is greater than the preset difference, adjusting the driving power of the motor includes: When the temperature is lower than the preset temperature, and the difference between the first frequency and the preset frequency is greater than the preset difference, the driving power is adjusted to a preset power range.
4. The driving method according to claim 1, characterized in that: The preset frequency includes the resonant frequency of the electronic device under standard working conditions, and the resonant frequency is stored in a non-erasable storage space of the electronic device.
5. The driving method according to claim 1, characterized in that: The electronic device comprises a first motor and a second motor used in association, the first motor comprises a first spring, and the second motor comprises a second spring; wherein, within a preset temperature range, The stiffness of the first spring sheet decreases as the temperature decreases; The stiffness of the second elastic sheet increases as the temperature decreases.
6. The driving method according to claim 1, characterized in that: The electronic device includes a third motor and a fourth motor used in conjunction with each other, the third motor includes a first resistor, and the fourth motor includes a second resistor; wherein the first resistor and the second resistor are different; and the driving method further includes: Based on the change of the first temperature, the driving power of the third motor and / or the driving power of the fourth motor is adjusted to change the vibration ratio of the third motor and the fourth motor, wherein the third motor and the fourth motor are used to provide an overall vibration.
7. The driving method according to claim 1, characterized in that: The motor includes a coil. Before obtaining the actual resonant frequency of the motor, the driving method also includes: in response to the first temperature being less than a third preset temperature, increasing the operating current passing through the coil to generate heat and increase the operating / ambient temperature of the motor.
8. The driving method according to claim 2, characterized in that: The motor includes a temperature regulating device, and obtaining the ambient temperature of the motor as the first temperature includes: Acquiring the ambient temperature of the motor as the first ambient temperature; In response to the first ambient temperature deviating from a first preset temperature, adjusting the temperature around the motor using a temperature adjustment device; and The adjusted temperature around the motor is obtained as the first temperature.
9. The driving method according to claim 8, characterized in that: Adjusting the temperature using a thermostat involves: A heat conduction channel is provided between the motor and the heat generating component, wherein the heat conduction channel is used to transfer the heat generated by the heat generating component to the motor; or A heat insulating material is arranged around the motor to reduce the influence of ambient temperature on the temperature of the motor.
10. The driving method according to claim 1, characterized in that: The electronic device also includes a light-emitting component, and the motor is electrically connected to the light-emitting component, so that when the light-emitting component is lit, the motor drives the electronic device to vibrate, and the light-emitting component includes a plurality of lamp beads arranged in an array; or a plurality of lamp beads arranged in strips.
11. An electronic device for a motor driving method, characterized in that: include: processor; as well as A memory storing computer instructions for a method for driving a motor, wherein when the computer instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
12. A computer-readable storage medium, characterized in that: Computer program instructions for a motor driving method are stored thereon, and when the computer program instructions are executed by one or more processors, the method according to any one of claims 1 to 10 is implemented.