Information processing method and apparatus, terminal device, storage medium, and program product
Patent Information
- Application Number
- CN202510543824.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2026-10-27
AI Technical Summary
[0023]本公开实施例的方案中,由于不同类型的马达的结构以及振动参数等存在差异,所以在相同的驱动信号的驱动下,不同类型的马达的振动效果不同。通过对已装配马达的所属类型进行检测和区分,确定与已装配马达相匹配的第二驱动信号。这样可以提高已装配马达的振动效果,减少了已装配马达根据与已装配马达不相匹配的驱动信号进行振动时振动效果较差的问题;也减少了通过同一驱动信号对不同类型的马达进行驱动时,与该驱动信号不相匹配的马达的振动效果以及于该驱动信息相匹配的马达的振动效果的差异较大的情况,从而有助于提高不同马达振动效果的一致性。
Smart Images

Figure CN122984918A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of information processing technology, and in particular to an information processing method, apparatus, terminal equipment, storage medium, and computer program product. Background Technology
[0002] With the development of technology, more and more terminal devices have emerged, and their functions have become increasingly rich. Each terminal device can be applied in its corresponding use case, and different terminal devices may have different use cases and different functions.
[0003] Some terminal devices have a vibration function. The terminal device contains a motor, and by driving the motor, the motor vibrates, thereby achieving the vibration effect. Summary of the Invention
[0004] This disclosure provides an information processing method, apparatus, terminal equipment, storage medium, and computer program product.
[0005] A first aspect of this disclosure provides an information processing method, comprising: detecting the type of an assembled motor; wherein, under the same first drive signal, different types of motors exhibit different vibration effects; and determining a second drive signal matching the assembled motor based on the type.
[0006] In one embodiment, detecting the type of the assembled motor includes: determining the type based on the vibration frequency of the assembled motor in the free vibration phase corresponding to different reference drive signals; wherein the free vibration phase includes: the phase in which the assembled motor continues to vibrate after the reference drive signal is disconnected; and / or, determining the type based on the inductance of the coil of the assembled motor during the driving process.
[0007] In one embodiment, determining the type based on the vibration frequency of the assembled motor in the free vibration stage corresponding to different reference drive signals includes: determining the vibration frequency corresponding to each of the reference drive signals; determining the frequency change based on the vibration frequencies corresponding to multiple different reference drive signals; and determining the type based on the frequency change.
[0008] In one embodiment, determining the vibration frequency corresponding to each of the reference driving signals includes: obtaining the reverse induced electromotive force of the free vibration stage corresponding to the reference driving signal; and determining the vibration frequency based on the frequency of the reverse induced electromotive force.
[0009] In one embodiment, determining the vibration frequency corresponding to each of the reference driving signals includes: determining a first vibration frequency corresponding to a first reference driving signal; determining a second vibration frequency corresponding to a plurality of second reference driving signals respectively; determining the frequency change based on the vibration frequencies corresponding to the plurality of different reference driving signals includes: determining the frequency difference between each of the second vibration frequencies and the first vibration frequency; and determining the frequency change based on the frequency difference.
[0010] In one embodiment, determining the frequency change based on the frequency difference includes: determining the frequency change based on the maximum value of the frequency difference; or, determining the frequency change based on the average value of the frequency difference.
[0011] In one embodiment, the range of frequency variation varies for different types of motors.
[0012] In one embodiment, determining the type based on the frequency change includes: if the frequency change is within a preset range, determining the assembled motor as a first-class motor; if the frequency change exceeds the preset range, determining the assembled motor as a second-class motor.
[0013] In one embodiment, determining the type based on the inductance of the coil during the driving process of the assembled motor includes: determining the inductance; determining the type based on the inductance range of the inductance; wherein, different types of motors correspond to different inductance ranges.
[0014] In one embodiment, determining the inductance includes: determining impedance and resistance based on the voltage and current of the assembled motor during driving; determining inductive reactance based on the impedance and resistance; and determining the inductance based on the inductive reactance and the resonant frequency of the assembled motor.
[0015] In one embodiment, determining a second drive signal that matches the assembled motor according to the type includes: determining the second drive signal from a stored pool of candidate drive signals according to the type; wherein the type, the candidate drive signal, and the target drive signal are correlated.
[0016] In one embodiment, the second drive signal includes drive signals for multiple different vibration scenarios; the method further includes: identifying the vibration scenario based on an input operation; and determining a drive signal from the second drive signal that matches the vibration scenario based on the vibration scenario.
[0017] In one embodiment, determining the second drive signal that matches the assembled motor includes: determining that the type of the assembled motor is different from the type of a motor corresponding to a stored reference drive signal; determining, during the process of driving the motor corresponding to the reference drive signal, the first drive voltage in the reference drive signal and the first displacement of the motor corresponding to the reference drive signal at any time; determining, based on the first drive voltage and the first displacement, the second drive voltage of the assembled motor at the first displacement; and generating the second drive signal based on the second drive voltage.
[0018] A second aspect of this disclosure provides an information processing apparatus, comprising: a detection module for detecting the type of an assembled motor; wherein, under the same first drive signal, different types of motors exhibit different vibration effects; and a determination module for determining a second drive signal matching the assembled motor based on the type.
[0019] A third aspect of this disclosure provides a terminal device, including: a processor and a memory for storing executable instructions capable of running on the processor, wherein: when the processor runs the executable instructions, the executable instructions perform the method described in any of the above embodiments.
[0020] A fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the method described in any of the above embodiments.
[0021] A fifth aspect of this disclosure provides a computer program product, including a computer program or executable instructions, which, when executed by a processor, implement the method described in any of the above embodiments.
[0022] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0023] In the embodiments of this disclosure, due to differences in the structure and vibration parameters of different types of motors, the vibration effects of different types of motors differ under the same drive signal. By detecting and distinguishing the type of the assembled motor, a second drive signal matching the assembled motor is determined. This improves the vibration effect of the assembled motor, reduces the problem of poor vibration effect when the assembled motor vibrates according to a drive signal that does not match the assembled motor, and also reduces the large differences in vibration effect between motors that do not match the drive signal and motors that match the drive signal when driving different types of motors with the same drive signal, thereby helping to improve the consistency of vibration effects of different motors.
[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0025] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0026] Figure 1 This is a schematic diagram illustrating vibration information in a commonly used manner in related technologies, according to an exemplary embodiment;
[0027] Figure 2 This is a schematic diagram illustrating an information processing method according to an exemplary embodiment;
[0028] Figure 3 This is a schematic diagram illustrating the determination of a type according to an exemplary embodiment;
[0029] Figure 4 This is a schematic diagram illustrating the determination of vibration frequency according to an exemplary embodiment;
[0030] Figure 5 This is a schematic diagram illustrating another information processing method according to an exemplary embodiment;
[0031] Figure 6 This is a schematic diagram of a frequency change curve according to an exemplary embodiment;
[0032] Figure 7 This is a schematic diagram illustrating another way of determining the type according to an exemplary embodiment;
[0033] Figure 8 This is a schematic diagram illustrating another method for determining a second drive signal according to an exemplary embodiment;
[0034] Figure 9This is a schematic diagram illustrating the effect of driving an assembled motor to vibrate via a second drive signal according to an exemplary embodiment.
[0035] Figure 10 This is a schematic diagram illustrating an information processing apparatus according to an exemplary embodiment;
[0036] Figure 11 This is a block diagram illustrating a terminal device according to an exemplary embodiment. Detailed Implementation
[0037] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.
[0038] With technological advancements, vibration interaction is increasingly being used in smart devices such as mobile phones and tablets, leading to a surge in the use of vibration motors, including X-axis linear motors and Z-axis linear motors. To ensure a safe and reliable supply, electronic devices of the same model may have multiple motor suppliers. Typically, motors from multiple suppliers share the same drive signal, which includes the vibration waveform.
[0039] While the performance requirements for motors are the same, motor designs from different suppliers vary, such as differences in damping schemes, internal motor structures, and related parameters. To ensure a safe and reliable supply, multiple motor suppliers may be involved for the same model of electronic equipment.
[0040] Typically, drive signals from one supplier's motors are used to drive motors from different suppliers. If the waveform is modeled and designed based on one supplier's motor, it may not be well adapted to other suppliers' motors. This can lead to poor user experience, such as vibration trailing or significant differences in performance, when using motors from other suppliers. Consequently, the vibration performance of devices of the same model may be inconsistent, severely impacting the user experience.
[0041] refer to Figure 1 This is a schematic diagram of vibration information in a commonly used method in related technologies. Figure 1 The waveform shown is a schematic diagram of the relationship between time and acceleration. The horizontal axis represents time, and the vertical axis represents the acceleration of the motor oscillator when the motor vibrates. Figure 1The diagram shows L1 representing a schematic of motor A during vibration, and L2 representing a schematic of motor B during vibration. Both motors A and B are driven by the same drive signal; for example, the drive signal for motor A drives both motors A and B to achieve the desired vibration. Figure 1 The diagram shown is shown in the image.
[0042] pass Figure 1 It can be seen that the waveforms corresponding to motor A and motor B are different, including the driving stage when the motor vibrates under the drive signal and the stage when the motor vibrates due to inertia after the drive stops. Figure 1 The curve to the left of the dashed line represents the driving phase (such as the signal zone), and the curve to the right of the dashed line represents the phase in which the motor vibrates due to inertia after the driving stops (such as the trailing zone).
[0043] To reduce the aforementioned problems, this embodiment provides an example of improving motor vibration performance by differentiating motors and adapting them with corresponding drive signals, such as waveform packets, to achieve a better match between the drive signals and the motors, resulting in a better user experience and improving the consistency and comfort of vibration performance across different motors.
[0044] refer to Figure 2 This is a schematic diagram of an information processing method, which includes:
[0045] S100, detect the type of the assembled motor; wherein, under the same first drive signal, different types of motors have different vibration effects.
[0046] S200, depending on the type, determines the second drive signal that matches the assembled motor.
[0047] The solution of this embodiment can be applied to a first device, and the executing entity can be a first device equipped with a motor. The first device can include mobile terminal devices and fixed terminal devices, etc. Mobile terminal devices can include mobile phones, tablets, in-vehicle devices, wearable devices, smart devices, and aircraft, etc. Smart devices can include smart office equipment, smart home equipment, and robots, etc.
[0048] For motor suppliers of the same model of electronic equipment, using motors from multiple suppliers will result in essentially consistent vibration effects when driven by their respective matched drive signals, with errors remaining within a preset error range. Motors from the same supplier are identical and belong to the same type of motor, while motors from different suppliers are different and belong to different types of motors. The different types of motors can also indicate different suppliers.
[0049] For example, motors from the same supplier may have the same structure, while motors from different suppliers may have different structures. For instance, motors from different suppliers may have different internal structures, such as different damping structures, and motors with different structures may be of different types.
[0050] Damping structures can include electromagnetic damping structures, foam damping structures, and damping adhesive structures. Different damping structures have different damping principles and damping methods, which leads to different vibration effects when driven by the same drive signal. They also result in different effects on the motor's continued vibration due to inertia after the drive signal stops.
[0051] Under the same drive signal, motors of the same type exhibit essentially the same vibration effect, while motors of different types show significant differences in vibration effect. By distinguishing the motor types, it is possible to determine the type of motor currently installed in an electronic device, i.e., its classification.
[0052] For example, the vibration effect may include at least the vibration velocity, vibration acceleration, and displacement of the motor oscillator.
[0053] The assembled motor in this embodiment is the motor currently assembled in the first device. Typically, the first device is equipped with one motor.
[0054] For example, the motor can be an X-axis linear motor or a Z-axis linear motor, etc., a vibration motor.
[0055] There are various ways to detect the type of an assembled motor. For example, the assembled motor can be driven by different drive signals, and its type can be detected by the vibration frequency of the assembled motor after the different drive signals are stopped. Alternatively, the type can be determined by the inductance of the assembled motor during the drive process. Current methods for distinguishing the type of assembled motor are all within the scope of this embodiment, such as reading the motor's identification information, which can identify the motor's supplier and / or structural type. Motors from different suppliers and / or with different structural types belong to different types; the structural type can include the type of damping structure.
[0056] After determining the type of the assembled motor, a second drive signal that matches the assembled motor can be determined based on that type.
[0057] For example, the first device stores drive signals that match various types of motors, including drive signals that match motors supplied by various suppliers. Here, "matching" means that each supplier's motor has its own drive signal, the drive signals of motors from different suppliers are different, and the vibration effect of motors from different suppliers is consistent when vibrating through their respective drive signals.
[0058] After determining the type of the assembled motor, the corresponding drive signal, i.e., the second drive signal, or the target drive signal, can be determined from the stored drive signals based on the type.
[0059] The method of determining the second drive signal may also include: if there is no drive signal in the stored drive signals that matches the assembled motor, then a second drive signal that matches the assembled motor can be generated based on the stored drive signals.
[0060] Because different types of motors differ in structure and vibration parameters, their vibration effects vary under the same drive signal. By detecting and differentiating the type of the assembled motor, a second drive signal matching the assembled motor can be determined. This improves the vibration effect of the assembled motor, reducing the problem of poor vibration when the assembled motor vibrates under a mismatched drive signal; it also reduces the significant differences in vibration effects between motors that do not match the drive signal and those that do match the drive signal when driving different types of motors with the same drive signal. For the same model of equipment, this method helps improve the consistency of vibration effects of different motors when they are equipped with different types, thereby improving the consistency of vibration feel across different devices of the same model and enhancing the user experience.
[0061] In one embodiment, it also includes:
[0062] The assembled motor is driven to vibrate by the second drive signal.
[0063] In one embodiment, S100, detecting the type of the assembled motor includes:
[0064] The type of the assembled motor is determined based on the vibration frequency of the free vibration stage corresponding to different reference drive signals; wherein, the free vibration stage includes the stage in which the assembled motor continues to vibrate after the reference drive signal is disconnected.
[0065] By analyzing the vibration frequencies of the free vibration phases corresponding to different drive signals driving the assembled motor, different types of motors can be distinguished. Here, the free vibration phase can be the phase where the assembled motor continues to vibrate due to inertia after the drive signal stops.
[0066] For example, the free vibration phase may include a phase from when the drive signal stops driving the assembled motor until the assembled motor stops vibrating.
[0067] During the process of detecting the type of the assembled motor, the first device drives the assembled motor to vibrate through different drive signals. In this embodiment, the drive signal is recorded as the reference drive signal, so as to facilitate the distinction from the first drive signal, the second drive signal and other drive signals.
[0068] This method of detecting the type of assembled motor can be applied to motors with different damping structures, classifying them as different types of motors. Motors from different suppliers may have different damping structures, while motors from the same supplier may have the same damping structure.
[0069] Different damping structures have different damping coefficients, resulting in varying degrees of resistance to motor vibration. For example, the damping effect of a motor will differ in the free vibration stage corresponding to different drive signals, thus leading to different degrees of difference in the motor's vibration performance in the free vibration stage corresponding to different drive signals.
[0070] Different drive signals correspond to different drive waveforms, resulting in different amplitudes of the motor oscillator when driving an assembled motor. Motors with the same damping structure show little difference in vibration performance during the free vibration phase when driven by different reference drive signals. Motors with different damping structures show significant differences in vibration performance during the free vibration phase when driven by different reference drive signals.
[0071] For example, a motor with an electromagnetic damping structure exhibits relatively small differences in vibration performance during the free vibration phase when driven by different reference drive signals. Conversely, a motor with a foam damping structure shows significant differences in vibration performance during the free vibration phase when driven by different reference drive signals. Comparison with preset reference difference information can determine the type of the assembled motor.
[0072] The vibration effect here can include the vibration frequency, and the preset reference difference information can be the reference difference value.
[0073] For example, the vibration frequency variation range of the assembled motor in the free vibration stage corresponding to different reference drive signals can be used as a reference. Different types of motors correspond to different variation ranges. By comparing the preset variation range and the vibration frequency variation range of the assembled motor in the free vibration stage corresponding to the reference drive signal, the type of the assembled motor can be determined based on the degree of overlap.
[0074] This allows us to determine the type of the assembled motor based on the vibration frequency of the motor during the free vibration phase corresponding to different reference drive signals, thus enabling us to differentiate the types of assembled motors.
[0075] In one embodiment, S100, detecting the type of the assembled motor includes:
[0076] The type of motor is determined by the inductance of the coil during the driving process.
[0077] During the driving of an assembled motor, the assembled motor generates voltage, and current flows through its coils. By detecting the voltage and current of the assembled motor during the driving process using a reference drive signal, the inductance of the assembled motor can be determined. For motors of the same type, the inductance range is the same; for motors of different types, the inductance range differs, and the inductance ranges of different types of motors do not overlap.
[0078] Once the inductance of the assembled motor is obtained, the range of the inductance can be determined, thereby identifying the type of the assembled motor.
[0079] For example, the method of determining the type of motor by inductance can be applied to motors with voltage and current detection functions, such as assembled motors with voltage and current sensors, so that the voltage and current during the process of the assembled motor being driven can be detected.
[0080] For example, determining the type of an assembled motor based on its inductance can be achieved by treating the assembled motor as a resistor-inductor circuit (RL), also known as an RL network. This allows the influence of other factors on inductance determination to be ignored, thus facilitating inductance determination.
[0081] In one embodiment, detecting the type of the assembled motor may further include:
[0082] The type of the assembled motor is determined by combining the vibration frequency of the assembled motor in the free vibration stage corresponding to different reference drive signals, and the inductance of the coil of the assembled motor during the driving process.
[0083] This embodiment determines the type of the assembled motor by combining the two methods described above. For example, the type of the assembled motor can be determined based on a first determination result and a second determination result, each with its own weight. If the first determination result and the second determination result differ, the type of the assembled motor can be determined based on the result with the larger weight.
[0084] The first determination result is the type determined based on the inductance of the coil of the assembled motor during the driving process, and the second determination result is the type determined based on the vibration frequency of the assembled motor in the free vibration stage corresponding to different reference drive signals.
[0085] This method can improve the accuracy of determining the type of an assembled motor.
[0086] In one embodiment, reference Figure 3 This is a schematic diagram for determining the type of a motor. The type is determined based on the vibration frequency of the assembled motor during the free vibration phase corresponding to different reference drive signals, including:
[0087] S101, determine the vibration frequency corresponding to each reference driving signal.
[0088] S102, determine the frequency change based on the vibration frequencies corresponding to multiple different reference driving signals.
[0089] S103, determine the type based on the frequency change.
[0090] When determining the type of vibration based on the vibration frequency during the free vibration stage, the reference drive signals can be identified first, as different reference drive signals have different drive waveforms. At a given point in time, different drive waveforms result in different drive voltages, which in turn affect the speed, acceleration, and displacement of the motor oscillator in the assembled motor.
[0091] Because of the different reference drive signals, the degree of difference in vibration frequency of one type of motor during the free vibration stage when the assembled motor stops being driven by different reference drive signals will be different from the degree of difference in vibration frequency of another type of motor during the free vibration stage. Therefore, it is necessary to determine the vibration frequency of the assembled motor corresponding to each reference drive signal.
[0092] The method for determining the vibration frequency is not limited; it can be detected by frequency detection or determined by other methods, such as back electromotive force. The first device can drive the assembled motor separately using different reference drive signals, and then determine the vibration frequency of the assembled motor during the free vibration phase after each reference drive signal stops driving.
[0093] For example, the vibration frequency can be the vibration frequency of a motor oscillator.
[0094] After determining the vibration frequencies corresponding to each reference drive signal, the frequency change can be determined based on the vibration frequencies corresponding to multiple different reference drive signals. Since different types of motors have different damping structures, the degree of influence of different damping structures on the vibration frequency of the free vibration stage corresponding to different drive signals varies. The degree of influence can be reflected by the vibration frequencies of the vibration stages corresponding to different reference drive signals, thereby determining the damping type of the motor, and based on the damping type, the type of motor can be determined.
[0095] The degree of influence can be represented by the change in frequency, which can be obtained from the vibration frequencies corresponding to multiple different reference driving signals. For example, the change in vibration frequency corresponding to any two different reference driving signals can also be the change in vibration frequency corresponding to multiple different reference driving signals compared to the vibration frequency corresponding to the same reference driving signal.
[0096] The changes here can reflect the stability of the assembled motor during the free vibration stage under different reference drive signals. Different types of motors have different levels of stability, which can help determine the type of the assembled motor.
[0097] When determining the type of an assembled motor based on the amount of change, the determination can be made using the amount of change and a preset threshold value, with the preset threshold value serving as a reference. For example, if the amount of change is greater than the preset threshold value, the assembled motor is classified as a type 1 motor; if the amount of change is not greater than the preset threshold value, the assembled motor is classified as a type 2 motor. This rule can be preset based on the motor type, or it can be that if the amount of change is less than the preset threshold value, the assembled motor is classified as a type 1 motor; and if the amount of change is not less than the preset threshold value, the assembled motor is classified as a type 2 motor.
[0098] When determining the type of an assembled motor based on the amount of change, it can also be determined based on the range of that change. For example, if the range of change is in the first range, it indicates that the assembled motor is of type 1; if the range of change is in the second range, it indicates that the assembled motor is of type 2. This rule can be preset based on the motor type, or it can be that if the range of change is in the second range, it indicates that the assembled motor is of type 1; if the range of change is in the first range, it indicates that the assembled motor is of type 2. The maximum and / or minimum values of the first and second ranges are different.
[0099] The number of different reference drive signals can be determined as needed; the more signals there are, the higher the accuracy of determining their type.
[0100] In one embodiment, reference Figure 4 This is a schematic diagram for determining the vibration frequency, including determining the vibration frequency corresponding to each reference driving signal, including:
[0101] S1011, obtain the reverse induced electromotive force of the free vibration stage corresponding to the reference driving signal.
[0102] S1012, determine the vibration frequency based on the frequency of the reverse induced electromotive force.
[0103] After the assembled motor is driven by a reference drive signal, the motor begins to vibrate. Even after the reference drive signal stops, the motor continues to vibrate due to inertia, which is the free vibration phase. Because of the coils and magnetic field within the motor, a back electromotive force (EMF) is generated during this phase. The frequency of this back EMF is related to the motor's vibration frequency, and the motor's vibration frequency can be determined based on the frequency of the back EMF. For example, the frequency of the back EMF can be used as the motor's vibration frequency during the free vibration phase.
[0104] For any reference drive signal, after driving the assembled motor, the vibration frequency of the motor in the corresponding free vibration stage can be determined based on the back electromotive force.
[0105] For example, after the reference drive signal A drives the assembled motor, the frequency of the back electromotive force generated by the assembled motor during the free vibration stage is frequency 1. Therefore, the vibration frequency of the corresponding free vibration stage can be determined based on frequency 1, for example, frequency 1 can be used as the vibration frequency. Similarly, after the reference drive signal B drives the assembled motor, the frequency of the back electromotive force generated by the assembled motor during the free vibration stage is frequency 2. Therefore, the vibration frequency of the corresponding free vibration stage can be determined based on frequency 2, for example, frequency 2 can be used as the vibration frequency.
[0106] For example, there is a correlation between the frequency of the back electromotive force and the vibration frequency, and the vibration frequency can be determined based on this correlation. This correlation remains the same for any reference drive signal driving the same motor, resulting in a more accurate vibration frequency.
[0107] In one embodiment, reference Figure 5 This is a schematic diagram of another information processing method. S101, determining the vibration frequency corresponding to each reference driving signal, including:
[0108] S1013, determine the first vibration frequency corresponding to the first reference drive signal.
[0109] S1014, determine the second vibration frequency corresponding to the multiple second reference driving signals respectively.
[0110] S102, determining the frequency change based on the vibration frequencies corresponding to multiple different reference driving signals, including:
[0111] S1021, determine the frequency difference between each second vibration frequency and the first vibration frequency.
[0112] S1022, determine the frequency change based on the frequency difference.
[0113] Steps S1013 and S1014 are not necessarily ordered with steps S1011 and S1012. S1013 and S1014 are also parallel steps and can be executed in any order.
[0114] The first reference driving signal serves as the control signal, the first vibration frequency serves as the control frequency, and the second reference driving signal is a varying driving signal, with different second reference driving signals corresponding to their own second vibration frequencies. The method for determining the first and second vibration frequencies can be found in [reference needed]. Figure 4 The corresponding embodiments are S1011 and S1012 regarding the determination of the vibration frequency.
[0115] After determining each second vibration frequency, the frequency difference between each second vibration frequency and the first vibration frequency can be determined, resulting in multiple frequency differences. The frequency change can then be determined based on these frequency differences. For example, these frequency differences can be used as the frequency change. Different types of motors correspond to different frequency changes, which facilitates the differentiation of assembled motors.
[0116] refer to Figure 6 This is a schematic diagram of a curve representing a change in frequency. Figure 6 In the diagram, L3 represents the frequency change curve corresponding to one type of motor, and L4 represents the frequency change curve corresponding to another type of motor. Figure 6 In the diagram, the horizontal axis represents voltage, which varies depending on the reference drive signal; this voltage can be the drive voltage. The vertical axis represents frequency variation, such as frequency difference. L3 and L4 represent the frequency difference between the vibration frequencies corresponding to multiple different second drive voltages and the vibration frequency corresponding to one of the first drive voltages for the two types of motors.
[0117] The frequency differences of the motor corresponding to L3 are clearly different from those of the motor corresponding to L4. The degree of variation in the frequency differences of the motor corresponding to L3 is significantly greater than that of the motor corresponding to L4. Therefore, the type of motor can be determined based on the frequency differences. For example, the motor corresponding to L3 is a foam-damped motor, while the motor corresponding to L4 is an electromagnetic-damped motor.
[0118] In one embodiment, determining the frequency change based on the frequency difference includes:
[0119] The frequency change is determined based on the maximum value of the frequency difference;
[0120] or,
[0121] The frequency change is determined based on the mean of the frequency difference.
[0122] After determining the frequency differences between each second vibration frequency and the first vibration frequency, the frequency change can be determined based on the maximum value of the frequency difference; for example, the maximum value of the frequency difference can be used as the frequency change. Alternatively, the frequency change can be determined based on the average of multiple frequency differences; for example, the average of multiple frequency differences can be used as the frequency change.
[0123] The maximum value makes it easier to distinguish motor types, while the average value improves the accuracy of determining frequency changes. It provides different ways to determine frequency changes, increasing the flexibility and diversity of frequency change determination.
[0124] In one embodiment, different types of motors correspond to different ranges of frequency variation. The span of the range can be used to determine the type of motor.
[0125] In one embodiment, determining the type based on the amount of frequency change includes:
[0126] If the frequency change is within the preset range, the assembled motor is determined to be a Class I motor.
[0127] If the frequency change exceeds the preset range, the assembled motor is determined to be a second type of motor.
[0128] The preset range can be set in advance according to different types of frequency changes. The preset range has a maximum value and a minimum value. Motors with frequency changes within the preset range are of the same type, and motors with frequency changes outside the preset range are of a different type.
[0129] In one embodiment, reference Figure 7 This is another schematic diagram for determining the type. The type is determined based on the inductance of the coils during the driving process of the assembled motor, including:
[0130] S10, determine the inductance.
[0131] S20, the type is determined according to the inductance range of the inductor; different types of motors correspond to different inductance ranges.
[0132] This embodiment is an example of determining the type of assembled motor by inductance.
[0133] Inductance can be determined in the following way:
[0134] The impedance and resistance are determined based on the voltage and current of the assembled motor during its driving process. The inductive reactance is then determined based on the impedance and resistance, and the inductance is determined based on the inductive reactance and the resonant frequency of the assembled motor. The resistance and impedance can be determined based on the voltage and current. There are relationships between impedance, resistance, and inductance; for example, the relationship between resistance, impedance, and inductance can be determined using the impedance formula, and the inductive reactance can be determined based on these relationships. Since the resonant frequency f0 of the assembled motor is known, the inductance can be determined based on the relationships of angular frequencies, such as XL = (2πf0)L, 2πf0 = ω.
[0135] Different types of motors have different magnetic circuits, resulting in significant differences in inductive reactance under the same reference drive signal. For example, in an electromagnet motor, the coil is wound around an iron core. When the motor is energized by the drive signal, current flows through the coil, the iron core is polarized, and the motor's inductance increases exponentially. In contrast, non-electromagnetic motors, such as those that vibrate based on the Ampere force principle, do not have an iron core. Therefore, the inductance value after energization is much smaller than that of an electromagnet motor.
[0136] The inductance of a motor powered by an electromagnet is between 140mH and 180mH, while the inductance of a motor that vibrates based on the Ampere force principle is between 45mH and 65mH, showing a significant difference. Therefore, comparing the inductances can help distinguish between assembled motors.
[0137] For example, assembled motors can also be classified according to an inductance threshold, with motors having an inductance value greater than the inductance threshold belonging to one category and those having an inductance value less than the inductance threshold belonging to another category.
[0138] In one embodiment, S200, determining a second drive signal matching the assembled motor according to its type includes:
[0139] The second drive signal is determined from the stored candidate drive signals according to its type; wherein there is a correlation between the type, the candidate drive signal and the second drive signal.
[0140] In this embodiment, the first device stores the types of motors that may be installed in devices of the same model as the first device, along with corresponding alternative drive signals. After determining the type of the installed motor, a second drive signal can be determined based on the type of the installed motor. The stored alternative drive signals corresponding to the type of the installed motor can be used as the second drive signal.
[0141] For example, the stored alternative drive signals correspond one-to-one with their respective types, that is, a unique alternative drive signal can be determined based on its type, thereby determining the second drive signal.
[0142] In one embodiment, the second driving signal includes driving signals for multiple different vibration scenarios;
[0143] The method also includes:
[0144] The vibration scene is identified based on the input operation, and a driving signal matching the vibration scene is determined from the second driving signal based on the vibration scene.
[0145] This method allows the assembled motor to vibrate using a drive signal that matches the vibration, thereby improving the vibration effect.
[0146] In one embodiment, reference Figure 8 This is another schematic diagram for determining the second drive signal. S200, determining the second drive signal that matches the assembled motor includes:
[0147] S201, It is determined that the type of the assembled motor is different from the type of the motor corresponding to the stored reference drive signal.
[0148] S202, during the process of driving the motor corresponding to the reference drive signal, the reference drive signal determines the first drive voltage in the reference drive signal and the first displacement of the motor corresponding to the reference drive signal at any time.
[0149] S203, based on the first driving voltage and the first displacement, determine the second driving voltage of the assembled motor at the first displacement.
[0150] S204 generates a second drive signal based on the second drive voltage.
[0151] refer to Figure 9 This is a schematic diagram showing the vibration of an assembled motor driven by a second drive signal. The horizontal axis represents time, and the vertical axis represents acceleration. Figure 1 The horizontal and vertical axes represent the same meaning, and are consistent with... Figure 1 The resulting stark contrast is that the vibration of the assembled motor driven by the second drive signal is less different from the acceleration of other motors vibrating with their own matched drive signals. The trailing phenomenon in the free vibration stage to the right of the dotted line is significantly reduced, and the vibration effect is more consistent with that of another type of motor. This improves the consistency of the vibration effect of the same model of equipment, thereby enhancing the user experience.
[0152] In one embodiment, reference Figure 10 This is a schematic diagram of an information processing device, which includes:
[0153] Detection module 1 is used to detect the type of the assembled motor; wherein, under the same first drive signal, different types of motors have different vibration effects;
[0154] The determining module 2 is used to determine a second drive signal that matches the assembled motor according to the type.
[0155] In one embodiment, the detection module 1 includes:
[0156] The first detection submodule is used to determine the type of the assembled motor based on the vibration frequency of the assembled motor in the free vibration stage corresponding to different reference drive signals; wherein, the free vibration stage includes: the stage in which the assembled motor continues to vibrate after the reference drive signal is disconnected;
[0157] And / or,
[0158] The second detection submodule is used to determine the type of the motor based on the inductance of the coil during the driving process.
[0159] In one embodiment, the first detection submodule includes:
[0160] The first determining unit is used to determine the vibration frequency corresponding to each of the reference driving signals;
[0161] The second determining unit is used to determine the frequency change based on the vibration frequencies corresponding to multiple different reference driving signals;
[0162] The third determining unit is used to determine the type based on the frequency change.
[0163] In one embodiment, the first determining unit includes:
[0164] The acquisition subunit is used to acquire the reverse induced electromotive force corresponding to the free vibration stage of the reference driving signal;
[0165] The first determining subunit is used to determine the vibration frequency based on the frequency of the reverse induced electromotive force.
[0166] In one embodiment, the first determining unit includes:
[0167] The second determining subunit is used to determine the first vibration frequency corresponding to the first reference driving signal;
[0168] The third determining subunit is used to determine the second vibration frequency corresponding to the multiple second reference driving signals respectively;
[0169] The second determining unit includes:
[0170] The fourth determining subunit is used to determine the frequency difference between each of the second vibration frequencies and the first vibration frequency;
[0171] The fifth determining subunit is used to determine the frequency change based on the frequency difference.
[0172] In one embodiment, the fifth determining subunit is used for:
[0173] The frequency change is determined based on the maximum value of the frequency difference;
[0174] or,
[0175] The frequency change is determined based on the mean of the frequency difference.
[0176] In one embodiment, the range of frequency variation varies for different types of motors.
[0177] In one embodiment, the third determining unit includes:
[0178] The sixth determining subunit is used to determine that the assembled motor is a first type of motor when the frequency change is within a preset range;
[0179] The seventh determining subunit is used to determine that the assembled motor is a second type of motor when the frequency change exceeds the preset range.
[0180] In one embodiment, the second detection submodule includes:
[0181] The fourth determining unit is used to determine the inductance;
[0182] The fifth determining unit is used to determine the type of the motor based on the inductance range of the motor; wherein, different types of motors correspond to different inductance ranges.
[0183] In one embodiment, the fourth determining unit includes:
[0184] The eighth determining subunit is used to determine the impedance and resistance based on the voltage and current of the assembled motor during the driving process;
[0185] The ninth determining subunit is used to determine the inductive reactance based on the impedance and the resistance;
[0186] The tenth determining subunit is used to determine the inductance based on the inductive reactance and the resonant frequency of the assembled motor.
[0187] In one embodiment, the determining module 2 is further configured to:
[0188] The second drive signal is determined from the stored candidate drive signals according to the type; wherein the type, the candidate drive signal and the target drive signal are associated.
[0189] In one embodiment, the second drive signal includes drive signals for multiple different vibration scenarios;
[0190] The device further includes:
[0191] The identification module is used to identify the vibration scene based on the input operation;
[0192] The determining module 2 is further configured to: determine, based on the vibration scenario, a driving signal from the second driving signal that matches the vibration scenario.
[0193] In one embodiment, determining module 2 includes:
[0194] The sixth determining unit is used to determine that the type of the assembled motor is different from the type of the motor corresponding to the stored reference drive signal;
[0195] The seventh determining unit is used to determine the first driving voltage in the reference driving signal and the first displacement of the motor corresponding to the reference driving signal at any time during the process of the reference driving signal driving the motor corresponding to the reference driving signal.
[0196] The eighth determining unit is used to determine the second driving voltage of the assembled motor at the first displacement based on the first driving voltage and the first displacement;
[0197] The ninth determining unit is used to generate the second driving signal based on the second driving voltage.
[0198] In another embodiment, the damping scheme of the X-axis linear motor generally includes three types: foam, damping adhesive and electromagnetic damping. These three damping methods have different F0 variation patterns with voltage. When consumer electronic devices use X-axis linear motors and have more than two suppliers, a set of F0 calibration signals for motors with high and low voltage combinations can be added to the F0 detection station on the production line. The motor supplier can be distinguished based on the different ranges of the F0 calibration difference under high and low voltage.
[0199] The motor damping employs electromagnetic damping from supplier A (utilizing Lenz's law) and foam damping from supplier B. Electromagnetic damping has minimal impact on the spring's K-value, resulting in minimal frequency variation across different oscillator amplitudes. Foam damping, within a certain amplitude range, exhibits greater deformation due to compression as the amplitude increases, thus significantly affecting the spring's K-value, and resulting in much larger frequency variations across different amplitudes compared to electromagnetic damping. By utilizing the difference in frequency variations between electromagnetic and foam damping at different amplitudes, two different sets of F0 calibration voltages can be applied. The non-overlapping ranges of the F0 differences obtained from the two sets of voltages can distinguish between suppliers A and B.
[0200] refer to Figure 6The entire machine is equipped with electromagnetic damping motors and foam damping motors. The difference curve of F0 obtained by voltage calibration at 2050mV is set in each register. Electromagnetic damping is less affected by the calibration voltage change, while foam damping is more affected by the calibration voltage change. For example, using a set of calibration signals, including two sets of calibration voltages of 600mV and 2050mV, the F0 calibration difference of electromagnetic damping is within 1Hz, while the difference of foam damping is above 4Hz. 3Hz can be used as a threshold limit. The difference is within 3Hz and it is a motor from supplier A, and above it is a motor from supplier B, and the corresponding waveform is adapted.
[0201] Motor magnetic circuit designs generally include electromagnet structures and conventional Ampere force structures. In an electromagnet structure, the iron core is polarized when the coil is energized, resulting in a significant increase in inductance. Taking the 080940 as an example, the inductance of the Ampere force design is 45-65mH, while the electromagnet design is 140-180mH. There is a clear difference in inductance range between the two, which can be distinguished by a 100mH threshold. For models using motors driven by VI sense, inductance testing can be added to the production line to differentiate between these two motor designs. The specific principle is as follows: An X-axis linear motor can be considered an AC circuit containing only resistance and inductance. A motor driver chip with VI sense can provide a specific drive signal. Based on the detected voltage and current, the circuit impedance Z and resistance R are calculated, and the inductive reactance XL can be calculated. Then, using the formula XL = (2πf0)L, where f0 is the motor's resonant frequency (which can be read by the motor driver), the inductance L can be calculated. The application scenario for this differentiation scheme is that the motor PA of the whole machine needs to have VI sense, which can detect voltage and current.
[0202] For example, using the basic parameters of supplier B's motor as a model, vibration waveform effects for various scenarios can be designed. Supplier A tests the vibration effects of the entire machine equipped with supplier B's motor in various scenarios, and uses its own motor's basic parameters as a model to design a voltage waveform that achieves the same vibration effect as the motor equipped with supplier B's motor. Two sets of waveforms corresponding to the two suppliers are stored at the finished product end. Using the above technical methods, the motor supplier can be distinguished during production line testing at the finished product end, and the corresponding waveform can be matched to achieve essentially consistent vibration effects. The specific implementation principle and method are as follows:
[0203] For X-axis linear motors, the following two classic second-order models apply:
[0204]
[0205] Bli = ma + R m v+K m x (2)
[0206] Equation (1) is the electrical equation, and equation (2) is the differential equation of motor motion.
[0207] Where U is the voltage across the motor, i is the motor current, x is the displacement of the motor oscillator, v is the velocity of the motor oscillator, a is the acceleration of the motor oscillator, and R... e It is the motor resistance, L e It is the motor inductance, Bl is the motor electromagnetic force coefficient, R m It is the motor damping coefficient, K m is the motor spring stiffness coefficient, and m is the mass of the motor oscillator.
[0208] Linear motor inductance L e The effect is negligible due to its small size. In equations (1) and (2), bl and R m and K m These are nonlinear parameters, related to displacement x, velocity v, and displacement x, respectively. The nonlinear parameters Bl and R will be denoted as polynomials for displacement x and velocity v, respectively, below. m and K m .
[0209] The nonlinear second-order model of the motor can be expressed by the following two equations:
[0210] U=R e i+Bl(x)v (3) Electric equations
[0211] Bl(x)i=ma+R m (v)v+K m (x)x (4) Motor motion differential equation
[0212] ma=Bl(x)iR m (v)vK m (x)x=Bl(x)(U-Bl(x)v) / Re - R m (v)vK m (x)x
[0213] Expressing the oscillator acceleration *a* and velocity *v* in terms of the derivative of displacement *x*, the above equations transform into:
[0214]
[0215] Generally, the relatively linear portion of the motor vibration is used, and for the sake of simplicity in the example, R is... m and K m It is represented as a linear parameter.
[0216] Where R = 2πf0m / Q, K = m × (2πf0) 2
[0217] so
[0218] Where the oscillator mass m is a known quantity, Bl(x) is a polynomial in terms of displacement x, which can be fitted by measuring Bl of multiple displacements x, and the resistance R... e Since the frequencies f0 and Q can be measured, the entire equation contains only two independent variables: voltage U and displacement x. The first derivative yields velocity, and the second derivative yields acceleration. For any target acceleration versus time curve, different motor suppliers can input their respective motor base parameters using the above formula to calculate their corresponding voltage versus time curves, achieving the same vibration sensation effect.
[0219] It should be noted that the terms "first" and "second" in the embodiments of this disclosure are for ease of description and distinction only, and have no other specific meaning.
[0220] Figure 11 This is a block diagram illustrating a terminal device according to an exemplary embodiment. For example, the terminal device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0221] Reference Figure 11 The terminal device may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input / output (I / O) interface 912, sensor component 914, and communication component 916.
[0222] Processing component 902 typically controls the overall operation of the terminal device, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0223] Memory 904 is configured to store various types of data to support operation on the terminal device. Examples of this data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0224] Power component 906 provides power to various components of the terminal device. Power component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.
[0225] Multimedia component 908 includes a screen that provides an output interface between a terminal device and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen can be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera can receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0226] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when the terminal device is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0227] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0228] Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of the terminal device. For example, sensor assembly 914 can detect the on / off state of the terminal device, the relative positioning of components such as the display and keypad of the terminal device, changes in the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration / deceleration of the terminal device, and temperature changes of the terminal device. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include an optical sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0229] Communication component 916 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can access wireless networks based on communication standards, such as Wi-Fi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0230] In an exemplary embodiment, the terminal device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0231] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including executable instructions or a computer program, which can be executed by the processor 920 of the device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0232] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of a mobile terminal, enables the mobile terminal to perform any of the information processing methods described in the embodiments of this disclosure.
[0233] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the information processing methods described in this disclosure.
[0234] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0235] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An information processing method, characterized in that, include: The type of the assembled motor is detected; under the same first drive signal, different types of motors exhibit different vibration effects. Based on the type, a second drive signal matching the assembled motor is determined.
2. The method according to claim 1, characterized in that, The detection of the type of the assembled motor includes: The type is determined based on the vibration frequency of the assembled motor in the free vibration stage corresponding to different reference drive signals; wherein, the free vibration stage includes: the stage in which the assembled motor continues to vibrate after the reference drive signal is disconnected; And / or, The type is determined based on the inductance of the coil during the driving process of the assembled motor.
3. The method according to claim 2, characterized in that, The step of determining the type based on the vibration frequency of the assembled motor during the free vibration phase corresponding to different reference drive signals includes: Determine the vibration frequency corresponding to each of the reference driving signals; The frequency change is determined based on the vibration frequencies corresponding to multiple different reference driving signals; The type is determined based on the frequency change.
4. The method according to claim 3, characterized in that, Determining the vibration frequency corresponding to each of the reference driving signals includes: Obtain the reverse induced electromotive force corresponding to the free vibration stage of the reference driving signal; The vibration frequency is determined based on the frequency of the reverse induced electromotive force.
5. The method according to claim 3, characterized in that, Determining the vibration frequency corresponding to each of the reference driving signals includes: Determine the first vibration frequency corresponding to the first reference driving signal; Determine the second vibration frequency corresponding to each of the multiple second reference driving signals; Determining the frequency change based on the vibration frequencies corresponding to multiple different reference driving signals includes: Determine the frequency difference between each of the second vibration frequencies and the first vibration frequency; The frequency change is determined based on the frequency difference.
6. The method according to claim 5, characterized in that, Determining the frequency change based on the frequency difference includes: The frequency change is determined based on the maximum value of the frequency difference; or, The frequency change is determined based on the mean of the frequency difference.
7. The method according to claim 3, characterized in that, The range of frequency variation varies depending on the type of motor.
8. The method according to claim 3 or 7, characterized in that, Determining the type based on the frequency change includes: If the frequency change is within a preset range, the assembled motor is determined to be a first-type motor. If the frequency change exceeds the preset range, the assembled motor is determined to be a second type of motor.
9. The method according to claim 2, characterized in that, The step of determining the type based on the inductance of the coil during the driving process of the assembled motor includes: Determine the inductance; The type is determined based on the inductance range of the inductor; wherein, different types of motors correspond to different inductance ranges.
10. The method according to claim 9, characterized in that, Determining the inductance includes: Based on the voltage and current of the assembled motor during the driving process, determine the impedance and resistance; The inductive reactance is determined based on the impedance and the resistance; The inductance is determined based on the inductive reactance and the resonant frequency of the assembled motor.
11. The method according to claim 1, characterized in that, The step of determining a second drive signal that matches the assembled motor according to its type includes: The second drive signal is determined from the stored candidate drive signals according to the type; wherein the type, the candidate drive signal and the second drive signal are related.
12. The method according to claim 1, characterized in that, The second driving signal includes driving signals for multiple different vibration scenarios; The method further includes: The vibration scenario is identified based on the input operation; Based on the vibration scenario, a driving signal matching the vibration scenario is determined from the second driving signal.
13. The method according to claim 1, characterized in that, The determination of the second drive signal that matches the assembled motor includes: It is determined that the type of the assembled motor is different from the type of the motor corresponding to the stored reference drive signal; During the process of driving the motor corresponding to the reference drive signal, the reference drive signal determines the first drive voltage in the reference drive signal and the first displacement of the motor corresponding to the reference drive signal at any time. Based on the first driving voltage and the first displacement, determine the second driving voltage of the assembled motor at the first displacement; The second drive signal is generated based on the second drive voltage.
14. An information processing device, characterized in that, include: The detection module is used to detect the type of the assembled motor; under the same first drive signal, different types of motors will have different vibration effects. The determining module is used to determine a second drive signal that matches the assembled motor based on the type it belongs to.
15. A terminal device, characterized in that, include: A processor and a memory for storing computer programs or executable instructions capable of running on the processor, wherein: When the processor is used to run the computer program or the executable instructions, the executable instructions perform the method according to any one of claims 1 to 13.
16. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores a computer program or computer-executable instructions, which, when executed by a processor, implement the method described in any one of claims 1 to 13.
17. A computer program product, comprising a computer program or executable instructions, characterized in that, When the computer program or executable instructions are executed by a processor, they implement the method of any one of claims 1 to 13.