WO2021119932A1 - Vibration signal generation method and device for motor, terminal, and storage medium - Google Patents

Vibration signal generation method and device for motor, terminal, and storage medium Download PDF

Info

Publication number
WO2021119932A1
WO2021119932A1 PCT/CN2019/125684 CN2019125684W WO2021119932A1 WO 2021119932 A1 WO2021119932 A1 WO 2021119932A1 CN 2019125684 W CN2019125684 W CN 2019125684W WO 2021119932 A1 WO2021119932 A1 WO 2021119932A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
vibration intensity
maximum
motor
load
Prior art date
Application number
PCT/CN2019/125684
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 瑞声声学科技(深圳)有限公司
Priority to PCT/CN2019/125684 priority Critical patent/WO2021119932A1/en
Publication of WO2021119932A1 publication Critical patent/WO2021119932A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B06GENERATING OR TRANSMITTING MECHANICAL VIBRATIONS IN GENERAL
    • B06BMETHODS OR APPARATUS FOR GENERATING OR TRANSMITTING MECHANICAL VIBRATIONS OF INFRASONIC, SONIC, OR ULTRASONIC FREQUENCY, e.g. FOR PERFORMING MECHANICAL WORK IN GENERAL
    • B06B3/00Methods or apparatus specially adapted for transmitting mechanical vibrations of infrasonic, sonic, or ultrasonic frequency

