WO2021212408A1 - 触觉振动自调节方法、装置、设备和介质 - Google Patents

触觉振动自调节方法、装置、设备和介质 Download PDF

Info

Publication number
WO2021212408A1
WO2021212408A1 PCT/CN2020/086400 CN2020086400W WO2021212408A1 WO 2021212408 A1 WO2021212408 A1 WO 2021212408A1 CN 2020086400 W CN2020086400 W CN 2020086400W WO 2021212408 A1 WO2021212408 A1 WO 2021212408A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
voltage
original
adjusted
waveform
Prior art date
Application number
PCT/CN2020/086400
Other languages
English (en)
French (fr)
Inventor
郑亚军
Original Assignee
瑞声声学科技(深圳)有限公司
瑞声科技(新加坡)有限公司
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 瑞声声学科技(深圳)有限公司, 瑞声科技(新加坡)有限公司 filed Critical 瑞声声学科技(深圳)有限公司
Publication of WO2021212408A1 publication Critical patent/WO2021212408A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/014Force feedback applied to GUI

Definitions

  • This application relates to the technical field of tactile vibration, and in particular to a method, device, equipment and medium for self-adjusting tactile vibration.
  • Tactile vibration can be applied in many fields and can bring users a rich tactile experience.
  • designers often need to store the designed vibration waveform in the device, and in specific application scenarios, call the corresponding vibration waveform and then drive the vibrator to output.
  • a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor executes the following steps:
  • the adjusted vibration waveform is obtained according to the corrected equalization voltage, and the vibrator is driven to output tactile vibration in the adjusted vibration waveform.
  • the extracting at least one vibration signal frame located at the end of the vibration frame signal to obtain the original equalized voltage of the at least one vibration signal frame includes:
  • the determining whether the original equalization voltage is greater than a preset threshold includes:
  • the correcting the original equalized voltage according to a preset algorithm to obtain the corrected equalized voltage includes:
  • the obtaining the adjusted vibration waveform according to the corrected equalization voltage includes:
  • the correcting the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage includes:
  • the waveform frequency of the original initial voltage and/or the original termination voltage is adjusted to obtain a modified initial voltage and/or a modified termination voltage.
  • the determining whether at least one of the original initial voltage and the original termination voltage is greater than a preset threshold includes:
  • the obtaining the vibration waveform to be adjusted includes:
  • a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor executes the following steps:
  • the adjusted vibration waveform is obtained according to the corrected equalization voltage, and the vibrator is driven to output tactile vibration in the adjusted vibration waveform.
  • a tactile vibration self-adjusting device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
  • the adjusted vibration waveform is obtained according to the corrected equalization voltage, and the vibrator is driven to output tactile vibration in the adjusted vibration waveform.
  • the present invention provides a tactile vibration self-adjustment method, device, equipment and medium. Specifically, the vibration frame signal is obtained by framing the vibration waveform to be adjusted, and the original equalized voltage of at least one vibration signal frame at the end position is obtained; Then the original equalized voltage is corrected according to the preset algorithm, the corrected equalized voltage is obtained and the adjusted vibration waveform is obtained, and finally the tactile vibration is output by driving the vibrator with the adjusted vibration waveform. Since the present invention can adaptively adjust the vibration waveform according to the output capability of the actual output device, it can effectively reduce the difference in the vibration tactile output of the same vibration waveform in different output devices.
  • FIG. 1 is a schematic flowchart of a method for self-adjusting tactile vibration in an embodiment
  • Fig. 2 is a structural block diagram of a tactile vibration self-adjusting device in an embodiment
  • FIG. 3 is a schematic diagram of a flow of extracting front-end and rear-end vibration signal frames of a vibration frame signal in an embodiment
  • Figure 4 is a schematic structural diagram of a tactile vibration self-adjusting device in an embodiment
  • Fig. 5 is a structural block diagram of a tactile vibration self-adjusting device in an embodiment.
  • Fig. 1 is a schematic flow chart of a tactile vibration self-adjustment method in an embodiment.
  • the steps of the tactile vibration self-adjustment method provided by the present invention include:
  • Step 102 Acquire the current application scene, retrieve the corresponding vibration waveform to be adjusted from the storage medium according to the current application scene, perform frame processing on the vibration waveform to be adjusted, and acquire a vibration frame signal including multiple vibration signal frames.
  • the vibration waveform to be adjusted refers to the vibration waveform whose vibration amplitude needs to be adjusted currently.
  • the vibration frame signal refers to a vibration signal composed of at least one signal frame after the vibration waveform to be adjusted undergoes framing processing.
  • FIG. 2 is a structural block diagram of a tactile vibration self-adjusting device in an embodiment.
  • the tactile vibration self-adjusting device includes a storage 21, a signal processor 22, and a vibrator 23, wherein the signal processor and the storage are respectively And the vibrator is connected.
  • the corresponding vibration waveform to be adjusted is recorded in the device storage in advance.
  • the corresponding vibration waveform to be adjusted can be stored using the age of the user as the storage standard, or the corresponding vibration waveform to be adjusted can be stored using the site of use as the storage standard.
  • framing is achieved by weighting with movable finite-length windows. Therefore, it is necessary to determine the length of the window and the length of the window each time it moves to the right.
  • the length of the window and the length of the window each time it moves to the right can be adaptively set according to the duration of the waveform to be adjusted.
  • frame shift the ratio of frame shift to the duration of each frame Usually taken as 0-1/2.
  • Step 104 Extract at least one vibration signal frame located at the end of the vibration frame signal, and obtain the original equalized voltage of the at least one vibration signal frame.
  • the whole segment of the vibration frame signal is corrected, it will cause a large degree of deviation of the signal compared with the original signal in the transmission process, that is, a large-scale signal distortion phenomenon will occur. Therefore, in this embodiment, only the signal frame at the end of the vibration frame signal is extracted.
  • one frame or a preset number of signal frames at the end of the vibration frame signal can be extracted, for example, 3 frames. The number of extracted frames depends on the situation that the original equalized voltage is greater than the maximum output voltage of the device.
  • the original equalized voltage can be obtained by inputting the vibration frame signal at the end position as the input into the equalization algorithm mathematical model and after calculation.
  • the equalization algorithm can be derived from the differential equation of motion of the actual vibration system, or can be obtained through numerical modeling, which is a commonly used simulation method.
  • Step 106 Determine whether the original equalized voltage is greater than a preset threshold, and if so, go to step 108. If not, go to step 112.
  • the preset threshold is set to the maximum output voltage of the device.
  • the voltage output limits of different vibration playback devices are different.
  • the problem of small vibration amplitude will occur when the driver outputs tactile vibration, so it is necessary to adjust the part of the original equalized voltage greater than the preset threshold.
  • Step 108 Correct the original equalized voltage according to the preset algorithm to obtain the corrected equalized voltage.
  • the corrected equalization voltage should be less than or equal to the maximum output voltage of the device.
  • the original equalized voltage can be attenuated to the modified equalized voltage by a function containing a monotonous decreasing interval.
  • the function with a monotonically decreasing interval in this embodiment includes but is not limited to any of the following: linear function, multi-order function, power function, exponential function, logarithmic function, trigonometric function, and inverse trigonometric function.
  • Step 110 Obtain the adjusted vibration waveform according to the corrected equalized voltage, and drive the vibrator to output the tactile vibration with the adjusted vibration waveform.
  • the adjusted end vibration waveform of the end position is generated based on the corrected equalization voltage
  • the vibration waveform to be adjusted includes the unadjusted middle vibration waveform, the unadjusted end vibration waveform, and other vibration waveforms.
  • the duration of the unadjusted middle part vibration waveform, the unadjusted end vibration waveform, and the adjusted end vibration waveform should be equal to the unadjusted vibration waveform.
  • the adjusted vibration waveform can be obtained by synthesizing the unadjusted middle part vibration waveform, the unadjusted end part vibration waveform and the adjusted end part vibration waveform.
  • step 112 the vibration waveform to be adjusted is used as the output vibration waveform, and the vibrator is driven to output the vibration waveform to output tactile vibration.
  • the above-mentioned tactile vibration self-adjustment method obtains the vibration frame signal by framing the vibration waveform to be adjusted, and obtains the original equalized voltage of at least one vibration signal frame at the end position; and then corrects the original equalized voltage according to the preset algorithm , Obtain the corrected equalization voltage and get the adjusted vibration waveform, and finally output the tactile vibration with the adjusted vibration waveform by driving the vibrator. Since the present invention can adaptively adjust the vibration waveform according to the output capability of the actual output device, it can effectively reduce the difference in the vibration tactile output of the same vibration waveform in different output devices.
  • FIG. 3 is a schematic flow diagram of extracting the front end and the back end vibration signal frame of the vibration frame signal in an embodiment.
  • the steps of extracting the front end and the back end vibration signal frame of the vibration frame signal provided by the present invention include:
  • Step 302 Obtain a vibration waveform to be adjusted, perform frame processing on the vibration waveform to be adjusted, and obtain a vibration frame signal including multiple vibration signal frames.
  • step 302 is basically the same as step 102 in the tactile vibration self-adjustment method provided by the present invention, and will not be repeated here.
  • Step 304 Extract at least one vibration signal frame at the front end of the vibration frame signal and at least one vibration signal frame at the end of the vibration frame signal.
  • the vibration signal frame at the front end of the vibration frame signal and the vibration signal frame at the end of the vibration frame signal are selected.
  • Step 306 Obtain an original initial voltage corresponding to at least one vibration signal frame at the front end of the vibration frame signal and an original end voltage corresponding to at least one vibration signal frame at the end of the vibration frame signal.
  • the vibration signal at the front end of the vibration frame signal and the vibration signal at the end as the input quantity, inputting them into the mathematical model of the equalization algorithm and performing calculations, the corresponding original initial voltage and original end voltage can be obtained.
  • Step 308 Determine whether the original initial voltage is greater than a first preset voltage threshold; and/or determine whether the original termination voltage is greater than a second preset voltage threshold. If yes, perform step 310 or step 312. If not, go to step 316.
  • both the first preset voltage threshold and the second preset voltage threshold should be set to be less than or equal to the maximum output voltage of the device, for example, 9V. Further, the first preset voltage threshold and the second preset voltage threshold may be the same.
  • a preset algorithm mode is selected according to the result of the judgment section to correct the original initial voltage and/or the original end voltage. Specifically, when it is only satisfied that the original initial voltage is greater than the first preset voltage threshold, the quick-start mode is activated, and only the original initial voltage is corrected. When it is only satisfied that the original termination voltage is greater than the second preset voltage threshold, the quick stop mode is activated, and only the original termination voltage is corrected. When the original initial voltage is greater than the first preset voltage threshold and the original end voltage is greater than the second preset voltage threshold, the quick start and quick stop mode is activated, and the original initial voltage and the original end voltage are corrected. When the original initial small voltage is greater than the first preset voltage threshold and the original termination voltage is less than the second preset voltage threshold, the vibration waveform to be adjusted may be used as the final output vibration waveform to drive the vibrator to output tactile vibration.
  • step 310 the waveform amplitude of the original initial voltage and/or the original termination voltage is reduced to obtain the modified initial voltage and/or the modified termination voltage.
  • the braking voltage is determined by a function containing a monotonically decreasing interval; the waveform amplitude of the original initial voltage and/or the original termination voltage is corrected based on the braking voltage, and the waveform amplitude is lower than the original vibration amplitude. Adjust the vibration waveform, and use the end voltage of the brake voltage as the corrected initial voltage and/or the corrected end voltage.
  • Step 312 Adjust the waveform frequency of the original initial voltage and/or the original termination voltage to obtain the modified initial voltage and/or the modified termination voltage.
  • a brake voltage whose waveform frequency is equal to the resonance frequency of the motor is determined based on a function containing a monotonous decreasing interval, and the waveform frequency of the brake voltage is used as the corrected initial voltage and/or the corrected end voltage The frequency of the waveform.
  • step 310 and step 312 can achieve the corrected initial voltage and/or the corrected end voltage, and any one of these steps can be selected.
  • Step 314 replace the original initial voltage with the modified initial voltage; and/or replace the original termination voltage with the modified termination voltage; perform synthesis processing on the vibration waveform to be adjusted after the replacement to obtain the adjusted vibration waveform; drive the vibrator to adjust the vibration waveform Output tactile vibration.
  • the adjusted vibration waveform of the tip portion is generated based on the modified initial voltage, and/or the adjusted vibration waveform of the tip portion is generated based on the modified end voltage. Synthesize the adjusted vibration waveform of the front end portion and/or the adjusted vibration waveform of the end portion, and the unadjusted vibration waveform of the middle portion to obtain the required adjusted vibration waveform.
  • each frame is filtered in the wavelet domain through a filtering algorithm, and then the denoising processed signals of each frame are combined by linear overlap and addition to obtain the adjusted vibration waveform.
  • step 316 the vibration waveform to be adjusted is used as the output vibration waveform, and the vibrator is driven to output the vibration waveform to output tactile vibration.
  • the above-mentioned tactile vibration self-adjustment method is to modify the original equalization voltage of the frame signal at the front end of the signal frame and the rear end of the signal frame to make it less than the maximum output voltage of the device, specifically by reducing the waveform of the original initial voltage and/or the original termination voltage Amplitude, or adjust the waveform frequency of the original initial voltage and/or the original termination voltage to achieve. Therefore, the present invention can make the played tactile vibration consistent with the designed tactile vibration as much as possible while avoiding a greater degree of distortion.
  • a tactile vibration self-adjusting device which includes:
  • the first obtaining module 402 is configured to obtain the vibration waveform to be adjusted, perform frame processing on the vibration waveform to be adjusted, and obtain a vibration frame signal including multiple vibration signal frames;
  • the second acquiring module 404 extracts at least one vibration signal frame located at the end of the vibration frame signal, and acquires the original equalized voltage of the at least one vibration signal frame;
  • the correction module 406 is used to determine whether the original equalized voltage is greater than the preset threshold, and if so, correct the original equalized voltage according to the preset algorithm to obtain the corrected equalized voltage;
  • the adjustment output module 408 is configured to obtain the adjusted vibration waveform according to the corrected equalization voltage, and drive the vibrator to output the tactile vibration with the adjusted vibration waveform.
  • the second acquiring module 404 is specifically configured to extract at least one vibration signal frame at the front end of the vibration frame signal and at least one vibration signal frame at the end of the vibration frame signal; acquiring corresponding to at least one vibration signal frame at the front end of the vibration frame signal The original initial voltage of the vibration signal frame and the original end voltage corresponding to at least one vibration signal frame located at the end of the vibration frame signal.
  • the correction module 406 is specifically configured to determine whether at least one of the original initial voltage and the original end voltage is greater than a preset threshold; to correct the original initial voltage and/or the original end voltage to obtain the corrected initial voltage and/or Correct the termination voltage.
  • the adjustment output module 408 is specifically configured to replace the original initial voltage with the modified initial voltage; and/or replace the original termination voltage with the modified termination voltage; perform synthesis processing on the vibration waveform to be adjusted after the replacement to obtain the adjusted vibration Waveform.
  • the correction module 406 is specifically configured to reduce the waveform amplitude of the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage; or, adjust the original initial voltage and/or the original termination voltage The frequency of the waveform is modified to obtain the modified initial voltage and/or modified end voltage.
  • the correction module 406 is specifically configured to determine whether the original initial voltage is greater than the first preset voltage threshold; and/or determine whether the original termination voltage is greater than the second preset voltage threshold.
  • the first obtaining module 402 is specifically configured to obtain the current application scenario, and retrieve the corresponding vibration waveform to be adjusted from the storage medium according to the current application scenario.
  • the above-mentioned tactile vibration self-adjustment device obtains the vibration frame signal by framing the vibration waveform to be adjusted, and obtains the original equalization voltage of at least one vibration signal frame at the end position; and then corrects the original equalization voltage according to the preset algorithm , Obtain the corrected equalization voltage and get the adjusted vibration waveform, and finally output the tactile vibration with the adjusted vibration waveform by driving the vibrator. Since the present invention can adaptively adjust the vibration waveform according to the output capability of the actual output device, it can effectively reduce the difference in the vibration tactile output of the same vibration waveform in different output devices.
  • Fig. 5 shows an internal structure diagram of a tactile vibration self-adjusting device in an embodiment.
  • the tactile vibration self-adjusting device includes a processor, a memory, and a network interface connected through a system bus.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the tactile vibration self-adjusting device stores an operating system and may also store a computer program.
  • the processor can realize the tactile vibration self-adjustment method.
  • a computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor can execute the tactile vibration self-adjustment method.
  • the tactile vibration self-adjusting device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
  • a tactile vibration self-adjusting device includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, the following steps are implemented: obtain the vibration waveform to be adjusted, and perform processing on the vibration waveform to be adjusted. Framing processing to obtain a vibration frame signal including multiple vibration signal frames; extract at least one vibration signal frame at the end of the vibration frame signal to obtain the original equalized voltage of at least one vibration signal frame; determine whether the original equalized voltage is greater than a preset threshold If yes, the original equalized voltage is corrected according to the preset algorithm to obtain the corrected equalized voltage; the adjusted vibration waveform is obtained according to the corrected equalized voltage, and the vibrator is driven to output the tactile vibration with the adjusted vibration waveform.
  • extracting at least one vibration signal frame located at the end of the vibration frame signal to obtain the original equalized voltage of the at least one vibration signal frame includes: extracting at least one vibration signal frame located at the front end of the vibration frame signal, and at least one vibration signal frame located at the front end of the vibration frame signal.
  • a vibration signal frame at the end of the vibration frame signal obtaining an original initial voltage corresponding to at least one vibration signal frame at the front end of the vibration frame signal and an original end voltage corresponding to at least one vibration signal frame at the end of the vibration frame signal.
  • determining whether the original equalization voltage is greater than a preset threshold includes: determining whether at least one of the original initial voltage and the original termination voltage is greater than the preset threshold; and correcting the original equalization voltage according to a preset algorithm to obtain a modified equalization The voltage includes: correcting the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage.
  • obtaining the adjusted vibration waveform according to the modified equalization voltage includes: replacing the original initial voltage with the modified initial voltage; and/or replacing the original termination voltage with the modified termination voltage; and synthesizing the vibration waveform to be adjusted after the replacement , Get the adjusted vibration waveform.
  • correcting the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage includes: reducing the waveform amplitude of the original initial voltage and/or the original termination voltage to obtain the revised initial voltage Voltage and/or modified termination voltage; or, adjusting the waveform frequency of the original initial voltage and/or original termination voltage to obtain the modified initial voltage and/or modified termination voltage.
  • determining whether at least one of the original initial voltage and the original termination voltage is greater than a preset threshold includes: determining whether the original initial voltage is greater than a first preset voltage threshold; and/or determining whether the original termination voltage is greater than a second Preset voltage threshold.
  • acquiring the vibration waveform to be adjusted includes: acquiring the current application scenario, and retrieving the corresponding vibration waveform to be adjusted from the storage medium according to the current application scenario.
  • the following steps are implemented: obtain a vibration waveform to be adjusted, perform frame processing on the vibration waveform to be adjusted, and obtain multiple vibration signals Frame vibration frame signal; extract at least one vibration signal frame located at the end of the vibration frame signal, obtain the original equalization voltage of at least one vibration signal frame; determine whether the original equalization voltage is greater than a preset threshold, and if so, compare the original equalization voltage according to the preset algorithm
  • the equalized voltage is corrected to obtain the corrected equalized voltage; the adjusted vibration waveform is obtained according to the corrected equalized voltage, and the vibrator is driven to output the tactile vibration with the adjusted vibration waveform.
  • extracting at least one vibration signal frame located at the end of the vibration frame signal to obtain the original equalized voltage of the at least one vibration signal frame includes: extracting at least one vibration signal frame located at the front end of the vibration frame signal, and at least one vibration signal frame located at the front end of the vibration frame signal.
  • a vibration signal frame at the end of the vibration frame signal obtaining an original initial voltage corresponding to at least one vibration signal frame at the front end of the vibration frame signal and an original end voltage corresponding to at least one vibration signal frame at the end of the vibration frame signal.
  • determining whether the original equalization voltage is greater than a preset threshold includes: determining whether at least one of the original initial voltage and the original termination voltage is greater than the preset threshold; and correcting the original equalization voltage according to a preset algorithm to obtain a modified equalization The voltage includes: correcting the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage.
  • obtaining the adjusted vibration waveform according to the modified equalization voltage includes: replacing the original initial voltage with the modified initial voltage; and/or replacing the original termination voltage with the modified termination voltage; and synthesizing the vibration waveform to be adjusted after the replacement , Get the adjusted vibration waveform.
  • correcting the original initial voltage and/or the original termination voltage to obtain the revised initial voltage and/or the revised termination voltage includes: reducing the waveform amplitude of the original initial voltage and/or the original termination voltage to obtain the revised initial voltage Voltage and/or modified termination voltage. Or, adjust the waveform frequency of the original initial voltage and/or the original end voltage to obtain the corrected initial voltage and/or the corrected end voltage.
  • determining whether at least one of the original initial voltage and the original termination voltage is greater than a preset threshold includes: determining whether the original initial voltage is greater than a first preset voltage threshold; and/or determining whether the original termination voltage is greater than a second Preset voltage threshold.
  • acquiring the vibration waveform to be adjusted includes: acquiring the current application scenario, and retrieving the corresponding vibration waveform to be adjusted from the storage medium according to the current application scenario.
  • haptic vibration self-adjusting method device, equipment, and computer-readable storage medium belong to a general inventive concept, and the content in the embodiments of the tactile vibration self-adjusting method, device, equipment, and computer-readable storage medium can interact with each other. Be applicable.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • memory bus Radbus direct RAM
  • RDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

