A vibration control method, device, apparatus and storage medium

By adjusting the excitation signal frequency and amplitude of the vibration components, the vibration effect of different vibration components is made consistent, which solves the problem of inconsistent vibration effect caused by the difference in resonant frequency and improves the uniformity of vibration tactile sensation.

CN116126137BActive Publication Date: 2026-07-21WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN JUXIN MICROELECTRONICS CO LTD
Filing Date
2022-12-08
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Because of the difference in resonant frequency between different motor units, the excitation signal is not compatible with the motor unit, and cannot output a specific vibration effect, resulting in differences in vibration effect.

Method used

By acquiring the resonant frequency and driving frequency of each vibration component, and adjusting the frequency and amplitude of the excitation signal, the vibration effect of different vibration components can be made consistent, thereby achieving rapid start-up or braking of the vibration components.

Benefits of technology

This achieves consistency in the vibration effects of different vibration components, improving the uniformity and consistency of vibration tactile sensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116126137B_ABST
    Figure CN116126137B_ABST
Patent Text Reader

Abstract

The application discloses a vibration control method, device, equipment and storage medium. A first resonant frequency and a first driving frequency are obtained. The first resonant frequency is the resonant frequency of a first vibration component. The excitation signal of the first vibration component is a first excitation signal. The frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is a first amplitude. In the case that the first resonant frequency and the first driving frequency are different, and the vibration effects of the first vibration component and a second vibration component under the action of the first excitation signal are inconsistent, the first excitation signal is adjusted to obtain a second excitation signal. The vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal. The second excitation signal is different from the first excitation signal in at least one of the following aspects: frequency and amplitude. The vibration consistency between different vibration components can be realized, and the vibration touch effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and to, but is not limited to, a vibration control method, device, equipment, and storage medium. Background Technology

[0002] Vibrational haptic feedback is an important means of achieving non-visual interaction on terminals, applied to information notifications, tactile feedback, and other aspects. Electronic devices are typically equipped with vibration components. The rotation of the rotor in the vibration component provides driving force to the terminal, causing it to vibrate and generate a haptic sensation. In related technologies, the excitation signal of the vibration component is only targeted to a specific motor frequency, causing it to output a specific vibration effect. However, in practical applications, due to differences between different individual motors, such as significant differences in resonant frequencies, the excitation signal may become mismatched with the individual motor, resulting in differences in the vibration effect and preventing the output of a specific vibration effect. Summary of the Invention

[0003] This application provides a vibration control method, apparatus, device, and storage medium that can quickly determine the driving voltage for rapid start-up or braking, thereby enabling rapid start-up or braking of vibration components.

[0004] The technical solution of this application embodiment is implemented as follows:

[0005] In a first aspect, embodiments of this application provide a vibration control method, the method comprising:

[0006] Obtain a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude;

[0007] When the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, the first excitation signal is adjusted to obtain a second excitation signal, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal. The second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude.

[0008] Secondly, embodiments of this application provide a vibration control device, the device comprising:

[0009] The acquisition module is used to acquire a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude.

[0010] An adjustment module is used to adjust the first excitation signal to obtain a second excitation signal when the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal, wherein the second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude.

[0011] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, at least two vibration components, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the above-described vibration control method.

[0012] Fourthly, embodiments of this application provide a computer-readable storage medium, i.e., a storage medium, on which a computer program is stored, which, when executed by a processor, implements the above-described vibration control method.

[0013] The vibration control method, apparatus, and device provided in this application obtain a first resonant frequency and a first driving frequency. The first resonant frequency is the resonant frequency of a first vibration component, and the excitation signal of the first vibration component is a first excitation signal. The frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is a first amplitude. When the first resonant frequency and the first driving frequency are different, and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, the first excitation signal is adjusted to obtain a second excitation signal, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal. The second excitation signal differs from the first excitation signal in at least one of the following: frequency and amplitude. Therefore, by adjusting the frequency and / or amplitude of the excitation signal, the consistency of the vibration effect of different vibration components is achieved, and the vibration tactile effect is improved. Attached Figure Description

[0014] Figure 1 This is an optional structural illustration of the electronic device provided in the embodiments of this application. Figure 1 ;

[0015] Figure 2 This is an optional flowchart of the vibration control method provided in the embodiments of this application. Figure 1 ;

[0016] Figure 3 This is an optional schematic diagram of the THD performance of the vibration component provided in the embodiments of this application;

[0017] Figure 4 This is a schematic diagram of an optional frequency-vibration intensity curve of the first vibration component provided in this application embodiment;

[0018] Figure 5 This is an optional flowchart of the vibration control method provided in the embodiments of this application. Figure 2 ;

[0019] Figure 6 This is an optional flowchart of the vibration control method provided in the embodiments of this application. Figure 3 ;

[0020] Figure 7 This is a schematic diagram of the frequency response relationship of the motor provided in the embodiments of this application. Figure 1 ;

[0021] Figure 8 This is a schematic diagram of the frequency response relationship of the motor provided in the embodiments of this application. Figure 2 ;

[0022] Figure 9 This is a schematic diagram illustrating the THD performance relationship of the motor provided in the embodiments of this application;

[0023] Figure 10 This is an optional structural schematic diagram of the vibration control device provided in the embodiments of this application;

[0024] Figure 11 This is an optional structural diagram of the electronic device provided in the embodiments of this application. Figure 2 . Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0026] The embodiments of this application can provide a vibration control method, apparatus, device, and storage medium. In practical applications, the vibration control method can be implemented by a vibration control device, and the functional entities in the vibration control device can be collaboratively implemented by the hardware resources of electronic devices (such as terminal devices), such as computing resources like processors and communication resources (such as those used to support various communication methods such as optical cables and cellular networks).

[0027] Of course, the embodiments of this application are not limited to providing methods and hardware, and can also be implemented in various ways, such as providing a storage medium (storing instructions for executing the vibration control method provided in the embodiments of this application).

[0028] The electronic device 100 for implementing the vibration control method provided in this application embodiment, such as... Figure 1 As shown, it includes at least two vibration components 101, which can be motors, such as linear motors. Different vibration components may have different component parameters, which may include parameters characterizing the physical vibration of the vibration component, such as resonant frequency, overtaking time, braking time, and frequency response, as well as parameters simulating the vibration model of the vibration component, such as rated voltage, rated acceleration, maximum displacement, resistance, inductance, and damping coefficient.

[0029] The vibration control method provided in this application obtains a first resonant frequency and a first driving frequency. The first resonant frequency is the resonant frequency of a first vibration component, and the excitation signal of the first vibration component is a first excitation signal. The frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is a first amplitude. When the first resonant frequency and the first driving frequency are different, and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, the first excitation signal is adjusted to obtain a second excitation signal, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal. The second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude.

[0030] In this embodiment, the first vibration component and the second vibration component are two different vibration components in the electronic device. When the first vibration component and the second vibration component are simultaneously input with the first excitation signal, the vibration effect of the first vibration component and the vibration effect of the second vibration component are different. Therefore, the first vibration component is used as the vibration component to be adjusted, and the second vibration component is used as the target vibration component. The excitation signal input to the first vibration component is adjusted from the first excitation signal to the second excitation signal so that the vibration effect of the first vibration component and the second vibration component is consistent, thereby transferring the vibration sensation of the second vibration component to the first vibration component.

