CN117908672A - Control method and device, haptic feedback driving circuit, system and medium - Google Patents

Control method and device, haptic feedback driving circuit, system and medium Download PDF

Info

Publication number
CN117908672A
CN117908672A CN202410005899.XA CN202410005899A CN117908672A CN 117908672 A CN117908672 A CN 117908672A CN 202410005899 A CN202410005899 A CN 202410005899A CN 117908672 A CN117908672 A CN 117908672A
Authority
CN
China
Prior art keywords
voltage signal
driving
signal
microcontroller
haptic feedback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410005899.XA
Other languages
Chinese (zh)
Inventor
王贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing BOE Technology Development Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Beijing BOE Technology Development Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202410005899.XA priority Critical patent/CN117908672A/en
Publication of CN117908672A publication Critical patent/CN117908672A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a control method, a control device, a driving circuit, a tactile feedback system and a storage medium of a tactile feedback driving circuit, wherein the tactile feedback driving circuit comprises a microcontroller and a piezoelectric transducer, and the control method comprises the following steps: controlling the microcontroller to output a driving signal; generating an amplified voltage signal from the drive signal; outputting the amplified voltage signal to a piezoelectric transducer to obtain a driving voltage signal; comparing the driving voltage signal with a preset voltage signal; and if the difference between the driving voltage signal and the preset voltage signal is larger than the preset threshold value, adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal. Therefore, the problems of signal distortion, noise interference, power consumption increase and the like caused by the change of the amplification factor of the haptic feedback driving circuit can be avoided, and the stability of a haptic feedback system is ensured.

Description

