WO2021253576A1 - Method and device for implementing tactile effect, and computer readable storage medium - Google Patents

Method and device for implementing tactile effect, and computer readable storage medium Download PDF

Info

Publication number
WO2021253576A1
WO2021253576A1 PCT/CN2020/104628 CN2020104628W WO2021253576A1 WO 2021253576 A1 WO2021253576 A1 WO 2021253576A1 CN 2020104628 W CN2020104628 W CN 2020104628W WO 2021253576 A1 WO2021253576 A1 WO 2021253576A1
Authority
WO
WIPO (PCT)
Prior art keywords
waveform
equalized
maximum
value
voltage
Prior art date
Application number
PCT/CN2020/104628
Other languages
French (fr)
Chinese (zh)
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 WO2021253576A1 publication Critical patent/WO2021253576A1/en

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the technical field of tactile feedback, in particular to a method and equipment for realizing tactile effects, and a computer-readable storage medium.
  • the present invention mainly provides a method and device for realizing haptic effects, and a computer-readable storage medium, which can solve the problem of distortion of haptic effects caused by playing haptic effects in different devices in the prior art.
  • a technical solution adopted by the present invention is to provide a method for realizing haptic effects.
  • the realizing method includes: obtaining a relative acceleration waveform of a preset haptic effect; Obtain the absolute displacement waveform from the acceleration waveform; calculate the equalized voltage waveform corresponding to the device according to the absolute displacement waveform; determine whether the maximum voltage value in the equalized voltage waveform is greater than the maximum voltage output value of the device; if the judgment is yes, Then, the equalized voltage waveform is processed according to the maximum voltage output value of the device.
  • obtaining the absolute displacement waveform according to the relative acceleration waveform includes: performing an integral operation on the relative acceleration waveform to obtain a relative displacement waveform; and converting the relative displacement waveform into the absolute displacement waveform.
  • the processing the equalized voltage waveform according to the maximum voltage output value of the device includes: scaling the maximum value in the equalized voltage waveform according to a preset ratio; and forming a new value according to the scaled maximum value.
  • the balanced voltage waveform is
  • the maximum voltage value of the balanced voltage waveform after scaling is the maximum voltage output value of the device.
  • the equalized voltage waveform is kept unchanged.
  • m represents the mass of the actual play of the motor mover
  • c denotes the actual playback motor mechanical damping
  • k denotes a real play motor spring coefficient
  • BL represents the electromechanical coupling coefficient
  • R e represent the actual playback of the motor coil resistance
  • L e is a real play motor Coil inductance
  • i is the current
  • u is the equilibrium voltage
  • x is the displacement
  • Is the speed
  • Is acceleration acceleration
  • the method further includes outputting an equalized voltage corresponding to the device, so that the device performs haptic effect playback based on the equalized voltage.
  • the device for realizing haptic effects includes a processor and a memory, and the memory stores computer instructions, and the processor Coupled with the memory, the processor executes the computer instructions during work to implement the above-mentioned method.
  • another technical solution adopted by the present invention is to provide a computer-readable storage medium on which a computer program is stored, characterized in that the computer program is executed by a processor to implement the above-mentioned method .
  • the beneficial effects of the present invention are: different from the state of the art, the present invention provides a method and device for realizing haptic effects, and a computer-readable storage medium.
  • the acceleration waveform of the vibration system is used as the description form of the haptic effect, and the acceleration The waveform is stored in the form of a relative acceleration waveform. Considering the difference in the performance of the vibrator in different devices, the acceleration waveform is automatically adjusted to meet the playback requirements of the device while ensuring that the tactile effect is not distorted.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for implementing haptic effects provided by the present invention
  • FIG. 2 is a schematic diagram of an embodiment of the relative acceleration waveform of the present invention.
  • FIG. 3 is a schematic flowchart of an embodiment of step S200 in FIG. 1 of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of the relative displacement waveform of the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of the absolute displacement waveform of the present invention.
  • Fig. 6 is a schematic diagram of an embodiment of the equalized voltage waveform of the present invention.
  • FIG. 7 is a schematic flowchart of an embodiment of step S500 in FIG. 1 of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of the balanced voltage after scaling of the present invention.
  • FIG. 9 is a schematic block diagram of an embodiment of a device for realizing haptic effects provided by the present invention.
  • Fig. 10 is a schematic block diagram of an embodiment of a computer-readable storage medium provided by the present invention.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for realizing a haptic effect provided by the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a relative acceleration waveform of the present invention.
  • the realization method of haptic effect can specifically include:
  • the vibration waveform in the present invention is a specific intuitive quantized waveform of the haptic effect, which can be stored in a haptic effect library in advance, and the haptic effect library can be stored in the device memory or cloud storage.
  • the specific form of the vibration waveform may include one of the acceleration waveform curve of the mover of the vibration system, the velocity waveform curve of the mover of the vibration system, and the displacement waveform curve of the mover of the vibration system.
  • the acceleration waveform A0 of the vibration system is used as the description form of the haptic effect.
  • the horizontal axis in Figure 2 represents the sampling point
  • the vertical axis represents the relative value of acceleration.
  • the sampling rate in this application can be 48000 Hz
  • the sampling period is 1/48000 second
  • the sampling point on the horizontal axis is the number of sampling periods. .
  • the acceleration waveform A0 is stored in the form of a relative acceleration waveform, and its amplitude a ranges from [-1, 1], and its amplitude a represents the intensity characteristics of the tactile effect.
  • the amplitude a is equal to 1, it means The device (vibrator) will play the relative acceleration waveform A0 with full force; when the amplitude a is equal to 0, the intensity is the weakest, which means that the vibrator does not need to work, when the amplitude a is equal to 0, it means that the device will play the waveform at half capacity Relative acceleration waveform A0.
  • full play of the device refers to pushing the vibrator to the maximum limit displacement under the maximum voltage output capacity of the device; half capacity refers to pushing the vibrator to half the maximum limit displacement under the maximum voltage output capacity of the device.
  • the intensity of the haptic effect may be different according to the performance of the vibrator in the playing device, but the frequency components must be the same.
  • the relative acceleration waveform A0 fixed means that each value of the acceleration in the waveform remains unchanged. It should be noted that because the performance of the vibrator is different, the conversion relationship between the relative acceleration value and the absolute acceleration value is different, but the frequency components are the same.
  • an acceleration waveform with frequency components of 100Hz and 200Hz and a relative intensity of 0.8 the absolute intensity of acceleration played on vibrator 1 (high performance, 5) is 0.8x5
  • the absolute intensity of acceleration played on vibrator 2 (low performance) , Is 2 The absolute intensity of the acceleration played on the above is 0.8x2, but the frequency components of the two absolute accelerations are still 100Hz and 200Hz.
  • the acceleration waveform of the mover of the vibration system is used as the description form of the haptic effect, so that the subjective experience can be accurately described, and the performance of the vibrator is considered to avoid the problem of insufficient device capability to play the corresponding haptic effect.
  • step S200 is a schematic flowchart of an embodiment of step S200 of the present invention. As shown in FIG. 3, step S200 provided by the present invention further includes the following sub-steps:
  • FIG. 4 is a schematic diagram of an embodiment of the relative displacement waveform of the present invention.
  • the horizontal axis represents the sampling point, and the vertical axis represents Relative displacement value.
  • the acceleration signal processed in step S100 is a relative value, and the relative value represents the performance of the vibrator, where 1 represents the vibrator "go all out", and 0 represents the vibrator "does not need to work", so the acceleration
  • the relative value of 1 and the relative displacement value of 1 have the same meaning, and the relative value a of the relative acceleration waveform A0 defined in this way can be directly applied to the relative value of the relative displacement waveform D0.
  • S220 Convert the relative displacement waveform into an absolute displacement waveform.
  • FIG. 5 is a schematic diagram of an embodiment of the absolute displacement waveform of the present invention.
  • the horizontal axis represents the sampling point
  • the vertical axis represents the absolute value of the displacement.
  • the relative displacement wave D0 is converted into the absolute displacement waveform D1 as shown in FIG. 5 through amplitude mapping.
  • the maximum value of the absolute displacement waveform D1 is a*Xmax, where Xmax is the maximum limit displacement of the vibrator, and the vibrator can only vibrate under the limit displacement.
  • the maximum limit displacement Xmax of the vibrator can be set to 0.5 mm. Of course, in other embodiments, it can also be set to other value ranges, which are not specifically limited here.
  • S300 Calculate and obtain an equalized voltage waveform corresponding to the device according to the absolute displacement waveform.
  • FIG. 6 is a schematic diagram of an embodiment of the equalized voltage waveform of the present invention.
  • the horizontal axis represents the sampling point
  • the vertical axis represents the voltage.
  • the equalized voltage waveform V0 corresponding to the device is obtained through an equalization algorithm according to the absolute displacement waveform D1, so that the device can play the haptic effect based on the equalized voltage.
  • the equalization algorithm is a commonly used signal design method, which is obtained by solving the electromechanical coupling equation of the vibration system.
  • the electromechanical coupling equation of the system is as follows:
  • m represents the mass of the actual play of the motor mover
  • c denotes the actual playback motor mechanical damping
  • k denotes a real play motor spring coefficient
  • BL represents the electromechanical coupling coefficient
  • R e represent the actual playback of the motor coil resistance
  • L e is a real play motor Coil inductance
  • i is the current
  • u is the equilibrium voltage
  • x is the displacement
  • Is the speed
  • Is acceleration acceleration.
  • the speed Acceleration Respectively obtain one and two leads from the displacement x
  • the current is the intermediate coupling quantity i.
  • S400 Determine whether the maximum voltage value in the balanced voltage waveform is greater than the maximum voltage output value of the device.
  • the maximum voltage output value of the device in the embodiment of the present invention is Vmax, and in a specific application scenario, the maximum voltage output value Vmax may be 8V.
  • the maximum voltage value Vp in the equalized voltage waveform V0 is further compared with the maximum voltage output value Vmax of the device. If the maximum voltage value Vp is greater than the maximum voltage output value Vmax of the device, step S500 is entered, and if it is less, step 600 is entered.
  • S500 Process the equalized voltage waveform according to the maximum voltage output value of the device.
  • step S500 of the present invention further includes the following sub-steps:
  • S510 Perform scaling processing on the maximum value in the equalized voltage waveform according to a preset ratio.
  • the maximum voltage value Vp in the equalized voltage waveform V0 is greater than the maximum voltage output value Vmax of the device, at this time, the maximum voltage value of the equalized voltage waveform V0 is scaled to the device according to the ratio V0/max(V0)*Vmax The maximum voltage output value Vmax.
  • FIG. 8 is a schematic diagram of the scaled equalized voltage waveform V1 of the present invention in an implementation of fan mode, and the horizontal axis in Fig. 8 represents sampling points , The vertical axis represents voltage.
  • the device of the present invention can be any device with communication and storage functions, such as: tablet computer, mobile phone, e-reader, remote control, personal computer (PC), notebook computer, in-vehicle device, network TV, wearable Smart devices with network functions such as devices.
  • the acceleration waveform of the vibration system as the description form of the haptic effect, and storing the acceleration waveform in the form of a relative acceleration waveform, considering the difference in the performance of the vibrator in different devices, the acceleration waveform can be automatically adjusted. Meet the playback requirements of the device, while ensuring that the tactile effect is not distorted.
  • FIG. 9 is a schematic block diagram of an embodiment of a device for implementing haptic effects provided by the present invention.
  • the device for implementing haptic effects in this embodiment includes a processor 310 and a memory 320.
  • the processor 310 is coupled to the memory 320, and the memory 320 Computer instructions are stored, and the processor 310 executes the computer instructions during work to implement the method for implementing the haptic effect in any of the foregoing embodiments.
  • the processor 310 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 310 may be an integrated circuit chip with signal processing capabilities.
  • the processor 310 may also be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component .
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, but is not limited to this.
  • FIG. 10 is a schematic block diagram of an embodiment of a computer-readable storage medium provided by the present invention.
  • the computer-readable storage medium in this embodiment stores a computer program 410, which can be executed by a processor to realize the foregoing The realization method of the haptic effect in any embodiment.
  • the readable storage medium may be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store The medium of the program code, or a terminal device such as a computer, server, mobile phone, or tablet.
  • the embodiments of the present invention provide a method and device for realizing haptic effects, and a computer-readable storage medium.
  • the acceleration waveform of the vibration system is used as the description form of the haptic effect, and the acceleration waveform is in the form of a relative acceleration waveform
  • the acceleration waveform is automatically adjusted to meet the playback requirements of the device while ensuring that the tactile effect is not distorted.

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)