一种触觉振动自调节方法,包括:获取待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压(104);判断原始均衡电压是否大于预设阈值(106),若是,则根据预设算法对原始均衡电压进行修正,获取修正均衡电压(108);根据修正均衡电压获取已调节振动波形,驱动振动器以已调节振动波形输出触觉振动(110)。该方法针对实际输出设备的输出能力对振动波形进行自适应调节,能够有效降低同一的振动波形在不同输出设备中输出的振动触觉的差异。此外,还提出了一种触觉振动自调节装置、设备和存储介质。

Description

触觉振动自调节方法、装置、设备和介质 技术领域
本申请涉及触觉振动技术领域,尤其涉及一种触觉振动自调节方法、装置、设备和介质。
背景技术
触觉振动可以应用在众多领域,能给用户带来丰富的触觉体验。为实现输出触觉振动,设计人员常需将设计好的振动波形储存在设备中,并在具体的应用场景下,调取对应的振动波形再驱动振动器进行输出。
技术问题
但目前市面上带有触觉振动的设备千差万别,在性能上也各不相同。由于设计人员设计振动波形时仅针对固定的输出设备,而该固定的输出设备与实际输出设备之间可能存在较大的性能差异,这也导致实际数据设备在自身电压输出能力下可能无法实现输出触觉振动,因此会出现适用局限性。
技术解决方案
基于此,有必要针对上述问题,提供一种能自动调节振动波形的触觉振动自调节方法、装置、设备和介质。
一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如下步骤:
获取待调节振动波形,对所述待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压;
判断所述原始均衡电压是否大于预设阈值,若是,则根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压;
根据所述修正均衡电压获取已调节振动波形,驱动振动器以所述已调节振动波形输出触觉振动。
在其中一个实施例中,所述提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压,包括:
提取至少一个位于所述振动帧信号前端的振动信号帧,以及至少一个位于所述振动帧信号末端的振动信号帧;
获取对应于所述至少一个位于所述振动帧信号前端的振动信号帧的原始初始电压和对应于所述至少一个位于所述振动帧信号末端的振动信号帧的原始终止电压。
在其中一个实施例中,所述判断所述原始均衡电压是否大于预设阈值,包括:
判断所述原始初始电压和所述原始终止电压中的至少一个是否大于预设阈值;
所述根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压,包括:
对所述原始初始电压和/或所述原始终止电压进行修正,得到修正初始电压和/或修正终止电压。
在其中一个实施例中,所述根据所述修正均衡电压获取已调节振动波形,包括:
用所述修正初始电压替换所述原始初始电压;和/或
用所述修正终止电压替换所述原始终止电压;
对替换后的所述待调节振动波形进行合成处理,得到已调解振动波形。
在其中一个实施例中,所述对所述原始初始电压和/或所述原始终止电压进行修正,得到修正初始电压和/或修正终止电压,包括:
降低所述原始初始电压和/或所述原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压;或,
调整所述原始初始电压和/或所述原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
在其中一个实施例中,所述判断所述原始初始电压和所述原始终止电压中的至少一个是否大于预设阈值,包括:
判断所述原始初始电压是否大于第一预设电压阈值;和/或
判断所述原始终止电压是否大于第二预设电压阈值。
在其中一个实施例中,所述获取待调节振动波形,包括:
获取当前应用场景,根据所述当前应用场景从存储介质中调取对应的待调节振动波形。
一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如下步骤:
获取待调节振动波形,对所述待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压;
判断所述原始均衡电压是否大于预设阈值,若是,则根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压;
根据所述修正均衡电压获取已调节振动波形,驱动振动器以所述已调节振动波形输出触觉振动。
一种触觉振动自调节设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:
获取待调节振动波形,对所述待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压;
判断所述原始均衡电压是否大于预设阈值,若是,则根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压;
根据所述修正均衡电压获取已调节振动波形,驱动振动器以所述已调节振动波形输出触觉振动。
有益效果
本发明提供了一种触觉振动自调节方法、装置、设备和介质,具体通过对待调节振动波形进行分帧处理,获得振动帧信号,并获取其中端部位置至少一个振动信号帧的原始均衡电压;再根据预设算法对该原始均衡电压进行修正,获取修正均衡电压并得到已调节振动波形,最后通过驱动振动器以已调节振动波形输出触觉振动。由于本发明能针对实际输出设备的输出能力对振动波形进行自适应调节,能够有效降低同一的振动波形在不同输出设备中输出的振动触觉的差异。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
其中:
图1为一个实施例中触觉振动自调节方法的流程示意图;
图2为一个实施例中触觉振动自调节装置的结构框图;
图3为一个实施例中提取振动帧信号前端以及后端振动信号帧的流程示意图;
图4为一个实施例中触觉振动自调节装置的结构示意图;
图5为一个实施例中触觉振动自调节设备的结构框图。
本发明的实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
如图1所示,图1为一个实施例中触觉振动自调节方法的流程示意图,本发明提供的触觉振动自调节方法的步骤包括:
步骤102,获取当前应用场景,根据当前应用场景从存储介质中调取对应的待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号。
其中,待调节振动波形是指当前需要调节振动幅度的振动波形。振动帧信号是指待调节振动波形经过分帧处理后,由至少一个信号帧组成的振动信号。
如图2所示,图2为一个实施例中触觉振动自调节装置的结构框图,该触觉振动自调节装置包括储存器21、信号处理器22、振动器23,其中信号处理器分别与储存器以及振动器相连。在本实施例中,为适应不同的使用场景,提前在设备储存器中录入了对应的待调节振动波形。具体的,可以以使用者的年龄为储存标准储存相应的待调节振动波形,或者以使用场地为储存标准储存相应的待调节振动波形。
在本实施例中,分帧是通过用可移动的有限长度窗口进行加权的方法来实现。因此需确定窗口长度以及窗口每次往右移动的长度,窗口长度以及窗口每次往右移动的长度可以根据待调节波形的时长适应性的设置。
进一步的,为了使帧与帧之间平滑过渡,保持连续性,前一帧和后一帧之间存在交叠部分,该交叠部分称为帧移,帧移与每一帧的时长之比通常取为0-1/2。
步骤104,提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压。
如果对整段振动帧信号进行修正,将导致信号在传输过程中与原有信号相比出现较大程度的偏差,即出现大幅度信号失真现象。因此在本实施例中,只提取振动帧信号端部的信号帧。可选的,可以提取振动帧信号端部的一帧或者预设数量的信号帧进行,例如3帧。提取帧的数量根据具体根据原始均衡电压大于设备最大输出电压的情况而定。
在一个实施例中,通过将位于端部位置的振动帧信号作为输入量,输入到均衡算法数学模型中并经过计算即可得到原始均衡电压。其中,均衡算法可以通过实际振动系统的运动微分方程推导得到,也可以通过数值建模形式得到,是一种常用的仿真手段。
步骤106,判断原始均衡电压是否大于预设阈值,若是,执行步骤108。若否,则执行步骤112。
在本实施例中,预设阈值设置为设备的最大输出电压。
受设备性能影响,不同振动播放设备的电压输出限制不同。当获取到的待调节振动波形的原始均衡电压大于电压输出限制时,在驱动器输出触觉振动时会出现振动幅度偏小的问题,因此需要对原始均衡电压大于预设阈值部分进行调节。
步骤108,根据预设算法对原始均衡电压进行修正,获取修正均衡电压。
可以理解的是,修正均衡电压应小于或等于设备最大输出电压。在一个实施例中,可以通过含有单调递减区间的函数将原始均衡电压衰减至修正均衡电压。应当说明的是,本实施例中的具有单调递减区间的函数包括但不限于以下任意一种:线性函数、多次函数、幂函数、指数函数、对数函数、三角函数、反三角函数。
步骤110,根据修正均衡电压获取已调节振动波形,驱动振动器以已调节振动波形输出触觉振动。
具体的,基于修正均衡电压生成端部位置的已调解端部振动波形,同时获取待调节振动波形中包括未调节中间部振动波形、未调节端部振动波形等振动波形。其中,未调节中间部振动波形、未调节端部振动波形和已调解端部振动波形的时长应等于未调节振动波形。对未调节中间部振动波形、未调节端部振动波形和已调解端部振动波形进行合成即可得到已调节振动波形。
步骤112,将待调节振动波形作为输出振动波形,驱动振动器以输出振动波形输出触觉振动。
上述触觉振动自调节方法,通过对待调节振动波形进行分帧处理,获得振动帧信号,并获取其中端部位置至少一个振动信号帧的原始均衡电压;再根据预设算法对该原始均衡电压进行修正,获取修正均衡电压并得到已调节振动波形,最后通过驱动振动器以已调节振动波形输出触觉振动。由于本发明能针对实际输出设备的输出能力对振动波形进行自适应调节,能够有效降低同一的振动波形在不同输出设备中输出的振动触觉的差异。
如图3所示,图3为一个实施例中提取振动帧信号前端以及后端振动信号帧的流程示意图,本发明提供的提取振动帧信号前端以及后端振动信号帧的步骤包括:
步骤302,获取待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号。
在一个具体的实施场景中,步骤302与本发明提供的触觉振动自调节方法中的步骤102、基本一致,此处不再进行赘述。
步骤304,提取至少一个位于振动帧信号前端的振动信号帧,以及至少一个位于振动帧信号末端的振动信号帧。
由于需要增加或减小触觉振动的振动幅度,会常出现在待调节振动波形的播放起始段或播放结束段的所需原始均衡电压大于设备最大输出电压的情况,因此在本实施例中,为尽可能让播放的触觉振动与设计的触觉振动一致,同时保证触觉振动的失真较小,选择振动帧信号前端的振动信号帧以及振动帧信号末端的振动信号帧。
步骤306,获取对应于至少一个位于振动帧信号前端的振动信号帧的原始初始电压和对应于至少一个位于振动帧信号末端的振动信号帧的原始终止电压。
在一个实施例中,通过将位于振动帧信号前端的振动信号以及末端的振动信号作为输入量,输入到均衡算法数学模型中并经过计算即可得到对应的原始初始电压和原始终止电压。
步骤308,判断原始初始电压是否大于第一预设电压阈值;和/或判断原始终止电压是否大于第二预设电压阈值。若是,则执行步骤310或步骤312。若否,则执行步骤316。
其中,第一预设电压阈值和第二预设电压阈值都应该设置为小于等于设备最大输出电压,例如9V。进一步的,第一预设电压阈值和第二预设电压阈值可以相同。
在本实施例中,根据判断段结果选择预设的算法模式对原始初始电压和/或原始终止电压进行修正。具体的,当只满足原始初始电压大于第一预设电压阈值时,启动快起模式,仅对原始初始电压进行修正。当只满足原始终止电压大于第二预设电压阈值时,启动快停模式,仅对原始终止电压进行修正。当原始初始电压大于第一预设电压阈值且原始终止电压大于第二预设电压阈值时,启动快起且快停模式,对原始初始电压与原始终止电压进行修正。当原始初始小电压大于第一预设电压阈值且原始终止电压小于第二预设电压阈值时,可以将待调节振动波形作为最终输出振动波形,以驱动振动器输出触觉振动。
步骤310,降低原始初始电压和/或原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压。
在一个实施例中,通过含有单调递减区间的函数确定刹车电压;基于该刹车电压对原始初始电压和/或原始终止电压的波形幅值进行修正,生成波形幅值低于原始振动幅值的已调解振动波形,将该刹车电压的末端电压作为修正初始电压和/或修正终止电压。
步骤312,调整原始初始电压和/或原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
在一个实施例中,通过获取马达的共振频率,基于含有单调递减区间的函数确定波形频率与马达的共振频率相等的刹车电压,将该刹车电压的波形频率作为修正初始电压和/或修正终止电压的波形频率。
其中,步骤310与步骤312均能实现得到修正初始电压和/或修正终止电压,可选择其中任一步骤。
步骤314,用修正初始电压替换原始初始电压;和/或用修正终止电压替换原始终止电压;对替换后的待调节振动波形进行合成处理,得到已调解振动波形;驱动振动器以已调节振动波形输出触觉振动。
在本实施例中,基于修正初始电压生成前端部的已调解振动波形,和/或基于修正终止电压生成末端部的已调解振动波形。对前端部的已调解振动波形和/或末端部的已调解振动波形,以及中间部的未调节振动波形进行合成即可得到所需的已调解振动波形。
具体的,在进行合成操作时,首先对每一帧通过滤波算法进行小波域的滤波,然后把每一帧去噪处理后的信号通过线性重叠相加法进行合并,得到已调解振动波形。
步骤316,将待调节振动波形作为输出振动波形,驱动振动器以输出振动波形输出触觉振动。
上述触觉振动自调节方法,通过对位于信号帧前端以及信号帧后端的帧信号的原始均衡电压进行修正,使其小于设备的最大输出电压,具体通过降低原始初始电压和/或原始终止电压的波形幅值,或调整原始初始电压和/或原始终止电压的波形频率来实现。因此本发明能实现在尽可能让播放的触觉振动与设计的触觉振动一致的同时,避免了较大程度的失真。
在一个实施例中,如图4所示,提出了一种触觉振动自调节装置,该装置包括:
第一获取模块402,用于获取待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
第二获取模块404,提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压;
修正模块406,用于判断原始均衡电压是否大于预设阈值,若是,则根据预设算法对原始均衡电压进行修正,获取修正均衡电压;
调节输出模块408,用于根据修正均衡电压获取已调节振动波形,驱动振动器以已调节振动波形输出触觉振动。
在一个实施例中,第二获取模块404具体用于提取至少一个位于振动帧信号前端的振动信号帧,以及至少一个位于振动帧信号末端的振动信号帧;获取对应于至少一个位于振动帧信号前端的振动信号帧的原始初始电压和对应于至少一个位于振动帧信号末端的振动信号帧的原始终止电压。
在一个实施例中,修正模块406具体用于判断原始初始电压和原始终止电压中的至少一个是否大于预设阈值;对原始初始电压和/或原始终止电压进行修正,得到修正初始电压和/或修正终止电压。
在一个实施例中,调节输出模块408具体用于用修正初始电压替换原始初始电压;和/或用修正终止电压替换原始终止电压;对替换后的待调节振动波形进行合成处理,得到已调解振动波形。
在一个实施例中,修正模块406具体用于降低原始初始电压和/或原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压;或,调整原始初始电压和/或原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
在一个实施例中,修正模块406具体用于判断原始初始电压是否大于第一预设电压阈值;和/或判断原始终止电压是否大于第二预设电压阈值。
在一个实施例中,第一获取模块402具体用于获取当前应用场景,根据当前应用场景从存储介质中调取对应的待调节振动波形。
上述触觉振动自调节装置,通过对待调节振动波形进行分帧处理,获得振动帧信号,并获取其中端部位置至少一个振动信号帧的原始均衡电压;再根据预设算法对该原始均衡电压进行修正,获取修正均衡电压并得到已调节振动波形,最后通过驱动振动器以已调节振动波形输出触觉振动。由于本发明能针对实际输出设备的输出能力对振动波形进行自适应调节,能够有效降低同一的振动波形在不同输出设备中输出的振动触觉的差异。
图5示出了一个实施例中触觉振动自调节设备的内部结构图。如图5所示,该触觉振动自调节设备包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该触觉振动自调节设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现触觉振动自调节方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行触觉振动自调节方法。本领域技术人员可以理解,图5中示出的结构,仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的触觉振动自调节设备的限定,具体的触觉振动自调节设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
一种触觉振动自调节设备,包括存储器、处理器以及存储在存储器中并可在处理器上执行的计算机程序,处理器执行计算机程序时实现如下步骤:获取待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压;判断原始均衡电压是否大于预设阈值,若是,则根据预设算法对原始均衡电压进行修正,获取修正均衡电压;根据修正均衡电压获取已调节振动波形,驱动振动器以已调节振动波形输出触觉振动。
在一个实施例中,提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压,包括:提取至少一个位于振动帧信号前端的振动信号帧,以及至少一个位于振动帧信号末端的振动信号帧;获取对应于至少一个位于振动帧信号前端的振动信号帧的原始初始电压和对应于至少一个位于振动帧信号末端的振动信号帧的原始终止电压。
在一个实施例中,判断原始均衡电压是否大于预设阈值,包括:判断原始初始电压和原始终止电压中的至少一个是否大于预设阈值;根据预设算法对原始均衡电压进行修正,获取修正均衡电压,包括:对原始初始电压和/或原始终止电压进行修正,得到修正初始电压和/或修正终止电压。
在一个实施例中,根据修正均衡电压获取已调节振动波形,包括:用修正初始电压替换原始初始电压;和/或用修正终止电压替换原始终止电压;对替换后的待调节振动波形进行合成处理,得到已调解振动波形。
在一个实施例中,对原始初始电压和/或原始终止电压进行修正,得到修正初始电压和/或修正终止电压,包括:降低原始初始电压和/或原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压;或,调整原始初始电压和/或原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
在一个实施例中,判断原始初始电压和原始终止电压中的至少一个是否大于预设阈值,包括:判断原始初始电压是否大于第一预设电压阈值;和/或判断原始终止电压是否大于第二预设电压阈值。
在一个实施例中,获取待调节振动波形,包括:获取当前应用场景,根据当前应用场景从存储介质中调取对应的待调节振动波形。
一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如下步骤:获取待调节振动波形,对待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压;判断原始均衡电压是否大于预设阈值,若是,则根据预设算法对原始均衡电压进行修正,获取修正均衡电压;根据修正均衡电压获取已调节振动波形,驱动振动器以已调节振动波形输出触觉振动。
在一个实施例中,提取位于振动帧信号端部的至少一个振动信号帧,获取至少一个振动信号帧的原始均衡电压,包括:提取至少一个位于振动帧信号前端的振动信号帧,以及至少一个位于振动帧信号末端的振动信号帧;获取对应于至少一个位于振动帧信号前端的振动信号帧的原始初始电压和对应于至少一个位于振动帧信号末端的振动信号帧的原始终止电压。
在一个实施例中,判断原始均衡电压是否大于预设阈值,包括:判断原始初始电压和原始终止电压中的至少一个是否大于预设阈值;根据预设算法对原始均衡电压进行修正,获取修正均衡电压,包括:对原始初始电压和/或原始终止电压进行修正,得到修正初始电压和/或修正终止电压。
在一个实施例中,根据修正均衡电压获取已调节振动波形,包括:用修正初始电压替换原始初始电压;和/或用修正终止电压替换原始终止电压;对替换后的待调节振动波形进行合成处理,得到已调解振动波形。
在一个实施例中,对原始初始电压和/或原始终止电压进行修正,得到修正初始电压和/或修正终止电压,包括:降低原始初始电压和/或原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压。或,调整原始初始电压和/或原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
在一个实施例中,判断原始初始电压和原始终止电压中的至少一个是否大于预设阈值,包括:判断原始初始电压是否大于第一预设电压阈值;和/或判断原始终止电压是否大于第二预设电压阈值。
在一个实施例中,获取待调节振动波形,包括:获取当前应用场景,根据当前应用场景从存储介质中调取对应的待调节振动波形。
需要说明的是,上述触觉振动自调节方法、装置、设备及计算机可读存储介质属于一个总的发明构思,触觉振动自调节方法、装置、设备及计算机可读存储介质实施例中的内容可相互适用。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种触觉振动自调节方法,其特征在于,所述方法包括:
    获取待调节振动波形,对所述待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
    提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压;
    判断所述原始均衡电压是否大于预设阈值,若是,则根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压;
    根据所述修正均衡电压获取已调节振动波形,驱动振动器以所述已调节振动波形输出触觉振动。
  2. 根据权利要求1所述的方法,其特征在于,所述提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压,包括:
    提取至少一个位于所述振动帧信号前端的振动信号帧,以及至少一个位于所述振动帧信号末端的振动信号帧;
    获取对应于所述至少一个位于所述振动帧信号前端的振动信号帧的原始初始电压和对应于所述至少一个位于所述振动帧信号末端的振动信号帧的原始终止电压。
  3. 根据权利要求2所述的方法,其特征在于,所述判断所述原始均衡电压是否大于预设阈值,包括:
    判断所述原始初始电压和所述原始终止电压中的至少一个是否大于预设阈值;
    所述根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压,包括:
    对所述原始初始电压和/或所述原始终止电压进行修正,得到修正初始电压和/或修正终止电压。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述修正均衡电压获取已调节振动波形,包括:
    用所述修正初始电压替换所述原始初始电压;和/或
    用所述修正终止电压替换所述原始终止电压;
    对替换后的所述待调节振动波形进行合成处理,得到已调解振动波形。
  5. 根据权利要求3所述的方法,其特征在于,所述对所述原始初始电压和/或所述原始终止电压进行修正,得到修正初始电压和/或修正终止电压,包括:
    降低所述原始初始电压和/或所述原始终止电压的波形幅值,得到修正初始电压和/或修正终止电压;或,
    调整所述原始初始电压和/或所述原始终止电压的波形频率,得到修正初始电压和/或修正终止电压。
  6. 根据权利要求3所述的方法,其特征在于,所述判断所述原始初始电压和所述原始终止电压中的至少一个是否大于预设阈值,包括:
    判断所述原始初始电压是否大于第一预设电压阈值;和/或
    判断所述原始终止电压是否大于第二预设电压阈值。
  7. 根据权利要求1所述的方法,其特征在于,所述获取待调节振动波形,包括:
    获取当前应用场景,根据所述当前应用场景从存储介质中调取对应的待调节振动波形。
  8. 一种触觉振动自调节装置,其特征在于,所述装置包括:
    第一获取模块,用于获取待调节振动波形,对所述待调节振动波形进行分帧处理,获取包括多个振动信号帧的振动帧信号;
    第二获取模块,提取位于所述振动帧信号端部的至少一个振动信号帧,获取所述至少一个振动信号帧的原始均衡电压;
    修正模块,用于判断所述原始均衡电压是否大于预设阈值,若是,则根据预设算法对所述原始均衡电压进行修正,获取修正均衡电压;
    调节输出模块,用于根据所述修正均衡电压获取已调节振动波形,驱动振动器以所述已调节振动波形输出触觉振动。
  9. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述方法的步骤。
  10. 一种触觉振动自调节设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述方法的步骤。