Control method and device, haptic feedback driving circuit, system and medium
Technical Field
The present application relates to the field of haptic feedback technology, and more particularly, to a control method and apparatus for a haptic feedback driving circuit, a haptic feedback system, and a storage medium.
Background
The haptic feedback technology is a technology capable of reproducing touch feeling for a user through a series of actions such as acting force, vibration and the like, so that the user can perceive, manipulate and touch things in a virtual environment, and compared with simple audio-visual feeling in the traditional man-machine interaction process, the haptic feedback technology effectively improves the experience of the user and can replace traditional physical keys, knobs and switches. In the related art, when the haptic feedback technology is applied, the operational amplification circuit part of the driving circuit has the problem of amplification factor change caused by signal frequency and amplitude change, the amplification factor change can cause the problems of signal distortion, noise interference, power consumption increase and the like, and the system stability can be influenced when serious.
Disclosure of Invention
Embodiments of the present application provide a control method and apparatus for a haptic feedback driving circuit, a haptic feedback system, and a non-transitory computer readable storage medium.
The control method of the haptic feedback drive circuit according to the embodiment of the application comprises a microcontroller and a piezoelectric transducer, and comprises the following steps:
Controlling the microcontroller to output a driving signal;
Generating an amplified voltage signal from the drive signal;
outputting the amplified voltage signal to the piezoelectric transducer to obtain a driving voltage signal;
Comparing the driving voltage signal with a preset voltage signal;
And if the difference between the driving voltage signal and the preset voltage signal is larger than a preset threshold value, adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal.
In certain embodiments, the control method further comprises:
And under the condition that the driving voltage signal and the preset voltage signal are smaller than or equal to a preset threshold value, the microcontroller still outputs the driving signal.
In some embodiments, the haptic feedback drive circuit further comprises a digital-to-analog converter, a arithmetic circuit, and an operational amplification circuit, the generating an amplified voltage signal from the drive signal comprising:
inputting the driving signal to the digital-analog converter for conversion to generate an analog voltage signal;
Processing the analog voltage signal by the arithmetic operation circuit to generate a voltage signal;
and amplifying the voltage signal by using the operational amplification circuit to generate an amplified voltage signal.
In some embodiments, the processing the analog voltage signal with the arithmetic circuitry generates a voltage signal comprising:
inputting an analog voltage signal into the arithmetic circuit;
And performing addition and subtraction operation on the analog voltage signal by utilizing the arithmetic operation circuit to output a single-voltage or double-voltage signal.
In some embodiments, if the difference between the amplified voltage signal and the preset voltage signal is greater than a preset threshold, adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal includes:
calculating amplification factor according to the driving voltage signal and the driving signal;
And adjusting a driving signal output by the microcontroller next time according to the amplification factor.
In some embodiments, the microcontroller includes a preset program, and the adjusting the driving signal output by the microcontroller next time according to the amplification factor includes:
and adjusting the driving signal output by the microcontroller next time by adjusting the preset program according to the amplification factor.
The control device of the haptic feedback drive circuit according to the embodiment of the application comprises a microcontroller and a piezoelectric transducer, and the control device comprises:
the output module is used for controlling the microcontroller to output a driving signal;
The amplifying module is used for generating an amplified voltage signal according to the driving signal;
An obtaining module for outputting the amplified voltage signal to the piezoelectric transducer to obtain a driving voltage signal;
the comparison module is used for comparing the driving voltage signal with a preset voltage signal;
and the adjusting module is used for adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal if the difference between the amplified voltage signal and the preset voltage signal is larger than a preset threshold value.
The haptic feedback driving circuit of the embodiment of the application is used for the control method.
The haptic feedback system of an embodiment of the present application includes a processor and a memory storing a computer program which, when executed by the processor, causes the processor to implement the control method.
A non-transitory computer readable storage medium according to an embodiment of the present application is characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the control method according to any one of the above-described embodiments.
In the control method, the control device, the driving circuit, the haptic feedback system and the storage medium of the haptic feedback driving circuit, the output driving signal is amplified and output to the piezoelectric transducer to obtain the driving voltage signal, the driving voltage signal is compared with the preset voltage signal to obtain whether the amplification factor of the current haptic feedback driving circuit is changed or not, and the signal frequency and the amplitude of the driving signal output by the microcontroller next time are adjusted according to the driving signal and the driving voltage signal, so that the problems of signal distortion, noise interference, power consumption increase and the like caused by the fact that the amplification factor of the haptic feedback driving circuit is continuously changed are avoided, and the stability of the haptic feedback system is ensured.
Additional aspects and advantages of embodiments of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a control method of a haptic feedback drive circuit according to an embodiment of the present application;
FIG. 2 is a block diagram of a control device of a haptic feedback drive circuit according to an embodiment of the present application;
FIG. 3 is a block schematic diagram of a haptic feedback system according to an embodiment of the present application;
FIG. 4 is a flow chart of a control method when the driving voltage signal is equal to the preset voltage signal according to the embodiment of the application;
FIG. 5 is a schematic flow chart of generating an amplified voltage signal from a driving signal according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of processing an analog voltage signal by a arithmetic circuit to generate a voltage signal according to an embodiment of the present application;
FIG. 7 is a flow chart of the method for adjusting the driving signal outputted by the microcontroller next time according to the driving voltage signal and the driving signal according to the embodiment of the application;
FIG. 8 is a flow chart of adjusting the next output driving signal of the microcontroller according to the magnification factor according to the embodiment of the present application;
fig. 9 is a block diagram of a haptic feedback driving circuit according to an embodiment of the present application.
Description of main reference numerals: the device comprises a haptic feedback system 100, a control device 10, an output module 11, an amplifying module 12, an acquisition module 13, a comparison module 14, an adjustment module 15, a processor 20, a memory 30, a haptic feedback driving circuit 40, a microcontroller 41, a digital-to-analog converter 411, an arithmetic operation circuit 42, an operational amplification circuit 43 and a piezoelectric transducer 44.
Detailed Description
Embodiments of the present application are further described below with reference to the accompanying drawings. The same or similar reference numbers in the drawings refer to the same or similar elements or elements having the same or similar functions throughout.
In addition, the embodiments of the present application described below with reference to the drawings are exemplary only for explaining the embodiments of the present application and are not to be construed as limiting the present application.
In the present application, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
Referring to fig. 1, a control method of a haptic feedback driving circuit according to an embodiment of the present application includes a microcontroller and a piezoelectric transducer, the control method includes:
step 01: controlling the microcontroller to output a driving signal;
Step 02: generating an amplified voltage signal from the drive signal;
step 03: outputting the amplified voltage signal to a piezoelectric transducer to obtain a driving voltage signal;
step 04: comparing the driving voltage signal with a preset voltage signal;
step 05: and if the difference between the driving voltage signal and the preset voltage signal is larger than the preset threshold value, adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal.
Referring to fig. 2, a control device 10 of a haptic feedback driving circuit according to an embodiment of the present application includes a microcontroller and a piezoelectric transducer, the control device 10 includes an output module 11, an amplifying module 12, an obtaining module 13, a comparing module 14 and an adjusting module 15, and the output module 11 is used for controlling the microcontroller to output a driving signal; the amplifying module 12 is used for generating an amplified voltage signal according to the driving signal; the obtaining module 13 is used for outputting the amplified voltage signal to the piezoelectric transducer to obtain a driving voltage signal; the comparison module 14 is used for comparing the driving voltage signal with a preset voltage signal; the adjustment module 15 is configured to adjust the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal if the difference between the amplified voltage signal and the preset voltage signal is greater than the preset threshold.
Referring to fig. 3, a haptic feedback system 100 according to an embodiment of the present application includes a processor 20, a memory 30 and a haptic feedback driving circuit, wherein the memory 30 stores a computer program, and the computer program is executed by the processor 20 to cause the processor 20 to implement instructions of the control method according to any one of the above. Alternatively, the processor 20 may be configured to control the microcontroller to output the drive signal; generating an amplified voltage signal from the drive signal; outputting the amplified voltage signal to a piezoelectric transducer to obtain a driving voltage signal; the processor 20 may be further configured to compare the driving voltage signal with a preset voltage signal, and adjust the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal if the difference between the amplified voltage signal and the preset voltage signal is greater than a preset threshold.
In the control method, the control device 10 and the haptic feedback system 100 of the embodiment of the application, the output driving signal is amplified and output to the piezoelectric transducer to obtain the driving voltage signal, the driving voltage signal is compared with the preset voltage signal to obtain whether the current amplification factor of the haptic feedback driving circuit is changed, and the signal frequency and the amplitude of the driving signal output next time by the microcontroller are adjusted according to the driving signal and the driving voltage signal, so that the problems of signal distortion, noise interference, power consumption increase and the like caused by the continuous change of the amplification factor of the haptic feedback driving circuit are avoided, and the stability of the haptic feedback system is ensured.
The haptic feedback driving circuit is a circuit for driving a haptic feedback module, which is capable of transmitting information or control to a user by generating a haptic feedback signal such as vibration or pressure. The haptic feedback drive circuit includes a microcontroller for outputting a drive signal and a piezoelectric transducer for assisting in the measurement of the drive voltage signal.
Specifically, the microcontroller (Microcontroller, MCU) is an integrated circuit chip, which has the characteristics of small volume, low power consumption, strong control function, flexible expansion, micro power consumption and the like, and is internally provided with a preset program for executing various arithmetic and logic operations.
Further, the piezoelectric transducer receives the amplified voltage signal output thereto, and the piezoelectric transducer is a device for mutually converting electric energy and acoustic energy by utilizing the piezoelectric effect of some single crystal materials and the electrostrictive effect of some polycrystalline materials, and in this embodiment, the piezoelectric transducer is used for feeding back by utilizing vibration, and meanwhile, the driving voltage signals at two ends of the piezoelectric transducer are measured to replace the amplified voltage signal, and because the magnitude of the amplified voltage signal is not easy to measure, the driving voltage signals at two ends of the piezoelectric transducer are measured to replace the amplified voltage signal, and the driving voltage signal and the voltage of the amplified voltage signal should be the same.
The preset voltage signal is a theoretical voltage signal obtained by calculating according to theoretical amplification factors of the driving signal and the haptic feedback driving circuit, whether the amplification factor of the haptic feedback driving circuit changes or not can be reflected more intuitively by comparing the driving voltage signal with the preset voltage signal, the difference between the driving voltage signal and the preset voltage signal is calculated, the difference between the driving voltage signal and the preset voltage signal is compared with a preset threshold value, the difference between the driving voltage signal and the preset voltage signal is calculated, the absolute value of the difference between the driving voltage signal and the preset voltage signal is calculated, in this embodiment, the preset threshold value is 0, that is, the absolute value of the difference between the driving voltage signal and the preset voltage signal is larger than zero, the amplification factor of the haptic feedback driving circuit changes, that is, the amplification factor of the haptic feedback driving circuit changes when the driving voltage signal is not equal to the preset voltage signal, and the driving signal needs to be adjusted at this moment, so as to avoid the continuous change of the amplification factor of the haptic feedback driving circuit.
Referring to fig. 4, in some embodiments, the control method further includes:
Step 06: and under the condition that the difference between the driving voltage signal and the preset voltage signal is smaller than or equal to a preset threshold value, the microcontroller still outputs the driving signal.
In some embodiments, step 06 may be implemented by the adjustment module 15, or the adjustment module 15 may be configured to output the driving signal if the driving voltage signal is equal to the preset voltage signal.
In some embodiments, the processor 20 may be configured to output the driving signal if the driving voltage signal is equal to the preset voltage signal.
Specifically, the difference between the driving voltage signal and the preset voltage signal is smaller than or equal to the preset threshold, so that the preset program in the microcontroller is not required to be changed, the microcontroller can output the driving signal by using the original preset program, and in this embodiment, the preset threshold is 0, that is, when the driving voltage signal is equal to the preset voltage signal, the preset program in the microcontroller is not required to be changed.
Referring to fig. 5, in some embodiments, the haptic feedback driving circuit further includes a digital-to-analog converter, a digital-to-analog operation circuit, and an operational amplifier circuit, and step 02 includes:
021: inputting the driving signal to a digital-analog converter for conversion to generate an analog voltage signal;
022: processing the analog voltage signal by using a arithmetic circuit to generate a voltage signal;
023: the voltage signal is amplified by an operational amplifier circuit to generate an amplified voltage signal.
In some embodiments, the sub-steps 021, 022 and 023 may be implemented by the amplifying module 12, or the amplifying module 12 may be used to input the driving signal to the digital-analog converter for conversion, and generate the analog voltage signal; processing the analog voltage signal by using a arithmetic circuit to generate a voltage signal; the voltage signal is amplified by an operational amplifier circuit to generate an amplified voltage signal.
In some embodiments, the processor 20 may be configured to input the driving signal to a digital-to-analog converter for conversion, and generate an analog voltage signal; processing the analog voltage signal by using a arithmetic circuit to generate a voltage signal; the voltage signal is amplified by an operational amplifier circuit to generate an amplified voltage signal.
Specifically, a digital-to-analog converter (Digital to Analog Converter, DAC) is an electronic component that converts a digital signal to an analog signal. The function of the digital-to-analog converter is to convert discrete digital signals into continuously varying analog signals so that a real physical quantity can be simulated. Since driving haptic feedback devices such as piezoelectric transducers are generally capable of directly processing driving signals in the form of analog signals and are more convenient to process, the driving signals, which are originally in the form of digital signals, can be converted into analog voltage signals in the form of analog signals by using digital-to-analog converters, and the processing of signals by the piezoelectric transducers can be facilitated. The arithmetic operation circuit refers to a circuit that performs arithmetic operations on analog signals, such as ratios, addition, subtraction, multiplication, division, calculus, logarithm, and the like. The processing of the analog voltage signal with the arithmetic operation circuit is advantageous in reducing noise and improving the compatibility and safety of the signal. The operational amplifier circuit is an amplifying circuit capable of performing mathematical operations, and is used for amplifying an input analog signal. The haptic feedback drive circuit in this embodiment typically requires driving a piezoelectric transducer to generate the haptic feedback effect, which typically requires a large drive current or voltage to function properly. Thus, amplifying the analog voltage signal may provide sufficient driving capability to ensure proper operation of the haptic feedback circuit. In addition, amplifying the signal may also improve the perceptibility of the haptic feedback. Without amplifying the analog voltage signal, it may be difficult for a user to perceive a weak haptic feedback signal in some cases. The intensity and perceptibility of the haptic feedback can be increased only by amplifying the signals, making them more perceptible to the user.
Referring to fig. 6, in some embodiments, sub-step 022 comprises:
0221: inputting the analog voltage signal into a arithmetic operation circuit;
0222: the analog voltage signal is added and subtracted by the arithmetic circuit to output a single voltage or a dual voltage signal.
In some embodiments, sub-steps 0221 and 0222 may be implemented by amplification module 12, or amplification module 12 may be used to input the analog voltage signal into a arithmetic circuit; the analog voltage signal is added and subtracted by the arithmetic circuit to output a single voltage or a dual voltage signal.
In some embodiments, the processor 20 may be configured to input the analog voltage signal into a arithmetic circuit; the analog voltage signal is added and subtracted by the arithmetic circuit to output a single voltage or a dual voltage signal.
Specifically, the arithmetic operation circuit performs addition and subtraction operation on the analog voltage signal to convert the analog voltage signal into a single-voltage or double-voltage signal, and since the piezoelectric transducer needs a specific voltage range to be driven effectively, the arrangement can convert the analog voltage signal into the single-voltage or double-voltage signal, so that sufficient driving capability is ensured to be provided, and the piezoelectric transducer can work normally.
Referring to fig. 7, in some embodiments, step 05 includes:
051: calculating the amplification factor according to the driving voltage signal and the driving signal;
052: and adjusting a driving signal output by the microcontroller next time according to the amplification factor.
In some embodiments, the substeps 051 and 052 may be implemented by the adjustment module 15, or the adjustment module 15 may be used to calculate the amplification factor according to the amplified voltage signal and the driving signal; and adjusting a driving signal output by the microcontroller next time according to the amplification factor.
In some embodiments, the processor 20 may be configured to calculate the amplification factor based on the amplified voltage signal and the drive signal; and adjusting a driving signal output by the microcontroller next time according to the amplification factor.
Specifically, since the elements in the operational amplification circuit have different response characteristics to signals with different frequencies and amplitudes, for example, elements such as a capacitor and an inductor in the circuit have frequency response characteristics, when the frequency of the signals changes, the impedance of the capacitor and the inductor also changes, so that the amplification factor of the signals is affected; the components such as the triode in the circuit also have frequency response characteristics, and when the frequency of a signal increases, the amplification factor of the triode is usually reduced, so that the amplification factor is changed; the amplitude of the signal can be influenced by elements such as resistors in the circuit, and when the amplitude of the input signal changes, the voltage division effect of the resistors also changes, so that the amplitude and the amplification factor of the output signal are influenced. Therefore, the actual amplification factor of the operational amplification circuit needs to be calculated through the driving voltage signal and the driving signal, and then the microcontroller is adjusted according to the actual amplification factor so as to adjust the driving signal output by the microcontroller next time, thereby ensuring that the driving signal is not deviated due to the change of the amplification factor of the amplification circuit.
Referring to fig. 8, in some embodiments, the microcontroller includes a preset program, and the sub-step 052 includes:
0521: and adjusting the driving signal output by the microcontroller next time by adjusting a preset program according to the amplification factor.
In some embodiments, the sub-step 0521 may be implemented by the adjustment module 15, or the adjustment module 15 may be configured to adjust the driving signal output by the microcontroller next time by adjusting a preset program according to the magnification.
In some embodiments, the processor 20 may be configured to adjust the driving signal to be output next by the microcontroller by adjusting a preset program according to the magnification.
Specifically, a preset program is arranged in the microcontroller, the driving signal is output according to the preset program in the microcontroller, and when the difference between the amplified voltage signal and the preset voltage signal is larger than a preset threshold value, that is, when the amplified voltage signal is unequal to the preset voltage signal, the actual amplification factor of the current operational amplification circuit is utilized to improve the preset program in the microcontroller, so that the driving signal output by the microcontroller next time can meet the requirement, and the driving signal is ensured not to deviate due to the amplification factor change of the amplification circuit.
Referring to fig. 9, the embodiment of the application further provides a haptic feedback driving circuit 40 for the control method of any of the above embodiments. Specifically, the haptic feedback drive circuit 40 includes a microcontroller 41, a digital-to-analog converter 411, an arithmetic operation circuit 42, an operational amplification circuit 43, and a piezoelectric transducer 44. The microcontroller 41 is configured to output a driving signal, the digital-to-analog converter 411 is located on the microcontroller 41 and is configured to convert the driving signal into an analog voltage signal, the arithmetic circuit 42 is configured to perform an addition and subtraction operation on the analog voltage signal to output a single voltage or a dual voltage signal, the operational amplification circuit 43 amplifies the voltage signal to generate an amplified voltage signal, and the piezoelectric transducer 44 is configured to receive the output amplified voltage signal and obtain the driving voltage signal by measuring voltages at both ends of the piezoelectric transducer 44.
The non-transitory computer readable storage medium of the embodiment of the present application stores a computer program that, when executed by the processor 20, implements the control method of any one of the embodiments described above.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Drive (SSD)), or the like.
In the description of the present specification, reference to the terms "certain embodiments," "one embodiment," "some embodiments," "an exemplary embodiment," "an example," "a particular example," or "some examples" means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, unless specifically defined otherwise.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by those skilled in the art within the scope of the application, which is defined by the claims and their equivalents.

