CN116124279A - Method, device, equipment and storage medium for determining resonance frequency - Google Patents

Method, device, equipment and storage medium for determining resonance frequency Download PDF

Info

Publication number
CN116124279A
CN116124279A CN202310084895.0A CN202310084895A CN116124279A CN 116124279 A CN116124279 A CN 116124279A CN 202310084895 A CN202310084895 A CN 202310084895A CN 116124279 A CN116124279 A CN 116124279A
Authority
CN
China
Prior art keywords
frequency
resonant frequency
vibration component
excitation signal
frequency offset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310084895.0A
Other languages
Chinese (zh)
Inventor
柳慧芬
***
施韵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Silicon Integrated Co Ltd
Original Assignee
Wuhan Silicon Integrated Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Silicon Integrated Co Ltd filed Critical Wuhan Silicon Integrated Co Ltd
Priority to CN202310084895.0A priority Critical patent/CN116124279A/en
Publication of CN116124279A publication Critical patent/CN116124279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H13/00Measuring resonant frequency
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/34Testing dynamo-electric machines
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The application discloses a method, a device and equipment for determining resonant frequency, wherein the resonant frequency of a first vibration component under the driving condition of a first excitation signal is detected to obtain a first resonant frequency; obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal; mapping the first frequency offset into a second frequency offset based on a target mapping relationship, wherein the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset; and compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component, so that the resonant frequency of the vibration component is rapidly and accurately determined.

Description