[0031] In practical applications, one vibration component can be used as the target vibration component to adjust the excitation signals input to multiple vibration components, or the vibration component with the adjusted excitation signal can be used as the target vibration component to adjust the excitation signals of other vibration components, thereby achieving vibration consistency among multiple vibration components in electronic devices.

[0032] Below, in conjunction with Figure 1 The schematic diagram of the electronic device shown illustrates various embodiments of the vibration control method, apparatus, device, and storage medium provided in this application. The vibration control method provided in this application can be applied to electronic devices including multiple vibration components.

[0033] This application provides a vibration control method. Figure 2 This is a schematic diagram illustrating the implementation process of the vibration control method according to an embodiment of this application, as shown below. Figure 2 As shown, the method includes the following steps:

[0034] S201. The electronic device acquires a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude.

[0035] The electronic device drives the first vibration component and the second vibration component to vibrate through the first excitation signal, and obtains the resonant frequency of the first vibration component, i.e., the first resonant frequency, and the frequency of the first excitation signal, i.e., the first driving frequency. When the first driving frequency is different from the first resonant frequency, it can be considered that the first vibration component has a frequency deviation.

[0036] In this embodiment, the first vibration component is a vibration component whose input excitation signal is adjusted, and the second vibration component is a vibration component whose input excitation signal is not adjusted. The electronic device adjusts the excitation signal input to the first vibration component to make the vibration of the first vibration component and the second vibration component consistent. That is, the second vibration component is used as the target vibration component, and the excitation signal input to the first vibration component is adjusted so that the vibration effect of the first vibration component is close to the vibration effect of the target vibration component.

[0037] Understandably, the first vibration component and the second vibration component can be located in the same electronic device or in different electronic devices. Here, the first vibration component and the second vibration component are relative concepts; a vibration component can serve as either the first or the second vibration component. Furthermore, for a single second vibration component, there can be multiple first vibration components, and the vibration sensation of the second vibration component can be transferred to each of the first vibration components.

[0038] S202. When the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component are inconsistent under the action of the first excitation signal, the electronic device adjusts the first excitation signal to obtain a second excitation signal, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal, wherein the second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude.

[0039] When the first driving frequency and the first resonant frequency are different, the electronic device determines the vibration effect of the first vibration component and the second vibration component under the action of the first excitation signal. The first excitation signal can be applied to the first and second vibration components in practice, or it can be applied to component models of the first and second vibration components to simulate their vibration effect under the first excitation signal. For different vibration components, the vibration effect can be represented by the vibration quantity.

[0040] In this embodiment of the application, the resonant frequency of the second vibration component can be referred to as the second resonant frequency, wherein the first driving frequency and the second resonant frequency may be the same or different.

[0041] If the vibration effects of the first vibration component and the second vibration component are consistent under the action of the first excitation signal (i.e., the same excitation signal), then the vibration of the first vibration component and the second vibration component is considered to be consistent. If the vibration effects of the first vibration component and the second vibration component are different under the first excitation signal, then the vibration of the first vibration component and the second vibration component is considered to be inconsistent. In this case, the excitation signal input to the first vibration component is adjusted.

[0042] In practical applications, the electronic device determines the difference between the vibration amount of the first vibration component under the first excitation signal and the vibration amount of the second vibration component under the first excitation signal. This difference is compared with a preset vibration difference threshold. If the difference is greater than the vibration difference threshold, the vibration effects of the first vibration component and the second vibration component under the first excitation signal are inconsistent. If the difference is less than or equal to the vibration difference threshold, the vibration effects of the first vibration component and the second vibration component under the first excitation signal are consistent.

[0043] When the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are different, the electronic device adjusts at least one of the frequency and amplitude of the first excitation signal to obtain the second excitation signal, wherein the vibration effect of the first vibration component under the action of the second excitation signal is the same as the vibration effect of the second vibration component under the action of the first excitation signal.

[0044] When the frequencies of the first excitation signal and the second excitation signal are different, the frequency of the second excitation signal is the second driving frequency, and the amplitude of the second excitation signal is the first amplitude. The electronic device determines the second driving frequency based on the first driving frequency, generates the second excitation signal based on the second driving frequency and the first amplitude, thereby adjusting the frequency of the first excitation signal to obtain the second excitation signal.

[0045] When the amplitudes of the first excitation signal and the second excitation signal are different, the frequency of the second excitation signal is the first driving frequency, and the amplitude of the second excitation signal is the second amplitude. The electronic device determines the second amplitude based on the first amplitude, generates the second excitation signal based on the first driving frequency and the second amplitude, thereby adjusting the amplitude of the first excitation signal to obtain the second excitation signal.

[0046] When the amplitudes and frequencies of the first excitation signal and the second excitation signal are different, the frequency of the second excitation signal is the second driving frequency, and the amplitude of the second excitation signal is the second amplitude. The electronic device determines the second driving frequency based on the first driving frequency and determines the second amplitude based on the first amplitude, and generates the second excitation signal based on the second driving frequency and the second amplitude, thereby adjusting the amplitude and frequency of the first excitation signal to obtain the second excitation signal.

[0047] The vibration control method provided in this application provides that when the resonant frequency of the first vibration component is inconsistent with the driving frequency of the first excitation signal acting on the first vibration component, i.e., the first vibration component has a frequency deviation, the vibration effects of the first vibration component and the second vibration component are different. Therefore, the frequency or amplitude of the first excitation signal is adjusted to obtain a second excitation signal, so that the vibration effect of the first vibration component under the second excitation signal is the same as the vibration effect of the second vibration component under the first excitation signal. Thus, by adjusting the frequency and / or amplitude of the excitation signal, the consistency of the vibration effect of different vibration components is achieved, and the vibration tactile effect is improved.

[0048] In some embodiments, adjusting the first excitation signal in S202 to obtain a second excitation signal includes: performing frequency mapping and / or amplitude adjustment on the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain a second excitation signal.

[0049] Understandably, the frequency response relationship between the first vibration component and the second vibration component is the relationship between the frequency response of the first vibration component and the frequency response of the second vibration component. The frequency response of the first vibration component, i.e., the first frequency response, can be understood as the relationship between the frequency and vibration amount, i.e., the frequency and vibration intensity of the first vibration component under the set driving voltage. The frequency response of the second vibration component, i.e., the second frequency response, can be understood as the relationship between the frequency and vibration amount of the second vibration component under the set driving voltage. The relationship between frequency and vibration intensity can be characterized as a frequency-vibration intensity curve.

[0050] In this embodiment, based on the frequency response of the first vibration component, at least one of the following information about the first vibration component can be determined: first resonant frequency, first vibration magnitude, frequency bandwidth of the first vibration component, and root-mean-square acceleration (GRMS) of the vibration magnitude. Based on the frequency response of the second vibration component, at least one of the following information about the second vibration component can be determined: second resonant frequency, second vibration magnitude, frequency bandwidth of the second vibration component, and GRMS of the vibration magnitude.

[0051] In this embodiment, the electronic device can determine, based on the relationship between the first frequency response of the first vibration component and the second frequency response of the second vibration component, whether to perform frequency mapping on the frequency of the excitation signal acting on the first vibration component, how to perform frequency mapping if frequency mapping is performed, and the magnitude of the mapped second driving frequency. The electronic device can also determine, based on the relationship between the first frequency response of the first vibration component and the second frequency response of the second vibration component, whether to adjust the amplitude of the excitation signal acting on the first vibration component, and the magnitude of the adjusted second amplitude if amplitude adjustment is performed.