Claims (10)

1. A method of controlling a haptic feedback drive circuit, the haptic feedback drive circuit comprising a microcontroller and a piezoelectric transducer, the method comprising:
Controlling the microcontroller to output a driving signal;
Generating an amplified voltage signal from the drive signal;
outputting the amplified voltage signal to the piezoelectric transducer to obtain a driving voltage signal;
Comparing the driving voltage signal with a preset voltage signal;
And if the difference between the driving voltage signal and the preset voltage signal is larger than a preset threshold value, adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal.
2. The control method according to claim 1, characterized in that the control method further comprises:
And under the condition that the driving voltage signal and the preset voltage signal are smaller than or equal to a preset threshold value, the microcontroller still outputs the driving signal.
3. The control method according to claim 1, wherein the haptic feedback drive circuit further includes a digital-to-analog converter, a arithmetic circuit, and an operational amplification circuit, the generating an amplified voltage signal from the drive signal comprising:
inputting the driving signal to the digital-analog converter for conversion to generate an analog voltage signal;
Processing the analog voltage signal by the arithmetic operation circuit to generate a voltage signal;
and amplifying the voltage signal by using the operational amplification circuit to generate an amplified voltage signal.
4. A control method according to claim 3, wherein said processing the analog voltage signal with the arithmetic circuit to generate a voltage signal comprises:
inputting an analog voltage signal into the arithmetic circuit;
And performing addition and subtraction operation on the analog voltage signal by utilizing the arithmetic operation circuit to output a single-voltage or double-voltage signal.
5. The control method according to claim 1, wherein adjusting the driving signal output next by the micro controller according to the driving voltage signal and the driving signal if the difference between the amplified voltage signal and the preset voltage signal is greater than a preset threshold value, comprises:
calculating amplification factor according to the driving voltage signal and the driving signal;
And adjusting a driving signal output by the microcontroller next time according to the amplification factor.
6. The control method according to claim 5, wherein the microcontroller includes a preset program, and the adjusting the driving signal outputted by the microcontroller next time according to the amplification factor includes:
and adjusting the driving signal output by the microcontroller next time by adjusting the preset program according to the amplification factor.
7. A control device for a haptic feedback drive circuit, the haptic feedback drive circuit comprising a microcontroller and a piezoelectric transducer, the control device comprising:
the output module is used for controlling the microcontroller to output a driving signal;
The amplifying module is used for generating an amplified voltage signal according to the driving signal;
An obtaining module for outputting the amplified voltage signal to the piezoelectric transducer to obtain a driving voltage signal;
the comparison module is used for comparing the driving voltage signal with a preset voltage signal;
and the adjusting module is used for adjusting the driving signal output by the microcontroller next time according to the driving voltage signal and the driving signal if the difference between the amplified voltage signal and the preset voltage signal is larger than a preset threshold value.
8. A haptic feedback drive circuit for use in the control method of any one of claims 1-6.
9. A haptic feedback system comprising a processor and a memory, the memory storing a computer program which, when executed by the processor, causes the processor to implement the control method of any of claims 1-6.
10. A non-transitory computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the control method according to any one of claims 1-6.
CN202410005899.XA 2024-01-02 2024-01-02 Control method and device, haptic feedback driving circuit, system and medium Pending CN117908672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410005899.XA CN117908672A (en) 2024-01-02 2024-01-02 Control method and device, haptic feedback driving circuit, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410005899.XA CN117908672A (en) 2024-01-02 2024-01-02 Control method and device, haptic feedback driving circuit, system and medium