Abstract

A method and a device for implementing a tactile effect, and a computer readable storage medium. The implementation method comprises: acquiring a relative acceleration waveform of a preset tactile effect (S100); obtaining an absolute displacement waveform according to the relative acceleration waveform (S200); calculating, according to the absolute displacement waveform, an equalization voltage waveform corresponding to a device (S300); determining whether the maximum voltage value in the equalization voltage waveform is greater than the maximum voltage output value of the device (S400); and if so, processing the equalization voltage waveform according to the maximum voltage output value of the device (S500). By means of the described embodiments, playback requirements of a device can be satisfied, and it is also ensured that the tactile effect is not distorted.

Description

触觉效果的实现方法及设备、计算机可读存储介质Method and device for realizing haptic effects, and computer readable storage medium 技术领域Technical field
本发明涉及触觉反馈技术领域,特别是涉及一种触觉效果的实现方法及设备、计算机可读存储介质。The present invention relates to the technical field of tactile feedback, in particular to a method and equipment for realizing tactile effects, and a computer-readable storage medium.
背景技术Background technique
随着人们生活质量的提升,各种电子设备层出不穷,各大电子设备厂商不断提升产品性能,以满足用户日益增长的需求。触觉反馈作为一种改善用户体验的新技术,得到广泛用户的好评,也成为各大电子设备厂商竞相比拼的卖点功能。优质、丰富的触觉效果,往往能够带来完美的用户体验。With the improvement of people's quality of life, various electronic devices emerge in an endless stream, and major electronic device manufacturers continue to improve product performance to meet the increasing needs of users. As a new technology to improve user experience, haptic feedback has been praised by a wide range of users and has also become a competitive selling point for major electronic equipment manufacturers. High-quality, rich tactile effects can often bring a perfect user experience.
然而,设备的多样性与设备输出能力的局限性,使得设计人员设计的触觉效果,不一定能够在不同设备中准确的播放,很容易导致触觉效果的失真。However, the diversity of devices and the limitations of device output capabilities make the tactile effects designed by designers may not be able to be played accurately in different devices, and it is easy to cause distortion of the tactile effects.
发明内容Summary of the invention
本发明主要是提供一种触觉效果的实现方法及设备、计算机可读存储介质,能够解决现有技术中触觉效果在不同设备中播放导致触觉效果失真的问题。The present invention mainly provides a method and device for realizing haptic effects, and a computer-readable storage medium, which can solve the problem of distortion of haptic effects caused by playing haptic effects in different devices in the prior art.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种触觉效果的实现方法,所述实现方法包括:所述实现方法包括:获取预设触觉效果的相对加速度波形;根据所述相对加速度波形得到绝对位移波形;根据所述绝对位移波形计算得到与设备对应的均衡电压波形;判断所述均衡电压波形中的最大电压值是否大于所述设备的最大电压输出值;若判断为是,则根据所述设备的最大电压输出值对所述均衡电压波形进行处理。In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a method for realizing haptic effects. The realizing method includes: obtaining a relative acceleration waveform of a preset haptic effect; Obtain the absolute displacement waveform from the acceleration waveform; calculate the equalized voltage waveform corresponding to the device according to the absolute displacement waveform; determine whether the maximum voltage value in the equalized voltage waveform is greater than the maximum voltage output value of the device; if the judgment is yes, Then, the equalized voltage waveform is processed according to the maximum voltage output value of the device.
其中,所述根据所述相对加速度波形得到绝对位移波形包括:对所述相对加速度波形进行积分运算以得到相对位移波形;将所述相对位移波形转化为所述绝对位移波形。Wherein, obtaining the absolute displacement waveform according to the relative acceleration waveform includes: performing an integral operation on the relative acceleration waveform to obtain a relative displacement waveform; and converting the relative displacement waveform into the absolute displacement waveform.
其中,所述根据所述设备的最大电压输出值对所述均衡电压波形进行处理包括:按照预设比例对所述均衡电压波形中最大值进行缩放处理;根据缩放后的所述最大值形成新的均衡电压波形。Wherein, the processing the equalized voltage waveform according to the maximum voltage output value of the device includes: scaling the maximum value in the equalized voltage waveform according to a preset ratio; and forming a new value according to the scaled maximum value. The balanced voltage waveform.
其中,缩放后的所述均衡电压波形的最大电压值为所述设备的最大电压输出值。Wherein, the maximum voltage value of the balanced voltage waveform after scaling is the maximum voltage output value of the device.
其中,若判断所述均衡电压波形中最大值小于所述设备的最大电压输出值,则保持所述均衡电压波形不变。Wherein, if it is determined that the maximum value in the equalized voltage waveform is less than the maximum voltage output value of the device, then the equalized voltage waveform is kept unchanged.
其中,所述均衡电压波形的计算采用机电耦合方程:Wherein, the calculation of the balanced voltage waveform adopts the electromechanical coupling equation:
Figure PCTCN2020104628-appb-000001
Figure PCTCN2020104628-appb-000001
Figure PCTCN2020104628-appb-000002
Figure PCTCN2020104628-appb-000002
其中,m表示实际播放马达动子的质量,c表示实际播放马达机械阻尼,k表示实际播放马达弹簧系数;BL表示机电耦合系数,R e表示实际播放马达线圈电阻,L e为表示实际播放马达线圈电感,i为电流,u为均衡电压,x为位移,
Figure PCTCN2020104628-appb-000003
为速度,
Figure PCTCN2020104628-appb-000004
为加速度。
Wherein, m represents the mass of the actual play of the motor mover, c denotes the actual playback motor mechanical damping, k denotes a real play motor spring coefficient; BL represents the electromechanical coupling coefficient, R e represent the actual playback of the motor coil resistance, L e is a real play motor Coil inductance, i is the current, u is the equilibrium voltage, x is the displacement,
Figure PCTCN2020104628-appb-000003
Is the speed,
Figure PCTCN2020104628-appb-000004
Is acceleration.
其中,所述方法进一步包括输出和所述设备对应的均衡电压,以使得所述设备基于所述均衡电压进行触觉效果播放。Wherein, the method further includes outputting an equalized voltage corresponding to the device, so that the device performs haptic effect playback based on the equalized voltage.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种触觉效果的实现设备,所述触觉效果的实现设备包括处理器以及存储器,所述存储器存储有计算机指令,所述处理器耦合所述存储器,所述处理器在工作时执行所述计算机指令以实现上述的方法。In order to solve the above technical problems, another technical solution adopted by the present invention is to provide a device for realizing haptic effects. The device for realizing haptic effects includes a processor and a memory, and the memory stores computer instructions, and the processor Coupled with the memory, the processor executes the computer instructions during work to implement the above-mentioned method.
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行以实现如上述的方法。In order to solve the above technical problems, another technical solution adopted by the present invention is to provide a computer-readable storage medium on which a computer program is stored, characterized in that the computer program is executed by a processor to implement the above-mentioned method .
本发明的有益效果是:区别于现有技术的情况,本发明提供一种触觉效果的实现方法及设备、计算机可读存储介质,通过将振动系统的加速度波形作为触觉效果的描述形式,且加速度波形以相对加速度波形的形式储存,考虑在不同设备中,振动器性能的差异,将加速度波形进行自动调节,能够满足设备的播放需求,同时保证触觉效果不失真。The beneficial effects of the present invention are: different from the state of the art, the present invention provides a method and device for realizing haptic effects, and a computer-readable storage medium. The acceleration waveform of the vibration system is used as the description form of the haptic effect, and the acceleration The waveform is stored in the form of a relative acceleration waveform. Considering the difference in the performance of the vibrator in different devices, the acceleration waveform is automatically adjusted to meet the playback requirements of the device while ensuring that the tactile effect is not distorted.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,其中:In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings, among which:
图1是本发明提供的触觉效果的实现方法一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a method for implementing haptic effects provided by the present invention;
图2是本发明相对加速度波形一实施方式的示意图;2 is a schematic diagram of an embodiment of the relative acceleration waveform of the present invention;
图3是本发明图1中步骤S200一实施方式的流程示意图;FIG. 3 is a schematic flowchart of an embodiment of step S200 in FIG. 1 of the present invention;
图4是本发明相对位移波形一实施方式的示意图;4 is a schematic diagram of an embodiment of the relative displacement waveform of the present invention;
图5是本发明绝对位移波形一实施方式的示意图;5 is a schematic diagram of an embodiment of the absolute displacement waveform of the present invention;
图6是本发明均衡电压波形一实施方式的示意图;Fig. 6 is a schematic diagram of an embodiment of the equalized voltage waveform of the present invention;
图7是本发明图1中步骤S500一实施方式的流程示意图;FIG. 7 is a schematic flowchart of an embodiment of step S500 in FIG. 1 of the present invention;
图8是本发明缩放后均衡电压一实施方式的示意图;FIG. 8 is a schematic diagram of an embodiment of the balanced voltage after scaling of the present invention;
图9是本发明提供的触觉效果的实现设备实施例的示意框图;FIG. 9 is a schematic block diagram of an embodiment of a device for realizing haptic effects provided by the present invention;
图10是本发明提供的计算机可读存储介质实施例的示意框图。Fig. 10 is a schematic block diagram of an embodiment of a computer-readable storage medium provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术 人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请一并参阅图1和图2,图1是本发明提供的触觉效果的实现方法一实施例的流程示意图,图2是本发明相对加速度波形一实施方式的示意图,其中,本实施例中的触觉效果的实现方法可具体包括:Please refer to FIGS. 1 and 2 together. FIG. 1 is a schematic flowchart of an embodiment of a method for realizing a haptic effect provided by the present invention, and FIG. 2 is a schematic diagram of an embodiment of a relative acceleration waveform of the present invention. The realization method of haptic effect can specifically include:
S100,获取预设触觉效果的相对加速度波形。S100: Acquire a relative acceleration waveform of a preset haptic effect.
可选地,本发明中振动波形为触觉效果的具体直观量化波形,其可以预先存储在触觉效果库中,该触觉效果库可存储在设备存储器或云存储器中。其中,振动波形的具体形式可以包括振动系统动子的加速度波形曲线、振动系统动子的速度波形曲线以及振动系统动子的位移波形曲线中的一种。Optionally, the vibration waveform in the present invention is a specific intuitive quantized waveform of the haptic effect, which can be stored in a haptic effect library in advance, and the haptic effect library can be stored in the device memory or cloud storage. The specific form of the vibration waveform may include one of the acceleration waveform curve of the mover of the vibration system, the velocity waveform curve of the mover of the vibration system, and the displacement waveform curve of the mover of the vibration system.
如图2,本发明实施例中以振动系统的加速度波形A0作为触觉效果的描述形式。其中,图2中横轴表示采样点,纵轴表示加速度的相对值,举例来说,本申请中采样率可以为48000Hz,采样周期为1/48000秒,横轴的采样点即为采样周期数。As shown in Fig. 2, in the embodiment of the present invention, the acceleration waveform A0 of the vibration system is used as the description form of the haptic effect. Wherein, the horizontal axis in Figure 2 represents the sampling point, and the vertical axis represents the relative value of acceleration. For example, the sampling rate in this application can be 48000 Hz, the sampling period is 1/48000 second, and the sampling point on the horizontal axis is the number of sampling periods. .
进一步,该加速度波形A0以相对加速度波形的形式储存,其幅值a取值范围为[-1,1],其幅值a表征着触觉效果的强度特征,当幅值a等于1时,说明该设备(振动器)将全力播放该相对加速度波形A0;当幅值a等于0时,强度最弱,代表振动器无需工作,当幅值a等于0时,说明该设备将以一半能力播放该相对加速度波形A0。其中,设备全力播放指在设备的最大电压输出能力下,将振动器振子推到最大限制位移;一半能力指在设备的最大电压输出能力下,将振动器振子推到一半最大限制位移。Further, the acceleration waveform A0 is stored in the form of a relative acceleration waveform, and its amplitude a ranges from [-1, 1], and its amplitude a represents the intensity characteristics of the tactile effect. When the amplitude a is equal to 1, it means The device (vibrator) will play the relative acceleration waveform A0 with full force; when the amplitude a is equal to 0, the intensity is the weakest, which means that the vibrator does not need to work, when the amplitude a is equal to 0, it means that the device will play the waveform at half capacity Relative acceleration waveform A0. Among them, full play of the device refers to pushing the vibrator to the maximum limit displacement under the maximum voltage output capacity of the device; half capacity refers to pushing the vibrator to half the maximum limit displacement under the maximum voltage output capacity of the device.
可选地,在不同设备中播放时,相对加速度波形A0固定的情况下,根据播放设备中振动器的性能,触觉效果的强度可能不同,但是频率成分一定相同。其中,相对加速度波形A0固定是指波形中加速度的每一个值都保持不变。需要说明的是因为振动器性能不一样,所以在加速度相对值转为加速度绝对值的转换关系不一样,但是频率成分一样。举例来说,例如一个频率成分为100Hz、200Hz,相对强度为0.8的加速度波形,在振动器1(性能强,为5)上播放出来的加速度绝对强度为0.8x5,在振动器2(性能弱,为2)上播放出来的加速度绝对强度为0.8x2,但是两种绝对加速度的频率成分依然为100Hz、200Hz。Optionally, when playing in different devices, when the relative acceleration waveform A0 is fixed, the intensity of the haptic effect may be different according to the performance of the vibrator in the playing device, but the frequency components must be the same. Among them, the relative acceleration waveform A0 fixed means that each value of the acceleration in the waveform remains unchanged. It should be noted that because the performance of the vibrator is different, the conversion relationship between the relative acceleration value and the absolute acceleration value is different, but the frequency components are the same. For example, an acceleration waveform with frequency components of 100Hz and 200Hz and a relative intensity of 0.8, the absolute intensity of acceleration played on vibrator 1 (high performance, 5) is 0.8x5, and the absolute intensity of acceleration played on vibrator 2 (low performance) , Is 2) The absolute intensity of the acceleration played on the above is 0.8x2, but the frequency components of the two absolute accelerations are still 100Hz and 200Hz.
本发明实施例中,以振动系统的动子的加速度波形作为触觉效果的描述形式,如此可以准确的描述主观体验,考虑振动器的性能,避免设备能力不足无法播放相应触觉效果的问题。In the embodiment of the present invention, the acceleration waveform of the mover of the vibration system is used as the description form of the haptic effect, so that the subjective experience can be accurately described, and the performance of the vibrator is considered to avoid the problem of insufficient device capability to play the corresponding haptic effect.
S200,根据相对加速度波形得到绝对位移波形。S200: Obtain an absolute displacement waveform according to the relative acceleration waveform.
请一并结合图3,图3为本发明步骤S200一实施方式的流程示意图,如图3,本发明提供的步骤S200进一步包括如下子步骤:Please combine with FIG. 3, which is a schematic flowchart of an embodiment of step S200 of the present invention. As shown in FIG. 3, step S200 provided by the present invention further includes the following sub-steps:
S210,对相对加速度波形进行积分运算以得到相对位移波形。S210: Perform an integral operation on the relative acceleration waveform to obtain a relative displacement waveform.
具体地,对相对加速度波形A0进行二次积分以得到相对位移被波形D0,结合图4,图4为本发明相对位移波形一实施方式的示意图,图4中横轴表示采样点,纵轴表位移相对值。Specifically, the relative acceleration waveform A0 is integrated twice to obtain the relative displacement waveform D0. In conjunction with FIG. 4, FIG. 4 is a schematic diagram of an embodiment of the relative displacement waveform of the present invention. In FIG. 4, the horizontal axis represents the sampling point, and the vertical axis represents Relative displacement value.
可以理解的是,步骤S100中处理的加速度信号为相对值,而相对值表征的是振动器的发挥能力,其中1代表振动器“全力以赴”,0代表振动器“无需工作”,所以加速度的相对值1和位移相对值1表达意思相同,如此定义的相对加速度波形A0的相对值a可以直接应用到相对位移波形D0的相对值中。It is understandable that the acceleration signal processed in step S100 is a relative value, and the relative value represents the performance of the vibrator, where 1 represents the vibrator "go all out", and 0 represents the vibrator "does not need to work", so the acceleration The relative value of 1 and the relative displacement value of 1 have the same meaning, and the relative value a of the relative acceleration waveform A0 defined in this way can be directly applied to the relative value of the relative displacement waveform D0.
S220,将相对位移波形转化为绝对位移波形。S220: Convert the relative displacement waveform into an absolute displacement waveform.
进一步,结合图5,图5为本发明绝对位移波形一实施方式的示意图,如图5,横轴表示采样点,纵轴表示位移绝对值。可选地,通过幅值映射将所述相对位移波D0转换为如图5所示的绝对位移波形D1。其中,绝对位移波形D1的最大值为a*Xmax,其中Xmax为振动器振子的最大限制位移,振子只能在该限制位移下来回振动。在本发明一具体应用场景中,该振动器振子的最大限制位移Xmax的取值可以设置为0.5mm,当然在其他实施方式中,还可以设置为其他取值范围,此处不做具体限定。Further, in conjunction with FIG. 5, FIG. 5 is a schematic diagram of an embodiment of the absolute displacement waveform of the present invention. As shown in FIG. 5, the horizontal axis represents the sampling point, and the vertical axis represents the absolute value of the displacement. Optionally, the relative displacement wave D0 is converted into the absolute displacement waveform D1 as shown in FIG. 5 through amplitude mapping. Among them, the maximum value of the absolute displacement waveform D1 is a*Xmax, where Xmax is the maximum limit displacement of the vibrator, and the vibrator can only vibrate under the limit displacement. In a specific application scenario of the present invention, the maximum limit displacement Xmax of the vibrator can be set to 0.5 mm. Of course, in other embodiments, it can also be set to other value ranges, which are not specifically limited here.
S300,根据绝对位移波形计算得到与设备对应的均衡电压波形。S300: Calculate and obtain an equalized voltage waveform corresponding to the device according to the absolute displacement waveform.
进一步结合图6,图6为本发明均衡电压波形一实施方式的示意图,如图6横轴表示采样点,纵轴表示电压。具体地,根据绝对位移波形D1通过均衡算法得到设备对应的均衡电压波形V0,以使得设备基于均衡电压进行触觉效果播放。其中,均衡算法为一种常用的信号设计方法,根据振动系统的机电耦合方程求解得到,系统机电耦合方程如下:Further in conjunction with FIG. 6, FIG. 6 is a schematic diagram of an embodiment of the equalized voltage waveform of the present invention. In FIG. 6, the horizontal axis represents the sampling point, and the vertical axis represents the voltage. Specifically, the equalized voltage waveform V0 corresponding to the device is obtained through an equalization algorithm according to the absolute displacement waveform D1, so that the device can play the haptic effect based on the equalized voltage. Among them, the equalization algorithm is a commonly used signal design method, which is obtained by solving the electromechanical coupling equation of the vibration system. The electromechanical coupling equation of the system is as follows:
Figure PCTCN2020104628-appb-000005
Figure PCTCN2020104628-appb-000005
Figure PCTCN2020104628-appb-000006
Figure PCTCN2020104628-appb-000006
其中,m表示实际播放马达动子的质量,c表示实际播放马达机械阻尼,k表示实际播放马达弹簧系数;BL表示机电耦合系数,R e表示实际播放马达线圈电阻,L e为表示实际播放马达线圈电感,i为电流,u为均衡电压,x为位移,
Figure PCTCN2020104628-appb-000007
为速度,
Figure PCTCN2020104628-appb-000008
为加速度。其中,速度
Figure PCTCN2020104628-appb-000009
加速度
Figure PCTCN2020104628-appb-000010
分别由位移x求一次、两次导得到;电流为中间耦合量i。如此将本发明绝对位移波形D1代入上述的机电耦合方程便可求得均衡电压波形V0。
Wherein, m represents the mass of the actual play of the motor mover, c denotes the actual playback motor mechanical damping, k denotes a real play motor spring coefficient; BL represents the electromechanical coupling coefficient, R e represent the actual playback of the motor coil resistance, L e is a real play motor Coil inductance, i is the current, u is the equilibrium voltage, x is the displacement,
Figure PCTCN2020104628-appb-000007
Is the speed,
Figure PCTCN2020104628-appb-000008
Is acceleration. Among them, the speed
Figure PCTCN2020104628-appb-000009
Acceleration
Figure PCTCN2020104628-appb-000010
Respectively obtain one and two leads from the displacement x; the current is the intermediate coupling quantity i. In this way, by substituting the absolute displacement waveform D1 of the present invention into the above electromechanical coupling equation, the equalized voltage waveform V0 can be obtained.
S400,判断均衡电压波形中的最大电压值是否大于设备的最大电压输出值。S400: Determine whether the maximum voltage value in the balanced voltage waveform is greater than the maximum voltage output value of the device.
具体地,本发明实施例中设备的最大电压输出值为Vmax,且在具体应用场景中该最大电压输出值为Vmax可以为8V。进一步将均衡电压波形V0中的最大电压值Vp和设备的最大电压输出值Vmax进行比较,若最大电压值Vp大于设备的最大电压输出值Vmax,则进入步骤S500, 若小于,则进入步骤600。Specifically, the maximum voltage output value of the device in the embodiment of the present invention is Vmax, and in a specific application scenario, the maximum voltage output value Vmax may be 8V. The maximum voltage value Vp in the equalized voltage waveform V0 is further compared with the maximum voltage output value Vmax of the device. If the maximum voltage value Vp is greater than the maximum voltage output value Vmax of the device, step S500 is entered, and if it is less, step 600 is entered.
S500,根据设备的最大电压输出值对所述均衡电压波形进行处理。S500: Process the equalized voltage waveform according to the maximum voltage output value of the device.
进一步结合图7,图7为本发明步骤S500一实施方式的流程示意图,如图7本发明步骤S500进一步包括如下子步骤:Further in conjunction with FIG. 7, FIG. 7 is a schematic flowchart of an embodiment of step S500 of the present invention. As shown in FIG. 7, step S500 of the present invention further includes the following sub-steps:
S510,照预设比例对均衡电压波形中最大值进行缩放处理。S510: Perform scaling processing on the maximum value in the equalized voltage waveform according to a preset ratio.
可选地,当均衡电压波形V0中的最大电压值Vp大于设备的最大电压输出值Vmax时,此时按照比例V0/max(V0)*Vmax,将均衡电压波形V0的最大电压值缩放至设备的最大电压输出值Vmax。Optionally, when the maximum voltage value Vp in the equalized voltage waveform V0 is greater than the maximum voltage output value Vmax of the device, at this time, the maximum voltage value of the equalized voltage waveform V0 is scaled to the device according to the ratio V0/max(V0)*Vmax The maximum voltage output value Vmax.
S520,根据缩放后的最大值形成新的均衡电压波形。S520: Form a new equalized voltage waveform according to the scaled maximum value.
根据缩放后的均衡电压波形V0的最大值Vmax形成新的均衡电压波形V1,结合图8,图8为本发明缩放后均衡电压波形V1一实施fan方式的示意图,如图8横轴表示采样点,纵轴表示电压。A new equalized voltage waveform V1 is formed according to the maximum value Vmax of the scaled equalized voltage waveform V0. In conjunction with Fig. 8, Fig. 8 is a schematic diagram of the scaled equalized voltage waveform V1 of the present invention in an implementation of fan mode, and the horizontal axis in Fig. 8 represents sampling points , The vertical axis represents voltage.
S600,保持均衡电压波形不变。S600, keep the equalized voltage waveform unchanged.
进一步,若判断均衡电压波形V0中最大值Vp小于设备的最大电压输出值Vmax,则保持均衡电压波形V0不变,并输出和设备对应的均衡电压,以使得设备基于均衡电压进行触觉效果播放。其中,本发明设备可以是任何具备通信和存储功能的设备,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等具有网络功能的智能设备。Further, if it is determined that the maximum value Vp of the equalized voltage waveform V0 is less than the maximum voltage output value Vmax of the device, the equalized voltage waveform V0 is kept unchanged, and the equalized voltage corresponding to the device is output, so that the device can play the haptic effect based on the equalized voltage. Among them, the device of the present invention can be any device with communication and storage functions, such as: tablet computer, mobile phone, e-reader, remote control, personal computer (PC), notebook computer, in-vehicle device, network TV, wearable Smart devices with network functions such as devices.
上述实施方式中,通过将振动系统的加速度波形作为触觉效果的描述形式,且加速度波形以相对加速度波形的形式储存,考虑在不同设备中,振动器性能的差异,将加速度波形进行自动调节,能够满足设备的播放需求,同时保证触觉效果不失真。In the above embodiment, by using the acceleration waveform of the vibration system as the description form of the haptic effect, and storing the acceleration waveform in the form of a relative acceleration waveform, considering the difference in the performance of the vibrator in different devices, the acceleration waveform can be automatically adjusted. Meet the playback requirements of the device, while ensuring that the tactile effect is not distorted.
参阅图9,图9是本发明提供的触觉效果的实现设备实施例的示意框图,本实施例中的触觉效果的实现设备包括处理器310及存储器320,处理器310与存储器320耦合,存储器320存储有计算机指令,处理器310在工作时执行计算机指令以实现上述任一实施例中的触觉效果的实现方法。Referring to FIG. 9, FIG. 9 is a schematic block diagram of an embodiment of a device for implementing haptic effects provided by the present invention. The device for implementing haptic effects in this embodiment includes a processor 310 and a memory 320. The processor 310 is coupled to the memory 320, and the memory 320 Computer instructions are stored, and the processor 310 executes the computer instructions during work to implement the method for implementing the haptic effect in any of the foregoing embodiments.
其中,处理器310还可以称为CPU(Central Processing Unit,中央处理单元)。处理器310可能是一种集成电路芯片,具有信号的处理能力。处理器310还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器,但不仅限于此。The processor 310 may also be referred to as a CPU (Central Processing Unit, central processing unit). The processor 310 may be an integrated circuit chip with signal processing capabilities. The processor 310 may also be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component . The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, but is not limited to this.
参阅图10,图10是本发明提供的计算机可读存储介质实施例的示意框图,本实施例中的计算机可读存储介质存储有计算机程序410,该计算机程序410能够被处理器执行以实现上述任一实施例中的触觉效果的实现方法。Referring to FIG. 10, FIG. 10 is a schematic block diagram of an embodiment of a computer-readable storage medium provided by the present invention. The computer-readable storage medium in this embodiment stores a computer program 410, which can be executed by a processor to realize the foregoing The realization method of the haptic effect in any embodiment.
可选的,该可读存储介质可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,或者是计算机、服务器、手机、平板等终端设备。Optionally, the readable storage medium may be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store The medium of the program code, or a terminal device such as a computer, server, mobile phone, or tablet.
区别于现有技术,本发明实施例提供一种触觉效果的实现方法及设备、计算机可读存储介质,通过将振动系统的加速度波形作为触觉效果的描述形式,且加速度波形以相对加速度波形的形式储存,考虑在不同设备中,振动器性能的差异,将加速度波形进行自动调节,能够满足设备的播放需求,同时保证触觉效果不失真。Different from the prior art, the embodiments of the present invention provide a method and device for realizing haptic effects, and a computer-readable storage medium. The acceleration waveform of the vibration system is used as the description form of the haptic effect, and the acceleration waveform is in the form of a relative acceleration waveform For storage, considering the difference in vibrator performance in different devices, the acceleration waveform is automatically adjusted to meet the playback requirements of the device while ensuring that the tactile effect is not distorted.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of the present invention.