[0052] In this embodiment, the first frequency response can reflect the capability of the first vibration component, and the second frequency response can reflect the capability of the second vibration component. Therefore, based on the frequency response relationship between the first and second vibration components, the vibration effect of the second vibration component can be transferred to the first vibration component based on the capability difference between the first and second vibration components, thereby achieving accurate transfer of vibration effect.

[0053] In some embodiments, the first excitation signal is frequency-mapped based on the frequency response relationship between the first vibration component and the second vibration component to obtain the second excitation signal, including:

[0054] S2021. Based on the frequency response relationship between the first vibration component and the second vibration component, the first driving frequency is mapped to the second driving frequency;

[0055] S2022. At least the frequency of the first excitation signal is adjusted from the first driving frequency to the second driving frequency to obtain the second excitation signal.

[0056] In this embodiment, the electronic device can map a first driving frequency located in the second frequency response to a second driving frequency located on the first frequency response based on the frequency response relationship between the first vibration component and the second vibration component. Here, the frequency response can be determined based on the first and second frequency responses.

[0057] In this embodiment, when the electronic device maps the first driving frequency to a second driving frequency based on the frequency response relationship between the first and second vibration components, the second driving frequency can be determined by the first driving frequency, the second resonant frequency in the second frequency response, and the first resonant frequency in the first frequency response. The method by which the electronic device determines the second driving frequency based on the first driving frequency, the first resonant frequency, and the second resonant frequency can be determined according to the performance difference between the first and second vibration components. The performance difference between the first and second vibration components characterizes the degree of similarity in performance between the first and second vibration components.

[0058] In one example, the electronic device determines the frequency shift amount based on a first driving frequency and a second resonant frequency, and shifts the first resonant frequency based on the frequency shift amount to obtain the second driving frequency.

[0059] In one example, the electronic device determines the frequency shift amount based on a first resonant frequency and a second resonant frequency, and shifts the first driving frequency based on the frequency shift amount to obtain the second driving frequency.

[0060] In this embodiment, no specific method is limited for determining the second driving frequency based on the first driving frequency, the first resonant frequency, and the second resonant frequency.

[0061] When the electronic device determines the second driving frequency, it adjusts the frequency of the first excitation signal. After adjusting the frequency of the first excitation signal, the frequency-adjusted excitation signal can be used as the second excitation signal, or the amplitude can be further adjusted, and the excitation signal with both frequency and amplitude adjusted can be used as the second excitation signal.

[0062] In some embodiments, before determining the second driving frequency, i.e., before adjusting the first excitation signal based on the adjustment method, the electronic device may first determine the performance difference state characterizing the performance difference between the first vibration component and the second vibration component, and determine the mapping method from the first driving frequency to the second driving frequency in the adjustment method based on the performance difference state. The mapping method from the first driving frequency to the second driving frequency in the adjustment method is different depending on the performance difference state.

[0063] The electronic device can determine a first performance parameter and a second performance parameter. The first performance parameter characterizes a first frequency response of a first vibration component, and the second performance parameter characterizes a second frequency response of a second vibration component. The first performance parameter reflects the performance of the first vibration component, and the second performance parameter reflects the performance of the second vibration component. The performance parameters may include frequency response, dominant frequency information, and total harmonic distortion (THD) parameters. The frequency response includes the vibration intensity of the corresponding vibration component at different frequencies, and the vibration intensity can be the amplitude of acceleration, velocity, or displacement. The frequency response and dominant frequency information characterize the linear performance of the vibration component, while the THD parameter characterizes the nonlinear performance of the vibration component.

[0064] The electronic device determines the performance difference state between the first vibration component and the second vibration component by comparing a first performance parameter and a second performance parameter. In this embodiment, the performance difference state between the first vibration component and the second vibration component can be divided into two types: a first performance difference state and a second performance difference state. The performance difference between the first vibration component and the second vibration component under the first performance difference state is greater than the performance difference under the second performance difference state. When the performance difference state between the first vibration component and the second vibration component is the first performance difference state, it indicates a large performance difference between the first vibration component and the second vibration component; when the performance difference state between the first vibration component and the second vibration component is the second performance difference state, it indicates a small performance difference between the first vibration component and the second vibration component.

[0065] In some embodiments, before mapping the first drive frequency to the second drive frequency based on the frequency response relationship between the first vibration component and the second vibration component, the electronic device further performs the following processing:

[0066] Based on the frequency response relationship between the first vibration component and the second vibration component, the performance difference state between the first vibration component and the second vibration component is determined. The performance difference state is either a first performance difference state or a second performance difference state. The performance difference between the first vibration component and the second vibration component in the first performance difference state is greater than the performance difference in the second performance difference state. The second driving frequency in the first performance difference state and the second driving frequency in the second performance difference state are determined in different ways.

[0067] At this time, the first performance parameter characterizes the first frequency response, and the second performance parameter characterizes the second frequency response; the electronic device determines the performance difference state of the first vibration component and the second vibration component based on the frequency response relationship between the first frequency response and the second frequency response.

[0068] In some embodiments, determining the performance difference state between the first vibration component and the second vibration component based on the frequency response relationship between the first vibration component and the second vibration component includes: determining the difference between a first frequency response of the first vibration component and a second frequency response of the second vibration component; if the difference between the first frequency response and the second frequency response is greater than or equal to a frequency response difference threshold, then determining the performance difference state between the first vibration component and the second vibration component as the first performance difference state; if the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold, then determining the performance difference state between the first vibration component and the second vibration component as the second performance difference state.

[0069] The electronic device compares the difference between a first frequency response and a second frequency response. Specifically, the electronic device can compare the envelopes of the first and second frequency responses. If the difference between the envelopes of the first and second frequency responses is greater than or equal to a set threshold, then the first and second frequency responses are considered to be greater than or equal to the frequency response difference threshold. Otherwise, the first and second frequency responses are considered to be less than the frequency response difference threshold. In this case, the frequency response difference threshold is the set threshold.

[0070] The electronic device can compare the vibration intensity of the first frequency response at a reference frequency and the vibration intensity of the second frequency response at a reference frequency. If the difference between the two vibration intensities is greater than or equal to a set intensity difference threshold, then the first frequency response and the second frequency response are considered to be greater than or equal to the frequency response difference threshold. Otherwise, the first frequency response and the second frequency response are considered to be less than the frequency response difference threshold. In this case, the frequency response difference threshold is the set intensity difference threshold.

[0071] In this embodiment of the application, no limitation is made on the method of determining the difference between the first frequency response and the second frequency response.

[0072] The electronic device can determine the performance difference state of the first vibration component and the second vibration component by comparing only the first frequency response and the second frequency response. If the difference between the first frequency response and the second frequency response is greater than or equal to the frequency response difference threshold, the performance difference state of the first vibration component and the second vibration component is the first performance difference state. If the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold, the performance difference state of the first vibration component and the second vibration component is the second performance difference state.

[0073] In some embodiments, the electronic device may also determine the performance difference state between the first vibration component and the second vibration component based on the first THD of the first vibration component and the second THD of the second vibration component.

[0074] Understandably, the electronic device may determine the performance difference between the first vibration component and the second vibration component solely based on the first THD of the first vibration component and the second THD of the second vibration component, or it may determine the performance difference between the first vibration component and the second vibration component by combining the first THD of the first vibration component and the second THD of the second vibration component with the frequency response relationship between the first vibration component and the second vibration component.

