WO2021102678A1 - 振动控制方法、终端设备及存储介质 - Google Patents
振动控制方法、终端设备及存储介质 Download PDFInfo
- Publication number
- WO2021102678A1 WO2021102678A1 PCT/CN2019/120925 CN2019120925W WO2021102678A1 WO 2021102678 A1 WO2021102678 A1 WO 2021102678A1 CN 2019120925 W CN2019120925 W CN 2019120925W WO 2021102678 A1 WO2021102678 A1 WO 2021102678A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frequency offset
- terminal device
- target frequency
- temperature
- offset
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012937 correction Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 13
- 238000005070 sampling Methods 0.000 description 24
- 230000000694 effects Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 230000001360 synchronised effect Effects 0.000 description 9
- 230000005291 magnetic effect Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L1/00—Stabilisation of generator output against variations of physical values, e.g. power supply
- H03L1/02—Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/081—Details of the phase-locked loop provided with an additional controlled phase shifter
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/10—Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range
Definitions
- the present invention relates to mobile communication technology, in particular to a vibration control method, terminal equipment and storage medium.
- Resonant devices such as motors in current mobile terminals and other terminal devices can use General Purpose Input Output (GPIO), Pulse Width Modulation (PWM) or drive chips to control motor vibration.
- GPIO General Purpose Input Output
- PWM Pulse Width Modulation
- drive chips to control motor vibration.
- a drive chip that stores a variety of motor vibration waveform data is used to drive the motor to implement different vibration waveforms according to different scenarios, so as to achieve different vibration effects in different scenarios.
- the frequency of the vibration waveform in different scenarios is configured by the terminal device before leaving the factory, but after the terminal device leaves the factory, the natural frequency of the resonant device may shift due to the temperature of the terminal device. , So that there is a certain deviation between the actual vibration frequency and the design value of the vibration frequency.
- the embodiments of the present invention provide a vibration control method, terminal equipment and storage medium, which can eliminate the vibration deviation caused by the temperature of the resonance device.
- an embodiment of the present invention provides a vibration control method, the method including:
- the vibration of the resonance device in the terminal device is controlled according to the target frequency offset.
- an embodiment of the present invention provides a terminal device, and the terminal device includes:
- the collection unit is configured to collect the temperature of the terminal equipment
- a determining unit configured to determine a target frequency offset corresponding to the temperature
- the control unit is configured to control the vibration of the resonance device in the terminal device according to the target frequency offset.
- an embodiment of the present invention provides a terminal device, including:
- Memory used to store executable instructions
- the processor is configured to implement the steps of the vibration control method when executing the executable instructions stored in the memory.
- an embodiment of the present invention provides an executable instruction stored therein, which is used to cause a processor to execute the vibration control method described above.
- the vibration control method, terminal device and storage medium provided by the embodiments of the present invention collect the temperature of the terminal device; determine the target frequency offset corresponding to the temperature; control the resonance in the terminal device according to the target frequency offset The vibration of the device; thus, the vibration frequency of the resonant device is corrected according to the frequency offset corresponding to the current temperature of the terminal device, so that the actual vibration frequency and the design value of the vibration frequency tend to be consistent, and the vibration of the resonant device due to temperature is eliminated Deviations ensure a better vibration feeling of the resonant device and improve the user experience of the terminal device.
- FIG. 1 is an optional flowchart of a vibration control method according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of an optional flow chart of a vibration control method according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a waveform of a driving signal provided by an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a waveform of a driving signal provided by an embodiment of the present invention.
- FIG. 5 is an optional flowchart of a vibration control method provided by an embodiment of the present invention.
- FIG. 6 is an optional flowchart of a vibration control method provided by an embodiment of the present invention.
- FIG. 7 is a schematic diagram of an optional structure of a terminal device implemented in the present invention.
- FIG. 8 is a schematic diagram of an optional structure of an electronic device provided by an embodiment of the present invention.
- first ⁇ second ⁇ third involved only distinguishes similar objects, and does not represent a specific order for the objects. Understandably, “first ⁇ second ⁇ third” Where permitted, the specific order or sequence can be interchanged, so that the embodiments of the present invention described herein can be implemented in a sequence other than those illustrated or described herein.
- the natural frequency of the resonance device such as the motor may shift due to the temperature of the terminal equipment, and the actual sampling frequency calibrated before leaving the factory may also shift, resulting in resonance.
- the actual resonant frequency of the device There is a certain deviation between the actual resonant frequency of the device and the design value of the resonant frequency, which causes the vibration of the resonant device to change.
- the calibration of the sampling frequency of the resonant device requires precision equipment to reconfigure the waveform data of the resonant device to adapt the calibrated sampling frequency to the shifted natural frequency. Therefore, the sampling frequency of the resonant device in the related art is not suitable Self-calibration of consumer electronic equipment after leaving the factory.
- Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
- UE user equipment
- user units user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
- the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in the future evolution of PLMN, etc.
- SIP Session Initiation Protocol
- WLL Wireless Local Loop
- PDA Personal Digital Assistant
- Resonant devices refer to components such as motors that can generate vibration based on the adaptation of natural frequency and sampling frequency.
- the motor may be a linear resonance actuator (Linear Resonance Actuator, LRA).
- LRA Linear Resonance Actuator
- the vibration of the resonant device can be sensed by people to produce a tactile feedback effect.
- the linear resonance motor includes: a spring, a magnetic mass and a coil.
- the spring suspends the coil inside the linear resonant motor. When current flows through the coil, the coil generates a magnetic field.
- the coil is connected with a magnetic mass. When the current flowing through the coil changes, the direction and strength of the magnetic field will also change, and the mass will move up and down in the changing magnetic field.
- the linear resonance motor moves based on the movement of the mass, and this movement is perceived by people to produce a tactile feedback effect.
- the terminal device uses a drive chip storing multiple drive waveform data to implement different vibration waveforms according to different scenarios, realize different vibration effects, and thereby enhance the vibration experience in different scenarios.
- the vibration control method provided by the embodiment of the present invention, as shown in FIG. 1, includes:
- S101 Collect the temperature of the terminal device.
- the terminal device provided by the embodiment of the present invention may be provided with a temperature sensor, and the temperature sensor can sense the temperature of the terminal device.
- the temperature sensor is a temperature sensor of the system in the terminal.
- the temperature sensor is a temperature sensor added to the terminal device based on vibration control.
- the temperature sensor is set in the terminal device at a position close to the main board of the terminal device to accurately determine the temperature of the terminal device.
- the temperature sensor is arranged on the main board near the resonant device to collect the temperature of the area on the main board close to the resonant device in the terminal device.
- the temperature sensor is provided in a temperature-sensitive area on the main board to be able to quickly sense the temperature change of the main board of the terminal device.
- the temperature-sensitive area on the main board can quickly react to temperature compared to other areas on the main board. For example: when the memory consumed by the application running on the terminal device is greater than the specified memory, the processor of the terminal device runs at high power, causing the motherboard to heat up, and the temperature of the temperature-sensitive area is significantly higher than that of other areas. The memory consumed by the application is reduced or the terminal is in a dormant state, and the temperature of the temperature-sensitive area drops significantly relative to other areas. For another example: when the terminal device is in a fast charging state, the motherboard heats up, and the temperature of the temperature-sensitive area increases significantly relative to other areas. When the terminal device is finished charging, the temperature of the temperature-sensitive area decreases significantly relative to other areas.
- the number of temperature sensors and the location of the temperature sensors are not limited in any way.
- the highest temperature among the temperatures collected by the multiple temperature sensors may be used as the temperature of the terminal device.
- the average temperature of the temperatures collected by the multiple temperature sensors may be used as the temperature of the terminal device.
- the temperature collected by the terminal device through the temperature sensor is the real-time temperature of the terminal device, such as 0 degrees Celsius (°C), 5°C, and 10°C.
- the terminal device generates a temperature detection instruction based on a received driving instruction that instructs the resonance device to vibrate; and starts collecting the temperature of the terminal device based on the temperature detection instruction.
- the terminal device can receive drive instructions based on user operations, calls, system reminders and other events to instruct the resonance device to vibrate.
- the terminal device generates a temperature detection instruction that instructs the temperature sensor to collect the temperature based on the trigger of the received drive instruction, and based on the temperature detection Instruct the temperature sensor to start collecting the temperature of the device, so as to collect the temperature of the terminal device through the temperature sensor.
- the terminal device determines the target frequency offset for correcting the sampling frequency of the terminal device based on the temperature determined in S101.
- the method for determining the target frequency offset corresponding to the temperature includes one of the following:
- Manner 1 Obtain the temperature range included in the corresponding relationship between the set temperature range and the frequency offset; determine the target temperature range to which the temperature belongs in the acquired temperature range; determine the target temperature range according to the corresponding relationship The target frequency offset corresponding to the target temperature range;
- Manner 2 Input the temperature into the offset network model to obtain the target frequency offset output by the offset network model.
- the terminal device is provided with a frequency offset list.
- the frequency offset list includes the corresponding relationship between the set temperature range and the frequency offset, where different corresponding relationships have different temperature ranges, and different temperature ranges correspond to different frequency offsets.
- the terminal device obtains the temperature range included in the corresponding relationship, determines the temperature range to which the collected temperature belongs, that is, the target temperature range, and uses the frequency offset corresponding to the target temperature range in the frequency offset list as the target corresponding to the collected temperature The temperature offset.
- the frequency offset list is shown in Table 1, and the temperature ranges included in the set correspondence relationship include: -20 to 25°C, 25 to 30°C, and 30 to 80°C.
- the temperature is -10°C, -20 to 25°C, 25 to 30°C, and 30 to 80°C. If the target temperature range of -10°C is -20 to 25°C, the corresponding target frequency offset is -2 Hz (HZ); When the collected terminal device temperature is 20°C, and the target temperature range to which it belongs is 25 to 30°C, the corresponding target frequency offset is 0HZ.
- the frequency offset is -2, which means that the sampling frequency of the resonant device is reduced by 2HZ, and +5 means that the sampling frequency of the resonant device is increased by 5HZ.
- frequency offset positive, zero, and negative.
- the frequency offset is a positive number, it means that the sampling frequency of the resonant device is increased; when the frequency offset is zero, it means that the sampling frequency of the resonant device remains unchanged; when the frequency offset is a negative number, it means that the resonance is reduced The sampling frequency of the device.
- the vibration correction method provided by the embodiment of the present invention can be applied to different scenarios, such as game scenes, incoming field scenes, alarm clock reminding scenes, and so on.
- the waveforms of the driving signals for driving the resonance device to vibrate are different.
- the terminal device uses the same frequency offset list for different scenarios.
- the relationship between the temperature range and the frequency offset in the offset list in the terminal device can be set according to actual requirements.
- the terminal device is provided with an offset network model trained based on temperature samples and corresponding frequency offset samples.
- the terminal device inputs the collected temperature to the offset network model, and the output of the offset network model is the target frequency offset corresponding to the input temperature.
- the temperature sample and the corresponding frequency offset sample may be sample data obtained by the terminal device from the network, or may be sample data input by the user received by the terminal device.
- the temperature sample and the corresponding frequency offset sample may also include the historical temperature of the vibration of the control resonance device in the terminal device and the corresponding historical frequency offset.
- the embodiment of the present invention does not impose any limitation on the acquisition path of the sample data for training the offset network model.
- the algorithm adopted by the offset network model of the terminal device is a neural network algorithm, and there is no restriction on the structure of the offset network model.
- the method for the terminal device to determine the target frequency offset corresponding to the temperature includes: sending the collected temperature to the network side, and receiving the target frequency offset corresponding to the sent temperature returned by the network side. There is no restriction on the way the network side determines the target frequency offset to be returned based on the received temperature.
- the terminal device After determining the target frequency offset, the terminal device adjusts the sampling frequency of the driving signal that drives the resonance device to vibrate through the target frequency offset, so as to adjust the sampling frequency of the resonance device, which tends to be consistent with the natural frequency of the resonance device.
- the vibration of the resonance device in the terminal device is controlled to be corrected.
- S103 includes:
- S1031 Obtain a reference frequency of a driving signal for driving the resonance device to vibrate.
- the reference frequency is the sampling frequency of the drive signal set by the terminal device to drive the resonance device to vibrate.
- the reference frequency of the driving signal in different scenarios is the same.
- the terminal device After obtaining the reference frequency, the terminal device adds the target frequency offset to the reference frequency to obtain the target frequency after the reference frequency is corrected according to the target frequency offset.
- the reference frequency is Fref
- the target frequency offset is ⁇ F
- the target frequency is F calculated by formula (1):
- the vibration time of the resonant device is from t1 to t2, where the waveform of the drive signal before being corrected based on the target frequency is shown in Fig. 3.
- the sampling frequency during the period from t1 to t2 is the reference frequency.
- the size of the frequency is f1.
- the waveform of the drive signal after being corrected based on the target frequency is shown in Figure 4.
- the sampling frequency during the period from t1 to t2 is the target frequency.
- the size of is f2, where f1 ⁇ f2.
- the terminal equipment drives the resonant device to vibrate with the driving signal with the sampling frequency as the target frequency, so that the sampling frequency is adapted to the natural frequency of the resonant device, thereby correcting the vibration of the terminal equipment.
- the waveform of the driving signal is not adjusted. Therefore, after controlling the vibration of the resonant device in the terminal device based on the target frequency offset, the resonant device is different Different vibrations can continue to be performed under the scenes, so as to meet the needs of multiple scenes, so that users can distinguish different scenes according to the current vibration situation.
- the method further includes:
- the detection resonance device corrects the sampling frequency of the driving signal based on the target frequency offset to obtain the frequency of vibration when the sampling frequency is driven, thereby monitoring the correction effect of the current target frequency offset.
- the frequency of the vibration of the resonance device is detected.
- the terminal device corrects the target frequency offset according to the detected correction effect of the current target frequency offset.
- the correction effect reaches the expected correction effect
- the current target frequency offset is not corrected.
- the correction effect does not reach the expected correction effect
- the current target frequency offset is corrected.
- the corrected target frequency offset is used to control the vibration of the resonance device.
- the reference frequency of the driving signal for driving the resonance device to vibrate is used as a measurement parameter of the correction effect.
- S105 includes: comparing the detected frequency with the reference frequency of the driving signal that drives the resonant device to vibrate; when the frequency difference between the detected frequency and the reference frequency is greater than the specified frequency difference threshold, pass the The frequency difference corrects the target frequency offset to obtain the corrected target frequency offset.
- the frequency difference between the detected frequency and the reference frequency is greater than the specified frequency difference threshold, it indicates that the correction effect has not reached the expected correction effect, and the target frequency offset needs to be corrected.
- the frequency difference between the detected frequency and the reference frequency is not greater than the specified frequency difference threshold, it indicates that the correction effect has reached the expected correction effect, and the target frequency offset does not need to be corrected.
- the method for correcting the target frequency offset includes: correcting the target frequency offset by the frequency difference between the detected frequency and the reference frequency to obtain the corrected target frequency offset.
- the target frequency offset correction can be corrected ⁇ F (2) calculated by the equation:
- ⁇ F school F difference + ⁇ F formula (2)
- F difference is the frequency difference between the detected frequency and the reference frequency.
- the target frequency offset or the offset network model is updated.
- the terminal device determines the target frequency offset corresponding to the temperature by way of mode 1
- the corresponding relationship between the temperature range and the frequency offset is determined
- the target frequency offset is updated.
- the target frequency offset in the frequency offset list is updated and updated to the corrected target frequency offset.
- the corresponding relationship of the frequency offset list is shown in Table 1.
- the target frequency offset is 5HZ
- the corrected target frequency offset is obtained after the target frequency offset is corrected.
- the shift amount is 6HZ
- the updated frequency offset list is shown in Table 2.
- the parameters of the offset network model are updated based on the corrected target frequency offset.
- the terminal device updates the parameters of the offset network model based on the current temperature and the corrected target frequency offset, so that the output of the offset network model makes the offset network model output frequency offset for the input temperature
- the amount is adapted to the use of the terminal equipment, and the sampling frequency of the drive signal is maintained to adapt to the natural frequency of the resonance device.
- the target frequency offset in the correspondence relationship or the parameters of the offset network model are updated by the corrected target frequency offset, so that the temperature range of the target frequency offset is determined by the correction effect.
- the corresponding relationship with the frequency offset, or the offset network model for feedback adjustment, to accurately determine the frequency offset that eliminates the vibration deviation caused by the temperature of the resonant device, so that the frequency offset stored in the terminal device The list and the offset network model can be dynamically adjusted as the deviation of the natural frequency of the resonance device in the terminal device is adjusted.
- the method 1 is used to determine the target frequency offset corresponding to the temperature, and the motor is taken as an example to illustrate the vibration control method provided by the embodiment of the present invention, as shown in FIG. 6, including:
- S601 Preset a relationship table between different temperature ranges and frequency offsets.
- the corresponding relationship between different temperature ranges and frequency offsets is preset in the system of the terminal equipment to form a frequency offset relationship table.
- the terminal device regularly obtains the system temperature.
- the current temperature of the terminal device can be acquired by the temperature sensor added in the terminal device, or it can be acquired by the temperature sensor that comes with the system.
- S603 Determine whether there is a frequency offset corresponding to the temperature of the current system in the relationship table.
- the upper-level software service of the terminal device queries the preset relationship table to determine whether there is a frequency offset corresponding to the current system temperature in the preset relationship. If not, execute S604, if yes, execute S605.
- the drive chip uses the default frequency to output the drive signal.
- the upper software service department of the terminal device sets the drive system, and the drive chip in the drive system outputs a drive signal at a default frequency to drive the resonance device to vibrate.
- the upper software service sets the bottom system, and the drive system sets the driver IC;
- S606 Set the output frequency of the driver chip to the current output sampling frequency plus the frequency offset.
- the upper-layer software service of the terminal device sets the drive system of the underlying system to set the output frequency of the drive chip to the current output sampling frequency plus the frequency offset.
- the driving chip is used to output a driving waveform at a set output frequency.
- the drive chip uses the current output actual frequency plus the frequency offset to output the drive waveform to drive the resonant device, so that the frequency of the actual drive voltage waveform of the resonant device tends to be consistent with the actual natural frequency of the resonant device.
- the system of the terminal device includes two levels: an upper layer service and a lower layer system; the upper layer service is responsible for logical judgment, and the lower layer system is responsible for setting the driver chip.
- the hardware composition of the terminal device includes: a terminal system, a driving chip, and a resonance device (such as a motor).
- the terminal system and the driver chip can communicate with each other through an interrupt pin, a serial peripheral interface (Serial Peripheral Interface, SPI), or a two-wire serial bus (Inter-Integrated Circuit, I2C) interface.
- SPI Serial Peripheral Interface
- I2C Inter-Integrated Circuit
- the vibration control method detects the temperature of the terminal system during operation in real time, queries the relationship table between the temperature range and the frequency offset, obtains the linear motor resonance frequency offset corresponding to the current temperature, and drives the chip to finally
- the corrected actual frequency is used to output the driving waveform to drive the resonant device, so that the frequency of the actual driving voltage waveform of the resonant device is consistent with the actual natural frequency of the resonant device, and solves the resonant frequency of the resonant device caused by a large change in temperature There is a deviation, so as to ensure a better vibration feeling of the resonant device, and further improve the user experience.
- an embodiment of the present invention also provides a terminal device.
- the composition structure of the terminal device is shown in FIG. 7, and the terminal device 700 includes:
- the collection unit 701 is configured to collect the temperature of the terminal device
- the determining unit 702 is configured to determine the target frequency offset corresponding to the temperature
- the control unit 703 is configured to control the vibration of the resonance device in the terminal device according to the target frequency offset.
- the terminal device further includes:
- a triggering unit configured to generate a temperature detection instruction based on a received triggering of a driving instruction that instructs the resonance device to vibrate
- the collecting unit 701 is further configured to start collecting the temperature of the terminal device based on the temperature detection instruction.
- the determining unit 702 is further configured to:
- the target frequency offset corresponding to the target temperature range is determined.
- the determining unit 702 is further configured to:
- the temperature is input into the offset network model to obtain the target frequency offset output by the offset network model.
- control unit 703 is further configured to:
- the resonance device is driven to vibrate at the target frequency.
- the terminal device further includes:
- the detection unit is configured to detect the frequency of the vibration of the resonance device after controlling the vibration of the resonance device in the terminal device according to the target frequency offset;
- the correction unit is configured to correct the target frequency offset according to the detected frequency to obtain the corrected target frequency offset.
- the correction unit is further configured as:
- the target frequency offset is corrected by the frequency difference to obtain the corrected target frequency offset.
- the terminal device further includes:
- the first updating unit is configured to update the target frequency offset in the correspondence relationship between the temperature range and the frequency offset based on the corrected target frequency offset.
- the terminal device further includes:
- the second update unit is configured to update the parameters of the offset network model based on the corrected target frequency offset.
- An embodiment of the present invention also provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned terminal device when the computer program is running. Steps of vibration control method.
- FIG. 8 is a schematic diagram of the hardware composition structure of an electronic device (terminal device) according to an embodiment of the present invention.
- the electronic device 800 includes: at least one processor 801, a memory 802, a resonance device 803, and at least one network interface 804.
- the various components in the electronic device 800 are coupled together through the bus system 805.
- the bus system 805 is used to implement connection and communication between these components.
- the bus system 805 also includes a power bus, a control bus, and a status signal bus.
- various buses are marked as the bus system 805 in FIG. 8.
- the memory 802 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
- non-volatile memory can be ROM, Programmable Read-Only Memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory), and electrically erasable Programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM (CD) -ROM, Compact Disc Read-Only Memory); Magnetic surface memory can be disk storage or tape storage.
- the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
- RAM random access memory
- SRAM static random access memory
- SSRAM synchronous static random access memory
- Synchronous Static Random Access Memory Synchronous Static Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM Enhanced Synchronous Dynamic Random Access Memory
- SLDRAM synchronous connection dynamic random access memory
- DRRAM Direct Rambus Random Access Memory
- the memory 802 described in the embodiment of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
- the memory 802 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 800. Examples of these data include: any computer program used to operate on the electronic device 800, such as an application program 8021.
- the program for implementing the method of the embodiment of the present invention may be included in the application program 8021.
- the method disclosed in the foregoing embodiment of the present invention may be applied to the processor 801 or implemented by the processor 801.
- the processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software.
- the aforementioned processor 801 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
- the processor 801 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention.
- the general-purpose processor may be a microprocessor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention can be directly embodied as execution and completion by a hardware decoding processor, or execution and completion by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium, and the storage medium is located in the memory 802.
- the processor 801 reads the information in the memory 802 and completes the steps of the foregoing method in combination with its hardware.
- the electronic device 800 may be used by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components to implement the foregoing method.
- ASIC Application Specific Integrated Circuit
- DSP digital signal processor
- PLD programmable logic device
- CPLD complex programmable logic device
- FPGA field-programmable logic device
- controller MCU
- MPU or other electronic components to implement the foregoing method.
- the embodiment of the present invention also provides a storage medium for storing computer programs.
- the storage medium can be applied to the terminal device in the embodiment of the present invention, and the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present invention.
- the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present invention.
- These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
- the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
Landscapes
- Apparatuses For Generation Of Mechanical Vibrations (AREA)
Abstract
Description
温度范围,单位:摄氏度 | 频率偏移量,单位:HZ |
-20-25 | -2 |
25-30 | 0 |
30-80 | +5 |
温度范围,单位:摄氏度 | 频率偏移量,单位:HZ |
-20-25 | -2 |
25-30 | 0 |
30-80 | +6 |
Claims (20)
- 一种振动控制方法,所述方法包括:采集终端设备的温度;确定所述温度对应的目标频率偏移量;根据所述目标频率偏移量控制所述终端设备中谐振装置的振动。
- 根据权利要求1所述的方法,其中,所述方法还包括:基于接收到的指示所述谐振装置进行振动的驱动指令的触发,生成温度检测指令;基于所述温度检测指令开始采集所述终端设备的温度。
- 根据权利要求1所述的方法,其中,所述确定所述温度对应的目标频率偏移量,包括:获取设定的温度范围与频率偏移量的对应关系所包括的温度范围;确定所获取的温度范围中,所述温度所属的目标温度范围;根据所述对应关系,确定所述目标温度范围对应的目标频率偏移量。
- 根据权利要求1所述的方法,其中,所述确定所述温度对应的目标频率偏移量,包括:将所述温度输入偏移量网络模型,得到所述偏移量网络模型输出的目标频率偏移量。
- 根据权利要求1至4任一项所述的方法,其中,所述根据所述目标频率偏移量控制所述终端设备中的谐振装置的振动,包括:获取驱动所述谐振装置进行振动的驱动信号的参考频率;根据所述目标频率偏移量对所述参考频率进行校正,得到目标频率;以所述目标频率驱动所述谐振装置进行振动。
- 根据权利要求1至4任一项所述的方法,其中,在根据所述目标频率偏移量控制所述终端设备中的谐振装置的振动之后,所述方法还包括:检测所述谐振装置振动的频率;根据所检测的频率,对所述目标频率偏移量进行校正,得到校正后的目标频率偏移量。
- 根据权利要求6所述的方法,其中,所述根据所检测的频率,对所述目标频 率偏移量进行校正,得到校正后的目标频率偏移量,包括:将所检测的频率和驱动所述谐振装置振动的驱动信号的参考频率进行比较;当所检测的频率和所述参考频率的频率差值大于指定的频率差阈值,通过所述频率差值对所述目标频率偏移量进行校正,得到校正后的目标频率偏移量。
- 根据权利要求6所述的方法,其中,所述方法还包括:基于所述校正后的目标频率偏移量,对温度范围与频率偏移量的对应关系中的所述目标频率偏移量进行更新。
- 根据权利要求6所述的方法,其中,所述方法还包括:基于所述校正后的目标频率偏移量,对偏移量网络模型的参数进行更新。
- 一种终端设备,所述终端设备包括:采集单元,配置为采集终端设备的温度;确定单元,配置为确定所述温度对应的目标频率偏移量;控制单元,配置为根据所述目标频率偏移量控制所述终端设备中的谐振装置的振动。
- 根据权利要求10所述的终端设备,其中,所述终端设备还包括:触发单元,配置为基于接收到的指示所述谐振装置进行振动的驱动指令的触发,生成温度检测指令;所述采集单元,还配置为基于所述温度检测指令开始采集所述终端设备的温度。
- 根据权利要求10所述的终端设备,其中,所述确定单元,还配置为:获取设定的温度范围与频率偏移量的对应关系所包括的温度范围;确定所获取的温度范围中,所述温度所属的目标温度范围;根据所述对应关系,确定所述目标温度范围对应的目标频率偏移量。
- 根据权利要求10所述的终端设备,其中,所述确定单元,还配置为:将所述温度输入偏移量网络模型,得到所述偏移量网络模型输出的目标频率偏移量。
- 根据权利要求10至13任一项所述的终端设备,其中,所述控制单元,还配置为:获取驱动所述谐振装置进行振动的驱动信号的参考频率;根据所述目标频率偏移量对所述参考频率进行校正,得到目标频率;以所述目标频率驱动所述谐振装置进行振动。
- 根据权利要求10至13任一项所述的终端设备,其中,所述终端设备还包括:检测单元,配置为在根据所述目标频率偏移量控制所述终端设备中的谐振装置的振动之后,检测所述谐振装置振动的频率;校正单元,配置为根据所检测的频率,对所述目标频率偏移量进行校正,得到校正后的目标频率偏移量。
- 根据权利要求15所述的终端设备,其中,所述校正单元,还配置为:将所检测的频率和驱动所述谐振装置振动的驱动信号的参考频率进行比较;当所检测的频率和所述参考频率的频率差值大于指定的频率差阈值,通过所述频率差值对所述目标频率偏移量进行校正,得到校正后的目标频率偏移量。
- 根据权利要求15所述的终端设备,其中,所述终端设备还包括:第一更新单元,配置为:基于所述校正后的目标频率偏移量,对温度范围与频率偏移量的对应关系中的所述目标频率偏移量进行更新。
- 根据权利要求15所述的终端设备,其中,所述终端设备还包括:第二更新单元,配置为:基于所述校正后的目标频率偏移量,对偏移量网络模型的参数进行更新。
- 一种终端设备,包括:存储器,用于存储可执行指令;处理器,用于执行所述存储器中存储的可执行指令时,实现权利要求1至9任一项所述的振动控制方法的步骤。
- 一种存储介质,存储有可执行指令,用于引起处理器执行时,实现权利要求1至9任一项所述的振动控制方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201980100796.9A CN114503435A (zh) | 2019-11-26 | 2019-11-26 | 振动控制方法、终端设备及存储介质 |
PCT/CN2019/120925 WO2021102678A1 (zh) | 2019-11-26 | 2019-11-26 | 振动控制方法、终端设备及存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/120925 WO2021102678A1 (zh) | 2019-11-26 | 2019-11-26 | 振动控制方法、终端设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021102678A1 true WO2021102678A1 (zh) | 2021-06-03 |
Family
ID=76129018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/120925 WO2021102678A1 (zh) | 2019-11-26 | 2019-11-26 | 振动控制方法、终端设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114503435A (zh) |
WO (1) | WO2021102678A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625658A (zh) * | 2021-08-17 | 2021-11-09 | 杭州飞钛航空智能装备有限公司 | 偏移信息处理方法、装置、电子设备和制孔机构 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7145402B2 (en) * | 2004-06-24 | 2006-12-05 | Nokia Corporation | Multi-mode frequency synthesizer with temperature compensation |
CN102141771A (zh) * | 2011-03-08 | 2011-08-03 | 无锡辐导微电子有限公司 | 一种频率校正方法和装置 |
CN103138749A (zh) * | 2011-11-24 | 2013-06-05 | 无锡辐导微电子有限公司 | 改进的频率校正方法和装置 |
CN105720971A (zh) * | 2014-12-22 | 2016-06-29 | 英特尔Ip公司 | 锁相环的粗调谐选择 |
US9621170B2 (en) * | 2013-08-13 | 2017-04-11 | Silicon Laboratories Inc. | Accurate frequency control using a MEMS-based oscillator |
CN107306132A (zh) * | 2016-04-25 | 2017-10-31 | 精工爱普生株式会社 | 电路装置、振荡器、电子设备以及移动体 |
CN110380724A (zh) * | 2019-07-26 | 2019-10-25 | 北京智芯微电子科技有限公司 | Rtc时钟频率温度补偿芯片 |
-
2019
- 2019-11-26 WO PCT/CN2019/120925 patent/WO2021102678A1/zh active Application Filing
- 2019-11-26 CN CN201980100796.9A patent/CN114503435A/zh active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7145402B2 (en) * | 2004-06-24 | 2006-12-05 | Nokia Corporation | Multi-mode frequency synthesizer with temperature compensation |
CN102141771A (zh) * | 2011-03-08 | 2011-08-03 | 无锡辐导微电子有限公司 | 一种频率校正方法和装置 |
CN103138749A (zh) * | 2011-11-24 | 2013-06-05 | 无锡辐导微电子有限公司 | 改进的频率校正方法和装置 |
US9621170B2 (en) * | 2013-08-13 | 2017-04-11 | Silicon Laboratories Inc. | Accurate frequency control using a MEMS-based oscillator |
CN105720971A (zh) * | 2014-12-22 | 2016-06-29 | 英特尔Ip公司 | 锁相环的粗调谐选择 |
CN107306132A (zh) * | 2016-04-25 | 2017-10-31 | 精工爱普生株式会社 | 电路装置、振荡器、电子设备以及移动体 |
CN110380724A (zh) * | 2019-07-26 | 2019-10-25 | 北京智芯微电子科技有限公司 | Rtc时钟频率温度补偿芯片 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625658A (zh) * | 2021-08-17 | 2021-11-09 | 杭州飞钛航空智能装备有限公司 | 偏移信息处理方法、装置、电子设备和制孔机构 |
Also Published As
Publication number | Publication date |
---|---|
CN114503435A (zh) | 2022-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055364B (zh) | 一种启动应用方法及终端设备 | |
US9728995B2 (en) | Systems, methods and devices for adaptable battery charging | |
CN106575142B (zh) | 多装置传感器子系统联合优化 | |
KR102258143B1 (ko) | 전자 장치의 충전 회로 | |
US20180123494A1 (en) | Method and device for controlling vibration of motor | |
RU2644410C2 (ru) | Способ для напоминания и устройство напоминания | |
WO2015197000A1 (zh) | 控制移动终端硬件状态的方法及装置 | |
CN106020670B (zh) | 一种屏幕点亮控制方法、装置及电子设备 | |
CN107532900A (zh) | 一种确定校准参数方法和移动设备 | |
CN113489171A (zh) | 用于无线电力供应和接收的设备及其操作方法 | |
US20190313352A1 (en) | Methods, devices, and systems for scheduled sensing | |
US20130231894A1 (en) | Method and apparatus for providing battery information | |
US20190160659A1 (en) | Servo driving method, apparatus, and robot thereof | |
TW202023176A (zh) | 線性諧振裝置的驅動電壓波形的頻率校準方法及相關裝置 | |
WO2021102678A1 (zh) | 振动控制方法、终端设备及存储介质 | |
CN106250430A (zh) | 智能设备列表的排序方法及装置 | |
CN105652209B (zh) | 电池状态检测方法及应用其的联网装置 | |
TWI684846B (zh) | 用於透過串聯耦合至一輸入電力及該負載之一電流控制開關控制流入至一負載中之一平均電流之切換控制電路,以及連續電流模式操作轉換器 | |
WO2021042637A1 (zh) | 步进电机控制方法、装置、系统及存储介质 | |
CN111059716A (zh) | 一种调整空调参数的方法、装置及存储介质 | |
CN115542722A (zh) | 一种pid控制系统及控制方法 | |
US9838023B2 (en) | Slow-clock calibration method and unit, clock circuit, and mobile communication terminal | |
US20170025980A1 (en) | Method for driving vibrating motor | |
CN104932787A (zh) | 一种控制方法及电子设备 | |
CN108123548B (zh) | 无线充电方法和支持该方法的电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19954167 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19954167 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 25.11.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19954167 Country of ref document: EP Kind code of ref document: A1 |