PCT/CN2020/086400 2020-04-20 2020-04-23 触觉振动自调节方法、装置、设备和介质 WO2021212408A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010313684.6A CN111552380B (zh) 2020-04-20 2020-04-20 触觉振动自调节方法、装置、设备和介质
CN202010313684.6 2020-04-20

Publications (1)

Publication Number Publication Date
WO2021212408A1 true WO2021212408A1 (zh) 2021-10-28

Family

ID=72003864

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/086400 WO2021212408A1 (zh) 2020-04-20 2020-04-23 触觉振动自调节方法、装置、设备和介质

Country Status (2)

Country Link
CN (1) CN111552380B (zh)
WO (1) WO2021212408A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637422B (zh) * 2020-12-31 2022-02-22 Oppo广东移动通信有限公司 振动调节方法、装置、存储介质以及电子设备

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024481A (zh) * 2009-09-14 2011-04-20 展讯通信(上海)有限公司 从音频文件提取振动信息的方法、装置以及振动装置
EP2380640A2 (en) * 2005-06-27 2011-10-26 Coactive Drive Corporation Synchronized vibration device for haptic feedback
JP2015121983A (ja) * 2013-12-24 2015-07-02 京セラ株式会社 触感呈示装置
CN105511514A (zh) * 2015-12-31 2016-04-20 歌尔声学股份有限公司 一种智能终端的触觉振动控制系统和方法
US9720503B2 (en) * 2015-05-11 2017-08-01 Samsung Electronics Co., Ltd. Vibration control device and computing device including the same
CN108710434A (zh) * 2018-05-14 2018-10-26 瑞声科技(新加坡)有限公司 触控振动器的模型参数值求解方法及触控振动器
CN110011591A (zh) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 马达驱动信号生成方法、电子设备及存储介质
CN110058679A (zh) * 2018-12-29 2019-07-26 瑞声科技(新加坡)有限公司 一种马达的激励信号搜索方法及电子设备
CN110141387A (zh) * 2019-06-24 2019-08-20 无锡青禾小贝科技有限公司 一种马达震动力度的控制方法及装置
CN110601639A (zh) * 2019-08-20 2019-12-20 瑞声科技(新加坡)有限公司 基于马达振动加速度的信号均衡方法、装置及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101606791B1 (ko) * 2015-09-08 2016-03-28 박재성 주파수 변화에 따라 실시간 진동을 제공하는 진동 제공시스템 및 이것의 진동 제공방법
GB201620746D0 (en) * 2016-12-06 2017-01-18 Dialog Semiconductor Uk Ltd An apparatus and method for controlling a haptic actuator
CN107024985B (zh) * 2017-01-24 2020-05-15 瑞声科技(新加坡)有限公司 线性马达刹车方法和装置,及触觉反馈系统
CN108415556B (zh) * 2018-01-29 2021-04-20 瑞声科技(新加坡)有限公司 马达振动控制方法及装置
CN108693402B (zh) * 2018-04-12 2020-12-01 深圳市天微电子股份有限公司 Lra谐振频率的检测装置

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2380640A2 (en) * 2005-06-27 2011-10-26 Coactive Drive Corporation Synchronized vibration device for haptic feedback
CN102024481A (zh) * 2009-09-14 2011-04-20 展讯通信(上海)有限公司 从音频文件提取振动信息的方法、装置以及振动装置
JP2015121983A (ja) * 2013-12-24 2015-07-02 京セラ株式会社 触感呈示装置
US9720503B2 (en) * 2015-05-11 2017-08-01 Samsung Electronics Co., Ltd. Vibration control device and computing device including the same
CN105511514A (zh) * 2015-12-31 2016-04-20 歌尔声学股份有限公司 一种智能终端的触觉振动控制系统和方法
CN108710434A (zh) * 2018-05-14 2018-10-26 瑞声科技(新加坡)有限公司 触控振动器的模型参数值求解方法及触控振动器
CN110058679A (zh) * 2018-12-29 2019-07-26 瑞声科技(新加坡)有限公司 一种马达的激励信号搜索方法及电子设备
CN110011591A (zh) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 马达驱动信号生成方法、电子设备及存储介质
CN110141387A (zh) * 2019-06-24 2019-08-20 无锡青禾小贝科技有限公司 一种马达震动力度的控制方法及装置
CN110601639A (zh) * 2019-08-20 2019-12-20 瑞声科技(新加坡)有限公司 基于马达振动加速度的信号均衡方法、装置及存储介质