[0075] Taking the example that an electronic device can determine the performance difference state of a first vibration component and a second vibration component solely based on the first THD of the first vibration component and the second THD of the second vibration component, the electronic device further performs the following processing: determining the intersection region of the linear region of the first THD of the first vibration component and the linear region of the second THD of the second vibration component; if the intersection region is less than the region threshold, then the performance difference state of the first vibration component and the second vibration component is determined to be the first performance difference state; if the intersection region is greater than or equal to the region threshold, then the performance difference state of the first vibration component and the second vibration component is determined to be the second performance difference state.

[0076] Taking the determination of the performance difference state of the first vibration component and the second vibration component by combining the first THD of the first vibration component and the second THD of the second vibration component with the frequency response relationship of the first vibration component and the second vibration component as an example, the electronic device further performs the following processing: determining the intersection region of the linear region of the first THD of the first vibration component and the linear region of the second THD of the second vibration component; if the intersection region is less than the region threshold, then the performance difference state of the first vibration component and the second vibration component is determined as the first performance difference state; correspondingly, the fact that at least the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold includes: the intersection region is greater than or equal to the region threshold, and the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold.

[0077] The electronic device can also determine the performance difference between the first vibration component and the second vibration component by using the first THD parameter and the second THD parameter. In this case, the first performance parameter further includes a first total harmonic distortion (THD) parameter, and the second performance parameter further includes a second THD parameter. The first THD parameter can characterize the first THD linear region, i.e., the THD linear region of the first vibration component, and the second THD parameter can characterize the second THD linear region, i.e., the THD linear region of the second vibration component.

[0078] At this time, the performance parameters include frequency response and THD parameters. When the difference between the first frequency response and the second frequency response is greater than or equal to the frequency response difference threshold or the intersection area of ​​the THD linear regions of the two vibration components is less than the region threshold, the performance difference state between the first vibration component and the second vibration component is the first performance difference state. When the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold and the intersection area of ​​the THD linear regions of the two vibration components is greater than or equal to the region threshold, the performance difference state between the first vibration component and the second vibration component is the second performance difference state.

[0079] In this embodiment, the order in which the electronic device compares the relationship between the difference between the first frequency response and the second frequency response and the frequency response difference threshold, and the order in which it compares the relationship between the intersection region of the THD linear regions of the two vibration components and the region threshold, is not limited.

[0080] In this embodiment, the THD parameter can be the variation of the THD of the vibration component with voltage and frequency. The THD variation graph represented by the THD parameter includes linear and nonlinear regions. In the linear region, THD changes linearly with voltage and frequency, while in the nonlinear region, THD changes nonlinearly with voltage and frequency.

[0081] In one example, the THD parameter of the first vibration component can be expressed as: Figure 3 The heatmap shown is a linear region (region 301) and a nonlinear region (region 302).

[0082] If the performance difference between the first vibration component and the second vibration component is a first performance difference state, then the electronic device maps the first driving frequency to a second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component, including: determining the frequency bandwidth relationship between the frequency bandwidth of the first vibration component and the frequency bandwidth of the second vibration component; determining a first frequency shift amount based on the frequency bandwidth relationship, the first driving frequency, and the second resonant frequency, wherein the second resonant frequency is the resonant frequency of the second vibration component; and determining the second driving frequency based on the first frequency shift amount and the first resonant frequency.

[0083] Here, the electronic device determines the first frequency shift amount based on the first frequency response of the first vibration component and the second frequency response of the second vibration component, and shifts the first resonant frequency based on the first frequency shift amount to obtain the second driving frequency. The first resonant frequency can be shifted in a positive or negative direction based on the first frequency shift amount, and the frequency with the larger vibration amount among the two shifted frequencies is taken as the second driving frequency.

[0084] In this embodiment, the first frequency shift is the frequency interval between the second driving frequency and the first resonant frequency, and the frequency interval between the first driving frequency and the second resonant frequency is the reference frequency interval. The relationship between the first frequency shift and the reference frequency interval can be expressed as the frequency bandwidth relationship between the frequency bandwidth of the first vibration component and the frequency bandwidth of the second vibration component, i.e., there exists formula (1):

[0085]

[0086] Where f′0 is the second driving frequency, f1 is the first resonant frequency, f0 is the first driving frequency, f2 is the second resonant frequency, B2 is the bandwidth of the second vibration component, and B1 is the bandwidth of the first vibration component.

[0087] Based on formula (1), the second driving frequency f′0 can be expressed as formula (2):

[0088]

[0089] In this embodiment, when the performance difference between the first vibration component and the second vibration component is large, the frequency interval between the second driving frequency and the first resonant frequency is related to the bandwidth of the first vibration component and the second vibration component. This allows the first resonant frequency to be shifted proportionally based on the frequency interval between the first driving frequency and the second resonant frequency, thereby ensuring that the vibration intensity corresponding to the shifted second driving frequency can reach the vibration intensity of the second vibration component at the first driving frequency, thus achieving vibration consistency between the first vibration component and the second vibration component.

[0090] In some embodiments, if the performance difference state between the first vibration component and the second vibration component is the first performance difference state, before mapping the first driving frequency to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component, the electronic device further performs the following processing: obtaining a first vibration amount and a second vibration amount, wherein the first vibration amount is the maximum vibration amount that the first vibration component can achieve at the first driving frequency, and the second vibration amount is the vibration amount of the second vibration component under the action of the first excitation signal; comparing the first vibration amount and the second vibration amount, wherein if the first vibration amount is less than the second vibration amount, then mapping the first driving frequency to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component.

[0091] Before frequency shifting occurs when the electronic device is in a state of performance difference between the first vibration component and the second vibration component, it can determine a first vibration amount based on a first frequency response and a second vibration amount based on a second frequency response. The magnitudes of the first and second vibration amounts are compared, and a decision on whether to perform frequency mapping is made based on the frequency response relationship between the first and second vibration components. If the first vibration amount is greater than or equal to the second vibration amount, it indicates that the first vibration component can achieve a fourth vibration amount under the action of the first driving frequency, meaning it can achieve the same vibration effect as the second vibration component. In this case, the first excitation signal remains unchanged, and no adjustment is made to the first excitation signal. If the first vibration amount is less than the second vibration amount, it indicates that the first vibration component cannot achieve the second vibration amount under the action of the first excitation signal, meaning it cannot achieve the same vibration effect as the second vibration component.

[0092] If the electronic device determines that the first vibration component cannot achieve the second vibration amount under the action of the first driving frequency, then it determines the second driving frequency, that is, adjusts the frequency of the first excitation signal. If it determines that the first vibration component can achieve the second vibration amount, then it may not adjust the first excitation signal, that is, the excitation signal of the first vibration component remains the first excitation signal, or the amplitude of the first excitation signal is adjusted, that is, the excitation signal of the first vibration component becomes the second excitation signal and the amplitude of the second excitation signal is different from that of the first excitation signal.

[0093] In one example, the frequency-vibration intensity curve of the first vibrating component is as follows: Figure 4 As shown in curve 401, f1 is the resonant frequency of the first vibration component. Taking the frequency of the excitation signal as f5 as an example, if the target value c5 is less than the maximum vibration intensity b5 that the first vibration component can achieve in single-frequency response at f5, then the frequency of the excitation signal acting on the first vibration component can remain equal to f5.

[0094] In one example, the frequency-vibration intensity curve of the first vibrating component is as follows: Figure 4 As shown in curve 401, f1 is the resonant frequency of the first vibration component. Taking the frequency of the excitation signal as f4 as an example, if the target value c4 is greater than the single-frequency response capability of the first vibration component at f4, i.e., the maximum vibration intensity b4 that can be achieved, then the frequency of the excitation signal acting on the first vibration component is adjusted.