Claims (9)

  1. 一种触觉效果的实现方法,其特征在于,所述实现方法包括:A method for realizing haptic effects, characterized in that, the realizing method includes:
    获取预设触觉效果的相对加速度波形;Obtain the relative acceleration waveform of the preset haptic effect;
    根据所述相对加速度波形得到绝对位移波形;Obtaining an absolute displacement waveform according to the relative acceleration waveform;
    根据所述绝对位移波形计算得到与设备对应的均衡电压波形;Calculating an equalized voltage waveform corresponding to the device according to the absolute displacement waveform;
    判断所述均衡电压波形中的最大电压值是否大于所述设备的最大电压输出值;Judging whether the maximum voltage value in the equalized voltage waveform is greater than the maximum voltage output value of the device;
    若判断为是,则根据所述设备的最大电压输出值对所述均衡电压波形进行处理。If the judgment is yes, the equalized voltage waveform is processed according to the maximum voltage output value of the device.
  2. 根据权利要求1所述的实现方法,其特征在于,所述根据所述相对加速度波形得到绝对位移波形包括:The implementation method according to claim 1, wherein the obtaining an absolute displacement waveform according to the relative acceleration waveform comprises:
    对所述相对加速度波形进行积分运算以得到相对位移波形;Performing an integral operation on the relative acceleration waveform to obtain a relative displacement waveform;
    将所述相对位移波形转化为所述绝对位移波形。The relative displacement waveform is converted into the absolute displacement waveform.
  3. 根据权利要求1所述的实现方法,其特征在于,所述根据所述设备的最大电压输出值对所述均衡电压波形进行处理包括:The implementation method according to claim 1, wherein the processing the equalized voltage waveform according to the maximum voltage output value of the device comprises:
    按照预设比例对所述均衡电压波形中最大值进行缩放处理;Performing scaling processing on the maximum value in the equalized voltage waveform according to a preset ratio;
    根据缩放后的所述最大值形成新的均衡电压波形。A new equalized voltage waveform is formed according to the scaled maximum value.
  4. 根据权利要求3所述的实现方法,其特征在于,缩放后的所述均衡电压波形的最大电压值为所述设备的最大电压输出值。The implementation method according to claim 3, wherein the maximum voltage value of the balanced voltage waveform after scaling is the maximum voltage output value of the device.
  5. 根据权利要求1所述的实现方法,其特征在于,若判断所述均衡电压波形中最大值小于所述设备的最大电压输出值,则保持所述均衡电压波形不变。The implementation method of claim 1, wherein if it is determined that the maximum value of the equalized voltage waveform is less than the maximum voltage output value of the device, the equalized voltage waveform is kept unchanged.
  6. 根据权利要求1所述的实现方法,其特征在于,所述均衡电压波形的计算采用机电耦合方程:The implementation method according to claim 1, wherein the calculation of the equalized voltage waveform adopts an electromechanical coupling equation:
    Figure PCTCN2020104628-appb-100001
    Figure PCTCN2020104628-appb-100001
    Figure PCTCN2020104628-appb-100002
    Figure PCTCN2020104628-appb-100002
    其中,m表示实际播放马达动子的质量,c表示实际播放马达机械阻尼,k表示实际播放马达弹簧系数;BL表示机电耦合系数,R e表示实际播放马达线圈电阻,L e为表示实际播放马达线圈电感,i为电流,u为均衡电压,x为位移,
    Figure PCTCN2020104628-appb-100003
    为速度,
    Figure PCTCN2020104628-appb-100004
    为加速度。
    Wherein, m represents the mass of the actual play of the motor mover, c denotes the actual playback motor mechanical damping, k denotes a real play motor spring coefficient; BL represents the electromechanical coupling coefficient, R e represent the actual playback of the motor coil resistance, L e is a real play motor Coil inductance, i is the current, u is the equilibrium voltage, x is the displacement,
    Figure PCTCN2020104628-appb-100003
    Is the speed,
    Figure PCTCN2020104628-appb-100004
    Is acceleration.
  7. 根据权利要求1所述的实现方法,其特征在于,所述方法进一步包括输出和所述设备对应的均衡电压,以使得所述设备基于所述均衡电压进行触觉效果播放。The implementation method according to claim 1, wherein the method further comprises outputting an equalized voltage corresponding to the device, so that the device performs haptic effect playback based on the equalized voltage.
  8. 一种触觉效果的实现设备,其特征在于,所述触觉效果的实现设备包括处理器以及存储器,所述存储器存储有计算机指令,所述处理器耦合所述存储器,所述处理器在工作时执行所述计算机指令以实现如权利要求1~7中任一项所述的实现方法。A device for realizing haptic effects, wherein the device for realizing haptic effects includes a processor and a memory, the memory stores computer instructions, the processor is coupled to the memory, and the processor executes The computer instructions are used to implement the implementation method according to any one of claims 1-7.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行以实现如权利要求1~7中任一项所述的实现方法。A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the implementation method according to any one of claims 1-7.