Method, device, equipment and storage medium for determining resonance frequency
Technical Field
The present application relates to the field of haptic technology, and relates to, but is not limited to, a method, apparatus, device and storage medium for determining a resonant frequency.
Background
The method for acquiring the real resonant frequency of the motor comprises the following two steps: detected by a motor detection device. Detected by a chip. When the motor detection equipment detects the resonance frequency, sweep frequency signals in a certain frequency range are given to the motor, and the drive frequency corresponding to the maximum vibration quantity, the maximum displacement, the maximum vibration speed and the like which can be achieved when the motor vibrates is used as the resonance frequency of the motor. When the chip detects the resonant frequency, the chip is small in size and applicable to small electronic equipment, but the detection accuracy error of the resonant frequency is high, and the accurate resonant frequency cannot be detected.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for determining a resonant frequency, which can efficiently and accurately determine the resonant frequency of a motor.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, embodiments of the present application provide a method of determining a resonant frequency, the method comprising:
detecting the resonant frequency of the first vibration component under the driving condition of the first excitation signal to obtain a first resonant frequency;
obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal;
mapping the first frequency offset into a second frequency offset based on a target mapping relationship, wherein the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset;
and compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component.
In a second aspect, embodiments of the present application provide an apparatus for determining a resonant frequency, the apparatus comprising:
the detection module is used for detecting the resonance frequency of the first vibration component under the driving condition of the first excitation signal to obtain a first resonance frequency;
The first determining module is used for obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal;
the mapping module is used for mapping the first frequency offset into the second frequency offset based on a target mapping relation, wherein the target mapping relation is a mapping relation between actual frequency offset and detected frequency offset;
and the second determining module is used for compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, at least two vibrating components, and a computer program stored on a memory and executable on the processor, the processor implementing the steps in the method of determining a resonant frequency described above when the computer program is executed by the processor.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, i.e. a storage medium, having stored thereon a computer program which, when executed by a processor, implements the above-mentioned method of determining a resonant frequency.
The method, the device and the equipment for determining the resonant frequency detect the resonant frequency of the first vibration component under the driving condition of the first excitation signal to obtain the first resonant frequency; obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal; mapping the first frequency offset into a second frequency offset based on a target mapping relationship, wherein the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset; compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component; when the resonance frequency of the vibration component is detected, the frequency offset between the driving frequency of the excitation signal and the actual resonance frequency is mapped based on the frequency offset between the driving frequency of the excitation signal driving the vibration component and the detected resonance frequency of the vibration component, and the driving frequency of the excitation signal is compensated through the mapped frequency offset, so that the actual resonance frequency of the vibration component is obtained, and the resonance frequency of the vibration component can be rapidly and accurately determined without the help of a frequency sweep signal in a certain frequency range.
Drawings
Fig. 1 is an alternative schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 2 is a second alternative structural schematic diagram of the electronic device provided in the embodiment of the present application;
FIG. 3 is a schematic flow chart of an alternative method for determining a resonant frequency according to an embodiment of the present application;
FIG. 4A is a schematic diagram showing an alternative relationship between a first frequency offset and a second frequency offset according to an embodiment of the present application;
FIG. 4B is a schematic diagram showing an alternative relationship between a first frequency offset and a second frequency offset according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a set of resonant frequencies provided by an embodiment of the present application;
FIG. 6 is a second alternative flow chart of a method for determining a resonant frequency provided by an embodiment of the present application;
FIG. 7 is a third alternative flow chart of a method of determining a resonant frequency provided by an embodiment of the present application;
FIG. 8 is an alternative schematic diagram of the resonant frequency detection effect provided by the embodiments of the present application;
FIG. 9 is an alternative schematic diagram II of the resonant frequency detection effect provided by the embodiments of the present application;
FIG. 10 is a schematic diagram of an alternative configuration of an apparatus for determining resonant frequency provided by embodiments of the present application;
Fig. 11 is a schematic diagram III of an alternative structure of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
Embodiments of the present application may provide methods, apparatuses, devices, and storage medium for determining a resonant frequency. In practical applications, the method for determining the resonant frequency may be implemented by a device for determining the resonant frequency, and each functional entity in the device for determining the resonant frequency may be cooperatively implemented by a hardware resource of an electronic device (such as a terminal device), a computing resource such as a processor, and a communication resource (such as a device for supporting communications in various manners such as implementing an optical cable and a cellular).
Of course, embodiments of the present application are not limited to being provided as methods and hardware, but may be provided as a storage medium (storing instructions for performing the methods of determining a resonant frequency provided by embodiments of the present application) in a variety of implementations.
Embodiments of a method, an apparatus, a device, and a storage medium for determining a resonant frequency provided in embodiments of the present application are described below. The method for determining the resonant frequency can be applied to electronic equipment comprising a vibration component or not comprising the vibration component.
In one example, as shown in fig. 1, the electronic device includes a vibration assembly 101, which may be a motor, such as: a linear motor. When the driving frequency of the excitation signal driving the vibration assembly is the same as the resonance frequency of the vibration assembly, the vibration effect of the vibration assembly is strongest, i.e., the vibration amount of the vibration assembly is maximized.
In an example, as shown in fig. 2, the electronic device includes a detection component 102 in addition to the vibration component 101, where the detection component 102 is capable of detecting the resonant frequency of the vibration component, but the value of the resonant frequency detected by the detection component 102 has an error with the actual resonant frequency of the vibration component, that is, the actual value of the resonant frequency.
Fig. 3 is a schematic implementation flow chart of a method for determining a resonant frequency according to an embodiment of the present application, as shown in fig. 3, the method includes the following steps:
s301, the electronic equipment detects the resonance frequency of the first vibration component under the driving condition of the first excitation signal, and the first resonance frequency is obtained.
When the electronic equipment needs to detect the resonant frequency of the first vibration component, the electronic equipment triggers the generation of a first excitation signal, drives the first vibration component to vibrate through the first excitation signal, and detects the resonant frequency of the first vibration component through the detection device during the period that the first excitation signal acts on the first vibration component, and the obtained detection result is identified as the first vibration frequency. Wherein the first vibration frequency has the potential to be in a large error with the actual resonant frequency of the first vibration assembly.
In embodiments of the present application, the first resonant frequency may be identified as f' test
In practical application, the electronic device may be provided with at least one vibration component, and the first vibration component is any one of the vibration components provided by the electronic device.
S302, the electronic equipment obtains a first frequency offset based on the first resonant frequency and the first driving frequency of the first excitation signal.
The electronic device obtains a driving frequency of the first excitation signal, namely a first driving frequency, and determines a first frequency offset based on the first driving frequency and the first vibration frequency. The electronic equipment can directly determine the first frequency offset based on the first resonant frequency and the first driving frequency, and can also determine the first frequency offset through a set frequency offset algorithm.
Taking the example that the electronic device directly determines the first frequency offset based on the first resonant frequency and the first driving frequency, S302 obtains implementation of the first frequency offset based on the first resonant frequency and the first driving frequency of the first excitation signal, where the implementation includes: and determining the frequency difference between the first resonant frequency and the first driving frequency as the first frequency deviation.
At this time, the first frequency offset Δf'1 is a frequency difference between the first resonance frequency and the first driving frequency of the first excitation signal as shown in formula (1):
Δf'1=f' test -f' drive equation (1).
Taking the example that the electronic equipment determines the first frequency offset through a set frequency offset algorithm, the electronic equipment calculates the first frequency offset by taking the frequency difference between the first resonant frequency and the first driving frequency as a parameter.
At this time, the first frequency offset Δf'1 is shown in equation (2), and the frequency difference between the first resonant frequency and the first driving frequency of the first excitation signal is a parameter of the frequency offset conversion function:
Δf'1=g(f' test -f' drive ) Formula (2);
wherein g (·) is a frequency offset conversion function corresponding to the frequency offset algorithm.
The frequency offset conversion function is a function of determining a first frequency offset by taking a frequency difference between a first resonant frequency and a first driving frequency of a first excitation signal as a known parameter, and can be a first order, a second order or a third order polynomial.
In one example, the frequency offset conversion function may be expressed as equation (3):
g (x) =ax+b formula (3);
a. b are coefficients in the frequency offset conversion function, respectively.
In this embodiment of the present application, a determination manner of determining the first frequency offset by the electronic device based on the first resonant frequency and the first driving frequency is not limited.
S303, the electronic equipment maps the first frequency offset to the second frequency offset based on a target mapping relation, wherein the target mapping relation is a mapping relation between the actual frequency offset and the detected frequency offset.
In the embodiment of the present application, the target mapping relationship is a relationship between a first frequency offset and a second frequency offset, where the first frequency offset is a frequency offset determined based on a detection result of a resonant frequency of the vibration component, that is, the first resonant frequency, and the second frequency offset is a frequency offset determined based on an actual resonant frequency of the vibration component mapped by the first frequency offset, that is, the target resonant frequency.
The target mapping relationship, the first frequency offset, and the second frequency offset Δf'2 may be expressed as formula (4):
Δf '2=f (Δf' 1) formula (4);
wherein f (·) is the target mapping relationship.
In the embodiment of the present application, the target mapping relationship includes, but is not limited to, a matrix relationship, a taylor equation, differentiation, integration, and the like, and may also be map table search, and the like.
It is understood that the target mapping relationship may be established by the electronic device itself or may be obtained from another electronic device.
In the case where the target mapping relationship is established for the electronic device itself, the manner in which the electronic device establishes the target mapping relationship may include, but is not limited to, iteration, fitting, regression, neural network, and the like.
And S304, the electronic equipment compensates the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component.
And under the condition that the delta f'2 is determined, the electronic equipment compensates the first driving frequency by the second frequency offset based on the compensation relation between the second frequency offset and the first driving frequency and the second resonant frequency, so as to obtain the target resonant frequency. The target resonant frequency is the actual resonant frequency of the first vibratory component determined based on the method of determining the resonant frequency shown in fig. 3.
In the embodiment of the application, the relationship among the second frequency offset, the target resonant frequency and the first driving frequency is the same as the relationship among the first frequency offset, the first resonant frequency and the first driving frequency.
In an example, the first frequency offset Δf1 is a frequency difference f 'between the first resonant frequency and the first driving frequency' test -f' drive The second frequency deviation is the target resonant frequency f 'of the first vibration component shown in formula (5)' real With a first driving frequency f' drive Frequency difference between:
Δf'2=f' real -f' drive equation (5).
Based on equation (5), the target resonant frequency can be expressed as equation (6):
f' real =Δf'2+f' drive equation (6).
In an example, a first frequency offsetΔf '1 is expressed as formula (2), then the second frequency offset, the target resonant frequency f ' of the first vibrating assembly ' real With a first driving frequency f' drive The relationship between them can be expressed as formula (7):
Δf'2=g(f' real -f' drive ) Equation (7).
Based on equation (7), the target resonant frequency can be expressed as equation (8):
f' real =g'(Δf'2)+f' drive equation (8).
Wherein g' (. Cndot.) is the inverse of g (. Cndot.).
In this embodiment of the present application, in the case that the target mapping relationship is a function expression, S302 and S303 may be represented by a mapping function, where the mapping function is a function expression of the first driving frequency and the first frequency offset, and the first excitation signal and the first frequency offset are input to the mapping function, so that the target resonant frequency after the first driving frequency is compensated by the second frequency offset mapped by the first frequency offset can be obtained.
According to the method provided by the embodiment of the application, as shown in fig. 4A, a first frequency offset 401 is determined based on a first resonant frequency and a first driving frequency of a first excitation signal, and a target mapping relation 403 exists between the first frequency offset 401 and a second frequency offset, then, under the condition that the first frequency offset 401 is known, a second frequency offset 402 is determined through the target mapping relation 403, and the first driving frequency is compensated through the second frequency offset 402, so that a target resonant frequency of the first vibration component is obtained.
According to the method for determining the resonant frequency, which is provided by the embodiment of the application, the resonant frequency of the first vibration component under the driving condition of the first excitation signal is detected, and the first resonant frequency is obtained; obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal; mapping the first frequency offset into a second frequency offset based on a target mapping relationship, wherein the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset; the electronic equipment compensates the first driving frequency through the second frequency offset, and the target resonant frequency is the actual resonant frequency of the first vibration component; when the resonance frequency of the vibration component is detected, the frequency offset between the driving frequency of the excitation signal and the actual resonance frequency is mapped based on the frequency offset between the driving frequency of the excitation signal driving the vibration component and the detected resonance frequency of the vibration component, and the driving frequency of the excitation signal is compensated through the mapped frequency offset, so that the actual resonance frequency of the vibration component is obtained, and the resonance frequency of the vibration component can be rapidly and accurately determined without the help of a frequency sweep signal in a certain frequency range.
In some embodiments, prior to S302, the electronic device further performs the following: acquiring signal parameters of the first excitation signal; the first resonant frequency is adjusted based on a signal parameter of the first excitation signal.
In the embodiment of the application, before determining the first frequency offset based on the first resonant frequency, the electronic device further obtains a signal parameter of the first excitation signal, adjusts the first resonant frequency through the signal parameter of the first excitation signal, and obtains an adjusted first resonant frequency, and at this time, the first frequency offset is determined according to the adjusted resonant frequency and the first driving frequency.
The signal parameters of the first excitation signal may include: parameters such as signal type, duration, amplitude and the like, wherein the signal type comprises parameters of waveforms of knowledge excitation signals such as sine waves, square waves, triangular waves, round corner square waves, mixed waveform signals combined in different types and the like, and the duration can be understood as the duration that the first excitation signal acts on the first vibration component.
The manner in which the signal parameter of the first excitation signal adjusts the first resonant frequency may include, but is not limited to:
the method includes the steps that A1, signal parameters of a first excitation signal are mapped to first adjustment coefficients, and the first resonant frequency is adjusted through the first adjustment coefficients;
Mode A2 adjusts the first resonant frequency using the first excitation signal as a first adjustment coefficient.
In the mode A1, the signal parameter of the first excitation signal is converted into a first adjustment coefficient by the first conversion relation, and the first resonance frequency is adjusted by the first adjustment coefficient.
In one example, the signal parameters of the first excitation signal include: amplitude 1, duration 1 and signal type a, mapping the amplitude 1, duration 1 and signal type a into a first adjustment coefficient with a value a through a first conversion relation, and adjusting a first resonance frequency with a value b through a at this time to obtain an adjusted first resonance frequency with a value a.
The form of the first conversion relationship may be a function, a table, or the like, and the embodiment of the present application does not limit the form of the first conversion relationship in any way.
In the mode A2, the signal parameter of the first excitation signal is directly applied to the first resonance frequency, and the first resonance frequency is adjusted.
When the signal parameters of the first excitation signal include a plurality of signal parameters, the first adjustment coefficients corresponding to the signal parameters may be weighted and then applied to the first resonant frequency.
In the embodiment of the application, in the process of determining the resonant frequency of the first vibration component, the influence of the first excitation signal on the detection result of the resonant frequency detected by the detection device is considered, so that the detection result of the resonant frequency detected by the detection device, namely, the first resonant frequency, is adjusted through the signal parameter of the first excitation signal, thereby eliminating the influence of the first excitation signal on the detection result of the resonant frequency detected by the detection device, and improving the prediction precision of the resonant frequency of the first vibration component.
In some embodiments, prior to S302, the electronic device further performs the following:
acquiring a first environment parameter, wherein the first environment parameter is an environment parameter of a first detection environment for detecting the resonant frequency of the first vibration component under the driving condition of a first excitation signal; the first resonant frequency is adjusted based on the first environmental parameter.
In this embodiment of the present application, before determining the first frequency offset according to the first resonant frequency, the electronic device further obtains a first environmental parameter, which is an environmental parameter of a detection environment in which the electronic device detects the first resonant frequency, and adjusts the first resonant frequency through the first environmental parameter to obtain an adjusted first resonant frequency, and at this time, determines the first frequency offset according to the adjusted resonant frequency and the first driving frequency.
The first environmental parameter may include: parameters such as temperature, humidity, fixed type, wherein, fixed type can understand the type of fixed vibration subassembly of device that fixes vibration subassembly, frock promptly, include: mobile phones, fixed modules, etc.
The manner in which the first environmental parameter adjusts the first resonant frequency may include, but is not limited to:
the method includes the steps that A1, a first environment parameter is mapped to a second adjustment coefficient, and the first resonant frequency is adjusted through the second adjustment coefficient;
Mode B2, adjusting the first resonant frequency using the first environmental parameter and the second adjustment coefficient.
For mode B1, the first environmental parameter is converted into a second adjustment coefficient by a second conversion relationship, and the first resonant frequency is adjusted by the second adjustment coefficient.
In an example, the first environmental parameter includes: and mapping the temperature 1 and the humidity 2 into a second adjustment coefficient with a value of c through a second conversion relation, and adjusting the first resonant frequency with a value of b through c at the moment to obtain the adjusted first resonant frequency with a value of c.
The form of the second conversion relationship may be a function, a table, or the like, and the embodiment of the present application does not limit the form of the second conversion relationship.
For mode B2, the first environmental parameter is directly applied to the first resonant frequency, thereby adjusting the first resonant frequency.
In the case that the first environmental parameter includes a plurality of parameters, the second adjustment coefficients corresponding to the parameters in the first environmental parameter may be weighted and then applied to the first resonant frequency.
In the embodiment of the application, in the process of determining the resonant frequency of the first vibration component, the influence of the detection environment on the detection result of the resonant frequency detected by the detection device is considered, so that the parameter of the detection environment through the first environment parameter set adjusts the detection result of the resonant frequency detected by the detection device, namely the first resonant frequency, thereby eliminating the influence of the detection environment on the detection result of the resonant frequency detected by the detection device and improving the prediction precision of the resonant frequency of the first vibration component.
In this embodiment, as shown in fig. 4B, the first resonant frequency is adjusted based on the signal parameter of the first excitation signal and/or the environmental parameter of the first detection environment, and the first frequency offset 401 is determined through the adjusted first resonant frequency and the first driving frequency.
In practical applications, the first resonant frequency may be adjusted by one or both of the signal parameters of the first excitation signal, i.e. the first signal parameter and the first ambient parameter, before the first frequency offset is determined based on the first resonant frequency. If the first resonant frequency is adjusted through the first signal parameter and the first environmental parameter, obtaining a second adjusted first resonant frequency, and determining a first frequency offset through the second adjusted first resonant frequency, wherein the adjustment sequence of the first signal parameter and the first environmental parameter is not limited. Such as: the first resonant frequency is adjusted based on the first signal parameter to obtain a first resonant frequency which is adjusted once, and the first resonant frequency which is adjusted once is adjusted based on the first environment parameter to obtain a first resonant frequency which is adjusted twice. For another example: the first resonant frequency is adjusted based on the first environmental parameter to obtain a first resonant frequency which is adjusted once, and the first resonant frequency which is adjusted once is adjusted based on the first signal parameter to obtain a first resonant frequency which is adjusted twice.
In this embodiment of the present application, the target mapping relationship may be established for the electronic device itself or may be obtained from another device, and in the case where the target mapping relationship is established for the electronic device itself, the electronic device further performs the following processing:
for each second vibration component in at least one second vibration component, obtaining a second resonance frequency of the second vibration component under the driving condition of each second excitation signal in at least one second excitation signal, and establishing a first association relation between the second resonance frequency and a second driving frequency of a corresponding second excitation signal and a third resonance frequency of the second vibration component; the third resonant frequency is the actual resonant frequency of the corresponding second vibration assembly; and constructing the target mapping relation based on the first association relation corresponding to each second vibration component in the at least one second vibration component.
When the electronic equipment builds a target mapping relation, a first association relation is built, wherein the first association relation is a relation among the driving frequency of an excitation signal for driving the vibration component, the detection result of the detection device on the resonance frequency of the vibration component and the actual resonance frequency of the vibration component. Here, the vibration component on which the excitation signal acts in the build target map is referred to as a second vibration component, and the excitation signal driving the second vibration component is referred to as a second excitation signal, and the driving frequency of the second excitation signal is referred to as a second driving frequency f drive The resonance frequency of the second vibration component detected by the detection device is called a second resonance frequency f test The actual resonant frequency of the second vibrating assembly is referred to as the third resonant frequency f real The third resonance frequency may be obtained by the electronic device from other devices, where the other devices may be devices that cannot detect the resonance frequency, or may be detection devices that can detect the resonance frequency of the vibration component by using a frequency sweep signal in a certain frequency range, where the third resonance frequency that is a detection result of the resonance frequency of the second vibration component detected by the detection device is an actual resonance frequency of the second vibration component.
The electronic device may construct a first association relationship for each of the at least one second vibration component, and may construct a set of first association relationships for a second vibration component, where a set of first association relationships includes at least one first association relationship, and at least one of the second resonant frequency and the second driving frequency is different in different first association relationships. It can be appreciated that for a set of first associations, the third resonant frequencies in different first associations are the same.
In an example, the electronic apparatus drives the vibration assemblies 1 to 5 as follows: respectively applying the excitation signals A to C to the vibration assembly 1 to obtain a group of first association relations corresponding to the vibration assembly 1, wherein the group of first association relations comprise: the association relationships 1A, 1B and 1C apply the excitation signals a to C to the vibration assembly 2, respectively, and obtaining a set of first association relationships corresponding to the vibration assembly 2 includes: the association relationship 2A, the association relationship 2B and the association relationship 2C apply the excitation signals a to C to the vibration component 3, respectively, and obtaining a set of first association relationships corresponding to the vibration component 3 includes: the association relationship 3A, the association relationship 3B, and the association relationship 3C, respectively applying the excitation signals a to C to the vibration assembly 4, and obtaining a set of first association relationships corresponding to the vibration assembly 4 includes: the association relationship 4A, the association relationship 4B, and the association relationship 4C, and applying the excitation signals a to C to the vibration assembly 5 respectively, to obtain a set of first association relationships corresponding to the vibration assembly 5 includes: the association relationship 5A, the association relationship 5B, and the association relationship 5C, and constructs the target mapping relationship based on the first association relationship included in the five sets of first association relationships.
It should be noted that, in the above example, at least one second excitation signal corresponding to a different second vibration assembly is the same, and in practical application, at least one second excitation signal corresponding to a different second vibration assembly may be different.
In some embodiments, constructing the target mapping relationship based on the first association relationship corresponding to each of the at least one second vibration component includes: for each first incidence relation in at least one first incidence relation corresponding to each second vibration component in the at least one second vibration component, determining a first reference frequency offset based on a second resonance frequency and a second driving frequency in the first incidence relation, and determining a second reference frequency offset based on a second driving frequency and a third resonance frequency in the first incidence relation so as to obtain at least one group of reference frequency offsets, wherein one group of reference frequency offsets comprises a first reference frequency offset and a second reference frequency offset corresponding to the first reference frequency offset; and constructing the target mapping relation based on the at least one group of reference frequency offsets.
When the target mapping relation is constructed, for a first incidence relation, a first reference frequency offset and a second reference frequency offset corresponding to the first incidence relation can be determined, and the target mapping relation is constructed based on the relation between the first reference frequency offset and the second reference frequency offset corresponding to each first incidence relation, wherein the first reference frequency offset is determined based on a second driving frequency and a second resonant frequency, and the second reference frequency offset is determined based on the second driving frequency and a third resonant frequency. For a first association relation, a group of reference frequency offsets corresponds to the first association relation, and the group of reference frequency offsets corresponding to the first association relation comprises a first reference frequency offset and a second reference frequency offset corresponding to the first association relation.
It is understood that the manner of determining the first reference frequency offset based on the second driving frequency and the second resonant frequency, the manner of determining the second reference frequency offset based on the second driving frequency and the third resonant frequency, and the manner of determining the first frequency offset based on the first driving frequency and the first resonant frequency are the same. In an example, if the first reference frequency offset is a frequency difference between the second resonant frequency and the second driving frequency, the second reference frequency offset is a frequency difference between the third resonant frequency and the second driving frequency, the first reference frequency offset Δf1=f test -f drive Second reference frequency offset Δf2=f real -f drive
In this embodiment of the present application, the relationship between the target mapping relationship f (·) and the first reference frequency offset Δf1 and the second reference frequency offset Δf2 may be expressed as formula (9):
Δf2=f (Δf1) formula (9).
In an example, the relationship between the target mapping relationship f (·) and the first reference frequency offset Δf1, the second reference frequency offset Δf2 may be expressed as formula (10):
Δf2=f (Δf1) =a1 Δf1+b1 equation (10);
wherein, formula (10) can also be expressed as formula (11):
f real =f drive +a1 Δf1+b1 equation (11).
And (3) calculating a1 and b1 in the formula (10) or the formula (11) through a first reference frequency offset and a second reference frequency offset corresponding to each first association in at least one first association, so as to obtain a target mapping relationship between delta f1 and delta f 2.
In some embodiments, if the first resonant frequency is adjusted based on the signal parameter of the first excitation signal, before the target mapping relationship is constructed based on the first association relationship corresponding to each second vibration component in the at least one second vibration component, the method further includes: and acquiring signal parameters of corresponding second excitation signals for the first association relation, and adjusting the second resonance frequency based on the signal parameters of the second excitation signals.
Here, considering the influence of the excitation signal on the detection result of the detection device on the resonance frequency of the second vibration component, before the target mapping relationship is constructed by at least one first association relationship, for a second resonance frequency, the second resonance frequency may be adjusted by detecting the signal parameter of the second excitation signal when the second resonance frequency is detected, so as to obtain an adjusted second resonance frequency, where the second resonance frequency in the first association relationship is replaced by the adjusted second resonance frequency.
Here, the manner of adjusting the second resonant frequency by the signal parameter of the second excitation signal refers to the manner of adjusting the first resonant frequency by the signal parameter of the first excitation signal, which is not described herein again.
In some embodiments, if the first resonant frequency is adjusted based on a first environmental parameter, the first environmental parameter is an environmental parameter of a first detection environment that detects a resonant frequency of the first vibration component driven by a first excitation signal; before constructing the target mapping relationship based on the first association relationship corresponding to each second vibration component in the at least one second vibration component, the method further includes:
and for the first association relation, acquiring a second environment parameter corresponding to a corresponding second excitation signal, and adjusting the second resonant frequency based on the second environment parameter, wherein the second environment parameter is an environment parameter of a second detection environment in which the second excitation signal in the first association relation drives a corresponding second vibration component.
Here, considering that the detection result of the detection device on the resonant frequency of the second vibration component is affected by the detection environment, before the target mapping relationship is constructed by at least one first association relationship, for a second resonant frequency, the second resonant frequency may be adjusted by detecting the detection environment at the second resonant frequency, that is, the environmental parameter of the second detection environment, that is, the second environmental parameter, to obtain an adjusted second resonant frequency, where the second resonant frequency in the first association relationship is replaced by the adjusted second resonant frequency.
In practical application, the second resonant frequency may be adjusted by one or both of the second signal parameter and the second environment parameter, which are signal parameters of the second excitation signal, before the target mapping relationship is constructed based on at least one first association relationship. If the second resonant frequency is adjusted by the second signal parameter and the second environmental parameter, the second resonant frequency after the second adjustment is obtained, and at this time, the second resonant frequency in the first association relationship is replaced by the second resonant frequency after the second adjustment, wherein the adjustment sequence of the second signal parameter and the second environmental parameter is not limited. Such as: the first resonant frequency is adjusted based on the second signal parameter to obtain a first adjusted second resonant frequency, and the first adjusted second resonant frequency is adjusted based on the second environment parameter to obtain a second adjusted second resonant frequency. For another example: the first resonant frequency is adjusted based on the first environmental parameter to obtain a first adjusted second resonant frequency, and the first adjusted second resonant frequency is adjusted based on the second signal parameter to obtain a second adjusted second resonant frequency.
Next, a method for determining a resonance frequency provided in the embodiment of the present application will be described.
The linear motor is difficult to obtain resonant frequency meeting design requirements and the consistency is difficult to meet expectations due to the influences of internal structures, materials and processes; meanwhile, along with the change of the external environment, obvious fluctuation of the resonance frequency can also occur.
In the related art, the resonant frequency with high precision cannot be obtained rapidly and effectively, so that an obvious vibration weakening phenomenon occurs when the deviation between an actual excitation signal and the resonant frequency of the linear motor is large, and the phenomenon that the user feels bad when using the device is easy to occur.
According to the embodiment of the application, the real resonant frequency of the motor in different working states can be effectively obtained under different environments such as different temperatures and humidity, the accuracy is high, the phenomenon that the vibration sense is obviously weakened due to the fact that the resonant frequency is large when single-frequency excitation is avoided, and the touch sense experience is more accurate and finer.
According to the compensation method for the resonant frequency of the linear motor, when the resonant frequency of the motor is actually detected, the excitation signal frequency of the driving motor and the motor frequency offset are led into the mapping function of the motor frequency offset, and the detection value of the resonant frequency of the motor output by the mapping function of the motor frequency offset is obtained; this value is less than 1Hz from the true resonant frequency error of the motor in the current environment.
The method for determining the resonant frequency provided by the embodiment of the application comprises the following technical points:
1. the motor resonance frequency detection value is an output value obtained by inputting the excitation signal frequency and the motor frequency offset into a mapping function;
2、(f real -f drive )、Δf1=(f test -f drive )、(Δf1+f drive ) All can represent frequency offset; wherein f drive For driving frequency of excitation signal, f test The detection value of the motor resonance frequency obtained by the detection equipment in the corresponding environment comprises, but is not limited to, a chip, and can also be the detection completed by other electronic equipment; f (f) real The real resonance frequency of the motor in the corresponding environment is obtained through standard equipment in the corresponding environment.
3. The mapping function is predefined and is obtained by analyzing motor resonance frequency sets under different detection states;
3.1 Mapping functions including, but not limited to, matrix relationships, taylor equations, differentiation, integration, etc., as well as map table searches, etc.;
3.2 The solution process of the mapping function includes, but is not limited to, iterative, fitting, regression, neural network, etc. calculation methods;
4. the mapping function contains different excitation signals and environmental influences;
5. the motor resonance frequency sets under different detection states are obtained by different excitation signal sets, environment sets, detection equipment and the like:
5.1 The excitation signal set contains different signal types, durations, amplitudes, etc.; the signal type can be sine wave, square wave, triangular wave, round square wave and mixed waveform signals of different types and combinations;
5.2 The detection environment set comprises different temperatures, humidity, tool types and the like; the tool can be understood as a device or equipment for fixing a motor, can be a mobile phone, can be a block capable of being fixed, and the like;
5.3 The detection device comprises a standard device source and a detection device source; the standard equipment source is equipment for motor factory detection or motor acceptance by a client, and the actual resonant frequency of the linear motor can be detected; the current convention is to use a high-precision sensor and acquisition equipment; the detection equipment source is a chip or other electronic direct detection, and the detection equipment source is free of a sensor and can be used as a detection device for detecting the resonance frequency of the motor, wherein the resonance frequency detected by the detection device has deviation from the actual resonance frequency detected by the standard detection source.
In the method for determining the resonant frequency provided by the embodiment of the application, different excitation signals are set, the set excitation signals comprise mixed waveform signals with different types, durations, amplitudes and different signal combinations, and the like, in environments with different temperatures, humidity and the like, the motor is driven by the set excitation signals, and a motor resonant frequency set M is obtained, wherein the resonant frequency set M can be shown in fig. 5 and comprises an environment parameter set, a signal parameter set, a second resonant frequency, a third resonant frequency and a second driving frequency, and the environment parameter set comprises: a plurality of environmental parameters such as temperature, humidity, fixed type, and the signal parameter set includes: parameters of the driving signal such as amplitude, duration, signal type, etc., thereby constructing the target mapping relationship based on the set of resonant frequencies.
A second reference deviation of the true resonant frequency of the motor from the excitation signal is obtained based on the set of motor resonant frequencies M. Based on the set M, obtaining a motor resonant frequency detection value f test And excitation signal f drive Is included in the first reference frequency offset. Analyzing the relation between the first reference frequency offset and different excitation signals, temperature and humidity, adjusting the first reference frequency offset and the second reference frequency offset, and constructing f real And f drive And a function between the first reference frequency offset, and solving based on a numerical calculation method to establish a mapping relation of the three, namely a target mapping relation. In the actual resonant frequency detection, f 'is determined' drive And a first frequency offset (Δf ' 1=f ' ' test -f' drive ) In the established mapping relation, outputting the detected value f of the motor resonant frequency in the actual state out I.e. f' real And the accuracy is 1Hz.
In the method for determining the resonant frequency provided in the embodiment of the present application, a process for constructing the target mapping relationship is shown in fig. 6, and includes:
s601, determining a resonance frequency set M of the motor under the environment corresponding to the environment parameter set A.
The environmental parameter set a includes environmental parameters such as different temperatures and humidity. In the environment corresponding to the environment parameter set A, driving the motor by adopting the excitation signal set B to obtain the resonance frequency detection value f of the motor in the orthogonal experiment of the environment parameter set A and the excitation signal set B test True resonant frequency f of motor real And combine f test 、f real A set of motor resonant frequencies M is established.
The excitation signal set B comprises signal parameters including different signal types, time lengths, amplitude values and the like; the signal types may be sine wave, square wave, triangular wave, rounded square wave, and mixed waveform signals of different signal type combinations.
S602, obtaining a second reference frequency offset between the real resonance frequency of the motor and the driving frequency of the excitation signal according to M.
The second reference frequency offset may be expressed as Δf2= (f) real -f drive )。
S603, obtaining a first reference frequency offset between a motor resonance frequency detection value and the driving frequency of the excitation signal according to M;
the first reference frequency offset may be expressed as Δf1= (f) test -f drive )。
S604, establishing a target mapping relation among the real resonant frequency of the motor, the first frequency offset and the driving frequency of the excitation signal based on the first frequency offset and the second frequency offset.
Wherein, the target mapping relationship can be expressed as formula (12):
f(Δf1)=f real -f drive equation (12);
after the target mapping relationship is established, the resonant frequency of the motor with unknown resonant frequency is detected based on the established target mapping relationship, and in the method for determining the resonant frequency provided in the embodiment of the present application, the process of detecting the resonant frequency of the motor with unknown resonant frequency based on the established target mapping relationship is shown in fig. 7, and includes:
S701, detecting the motor resonance frequency by adopting a current detection equipment source to obtain a detection value;
the detection value of the actual resonant frequency can be expressed as f' test
S702, calculating the frequency offset of the detection equipment.
The frequency offset of the detection device can be expressed as f' test -f' drive
S703, bringing the frequency deviation of the detection equipment into the mapping function to obtain the resonance frequency of the motor.
The resonant frequency of the motor can be expressed as equation (13),
f' out =f(Δf'1)+f' drive equation (13);
the electronic device obtains the value f 'of the resonance frequency of the motor' real The resulting motor resonant frequency satisfies equation (14):
|f' real -f” real the I is less than or equal to 1Hz formula (14);
f” real is the actual resonant frequency of the motor.
The method for determining a resonant frequency provided in the embodiments of the present application can be implemented to include, but is not limited to, the following first embodiment and the second embodiment.
Example 1
Based on the establishment process of the target mapping relation shown in fig. 6, a resonance frequency set M is established and subjected to numerical analysis to obtain f shown in formula (11) real First reference frequency offsets Δf1 and f drive Mapping function between:
f real =f drive +a1 Δf1+b1 formula (11);
wherein, a1 and b1 are compensation parameters, and the value ranges of a1 and b1 are [ -1,1].
In actual detection, the data collected by the detection equipment source is subjected to frequency offset processing and is input into a mapping function together with an excitation signal for processing, and finally the resonance frequency detection value f 'of the motor in the current environment state of the motor is output' real And f' real The detection precision of the device meets the precision requirement of 1Hz.
Based on the mapping function shown in the formula (5), determining the resonance frequency can be shown in fig. 8, wherein 801 is the real resonance frequency of the motor measured by the standard equipment source under different environments; 802 is a value of the resonant frequency of the detection device that is not processed by the mapping function; each circular node is a value of the resonant frequency of the detection equipment processed by the mapping function and is a final output value; it can be seen that the output value of the detection device after the resonance frequency is processed by the mapping function is closer to the real resonance frequency, and the accuracy is 1Hz.
Example two
Compared with the first embodiment, the second embodiment is different from the first embodiment in that the mapping function is as shown in the formula (15):
f real =f drive +a2*Δf1 2 +b2×fΔf1+c2 formula (15);
wherein a2, b2 and c2 are compensation parameters.
Based on the mapping function shown in the formula (12), determining the resonance frequency can be shown in fig. 9, wherein 901 is the real resonance frequency of the motor measured by the standard equipment source under different environments; 902 is a value of the resonant frequency of the detection device that is not processed by the mapping function; each circular node is a value of the resonant frequency of the detection equipment processed by the mapping function and is a final output value; it can be seen that the output value of the detection device after the resonance frequency is processed by the mapping function is closer to the real resonance frequency, and the accuracy is 1Hz.
In order to implement the method for determining a resonant frequency, an embodiment of the present application provides an apparatus for determining a resonant frequency, as shown in fig. 10, an apparatus 1000 includes:
the detection module 1001 detects the resonant frequency of the first vibration component under the driving condition of the first excitation signal, so as to obtain a first resonant frequency;
a first determining module 1002, configured to obtain a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal;
a mapping module 1003, configured to map the first frequency offset to a second frequency offset based on a target mapping relationship, where the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset;
the second determining module 1004 is configured to compensate the first driving frequency by using the second frequency offset to obtain a target resonant frequency, where the target resonant frequency is an actual resonant frequency of the first vibration component.
In some embodiments, the first determining module 1002 is further configured to determine a frequency difference between the first resonant frequency and the first driving frequency as the first frequency offset.
In some embodiments, the apparatus 1000 further comprises:
the first acquisition module is used for acquiring signal parameters of the first excitation signal;
And the first adjusting module is used for adjusting the first resonant frequency based on the signal parameter of the first excitation signal.
In some embodiments, the apparatus 1000 further comprises:
the first acquisition module is used for acquiring a first environment parameter, wherein the first environment parameter is an environment parameter of a first detection environment for detecting the resonant frequency of the first vibration component under the driving condition of a first excitation signal;
and the second adjusting module is used for adjusting the first resonant frequency based on the first environment parameter.
In some embodiments, the apparatus 1000 further comprises: the establishing module is used for:
for each second vibration component in at least one second vibration component, obtaining a second resonance frequency of the second vibration component under the driving condition of each second excitation signal in at least one second excitation signal, and establishing a first association relation between the second resonance frequency and a second driving frequency of a corresponding second excitation signal and a third resonance frequency of the second vibration component; the third resonant frequency is the actual resonant frequency of the corresponding second vibration assembly; and constructing the target mapping relation based on the first association relation corresponding to each second vibration component in the at least one second vibration component.
In some embodiments, the setup module is further to: for each first incidence relation in at least one first incidence relation corresponding to each second vibration component in the at least one second vibration component, determining a first reference frequency offset based on a second resonance frequency and a second driving frequency in the first incidence relation, and determining a second reference frequency offset based on a second driving frequency and a third resonance frequency in the first incidence relation so as to obtain at least one group of reference frequency offsets, wherein one group of reference frequency offsets comprises a first reference frequency offset and a second reference frequency offset corresponding to the first reference frequency offset; and constructing the target mapping relation based on the at least one group of reference frequency offsets.
In some embodiments, the setup module is further to: and if the first resonant frequency is adjusted based on the signal parameters of the first excitation signal, acquiring the signal parameters of the corresponding second excitation signal according to the first association relation, and adjusting the second resonant frequency based on the signal parameters of the second excitation signal.
In some embodiments, the setup module is further to: if the first resonant frequency is adjusted based on a first environmental parameter, the first environmental parameter is an environmental parameter of a first detection environment for detecting the resonant frequency of the first vibration component under the driving condition of a first excitation signal, and for the first association relation, a second environmental parameter corresponding to a corresponding second excitation signal is obtained, and the second resonant frequency is adjusted based on the second environmental parameter, wherein the second environmental parameter is an environmental parameter of a second detection environment for driving a corresponding second vibration component by a second excitation signal in the first association relation, and the first environmental parameter is an environmental parameter of a first detection environment for detecting the resonant frequency of the first vibration component under the driving condition of the first excitation signal.
It should be noted that, each logic unit included in the apparatus for determining a resonant frequency provided in the embodiment of the present application may be implemented by a processor in an electronic device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, micro Processor Unit), a digital signal processor (DSP, digital Signal Processor) or a Field programmable gate array (FPGA, field-Programmable Gate Array), or the like.
The description of the system embodiments above is similar to that of the method embodiments above, with similar benefits as the method embodiments. For technical details not disclosed in the system embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the method for determining the resonant frequency is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in 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 magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
The embodiments of the present application also provide an electronic device comprising a memory, a processor, at least one vibration component, and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the above-implemented method of determining a resonant frequency.
Accordingly, embodiments of the present application provide a storage medium, i.e., a computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the method of determining a resonant frequency provided in the above embodiments.
It should be noted here that: the description of the storage medium embodiments above is similar to that of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the storage medium embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be noted that fig. 11 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application, as shown in fig. 11, the electronic device 1100 includes: a processor 1101, at least one communication bus 1102, at least one external communication interface 1104, and a memory 1105. Wherein communication bus 1102 is configured to enable connected communication between the components. In an example, the electronic device 1100 further includes: user interface 1103, wherein user interface 1103 may comprise a display screen, and external communication interface 1104 may comprise a standard wired interface and a wireless interface. The electronic device provided by the embodiment of the application further comprises a vibration component, and the vibration component can vibrate based on the excitation signal to generate vibration sense.
The memory 1105 is configured to store instructions and applications executable by the processor 1101, and may also cache data (e.g., image data, audio data, and communication data) to be processed or processed by various modules in the processor 1101 and the electronic device, and may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A method of determining a resonant frequency, the method comprising:
detecting the resonant frequency of the first vibration component under the driving condition of the first excitation signal to obtain a first resonant frequency;
obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal;
mapping the first frequency offset into a second frequency offset based on a target mapping relationship, wherein the target mapping relationship is a mapping relationship between an actual frequency offset and a detected frequency offset;
and compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component.
2. The method of claim 1, wherein the deriving a first frequency offset based on the first resonant frequency and a first drive frequency of the first excitation signal comprises:
and determining the frequency difference between the first resonant frequency and the first driving frequency as the first frequency deviation.
3. The method according to claim 1 or 2, wherein prior to deriving the first frequency offset based on the first resonant frequency and the first drive frequency of the first excitation signal, the method further comprises:
Acquiring signal parameters of the first excitation signal;
the first resonant frequency is adjusted based on a signal parameter of the first excitation signal.
4. The method according to claim 1 or 2, wherein prior to deriving the first frequency offset based on the first resonant frequency and the first drive frequency of the first excitation signal, the method further comprises:
acquiring a first environment parameter, wherein the first environment parameter is an environment parameter of a first detection environment for detecting the resonant frequency of the first vibration component under the driving condition of a first excitation signal;
the first resonant frequency is adjusted based on the first environmental parameter.
5. The method according to claim 1, wherein the method further comprises:
for each second vibration component in at least one second vibration component, obtaining a second resonance frequency of the second vibration component under the driving condition of each second excitation signal in at least one second excitation signal, and establishing a first association relation between the second resonance frequency and a second driving frequency of a corresponding second excitation signal and a third resonance frequency of the second vibration component; the third resonant frequency is the actual resonant frequency of the corresponding second vibration assembly;
And constructing the target mapping relation based on at least one first association relation corresponding to each second vibration component in the at least one second vibration component.
6. The method of claim 5, wherein constructing the target mapping relationship based on at least one first association relationship corresponding to each of the at least one second vibration component comprises:
for each first incidence relation in at least one first incidence relation corresponding to each second vibration component in the at least one second vibration component, determining a first reference frequency offset based on a second resonance frequency and a second driving frequency in the first incidence relation, and determining a second reference frequency offset based on a second driving frequency and a third resonance frequency in the first incidence relation so as to obtain at least one group of reference frequency offsets, wherein one group of reference frequency offsets comprises a first reference frequency offset and a second reference frequency offset corresponding to the first reference frequency offset;
and constructing the target mapping relation based on the at least one group of reference frequency offsets.
7. The method according to claim 5 or 6, wherein if the first resonant frequency is adjusted based on the signal parameter of the first excitation signal, before constructing the target mapping relationship based on the first association relationship corresponding to each of the at least one second vibration component, the method further comprises:
And acquiring signal parameters of corresponding second excitation signals for the first association relation, and adjusting the second resonance frequency based on the signal parameters of the second excitation signals.
8. The method of claim 5 or 6, wherein the first environmental parameter is an environmental parameter of a first detection environment that detects a resonant frequency of the first vibration component driven by the first excitation signal if the first resonant frequency is adjusted based on the first environmental parameter; before constructing the target mapping relationship based on the first association relationship corresponding to each second vibration component in the at least one second vibration component, the method further includes:
and for the first association relation, acquiring a second environment parameter corresponding to a corresponding second excitation signal, and adjusting the second resonant frequency based on the second environment parameter, wherein the second environment parameter is an environment parameter of a second detection environment in which the second excitation signal in the first association relation drives a corresponding second vibration component.
9. An apparatus for determining a resonant frequency, the apparatus comprising:
the detection module is used for detecting the resonance frequency of the first vibration component under the driving condition of the first excitation signal to obtain a first resonance frequency;
The first determining module is used for obtaining a first frequency offset based on the first resonant frequency and a first driving frequency of the first excitation signal;
the mapping module is used for mapping the first frequency offset into the second frequency offset based on a target mapping relation, wherein the target mapping relation is a mapping relation between actual frequency offset and detected frequency offset;
and the second determining module is used for compensating the first driving frequency through the second frequency offset to obtain a target resonant frequency, wherein the target resonant frequency is the actual resonant frequency of the first vibration component.
10. An electronic device comprising a memory, a processor, at least one vibrating component, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method of determining a resonant frequency of any one of claims 1 to 8 when the computer program is executed.
11. A storage medium storing an executable program which, when executed by a processor, implements the method of determining a resonant frequency of any one of claims 1 to 8.
CN202310084895.0A 2023-01-16 2023-01-16 Method, device, equipment and storage medium for determining resonance frequency Pending CN116124279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310084895.0A CN116124279A (en) 2023-01-16 2023-01-16 Method, device, equipment and storage medium for determining resonance frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310084895.0A CN116124279A (en) 2023-01-16 2023-01-16 Method, device, equipment and storage medium for determining resonance frequency