[0095] In some embodiments, if the performance difference state between the first vibration component and the second vibration component is a second performance difference state, then the electronic device maps the first driving frequency to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component, including: using the frequency difference between the first resonant frequency and the second resonant frequency as a second frequency shift amount; and determining the second driving frequency based on the second frequency shift amount and the first driving frequency.

[0096] When the performance difference between the first vibration component and the second vibration component is small, the driving frequency of the excitation signal of the first vibration component is shifted by a second frequency offset, where the second frequency offset is the interval between the first resonant frequency and the second resonant frequency. At this time, the second driving frequency f′0 can be expressed as formula (3):

[0097] f′0=f0+(f1-f2) formula (3).

[0098] In this embodiment, when the performance difference between the first vibration component and the second vibration component is small, the frequency difference between the first resonant frequency and the second resonant frequency is used as the shift amount to shift the first driving frequency. At the same time, the vibration intensity corresponding to the second driving frequency after shift can reach the vibration intensity of the second vibration component at the first driving frequency. The shifting scheme is simple, thereby quickly achieving vibration consistency between the first vibration component and the second vibration component.

[0099] In some embodiments, adjusting the amplitude of the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain the second excitation signal includes:

[0100] Based on the frequency response relationship between the first vibration component and the second vibration component, the second amplitude is determined; at least the amplitude of the first excitation signal is adjusted from the first amplitude to the second amplitude to obtain the second excitation signal.

[0101] The electronic device can determine whether to adjust the amplitude of the first excitation signal if frequency mapping is not required based on the frequency response of the first vibration component and the second vibration component, or it can determine whether to adjust the amplitude of the first excitation signal after adjusting the frequency of the first excitation signal.

[0102] The electronic device can determine the difference between the vibration amount of the first vibration component under the current excitation signal (i.e., the third vibration amount) and the vibration amount of the second vibration component under the second excitation signal (i.e., the second vibration amount). If the difference between the third vibration amount and the second vibration amount is greater than or equal to a vibration amount difference threshold, it is determined that the first amplitude should be adjusted; if the difference between the third vibration amount and the second vibration amount is less than the vibration amount difference threshold, it is determined that the first amplitude should not be adjusted. Here, the amplitude of the current excitation signal of the first vibration component is the first amplitude, and the frequency is either the first driving frequency or the second driving frequency.

[0103] If the frequency of the first excitation signal is not adjusted (i.e., the frequency of the excitation signal acting on the first vibration component is the first driving frequency), and the difference between the third vibration quantity and the second vibration quantity is greater than or equal to the vibration quantity difference threshold, then the vibration quantities of the first vibration component and the second vibration component under the action of excitation signals with the same amplitude and frequency will have a relatively large difference. In this case, the amplitude of the excitation signal of the first vibration component will be adjusted. At this time, the amplitudes of the second excitation signal and the first excitation signal will be different.

[0104] If, when the frequency of the first excitation signal is adjusted (i.e., the frequency of the excitation signal acting on the first vibration component is the second driving frequency), and the difference between the third vibration quantity and the second vibration quantity is greater than or equal to a vibration quantity difference threshold, the vibration quantities of the first and second vibration components under the action of excitation signals with the same amplitude but different frequencies will have a relatively large difference. In this case, the amplitude of the excitation signal of the first vibration component will be adjusted. At this time, the amplitude and frequency of the second excitation signal and the first excitation signal will be different.

[0105] If the frequency of the first excitation signal is not adjusted, that is, the frequency of the excitation signal acting on the first vibration component is the first driving frequency, and the difference between the third vibration quantity and the second vibration quantity is less than the vibration quantity difference threshold, then it is considered that the difference in vibration quantity between the first vibration component and the second vibration component under the action of an excitation signal with the same amplitude and frequency is small. At this time, the amplitude of the excitation signal acting on the first vibration component is not adjusted, and the vibration effect of the first vibration component under the action of the first excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal.

[0106] If the frequency of the first excitation signal is adjusted, that is, the frequency of the excitation signal acting on the first vibration component is the second driving frequency, and the difference between the third vibration quantity and the second vibration quantity is less than the vibration quantity difference threshold, then it is considered that the difference in vibration quantity between the first vibration component and the second vibration component under the action of excitation signals with the same amplitude but different frequencies is small. At this time, the amplitude of the excitation signal acting on the first vibration component is not adjusted, and the vibration effect of the first vibration component under the action of the second excitation signal after the frequency of the first excitation signal is adjusted is consistent with the vibration effect of the second vibration component under the action of the first excitation signal.

[0107] If it is determined that the vibration of the first excitation signal needs to be adjusted, the electronic device adjusts the amplitude of the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain the second excitation signal.

[0108] In practical applications, when the performance difference is the first performance difference and the first vibration amount is greater than or equal to the second vibration amount, the electronic device can directly obtain the third vibration amount and the second vibration amount. When the difference between the third vibration amount and the second vibration amount is less than the vibration amount difference threshold, the electronic device does not adjust the amplitude of the first excitation signal. When the difference between the third vibration amount and the second vibration amount is greater than or equal to the vibration amount difference threshold, the electronic device adjusts the amplitude of the first excitation signal.

[0109] In practical applications, when the performance difference is the second performance difference, the electronic device can directly obtain the third vibration amount and the second vibration amount. When the difference between the third vibration amount and the second vibration amount is less than the vibration difference threshold, the electronic device does not adjust the amplitude of the first excitation signal. When the difference between the third vibration amount and the second vibration amount is greater than or equal to the vibration difference threshold, the electronic device adjusts the amplitude of the first excitation signal.

[0110] In some embodiments, determining the second amplitude based on the frequency response relationship between the first vibration component and the second vibration component includes: determining an adjustment coefficient based on the second vibration amount and the third vibration amount; and obtaining the second amplitude based on the adjustment coefficient and the first amplitude.

[0111] Here, the electronic device can adjust the gain of the first excitation signal based on the third vibration quantity and the second vibration quantity.

[0112] In some embodiments, determining the second amplitude based on the frequency response relationship between the first vibration component and the second vibration component includes: determining an adjustment coefficient based on the total root mean square acceleration (GRMS) of the vibration amount of the first vibration component and the GRMS of the vibration amount of the second vibration component; and determining the second amplitude based on the adjustment coefficient and the first amplitude.

[0113] The electronic device determines the GRMS of the vibration amount of the first vibration component based on the first frequency response, determines the GRMS of the vibration amount of the second vibration component based on the second frequency response, and determines an adjustment coefficient based on the GRMS of the vibration amount of the first vibration component and the GRMS of the vibration amount of the second vibration component. Based on the adjustment coefficient, the first amplitude is adjusted to obtain the second amplitude.

[0114] In one example, the vibration amount of the first vibration component under the first driving frequency is 1.7 Grms, the vibration amount of the second vibration component under the first driving frequency is 2 Grms, the first amplitude of the first excitation signal is A, and the second amplitude is 2 / 1.7*A.

[0115] In practical applications, the vibration control method provided in this application embodiment can... Figure 5 As shown, it includes:

[0116] S501, The electronic device determines the performance difference status between the first vibration component and the second vibration component.

[0117] If the performance difference between the first vibration component and the second vibration component is a first performance difference state, the electronic device executes S502; if the performance difference between the first vibration component and the second vibration component is a second performance difference state, the electronic device executes S503 and / or S504.