Definitions

  • This application relates to the field of signal processing technology, and in particular to a method, device, terminal, and storage medium for generating a vibration signal of a motor.
  • linear motors have brought great improvements in tactile experience to users in the application of ever-changing electronic devices.
  • the development of linear motors has enabled traditional electronic devices to provide users with a richer, more immersive, and more wonderful experience in addition to visual and auditory sensory experiences.
  • the tactile experience is the same as other sensory experiences. It is also affected by objective physical parameters and subjective reflections of the human body. Even with the same vibration signal, different people will have different feelings, and each person’s preferences are also different. It can be seen that how to determine the vibration signal strength of the motor according to the needs of users is an urgent problem to be solved.
  • the present application provides a method, device, terminal, and storage medium for generating a vibration signal of a motor, so as to obtain a corresponding tactile experience according to the user's subjective image and personal preference.
  • an embodiment of the present application provides a method for generating a vibration signal of a motor, including:
  • a target driving voltage corresponding to the target vibration intensity reference value is generated according to the target absolute vibration intensity, and the target driving voltage is used to control a motor to drive a load to vibrate.
  • the method further includes:
  • the obtaining the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage includes:
  • the second maximum displacement of the load is calculated based on the target frequency, the first maximum displacement, and the maximum drive voltage.
  • the calculating the second maximum displacement of the load based on the target frequency, the first maximum displacement and the maximum driving voltage includes:
  • the second frequency is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load. Maximum displacement.
  • the judging the relationship between the target frequency and the first frequency threshold and the second frequency threshold includes:
  • the obtaining the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage includes:
  • the maximum absolute value is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load Vibration intensity.
  • the determining the target absolute vibration intensity corresponding to the target absolute vibration intensity according to the preset maximum absolute vibration intensity and the target vibration intensity reference value includes:
  • Absolute target vibration intensity reference value of target vibration intensity ⁇ maximum absolute vibration intensity
  • the value range of the target vibration intensity reference value is between 0 and 1.
  • an apparatus for generating a vibration signal of a motor including:
  • the intensity acquisition module is used to acquire the input target vibration intensity reference value
  • An intensity conversion module configured to determine a target absolute vibration intensity corresponding to the target absolute vibration intensity according to a preset maximum absolute vibration intensity and the target vibration intensity reference value
  • a displacement calculation module for calculating the first maximum displacement of the vibrator according to the electromechanical equation of the motor; and determining the load according to the first maximum displacement, the maximum drive voltage of the motor, and the target frequency of the maximum drive voltage The second largest displacement.
  • an embodiment of the present application also provides a terminal, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor executes the computer program when the computer program is executed.
  • a terminal including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor executes the computer program when the computer program is executed. The steps of the method for generating the vibration signal of the motor as described above.
  • an embodiment of the present application also provides a computer-readable storage medium, including computer instructions, which when run on a computer, cause the computer to execute the steps of the method for generating a vibration signal of a motor as described above.
  • the corresponding target absolute vibration intensity is obtained according to the target vibration reference value and the maximum absolute vibration intensity.
  • the vibration intensity is used to obtain the target driving voltage corresponding to the reference value of the target vibration intensity, so as to control the motor-driven load to vibrate.
  • the corresponding target absolute vibration intensity and the corresponding driving voltage for controlling the vibration of the motor-driven load can be obtained, so that different degrees of vibration intensity can be generated according to different requirements.
  • FIG. 1 is a schematic diagram of the position structure of the motor and the load in an embodiment
  • FIG. 2 is a schematic flowchart of the method for generating a vibration signal of the motor in an embodiment
  • FIG. 3 is a schematic diagram of the relative vibration intensity reference value in an embodiment
  • Fig. 4 is a schematic diagram of the process of obtaining the maximum absolute vibration intensity in an embodiment
  • Fig. 5 is a schematic diagram of a process for acquiring the second maximum displacement in an embodiment
  • Fig. 6 is a schematic diagram of a process for obtaining the second maximum displacement in another embodiment
  • FIG. 7 is a schematic diagram of the structure of the vibration signal generating device in an embodiment
  • FIG. 8 is a schematic diagram of the internal structure of a computer device that runs the above-mentioned method for generating a vibration signal of a motor in an embodiment.
  • a method for generating the vibration signal of the motor is specially proposed.
  • the implementation of the method can rely on a computer program, which can run on a computer system based on the von Neumann system.
  • the method for generating a motor vibration signal in this embodiment is applicable to a linear motor, and is specifically applicable to driving a load through the linear motor, so that the load generates a corresponding tactile experience according to the vibration intensity of the linear motor. For example, by pressing the screen to get vibration feedback.
  • the diagram shows a schematic diagram of the position structure between the linear motor and the load; wherein, after the linear motor 200 receives the driving signal provided by the external input device, the linear motor 200 is controlled to drive the load 300 to vibrate, thereby When in contact with the load 300, the corresponding vibration experience can be obtained.
  • the input device can be a device that can provide a power source for the motor, such as a charger or a battery, and the load 300 can be a screen or the like.
  • the method for generating vibration intensity of a motor includes steps S11-S13:
  • Step S11 Obtain the input target vibration intensity reference value.
  • the target vibration intensity reference value is used to reflect the strength and weakness of the motor vibration intensity.
  • the target vibration intensity reference value gradually increases from 0 to 1; it can be explained that the target vibration intensity reference value can be very intuitive
  • the strength of the vibration intensity of the electrode is concisely determined, so as to facilitate the generation of the corresponding actual vibration intensity.
  • the target vibration intensity reference value is beneficial to reflect the strength and weakness of the motor vibration intensity.
  • the load can be driven by the motor to different degrees, so that the load vibrates according to different intensities to meet different levels of vibration. Vibration intensity requirements.
  • Step S12 Determine the corresponding target absolute vibration intensity according to the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value.
  • the maximum absolute vibration intensity refers to the maximum value of the vibration intensity that the motor can generate to the drive load under the control of any drive signal. Practically, the maximum absolute vibration intensity is limited by the hardware device that inputs the drive signal and the displacement of the vibrator in the motor.
  • the hardware device refers to voltage input devices such as chargers and batteries.
  • the vibration intensity of the load can be obtained by dividing the acceleration by the gravitational acceleration
  • the acceleration can be obtained by the second derivative of the displacement generated by the load driven by the motor.
  • the displacement of the vibrator of the linear motor 200 corresponds to the vibration displacement of the load 300;
  • the displacement of the vibrator of the linear motor 200 can be specifically determined according to the electromechanical equation and the driving signal of the linear motor 200. Therefore, as shown in Figures 4, 5 and 6, the obtaining of the maximum absolute vibration intensity in this embodiment includes the following steps:
  • Step S21 Determine the first maximum displacement of the vibrator of the motor according to the electromechanical equation.
  • m is the mass of the oscillator
  • c is the damping coefficient
  • k is a spring coefficient of elasticity
  • R e is the static resistance
  • L e is the inductance
  • x is a displacement transducer
  • Is the vibrator speed Is the vibrator acceleration
  • i is the current
  • u is the sinusoidal voltage
  • t is the time.
  • the frequency domain conversion of the displacement response function can reflect the response relationship of the motor at different frequencies; and then it can be calculated that under the control of a sinusoidal voltage with an amplitude of V p , the vibrator in the motor corresponds to any frequency point ⁇ n
  • the expression of the steady-state amplitude response of displacement is:
  • a and b are constants,
  • the maximum displacement of the vibrator under the driving action of the driving voltage is recorded as the first maximum displacement.
  • Step S22 Obtain the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage.
  • obtaining the maximum absolute vibration intensity of the load 300 under the control of the preset maximum driving voltage in this embodiment specifically includes the following steps:
  • Step S31 Determine the target frequency of the maximum driving voltage.
  • f is the frequency of the driving voltage
  • V max is the maximum driving voltage
  • X max is the first maximum displacement
  • m d is the mass of the linear motor 200
  • m f is the mass of the load 300.
  • the displacement generated by the load 300 is related to the frequency of the drive signal. Therefore, it is necessary to determine the target frequency of the maximum drive voltage to realize that the load 300 can be driven by the linear motor to generate the first Maximum displacement to obtain the maximum absolute vibration intensity of the corresponding load.
  • Step S32 Calculate a second maximum displacement of the load based on the target frequency, the first maximum displacement, and the maximum driving voltage.
  • the linear motor 200 drives the load 300 to vibrate, and the linear motor 200 is controlled by the driving voltage, when the vibrator generates the first maximum displacement, it can be based on the maximum driving voltage, the first maximum displacement, and the target The frequency is calculated to obtain the vibration displacement of the load 300, which is recorded as the second maximum displacement.
  • the first maximum displacement of the vibrator is related to the target frequency of the maximum driving voltage. Specifically, when the frequency of the driving voltage is too low (f ⁇ f 1 ) or too high (f 2 ⁇ f), the linear motor is limited by the maximum driving voltage V max and cannot reach the first maximum displacement X max ; If the frequency is within a certain range (f 1 ⁇ f ⁇ f 2 ), the vibrator of the linear motor can reach the first maximum displacement X max . At the same time, in the actual operation process, in order to protect the linear motor, it is also necessary to ensure that the driving voltage should not be too large. In this embodiment, the range of the driving voltage V of the linear motor 200 is limited to:
  • the process of calculating the second maximum based on the target frequency, the first maximum displacement, and the maximum driving voltage further includes the following steps:
  • Step S41 Determine the relationship between the target frequency and the first frequency threshold and the second frequency threshold, wherein the first frequency threshold is smaller than the second frequency threshold.
  • the target frequency refers to the frequency that can ensure that the displacement of the vibrator reaches the first maximum displacement during the process of controlling the linear motor 200 to drive the load 300 by the maximum driving voltage
  • the first frequency threshold refers to the process of controlling the motor 200 to drive the load 300 by the maximum driving voltage , Because the target frequency is too small, the displacement of the vibrator cannot reach the frequency boundary value of the first maximum displacement
  • the second frequency threshold refers to the maximum driving voltage in the process of controlling the motor 200 to drive the load 300, and the displacement of the vibrator cannot be reached due to the excessive target frequency The frequency boundary value of the first maximum displacement.
  • the first frequency threshold and the second frequency threshold are related to the properties of the linear motor, and can be determined by controlling the angular frequency generated by the linear motor according to the maximum driving voltage. Specifically, this embodiment is based on the formula:
  • V max is the maximum drive voltage
  • X max is the first maximum displacement
  • c t is the value of the current transformer in the motor
  • c is the damping coefficient
  • m d is the mass of the motor.
  • Step S42 When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculate the second maximum displacement according to the maximum drive voltage, the mass of the motor, and the mass of the load
  • step S43 when the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, according to the first maximum displacement, the mass of the motor and the mass of the load Calculate the second maximum displacement.
  • this embodiment is based on the formula:
  • the second maximum displacement X(f) based on the influence of the target frequency f on the second maximum displacement X(f), based on the above formula for calculating the second maximum displacement X(f), it can be determined that when the target frequency f is less than the first frequency threshold f 1 and When greater than the second frequency threshold f 2 , calculate the second maximum displacement X(f) according to the maximum drive voltage V max , the mass m d of the motor and the mass m f of the load; when the target frequency f is greater than or equal to the first frequency threshold f When the sum of 1 is less than or equal to the second frequency threshold f 1 , the second maximum displacement X(f) is calculated according to the first maximum displacement X max , the mass m d of the motor, and the mass m f of the load.
  • the calculation formula of the maximum absolute vibration intensity can be obtained as:
  • g is the acceleration due to gravity
  • HSF(f) is the maximum absolute vibration intensity.
  • the motor calculates the maximum absolute vibration intensity HSF(f) with the mass m d of the load and the mass m f of the load; when the target frequency f is greater than or equal to the first frequency threshold f 1 and less than or equal to the second frequency threshold f 1 , according to the first maximum displacement X max , the mass of the motor m d and the mass of the load m f calculate the maximum absolute vibration intensity HSF(f).
  • the target absolute vibration intensity of the load can be calculated according to the input target vibration intensity reference value and the maximum absolute vibration intensity. Specifically, this embodiment is based on the formula:
  • Absolute target vibration intensity reference value of target vibration intensity ⁇ maximum absolute vibration intensity
  • the value range of the target vibration intensity reference value is between 0 and 1.
  • the calculation formula for calculating the target absolute vibration intensity is calculated based on the maximum absolute vibration intensity HSF(f) and the target vibration intensity reference value ⁇ for:
  • the value range of ⁇ is between 0 and 1.
  • the second maximum displacement X(f) generated by the load vibrating under the drive of the linear motor is calculated to determine the maximum absolute vibration intensity HSF(f) of the load under the drive of the linear motor, so that the target vibration can be achieved.
  • the intensity reference value ⁇ is determined, the corresponding target absolute vibration intensity Vib(f) is obtained. That is, in this embodiment, under the condition that the maximum absolute vibration intensity remains unchanged, the vibrations of different intensities of the load driven by the linear motor are obtained.
  • Step S13 Generate a target driving voltage corresponding to the target vibration intensity reference value according to the target absolute vibration intensity, and the target driving voltage is used to control the motor to drive the load to vibrate.
  • the target drive voltage is the drive signal input to the linear motor through the hardware device, such as a sinusoidal voltage signal.
  • the drive signal of the corresponding size is input to the linear motor to achieve the preset vibration intensity, this embodiment generates the target vibration according to the target absolute vibration intensity Vib(f)
  • the target driving voltage corresponding to the intensity reference value ⁇ specifically includes the following steps:
  • the target vibration intensity reference value ⁇ determines the target vibration intensity reference value ⁇ according to the demand; then, based on the maximum absolute vibration intensity determined by the electromechanical equation corresponding to the linear motor and the target vibration intensity reference value ⁇ , the target absolute vibration intensity Vib(f) can be obtained, according to the target
  • the absolute vibration intensity Vib(f) determines the second maximum displacement X(f) of the load 300 and the first maximum displacement X max of the linear motor 200 vibrator; finally, based on the electromechanical equation of the linear motor and the first maximum displacement X of the vibrator max can determine the size of the drive signal u, that is, the size of the drive voltage of the linear motor.
  • the acceleration of the vibrator can be obtained correspondingly, where, according to the target absolute vibration intensity Vib(f), motor mass m d , load mass m f and gravitational acceleration g, it can be known that The acceleration of the vibrator can be based on the formula:
  • the target absolute vibration intensity Vib(f) of the linear motor can be determined by combining the target vibration intensity reference value ⁇ and the maximum absolute vibration intensity HSF(f), and the target absolute vibration intensity Vib(f) is combined with the electromechanical equation corresponding to the linear motor
  • the size of the corresponding drive signal can be obtained by reverse deduction, that is, the size of the drive voltage of the linear motor is controlled. Therefore, in practical applications, the input voltage of the linear motor can be determined according to the target vibration intensity reference value ⁇ , and then the linearity can be determined according to the actual demand.
  • the vibration of the motor-driven load is strong or weak.
  • an embodiment of the present application provides an apparatus 100 for generating a vibration signal.
  • the apparatus 100 for generating a vibration signal includes an intensity obtaining module 101 for obtaining an input target vibration intensity reference value;
  • the intensity conversion module 102 is used to determine the corresponding target absolute vibration intensity according to the preset maximum absolute vibration intensity and the target vibration intensity reference value;
  • the displacement calculation module 103 is used to calculate the first maximum displacement of the vibrator according to the electromechanical equation of the motor;
  • the second maximum displacement of the load is determined according to the first maximum displacement, the maximum drive voltage of the motor, and the target frequency of the maximum drive voltage.
  • the vibration signal generating device 100 of this embodiment realizes the acquisition of the target vibration intensity reference value through the intensity acquisition module 101 to determine the actual vibration intensity requirements of the user, and then the intensity conversion module 102 determines the maximum absolute vibration intensity of the motor.
  • the target absolute vibration intensity is determined based on the target vibration intensity reference value; wherein, in the process of determining the maximum absolute vibration intensity, the displacement calculation module 103 obtains the first maximum displacement of the vibrator based on the electromechanical equation, so as to obtain the first maximum displacement of the vibrator based on the first maximum displacement ,
  • the maximum driving voltage and the target frequency determine the second maximum displacement of the load, that is, the displacement generated by driving the load under the control of the motor with the maximum absolute vibration intensity, and the maximum absolute vibration intensity can be determined according to the second maximum displacement.
  • the vibration intensities of the motor with different intensities can be generated according to the different needs of users, so as to adapt to different vibration requirements.
  • Fig. 8 shows an internal structure diagram of a computer device in an embodiment.
  • the computer device may specifically be a server or a terminal.
  • the computer 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 computer device stores an operating system and may also store a computer program.
  • the processor can enable the processor to implement a method for generating a vibration signal of the motor.
  • a computer program can also be stored in the internal memory, and when the computer program is executed by the processor, the processor can execute the method for generating the vibration signal of the motor.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer components than shown in FIG. 8, or combining some components, or having a different component arrangement.
  • the method for generating a vibration signal of a motor provided in the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG. 8.
  • the memory of the computer device can store various program modules that make up the vibration signal generating device. For example, the intensity conversion module 102 and so on.
  • a computer device including 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: Obtain input The target vibration intensity reference value; the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value determine the corresponding target absolute vibration intensity; according to the target absolute vibration intensity, the corresponding target vibration intensity reference value is generated The target driving voltage is used to control the motor to drive the load to vibrate.
  • 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)
  • Mechanical Engineering (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

A vibration signal generation method for a motor (200) comprises: acquiring an input target vibration intensity reference value; determining a corresponding target absolute vibration intensity according to a preset maximum absolute vibration intensity of a load (300) and the target vibration intensity reference value; and generating, according to the target absolute vibration intensity, a target drive voltage corresponding to the target vibration intensity reference value, the target drive voltage being used to control the motor so as to drive the load to vibrate. Also provided are a vibration signal generation device for a motor, a terminal, and a computer readable storage medium.

Description

电机振动信号的生成方法、装置、终端及存储介质Method, device, terminal and storage medium for generating motor vibration signal 【技术领域】【Technical Field】
本申请涉及信号处理技术领域,尤其涉及一种电机振动信号的生成方法、装置、终端及存储介质。This application relates to the field of signal processing technology, and in particular to a method, device, terminal, and storage medium for generating a vibration signal of a motor.
【背景技术】【Background technique】
在机械制造技术的快速发展的今天,便携式电子设备的应用越来越广泛。线性电机作为一种基于电磁感应原理的振动发生器,在日新月异的电子设备的运用中,给用户带来了极大的触觉体验改善。线性电机的发展使得传统的电子设备在感官体验中,除了视觉、听觉外,带来的触觉感受给用户带来的更丰富、更沉浸式、更美妙的体验。Today, with the rapid development of machinery manufacturing technology, portable electronic devices are more and more widely used. As a vibration generator based on the principle of electromagnetic induction, linear motors have brought great improvements in tactile experience to users in the application of ever-changing electronic devices. The development of linear motors has enabled traditional electronic devices to provide users with a richer, more immersive, and more wonderful experience in addition to visual and auditory sensory experiences.
然而,触觉体验与其他感官体验一样,同时受到客观的物理参数与人体主观映像的影响,即使同样的振动信号,不同的人会有不同的感受,且每个人的偏好也是不尽相同。由此可知,如何实现根据用户的需求确定电机的振动信号强度,是一个亟待解决的问题。However, the tactile experience is the same as other sensory experiences. It is also affected by objective physical parameters and subjective reflections of the human body. Even with the same vibration signal, different people will have different feelings, and each person’s preferences are also different. It can be seen that how to determine the vibration signal strength of the motor according to the needs of users is an urgent problem to be solved.
【申请内容】【Content of Application】
有鉴于此,本申请提供了一种电机振动信号的生成方法、装置、终端及存储介质,以实现根据用户的主观映像和个人偏好获取对应的触觉体验。In view of this, the present application provides a method, device, terminal, and storage medium for generating a vibration signal of a motor, so as to obtain a corresponding tactile experience according to the user's subjective image and personal preference.
本申请实施例的具体技术方案为:The specific technical solutions of the embodiments of this application are:
第一方面,本申请实施例提供一种电机振动信号的生成方法,包括:In a first aspect, an embodiment of the present application provides a method for generating a vibration signal of a motor, including:
获取输入的目标振动强度参考值;Obtain the input target vibration intensity reference value;
根据负载预设的最大绝对振动强度与所述目标振动强度参考值确定对应的目标绝对振动强度;Determine the corresponding target absolute vibration intensity according to the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value;
根据所述目标绝对振动强度生成与所述目标振动强度参考值对应的目标驱动电压,所述目标驱动电压用于控制电机以驱动负载进行振动。A target driving voltage corresponding to the target vibration intensity reference value is generated according to the target absolute vibration intensity, and the target driving voltage is used to control a motor to drive a load to vibrate.
进一步地,所述获取输入的目标振动强度参考值之前,还包括:Further, before acquiring the input target vibration intensity reference value, the method further includes:
根据机电方程确定所述电机的振子的第一最大位移;Determining the first maximum displacement of the vibrator of the motor according to the electromechanical equation;
获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度。Obtain the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage.
进一步地,所述获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度,包括:Further, the obtaining the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage includes:
确定所述最大驱动电压的目标频率;Determining the target frequency of the maximum driving voltage;
基于所述目标频率、所述第一最大位移和所述最大驱动电压计算所述负载的第二最大位移。The second maximum displacement of the load is calculated based on the target frequency, the first maximum displacement, and the maximum drive voltage.
进一步地,所述基于所述目标频率、所述第一最大位移和所述最大驱动电压计算所述负载的第二最大位移,包括:Further, the calculating the second maximum displacement of the load based on the target frequency, the first maximum displacement and the maximum driving voltage includes:
判断所述目标频率与第一频率阈值和第二频率阈值之间的关系,其中,所述第一频率阈值小于所述第二频率阈值;Determine the relationship between the target frequency and a first frequency threshold and a second frequency threshold, wherein the first frequency threshold is smaller than the second frequency threshold;
在所述目标频率小于所述第一频率阈值或大于所述第二频率阈值时,根据所述最大驱动电压、所述电机的质量及所述负载的质量计算所述第二最大位移;When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculating the second maximum displacement according to the maximum driving voltage, the mass of the motor, and the mass of the load;
在所述目标频率大于或等于所述第一频率阈值且小于或等于所述第二频率阈值时,根据所述第一最大位移、所述电机的质量和所述负载的质量计算所述第二最大位移。When the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, the second frequency is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load. Maximum displacement.
进一步地,所述判断所述目标频率与第一频率阈值和第二频率阈值之间的关系,包括:Further, the judging the relationship between the target frequency and the first frequency threshold and the second frequency threshold includes:
根据公式:According to the formula:
Figure PCTCN2019125684-appb-000001
Figure PCTCN2019125684-appb-000001
计算所述第一频率阈值f 1Calculating the first frequency threshold f 1 ;
根据公式:According to the formula:
Figure PCTCN2019125684-appb-000002
Figure PCTCN2019125684-appb-000002
计算所述第二频率阈值f 2;其中,ω 1、ω 2分别为所述电机在所述第一频率阈值和所述第二频率阈值的电压驱动下的角频率。 Calculate the second frequency threshold f 2 ; where ω 1 and ω 2 are the angular frequencies of the motor under the voltage drive of the first frequency threshold and the second frequency threshold, respectively.
进一步地,所述获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度,包括:Further, the obtaining the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage includes:
在所述目标频率小于所述第一频率阈值或大于所述第二频率阈值时,根据所述最大驱动电压、所述电机的质量及所述负载的质量计算所述最大绝对振动强度;When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculating the maximum absolute vibration intensity according to the maximum driving voltage, the mass of the motor, and the mass of the load;
在所述目标频率大于或等于所述第一频率阈值且小于或等于所述第二频率阈值时,根据所述第一最大位移、所述电机的质量和所述负载的质量计算所述最大绝对振动强度。When the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, the maximum absolute value is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load Vibration intensity.
进一步地,所述根据预设的最大绝对振动强度与所述目标振动强度参考值确定与所述目标绝对振动强度对应的目标绝对振动强度,包括:Further, the determining the target absolute vibration intensity corresponding to the target absolute vibration intensity according to the preset maximum absolute vibration intensity and the target vibration intensity reference value includes:
根据公式:According to the formula:
目标绝对振动强度=目标振动强度参考值×最大绝对振动强度,Absolute target vibration intensity=reference value of target vibration intensity×maximum absolute vibration intensity,
其中,所述目标振动强度参考值的取值范围在0至1之间。Wherein, the value range of the target vibration intensity reference value is between 0 and 1.
第二方面,本申请实施例提供一种电机振动信号的生成装置,包括:In a second aspect, an embodiment of the present application provides an apparatus for generating a vibration signal of a motor, including:
强度获取模块,用于获取输入的目标振动强度参考值;The intensity acquisition module is used to acquire the input target vibration intensity reference value;
强度转换模块,用于根据预设的最大绝对振动强度与所述目标振动强度参考值确定与所述目标绝对振动强度对应的目标绝对振动强度;An intensity conversion module, configured to determine a target absolute vibration intensity corresponding to the target absolute vibration intensity according to a preset maximum absolute vibration intensity and the target vibration intensity reference value;
位移计算模块,用于计算根据所述电机的机电方程确定振子的第一最大位移;以及根据所述第一最大位移、所述电机的最大驱动电压及所述最大驱动电压的目标频率确定负载的第二最大位移。A displacement calculation module for calculating the first maximum displacement of the vibrator according to the electromechanical equation of the motor; and determining the load according to the first maximum displacement, the maximum drive voltage of the motor, and the target frequency of the maximum drive voltage The second largest displacement.
第三方面,本申请实施例还提供一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述电机振动信号的生成方法的步骤。In a third aspect, an embodiment of the present application also provides a terminal, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor executes the computer program when the computer program is executed. The steps of the method for generating the vibration signal of the motor as described above.
第四方面,本申请实施例还提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如上所述电机振动信号的生成方法的步骤。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium, including computer instructions, which when run on a computer, cause the computer to execute the steps of the method for generating a vibration signal of a motor as described above.
实施本申请实施例,将具有如下有益效果:Implementing the embodiments of this application will have the following beneficial effects:
采用了上述电机振动信号的生成方法、装置、终端及存储介质之后,基于电机的最大绝对振动强度,在确定目标振动强度参考值后,根据目标振动参考值和最大绝对振动强度获取对应的目标绝对振动强度,以获取对应目标振动强度参考值对应的目标驱动电压,进而控制电机驱动负载振动。本实施例基于目标振动强度参考值,可获取对应的目标绝对振动强度,以及对应用于控制电机驱动负载振动的驱动电压,从而可根据不同需求生成不同程度的振动强度。After adopting the above-mentioned method, device, terminal and storage medium of the motor vibration signal, based on the maximum absolute vibration intensity of the motor, after determining the target vibration intensity reference value, the corresponding target absolute vibration intensity is obtained according to the target vibration reference value and the maximum absolute vibration intensity. The vibration intensity is used to obtain the target driving voltage corresponding to the reference value of the target vibration intensity, so as to control the motor-driven load to vibrate. In this embodiment, based on the target vibration intensity reference value, the corresponding target absolute vibration intensity and the corresponding driving voltage for controlling the vibration of the motor-driven load can be obtained, so that different degrees of vibration intensity can be generated according to different requirements.
【附图说明】【Explanation of the drawings】
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
其中:among them:
图1为一个实施例中所述电机与负载的位置结构示意图;FIG. 1 is a schematic diagram of the position structure of the motor and the load in an embodiment;
图2为一个实施例中所述电机振动信号的生成方法的流程示意图;FIG. 2 is a schematic flowchart of the method for generating a vibration signal of the motor in an embodiment;
图3为一个实施例中所述相对振动强度参考值示意图;FIG. 3 is a schematic diagram of the relative vibration intensity reference value in an embodiment;
图4为一个实施例中所述最大绝对振动强度获取流程示意图;Fig. 4 is a schematic diagram of the process of obtaining the maximum absolute vibration intensity in an embodiment;
图5为一个实施例中所述第二最大位移的获取流程示意图;Fig. 5 is a schematic diagram of a process for acquiring the second maximum displacement in an embodiment;
图6为另一个实施例中所述第二最大位移的获取流程示意图;Fig. 6 is a schematic diagram of a process for obtaining the second maximum displacement in another embodiment;
图7为一个实施例中所述振动信号的生成装置的结构示意图;FIG. 7 is a schematic diagram of the structure of the vibration signal generating device in an embodiment;
图8为一个实施例中运行上述电机振动信号的生成方法的计算机设备的内部结构示意图。FIG. 8 is a schematic diagram of the internal structure of a computer device that runs the above-mentioned method for generating a vibration signal of a motor in an embodiment.
【具体实施方式】【Detailed ways】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without any creative labor fall within the protection scope of this application.
为解决传统技术中如何根据用户的需求确定电机的振动信号强度的问题,在本实施例中,特提出了一种电机振动信号的生成方法。该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上。In order to solve the problem of how to determine the strength of the vibration signal of the motor according to the needs of the user in the traditional technology, in this embodiment, a method for generating the vibration signal of the motor is specially proposed. The implementation of the method can rely on a computer program, which can run on a computer system based on the von Neumann system.
本实施例的电机振动信号的生成方法适用于线性电机,具体适用于通过线性电机对负载的驱动,使得负载根据该线性电机的振动强度产生对应的触觉体验。例如通过按压屏幕得到振动反馈的方式。The method for generating a motor vibration signal in this embodiment is applicable to a linear motor, and is specifically applicable to driving a load through the linear motor, so that the load generates a corresponding tactile experience according to the vibration intensity of the linear motor. For example, by pressing the screen to get vibration feedback.
具体的,如图1所示,图示为线性电机与负载之间位置结构示意;其中,在线性电机200接收到由外部输入设备提供的驱动信号后,控制线性电机200驱动负载300振动,从而在与负载300接触时,即可获取对应的振动感受。其中,输入设备具体可通过充电器或电池等可以为电机提供动力源的设备,负载300可以是屏幕等。Specifically, as shown in FIG. 1, the diagram shows a schematic diagram of the position structure between the linear motor and the load; wherein, after the linear motor 200 receives the driving signal provided by the external input device, the linear motor 200 is controlled to drive the load 300 to vibrate, thereby When in contact with the load 300, the corresponding vibration experience can be obtained. Among them, the input device can be a device that can provide a power source for the motor, such as a charger or a battery, and the load 300 can be a screen or the like.
如图2所示,本实施例提供的电机振动强度的生成方法包括步骤S11-S13:As shown in FIG. 2, the method for generating vibration intensity of a motor provided by this embodiment includes steps S11-S13:
步骤S11:获取输入的目标振动强度参考值。Step S11: Obtain the input target vibration intensity reference value.
其中,目标振动强度参考值用于反映电机振动强度的强和弱。示例性地,如图3所示,在电机振动强度由较弱逐渐增强时,该目标振动强度参考值从0逐渐递增直到1;可以说明的是,通过该目标振动强度参考值,能够很直观简洁确定电极的振动强度的强弱,进而便于生成对应的实际振动强度大小。Among them, the target vibration intensity reference value is used to reflect the strength and weakness of the motor vibration intensity. Exemplarily, as shown in FIG. 3, when the vibration intensity of the motor gradually increases from weaker, the target vibration intensity reference value gradually increases from 0 to 1; it can be explained that the target vibration intensity reference value can be very intuitive The strength of the vibration intensity of the electrode is concisely determined, so as to facilitate the generation of the corresponding actual vibration intensity.
本实施例通过目标振动强度参考值有利于反映电机振动强度的强和弱,根据该目标振动强度参考值实现通过电机对负载不同程度的驱动,以使得负载按照不同强度进行振动,满足不同程度的振动强度需求。In this embodiment, the target vibration intensity reference value is beneficial to reflect the strength and weakness of the motor vibration intensity. According to the target vibration intensity reference value, the load can be driven by the motor to different degrees, so that the load vibrates according to different intensities to meet different levels of vibration. Vibration intensity requirements.
步骤S12:根据负载预设的最大绝对振动强度与所述目标振动强度参考值确定对应的目标绝对振动强度。Step S12: Determine the corresponding target absolute vibration intensity according to the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value.
其中,最大绝对振动强度指电机在任意驱动信号的控制下对驱动负载所能产生振动强度的最大值。实际地,该最大绝对振动强度受限于输入驱动信号的硬件设备以及电机中振子的位移,所述硬件设备指充电器、电池等电压输入设备。Among them, the maximum absolute vibration intensity refers to the maximum value of the vibration intensity that the motor can generate to the drive load under the control of any drive signal. Practically, the maximum absolute vibration intensity is limited by the hardware device that inputs the drive signal and the displacement of the vibrator in the motor. The hardware device refers to voltage input devices such as chargers and batteries.
由于负载的振动强度可通过加速度除以重力加速度获取,加速度可通过对负载在电机驱动下所产生的位移进行二次求导获取。再次结合线性电机200与负载300之间的位置连接关系,如图1所示,控制线性电机200驱动负载300振动的过程中,线性电机200的振子位移与负载300的振动位移是相对应的;而线性电机200振子的位移具体可根据该线性电机200的机电方程和驱动信号确定。因此,如图4、5和6所示,本实施例中该最大绝对振动强度的获取包括步骤:Since the vibration intensity of the load can be obtained by dividing the acceleration by the gravitational acceleration, the acceleration can be obtained by the second derivative of the displacement generated by the load driven by the motor. Combining the positional connection relationship between the linear motor 200 and the load 300 again, as shown in FIG. 1, in the process of controlling the linear motor 200 to drive the load 300 to vibrate, the displacement of the vibrator of the linear motor 200 corresponds to the vibration displacement of the load 300; The displacement of the vibrator of the linear motor 200 can be specifically determined according to the electromechanical equation and the driving signal of the linear motor 200. Therefore, as shown in Figures 4, 5 and 6, the obtaining of the maximum absolute vibration intensity in this embodiment includes the following steps:
步骤S21:根据机电方程确定所述电机的振子的第一最大位移。Step S21: Determine the first maximum displacement of the vibrator of the motor according to the electromechanical equation.
其中,与电机对应的机电方程为:Among them, the electromechanical equation corresponding to the motor is:
Figure PCTCN2019125684-appb-000003
Figure PCTCN2019125684-appb-000003
其中,m为振子质量,c为阻尼系数,k为弹簧弹性系数,R e为静态电阻,L e为电感,BL为电磁系数;x为振子位移,
Figure PCTCN2019125684-appb-000004
为振子速度,
Figure PCTCN2019125684-appb-000005
为振子加速度,i为电流,u为正弦电压,t为时间。则可对该机电方程做拉普拉斯变换,以得到对应该电机的位移响应函数:
Wherein, m is the mass of the oscillator, c is the damping coefficient, k is a spring coefficient of elasticity, R e is the static resistance, L e is the inductance, BL electromagnetic coefficient; x is a displacement transducer,
Figure PCTCN2019125684-appb-000004
Is the vibrator speed,
Figure PCTCN2019125684-appb-000005
Is the vibrator acceleration, i is the current, u is the sinusoidal voltage, and t is the time. Then the Laplace transform of the electromechanical equation can be performed to obtain the displacement response function corresponding to the motor:
Figure PCTCN2019125684-appb-000006
Figure PCTCN2019125684-appb-000006
式中,s=jω,j为虚数,ω为角频率,c t为电机中电流互感器的值,c为阻尼系数,
Figure PCTCN2019125684-appb-000007
则可以对该位移响应函数作频域转换,得到对应的表达式为:
In the formula, s=jω, j is the imaginary number, ω is the angular frequency, c t is the value of the current transformer in the motor, and c is the damping coefficient,
Figure PCTCN2019125684-appb-000007
Then the frequency domain conversion of the displacement response function can be performed, and the corresponding expression is:
Figure PCTCN2019125684-appb-000008
Figure PCTCN2019125684-appb-000008
通过对该位移响应函数进行频域转换可以反映在不同频率下,电机的响应关系;进而能够计算任意在幅值为V p的正弦电压的控制下,该电机中振子在任意频点ω n对应的位移稳态幅值响应的表达式为: The frequency domain conversion of the displacement response function can reflect the response relationship of the motor at different frequencies; and then it can be calculated that under the control of a sinusoidal voltage with an amplitude of V p , the vibrator in the motor corresponds to any frequency point ω n The expression of the steady-state amplitude response of displacement is:
Figure PCTCN2019125684-appb-000009
Figure PCTCN2019125684-appb-000009
对该位移稳态幅值响应的表达式进行简化可以得到得到:Simplifying the expression of the steady-state amplitude response of this displacement can be obtained:
Figure PCTCN2019125684-appb-000010
Figure PCTCN2019125684-appb-000010
其中,a、b为常数,
Figure PCTCN2019125684-appb-000011
在本实施例中,将该振子在驱动电压的驱动作用下的最大位移记为第一最大位移。
Among them, a and b are constants,
Figure PCTCN2019125684-appb-000011
In this embodiment, the maximum displacement of the vibrator under the driving action of the driving voltage is recorded as the first maximum displacement.
步骤S22:获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度。Step S22: Obtain the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage.
其中,在线性电机200驱动电压越大的情况下,可驱动负载300振动的强度则越强,由此可以知道的是负载300产生的位移则越大。因此,本实施例为了获取负载的最大绝对振动强度,则需要计算最大驱动电压控制下线性电机200驱动负载300振动所产生的最大绝对振动强度。Among them, when the driving voltage of the linear motor 200 is larger, the intensity of the vibration of the driveable load 300 is stronger, and it can be known that the displacement generated by the load 300 is larger. Therefore, in this embodiment, in order to obtain the maximum absolute vibration intensity of the load, it is necessary to calculate the maximum absolute vibration intensity generated by the linear motor 200 driving the load 300 under the control of the maximum driving voltage.
具体的,如图5所示,本实施例获取负载300在预设的最大驱动电压驱控制下的最大绝对振动强度,具体包括如下步骤:Specifically, as shown in FIG. 5, obtaining the maximum absolute vibration intensity of the load 300 under the control of the preset maximum driving voltage in this embodiment specifically includes the following steps:
步骤S31:确定所述最大驱动电压的目标频率。Step S31: Determine the target frequency of the maximum driving voltage.
其中,基于线性电机的位移稳态幅值响应的表达式:Among them, the expression based on the steady-state amplitude response of the linear motor's displacement:
Figure PCTCN2019125684-appb-000012
Figure PCTCN2019125684-appb-000012
可以知道,在以预设频率的驱动电压信号控制线性电机200驱动负载300振动的过程中,负载300可产生位移的表达式为:It can be known that in the process of controlling the linear motor 200 to drive the load 300 to vibrate with the driving voltage signal of the preset frequency, the expression for the displacement of the load 300 is:
Figure PCTCN2019125684-appb-000013
Figure PCTCN2019125684-appb-000013
其中,f为驱动电压的频率,V max为最大驱动电压,X max为第一最大位移,m d为线性电机200的质量,m f为负载300的质量。 Among them, f is the frequency of the driving voltage, V max is the maximum driving voltage, X max is the first maximum displacement, m d is the mass of the linear motor 200, and m f is the mass of the load 300.
实际地,结合该负载300的位移表达式可知,负载300的产生的位移与驱 动信号的频率相关,因此需要确定该最大驱动电压的目标频率,以实现可以通过控制线性电机驱动负载300产生第一最大位移,以获取对应负载的最大绝对振动强度。Actually, combined with the displacement expression of the load 300, it can be known that the displacement generated by the load 300 is related to the frequency of the drive signal. Therefore, it is necessary to determine the target frequency of the maximum drive voltage to realize that the load 300 can be driven by the linear motor to generate the first Maximum displacement to obtain the maximum absolute vibration intensity of the corresponding load.
步骤S32:基于所述目标频率、所述第一最大位移和所述最大驱动电压计算所述负载的第二最大位移。Step S32: Calculate a second maximum displacement of the load based on the target frequency, the first maximum displacement, and the maximum driving voltage.
在具体实施例中,因为线性电机200驱动负载300振动,而线性电机200通过驱动电压控制,因此,在振子产生第一最大位移的情况下,可基于该最大驱动电压、第一最大位移和目标频率计算得到负载300的振动位移,记为第二最大位移。In a specific embodiment, because the linear motor 200 drives the load 300 to vibrate, and the linear motor 200 is controlled by the driving voltage, when the vibrator generates the first maximum displacement, it can be based on the maximum driving voltage, the first maximum displacement, and the target The frequency is calculated to obtain the vibration displacement of the load 300, which is recorded as the second maximum displacement.
此外,根据上述负载300可产生位移的表达式可知,振子的第一最大位移与最大驱动电压的目标频率相关。具体的,当驱动电压的频率太低(f<f 1)时或太高(f 2<f)时,线性电机受到最大驱动电压V max的限制,无法达到该第一最大位移X max;当频率在一定范围内(f 1≤f≤f 2),线性电机的振子能达到第一最大位移X max。同时,在实际操作过程中,为了保护线性电机,也需要保证驱动电压不宜太大,本实施例限制线性电机200的驱动电压V大小范围为: In addition, according to the expression that the load 300 can produce displacement, it can be known that the first maximum displacement of the vibrator is related to the target frequency of the maximum driving voltage. Specifically, when the frequency of the driving voltage is too low (f<f 1 ) or too high (f 2 <f), the linear motor is limited by the maximum driving voltage V max and cannot reach the first maximum displacement X max ; If the frequency is within a certain range (f 1 ≤f≤f 2 ), the vibrator of the linear motor can reach the first maximum displacement X max . At the same time, in the actual operation process, in order to protect the linear motor, it is also necessary to ensure that the driving voltage should not be too large. In this embodiment, the range of the driving voltage V of the linear motor 200 is limited to:
Figure PCTCN2019125684-appb-000014
Figure PCTCN2019125684-appb-000014
在具体实施例中,基于目标频率对第二最大位移的影响,如图6所示,在基于目标频率、第一最大位移和最大驱动电压计算第二最大的过程中,还包括步骤:In a specific embodiment, based on the influence of the target frequency on the second maximum displacement, as shown in FIG. 6, the process of calculating the second maximum based on the target frequency, the first maximum displacement, and the maximum driving voltage further includes the following steps:
步骤S41:判断所述目标频率与第一频率阈值和第二频率阈值之间的关系,其中,所述第一频率阈值小于所述第二频率阈值。Step S41: Determine the relationship between the target frequency and the first frequency threshold and the second frequency threshold, wherein the first frequency threshold is smaller than the second frequency threshold.
其中,目标频率指在最大驱动电压控制线性电机200驱动负载300的过程中,能够保证振子位移达到第一最大位移的频率大小;第一频率阈值指最大驱动电压控制电机200驱动负载300的过程中,由于目标频率过小导致振子的位移无法达到第一最大位移的频率边界值;第二频率阈值指最大驱动电压控制电机200驱动负载300的过程中,由于目标频率过大导致振子的位移无法达到第 一最大位移的频率边界值。Among them, the target frequency refers to the frequency that can ensure that the displacement of the vibrator reaches the first maximum displacement during the process of controlling the linear motor 200 to drive the load 300 by the maximum driving voltage; the first frequency threshold refers to the process of controlling the motor 200 to drive the load 300 by the maximum driving voltage , Because the target frequency is too small, the displacement of the vibrator cannot reach the frequency boundary value of the first maximum displacement; the second frequency threshold refers to the maximum driving voltage in the process of controlling the motor 200 to drive the load 300, and the displacement of the vibrator cannot be reached due to the excessive target frequency The frequency boundary value of the first maximum displacement.
需要说明的是,第一频率阈值和第二频率阈值与线性电机自身的性质有关,可根据最大驱动电压控制线性电机产生的角频率确定。具体的,本实施例根据公式:It should be noted that the first frequency threshold and the second frequency threshold are related to the properties of the linear motor, and can be determined by controlling the angular frequency generated by the linear motor according to the maximum driving voltage. Specifically, this embodiment is based on the formula:
Figure PCTCN2019125684-appb-000015
Figure PCTCN2019125684-appb-000015
算第一频率阈值f 1Calculate the first frequency threshold f 1 ;
根据公式:According to the formula:
Figure PCTCN2019125684-appb-000016
Figure PCTCN2019125684-appb-000016
计算第二频率阈值f 2;其中,ω 1、ω 2分别为电机在第一频率阈值f 1和第二频率阈值f 2的电压驱动下的角频率,具体可通过一下公式: Calculate the second frequency threshold f 2 ; where ω 1 and ω 2 are the angular frequencies of the motor driven by the voltage of the first frequency threshold f 1 and the second frequency threshold f 2, which can be specifically determined by the following formula:
Figure PCTCN2019125684-appb-000017
Figure PCTCN2019125684-appb-000017
Figure PCTCN2019125684-appb-000018
Figure PCTCN2019125684-appb-000018
计算ω 1、ω 2,其中,V max为最大驱动电压,X max为所述第一最大位移,c t为电机中电流互感器的值,
Figure PCTCN2019125684-appb-000019
c为阻尼系数,m d为电机的质量。
Calculate ω 1 and ω 2 , where V max is the maximum drive voltage, X max is the first maximum displacement, and c t is the value of the current transformer in the motor,
Figure PCTCN2019125684-appb-000019
c is the damping coefficient, m d is the mass of the motor.
步骤S42:在所述目标频率小于所述第一频率阈值或大于所述第二频率阈值时,根据所述最大驱动电压、所述电机的质量及所述负载的质量计算所述第二最大位移;以及步骤S43:在所述目标频率大于或等于所述第一频率阈值且小于或等于所述第二频率阈值时,根据所述第一最大位移、所述电机的质量和所述负载的质量计算所述第二最大位移。Step S42: When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculate the second maximum displacement according to the maximum drive voltage, the mass of the motor, and the mass of the load And step S43: when the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, according to the first maximum displacement, the mass of the motor and the mass of the load Calculate the second maximum displacement.
具体的,基于线性电机200的最大驱动电压和振子的第一最大位移X max,以及步骤S41确定的第一阈值频率和第二阈值频率的表达式,本实施例根据公式: Specifically, based on the maximum driving voltage of the linear motor 200 and the first maximum displacement X max of the vibrator, and the expressions of the first threshold frequency and the second threshold frequency determined in step S41, this embodiment is based on the formula:
Figure PCTCN2019125684-appb-000020
Figure PCTCN2019125684-appb-000020
计算负载300在线性电机200的驱动下的第二最大位移X(f);其中,m f为负载的质量。 Calculate the second maximum displacement X(f) of the load 300 driven by the linear motor 200; where m f is the mass of the load.
其中,基于目标频率f对第二最大位移X(f)的影响,基于上述计算第二最大位移X(f)的公式,可以确定的是,在在目标频率f小于第一频率阈值f 1和大于第二频率阈值f 2时,根据最大驱动电压V max、电机的质量m d及负载的质量m f计算该第二最大位移X(f);在目标频率f大于或等于第一频率阈值f 1和小于或等于第二频率阈值f 1时,根据第一最大位移X max、电机的质量m d和负载的质量m f计算第二最大位移X(f)。 Among them, based on the influence of the target frequency f on the second maximum displacement X(f), based on the above formula for calculating the second maximum displacement X(f), it can be determined that when the target frequency f is less than the first frequency threshold f 1 and When greater than the second frequency threshold f 2 , calculate the second maximum displacement X(f) according to the maximum drive voltage V max , the mass m d of the motor and the mass m f of the load; when the target frequency f is greater than or equal to the first frequency threshold f When the sum of 1 is less than or equal to the second frequency threshold f 1 , the second maximum displacement X(f) is calculated according to the first maximum displacement X max , the mass m d of the motor, and the mass m f of the load.
在具体实施例中,基于第二最大位移X(f)的计算公式,可得最大绝对振动强度的计算公式为:In a specific embodiment, based on the calculation formula of the second maximum displacement X(f), the calculation formula of the maximum absolute vibration intensity can be obtained as:
Figure PCTCN2019125684-appb-000021
Figure PCTCN2019125684-appb-000021
其中,g为重力加速度,HSF(f)为最大绝对振动强度。而根据目标频率f对第二最大位移X(f)的影响可知,本实施例在目标频率f小于第一频率阈值f 1和大于第二频率阈值f 2时,根据最大驱动电压V max、电机的质量m d及负载的质量m f计算最大绝对振动强度HSF(f);在目标频率f大于或等于第一频率阈值f 1和小于或等于第二频率阈值f 1时,根据第一最大位移X max、电机的质量m d和负载的质量m f计算最大绝对振动强度HSF(f)。 Among them, g is the acceleration due to gravity, and HSF(f) is the maximum absolute vibration intensity. According to the influence of the target frequency f on the second maximum displacement X(f), in this embodiment, when the target frequency f is less than the first frequency threshold f 1 and greater than the second frequency threshold f 2 , according to the maximum driving voltage V max , the motor Calculate the maximum absolute vibration intensity HSF(f) with the mass m d of the load and the mass m f of the load; when the target frequency f is greater than or equal to the first frequency threshold f 1 and less than or equal to the second frequency threshold f 1 , according to the first maximum displacement X max , the mass of the motor m d and the mass of the load m f calculate the maximum absolute vibration intensity HSF(f).
在一个实施例中,在获取负载300的最大绝对振动强度HSF(f)后,即可根 据输入的目标振动强度参考值和最大绝对振动强度计算得到负载的目标绝对振动强度。具体的,本实施例根据公式:In one embodiment, after obtaining the maximum absolute vibration intensity HSF(f) of the load 300, the target absolute vibration intensity of the load can be calculated according to the input target vibration intensity reference value and the maximum absolute vibration intensity. Specifically, this embodiment is based on the formula:
目标绝对振动强度=目标振动强度参考值×最大绝对振动强度,Absolute target vibration intensity=reference value of target vibration intensity×maximum absolute vibration intensity,
计算负载的目标绝对振动强度。其中,如图3所示,目标振动强度参考值的取值范围在0至1之间。示例性地,假设目标绝对振动强度用Vib(f)表示,目标振动强度参考值用α表示,则根据最大绝对振动强度HSF(f)和目标振动强度参考值α计算目标绝对振动强度的计算公式为:Calculate the target absolute vibration intensity of the load. Among them, as shown in Figure 3, the value range of the target vibration intensity reference value is between 0 and 1. Illustratively, assuming that the target absolute vibration intensity is represented by Vib(f) and the target vibration intensity reference value is represented by α, the calculation formula for calculating the target absolute vibration intensity is calculated based on the maximum absolute vibration intensity HSF(f) and the target vibration intensity reference value α for:
Vib(f)=α·HSL(f)Vib(f)=α·HSL(f)
其中,α的取值范围在0至1之间。Among them, the value range of α is between 0 and 1.
本实施例通过计算负载在线性电机的驱动下振动而产生的第二最大位移X(f),进而确定负载在线性电机驱动下的最大绝对振动强度HSF(f),这样,就可以在目标振动强度参考值α确定的情况下,得到对应的目标绝对振动强度Vib(f)。即本实施例在最大绝对振动强度不变的情况下,获取得到负载在线性电机驱动下的不同强度的振动。In this embodiment, the second maximum displacement X(f) generated by the load vibrating under the drive of the linear motor is calculated to determine the maximum absolute vibration intensity HSF(f) of the load under the drive of the linear motor, so that the target vibration can be achieved. When the intensity reference value α is determined, the corresponding target absolute vibration intensity Vib(f) is obtained. That is, in this embodiment, under the condition that the maximum absolute vibration intensity remains unchanged, the vibrations of different intensities of the load driven by the linear motor are obtained.
步骤S13:根据所述目标绝对振动强度生成与所述目标振动强度参考值对应的目标驱动电压,所述目标驱动电压用于控制电机以驱动负载进行振动。Step S13: Generate a target driving voltage corresponding to the target vibration intensity reference value according to the target absolute vibration intensity, and the target driving voltage is used to control the motor to drive the load to vibrate.
其中,目标驱动电压即通过硬件设备输入至线性电机的驱动信号,如正弦电压信号等。为了实现在实际中根据目标绝对振动强度Vib(f)而输入对应大小的驱动信号至线性电机中,以达到预设的振动强度,本实施例根据目标绝对振动强度Vib(f)生成与目标振动强度参考值α对应的目标驱动电压,具体包括步骤:Among them, the target drive voltage is the drive signal input to the linear motor through the hardware device, such as a sinusoidal voltage signal. In order to realize in practice, according to the target absolute vibration intensity Vib(f), the drive signal of the corresponding size is input to the linear motor to achieve the preset vibration intensity, this embodiment generates the target vibration according to the target absolute vibration intensity Vib(f) The target driving voltage corresponding to the intensity reference value α specifically includes the following steps:
首先,根据需求确定目标振动强度参考值α;随后,基于通过与线性电机对应的机电方程确定的最大绝对振动强度和目标振动强度参考值α即可得到目标绝对振动强度Vib(f),根据目标绝对振动强度Vib(f)即确定了负载300的第二最大位移X(f)和线性电机200振子的第一最大位移X max;最后,基于线性电机的机电方程和振子的第一最大位移X max即可确定驱动信号的大小u,即线性电机的驱动电压大小。 First, determine the target vibration intensity reference value α according to the demand; then, based on the maximum absolute vibration intensity determined by the electromechanical equation corresponding to the linear motor and the target vibration intensity reference value α, the target absolute vibration intensity Vib(f) can be obtained, according to the target The absolute vibration intensity Vib(f) determines the second maximum displacement X(f) of the load 300 and the first maximum displacement X max of the linear motor 200 vibrator; finally, based on the electromechanical equation of the linear motor and the first maximum displacement X of the vibrator max can determine the size of the drive signal u, that is, the size of the drive voltage of the linear motor.
具体的,在获取振子的第一最大位移X max,即可对应获取振子的加速度大小,其中,根据目标绝对振动强度Vib(f)、电机质量m d、负载质量m f和重力加速度g可知,振子的加速度大小可根据公式: Specifically, when the first maximum displacement X max of the vibrator is obtained, the acceleration of the vibrator can be obtained correspondingly, where, according to the target absolute vibration intensity Vib(f), motor mass m d , load mass m f and gravitational acceleration g, it can be known that The acceleration of the vibrator can be based on the formula:
Figure PCTCN2019125684-appb-000022
Figure PCTCN2019125684-appb-000022
计算得到;再结合线性电机的电流i、静态电阻R e、电磁系数BL、电感L e,则基于上述与线性电机对应的机电方程就可以得到对应的驱动电压u的值。 Calculated; recombination current i of the linear motor, static resistance R e, BL electromagnetic coefficient, inductance L e, the equation based on the organic and the linear motor can be obtained a value corresponding to the driving voltage corresponding to u.
本实施例通过将目标振动强度参考值α和最大绝对振动强度HSF(f)可确定线性电机的目标绝对振动强度Vib(f),而目标绝对振动强度Vib(f)结合线性电机对应的机电方程可以通过反推的方式得到对应的驱动信号大小,即控制线性电机的驱动电压大小,从而在实际应用中,可根据目标振动强度参考值α确定线性电机的输入电压大小,进而根据实际需求确定线性电机驱动负载的振感强弱。In this embodiment, the target absolute vibration intensity Vib(f) of the linear motor can be determined by combining the target vibration intensity reference value α and the maximum absolute vibration intensity HSF(f), and the target absolute vibration intensity Vib(f) is combined with the electromechanical equation corresponding to the linear motor The size of the corresponding drive signal can be obtained by reverse deduction, that is, the size of the drive voltage of the linear motor is controlled. Therefore, in practical applications, the input voltage of the linear motor can be determined according to the target vibration intensity reference value α, and then the linearity can be determined according to the actual demand. The vibration of the motor-driven load is strong or weak.
基于同一申请构思,本申请实施例提供一种振动信号的生成装置100,如图7所示,该振动信号的生成装置100包括:强度获取模块101,用于获取输入的目标振动强度参考值;强度转换模块102,用于根据预设的最大绝对振动强度与目标振动强度参考值确定对应的目标绝对振动强度;位移计算模块103,用于计算根据电机的机电方程确定振子的第一最大位移;以及根据第一最大位移、电机的最大驱动电压及最大驱动电压的目标频率确定负载的第二最大位移。Based on the same application concept, an embodiment of the present application provides an apparatus 100 for generating a vibration signal. As shown in FIG. 7, the apparatus 100 for generating a vibration signal includes an intensity obtaining module 101 for obtaining an input target vibration intensity reference value; The intensity conversion module 102 is used to determine the corresponding target absolute vibration intensity according to the preset maximum absolute vibration intensity and the target vibration intensity reference value; the displacement calculation module 103 is used to calculate the first maximum displacement of the vibrator according to the electromechanical equation of the motor; And the second maximum displacement of the load is determined according to the first maximum displacement, the maximum drive voltage of the motor, and the target frequency of the maximum drive voltage.
具体的,本实施例的振动信号的生成装置100通过强度获取模块101实现目标振动强度参考值的获取,以确定用户实际的振动强度需求,进而通过强度转换模块102在确定电机的最大绝对振动强度的前提下,结合目标振动强度参考值确定目标绝对振动强度;其中,在确定最大绝对振动强度的过程中,通过位移计算模块103基于机电方程获取振子的第一最大位移,从而根据第一最大位移、最大驱动电压及目标频率确定负载的第二最大位移,即在电机以最大绝对振动强度控制下驱动负载所产生的位移,即可根据第二最大位移确定该最大绝对振动强度。Specifically, the vibration signal generating device 100 of this embodiment realizes the acquisition of the target vibration intensity reference value through the intensity acquisition module 101 to determine the actual vibration intensity requirements of the user, and then the intensity conversion module 102 determines the maximum absolute vibration intensity of the motor. Under the premise of, the target absolute vibration intensity is determined based on the target vibration intensity reference value; wherein, in the process of determining the maximum absolute vibration intensity, the displacement calculation module 103 obtains the first maximum displacement of the vibrator based on the electromechanical equation, so as to obtain the first maximum displacement of the vibrator based on the first maximum displacement , The maximum driving voltage and the target frequency determine the second maximum displacement of the load, that is, the displacement generated by driving the load under the control of the motor with the maximum absolute vibration intensity, and the maximum absolute vibration intensity can be determined according to the second maximum displacement.
需要说明的是,本实施例中振动信号的生成装置的实现与上述电机振动信 号的生成方法的实现思想一致,其实现原理在此不再进行赘述,可具体参阅上述方法中对应内容。It should be noted that the realization of the vibration signal generation device in this embodiment is consistent with the realization idea of the above-mentioned motor vibration signal generation method, and its realization principle will not be repeated here. For details, please refer to the corresponding content in the above method.
采用了上述电机振动信号的生成方法、装置、终端及存储介质之后,基于电机的最大绝对振动强度,在确定目标振动强度参考值后,根据目标振动参考值和最大绝对振动强度获取对应的目标绝对振动强度,以获取对应目标振动强度参考值对应的目标驱动电压,进而控制电机驱动负载振动。本实施例能够根据用户的不同需求生成电机不同强度的振动强度,以适应不同的振感需求。After adopting the above-mentioned method, device, terminal and storage medium of the motor vibration signal, based on the maximum absolute vibration intensity of the motor, after determining the target vibration intensity reference value, the corresponding target absolute vibration intensity is obtained according to the target vibration reference value and the maximum absolute vibration intensity. The vibration intensity is used to obtain the target driving voltage corresponding to the reference value of the target vibration intensity, so as to control the motor-driven load to vibrate. In this embodiment, the vibration intensities of the motor with different intensities can be generated according to the different needs of users, so as to adapt to different vibration requirements.
图8示出了一个实施例中计算机设备的内部结构图。该计算机设备具体可以是服务器,也可以是终端。如图8所示,该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现电机振动信号的生成方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行电机振动信号的生成方法。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图8中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Fig. 8 shows an internal structure diagram of a computer device in an embodiment. The computer device may specifically be a server or a terminal. As shown in Figure 8, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can enable the processor to implement a method for generating a vibration signal of the motor. A computer program can also be stored in the internal memory, and when the computer program is executed by the processor, the processor can execute the method for generating the vibration signal of the motor. Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer components than shown in FIG. 8, or combining some components, or having a different component arrangement.
在一个实施例中,本申请提供的电机振动信号的生成方法可以实现为一种计算机程序的形式,计算机程序可在如图8所示的计算机设备上运行。计算机设备的存储器中可存储组成该振动信号的生成装置的各个程序模块。比如,强度转换模块102等。In an embodiment, the method for generating a vibration signal of a motor provided in the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG. 8. The memory of the computer device can store various program modules that make up the vibration signal generating device. For example, the intensity conversion module 102 and so on.
在一个实施例中,提出了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:获取输入的目标振动强度参考值;根据负载预设的最大绝对振动强度与所述目标振动强度参考值确定对应的目标绝对振动强度;根据所述目标绝对振动强度生成与所述目标振动强度参考值对应的目标驱动电压,所述目标驱动电压用于控制电机以驱动负载进行振动。In one embodiment, a computer device is provided, including 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: Obtain input The target vibration intensity reference value; the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value determine the corresponding target absolute vibration intensity; according to the target absolute vibration intensity, the corresponding target vibration intensity reference value is generated The target driving voltage is used to control the motor to drive the load to vibrate.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(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)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium. Here, when the program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. 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. As an illustration and not a limitation, 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.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above-disclosed are only preferred embodiments of this application, and of course the scope of rights of this application cannot be limited by this. Therefore, equivalent changes made in accordance with the claims of this application still fall within the scope of this application.

Claims (10)

  1. 一种电机振动信号的生成方法,其特征在于,包括:A method for generating a vibration signal of a motor is characterized in that it includes:
    获取输入的目标振动强度参考值;Obtain the input target vibration intensity reference value;
    根据负载预设的最大绝对振动强度与所述目标振动强度参考值确定对应的目标绝对振动强度;Determine the corresponding target absolute vibration intensity according to the maximum absolute vibration intensity preset by the load and the target vibration intensity reference value;
    根据所述目标绝对振动强度生成与所述目标振动强度参考值对应的目标驱动电压,所述目标驱动电压用于控制电机以驱动负载进行振动。A target driving voltage corresponding to the target vibration intensity reference value is generated according to the target absolute vibration intensity, and the target driving voltage is used to control a motor to drive a load to vibrate.
  2. 如权利要求1所述的电机振动信号的生成方法,其特征在于,所述获取输入的目标振动强度参考值之前,还包括:The method for generating a vibration signal of a motor according to claim 1, wherein before said obtaining the input target vibration intensity reference value, the method further comprises:
    根据机电方程确定所述电机的振子的第一最大位移;Determining the first maximum displacement of the vibrator of the motor according to the electromechanical equation;
    获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度。Obtain the maximum absolute vibration intensity of the load driven by a preset maximum driving voltage.
  3. 如权利要求2所述的电机振动信号的生成方法,其特征在于,所述获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度,包括:3. The method for generating a vibration signal of a motor according to claim 2, wherein said obtaining said maximum absolute vibration intensity of said load driven by a preset maximum driving voltage comprises:
    确定所述最大驱动电压的目标频率;Determining the target frequency of the maximum driving voltage;
    基于所述目标频率、所述第一最大位移和所述最大驱动电压计算所述负载的第二最大位移。The second maximum displacement of the load is calculated based on the target frequency, the first maximum displacement, and the maximum drive voltage.
  4. 如权利要求3所述的电机振动信号的生成方法,其特征在于,所述获取所述负载在预设的最大驱动电压驱动下的所述最大绝对振动强度,包括:The method for generating a vibration signal of a motor according to claim 3, wherein said obtaining said maximum absolute vibration intensity of said load driven by a preset maximum driving voltage comprises:
    判断所述目标频率与第一频率阈值和第二频率阈值之间的关系,其中,所述第一频率阈值小于所述第二频率阈值;Determine the relationship between the target frequency and a first frequency threshold and a second frequency threshold, wherein the first frequency threshold is smaller than the second frequency threshold;
    在所述目标频率小于所述第一频率阈值或大于所述第二频率阈值时,根据所述最大驱动电压、所述电机的质量及所述负载的质量计算所述最大绝对振动强度;When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculating the maximum absolute vibration intensity according to the maximum driving voltage, the mass of the motor, and the mass of the load;
    在所述目标频率大于或等于所述第一频率阈值且小于或等于所述第二频率阈值时,根据所述第一最大位移、所述电机的质量和所述负载的质量计算所述最大绝对振动强度。When the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, the maximum absolute value is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load Vibration intensity.
  5. 如权利要求3所述的电机振动信号的生成方法,其特征在于,所述基于所述目标频率、所述第一最大位移和所述最大驱动电压计算所述负载的第二最大位移,包括:The method for generating a vibration signal of a motor according to claim 3, wherein the calculating the second maximum displacement of the load based on the target frequency, the first maximum displacement, and the maximum driving voltage comprises:
    在所述目标频率小于所述第一频率阈值或大于所述第二频率阈值时,根据所述最大驱动电压、所述电机的质量及所述负载的质量计算所述第二最大位移;When the target frequency is less than the first frequency threshold or greater than the second frequency threshold, calculating the second maximum displacement according to the maximum driving voltage, the mass of the motor, and the mass of the load;
    在所述目标频率大于或等于所述第一频率阈值且小于或等于所述第二频率阈值时,根据所述第一最大位移、所述电机的质量和所述负载的质量计算所述第二最大位移。When the target frequency is greater than or equal to the first frequency threshold and less than or equal to the second frequency threshold, the second frequency is calculated according to the first maximum displacement, the mass of the motor, and the mass of the load. Maximum displacement.
  6. 如权利要求5所述的电机振动信号的生成方法,其特征在于,所述判断所述目标频率与第一频率阈值和第二频率阈值之间的关系,包括:5. The method for generating a vibration signal of a motor according to claim 5, wherein said determining the relationship between the target frequency and the first frequency threshold and the second frequency threshold comprises:
    根据公式:According to the formula:
    Figure PCTCN2019125684-appb-100001
    Figure PCTCN2019125684-appb-100001
    计算所述第一频率阈值f 1Calculating the first frequency threshold f 1 ;
    根据公式:According to the formula:
    Figure PCTCN2019125684-appb-100002
    Figure PCTCN2019125684-appb-100002
    计算所述第二频率阈值f 2;其中,ω 1、ω 2分别为所述电机在所述第一频率阈值和所述第二频率阈值的电压驱动下的角频率。 Calculate the second frequency threshold f 2 ; where ω 1 and ω 2 are the angular frequencies of the motor under the voltage drive of the first frequency threshold and the second frequency threshold, respectively.
  7. 如权利要求6所述的电机振动信号的生成方法,其特征在于,所述根据预设的最大绝对振动强度与所述目标振动强度参考值确定与所述目标绝对振动强度对应的目标绝对振动强度,包括:The method for generating a vibration signal of a motor according to claim 6, wherein the target absolute vibration intensity corresponding to the target absolute vibration intensity is determined according to the preset maximum absolute vibration intensity and the target vibration intensity reference value ,include:
    根据公式:According to the formula:
    目标绝对振动强度=目标振动强度参考值×最大绝对振动强度,Absolute target vibration intensity=reference value of target vibration intensity×maximum absolute vibration intensity,
    其中,所述目标振动强度参考值的取值范围在0至1之间。Wherein, the value range of the target vibration intensity reference value is between 0 and 1.
  8. 一种电机振动信号的生成装置,其特征在于,包括:A generating device for a vibration signal of a motor, which is characterized in that it comprises:
    强度获取模块,用于获取输入的目标振动强度参考值;The intensity acquisition module is used to acquire the input target vibration intensity reference value;
    强度转换模块,用于根据预设的最大绝对振动强度与所述目标振动强度参 考值确定与所述目标绝对振动强度对应的目标绝对振动强度;An intensity conversion module, configured to determine a target absolute vibration intensity corresponding to the target absolute vibration intensity according to a preset maximum absolute vibration intensity and the target vibration intensity reference value;
    位移计算模块,用于计算根据所述电机的机电方程确定振子的第一最大位移;以及根据所述第一最大位移、所述电机的最大驱动电压及所述最大驱动电压的目标频率确定负载的第二最大位移。A displacement calculation module for calculating the first maximum displacement of the vibrator according to the electromechanical equation of the motor; and determining the load according to the first maximum displacement, the maximum drive voltage of the motor, and the target frequency of the maximum drive voltage The second largest displacement.
  9. 一种终端,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的电机振动信号的生成方法步骤。A terminal, characterized by comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor implements the claims when the computer program is executed Steps of the method for generating a vibration signal of a motor according to any one of 1 to 7.
  10. 一种计算机可读存储介质,包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1至7中任一项所述的电机振动信号的生成方法步骤。A computer-readable storage medium comprising computer instructions, when the computer instructions run on a computer, cause the computer to execute the steps of the method for generating a vibration signal of a motor according to any one of claims 1 to 7.
PCT/CN2019/125684 2019-12-16 2019-12-16 Vibration signal generation method and device for motor, terminal, and storage medium WO2021119932A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/125684 WO2021119932A1 (en) 2019-12-16 2019-12-16 Vibration signal generation method and device for motor, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/125684 WO2021119932A1 (en) 2019-12-16 2019-12-16 Vibration signal generation method and device for motor, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2021119932A1 true WO2021119932A1 (en) 2021-06-24

Family

ID=76478091

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/125684 WO2021119932A1 (en) 2019-12-16 2019-12-16 Vibration signal generation method and device for motor, terminal, and storage medium

Country Status (1)

Country Link
WO (1) WO2021119932A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140292112A1 (en) * 2011-11-04 2014-10-02 Yamaha Hatsudoki Kabushiki Kaisha Linear motor and linear conveyance device
CN105579930A (en) * 2013-09-26 2016-05-11 富士通株式会社 Drive control apparatus, electronic device, and drive control method
US20180017413A1 (en) * 2016-07-18 2018-01-18 Delphi Technologies, Inc. Rotor position sensor signal correction
CN108258973A (en) * 2018-01-04 2018-07-06 瑞声科技(新加坡)有限公司 The generation method and device of a kind of motor drive signal
CN108325806A (en) * 2017-12-29 2018-07-27 瑞声科技(新加坡)有限公司 The generation method and device of vibration signal
CN110011591A (en) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 Motor drive signal generation method, electronic equipment and storage medium
CN110244838A (en) * 2019-05-09 2019-09-17 瑞声科技(新加坡)有限公司 A kind of generation method of motor drive signal, electronic equipment and storage medium
CN110347252A (en) * 2019-06-30 2019-10-18 瑞声科技(新加坡)有限公司 Motor drive signal creating method, device and computer equipment
CN110502111A (en) * 2019-08-09 2019-11-26 瑞声科技(新加坡)有限公司 Motor signal compensation method, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140292112A1 (en) * 2011-11-04 2014-10-02 Yamaha Hatsudoki Kabushiki Kaisha Linear motor and linear conveyance device
CN105579930A (en) * 2013-09-26 2016-05-11 富士通株式会社 Drive control apparatus, electronic device, and drive control method
US20180017413A1 (en) * 2016-07-18 2018-01-18 Delphi Technologies, Inc. Rotor position sensor signal correction
CN108325806A (en) * 2017-12-29 2018-07-27 瑞声科技(新加坡)有限公司 The generation method and device of vibration signal
CN108258973A (en) * 2018-01-04 2018-07-06 瑞声科技(新加坡)有限公司 The generation method and device of a kind of motor drive signal
CN110011591A (en) * 2018-12-31 2019-07-12 瑞声科技(新加坡)有限公司 Motor drive signal generation method, electronic equipment and storage medium
CN110244838A (en) * 2019-05-09 2019-09-17 瑞声科技(新加坡)有限公司 A kind of generation method of motor drive signal, electronic equipment and storage medium
CN110347252A (en) * 2019-06-30 2019-10-18 瑞声科技(新加坡)有限公司 Motor drive signal creating method, device and computer equipment
CN110502111A (en) * 2019-08-09 2019-11-26 瑞声科技(新加坡)有限公司 Motor signal compensation method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110995079B (en) Method, device, terminal and storage medium for generating motor vibration signal
WO2022134219A1 (en) Motor vibration signal generation method and apparatus, computer device, and storage medium
WO2021232472A1 (en) Excitation signal generation method and apparatus, terminal, and storage medium
Gonzalez‐Buelga et al. An optimised tuned mass damper/harvester device
EP2762999A2 (en) Overdrive voltage for an actuator to generate haptic effects
WO2021000178A1 (en) Excitation signal generation method and device for motor, and computer apparatus
US10344821B2 (en) Vibration suppressing apparatus and vibration suppressing method thereof
Kim et al. Dynamic analysis and optimal design of a passive and an active piezo-electrical dynamic vibration absorber
US11876474B2 (en) Linear resonant device, and braking method for same
WO2022110351A1 (en) Method and apparatus for controlling overstroke of linear motor, computer device and storage medium
CN111352509A (en) Vibration control method, storage medium and equipment
CN111552379B (en) Method and device for rapidly stopping vibration system, computer equipment and storage medium
CN111159623A (en) Motor vibration signal calculation method and device, terminal and storage medium
CN103346692A (en) Frequency domain compensation method for piezoelectric actuator hysteresis nonlinearity in vibration active control
JP7178467B2 (en) Active distributed mode actuator
CN111552371A (en) Excitation voltage generation method, device, equipment and medium, and test method and system
CN112044017A (en) Parameter optimization method and device based on motor strength training equipment
WO2022041346A1 (en) Determination method for vibration amount for linear motor touch control apparatus, and related device
WO2021119932A1 (en) Vibration signal generation method and device for motor, terminal, and storage medium
WO2020258202A1 (en) Motor parameter tracking method and system
WO2022000649A1 (en) Method and apparatus for correcting equalizing electrical signal of motor, and computer-readable storage medium
CN102687029B (en) Ferroelectric analysis apparatus and method thereof for adjusting polarization reversal speed of ferroelectric domain
CN113949325B (en) Control method, control device, equipment and medium for linear motor
TW201322512A (en) Electronic device and adjustment method thereof
US11079853B2 (en) Actuator excitation signal processing method, device, computer equipment and 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: 19956593

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

Country of ref document: EP

Kind code of ref document: A1