Publications (1)

Publication Number Publication Date
CN116124279A true CN116124279A (en) 2023-05-16

Family

ID=86311435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310084895.0A Pending CN116124279A (en) 2023-01-16 2023-01-16 Method, device, equipment and storage medium for determining resonance frequency

Country Status (1)

Country Link
CN (1) CN116124279A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116566191A (en) * 2023-06-26 2023-08-08 深圳国冶星光电科技股份有限公司 Power supply control method and device for portable mobile power supply

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116566191A (en) * 2023-06-26 2023-08-08 深圳国冶星光电科技股份有限公司 Power supply control method and device for portable mobile power supply
CN116566191B (en) * 2023-06-26 2024-01-26 深圳国冶星光电科技股份有限公司 Power supply control method and device for portable mobile power supply

Similar Documents

Publication Publication Date Title
CN110346720B (en) Method and device for testing nonlinear parameters of motor
CN110146810B (en) Method and device for determining test parameters of linear motor
WO2021232472A1 (en) Excitation signal generation method and apparatus, terminal, and storage medium
Koymen et al. An improved lumped element nonlinear circuit model for a circular CMUT cell
Perez et al. Identification of elastic, dielectric, and piezoelectric constants in piezoceramic disks
WO2022110413A1 (en) Method and apparatus for determining nonlinear parameter of motor, and device and storage medium
CN111106783B (en) Signal manufacturing method, signal manufacturing device, vibration motor and touch screen equipment
CN111478630B (en) Motor steady-state single-frequency distortion compensation method and device
CN102118678A (en) Method and system for measuring speaker parameters by using current sensor
CN111578966B (en) Hemisphere harmonic oscillator characteristic parameter identification method based on LMS algorithm
CN116124279A (en) Method, device, equipment and storage medium for determining resonance frequency
CN110907827B (en) Motor transient distortion measuring method and system
Gobat et al. Reduced order modelling and experimental validation of a MEMS gyroscope test-structure exhibiting 1: 2 internal resonance
CN113486516A (en) Method, device, equipment and storage medium for determining motor non-linear parameter
CN110031229B (en) Motor bandwidth measuring method and device
Janů et al. Precise experimental determination of electrical equivalent circuit parameters for ultrasonic piezoelectric ceramic transducers from their measured characteristics
Garg et al. Measurement accuracy of secondary standards of sound pressure in comparison to primary standards
CN111797483A (en) Method and apparatus for correcting motor balanced electrical signal, and computer readable storage medium
Suh et al. Measurement of resonance frequency and loss factor of a microphone diaphragm using a laser vibrometer
CN112433635B (en) Method and device for testing linear parameters of vehicle-mounted touch device
Huang Electromechanical coupling efficiency of transverse vibration in piezoelectric plates according to electrode configuration
CN105103155A (en) Analysis device and analysis method
CN111880092B (en) Chirp signal Hammerstein model system identification method
Chan et al. Bulk calibration method of micro-electromechanical system (MEMS) microphones
CN109254251A (en) Battery impedance measuring device, method and chip

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