PCT/CN2020/104628 2020-06-20 2020-07-24 Method and device for implementing tactile effect, and computer readable storage medium WO2021253576A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010569398.6A CN111694437B (en) 2020-06-20 2020-06-20 Method and apparatus for implementing haptic effects
CN202010569398.6 2020-06-20

Publications (1)

Publication Number Publication Date
WO2021253576A1 true WO2021253576A1 (en) 2021-12-23

Family

ID=72482536

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/104628 WO2021253576A1 (en) 2020-06-20 2020-07-24 Method and device for implementing tactile effect, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111694437B (en)
WO (1) WO2021253576A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736704B (en) * 2020-06-29 2024-04-02 瑞声科技(新加坡)有限公司 Haptic effect design method and apparatus, computer readable storage medium
CN112491323B (en) * 2020-11-27 2022-04-26 瑞声新能源发展(常州)有限公司科教城分公司 Linear motor over-stroke control method and device, computer equipment and storage medium
CN113992106A (en) * 2021-10-29 2022-01-28 歌尔股份有限公司 Motor control method, device, equipment and computer readable storage medium
CN114006565A (en) * 2021-10-29 2022-02-01 歌尔股份有限公司 Motor control method, device, equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790675A (en) * 2007-08-06 2010-07-28 背户一登 Absolute displacement detection method and absolute displacement sensor using the method
CN103033638A (en) * 2012-12-13 2013-04-10 浙江大学 Extraction method for relative motion capacity of low-frequency electromagnetic vibration generator system
US20130093703A1 (en) * 2010-03-30 2013-04-18 Korea Institute Of Science And Technology Tactile transmission system using glove type actuator device and method thereof
CN103292892A (en) * 2012-08-09 2013-09-11 北京中元瑞讯科技有限公司 Method and device for measuring low-frequency and small-range vibration signals
US20180204426A1 (en) * 2017-01-13 2018-07-19 Intel Corporation Apparatus and method for modifying a haptic output of a haptic device
CN110601639A (en) * 2019-08-20 2019-12-20 瑞声科技(新加坡)有限公司 Signal equalization method and device based on motor vibration acceleration and storage medium
CN111176436A (en) * 2018-11-09 2020-05-19 意美森公司 Apparatus and method for controlling haptic actuator

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9054627B2 (en) * 2012-04-10 2015-06-09 Texas Instruments Incorporated Method and apparatus to drive a linear resonant actuator at its resonant frequency
US10599221B2 (en) * 2018-06-15 2020-03-24 Immersion Corporation Systems, devices, and methods for providing limited duration haptic effects
CN110112984B (en) * 2019-05-29 2021-01-08 维沃移动通信有限公司 Vibration control method of linear motor and mobile terminal
CN111159623B (en) * 2019-12-16 2023-09-01 瑞声科技(新加坡)有限公司 Method, device, terminal and storage medium for calculating motor vibration signal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790675A (en) * 2007-08-06 2010-07-28 背户一登 Absolute displacement detection method and absolute displacement sensor using the method
US20130093703A1 (en) * 2010-03-30 2013-04-18 Korea Institute Of Science And Technology Tactile transmission system using glove type actuator device and method thereof
CN103292892A (en) * 2012-08-09 2013-09-11 北京中元瑞讯科技有限公司 Method and device for measuring low-frequency and small-range vibration signals
CN103033638A (en) * 2012-12-13 2013-04-10 浙江大学 Extraction method for relative motion capacity of low-frequency electromagnetic vibration generator system
US20180204426A1 (en) * 2017-01-13 2018-07-19 Intel Corporation Apparatus and method for modifying a haptic output of a haptic device
CN111176436A (en) * 2018-11-09 2020-05-19 意美森公司 Apparatus and method for controlling haptic actuator
CN110601639A (en) * 2019-08-20 2019-12-20 瑞声科技(新加坡)有限公司 Signal equalization method and device based on motor vibration acceleration and storage medium

Also Published As

Publication number Publication date
CN111694437B (en) 2023-09-08
CN111694437A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
WO2021253576A1 (en) Method and device for implementing tactile effect, and computer readable storage medium
US11238709B2 (en) Non linear predictive model for haptic waveform generation
CN110191396B (en) Audio processing method, device, terminal and computer readable storage medium
US10833886B2 (en) Optimal device selection for streaming content
WO2017097126A1 (en) Method and apparatus for transcoding
WO2022001027A1 (en) Projection screen picture self-adaption method and apparatus in network teaching
WO2020097824A1 (en) Audio processing method and apparatus, storage medium, and electronic device
CN107342751A (en) A kind of variable step SA adaptive filter algorithms based on cross-correlation entropy
WO2021248526A1 (en) Bass enhancement method and system, electronic device and storage medium
CN113824835A (en) Volume control method and device, electronic equipment and storage medium
CN107682802A (en) The adjustment method and device of audio frequency apparatus audio
WO2021203906A1 (en) Automatic volume adjustment method and apparatus, and medium and device
CN110209845B (en) Recommendation method, device and storage medium of multimedia content
WO2022000638A1 (en) Haptic effect realizing method and device, and computer-readable storage medium
TWI789947B (en) Genetic-algorithm-based equalization using iir filters
WO2022000650A1 (en) Tactile effect optimization method and device, and computer-readable storage medium
CN114063965A (en) High-resolution audio generation method, electronic equipment and training method thereof
US9438195B2 (en) Variable equalization
WO2021253557A1 (en) Method and device for implementing haptic effect, and computer readable storage medium
JP6432386B2 (en) Acoustic signal processing apparatus and acoustic signal processing program
JPWO2017110192A1 (en) Information processing apparatus, information processing method, program, and information processing system
TWI747258B (en) Method for generating action according to audio signal and electronic device
US20240179466A1 (en) Sound channel switching method and apparatus, and electronic device
WO2024055416A1 (en) Haptic feedback signal generation method, electronic device, and storage medium
WO2022000635A1 (en) Method and device for designing haptic effect, and computer-readable storage medium

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: 20941179

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: 20941179

Country of ref document: EP

Kind code of ref document: A1