Publications (1)

Publication Number Publication Date
CN117908672A true CN117908672A (en) 2024-04-19

Family

ID=90691710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410005899.XA Pending CN117908672A (en) 2024-01-02 2024-01-02 Control method and device, haptic feedback driving circuit, system and medium

Country Status (1)

Country Link
CN (1) CN117908672A (en)

Similar Documents

Publication Publication Date Title
US11320907B2 (en) Audio-haptic signal generator
CN101459411B (en) Class-D amplifier
CN101484868B (en) Auto-gain switching module for acoustic touch systems
JP5306491B2 (en) Electronic device using haptic feedback and method for providing haptic feedback
KR101349994B1 (en) Low-power touch screen controller
US7602320B2 (en) Systems and methods for companding ADC-DSP-DAC combinations
US20150097657A1 (en) Generating haptic effects while minimizing cascading
CN109379678B (en) Nonlinear compensation method, nonlinear compensation device, storage medium and terminal equipment
CN111448756B (en) Calibration of dual path pulse width modulation system
CN108924447B (en) Volume adjusting method, equipment, communication device and storage medium
CN105302287B (en) Start the electronic device and method of specific function
US20190008481A1 (en) Ultrasound diagnostic apparatus, a transmission condition setting method, and program
CN117908672A (en) Control method and device, haptic feedback driving circuit, system and medium
US20090078477A1 (en) Electronic device with sound prompt function
CN115240757A (en) Voltage bias circuit, solid state disk test system and control method thereof
CN113162555A (en) Nonlinear distortion compensation circuit, nonlinear distortion compensation device, electronic apparatus, and nonlinear distortion compensation method
CN113778229A (en) Signal control system, display device, control method, control device, and storage medium
US20100043619A1 (en) System and method for driving actuators in a reproducing piano
CN113906672A (en) Avoiding clipping in audio power transmission by predicting available power source energy
US11974104B2 (en) Linearity compensation method and related acoustic system
CN214756281U (en) Waveform generator
US11815534B2 (en) Current sensing
JP2006325262A (en) Limiter controller and limiter control method
KR101858572B1 (en) Audio device with DSP Controller Module by touch screen and using method
WO2022180373A1 (en) Current sensing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination