A method and system for controlling a tone vibration motor
By extracting audio signal characteristics and performing adaptive filtering and signal enhancement, combined with closed-loop control technology, the problems of vibration motor response delay and high energy consumption are solved, and the synchronous haptic feedback and energy-saving effect with the audio signal are achieved, improving the user experience.
Patent Information
- Application Number
- CN202510074045.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-01-17
AI Technical Summary
The existing vibration motor control technology has problems such as delayed response, single frequency band response and high power consumption. It cannot achieve synchronous haptic feedback and detailed sound effects matching with audio signals, and is not energy-saving enough in portable devices.
By extracting the frequency and volume change characteristics of the audio signal, adaptive filtering and signal enhancement technology are used to remove noise, enhance key frequency components, and adjust the working voltage and current of the vibration motor in real time. Combined with Kalman filtering and PID control algorithms for closed-loop optimization, dynamically adjust the working power of the vibration motor.
It realizes synchronous tactile feedback between the vibration motor and the audio signal, enriches the vibration feedback effect, reduces energy consumption, is suitable for application in portable devices, and improves user experience and equipment battery life.
Smart Images

Figure CN119519521B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vibration motor control, and in particular to a method and system for controlling a musical vibration motor. Background Art
[0002] In recent years, vibration motors have been widely used in consumer electronics, gaming devices, and fitness equipment. Especially with the development of audio drive technology, using sound to trigger vibration feedback is gradually becoming a means to enhance the user experience. By controlling the vibration of the motor through sound, users can obtain tactile feedback in addition to hearing, making the application scenarios more diverse.
[0003] For example, in scenarios such as smart watches, game pads, and audio equipment, the vibration feedback combined with sound can significantly enhance the immersive experience and interactivity. There are already some technologies for driving vibration motors through audio signals, which are usually based on the following methods:
[0004] (1) Audio filtering + amplification: Extract a specific frequency band from the audio signal through a filtering and amplification circuit to drive the vibration motor. This method can simply achieve vibration response based on a specific frequency.
[0005] (2) Audio spectrum analysis: Use a spectrum analysis chip or software algorithm to perform spectrum analysis on the audio signal, and control different vibration intensities or modes according to the analysis results.
[0006] (3) Vibration control based on volume or rhythm: Trigger the vibration effect by detecting the volume or rhythm of the audio in real time, which is suitable for some music drive scenarios with strong rhythms.
[0007] The existing technologies have the following disadvantages:
[0008] (1) Response delay: Due to the delay in filtering and signal processing, the response of the vibration motor often lags behind the audio signal, and synchronous tactile feedback cannot be achieved.
[0009] (2) Single frequency band response: Most solutions can only vibrate for a specific frequency band or rhythm, making it difficult to achieve more detailed audio-vibration matching and unable to fully restore complex sound effects changes.
[0010] (3) High power consumption: Audio signal processing and vibration motor control consume a large amount of electrical energy, which is not energy-efficient when used in portable devices. Summary of the Invention
[0011] In order to solve the above-mentioned existing technical problems, the present invention provides a method and system for controlling a musical vibration motor.
[0012] The technical solution of the present invention is realized as follows:
[0013] A method for controlling a sound vibration motor, comprising the following steps:
[0014] S1. Extract the frequency and volume change characteristics of the audio signal, and transmit these characteristic data to the digital signal processing module for subsequent processing;
[0015] S2. Remove the noise in the audio signal and enhance the key frequency components through adaptive filtering and signal enhancement techniques;
[0016] S3. According to the enhanced audio characteristics, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and generate a drive signal for controlling the vibration motor;
[0017] S4. The audio processing chip receives the vibration control signal generated by the digital signal processing module, and adjusts the working voltage and current of the vibration motor in real time through the power regulation circuit;
[0018] S5. In the drive circuit of the vibration motor, detect the response state of the vibration motor in real time and fine-tune the drive signal;
[0019] S6. Dynamically adjust the working power of the vibration motor according to the working state of the vibration motor and the characteristics of the audio signal.
[0020] Further, the process of extracting the frequency and volume change characteristics of the audio signal in step S1 is specifically as follows:
[0021] Obtain the audio signal to be processed, preprocess the audio signal, and obtain the preprocessed audio signal;
[0022] Perform spectral analysis on the preprocessed audio signal, adopt the fast Fourier transform algorithm to convert the time-domain signal into a frequency-domain signal, and obtain the spectral characteristics of the audio signal;
[0023] According to the spectral characteristics, extract the frequency characteristics of the audio signal to obtain a frequency characteristic vector;
[0024] Perform rhythm detection on the preprocessed audio signal, adopt the autocorrelation function algorithm to calculate the rhythm period of the audio signal, and obtain the rhythm characteristics of the audio signal;
[0025] According to the rhythm characteristics, extract the volume change characteristics of the audio signal to obtain a volume change characteristic vector;
[0026] Fuse the frequency characteristic vector and the volume change characteristic vector, and adopt the method of characteristic splicing to obtain the comprehensive characteristic vector of the audio signal.
[0027] Further, the process of enhancing the key frequency in step S2 is specifically as follows:
[0028] According to the received audio feature data, an adaptive filtering algorithm is used to process the audio signal, and the filter parameters are adaptively adjusted to dynamically adapt to the changes in the audio signal and achieve noise removal;
[0029] Through frequency domain analysis technology, the spectrum of the filtered audio signal is analyzed to identify the key frequency components that have a greater impact on the vibration effect;
[0030] According to the identified key frequency components, a signal enhancement algorithm is used to selectively amplify these frequency components.
[0031] Further, the process of generating the drive signal for controlling the vibration motor in step S3 is specifically as follows:
[0032] The enhanced audio signal is synthesized in the time domain and restored to a time domain waveform signal as the optimized audio feature data;
[0033] According to the optimized audio feature data, through frequency mapping and amplitude mapping algorithms, the frequency and intensity of the audio signal are converted into corresponding vibration frequency and amplitude parameters to generate a drive signal for controlling the vibration motor;
[0034] Pulse width modulation technology is used to convert the drive signal into a control signal acceptable to the vibration motor.
[0035] Further, the process of converting the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters through frequency mapping and amplitude mapping algorithms is specifically as follows:
[0036] According to the frequency and amplitude characteristics of the audio signal, a frequency mapping table and an amplitude mapping table are established for converting audio features into vibration parameters;
[0037] The audio signal is preprocessed, and an adaptive filtering algorithm is used to process the audio signal, and the filter parameters are adaptively adjusted to dynamically adapt to the changes in the audio signal and achieve noise removal, obtaining an enhanced audio feature signal;
[0038] According to the frequency mapping table, the frequency of the optimized audio feature data is converted into the corresponding vibration frequency parameter;
[0039] According to the amplitude mapping table, the amplitude of the optimized audio feature data is converted into the corresponding amplitude parameter;
[0040] The converted vibration frequency and amplitude parameters are combined for subsequent generation of the drive signal for controlling the vibration motor.
[0041] Further, the process of real-time adjusting the working voltage and current of the vibration motor in step S4 is specifically as follows:
[0042] The audio processing chip is used to receive the vibration control signal output by the digital signal processing module and extract the audio signal intensity change information therein;
[0043] According to the extracted audio signal intensity change information, a mapping model between the audio signal intensity and the working voltage and current of the vibration motor is established by using the support vector machine algorithm;
[0044] During the audio playback process, the intensity change data of the audio signal is obtained in real time and input into the established mapping model;
[0045] The working voltage and current parameter values of the vibration motor matching the current audio signal intensity are calculated through the mapping model;
[0046] The calculated voltage and current parameter values are output to the power adjustment circuit to dynamically adjust the actual working voltage and current of the vibration motor.
[0047] Furthermore, the process of real-time detecting the response state of the vibration motor and fine-tuning the drive signal in step S5 is specifically as follows:
[0048] Obtain the characteristic parameters of the audio signal and use them as the control target of the vibration motor drive signal;
[0049] According to the audio signal characteristic parameters, the drive signal is preprocessed by using the adaptive filtering algorithm to generate the initial drive signal;
[0050] The initial drive signal is input into the vibration motor drive circuit, and the response state of the vibration motor is detected in real time;
[0051] The Kalman filtering algorithm is used to filter the response state of the vibration motor to obtain a stable state estimation value;
[0052] The state estimation value is compared with the audio signal characteristic parameters, and the error signal is calculated as the input of the closed-loop control;
[0053] According to the error signal, the PID control algorithm is used to fine-tune the drive signal to generate the optimized drive signal;
[0054] The optimized drive signal is input into the vibration motor drive circuit to control the vibration frequency and amplitude of the vibration motor, and generate a vibration effect matching the audio signal;
[0055] By establishing the mapping relationship between the audio characteristics and the vibration parameters, the automatic conversion from the audio signal to the vibration signal is realized;
[0056] Evaluate and feedback the vibration effect, and continuously optimize the parameters of the closed-loop control algorithm through the user experience data and objective measurement indicators.
[0057] Further, the process of dynamically adjusting the working power of the vibration motor in step S6 is specifically as follows:
[0058] Obtain the current working state information and the characteristic parameters of the audio signal, and use them as the input of the intelligent power management algorithm;
[0059] Judge the optimal working power required by the current vibration motor through the analysis of the working state information and the characteristic parameters of the audio signal;
[0060] Dynamically adjust the actual working power of the vibration motor according to the optimal working power determined by the intelligent power management algorithm;
[0061] During the process of adjusting the working power of the vibration motor, real-time monitor whether the vibration effect reaches the preset vibration intensity threshold;
[0062] Specifically, if the vibration effect does not reach the preset threshold, appropriately increase the working power of the vibration motor until the vibration effect meets the requirements; if the vibration effect has reached or exceeded the preset threshold, maintain the current working power of the vibration motor unchanged to reduce energy consumption;
[0063] Continuously track the changes in the working state and the characteristics of the audio signal, and real-time adjust the intelligent power management algorithm to optimize the vibration effect and the energy consumption balance.
[0064] A musical rhythm vibration motor control system includes an audio processing chip and a digital signal processing module;
[0065] The audio processing chip receives the vibration control signal generated by the digital signal processing module and extracts the audio signal intensity change information therefrom;
[0066] According to the extracted audio signal intensity change information, establish a mapping model between the audio signal intensity and the working voltage and current of the vibration motor to realize the conversion of the audio signal intensity to the working voltage and current parameters of the vibration motor;
[0067] During the audio playback process, real-time obtain the intensity change data of the audio signal, and calculate the working voltage and current parameter values of the vibration motor that match the current audio signal intensity;
[0068] Output the calculated voltage and current parameter values to the power adjustment circuit, thereby dynamically adjusting the actual working voltage and current of the vibration motor;
[0069] Receive the feedback information from the vibration motor drive circuit.
[0070] Further, the digital signal processing module extracts the frequency and volume change characteristics from the audio signal to be processed, obtains the frequency feature vector and the volume change feature vector, and transmits these feature data to the audio processing chip;
[0071] Process the audio signal, adaptively adjust the filter parameters, dynamically adapt to the changes of the audio signal, and achieve noise removal;
[0072] Identify the key frequency components through frequency domain analysis technology, and use signal enhancement algorithms to selectively amplify these frequency components;
[0073] Perform time domain synthesis on the enhanced audio signal to restore it to a time domain waveform signal;
[0074] According to the optimized audio feature data, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and use pulse width modulation technology to convert these parameters into control signals acceptable to the vibration motor;
[0075] Obtain the current working state information and the characteristic parameters of the audio signal as the input of the intelligent power management algorithm;
[0076] Judge the optimal working power required by the current vibration motor through the analysis of this information.
[0077] Compared with the prior art, the present invention has the following beneficial effects:
[0078] 1. Through real-time signal processing and closed-loop control optimization, the present invention reduces the delay of audio signal processing and vibration motor response, enables the vibration motor to generate tactile feedback synchronously with the audio signal, avoids the problem of response lag, provides a more timely and accurate tactile experience for users, and enhances the immersion and interactivity;
[0079] 2. The present invention adopts multi-feature fusion and fine mapping technology, can generate corresponding vibration effects according to different frequencies and intensities of the audio signal, better restores complex sound effect changes, overcomes the limitation of single frequency band response in the prior art, makes the vibration feedback richer and more delicate, has a higher matching degree with the audio content, and improves the user's perception and understanding of the audio content.
[0080] 3. The present invention implements intelligent power management, dynamically adjusts the working power of the vibration motor according to actual needs, avoids unnecessary energy consumption waste, improves the energy efficiency of the vibration motor. At the same time, if a low-power audio processing chip and a digital signal processing module are used, the overall power consumption will be further reduced, making it more suitable for applications in scenarios with strict energy consumption requirements such as portable devices, and extending the usage time and battery life of the device.
[0081] 4. The present invention uses the Kalman filter algorithm to filter the response state of the vibration motor, obtaining a stable state estimate value, and then combines with the PID control algorithm for fine-tuning, forming a closed-loop control, enhancing the adaptability to various interferences and changes, improving the stability and reliability of the vibration motor, ensuring the accuracy and consistency of the vibration effect, and providing a more stable and reliable haptic feedback experience for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 It is a schematic flowchart of a method for controlling a musical tone vibration motor in Embodiment 1;
[0083] Figure 2 It is a framework diagram of a system for controlling a musical tone vibration motor in Embodiment 2. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0084] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention.
[0085] Embodiment 1
[0086] As Figure 1 shown, a method for controlling a musical tone vibration motor includes the following steps:
[0087] S1. Extract the frequency and volume change characteristics in the audio signal, and transmit these characteristic data to the digital signal processing module for subsequent processing;
[0088] S2. Remove the noise in the audio signal and enhance the key frequency components through adaptive filtering and signal enhancement techniques;
[0089] S3. According to the enhanced audio characteristics, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and generate a drive signal for controlling the vibration motor;
[0090] S4. The audio processing chip receives the vibration control signal generated by the digital signal processing module, and adjusts the working voltage and current of the vibration motor in real time through the power regulation circuit;
[0091] S5. In the drive circuit of the vibration motor, detect the response state of the vibration motor in real time and fine-tune the drive signal;
[0092] S6. Dynamically adjust the working power of the vibration motor according to the working state of the vibration motor and the characteristics of the audio signal.
[0093] Further, the process of extracting the frequency and volume change features from the audio signal in step S1 is specifically as follows:
[0094] Obtain the audio signal to be processed, preprocess the audio signal to obtain the preprocessed audio signal;
[0095] Perform spectral analysis on the preprocessed audio signal, use the fast Fourier transform algorithm to convert the time-domain signal into a frequency-domain signal, and obtain the spectral features of the audio signal;
[0096] Extract the frequency features of the audio signal according to the spectral features to obtain the frequency feature vector;
[0097] Perform rhythm detection on the preprocessed audio signal, use the autocorrelation function algorithm to calculate the rhythm period of the audio signal, and obtain the rhythm features of the audio signal;
[0098] Extract the volume change features of the audio signal according to the rhythm features to obtain the volume change feature vector;
[0099] Fuse the frequency feature vector and the volume change feature vector, and use the feature splicing method to obtain the comprehensive feature vector of the audio signal;
[0100] Specifically, the process can be described as follows. First, obtain a 10-second audio signal, perform low-pass filtering on it to remove high-frequency noise, and normalize the signal amplitude to the range of [-1, 1];
[0101] Then, use the fast Fourier transform algorithm to perform spectral analysis on the preprocessed audio signal to obtain the spectral features of the signal. The frequency resolution is set to 1Hz. Extract the fundamental frequency and the first 3 harmonic frequencies of the audio signal according to the spectral features to form the frequency feature vector. Then, use the autocorrelation function algorithm to perform rhythm detection on the audio signal, calculate the rhythm period. If the rhythm period is greater than 0.5 seconds, it is determined to be a slow rhythm; if it is less than 0.5 seconds, it is determined to be a fast rhythm;
[0102] Extract the volume change features according to the rhythm features, including the average volume and the volume standard deviation, to form the volume change feature vector. Concatenate the frequency feature vector and the volume change feature vector to obtain a 12-dimensional comprehensive feature vector. Use the support vector machine algorithm to classify the comprehensive feature vector. If the confidence level is greater than 0.8, it is determined to be a music signal; otherwise, it is determined to be a non-music signal. For the music signal, map its frequency to the vibration frequency in the range of 20Hz - 200Hz, and map its volume to the vibration amplitude of 0.5G - 2G to generate the PWM drive signal for controlling the vibration motor;
[0103] Finally, the PWM signal is transmitted to the GPIO interface of the lower computer to control the vibration motor to vibrate at a specified frequency and amplitude, achieving the tactile feedback effect of the audio signal.
[0104] Further, the process of enhancing the key frequencies in step S2 is specifically as follows:
[0105] According to the received audio feature data, an adaptive filtering algorithm is used to process the audio signal, and the filter parameters are adaptively adjusted to dynamically adapt to the changes in the audio signal, achieving noise removal;
[0106] Through frequency-domain analysis technology, the spectrum of the filtered audio signal is analyzed to identify the key frequency components that have a greater impact on the vibration effect;
[0107] According to the identified key frequency components, a signal enhancement algorithm is used to selectively amplify these frequency components;
[0108] This process can be described as follows. Specifically, in the adaptive filtering process, the LMS (Least Mean Square) algorithm is used, the filter order is set to 128, and the step size is 0.01. By continuously adjusting the filter coefficients, the error between the output signal and the desired signal is minimized, thereby achieving noise removal;
[0109] By performing a 1024-point FFT transformation on the filtered audio signal, a spectrogram is obtained, and the key frequency components with energy concentrated in the 500Hz - 2kHz frequency band are identified. These key frequency components are selectively amplified by 6dB to highlight the key information in the vibration effect. Through a 1024-point IFFT transformation, the enhanced frequency-domain signal is restored to a time-domain waveform as the optimized audio feature data;
[0110] According to the optimized audio features, a linear mapping algorithm is used to map the frequency range of 500Hz - 2kHz to the operating frequency range of the vibration motor, which is 50Hz - 200Hz, and the intensity of the audio signal is mapped to a value between 0 and 1 for the vibration amplitude, generating a PWM drive signal for controlling the vibration motor;
[0111] By adjusting the duty cycle and frequency of the PWM signal in real time, the vibration motor is controlled to generate a vibration effect matching the audio signal, with the delay controlled within 20ms. A mapping table of audio features and vibration parameters is established to achieve the automatic conversion of audio signals to vibration signals, and the conversion error is controlled within 5%;
[0112] By collecting the acceleration sensor data and subjective scores during the user's usage process, the vibration effect is evaluated, key parameters such as vibration frequency, amplitude, and duration are extracted, and compared with the preset high-quality experience threshold. According to the deviation value, the algorithm parameters of the digital signal processing module are dynamically adjusted, such as adjusting the step size of adaptive filtering, the amplification factor of signal enhancement, etc., to continuously optimize the vibration effect and improve the user's interaction experience.
[0113] Further, the process of generating the drive signal for controlling the vibration motor in step S3 is specifically as follows:
[0114] Perform time-domain synthesis on the enhanced audio signal to restore it to a time-domain waveform signal as the optimized audio feature data;
[0115] According to the optimized audio feature data, through frequency mapping and amplitude mapping algorithms, the frequency and intensity of the audio signal are converted into corresponding vibration frequency and amplitude parameters to generate a drive signal for controlling the vibration motor;
[0116] Adopt pulse-width modulation technology to convert the drive signal into a control signal acceptable to the vibration motor;
[0117] This process can be described as follows. Specifically, when establishing the frequency mapping table and amplitude mapping table, the audio frequency range of 20 Hz - 20 kHz can be divided into multiple frequency bands, and each frequency band corresponds to a vibration frequency. For example, 20 - 100 Hz is mapped to a vibration frequency of 10 - 50 Hz, 100 - 500 Hz is mapped to a vibration frequency of 50 - 100 Hz, etc. At the same time, the amplitude range of the audio signal can be divided into multiple levels, and each level corresponds to an amplitude value. For example, -60 dB to -30 dB is mapped to an amplitude of 20%, -30 dB to 0 dB is mapped to an amplitude of 50%, etc.;
[0118] When preprocessing the audio signal, an adaptive filtering algorithm such as the least mean square error (LMS) algorithm can be used to continuously adjust the filter coefficients to minimize the error and achieve dynamic noise removal. For frequency-domain analysis, the fast Fourier transform (FFT) algorithm can be used to convert the time-domain signal into a frequency-domain signal and identify the key frequency components with concentrated energy. When selectively amplifying these key frequency components, a band-pass filter can be used to amplify the signal within the target frequency range by 1.5 - 2 times while suppressing other frequency components;
[0119] According to the frequency mapping table and amplitude mapping table, convert the optimized audio feature data into vibration parameters. For example, convert an audio signal of 500 Hz and -20 dB into vibration parameters of 100 Hz and 50% amplitude. When generating a drive signal, pulse width modulation (PWM) technology can be used to convert the amplitude parameter into a duty cycle and the frequency parameter into a period to generate a corresponding square wave signal, and output the generated control signal to the vibration motor to achieve the conversion from audio signal to vibration signal;
[0120] By collecting user experience data and objective measurement indicators such as vibration intensity, frequency response, etc., use machine learning algorithms to continuously optimize the parameters of the digital signal processing module to improve the quality of the vibration effect.
[0121] Furthermore, the process of converting the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters through the frequency mapping and amplitude mapping algorithms is specifically as follows:
[0122] Based on the frequency and amplitude characteristics of the audio signal, establish a frequency mapping table and an amplitude mapping table for converting audio features into vibration parameters;
[0123] Preprocess the audio signal, use an adaptive filtering algorithm to process the audio signal, adaptively adjust the filter parameters to dynamically adapt to the changes in the audio signal, achieve noise removal, and obtain an enhanced audio feature signal;
[0124] According to the frequency mapping table, convert the frequency of the optimized audio feature data into the corresponding vibration frequency parameter;
[0125] According to the amplitude mapping table, convert the amplitude of the optimized audio feature data into the corresponding amplitude parameter;
[0126] Combine the converted vibration frequency and amplitude parameters for subsequent generation of a drive signal to control the vibration motor;
[0127] This process can be described as follows. Specifically, after the audio processing chip receives the vibration control signal output by the digital signal processing module, through Fourier transform of the signal, extract the intensity change information of the audio signal in different frequency bands, use the support vector machine algorithm, take the low-frequency, medium-frequency, and high-frequency intensities of the audio signal as input features, establish a hyperplane in a three-dimensional space, map the audio signal intensity to the working voltage and current parameters of the vibration motor, and obtain a mapping model;
[0128] During audio playback, the audio signal is sampled every 10 milliseconds to extract the audio intensity feature vector at the current moment. This vector is input into a pre-trained support vector machine model to calculate the corresponding operating voltage and current values of the vibration motor. For example, the voltage is 3.7V and the current is 200mA. These parameter values are transmitted to the power regulation circuit in real time. Through PWM pulse width modulation, the supply voltage and current of the vibration motor are dynamically changed to make its vibration intensity synchronize with the strength change of the audio signal. If the intensity of the audio signal changes by more than 20% within 1 second, the recalculation of the vibration parameters is triggered, and the operating state of the vibration motor is updated in the next sampling period to ensure that the vibration effect is synchronized with the audio playback in real time. Continuously collect the subjective scores of users on the vibration effect and objective parameters such as the energy consumption and temperature of the vibration motor. Through clustering analysis, find the optimal combination of vibration parameters and use it to retrain the support vector machine model to continuously improve the expressiveness of the vibration effect and the user experience.
[0129] Further, the process of real-time adjusting the operating voltage and current of the vibration motor in step S4 is specifically as follows:
[0130] Use the audio processing chip to receive the vibration control signal output by the digital signal processing module and extract the audio signal intensity change information therein;
[0131] According to the extracted audio signal intensity change information, use the support vector machine algorithm to establish a mapping model between the audio signal intensity and the operating voltage and current of the vibration motor;
[0132] During audio playback, real-time obtain the intensity change data of the audio signal and input it into the established mapping model;
[0133] Calculate the operating voltage and current parameter values of the vibration motor that match the current audio signal intensity through the mapping model;
[0134] Output the calculated voltage and current parameter values to the power regulation circuit to dynamically adjust the actual operating voltage and current of the vibration motor;
[0135] This process can be described as follows. Specifically, first, perform spectral analysis on the audio signal through frequency domain analysis technology to identify the key frequency components that have a greater impact on the vibration effect, such as 20Hz - 100Hz in the low frequency band. Then, use an adaptive filtering algorithm, such as the LMS algorithm, to preprocess the drive signal, dynamically adjust the filter coefficients, and generate an initial drive signal. Next, input the initial drive signal into the vibration motor drive circuit, and at the same time, detect the response state of the vibration motor in real time at a sampling frequency of 1kHz;
[0136] The Kalman filter algorithm is used to filter the detected parameters such as amplitude, frequency, and phase, and estimate the stable state values. The estimated values are compared with the audio signal characteristic parameters to calculate the error signal, for example, the amplitude error is within ±10%;
[0137] According to the error signal, the PID control algorithm is used. For example, by setting the proportional coefficient Kp = 2.5, the integral coefficient Ki = 0.8, and the differential coefficient Kd = 0.1, the drive signal is finely adjusted to generate an optimized drive signal;
[0138] The optimized drive signal is input into the vibration motor drive circuit to control the vibration motor to vibrate at a frequency and amplitude matching the audio signal. For example, when the audio signal frequency is 50Hz and the amplitude is 2V, the vibration frequency of the vibration motor is also 50Hz and the amplitude is 2V;
[0139] By establishing a mapping relationship table between audio characteristics and vibration parameters, the automatic conversion from audio signal to vibration signal is realized, and the conversion delay is controlled within 20ms;
[0140] Through the user experience questionnaire scoring and objective measurement indicators such as vibration frequency and amplitude, the vibration effect is evaluated and feedback is provided, and the parameters of the closed-loop control algorithm are continuously optimized. For example, the sampling period of the PID control is adjusted from 1ms to 0.5ms to continuously improve the quality of the vibration effect and ensure that the synchronization error between the vibration effect and the audio signal is within ±5%.
[0141] Further, the process of finely adjusting the drive signal by detecting the response state of the vibration motor in real time in step S5 is specifically as follows:
[0142] Obtain the characteristic parameters of the audio signal and use them as the control target of the vibration motor drive signal;
[0143] According to the audio signal characteristic parameters, an adaptive filter algorithm is used to preprocess the drive signal to generate an initial drive signal;
[0144] The initial drive signal is input into the vibration motor drive circuit, and at the same time, the response state of the vibration motor is detected in real time;
[0145] The Kalman filter algorithm is used to filter the response state of the vibration motor to obtain a stable state estimate value;
[0146] The state estimate value is compared with the audio signal characteristic parameters to calculate the error signal, which is used as the input of the closed-loop control;
[0147] According to the error signal, the PID control algorithm is used to finely adjust the drive signal to generate an optimized drive signal;
[0148] Input the optimized driving signal into the vibration motor driving circuit to control the vibration frequency and amplitude of the vibration motor, and generate a vibration effect matching the audio signal;
[0149] By establishing the mapping relationship between audio features and vibration parameters, realize the automatic conversion of audio signals to vibration signals;
[0150] Evaluate and feedback on the vibration effect, and continuously optimize the parameters of the closed-loop control algorithm through user experience data and objective measurement indicators;
[0151] This process can be described as follows. Specifically, the current working temperature is obtained as 65°C and the CPU occupancy rate is 80% through a sensor. At the same time, the frequency of the audio signal is collected as 1 kHz and the amplitude is 2.5 V. According to the above parameters, the intelligent power management algorithm determines the current optimal working power as 1.2 W through the look-up table method. The algorithm controls the power management chip to adjust the working voltage of the vibration motor to 3.6 V and limit the current to 0.33 A;
[0152] Real-time monitor the vibration frequency and amplitude of the vibration motor, and find that the current vibration frequency is 90 Hz and the amplitude is 1.8 g, which is lower than the preset vibration intensity threshold of 2 g. Therefore, the working voltage of the vibration motor is increased to 3.8 V and the current is increased to 0.36 A, so that the vibration frequency reaches 95 Hz and the amplitude reaches 2.1 g, meeting the vibration intensity requirements; when the temperature drops to 60°C and the CPU occupancy rate drops to 75%, the intelligent power management algorithm adjusts the working power of the vibration motor down to 1.1 W according to the new state parameters to reduce energy consumption;
[0153] The audio signal is processed by a 6th-order Butterworth low-pass filter, and the cut-off frequency is adaptively adjusted to 800 Hz, effectively removing high-frequency noise. Perform a 2048-point FFT transform on the filtered signal, identify that the energy is concentrated around two frequencies of 120 Hz and 350 Hz, and increase the amplitudes of these two frequency components by 1.5 times to enhance the low-frequency and mid-frequency components in the vibration effect;
[0154] Restore the frequency-domain signal to a time-domain waveform through IFFT transform, update the audio feature data, and dynamically adjust the vibration frequency of the vibration motor between 80 - 130 Hz and the amplitude between 1.5 - 2.5 g according to the optimized audio features, realizing the real-time conversion and matching of audio signals to vibration signals.
[0155] Further, the process of dynamically adjusting the working power of the vibration motor in step S6 is specifically as follows:
[0156] Obtain the current working state information and the characteristic parameters of the audio signal, and use them as the input of the intelligent power management algorithm;
[0157] By analyzing the working state information and the characteristic parameters of the audio signal, the optimal working power required by the current vibration motor is determined;
[0158] According to the optimal working power determined by the intelligent power management algorithm, the actual working power of the vibration motor is dynamically adjusted;
[0159] During the process of adjusting the working power of the vibration motor, it is monitored in real time whether the vibration effect reaches the preset vibration intensity threshold;
[0160] Specifically, if the vibration effect does not reach the preset threshold, the working power of the vibration motor is appropriately increased until the vibration effect meets the requirements; if the vibration effect has reached or exceeded the preset threshold, the current working power of the vibration motor is maintained unchanged to reduce energy consumption;
[0161] Continuously track the changes in the working state and the characteristics of the audio signal, and adjust the intelligent power management algorithm in real time to optimize the vibration effect and the energy consumption balance.
[0162] This embodiment realizes the accurate extraction and conversion of the audio signal characteristics, generates a vibration control signal sequence highly matching the audio signal, significantly improves the response speed and synchronization of the vibration motor, enhances the richness and fineness of the vibration feedback, and at the same time reduces the system power consumption through intelligent power management, providing a more immersive and interactive experience for users. It is particularly suitable for consumer electronics and entertainment devices such as smart watches, game controllers, and audio equipment, effectively improving the user experience and market competitiveness of the products.
[0163] Embodiment 2
[0164] As Figure 2 shown, this embodiment provides a musical vibration motor control system for implementing the above-mentioned musical vibration motor control method, including an audio processing chip and a digital signal processing module;
[0165] The audio processing chip receives the vibration control signal generated by the digital signal processing module and extracts the audio signal intensity change information therefrom;
[0166] According to the extracted audio signal intensity change information, a mapping model between the audio signal intensity and the working voltage and current of the vibration motor is established to realize the conversion of the audio signal intensity to the working voltage and current parameters of the vibration motor;
[0167] During the audio playback process, the intensity change data of the audio signal is obtained in real time, and the working voltage and current parameter values of the vibration motor matching the current audio signal intensity are calculated;
[0168] The calculated voltage and current parameter values are output to the power adjustment circuit, thereby dynamically adjusting the actual working voltage and current of the vibration motor;
[0169] Receive feedback information from the vibration motor drive circuit.
[0170] Furthermore, the digital signal processing module extracts frequency and volume change features from the audio signal to be processed, obtains a frequency feature vector and a volume change feature vector, and transmits these feature data to the audio processing chip;
[0171] Process the audio signal, adaptively adjust the filter parameters, dynamically adapt to the changes in the audio signal, and achieve noise removal;
[0172] Identify key frequency components through frequency domain analysis technology, and use a signal enhancement algorithm to selectively amplify these frequency components;
[0173] Perform time domain synthesis on the enhanced audio signal to restore it to a time domain waveform signal;
[0174] According to the optimized audio feature data, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and use pulse width modulation technology to convert these parameters into control signals acceptable to the vibration motor;
[0175] Obtain the current working state information and the characteristic parameters of the audio signal as the input of the intelligent power management algorithm;
[0176] By analyzing this information, judge the optimal working power required by the current vibration motor.
[0177] In this embodiment, through the collaborative work of the audio processing chip and the digital signal processing module, in-depth processing and precise control of the audio signal are realized. The digital signal processing module uses wavelet analysis to extract the time-frequency domain features of the audio signal, and generates a vibration control signal sequence containing different frequency bands, intensities, and durations through threshold segmentation and mapping algorithms. The audio processing chip then dynamically adjusts the working voltage and current of the vibration motor according to these signals to ensure the synchronization and matching degree between the vibration effect and the audio signal, while receiving feedback information for real-time optimization, which not only improves the response speed and stability of the system, but also enhances the richness and fineness of the vibration feedback, effectively reducing power consumption and providing users with a more immersive and interactive experience.
[0178] The specific embodiments of the invention have been described in detail above, but they are only examples, and the invention is not limited to the specific embodiments described above. Those skilled in the art should understand that the above embodiments and the descriptions in the specification only illustrate the principles of the invention. Without departing from the spirit and scope of the invention, the invention will have various changes and improvements, and these changes and improvements all fall within the scope of the invention claimed. The scope of the invention claimed is defined by the appended claims and their equivalents.
Claims
1. A method for controlling a tone vibration motor, characterized in that It includes the following steps: S1. Extract the frequency and volume change characteristics of the audio signal, and transfer these feature data to the digital signal processing module for subsequent processing; S2. Remove the noise in the audio signal and enhance the key frequency components through adaptive filtering and signal enhancement techniques; S3. According to the enhanced audio features, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and generate a driving signal for controlling the vibration motor; S4. The audio processing chip receives the driving signal generated by the digital signal processing module, and adjusts the working voltage and current of the vibration motor in real time through the power regulation circuit; S5. In the driving circuit of the vibration motor, the response state of the vibration motor is detected in real time, and the driving signal is fine-tuned; S6. Dynamically adjust the working power of the vibration motor according to the working state of the vibration motor and the characteristics of the audio signal.
2. The method for controlling a tone vibration motor according to claim 1, wherein The process of extracting the frequency and volume change characteristics of the audio signal in step S1 is specifically as follows: Obtain the audio signal to be processed, preprocess the audio signal to obtain the preprocessed audio signal; Perform spectrum analysis on the preprocessed audio signal, adopt the fast Fourier transform algorithm to convert the time-domain signal into a frequency-domain signal, and obtain the spectrum characteristics of the audio signal; According to the spectrum characteristics, extract the frequency characteristics of the audio signal to obtain a frequency characteristic vector; Perform rhythm detection on the preprocessed audio signal, adopt the autocorrelation function algorithm to calculate the rhythm period of the audio signal, and obtain the rhythm characteristics of the audio signal; According to the rhythm characteristics, extract the volume change characteristics of the audio signal to obtain a volume change characteristic vector; Fuse the frequency characteristic vector and the volume change characteristic vector, and adopt the method of feature splicing to obtain the comprehensive characteristic vector of the audio signal.
3. A method for controlling a tone vibration motor according to claim 1, characterized in that, The process of enhancing the key frequency in step S2 is specifically as follows: According to the received audio feature data, adopt the adaptive filtering algorithm to process the audio signal, and adaptively adjust the filter parameters to dynamically adapt to the changes of the audio signal and achieve noise removal; Through frequency domain analysis technology, perform spectrum analysis on the filtered audio signal to identify the key frequency components that have a greater impact on the vibration effect; According to the identified key frequency components, adopt the signal enhancement algorithm to selectively amplify these frequency components.
4. A method for controlling a tone vibration motor according to claim 1, characterized in that The process of generating the driving signal for controlling the vibration motor in step S3 is specifically as follows: Perform time-domain synthesis on the enhanced audio signal, restore it to a time-domain waveform signal as the optimized audio feature data; According to the optimized audio feature data, through the frequency mapping and amplitude mapping algorithms, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and generate a driving signal for controlling the vibration motor; Adopt pulse width modulation technology to convert the driving signal into a control signal acceptable to the vibration motor.
5. A method for controlling a tone vibration motor according to claim 4, characterized in that, The process of converting the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters through the frequency mapping and amplitude mapping algorithms is specifically as follows: According to the frequency and amplitude characteristics of the audio signal, establish a frequency mapping table and an amplitude mapping table for converting audio features into vibration parameters; Preprocess the audio signal, process the audio signal using an adaptive filtering algorithm, adaptively adjust the filter parameters to dynamically adapt to the changes in the audio signal, achieve noise removal, and obtain an enhanced audio feature signal; According to the frequency mapping table, convert the frequency of the optimized audio feature data into corresponding vibration frequency parameters; According to the amplitude mapping table, convert the amplitude of the optimized audio feature data into corresponding amplitude parameters; Combine the converted vibration frequency and amplitude parameters for subsequent generation of a drive signal for controlling the vibration motor.
6. The control method of a tone vibration motor according to claim 1, wherein The process of adjusting the working voltage and current of the vibration motor in real time in step S4 is specifically as follows: Use an audio processing chip to receive the drive signal output by the digital signal processing module and extract the audio signal intensity change information therein; According to the extracted audio signal intensity change information, establish a mapping model between the audio signal intensity and the working voltage and current of the vibration motor using a support vector machine algorithm; During the audio playback process, obtain the intensity change data of the audio signal in real time and input it into the established mapping model; Calculate the working voltage and current parameter values of the vibration motor that match the current audio signal intensity through the mapping model; Output the calculated voltage and current parameter values to the power adjustment circuit to dynamically adjust the actual working voltage and current of the vibration motor.
7. A method for controlling a tone vibration motor according to claim 1, characterized in that, The process of detecting the response state of the vibration motor in real time and fine-tuning the drive signal in step S5 is specifically as follows: Obtain the characteristic parameters of the audio signal and use them as the control target for the drive signal of the vibration motor; According to the audio signal characteristic parameters, preprocess the drive signal using an adaptive filtering algorithm to generate an initial drive signal; Input the initial drive signal into the vibration motor drive circuit and simultaneously detect the response state of the vibration motor in real time; Use the Kalman filtering algorithm to filter the response state of the vibration motor to obtain a stable state estimation value; Compare the state estimation value with the audio signal characteristic parameters, calculate the error signal, and use it as the input for closed-loop control; According to the error signal, use the PID control algorithm to fine-tune the drive signal to generate an optimized drive signal; Input the optimized drive signal into the vibration motor drive circuit to control the vibration frequency and amplitude of the vibration motor and produce a vibration effect matching the audio signal; Realize the automatic conversion from audio signal to vibration signal by establishing a mapping relationship between audio features and vibration parameters; Evaluate and feedback the vibration effect, and continuously optimize the parameters of the closed-loop control algorithm through user experience data and objective measurement indicators.
8. A method for controlling a tone vibration motor according to claim 1, characterized in that, The process of dynamically adjusting the working power of the vibration motor in step S6 is specifically as follows: Obtain the current working state information and the characteristic parameters of the audio signal and use them as the input for the intelligent power management algorithm; Judge the optimal working power required by the current vibration motor through the analysis of the working state information and the audio signal characteristic parameters; Dynamically adjust the actual working power of the vibration motor according to the optimal working power determined by the intelligent power management algorithm; During the process of adjusting the working power of the vibration motor, monitor in real time whether the vibration effect reaches the preset vibration intensity threshold; Specifically, if the vibration effect fails to reach the preset threshold, the working power of the vibration motor is appropriately increased until the vibration effect meets the requirements; If the vibration effect has reached or exceeded the preset threshold, the working power of the current vibration motor is maintained unchanged to reduce energy consumption; Continuously track the changes in the working state and audio signal characteristics, and adjust the intelligent power management algorithm in real time to optimize the vibration effect and energy consumption balance.
9. A tone vibration motor control system for implementing a tone vibration motor control method as described in claims 1-8, characterized in that: It includes an audio processing chip and a digital signal processing module; The audio processing chip receives the drive signal generated by the digital signal processing module and extracts the audio signal intensity change information therefrom; According to the extracted audio signal intensity change information, a mapping model between the audio signal intensity and the working voltage and current of the vibration motor is established to realize the conversion of the audio signal intensity to the working voltage and current parameters of the vibration motor; During the audio playback process, the intensity change data of the audio signal is obtained in real time, and the working voltage and current parameter values of the vibration motor matching the current audio signal intensity are calculated; The calculated voltage and current parameter values are output to the power adjustment circuit, thereby dynamically adjusting the actual working voltage and current of the vibration motor; Receive feedback information from the vibration motor drive circuit.
10. A tone vibration motor control system according to claim 9, characterized in that, The digital signal processing module extracts the frequency and volume change characteristics from the audio signal to be processed, obtains the frequency feature vector and the volume change feature vector, and transmits these feature data to the audio processing chip; Process the audio signal, adaptively adjust the filter parameters, dynamically adapt to the changes in the audio signal, and achieve noise removal; Identify the key frequency components through frequency domain analysis technology, and selectively amplify these frequency components using a signal enhancement algorithm; Perform time domain synthesis on the enhanced audio signal and restore it to a time domain waveform signal; According to the optimized audio feature data, convert the frequency and intensity of the audio signal into corresponding vibration frequency and amplitude parameters, and use pulse width modulation technology to convert these parameters into control signals acceptable to the vibration motor; Obtain the current working state information and the characteristic parameters of the audio signal as the input of the intelligent power management algorithm; Judge the optimal working power required by the current vibration motor through the analysis of this information.
Citation Information
Patent Citations
Audio toothbrush
CN220778473U