[0118] S502, The electronic device compares the first vibration amount and the second vibration amount;

[0119] If the first vibration amount is greater than or equal to the second vibration amount, the electronic device does not adjust the first excitation signal input to the first vibration component or executes S503; if the first vibration amount is less than the second vibration amount, the electronic device executes S504.

[0120] S503, The electronic device adjusts the amplitude of the first excitation signal.

[0121] If the electronic device executes S503 directly after S502, the second amplitude is determined based on the first amplitude. If the electronic device executes S503 after S505, the second amplitude is determined based on the third amplitude.

[0122] S504. The electronic device adjusts the frequency of the first excitation signal.

[0123] After adjusting the frequency of the first excitation signal, the electronic device executes S504.

[0124] S505, Electronic equipment determines the difference between the third vibration quantity and the second vibration quantity.

[0125] If the difference between the third vibration amount and the second vibration amount is greater than the threshold of the first vibration amount difference, execute S503.

[0126] The vibration control method provided in this application embodiment will be further explained below, taking the vibration component as a motor as an example.

[0127] The vibration control method provided in this application, for frequency offset design (the frequency of the excitation signal deviates from the resonant frequency by more than a certain frequency threshold), determines the performance difference between the current motor and the target motor. When the performance difference between the two is large, the frequency response capability is compared first. If the amplitude of the current motor is greater than or equal to the target amplitude, that is, the current motor can achieve the target vibration amount, then the frequency is equalized or the amplitude is finely adjusted. If not, the frequency of the excitation signal is shifted and finely adjusted. When the performance difference is less than a preset threshold, the frequency of the excitation signal is shifted and / or the amplitude is corrected with the resonant frequency of the current motor as the center, or the signal is not modified.

[0128] The vibration control method provided in the embodiments of this application, such as Figure 6 As shown, it includes:

[0129] S601, Electronic device comparison application motor performance and target motor performance.

[0130] Electronic devices can compare the following performance characteristics of the applied motor and the target motor: linear performance and nonlinear performance.

[0131] The linear performance of the applied motor and the linear performance of the target motor are determined based on the corresponding linear performance parameters. The linear performance is the linear frequency response. The linear performance parameters characterizing the linear frequency response may include the amplitude, which may include: acceleration G(f) under frequency f, or velocity V(f) under frequency f, or displacement X(f) under frequency f.

[0132] The nonlinear performance of the applied motor and the nonlinear performance of the target motor are determined based on the nonlinear performance parameters of the corresponding motor. The nonlinear performance parameters include: THD under different voltage excitation at each frequency, or the change in the main frequency.

[0133] When the performance difference between the applied motor and the target motor is large, the electronic device executes S602; when the performance difference between the applied motor and the target motor is small, the electronic device executes S603.

[0134] S602, Electronic equipment acquires the single-frequency response capability of the applied motor.

[0135] Here, the single-frequency response capability can be represented as the maximum vibration of the applied motor at the frequency of the excitation signal. The vibration of the applied motor at different frequencies can be obtained, and the single-frequency response capability of the applied motor is determined based on the obtained vibration intensity at different frequencies. The single-frequency response capability can be obtained through simulation based on motor parameters such as the resonant frequency and maximum stroke of the applied motor.

[0136] S6021. Determine whether the applied motor can achieve the target vibration amount based on the frequency single-frequency response capability of the applied motor.

[0137] The target vibration level is the set vibration level that the motor needs to achieve.

[0138] If the frequency response capability of the applied motor is greater than or equal to the target vibration amount, and it is determined that the applied motor can achieve the target vibration amount based on the excitation signal at the current frequency, then S6022 is executed. If the frequency response capability of the applied motor is less than the target vibration amount, and it is determined that the applied motor cannot achieve the target vibration amount based on the excitation signal at the current frequency, then S6023 is executed.

[0139] S6022. Electronic equipment determines the frequency equivalent or fine-tunes the amplitude of the excitation signal.

[0140] Frequency equivalence can be understood as the frequency of the excitation signal being set to the current frequency.

[0141] Amplitude fine-tuning can be understood as correcting the amplitude of the excitation signal. In one example, the gain of the excitation signal is adjusted based on the root-mean-square acceleration (GRMS) of the applied motor and the GRMS of the target motor.

[0142] S6023. Electronic equipment performs frequency shifting and amplitude fine-tuning on the excitation signal.

[0143] The electronic device is moved k*Δf1 based on the resonant frequency of the applied motor, that is, the signal frequency is modified to: the resonant frequency of the applied motor f1±k*Δf1, and a value close to the original signal frequency is selected, where k = the frequency bandwidth of the applied motor / the frequency bandwidth of the target motor, and Δf1 = the frequency of the excitation signal f0 - the resonant frequency of the target motor f2.

[0144] After frequency shifting of the excitation signal, if the difference between the vibration amount corresponding to the frequency shifted and the vibration amount of the target motor is greater than the vibration difference threshold, then the amplitude of the excitation signal is fine-tuned. The description of amplitude fine-tuning can be found in the description of S6022.

[0145] S603. Electronic devices shift the frequency of a signal or correct the amplitude of a signal based on the resonant frequency of the applied motor.

[0146] The electronic device shifts Δf2 based on the frequency of the excitation signal, that is, the signal frequency is modified to: signal frequency + Δf2, where Δf2 = the resonant frequency f2 of the applied motor - the resonant frequency f2 of the target motor.

[0147] Figure 7 This diagram illustrates an optional frequency response of motors 1 and 2. Curve 701 represents the frequency-intensity curve of motor 1, and curve 702 represents the frequency-intensity curve of motor 2. Based on curves 701 and 702, it can be determined that motors 1 and 2 have significant performance differences. Motor 1 has a resonant frequency of f1 and a single-frequency response capability of b1 at f1, while motor 2 has a resonant frequency of f2 and a single-frequency response capability of a2 at f2. When the excitation signal is applied to motors 1 and 2, if the vibration effect of motor 1 is to be consistent with that of motor 2, considering the significant performance difference between the two motors, a comparison of their single-frequency response capabilities is first performed. Based on the comparison results, the following two processing methods are used:

[0148] Method 1: Taking the frequency of the excitation signal C as f5 as an example, such as... Figure 7 As shown, the single-frequency response capability b5 of motor 1 at f5 can reach the target value c5, while the single-frequency response capability of motor 2 at f5 is a5.

[0149] In this situation, the frequency of the excitation signal C applied to motor 1 can remain the same, i.e., still f5. If the two motors have a large difference in single-frequency response capability at f5, the amplitude of the excitation signal C is fine-tuned according to their Grms(f). If the difference is less than the preset threshold, no amplitude fine-tuning is required.

[0150] Method 2: Taking the frequency of the excitation signal D as f4 as an example, such as... Figure 7 As shown, the single-frequency response capability b4 of motor 1 at f4 cannot reach the target value c4, while the single-frequency response capability of motor 2 at f4 is a4.

[0151] In this situation, the excitation signal D acting on motor 2 needs to be relatively shifted and fine-tuned in frequency: the frequency is shifted relative to its own resonant frequency f0 by k*Δf1, that is, from f4 to f6=f0±k*Δf, and the f6 value closest to f4 is selected; (where k=B1 / B2, Δf=|f4-f2|) If the difference in vibration intensity after the relative shift is greater than the preset threshold, such as the case of shifting to f7, the amplitude can be corrected according to the Grms(f) of the two.