Also Published As

Publication number Publication date
CN111552380A (zh) 2020-08-18
CN111552380B (zh) 2023-05-26

Similar Documents

Publication Publication Date Title
DE602004006206T2 (de) System und Verfahren zur hochqualitativen Verlängerung und Verkürzung eines digitalen Audiosignals
US10180981B2 (en) Synchronous audio playback method, apparatus and system
JP6593173B2 (ja) 復号化装置および方法、並びにプログラム
US9721578B2 (en) System for maintaining reversible dynamic range control information associated with parametric audio coders
CN108766413B (zh) 语音合成方法及系统
JP6602789B2 (ja) 局所的なコントラスト強調のためのシステムおよび方法
EP2632044A1 (en) Hierarchical generation of control parameters for audio dynamics processing
US10115411B1 (en) Methods for suppressing residual echo
US10283134B2 (en) Sound-mixing processing method, apparatus and device, and storage medium
CN106057220B (zh) 一种音频信号的高频扩展方法和音频播放器
JP6764923B2 (ja) 音声処理方法、装置、デバイスおよび記憶媒体
BR112020005809A2 (pt) processador de sinal e método para fornecer um sinal de áudio processado que reduz ruído e reverberação
WO2021212408A1 (zh) 触觉振动自调节方法、装置、设备和介质
CN114449313B (zh) 视频的音画面播放速率调整方法及装置
RU2683489C1 (ru) Устройство и способ обработки аудиосигнала для модификации стереоскопического изображения стереосигнала
EP3002730A2 (en) Blending images using mismatched source and display electro-optical transfer functions
WO2017121245A1 (zh) 环绕立体声实现方法、电子设备及存储介质
US20200020083A1 (en) Compressing dynamic range in images using darkness gamma transfer function
Miotello et al. Deep prior-based audio inpainting using multi-resolution harmonic convolutional neural networks
WO2023086311A1 (en) Control of speech preservation in speech enhancement
CN106469559B (zh) 语音数据的调整方法及装置
CN111627412B (zh) 音频变速方法、装置、电子设备和计算机可读存储介质
CN110622517A (zh) 视频处理方法及设备
Záviška et al. Audio declipping performance enhancement via crossfading
US20130215141A1 (en) Using Render-Graph Characteristics to Optimize the Rendering of an Adjusted Image

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20932517

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20932517

Country of ref document: EP

Kind code of ref document: A1