[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111580644A - Signal processing method and device and electronic equipment - Google Patents

Signal processing method and device and electronic equipment Download PDF

Info

Publication number
CN111580644A
CN111580644A CN202010289644.2A CN202010289644A CN111580644A CN 111580644 A CN111580644 A CN 111580644A CN 202010289644 A CN202010289644 A CN 202010289644A CN 111580644 A CN111580644 A CN 111580644A
Authority
CN
China
Prior art keywords
signal
vibration
time
splicing
moment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010289644.2A
Other languages
Chinese (zh)
Other versions
CN111580644B (en
Inventor
郑亚军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AAC Technologies Pte Ltd
Original Assignee
AAC Technologies Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AAC Technologies Pte Ltd filed Critical AAC Technologies Pte Ltd
Priority to CN202010289644.2A priority Critical patent/CN111580644B/en
Publication of CN111580644A publication Critical patent/CN111580644A/en
Priority to PCT/CN2020/132039 priority patent/WO2021208447A1/en
Application granted granted Critical
Publication of CN111580644B publication Critical patent/CN111580644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • B06B1/00Methods or apparatus for generating mechanical vibrations of infrasonic, sonic, or ultrasonic frequency
    • B06B1/10Methods or apparatus for generating mechanical vibrations of infrasonic, sonic, or ultrasonic frequency making use of mechanical energy
    • 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
    • B06B3/02Methods or apparatus specially adapted for transmitting mechanical vibrations of infrasonic, sonic, or ultrasonic frequency involving a change of amplitude
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/014Force feedback applied to GUI

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The embodiment of the application provides a signal processing method, a signal processing device and electronic equipment, wherein in the method, a first vibration signal is received, a signal with preset duration is intercepted from a first moment of the first vibration signal to serve as a second vibration signal, and the phase of the first moment is a preset phase; acquiring a first splicing signal, wherein the phase of the termination moment of the first splicing signal is a preset phase; carrying out amplitude scaling on the first splicing signal to enable the amplitude of the obtained second splicing signal at the termination moment to be equal to the amplitude of the second vibration signal at the starting moment; and splicing the second splicing signal and the second vibration signal to obtain a target vibration signal. The target vibration signal generated by the method can be within the voltage output capacity range of the electronic equipment, so that the vibration system can rapidly generate vibration with larger intensity.

Description

Signal processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of signal processing technologies, and in particular, to a signal processing method and apparatus, and an electronic device.
Background
The haptic feedback technology is a haptic feedback mechanism which combines hardware and software and is assisted by actions such as acting force or vibration, and the like, so that the real haptic experience of a human can be simulated. The haptic feedback technology is widely applied to electronic equipment such as mobile phones, automobiles, wearable equipment and game equipment, and user experience is improved by customizing unique haptic feedback effects.
A vibration system may be provided in the electronic device that simulates the haptic feedback effect through a vibration effect. Generally, a vibration system receives a vibration signal and generates a voltage input signal of a motor based on the vibration signal, so that the motor drives the vibration system to generate a vibration effect required by the vibration signal. Based on different vibration amplitudes, different vibration durations and different vibration frequencies of the vibration signals, various tactile feedback effects can be combined. However, some vibration effects are difficult to achieve by vibration systems due to the voltage output capability of the electronic device to the vibration system and the performance of the motor in the vibration system.
For example, in some application scenarios, a vibration signal received by a vibration system of an electronic device may require the vibration system to rapidly generate a vibration with a large intensity in a very short time, but such a requirement is achieved by the electronic device providing a very large voltage to the vibration system, and the voltage output capability of the electronic device is limited, so that the vibration effect required by the vibration signal cannot be achieved.
Disclosure of Invention
The application provides a signal processing method which can enable a vibration system to quickly generate vibration with larger intensity within the range of voltage output capability of electronic equipment.
In a first aspect, the present application provides a signal processing method, including:
receiving a first vibration signal, and intercepting a signal with preset duration from a first moment of the first vibration signal as a second vibration signal, wherein the phase of the first moment is a preset phase;
acquiring a first splicing signal, wherein the phase of the termination moment of the first splicing signal is the preset phase; the first splicing signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, wherein the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs;
carrying out amplitude scaling on the first splicing signal to obtain a second splicing signal, wherein the amplitude of the termination time of the second splicing signal is equal to the amplitude of the starting time of the second vibration signal;
and splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
The target vibration signal obtained based on the method can be within the range of the voltage output capability of the electronic equipment, so that the vibration system can quickly generate vibration with larger intensity.
Wherein the obtaining the first spliced signal comprises:
calculating a vibration response curve generated by the motor when the motor is driven by using a single-frequency sine wave voltage signal;
determining a second moment in the vibration response curve according to a phase corresponding to the first moment in the first vibration signal, wherein the phase corresponding to the second moment is the same as the phase corresponding to the first moment;
intercepting a signal from an initial time to the second time in the vibration response curve as the first splicing signal.
Wherein the first time is a time corresponding to a peak of the first vibration signal, and the second time is a time corresponding to a peak in the vibration response curve; or,
the first time is a time corresponding to a trough of the first vibration signal, and the second time is a time corresponding to a trough in the vibration response curve.
Wherein the second time is a time corresponding to a second peak in the vibration response curve.
The preset time length is from the first moment of the first vibration signal to the termination moment of the first vibration signal.
In a second aspect, an embodiment of the present application provides a signal processing apparatus, including:
the signal intercepting unit is used for receiving a first vibration signal, intercepting a signal with preset duration from a first moment of the first vibration signal as a second vibration signal, wherein the phase of the first moment is a preset phase;
an obtaining unit, configured to obtain a first splicing signal, where a phase at a termination time of the first splicing signal is the preset phase; the first splicing signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, wherein the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs;
the zooming unit is used for zooming the amplitude of the first splicing signal to obtain a second splicing signal, and the amplitude of the termination time of the second splicing signal is equal to the amplitude of the starting time of the second vibration signal;
and the splicing unit is used for splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
Wherein the acquisition unit includes:
the calculating subunit is used for calculating a vibration response curve generated by the motor when the motor is driven by using a single-frequency sine wave voltage signal;
the time determining subunit is configured to determine a second time in the vibration response curve according to a phase corresponding to a first time in the first vibration signal, where the phase corresponding to the second time is the same as the phase corresponding to the first time;
and the intercepting subunit is used for intercepting the signal from the initial moment to the second moment in the vibration response curve as the first splicing signal.
In a third aspect, an embodiment of the present application provides an electronic device, including:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program, which, when run on a computer, causes the computer to perform the method of the first aspect.
In a fifth aspect, the present application provides a computer program for performing the method of the first aspect when the computer program is executed by a computer.
In a possible design, the program of the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1 is a block diagram of one embodiment of an electronic device of the present application;
FIG. 2 is a block diagram of another embodiment of an electronic device of the present application;
FIG. 3 is a flow chart of one embodiment of the signal processing method of the present application;
FIG. 4 is a flow chart of another embodiment of the signal processing method of the present application;
FIG. 5A is a diagram illustrating an exemplary waveform of a first vibration signal according to an embodiment of the present application;
FIG. 5B is a diagram illustrating an exemplary method for intercepting a second vibration signal according to an embodiment of the present application;
fig. 5C is an exemplary diagram of a first splicing signal interception method according to an embodiment of the present application;
FIG. 5D is an exemplary diagram illustrating amplitude scaling and signal splicing according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of one embodiment of a signal processing apparatus of the present application;
fig. 7 is a block diagram of another embodiment of a signal processing apparatus according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
In the existing implementation scheme, a vibration signal received by a vibration system of electronic equipment may need the vibration system to rapidly generate vibration with a large intensity in a very short time, but the electronic equipment is required to provide a very large voltage for the vibration system, and the vibration system can achieve the requirement, and the voltage output capability of the electronic equipment is limited, so that the vibration system cannot achieve the vibration effect required by the vibration signal.
In this case, the vibration system needs to generate vibration with a larger intensity required by the vibration signal at the fastest speed within the range of the voltage output capability of the electronic device, so as to achieve the vibration effect required by the vibration signal received by the vibration system as much as possible.
Therefore, the embodiment of the present application provides a signal processing method, which can enable a vibration system to rapidly generate vibration with a larger intensity within a voltage output capability range of an electronic device.
In the following, a possible implementation structure of the electronic device according to the embodiment of the present application is first exemplarily described. As shown in fig. 1, the electronic device 100 may include: a processor 110, a memory 120, a vibration system 130; among them, the vibration system 130 may include: a motor 131; optionally, the vibration system 130 may further include: displacement sensor 132, acceleration sensor 133, and the like.
Where the memory 120 may be used to store one or more computer programs and the processor 110 may be used to retrieve and execute the computer programs from the memory 120.
A computer program for implementing the signal processing method according to the embodiment of the present application may be stored in the memory 120, and the processor 110 calls and runs the computer program from the memory 120 to implement signal processing.
As shown in fig. 2, the electronic device 200 may include: a processor 210, a first memory 220, a vibration system 230; wherein the vibration system 230 may include: a motor 231, a signal processor 232, and a second memory 233; optionally, the vibration system 230 may further include: displacement sensor 234, acceleration sensor 235, and the like.
The second memory 233 may be configured to store data of the vibration system, such as a preset displacement interval described below; the second memory 233 can also be used to store a computer program of the signal processing method of the embodiment of the present application;
the signal processor 232 calls and runs the computer program from the second memory 233 to realize signal processing.
It should be understood that the electronic devices shown in fig. 1 and 2 are capable of implementing the processes of the methods provided by the embodiments shown in fig. 3-4 of the present application. The operations and/or functions of the respective modules in the electronic device are respectively for implementing the corresponding flows in the method embodiments. Reference may be made specifically to the description of the embodiments of the method illustrated in fig. 3 to 4 of the present application, and a detailed description is appropriately omitted herein to avoid redundancy.
Fig. 3 is a flowchart of an embodiment of a signal processing method according to the present application, and as shown in fig. 3, the method may include:
step 301: receiving a first vibration signal, and intercepting a signal with preset duration from a first moment of the first vibration signal as a second vibration signal, wherein the phase of the first moment is a preset phase.
The first time corresponds to the start time of the second vibration signal.
Step 302: acquiring a first splicing signal, wherein the phase of the termination moment of the first splicing signal is a preset phase; the first spliced signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs.
Step 303: and carrying out amplitude scaling on the first splicing signal to obtain a second splicing signal, wherein the amplitude of the termination moment of the second splicing signal is equal to the amplitude of the starting moment of the second vibration signal.
Step 304: and splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
The target vibration signal obtained based on the method can be within the voltage output capacity range of the electronic equipment, so that the vibration system can quickly generate vibration with high intensity, and the vibration system can quickly achieve the vibration effect required by the first vibration signal as much as possible.
Fig. 4 is a flowchart of another embodiment of the signal processing method of the present application, as shown in fig. 4, the method may include:
step 401: a first vibration signal is received.
The first vibration signal can be generated by an application which needs to perform tactile feedback in the electronic device, so that the processor is triggered to execute the signal processing method to perform the processing of the first vibration signal. Applications that require haptic feedback may include, but are not limited to: gaming, video, etc.
Step 402: when the voltage required by the motor to generate the first vibration signal is judged to be greater than the maximum output voltage of the electronic equipment, a signal with preset duration is intercepted from the first moment of the first vibration signal to serve as a second vibration signal, and the phase position of the first moment is a preset phase position.
The first vibration signal can be substituted into a preset vibration system electromechanical coupling equation, a voltage signal corresponding to the first vibration signal is obtained through calculation, and the absolute maximum value of the voltage signal is the voltage required by the motor to generate the first vibration signal.
Taking the linear motor as an example, the electromechanical coupling equation of the vibration system may be:
Figure BDA0002449886600000041
wherein m is the mass of the motor rotor, c is the mechanical damping of the motor, k is the spring coefficient of the motor, BL is the electromechanical coupling coefficient, ReIs the motor coil resistance, LeIs the motor coil inductance, i is the current, u is the voltage, x is the displacement,
Figure BDA0002449886600000042
in order to be the speed of the vehicle,
Figure BDA0002449886600000043
is the acceleration. Wherein the speed
Figure BDA0002449886600000044
Acceleration can be obtained by one derivation of displacement x
Figure BDA0002449886600000045
Can be obtained by twice derivation of the displacement x, and the current is the intermediate coupling quantity i. The numerical values of the parameters of the motor rotor, such as mass, motor mechanical damping, motor spring coefficient, electromechanical coupling coefficient, motor coil resistance, motor coil inductance and the like, related in the equation can be preset based on the motor, and the first vibration signal is taken as the displacement x, so that the voltage signal u can be obtained through calculation correspondingly.
For convenience of splicing, the first time may be a time corresponding to a peak of the first vibration signal or a time corresponding to a trough of the first vibration signal, and correspondingly, the preset phase may be a phase corresponding to the peak of the first vibration signal or a phase corresponding to the trough of the first vibration signal. Alternatively, the first time may be a time corresponding to a second peak of the first vibration signal.
The specific value of the preset duration can be set autonomously in practical application, and the embodiment of the application is not limited, for example, the preset duration can be: from the first moment to the end moment of the first vibration signal.
Generally, the preset time length cannot be too short, so that the situation that the finally obtained target vibration signal is too short and the vibration system cannot generate the vibration effect required by the first vibration signal is avoided. The minimum value of the preset time period is related to the performance of the motor driving the vibration system, for example, if the performance of the motor is relatively good, the minimum value of the preset time period may be relatively small, and if the performance of the motor is relatively poor, the minimum value of the preset time period may be relatively large.
Referring to fig. 5A, a waveform diagram of a first vibration signal is shown, assuming that a voltage required by a motor to generate the first vibration signal shown in fig. 5A is greater than a maximum output voltage Vmax of an electronic device; then the process of the first step is carried out,
referring to fig. 5B, all of the first vibration signals after being intercepted from the position of the second peak of the first vibration signal may be the second vibration signal.
It should be noted that, based on the step 402, the length of the first vibration signal in the embodiment of the present application cannot be too short, so that the first time with the preset phase can be found from the first vibration signal in the step 402, so as to intercept the second vibration signal, where the length of the first vibration signal is related to the interception rule of the second vibration signal, that is, related to the first time and the preset phase. For example, for the first vibration signal shown in fig. 5A, assuming that the first time is a time corresponding to a first peak of the first vibration signal, the first time is T/4, and T is a period of the motor, the length of the first vibration signal needs to be greater than T/4 to intercept the second vibration signal; if the first time is a time corresponding to the second peak of the first vibration signal, and the first time is 5T/4, the length of the first vibration signal needs to be greater than 5T/4 to intercept the second vibration signal.
Through the steps 401 to 403, the second vibration signal in the step 301 is obtained.
Step 403: acquiring a first splicing signal, wherein the phase of the termination moment of the first splicing signal is a preset phase; the first spliced signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs.
In a possible implementation manner, the first splicing signal may be preset in the electronic device, and in this step, the first splicing signal may be directly obtained from the electronic device. At this time, the preset phase in step 402 needs to be the same as the phase of the termination time of the first splicing signal preset in the electronic device.
In another possible implementation, the first stitched signal may be generated in real time. At this time, acquiring the first spliced signal may include:
calculating a vibration response curve generated by the motor when the motor is driven by using the single-frequency sine wave voltage signal; the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude is the maximum output voltage of the electronic equipment to which the motor belongs;
determining a second moment in the vibration response curve according to the phase corresponding to the first moment in the first vibration signal, wherein the phase corresponding to the second moment is the same as the phase corresponding to the first moment;
and intercepting a signal from the initial moment to the second moment in the vibration response curve as a first splicing signal.
If the first moment is the moment corresponding to the peak of the first vibration signal, the second moment is the moment corresponding to the peak in the vibration response curve; optionally, the second time may be a time corresponding to a second peak in the vibration response curve; or,
if the first time instant is the time instant corresponding to the trough of the first vibration signal, the second time instant is also the time instant corresponding to the trough of the vibration response curve.
An implementation of step 403 is illustrated: referring to fig. 5C, a signal formed by the solid line and the dotted line is a vibration response curve, a solid line part in the vibration response curve is the cut-off spliced signal, the termination time of the spliced signal corresponds to the second time of the vibration response curve, and the second time is the time corresponding to the second peak in the vibration response curve.
Step 404: and carrying out amplitude scaling on the first splicing signal to obtain a second splicing signal, wherein the amplitude of the termination moment of the second splicing signal is equal to the amplitude of the starting moment of the second vibration signal.
Step 405: and splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
And placing the second splicing signal before the second vibration signal for splicing.
For example before continuing, as shown in fig. 5D, the signal with the shorter length is the first spliced signal, the amplitude of the first spliced signal is reduced, so that the amplitude of the ending time of the obtained second spliced signal is the same as the amplitude of the starting time of the second vibration signal, and the signal obtained after splicing the second spliced signal and the second vibration signal is the target vibration signal.
After the target vibration signal is obtained, a voltage input signal of the motor can be obtained through calculation according to the target vibration signal, the voltage input signal is input to the motor, and the motor can generate the target vibration signal, so that the motor can rapidly generate vibration with high intensity within the range of voltage output capability of the electronic equipment, and the vibration system can rapidly achieve the vibration effect required by the first vibration signal within the range of voltage output capability of the electronic equipment as much as possible.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
Fig. 6 is a block diagram of an embodiment of the signal processing apparatus of the present application, and as shown in fig. 6, the apparatus 60 may include:
the signal intercepting unit 61 is configured to receive a first vibration signal, and intercept a signal with a preset duration from a first time of the first vibration signal as a second vibration signal, where a phase of the first time is a preset phase;
an obtaining unit 62, configured to obtain a first splicing signal, where a phase at a termination time of the first splicing signal is the preset phase; the first splicing signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, wherein the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs;
a scaling unit 63, configured to perform amplitude scaling on the first splicing signal to obtain a second splicing signal, where an amplitude of the second splicing signal at the termination time is equal to an amplitude of the second vibration signal at the start time;
and the splicing unit 64 is configured to splice the second splicing signal and the second vibration signal to obtain a target vibration signal.
Alternatively, referring to fig. 7, the obtaining unit 62 may include:
a calculation subunit 621, configured to calculate a vibration response curve generated by the motor when the motor is driven by using a single-frequency sine wave voltage signal;
a time determining subunit 622, configured to determine, according to a phase corresponding to a first time in the first vibration signal, a second time in the vibration response curve, where the phase corresponding to the second time is the same as the phase corresponding to the first time;
and an intercepting subunit 623, configured to intercept a signal from the initial time to the second time in the vibration response curve as the first splicing signal.
The embodiments shown in fig. 6 and fig. 7 provide an apparatus 60 that can be used to implement the technical solutions of the method embodiments shown in fig. 3 to fig. 4 of the present application, and the implementation principles and technical effects thereof can be further referred to the related descriptions in the method embodiments.
It should be understood that the division of the units of the apparatus shown in fig. 6 and 7 is merely a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these units can be implemented entirely in software, invoked by a processing element; or may be implemented entirely in hardware; part of the units can also be realized in the form of software called by a processing element, and part of the units can be realized in the form of hardware. For example, the signal intercepting unit may be a processing element that is separately established, or may be implemented by being integrated in a certain chip of the electronic device. The other units are implemented similarly. In addition, all or part of the units can be integrated together or can be independently realized. In implementation, the steps of the method or the units above may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
For example, the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these units may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
The present application further provides an electronic device, where the device includes a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the method provided in the embodiment shown in fig. 3 to 4 of the present application.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided by the embodiments shown in fig. 3 to 4 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program product runs on a computer, the computer executes the method provided in the embodiments shown in fig. 3 to 4 of the present application.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A signal processing method, comprising:
receiving a first vibration signal, and intercepting a signal with preset duration from a first moment of the first vibration signal as a second vibration signal, wherein the phase of the first moment is a preset phase;
acquiring a first splicing signal, wherein the phase of the termination moment of the first splicing signal is the preset phase; the first splicing signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, wherein the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs;
carrying out amplitude scaling on the first splicing signal to obtain a second splicing signal, wherein the amplitude of the termination time of the second splicing signal is equal to the amplitude of the starting time of the second vibration signal;
and splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
2. The method of claim 1, wherein the obtaining the first spliced signal comprises:
calculating a vibration response curve generated by the motor when the motor is driven by using a single-frequency sine wave voltage signal;
determining a second moment in the vibration response curve according to a phase corresponding to the first moment in the first vibration signal, wherein the phase corresponding to the second moment is the same as the phase corresponding to the first moment;
intercepting a signal from an initial time to the second time in the vibration response curve as the first splicing signal.
3. A method according to claim 1 or 2, wherein the first time instant is a time instant corresponding to a peak of the first vibration signal and the second time instant is a time instant corresponding to a peak in the vibration response curve; or,
the first time is a time corresponding to a trough of the first vibration signal, and the second time is a time corresponding to a trough in the vibration response curve.
4. The method of claim 3, wherein the second time is a time corresponding to a second peak in the vibrational response.
5. The method according to claim 1 or 2, wherein the preset time period is from a first time of the first vibration signal to a termination time of the first vibration signal.
6. A signal processing apparatus, characterized by comprising:
the signal intercepting unit is used for receiving a first vibration signal, intercepting a signal with preset duration from a first moment of the first vibration signal as a second vibration signal, wherein the phase of the first moment is a preset phase;
an obtaining unit, configured to obtain a first splicing signal, where a phase at a termination time of the first splicing signal is the preset phase; the first splicing signal is a signal which is obtained by intercepting a signal from an initial moment to a second moment of a vibration response curve generated by a motor when the motor is driven by using a single-frequency sine wave voltage signal, wherein the frequency of the single-frequency sine wave voltage signal is the resonance frequency of the motor, and the amplitude of the single-frequency sine wave voltage signal is the maximum output voltage of the electronic equipment to which the motor belongs;
the zooming unit is used for zooming the amplitude of the first splicing signal to obtain a second splicing signal, and the amplitude of the termination time of the second splicing signal is equal to the amplitude of the starting time of the second vibration signal;
and the splicing unit is used for splicing the second splicing signal and the second vibration signal to obtain a target vibration signal.
7. The apparatus of claim 6, wherein the obtaining unit comprises:
the calculating subunit is used for calculating a vibration response curve generated by the motor when the motor is driven by using a single-frequency sine wave voltage signal;
the time determining subunit is configured to determine a second time in the vibration response curve according to a phase corresponding to a first time in the first vibration signal, where the phase corresponding to the second time is the same as the phase corresponding to the first time;
and the intercepting subunit is used for intercepting the signal from the initial moment to the second moment in the vibration response curve as the first splicing signal.
8. An electronic device, comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of any of claims 1 to 5.
9. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 5.
CN202010289644.2A 2020-04-14 2020-04-14 Signal processing method and device and electronic equipment Active CN111580644B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010289644.2A CN111580644B (en) 2020-04-14 2020-04-14 Signal processing method and device and electronic equipment
PCT/CN2020/132039 WO2021208447A1 (en) 2020-04-14 2020-11-27 Signal processing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010289644.2A CN111580644B (en) 2020-04-14 2020-04-14 Signal processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111580644A true CN111580644A (en) 2020-08-25
CN111580644B CN111580644B (en) 2023-04-28

Family

ID=72126304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010289644.2A Active CN111580644B (en) 2020-04-14 2020-04-14 Signal processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN111580644B (en)
WO (1) WO2021208447A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394817A (en) * 2020-11-26 2021-02-23 瑞声新能源发展(常州)有限公司科教城分公司 Method, apparatus, electronic device and storage medium for responding to vibration event
WO2021208447A1 (en) * 2020-04-14 2021-10-21 瑞声声学科技(深圳)有限公司 Signal processing method and apparatus, and electronic device
CN114629396A (en) * 2022-03-25 2022-06-14 歌尔股份有限公司 Vibration array system, driving method, device, equipment and medium
CN115357124A (en) * 2022-09-20 2022-11-18 武汉市聚芯微电子有限责任公司 Vibration control method, device, equipment and storage medium
WO2024179200A1 (en) * 2023-02-27 2024-09-06 京东方科技集团股份有限公司 Haptics substrate and driving method therefor, and touch-control apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114859151B (en) * 2022-04-21 2024-12-17 中国科学院空天信息创新研究院 Klystron output cavity parameter measurement method and device, electronic equipment and storage medium
CN119087891B (en) * 2024-11-05 2025-01-24 常州速稳智能机械有限公司 Multi-channel control circuit and control method for piezoelectric vibration machinery

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006177720A (en) * 2004-12-21 2006-07-06 Yaskawa Electric Corp Method for detecting oscillation frequency of motion controller and its device
US20160277125A1 (en) * 2014-01-27 2016-09-22 Tencent Technology (Shenzhen) Company Limited Information Transmission Method, Apparatus And System
CN106301137A (en) * 2016-08-31 2017-01-04 歌尔股份有限公司 Actively control the method for linear motor vibrations, device, system and electronic equipment
CN106411217A (en) * 2016-08-31 2017-02-15 歌尔股份有限公司 Method, device and system for active control linear motor, and electronic equipment
US9806655B1 (en) * 2016-05-19 2017-10-31 AAC Technologies Pte. Ltd. Signal generating method for accurately controlling a motor
CN107734167A (en) * 2017-10-11 2018-02-23 深圳市金立通信设备有限公司 A kind of vibration control method, terminal and computer-readable recording medium
CN107831899A (en) * 2017-11-20 2018-03-23 珠海市魅族科技有限公司 Vibration control method, device, mobile terminal and the readable storage medium storing program for executing of motor
US20180182212A1 (en) * 2015-12-13 2018-06-28 Goertek Inc. Tactile vibration control system and method for smart terminal
WO2018126560A1 (en) * 2017-01-04 2018-07-12 华为技术有限公司 Method for driving a linear resonant actuator, and terminal
CN110189743A (en) * 2019-05-06 2019-08-30 平安科技(深圳)有限公司 Concatenative point smoothing method, apparatus and storage medium in waveform concatenation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8084968B2 (en) * 2007-09-17 2011-12-27 Sony Ericsson Mobile Communications Ab Use of an accelerometer to control vibrator performance
CN108325806B (en) * 2017-12-29 2020-08-21 瑞声科技(新加坡)有限公司 Vibration signal generation method and device
CN111580644B (en) * 2020-04-14 2023-04-28 瑞声科技(新加坡)有限公司 Signal processing method and device and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006177720A (en) * 2004-12-21 2006-07-06 Yaskawa Electric Corp Method for detecting oscillation frequency of motion controller and its device
US20160277125A1 (en) * 2014-01-27 2016-09-22 Tencent Technology (Shenzhen) Company Limited Information Transmission Method, Apparatus And System
US20180182212A1 (en) * 2015-12-13 2018-06-28 Goertek Inc. Tactile vibration control system and method for smart terminal
US9806655B1 (en) * 2016-05-19 2017-10-31 AAC Technologies Pte. Ltd. Signal generating method for accurately controlling a motor
CN106301137A (en) * 2016-08-31 2017-01-04 歌尔股份有限公司 Actively control the method for linear motor vibrations, device, system and electronic equipment
CN106411217A (en) * 2016-08-31 2017-02-15 歌尔股份有限公司 Method, device and system for active control linear motor, and electronic equipment
WO2018126560A1 (en) * 2017-01-04 2018-07-12 华为技术有限公司 Method for driving a linear resonant actuator, and terminal
CN107734167A (en) * 2017-10-11 2018-02-23 深圳市金立通信设备有限公司 A kind of vibration control method, terminal and computer-readable recording medium
CN107831899A (en) * 2017-11-20 2018-03-23 珠海市魅族科技有限公司 Vibration control method, device, mobile terminal and the readable storage medium storing program for executing of motor
CN110189743A (en) * 2019-05-06 2019-08-30 平安科技(深圳)有限公司 Concatenative point smoothing method, apparatus and storage medium in waveform concatenation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021208447A1 (en) * 2020-04-14 2021-10-21 瑞声声学科技(深圳)有限公司 Signal processing method and apparatus, and electronic device
CN112394817A (en) * 2020-11-26 2021-02-23 瑞声新能源发展(常州)有限公司科教城分公司 Method, apparatus, electronic device and storage medium for responding to vibration event
CN112394817B (en) * 2020-11-26 2022-04-26 瑞声新能源发展(常州)有限公司科教城分公司 Method, apparatus, electronic device and storage medium for responding to vibration event
CN114629396A (en) * 2022-03-25 2022-06-14 歌尔股份有限公司 Vibration array system, driving method, device, equipment and medium
CN115357124A (en) * 2022-09-20 2022-11-18 武汉市聚芯微电子有限责任公司 Vibration control method, device, equipment and storage medium
CN115357124B (en) * 2022-09-20 2023-09-05 武汉市聚芯微电子有限责任公司 Vibration control method, device, equipment and storage medium
WO2024179200A1 (en) * 2023-02-27 2024-09-06 京东方科技集团股份有限公司 Haptics substrate and driving method therefor, and touch-control apparatus

Also Published As

Publication number Publication date
CN111580644B (en) 2023-04-28
WO2021208447A1 (en) 2021-10-21

Similar Documents

Publication Publication Date Title
CN111580644A (en) Signal processing method and device and electronic equipment
EP3211504B1 (en) Tactile vibration control system and method for smart terminal
US8866601B2 (en) Overdrive voltage for an actuator to generate haptic effects
US10613635B2 (en) Method and apparatus for generating motor brake signal
EP2713241A2 (en) Generating Haptic Effects for Dynamic Events
US11318378B2 (en) Method for constructing motor vibration model, method and electronic device for haptics implementation, and storage medium
CN110347252B (en) Motor excitation signal generation method and device and computer equipment
EP3827380A1 (en) Secure exploration for reinforcement learning
JP2020025453A (en) Motor drive method, terminal and computer readable recording medium
EP3930922B1 (en) Determining an amplitude of a braking portion of a waveform of a driving voltage signal for a linear resonant actuator
JP2019029012A (en) Haptic effect encoding and rendering system
CN111486779B (en) Signal processing method and device and electronic equipment
CN111831114A (en) Driving voltage generation method and device, storage medium and electronic equipment
EP3304253B1 (en) Techniques for simulated physical interaction between users via their mobile computing devices
CN118410522A (en) Privacy data protection method, device, medium and equipment for large language model
CN115591226B (en) Service processing method, device, equipment and medium
US11645896B2 (en) Systems, devices, and methods for providing actuator braking
CN114237807B (en) Associated control interaction method and device
CN117728733B (en) Motor driving device and driving method
CN113396425B (en) Acceleration method, device and system-on-chip
CN116561735B (en) Mutual trust authentication method and system based on multiple authentication sources and electronic equipment
CN112614486B (en) Voice control execution function method and device applied to sweeper and electronic equipment
CN111435938B (en) Data request processing method, device and equipment
WO2024250202A1 (en) Spring vibration sense generation method and apparatus, device, and storage medium
JP2020170073A (en) Information processor, information processing method, and program

Legal Events

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