[0152] Figure 8This diagram illustrates an optional frequency response of motors 1 and 2. Curve 801 represents the frequency-intensity curve of motor 1, and curve 802 represents the frequency-intensity curve of motor 2. Based on curves 801 and 802, it can be determined that the performance difference between motors 1 and 2 is small. Motor 1 has a resonant frequency of f1 and a single-frequency response capability of b1 at f1, while motor 2 has a resonant frequency of f2 and a single-frequency response capability of a2 at f2. When the excitation signal is applied to motors 1 and 2, if the vibration effect of motor 1 is to be consistent with that of motor 2, considering the small difference in performance between the two motors, the following two processing methods are possible:

[0153] Method 1: Taking the frequency of excitation signal A as f5 as an example, the single-frequency response capability of motor 1 at f5 is b5, and the single-frequency response capability of motor 2 at f5 is a5. The frequency f5 of excitation signal A can be shifted and the amplitude corrected. There are three processing methods as follows:

[0154] a) Frequency shifting method: Only the frequency is shifted, with the resonance as the center, shifting Δf2, that is, from f5 to f6 = f5 + Δf2; (where Δf2 = resonant frequency f1 of motor 1 - resonant frequency f2 of motor 2)

[0155] b) Amplitude correction method: Adjust the amplitude of excitation signal A according to Grms(f) of the two;

[0156] c) Frequency shifting and amplitude correction method: After the frequency changes from f5 to f6, the amplitude of the excitation signal is adjusted.

[0157] Method 2: Taking the frequency of excitation signal B as f3 as an example, the single-frequency response capability of motor 1 at f3 is b2, and the single-frequency response capability of motor 2 at f3 is a3. At f3, the response capabilities of motor 2 and motor 1 are similar. In this case, no modification to the excitation signal is required.

[0158] In this embodiment, the nonlinear performance of the motor is compared by the trend of the motor's THD changing with voltage and frequency:

[0159] 1) If the THD linear regions of motor 1 and motor 2 have an overlapping region, and the overlapping region is greater than the preset region threshold, it can be considered that the difference between the two is small, and the linear performance can be directly compared.

[0160] 2) If the THD linear regions of motor 1 and motor 2 do not overlap, or if they overlap but the overlap is smaller than the preset threshold, it can be considered that the difference between the two is large and the difference in linear performance is also large. Then, the process with the large difference in linear performance can be directly entered.

[0161] like Figure 9As shown, 901 and 902 are heatmaps of the THD of motor 1 and motor 2 as a function of voltage and frequency, respectively. 9011 is the linear region of THD of motor 1, 9012 is the nonlinear region of THD of motor 1, 9021 is the linear region of THD of motor 2, and 9022 is the nonlinear region of THD of motor 2. The intersection of region 9011 and region 9021 indicates that the linear regions of THD of motor 1 and motor 2 intersect.

[0162] In this embodiment, by shifting the signal frequency or fine-tuning the amplitude, the impact of inconsistent vibration effects caused by differences in the performance or parameters of different individual motors is reduced, the consistency of vibration effects is improved, the user experience is enhanced, and the diversity of the original design is preserved.

[0163] To achieve the above-mentioned vibration control method, embodiments of this application provide a vibration control device, such as... Figure 10 As shown, the device 1000 includes:

[0164] The acquisition module 1001 is used to acquire a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude.

[0165] The adjustment module 1002 is used to adjust the first excitation signal to obtain a second excitation signal when the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal, wherein the second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude.

[0166] In some embodiments, the adjustment module 1002 is further configured to: perform frequency mapping and / or amplitude adjustment on the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain a second excitation signal.

[0167] In some embodiments, the adjustment module 1002 is further configured to:

[0168] Based on the frequency response relationship between the first vibration component and the second vibration component, the first driving frequency is mapped to the second driving frequency;

[0169] The frequency of the first excitation signal is adjusted from the first driving frequency to the second driving frequency to obtain the second excitation signal.

[0170] In some embodiments, the adjustment module 1002 is further configured to:

[0171] Based on the frequency response relationship between the first vibration component and the second vibration component, the performance difference state between the first vibration component and the second vibration component is determined. The performance difference state is either a first performance difference state or a second performance difference state. The performance difference between the first vibration component and the second vibration component in the first performance difference state is greater than the performance difference in the second performance difference state. The second driving frequency in the first performance difference state and the second driving frequency in the second performance difference state are determined in different ways.

[0172] In some embodiments, the adjustment module 1002 is further configured to:

[0173] Determine the difference between the first frequency response of the first vibration component and the second frequency response of the second vibration component;

[0174] If the difference between the first frequency response and the second frequency response is greater than or equal to the frequency response difference threshold, then the performance difference state between the first vibration component and the second vibration component is determined to be the first performance difference state.

[0175] If the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold, then the performance difference state between the first vibration component and the second vibration component is determined to be the second performance difference state.

[0176] In some embodiments, the adjustment module 1002 is further configured to:

[0177] Determine the intersection region of the first THD linear region of the first vibration component and the second THD linear region of the second vibration component;

[0178] If the intersection region is smaller than the region threshold, then the performance difference state between the first vibration component and the second vibration component is determined as the first performance difference state.

[0179] Correspondingly, the condition that the difference between at least the first frequency response and the second frequency response is less than the frequency response difference threshold includes: the intersection region is greater than or equal to the region threshold, and the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold.

[0180] In some embodiments, the adjustment module 1002 is further configured to:

[0181] If the performance difference state between the first vibration component and the second vibration component is the first performance difference state, determine the frequency bandwidth relationship between the frequency bandwidth of the first vibration component and the frequency bandwidth of the second vibration component.

[0182] The first frequency shift amount is determined based on the frequency bandwidth relationship, the first driving frequency and the second resonant frequency, where the second resonant frequency is the resonant frequency of the second vibration component.

[0183] The second driving frequency is determined based on the first frequency shift amount and the first resonant frequency.

[0184] In some embodiments, the adjustment module 1002 is further configured to:

[0185] If the performance difference state between the first vibration component and the second vibration component is the first performance difference state, the first vibration amount and the second vibration amount are obtained. The first vibration amount is the maximum vibration amount that the first vibration component can achieve based on the first driving frequency, and the second vibration amount is the vibration amount of the second vibration component under the action of the first excitation signal.

[0186] The first vibration amount and the second vibration amount are compared. If the first vibration amount is less than the second vibration amount, the first driving frequency is mapped to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component.

[0187] In some embodiments, the adjustment module 1002 is further configured to:

[0188] If the performance difference state is the second performance difference state, the frequency difference between the first resonant frequency and the second resonant frequency is used as the second frequency shift amount.

[0189] The second driving frequency is determined based on the second frequency transfer amount and the first driving frequency.

[0190] In some embodiments, the adjustment module 1002 is further configured to:

[0191] The second amplitude is determined based on the frequency response relationship between the first vibration component and the second vibration component;

[0192] The amplitude of the first excitation signal is adjusted from the first amplitude to the second amplitude to obtain the second excitation signal.

[0193] In some embodiments, the adjustment module 1002 is further configured to:

[0194] The adjustment coefficient is determined based on the total root mean square acceleration (GRMS) of the vibration of the first vibration component and the GRMS of the vibration of the second vibration component.

[0195] The second amplitude is determined based on the adjustment coefficient and the first amplitude.

[0196] It should be noted that the various logic units included in the vibration control device provided in this application embodiment can be implemented by a processor in an electronic device; of course, they can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA), etc.

[0197] The description of the system embodiments above is similar to that of the method embodiments above, and has similar beneficial effects. For technical details not disclosed in the system embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0198] It should be noted that, in the embodiments of this application, if the above-described vibration control method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0199] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the vibration control method described above.

[0200] Correspondingly, embodiments of this application provide a storage medium, namely a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the vibration control method provided in the above embodiments.

[0201] It should be noted that the descriptions of the storage medium embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0202] It should be noted that, Figure 11 This is a schematic diagram of a hardware entity of an electronic device according to an embodiment of this application, such as... Figure 11 As shown, the electronic device 1100 includes: a processor 1101, at least one communication bus 1102, at least one external communication interface 1104, and a memory 1105. The communication bus 1102 is configured to enable communication between these components. In one example, the electronic device 1100 further includes: a user interface 1103, which may include a display screen; the external communication interface 1104 may include standard wired and wireless interfaces. The electronic device provided in this application embodiment also includes at least two vibration components capable of generating vibrations based on vibration events.

[0203] The memory 1105 is configured to store instructions and applications executable by the processor 1101, and can also cache data to be processed or already processed by the processor 1101 and various modules in the electronic device (e.g., image data, audio data, and communication data), which can be implemented by flash memory or random access memory (RAM).

[0204] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0205] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0206] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0207] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0208] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0209] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0210] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0211] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A vibration control method, characterized in that, The method includes: Obtain a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude; When the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component are inconsistent under the action of the first excitation signal, based on the frequency response relationship between the first vibration component and the second vibration component, the first excitation signal is frequency mapped and / or amplitude adjusted to obtain a second excitation signal, so that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal. The second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude. Wherein, if the difference between the vibration amount of the first vibration component under the first excitation signal and the vibration amount of the second vibration component under the first excitation signal is greater than the vibration amount difference threshold, it is determined that the vibration effects of the first vibration component and the second vibration component under the first excitation signal are inconsistent.

2. The method according to claim 1, characterized in that, The step of frequency mapping the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain the second excitation signal includes: Based on the frequency response relationship between the first vibration component and the second vibration component, the first driving frequency is mapped to the second driving frequency; The frequency of the first excitation signal is adjusted from the first driving frequency to the second driving frequency to obtain the second excitation signal.

3. The method according to claim 2, characterized in that, The method further includes: Based on the frequency response relationship between the first vibration component and the second vibration component, the performance difference state between the first vibration component and the second vibration component is determined. The performance difference state is either a first performance difference state or a second performance difference state. The performance difference between the first vibration component and the second vibration component in the first performance difference state is greater than the performance difference in the second performance difference state. The second driving frequency in the first performance difference state and the second driving frequency in the second performance difference state are determined in different ways.

4. The method according to claim 3, characterized in that, Based on the frequency response relationship between the first vibration component and the second vibration component, the performance difference status between the first vibration component and the second vibration component is determined, including: Determine the difference between the first frequency response of the first vibration component and the second frequency response of the second vibration component; If the difference between the first frequency response and the second frequency response is greater than or equal to the frequency response difference threshold, then the performance difference state between the first vibration component and the second vibration component is determined to be the first performance difference state. If the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold, then the performance difference state between the first vibration component and the second vibration component is determined to be the second performance difference state.

5. The method according to claim 4, characterized in that, The method further includes: Determine the intersection region of the first total harmonic distortion (THD) linear region of the first vibration component and the second THD linear region of the second vibration component; If the intersection region is smaller than the region threshold, then the performance difference state between the first vibration component and the second vibration component is determined as the first performance difference state. Correspondingly, the condition that the difference between at least the first frequency response and the second frequency response is less than the frequency response difference threshold includes: the intersection region is greater than or equal to the region threshold, and the difference between the first frequency response and the second frequency response is less than the frequency response difference threshold.

6. The method according to claim 3, characterized in that, If the performance difference state between the first vibration component and the second vibration component is the first performance difference state, the step of mapping the first driving frequency to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component includes: Determine the frequency bandwidth relationship between the frequency bandwidth of the first vibration component and the frequency bandwidth of the second vibration component; The first frequency shift amount is determined based on the frequency bandwidth relationship, the first driving frequency and the second resonant frequency, where the second resonant frequency is the resonant frequency of the second vibration component. The second driving frequency is determined based on the first frequency shift amount and the first resonant frequency.

7. The method according to claim 3, characterized in that, If the performance difference between the first vibration component and the second vibration component is the first performance difference state, the method further includes: The first vibration amount and the second vibration amount are obtained. The first vibration amount is the maximum vibration amount that the first vibration component can achieve based on the first driving frequency, and the second vibration amount is the vibration amount of the second vibration component under the action of the first excitation signal. The first vibration amount and the second vibration amount are compared. If the first vibration amount is less than the second vibration amount, the first driving frequency is mapped to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component.

8. The method according to claim 3, characterized in that, If the performance difference state is the second performance difference state, the step of mapping the first driving frequency to the second driving frequency based on the frequency response relationship between the first vibration component and the second vibration component includes: The frequency difference between the first resonant frequency and the second resonant frequency is used as the second frequency shift amount, and the second resonant frequency is the resonant frequency of the second vibration component. The second driving frequency is determined based on the second frequency transfer amount and the first driving frequency.

9. The method according to claim 1, characterized in that, The step of adjusting the amplitude of the first excitation signal based on the frequency response relationship between the first vibration component and the second vibration component to obtain the second excitation signal includes: The second amplitude is determined based on the frequency response relationship between the first vibration component and the second vibration component; The amplitude of the first excitation signal is adjusted from the first amplitude to the second amplitude to obtain the second excitation signal.

10. The method according to claim 9, characterized in that, Determining the second amplitude based on the frequency response relationship between the first vibration component and the second vibration component includes: The adjustment coefficient is determined based on the total root mean square acceleration (GRMS) of the vibration of the first vibration component and the GRMS of the vibration of the second vibration component. The second amplitude is determined based on the adjustment coefficient and the first amplitude.

11. A vibration control device, characterized in that, The device includes: The acquisition module is used to acquire a first resonant frequency and a first driving frequency, wherein the first resonant frequency is the resonant frequency of the first vibration component, the excitation signal of the first vibration component is the first excitation signal, the frequency of the first excitation signal is the first driving frequency, and the amplitude of the first excitation signal is the first amplitude. An adjustment module is configured to perform frequency mapping and / or amplitude adjustment on the first excitation signal based on the frequency response relationship between the first and second vibration components when the first resonant frequency and the first driving frequency are different and the vibration effects of the first vibration component and the second vibration component under the action of the first excitation signal are inconsistent, so as to obtain a second excitation signal, such that the vibration effect of the first vibration component under the action of the second excitation signal is consistent with the vibration effect of the second vibration component under the action of the first excitation signal, wherein the second excitation signal is different from the first excitation signal in at least one of the following: frequency and amplitude; Wherein, if the difference between the vibration amount of the first vibration component under the first excitation signal and the vibration amount of the second vibration component under the first excitation signal is greater than the vibration amount difference threshold, it is determined that the vibration effects of the first vibration component and the second vibration component under the first excitation signal are inconsistent.

12. An electronic device, characterized in that, The electronic device includes a memory, a processor, at least one vibration component, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the vibration control method according to any one of claims 1 to 10.

13. A storage medium storing an executable program, characterized in that, When the executable program is executed by the processor, it implements the vibration control method according to any one of claims 1 to 10.