WO2021052170A1 - Motor vibration control method and electronic device - Google Patents

Motor vibration control method and electronic device Download PDF

Info

Publication number
WO2021052170A1
WO2021052170A1 PCT/CN2020/112884 CN2020112884W WO2021052170A1 WO 2021052170 A1 WO2021052170 A1 WO 2021052170A1 CN 2020112884 W CN2020112884 W CN 2020112884W WO 2021052170 A1 WO2021052170 A1 WO 2021052170A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
motor vibration
electronic device
waveform
battery
Prior art date
Application number
PCT/CN2020/112884
Other languages
French (fr)
Chinese (zh)
Inventor
查婷民
陈博文
赵春江
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US17/761,721 priority Critical patent/US11949356B2/en
Priority to EP20866623.0A priority patent/EP4024699A4/en
Publication of WO2021052170A1 publication Critical patent/WO2021052170A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/032Reciprocating, oscillating or vibrating motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/047Vibrating means for incoming calls
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B6/00Tactile signalling systems, e.g. personal calling systems
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components

Definitions

  • This application relates to the field of terminal technology, and in particular to a motor vibration control method and electronic equipment.
  • a motor is used in a terminal device such as a mobile phone to realize the vibration function, so that the user receives tactile feedback when performing a touch operation on the mobile phone to confirm the execution of the operation; or the mobile phone generates vibration when receiving a notification to promptly remind the user to pay attention.
  • the present application provides a motor vibration control method and an electronic device, which can realize that the electronic device can drive the motor to vibrate without shutting down when the battery carrying capacity is relatively low.
  • the present application provides a motor vibration control method.
  • the method may include: acquiring a battery status in a case where a first motor vibration waveform vibration request is received.
  • the battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capability. If the battery status meets the preset condition, switch the motor vibration parameters; the preset condition is that the battery power supply capacity is lower than the first threshold, or the battery temperature is lower than the second threshold, or the battery temperature & battery power is lower than the third threshold array .
  • Motor vibration parameters include: motor vibration waveform or motor vibration input voltage. Drive the motor to vibrate according to the switched motor vibration parameters.
  • the motor vibration power consumption can be dynamically adjusted, and the motor vibration power consumption can be reduced without causing abnormal power failure of the mobile phone. Shut down.
  • the input current peak value of the motor vibration waveform after the switch is limited by the current battery power supply capacity, thereby ensuring that the motor vibration waveform after the switch does not exceed the current battery power supply capacity, and prevents the battery from overloading and powering down.
  • multiple motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capability; determining the second motor vibration waveform according to the battery power supply capability includes: Capacity, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, match the multiple motor vibration waveforms to determine the second motor vibration waveform; the battery power supply capacity is obtained according to the battery temperature and battery power or read by an electronic device .
  • the electronic device pre-stores the correspondence between battery temperature, battery power, and motor vibration waveform, and the motor vibration waveform indicated by the correspondence is the allowable motor vibration under the corresponding battery temperature and battery power conditions.
  • Waveform; switching motor vibration parameters including: determining the motor vibration waveform according to the acquired battery power and battery temperature and the corresponding relationship; and switching to use the determined motor vibration waveform; or determining the motor vibration waveform according to the acquired battery temperature and the corresponding relationship; and Switch to use the determined motor vibration waveform.
  • the vibration waveform of the low-power motor can be matched according to the battery temperature and battery power. Realize fast and dynamic switching of low-power motor vibration waveforms.
  • the second motor vibration waveform is similar to the user's vibration experience of the first motor vibration waveform.
  • the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
  • a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
  • the motor waveform library further includes a plurality of third motor vibration waveforms.
  • the battery power supply capability is divided according to preset intervals, and each preset interval corresponds to a third motor vibration waveform among the plurality of third motor vibration waveforms.
  • the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
  • the current motor vibration waveform can also be switched to a low-power motor vibration waveform to prevent battery overload.
  • switching the motor vibration parameter and driving the motor to vibrate according to the switched motor vibration parameter includes: determining the second peak input voltage according to the battery power supply capability.
  • a compression ratio is obtained according to the second peak input voltage and the first peak input voltage, and the first motor vibration input voltage is compressed according to the compression ratio to generate a second motor vibration input voltage.
  • the first peak input voltage is the peak voltage of the first motor vibration waveform
  • the first motor vibration input voltage is the driving voltage of the first motor vibration waveform
  • the first motor vibration input voltage is switched to the second motor vibration input voltage.
  • a fourth motor vibration waveform is generated based on the second motor vibration input voltage, and the motor is driven to vibrate based on the fourth motor vibration waveform.
  • the second peak input voltage is the peak voltage of the fourth motor vibration waveform.
  • the peak input voltage that can be provided to the motor can be determined according to the current battery power supply capacity, and then the compression ratio is obtained according to the peak input voltage and the peak input voltage of the original motor vibration waveform, and the original input voltage is compressed according to the compression ratio to obtain Low power consumption motor vibration input voltage.
  • V represents the first peak input voltage
  • I represents the first peak input current
  • the first peak input current is the peak current of the first motor vibration waveform
  • v represents the second peak input voltage
  • i represents the second peak input current
  • the first Second the peak current is the maximum input current of the motor allowed by the current battery power supply capacity
  • k represents the motor coefficient
  • V, I, v, and k are positive numbers.
  • the motor vibration control method further includes: storing the fourth motor vibration waveform in the motor waveform library. If it is necessary to reduce the vibration power consumption of the motor, the peak value of the motor vibration waveform and the peak value of the high power consumption application should be operated with a peak shift.
  • an embodiment of the present application provides an electronic device, and the electronic device may be a device that implements the method in the first aspect described above.
  • the electronic device may include: one or more processors; a memory in which instructions are stored; when the instructions are executed by one or more processors, the electronic device is executed: upon receiving the first motor vibration waveform vibration request In the case of, get the battery status; the battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capacity; if the battery status meets the preset condition, switch the motor vibration parameters; where the preset condition is the battery power supply capacity Lower than the first threshold, or battery temperature lower than the second threshold, or battery temperature & battery power lower than the third threshold array; motor vibration parameters include: motor vibration waveform or motor vibration input voltage; drive according to the switched motor vibration parameters The motor vibrates.
  • the battery power supply capability is the input current of the battery to the motor; when the instruction is executed by the electronic device, the electronic device is caused to execute: the second motor vibration waveform is determined according to the battery power supply capability, and the second motor vibrates The waveform peak current is less than the battery power supply capacity; the first motor vibration waveform is switched to the second motor vibration waveform.
  • multiple motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capability; when the instruction is executed by the electronic device, the electronic device is caused to execute: According to the battery power supply capacity and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, the second motor vibration waveform is matched and determined from the multiple motor vibration waveforms; the battery power supply capacity is obtained according to the battery temperature and battery power or is obtained by the electronic device Obtained by reading.
  • the electronic device pre-stores the correspondence between battery temperature, battery power, and motor vibration waveform, and the motor vibration waveform indicated by the correspondence is the allowable motor under the corresponding battery temperature and battery power conditions.
  • Vibration waveform when the instruction is executed by the electronic device, the electronic device executes: Determine the motor vibration waveform according to the acquired battery power and battery temperature and the corresponding relationship; switch to use the determined motor vibration waveform; or according to the acquired battery temperature Determine the motor vibration waveform with the corresponding relationship; and switch to use the determined motor vibration waveform.
  • the second motor vibration waveform is similar to the user's vibration experience of the first motor vibration waveform.
  • the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
  • a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
  • the motor waveform library further includes a plurality of third motor vibration waveforms; the battery power supply capacity is divided according to preset intervals, and each preset interval corresponds to one of the plurality of third motor vibration waveforms. Three motor vibration waveforms.
  • the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
  • the electronic device when the instruction is executed by the electronic device, the electronic device is caused to execute: determine the second peak input voltage according to the battery power supply capacity; obtain the compression ratio according to the second peak input voltage and the first peak input voltage , Compress the first motor vibration input voltage according to the compression ratio to generate the second motor vibration input voltage; the first peak input voltage is the peak voltage of the first motor vibration waveform, and the first motor vibration input voltage is the driving voltage of the first motor vibration waveform; Switch the first motor vibration input voltage to the second motor vibration input voltage; generate the fourth motor vibration waveform according to the second motor vibration input voltage, and drive the motor vibration according to the fourth motor vibration waveform; the second peak input voltage is the fourth motor vibration waveform The peak voltage.
  • the electronic device when the instruction is executed by the electronic device, the electronic device is caused to execute: store the fourth motor vibration waveform in the motor waveform library.
  • the electronic device is a system chip with a motor vibration control function.
  • the present application provides an electronic device that has the function of implementing the motor vibration control method described in the first aspect and any one of its possible implementation manners.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the present application provides a computer storage medium including computer instructions.
  • the computer instructions run on an electronic device, the electronic device executes the motor described in the first aspect and any one of its possible implementations. Vibration control method.
  • this application provides a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the motor vibration control method described in the first aspect and any one of its possible implementations. .
  • a circuit system in a sixth aspect, includes a processing circuit, and the processing circuit is configured to execute the motor vibration control method as described in the first aspect and any one of its possible implementation manners.
  • an embodiment of the present application provides a chip system, which includes at least one processor and at least one interface circuit.
  • the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor.
  • at least one processor executes the motor vibration control method described in the first aspect and any one of its possible implementation manners.
  • FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the application.
  • FIG. 2 is a schematic diagram of the structure of a motor vibration system provided by an embodiment of the application.
  • Fig. 3 is a schematic diagram of a motor vibration waveform provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of motor vibration waveform classification provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a motor vibration control method provided by an embodiment of the application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • the motor vibration control method provided by the embodiments of this application can be applied to mobile phones, tablet computers, desktops, laptops, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, and personal digital assistants.
  • UMPC ultra-mobile personal computers
  • PDA personal digital assistant
  • AI artificial intelligence
  • the embodiments of the present application do not impose any limitation on this.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 using a mobile phone.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, microprocessor, and/or neural-network processing unit, NPU) and so on.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor microprocessor
  • microprocessor microprocessor
  • neural-network processing unit NPU
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the motor 191.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for notification (such as incoming call) vibration prompts, and can also be used for vibration feedback of touch operations.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • Different user operations for example: single click, double click, long press, etc.
  • the vibration feedback effect can also support customization.
  • a motor vibration system in an electronic device is exemplarily shown.
  • the system includes a battery power supply system 201, a motor drive chip 202, a processor 203, and a motor 191.
  • the battery power supply system 201 is used to supply power to the entire electronic device including the motor. It may include a power management module 141, a battery 142, a charging management module 140, and so on.
  • the motor driving chip 202 is used to control the power of the driving motor signal. It can be an independent chip, including a power amplifier (PA), a smart power amplifier (Smart PA), and so on. It can also be integrated in the processor 110 in FIG. 1, and in some implementations of the embodiments of the present application, the motor vibration waveform is generated and stored.
  • PA power amplifier
  • Smart PA smart power amplifier
  • the motor 191 is used to generate vibrations and convert electrical signals into mechanical vibrations.
  • the processor 203 is used for control processing of the electronic device, including processing for controlling the vibration of the motor. It may be the processor 110 shown in FIG. 1 or may be integrated in the processor 110 in FIG. 1. 2 exemplarily shows that the processor 203 includes a battery management software system 204 and a motor software system 205. The storage of the motor vibration waveform and the generation of the motor vibration waveform may be supported by the motor software system 205 or the motor drive chip 202, which is not specifically limited in the embodiment of the present application.
  • the battery management software system 204 is used to detect and manage the status of the battery system, including the current battery temperature, power level, aging degree, internal resistance, supported voltage, current, and so on.
  • the motor software system 205 is used to receive the motor vibration request, and transmit the converted motor vibration request to the motor driving chip 202, and then drive the motor 191 to vibrate.
  • the motor software system 205 can obtain information such as battery temperature, battery power, and power supply capability from the battery management software system 204. It is also possible to directly obtain raw data from the sensor module 180 and hardware detection points as shown in FIG. 1, and obtain information such as battery temperature and power supply capacity through algorithm calculation.
  • the battery management software system 204 can monitor the power and temperature of the battery 142 in real time, and can obtain current power supply capacity data of the battery 142, such as the maximum output current of the battery 142 under current conditions. In this way, the electronic device 100 can determine whether the vibration power consumption of the motor 191 needs to be reduced according to the power supply capacity of the battery 142. If the power supply capacity of the battery 142 is lower than a certain threshold, the vibration power consumption of the motor 191 needs to be reduced to prevent the electronic device 100 from powering down abnormally.
  • the battery management software system monitors the battery power supply capacity in real time, and calculates the corresponding battery power supply capacity based on changes in factors that affect the battery power supply capacity.
  • Factors that affect the power supply capacity of the battery include: battery temperature, battery power, battery aging, etc.
  • the influencing factors of battery aging can be the number of charging and discharging, the length of use, and so on.
  • the battery aging influencing factors have a long influence period on the battery power supply capability.
  • the embodiment of the present application mainly considers the influence of the battery temperature and the battery power on the battery power supply capability.
  • Table 1 a table of the power supply capability of the battery 142 under different battery temperature and battery power conditions for a certain type of battery listed. It can be seen from Table 1 that under the same battery temperature, different battery power levels correspond to different battery functions, and under the same battery power level, different battery temperatures correspond to different battery power supply capabilities. Therefore, it is necessary to synthesize the battery temperature and battery power to know the power supply capability of the battery 142 under the current conditions, and to determine whether it is necessary to reduce the power consumption of the application (such as the motor 191) at this time.
  • the motor software system inputs the motor vibration waveform into the motor drive chip, and then drives the motor to vibrate according to the motor vibration waveform.
  • Different motor vibration waveforms can bring different vibration experiences to users. As shown in Figure 3, if the motor vibration waveform is relatively smooth, such as waveform 1 and waveform 2, when the mobile phone vibrates, the vibration of the mobile phone may be more gentle and last longer. , The user’s vibration experience will be more peaceful; if the motor’s vibration waveform is sharper like waveform 3, when the mobile phone vibrates, the vibration of the mobile phone may be stronger and the duration is shorter, and the user will get a more exciting vibration experience.
  • motor vibration waveforms with similar shapes can bring a similar vibration experience to users, but the intensity of the vibration sensation that the user can feel will be different if the amount of vibration is different.
  • the vibration waveforms of two motors are relatively smooth, one of which has a vibration of 0.8g and the other has a vibration of 0.4g. Then the user will feel that the vibration of the larger vibration waveform has a stronger vibration. .
  • different motor vibration waveforms can be designed in advance, and these motor vibration waveforms can be saved to the motor waveform library.
  • the motor vibration waveforms can be numbered, so that the corresponding motor vibration waveforms can be called by subsequently calling different motor vibration waveform numbers.
  • the vibration waveforms in the motor waveform library are classified according to conditions such as user vibration experience.
  • four different partial motor vibration waveforms containing peak waveforms are exemplarily given.
  • These four vibration waveforms can be divided into two groups according to the user's vibration experience.
  • the first group is that the user's vibration experience is relatively gentle.
  • the vibration waveform of Figure 4 (a) and Figure 4 (b) two waveforms.
  • the two waveforms are similar in shape but different in vibration amount.
  • the second group of vibration waveforms that are more stimulating for the user's vibration experience includes two waveforms (c) in FIG. 4 and (d) in FIG. 4, and the two waveforms are similar in shape, and the user can obtain a vibration with a similar vibration experience.
  • Different motor vibration waveforms bring different vibration experience to users, and mobile phone manufacturers pre-configure the above-mentioned motor waveform library.
  • mobile phone manufacturers select motor vibration waveforms from the motor waveform library for unused applications or gestures;
  • third-party application developers select motor vibration waveforms from the motor waveform library during the third-party application development process.
  • the pre-configured motor vibration waveform conditions corresponding to the unused applications or gestures are stored in the internal memory 121 of the electronic device 100.
  • the other is to store motor vibration waveform parameters, such as input voltage characteristic value, input current characteristic value and so on. That is, the motor vibration waveform parameters such as the input voltage characteristic value and the input current characteristic value are stored in the internal memory 121, the corresponding motor vibration waveform parameters are called when necessary, and the motor vibration waveform data is generated according to the motor vibration waveform parameters.
  • the mobile phone detects certain operations of the user, the mobile phone drive motor vibrates according to different vibration waveforms, so that the user can directly judge whether the current operation is correct according to the vibration experience. For example, click the corresponding waveform 1, double-click the corresponding waveform 2, and press and hold the corresponding waveform 3.
  • Wave 1, Wave 2, and Wave 3 are motor vibration waveforms with different waveforms, and the vibration experience is quite different.
  • the user can sense whether the current vibration waveform is vibration waveform 2 according to the vibration experience, and then determine whether the phone detects the double-click operation If a detection error occurs, such as a single-click operation detected by the mobile phone, and the drive motor vibrates according to waveform 1, the user can perceive the abnormal operation according to the vibration experience and perform the single-click operation again.
  • set different vibration modes (different vibration waveforms) for short messages and phone calls.
  • the vibration power consumption of the motor 191 can be reduced to adapt to scenarios where the battery 142 has a low load capacity, such as scenarios where the battery temperature is low and/or the battery power is low.
  • a vibration waveform with lower power consumption or a method of lowering the input voltage can be used to reduce the instantaneous vibration peak current generated when the motor 191 vibrates, thereby effectively preventing the battery 142 from being overloaded and losing power.
  • the smaller the amplitude of the motor vibration waveform the smaller the voltage and current values, and the lower the power consumption.
  • the motor vibration waveform generated by the change of input voltage or current with time is exemplarily given.
  • waveform 1 and waveform 2 are two motor vibration waveforms with similar vibration experience for users.
  • Waveform 2 has a smaller amplitude than waveform 1. That is, the vibration current of waveform 2 is smaller than the vibration current of waveform 1, and the power consumption of waveform 2 is lower than that of waveform 1. The power consumption is low.
  • the motor software system can select waveform 2 Input to the motor drive chip, and the drive motor vibrates according to waveform 2.
  • An embodiment of the application provides a motor vibration control method. As shown in Figure 5, the method may include the following steps:
  • the mobile phone sends a motor vibration request.
  • the mobile phone when the mobile phone receives a reminder, such as an incoming call signal or a short message signal, the motor needs to vibrate to prompt the user, or when the mobile phone detects some operation of the user, it needs to perform touch vibration feedback to the user. At this time, the mobile phone sends a motor vibration request to the motor software system 205, and then drives the motor to vibrate. During the processing of the motor vibration request, the motor vibration waveform needs to be determined. At this time, the mobile phone will query the current battery status to match the corresponding motor vibration waveform or input voltage.
  • a reminder such as an incoming call signal or a short message signal
  • the motor needs to vibrate to prompt the user, or when the mobile phone detects some operation of the user, it needs to perform touch vibration feedback to the user.
  • the mobile phone sends a motor vibration request to the motor software system 205, and then drives the motor to vibrate.
  • the motor vibration waveform needs to be determined.
  • the mobile phone will query the current battery status to match the corresponding motor vibration wave
  • the motor software system 205 when the motor software system 205 receives a motor vibration request (the motor vibration waveform can be statically stored or dynamically loaded), it determines the required motor vibration waveform and issues the vibration command To the motor drive chip 202, the motor 191 is driven to vibrate.
  • the motor vibration waveform can be statically stored or dynamically loaded
  • the mobile phone queries the battery status.
  • the mobile phone can query the current battery status from the battery power supply system 201 or the battery management software system 204.
  • the battery status includes battery temperature, or battery temperature and battery power, or battery power supply capability.
  • the battery status is used to subsequently determine whether it is necessary to reduce the power consumption of motor vibration.
  • the motor vibration parameters that need to be switched can be determined according to the current battery state data.
  • the motor vibration parameter may include a motor vibration waveform or a motor vibration wave input voltage. It is understandable that the motor vibration waveform in the motor waveform library has a number. When the motor vibration parameter needs to be switched to the motor vibration waveform, the motor vibration parameter is the motor vibration waveform number. Call the motor vibration waveform number to call the corresponding low Power consumption motor vibration waveform.
  • step S103 The mobile phone determines whether the motor vibration power consumption needs to be reduced. If yes, step S104 is executed to switch the vibration parameter of the low power consumption motor. If not, execute step S105, that is, continue to use the current motor vibration parameters to drive the motor to vibrate.
  • the preset condition when the battery status meets the preset condition, it is judged that the motor needs to be driven with low power vibration, so as to prevent the momentary peak current of the high power motor vibration from being higher than the battery power supply.
  • the current causes the phone to shut down abnormally.
  • the preset condition is: the battery power supply capacity is lower than the first threshold, or the current battery temperature is lower than the second threshold, or the current battery temperature & battery power is lower than the third threshold array.
  • the first threshold, the second threshold, and the third threshold can be obtained according to battery modeling data, test data, and empirical data, and are pre-configured in terminals such as mobile phones.
  • the mobile phone can determine whether it is currently necessary to drive the motor to vibrate with low power consumption according to the battery state parameter, the first threshold, the second threshold, and the third threshold. If it is necessary to drive the motor to vibrate with low power consumption, the mobile phone needs to switch the motor vibration parameters to drive the motor to vibrate with low power consumption; if low power processing is not required, the mobile phone can continue to drive the motor to vibrate according to the current motor vibration parameters.
  • the mobile phone switches the motor vibration parameters.
  • switching the motor vibration parameters includes the following methods:
  • the low-power vibration waveform is switched to drive the motor to vibrate.
  • different power supply capacity levels can be divided according to the battery power supply capacity, such as 1A-1.1A, 1.1A-1.2A Wait.
  • the power supply capacity of the mobile phone can be obtained according to the battery temperature and battery power, or the power supply capacity value can be directly obtained by the battery management software system, which mainly includes the maximum power supply current value of the mobile phone.
  • the mobile phone can switch the vibration to experience similar low-power waveforms for the user.
  • Table 2 shows four waveforms No. 36-39 with similar waveforms in the above-mentioned motor waveform library and a user's vibration experience, that is, these four waveforms belong to the same classification group.
  • Table 2 also includes waveform No. 44, which belongs to another group of low-power waveforms, which is different from the vibration experience of waveforms 36-39.
  • the voltage needs to be normalized. Table 2 below shows the vibration amount and vibration peak current of different motor vibration waveforms when the voltage is normalized to 3.8V.
  • the vibration waveform vibration experience corresponding to the operation of the application or gesture in the pre-configured motor waveform library according to the current battery power supply capacity Similar low-power waveforms.
  • the original motor vibration waveform is No. 36
  • the motor vibration waveform can be switched to No. 37.
  • the vibration waveform of the motor available under the current temperature and power condition can be selected according to the battery power supply capacity and the motor vibration peak current, that is, the vibration peak current of the selected vibration waveform is lower than the power supply capacity of the battery, so that the current power supply current of the battery meets Motor vibration is required, without causing abnormal cell phone battery overload.
  • Table 3 is obtained.
  • the mobile phone judges the current battery power supply capacity according to the current battery temperature and battery power, and then matches the corresponding low-power motor vibration wave waveform according to the battery power supply capacity to drive the motor to vibrate.
  • the corresponding relationship between the battery temperature and battery power and the optional motor vibration waveform is pre-configured in the mobile phone, and then see Table 4 below.
  • the mobile phone can directly match the corresponding low-power motor vibration waveform according to the current battery temperature and battery power.
  • the drive motor vibrates.
  • the corresponding relationship between the battery temperature and the optional motor vibration waveform is pre-configured in the mobile phone. See Table 5 below.
  • the mobile phone can directly match the corresponding low-power motor vibration waveform according to the current battery temperature to drive the motor to vibrate.
  • the mobile phone when the mobile phone can directly obtain the battery power supply capability, refer to Table 6 below.
  • the mobile phone can directly match the corresponding low-power motor vibration wave waveform according to the current battery power supply capability to drive the motor to vibrate.
  • the multiple selectable motor vibration waveforms can be selected according to the actual experience requirements of the user. For example, among the waveforms of similar vibration experience, the corresponding waveform can be selected according to the magnitude of the vibration, and a large amount of vibration will also have a stronger sense of vibration on the user. Refer to Table 3. When the current battery temperature is -5°C and the battery capacity is 30%, there are two possible vibration waveforms, No. 38 and No. 39. Exemplarily, a motor vibration waveform with a larger vibration amount can be selected, and the user can obtain a vibration experience with a greater vibration sense. For example, select No. 38 vibration waveform to drive the motor to vibrate.
  • the motor can select a vibration waveform No. 39 with a small amount of vibration to achieve vibration, so that the user can perceive the vibration, but not Will affect other readers.
  • a set of general low-power motor vibration waveforms can be established in the motor waveform library.
  • the general low-power motor vibration waveform group includes No. 90-94 low-power motor vibration waveforms.
  • the battery power supply capacity is divided into certain intervals. Each interval corresponds to a waveform in the general low-power waveform group.
  • the mobile phone selects a waveform with a similar user vibration experience in the motor waveform library, the corresponding waveform cannot be matched.
  • the mobile phone can select the general low-power waveform corresponding to the lower limit of the power supply capacity in the current battery power supply capacity greater than or equal to Table 4, so as to switch the low-power waveform and prevent battery overload.
  • the current battery power supply capacity is 0.94A, which fails to match the vibration waveform of a low-power motor with a similar user vibration experience to the current motor vibration waveform.
  • 0.94A>0.7A select the 91st motor vibration waveform to drive the motor to vibrate.
  • Table 1 and Table 2 are only exemplary giving some battery state conditions and some motor vibration wave parameters. From this, it can be understood that Table 3, Table 4, and Table 5 should also include more battery state conditions and corresponding optional motor vibration waveforms. And the above Table 2, Table 3, Table 4, Table 5 and Table 6 are all when the voltage is normalized to 3.8V, determine the vibration peak current, and then select the optional vibration wave model. The purpose of the normalization of the voltage is to unify the metric to ensure that the vibration peak current under the same voltage condition is obtained. The normalized voltage may also be other values, such as 4.2V, etc., which is not specifically limited in the embodiment of the present application.
  • Table 3 Table 4, Table 5, and Table 6, a table of correspondences between battery temperature, battery power, power supply capacity, and optional vibration wave models is established and stored in the memory of the mobile phone.
  • the mobile phone determines that the current motor needs low-power vibration, it can use the corresponding table to match the user's vibration experience with the corresponding optional motor vibration waveform.
  • the input voltage for driving the motor to vibrate is changed to reduce the power consumption when the motor vibrates.
  • the input voltage that can currently be provided to drive the motor vibration can be obtained according to the power supply capacity (power supply current) of the battery.
  • V represents the peak input voltage of the original motor vibration waveform
  • I represents the power supply current of the original motor vibration waveform
  • v represents the low power peak input voltage of the motor vibration waveform required under the current battery condition
  • i represents the current battery powering the motor Current capacity
  • the compression ratio is calculated based on the peak voltage and the peak voltage of the current motor vibration waveform, and the current motor vibration waveform is compressed in equal proportions according to the ratio to obtain the switched motor vibration waveform, which effectively reduces the motor vibration power consumption.
  • the above-mentioned proportionally compressed motor vibration waveform can be stored in the motor waveform library in the above mode 1, and furthermore, when the motor vibration waveform is needed again later, the motor vibration waveform can be directly called without having to do it again. Calculation.
  • the calculation of the input voltage of the motor vibration waveform can also be related to the specific motor model modeling.
  • a mobile phone manufacturer configures a motor for a mobile phone, it will perform modeling training verification on the parameters that affect the quality of the motor, and select the better parameters to control the quality of the motor. Motors of different models and qualities will have deviations in the realization of the input voltage. After the manufacturer uses the motor model to configure the motor for the mobile phone, the mobile phone can obtain the input voltage according to the above formula, without having to consider the influence of different motor models on the input voltage.
  • the motor waveform library can be pre-configured in the mobile phone according to the battery power supply capacity, or the battery temperature and battery power.
  • the optional low-power motor with similar user vibration experience Vibration waveform. If the optional motor vibration waveform cannot be matched in the motor waveform library, then the above formula can also be used to determine the input voltage that the current battery state can provide to the motor, so that the battery can provide the proportionally compressed input voltage to realize the motor The low-power vibration. Or, when the optional user vibration experience similar motor vibration waveform cannot be matched in the motor waveform library, the general low-power motor vibration waveform that meets the current power supply capacity can be matched to reduce the motor vibration power consumption and prevent mobile phones. Power off abnormally.
  • step S104 when the mobile phone determines that the current battery state can meet the current motor vibration condition in step S103, that is, when low-power vibration is not necessary, step S104 is not necessary, and step S105 is executed directly.
  • the mobile phone uses the current motor to vibrate.
  • the parameter drives the motor to vibrate.
  • the motor is driven to vibrate according to the vibration parameters to provide vibration feedback to the user, so as to realize the motor under the condition of low battery load capacity. vibration.
  • a large capacitor device can be added to the motor to filter the vibration peak of the vibration waveform of the motor to achieve smooth peak current. Even if the motor does not generate an increased instantaneous current when it vibrates, it will not exceed the power supply capacity of the battery and overload the battery. Under the condition of low battery loading capacity, the vibration function of the mobile phone can also be ensured without causing abnormal power-down and shutdown of the mobile phone caused by vibration.
  • the motor when the mobile phone determines that the motor needs low-power vibration in step S103, that is, when the mobile phone determines that the current scene is a scene with a low load capacity of the mobile phone, the motor can be made to vibrate in the output voltage of the mobile phone battery.
  • the peak value of the voltage is used to achieve the peak supply. That is, it will prevent the motor vibration waveform from reaching the peak while running high power consumption applications, resulting in excessive transient current and battery overload and power down.
  • the instantaneous peak voltage is high at the moment the shutter is pressed to take a photo.
  • the peak value of the motor vibration and the peak value of the photographing voltage can be separated in time. Ensure that the current supply capacity of the battery state is sufficient to achieve the vibration of the current motor vibration waveform.
  • the motor vibration control method provided by the present application can dynamically adjust the motor vibration power consumption by switching the low-power motor vibration waveform or changing the motor vibration waveform input voltage in a scenario where the battery load capacity is low.
  • the low-power motor vibrates without causing the phone to shut down abnormally.
  • the motor vibration function is disabled, which makes the user experience poor.
  • an embodiment of the present application discloses an electronic device, including: one or more processors 601; a memory 602; and one or more computer programs 603.
  • the above-mentioned devices may be connected through one or more communication buses 604.
  • the aforementioned one or more computer programs 603 are stored in the aforementioned memory 602 and are configured to be executed by the one or more processors 601, and the one or more computer programs 603 include instructions, and the aforementioned instructions can be used to execute the aforementioned The various steps in the motor vibration control embodiment.
  • the foregoing processor 601 may specifically be the processor 110 shown in FIG. 1, and the foregoing memory 602 may specifically be the internal memory 121 shown in FIG. 1.
  • the electronic device also includes a communication module 605; a battery power supply module 606; and a motor 607.
  • the aforementioned communication module 605 may specifically be the mobile communication module 150 and/or the wireless wireless communication module 160 shown in FIG. 1.
  • the above-mentioned battery power supply module 606 may specifically include the charge management module 140, the power management module 141, and the battery 142 shown in FIG. 1.
  • the above-mentioned motor 607 may specifically be the motor 191 shown in FIG. 1, which is not limited in the embodiment of the present application.
  • the above-mentioned battery power supply module 606 and the motor 607 may be used to execute the steps involved in the above-mentioned motor vibration control method.
  • the processor 601 may be a processor or a controller, such as a central processing unit (CPU), a GPU, a general-purpose processor, a digital signal processor (digital signal processor, DSP), and an application-specific integrated circuit (application-specific integrated circuit). integrated circuit, ASIC), field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication module 605 may be a transceiver, a transceiver circuit, an input/output device, or a communication interface.
  • the communication module 605 may specifically be a Bluetooth device, a Wi-Fi device, a peripheral interface, and so on.
  • the memory 602 may include a high-speed random access memory, or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of dynamic storage devices that can store information and instructions, It can also be an electrically erasable programmable read-only memory (EEPROM), or any other that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer Medium, but not limited to this.
  • the memory 602 may exist independently, and is connected to the processor 601 through the communication bus 604.
  • the memory 602 may also be integrated with the processor 601.
  • the chip system includes at least one processor 701 and at least one interface circuit 702.
  • the processor 701 and the interface circuit 702 may be interconnected by wires.
  • the interface circuit 702 can be used to receive signals from other devices.
  • the interface circuit 702 may be used to send signals to other devices (for example, the processor 701).
  • the interface circuit 702 can read an instruction stored in the memory, and send the instruction to the processor 701.
  • the electronic device can be made to execute each step executed by the electronic device 100 in the foregoing embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the embodiment of the present application also provides a computer storage medium, the computer storage medium stores a computer instruction, when the computer instruction runs on the electronic device, the electronic device executes the above-mentioned related method steps to realize the motor vibration control in the above-mentioned embodiment method.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to realize the motor vibration control method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device, which may specifically be a component or a module.
  • the device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions.
  • the processor When the device is running, the processor The computer-executable instructions stored in the executable memory can be executed to make the device execute the motor vibration control method in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the motor vibration control method provided in the embodiments of the present application can be executed by an electronic device.
  • the electronic device can be the entire computing device or part of the computing device, for example, motor vibration function related Chip, such as a system chip or communication chip with the function of motor vibration control method.
  • the system chip of the motor vibration control method is also called a system on chip or a system on chip (system on chip, SOC) chip.
  • the wireless communication device may be a terminal such as a smart phone, and may also be a system chip or a communication chip capable of functioning a motor vibration control method set in the terminal.
  • the disclosed method can be implemented in other ways.
  • the electronic device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Provided are a motor vibration control method and electronic device (100), relating to the technical field of terminals, and capable, when the load capacity of a battery (142) is relatively low, of achieving vibration of a motor (191). The method comprises: upon receiving a first motor vibration waveform vibration request, obtaining a battery status. The battery status comprises: battery temperature, or battery temperature and battery power level, or battery power supply capacity. If the battery status satisfies a preset condition, then a motor vibration parameter is switched; the preset condition is that the battery power supply capacity is lower than a first threshold, or the battery temperature is lower than a second threshold, or the battery temperature and battery power level are lower than a third threshold set. The motor vibration parameters comprise: motor vibration waveform or motor vibration input voltage. The motor (191) is driven to vibrate according to the switched motor vibration parameter.

Description

马达振动控制方法及电子设备Motor vibration control method and electronic equipment
本申请要求于2019年09月18日提交国家知识产权局、申请号为201910883245.6、发明名称为“马达振动控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on September 18, 2019, the application number is 201910883245.6, and the invention title is "motor vibration control method and electronic equipment", the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本申请涉及终端技术领域,尤其涉及马达振动控制方法及电子设备。This application relates to the field of terminal technology, and in particular to a motor vibration control method and electronic equipment.
背景技术Background technique
在终端设备如手机中使用马达实现振动功能,以便用户在手机上执行触摸操作时接收到触觉反馈,确认操作执行情况;或手机在接收到通知时产生振动,及时地提醒用户注意。A motor is used in a terminal device such as a mobile phone to realize the vibration function, so that the user receives tactile feedback when performing a touch operation on the mobile phone to confirm the execution of the operation; or the mobile phone generates vibration when receiving a notification to promptly remind the user to pay attention.
手机等终端产品作为消费类电子设备,使用环境多种多样,当温度和电池电量发生变化时,手机电池的带载能力也发生变化。具体表现为温度降低、电量降低时,带载能力降低即输出电流降低。当带载能力过低时,手机会出现掉电异常,导致关机。为了防止手机掉电关机,市面上的手机一般会在手机带载能力过低时,禁止马达振动。导致用户无法收到触觉反馈或振动提示。As consumer electronic devices, mobile phones and other terminal products are used in a variety of environments. When the temperature and battery power change, the load capacity of the mobile phone battery also changes. The specific performance is that when the temperature decreases and the power decreases, the load capacity decreases, that is, the output current decreases. When the load capacity is too low, the phone will power down abnormally, causing it to shut down. In order to prevent the mobile phone from powering down and shutting down, mobile phones on the market generally prohibit motor vibration when the load capacity of the mobile phone is too low. As a result, users cannot receive tactile feedback or vibration prompts.
发明内容Summary of the invention
本申请提供马达振动控制方法及电子设备,能够实现在电池带载能力比较低的时候,电子设备也能驱动马达振动而不至于关机。The present application provides a motor vibration control method and an electronic device, which can realize that the electronic device can drive the motor to vibrate without shutting down when the battery carrying capacity is relatively low.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above objectives, this application adopts the following technical solutions:
第一方面,本申请提供马达振动控制方法,该方法可以包括:在接收到第一马达振动波形振动请求的情况下,获取电池状态。该电池状态包括:电池温度,或者电池温度及电池电量,或者电池供电能力。若电池状态满足预设条件,则切换马达振动参数;其中,预设条件为电池供电能力低于第一阈值,或者电池温度低于第二阈值,或者电池温度&电池电量低于第三阈值数组。马达振动参数包括:马达振动波形或马达振动输入电压。根据切换后的马达振动参数驱动马达振动。In a first aspect, the present application provides a motor vibration control method. The method may include: acquiring a battery status in a case where a first motor vibration waveform vibration request is received. The battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capability. If the battery status meets the preset condition, switch the motor vibration parameters; the preset condition is that the battery power supply capacity is lower than the first threshold, or the battery temperature is lower than the second threshold, or the battery temperature & battery power is lower than the third threshold array . Motor vibration parameters include: motor vibration waveform or motor vibration input voltage. Drive the motor to vibrate according to the switched motor vibration parameters.
如此,可以在电池带载能力低的场景下,通过切换低功耗的马达振动波形或改变马达振动输入电压,动态调整马达振动功耗,降低马达振动功耗,而不会造成手机异常掉电关机。In this way, in scenarios with low battery load capacity, by switching low-power motor vibration waveforms or changing the motor vibration input voltage, the motor vibration power consumption can be dynamically adjusted, and the motor vibration power consumption can be reduced without causing abnormal power failure of the mobile phone. Shut down.
在一种可能的实现方式中,电池供电能力为电池对马达的输入电流;切换马达振动参数,包括:根据电池供电能力确定第二马达振动波形,第二马达振动波形峰值电流小于电池供电能力;切换第一马达振动波形为第二马达振动波形。In a possible implementation manner, the battery power supply capacity is the input current of the battery to the motor; switching the motor vibration parameters includes: determining the second motor vibration waveform according to the battery power supply capacity, and the peak current of the second motor vibration waveform is less than the battery power supply capacity; Switch the first motor vibration waveform to the second motor vibration waveform.
如此,通过当前电池的供电能力限制切换后马达振动波形的输入电流峰值,进而可以保证切换后的马达振动波形不会超出当前电池供电能力,防止电池超载掉电。In this way, the input current peak value of the motor vibration waveform after the switch is limited by the current battery power supply capacity, thereby ensuring that the motor vibration waveform after the switch does not exceed the current battery power supply capacity, and prevents the battery from overloading and powering down.
在一种可能的实现方式中,电子设备中预配置多个马达振动波形,以及该多个马达振动波形与电池供电能力的对应关系;根据池供电能力确定第二马达振动波形包括:根据电池供电能力,以及该多个马达振动波形与电池供电能力的对应关系,在多个马 达振动波形中匹配确定第二马达振动波形;电池供电能力为根据电池温度及电池电量获得或由电子设备读取获得。In a possible implementation manner, multiple motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capability; determining the second motor vibration waveform according to the battery power supply capability includes: Capacity, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, match the multiple motor vibration waveforms to determine the second motor vibration waveform; the battery power supply capacity is obtained according to the battery temperature and battery power or read by an electronic device .
如此,通过建立电池供电能力与马达波形库中马达振动波形的对应关系,可以实现动态的根据电池供电直接匹配对应的低功耗马达振动波形,实现驱动马达低功耗振动。In this way, by establishing the corresponding relationship between the battery power supply capacity and the motor vibration waveform in the motor waveform library, it is possible to dynamically match the corresponding low-power motor vibration waveform directly according to the battery power supply, and realize the low-power vibration of the driving motor.
在一种可能的实现方式中,电子设备中预存储有电池温度、电池电量与马达振动波形的对应关系,对应关系指示的马达振动波形为在对应的电池温度和电池电量条件下允许的马达振动波形;切换马达振动参数,包括:根据获取的电池电量和电池温度,与对应关系确定马达振动波形;并切换使用确定的马达振动波形;或者根据获取的电池温度与对应关系确定马达振动波形;并切换使用确定的马达振动波形。In a possible implementation, the electronic device pre-stores the correspondence between battery temperature, battery power, and motor vibration waveform, and the motor vibration waveform indicated by the correspondence is the allowable motor vibration under the corresponding battery temperature and battery power conditions. Waveform; switching motor vibration parameters, including: determining the motor vibration waveform according to the acquired battery power and battery temperature and the corresponding relationship; and switching to use the determined motor vibration waveform; or determining the motor vibration waveform according to the acquired battery temperature and the corresponding relationship; and Switch to use the determined motor vibration waveform.
如此,可以通过建立电池温度、电池电量与马达振动波形的对应关系,直接根据电池温度匹配低功耗马达振动波形。或者可以根据电池温度及电池电量匹配低功耗马达振动波形。实现快速动态的切换低功耗马达振动波形。In this way, it is possible to directly match the vibration waveform of the low-power motor according to the battery temperature by establishing the corresponding relationship between the battery temperature, the battery power, and the motor vibration waveform. Or, the vibration waveform of the low-power motor can be matched according to the battery temperature and battery power. Realize fast and dynamic switching of low-power motor vibration waveforms.
在一种可能的实现方式中,第二马达振动波形与第一马达振动波形的用户振动体验相似。In a possible implementation, the second motor vibration waveform is similar to the user's vibration experience of the first motor vibration waveform.
如此,可以实现切换后的马达振动波形带给用户与切换前相似的振动体验,使用户可以根据该振动体验直接判断当前马达振动原因,提高用户体验。In this way, it is possible to realize that the vibration waveform of the motor after the switch brings the user a similar vibration experience as before the switch, so that the user can directly determine the cause of the current motor vibration based on the vibration experience, thereby improving the user experience.
在一种可能的实现方式中,若第二马达振动波形的数量为多个,则切换第一马达振动波形为多个第二马达振动波形中振动量最大的一个。In a possible implementation manner, if the number of the second motor vibration waveforms is multiple, the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
在一种可能的实现方式中,电子设备中预配置马达波形库,马达波形库中的马达波形按用户振动体验分类。In a possible implementation manner, a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
在一种可能的实现方式中,马达波形库还包括多个第三马达振动波形。将电池供电能力按照预设区间进行划分,每一预设区间对应多个第三马达振动波形中的一个第三马达振动波形。In a possible implementation manner, the motor waveform library further includes a plurality of third motor vibration waveforms. The battery power supply capability is divided according to preset intervals, and each preset interval corresponds to a third motor vibration waveform among the plurality of third motor vibration waveforms.
在一种可能的实现方式中,若未匹配到第二马达振动波形,则根据当前电池供电能力匹配预设区间,根据预设区间匹配第三马达振动波形。In a possible implementation manner, if the second motor vibration waveform is not matched, the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
如此,当未能在马达振动波形库中匹配到相似振动体验的马达振动波形时,也可以实现将当前马达振动波形切换为低功耗马达振动波形,防止电池过载。In this way, when a motor vibration waveform with a similar vibration experience cannot be matched in the motor vibration waveform library, the current motor vibration waveform can also be switched to a low-power motor vibration waveform to prevent battery overload.
在一种可能的实现方式中,切换马达振动参数,根据切换后的马达振动参数驱动马达振动,包括:根据电池供电能力确定第二峰值输入电压。根据第二峰值输入电压以及第一峰值输入电压得到压缩比例,按照压缩比例压缩第一马达振动输入电压生成第二马达振动输入电压。其中,第一峰值输入电压为第一马达振动波形的峰值电压,第一马达振动输入电压为第一马达振动波形的驱动电压;切换第一马达振动输入电压为第二马达振动输入电压。根据第二马达振动输入电压生成第四马达振动波形,根据第四马达振动波形驱动马达振动。该第二峰值输入电压为第四马达振动波形的峰值电压。In a possible implementation manner, switching the motor vibration parameter and driving the motor to vibrate according to the switched motor vibration parameter includes: determining the second peak input voltage according to the battery power supply capability. A compression ratio is obtained according to the second peak input voltage and the first peak input voltage, and the first motor vibration input voltage is compressed according to the compression ratio to generate a second motor vibration input voltage. The first peak input voltage is the peak voltage of the first motor vibration waveform, the first motor vibration input voltage is the driving voltage of the first motor vibration waveform; the first motor vibration input voltage is switched to the second motor vibration input voltage. A fourth motor vibration waveform is generated based on the second motor vibration input voltage, and the motor is driven to vibrate based on the fourth motor vibration waveform. The second peak input voltage is the peak voltage of the fourth motor vibration waveform.
如此,可以根据当前电池供电能力,确定可以为马达提供的峰值输入电压,进而根据该峰值输入电压与原马达振动波形的峰值输入电压,获得压缩比例,根据该压缩比例将原输入电压压缩,获得低功耗的马达振动输入电压。In this way, the peak input voltage that can be provided to the motor can be determined according to the current battery power supply capacity, and then the compression ratio is obtained according to the peak input voltage and the peak input voltage of the original motor vibration waveform, and the original input voltage is compressed according to the compression ratio to obtain Low power consumption motor vibration input voltage.
在一种可能的实现方式中,电池供电能力包括电池对马达的输入电压和输入电流;根据电池供电能力确定第二峰值输入电压,包括:利用公式v=k*i*(V/I),建立马达的峰值输入电压和峰值输入电流间的关系,确定第二峰值输入电压。其中,V表示第一峰值输入电压;I表示第一峰值输入电流,第一峰值输入电流为第一马达振动波形的峰值电流;v表示第二峰值输入电压;i表示第二峰值输入电流,第二峰值电流为当前电池供电能力允许的马达的最大输入电流;k表示马达系数;V,I,v,k为正数。In a possible implementation, the battery power supply capability includes the input voltage and input current of the battery to the motor; determining the second peak input voltage according to the battery power supply capability includes: using the formula v=k*i*(V/I), The relationship between the peak input voltage and the peak input current of the motor is established, and the second peak input voltage is determined. Among them, V represents the first peak input voltage; I represents the first peak input current, the first peak input current is the peak current of the first motor vibration waveform; v represents the second peak input voltage; i represents the second peak input current, the first Second, the peak current is the maximum input current of the motor allowed by the current battery power supply capacity; k represents the motor coefficient; V, I, v, and k are positive numbers.
在一种可能的实现方式中,该马达振动控制方法还包括:将第四马达振动波形存储于马达波形库。若需要降低马达振动功耗,则将马达振动波形峰值与高功耗应用运行峰值错峰操作。In a possible implementation manner, the motor vibration control method further includes: storing the fourth motor vibration waveform in the motor waveform library. If it is necessary to reduce the vibration power consumption of the motor, the peak value of the motor vibration waveform and the peak value of the high power consumption application should be operated with a peak shift.
第二方面,本申请实施例提供一种电子设备,该电子设备可以为实现上述第一方面方法的装置。该电子设备可以包括:一个或多个处理器;存储器,所述存储器中存储有指令;当指令被一个或多个处理器执行时,使得电子设备执行:在接收到第一马达振动波形振动请求的情况下,获取电池状态;电池状态包括:电池温度,或者电池温度及电池电量,或者电池供电能力;若电池状态满足预设条件,则切换马达振动参数;其中,预设条件为电池供电能力低于第一阈值,或者电池温度低于第二阈值,或者电池温度&电池电量低于第三阈值数组;马达振动参数包括:马达振动波形或马达振动输入电压;根据切换后的马达振动参数驱动马达振动。In a second aspect, an embodiment of the present application provides an electronic device, and the electronic device may be a device that implements the method in the first aspect described above. The electronic device may include: one or more processors; a memory in which instructions are stored; when the instructions are executed by one or more processors, the electronic device is executed: upon receiving the first motor vibration waveform vibration request In the case of, get the battery status; the battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capacity; if the battery status meets the preset condition, switch the motor vibration parameters; where the preset condition is the battery power supply capacity Lower than the first threshold, or battery temperature lower than the second threshold, or battery temperature & battery power lower than the third threshold array; motor vibration parameters include: motor vibration waveform or motor vibration input voltage; drive according to the switched motor vibration parameters The motor vibrates.
在一种可能的实现方式中,电池供电能力为电池对马达的输入电流;当所述指令被电子设备执行时,使得电子设备执行:根据电池供电能力确定第二马达振动波形,第二马达振动波形峰值电流小于电池供电能力;切换第一马达振动波形为第二马达振动波形。In a possible implementation manner, the battery power supply capability is the input current of the battery to the motor; when the instruction is executed by the electronic device, the electronic device is caused to execute: the second motor vibration waveform is determined according to the battery power supply capability, and the second motor vibrates The waveform peak current is less than the battery power supply capacity; the first motor vibration waveform is switched to the second motor vibration waveform.
在一种可能的实现方式中,电子设备中预配置多个马达振动波形,以及该多个马达振动波形与电池供电能力的对应关系;当所述指令被电子设备执行时,使得电子设备执行:根据电池供电能力,以及该多个马达振动波形与电池供电能力的对应关系,在多个马达振动波形中匹配确定第二马达振动波形;电池供电能力为根据电池温度及电池电量获得或由电子设备读取获得。In a possible implementation manner, multiple motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capability; when the instruction is executed by the electronic device, the electronic device is caused to execute: According to the battery power supply capacity and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, the second motor vibration waveform is matched and determined from the multiple motor vibration waveforms; the battery power supply capacity is obtained according to the battery temperature and battery power or is obtained by the electronic device Obtained by reading.
在一种可能的实现方式中,电子设备中预存储有电池温度、电池电量与马达振动波形的对应关系,该对应关系指示的马达振动波形为在对应的电池温度和电池电量条件下允许的马达振动波形;当所述指令被电子设备执行时,使得电子设备执行:根据获取的电池电量和电池温度,与对应关系确定马达振动波形;并切换使用确定的马达振动波形;或者根据获取的电池温度与对应关系确定马达振动波形;并切换使用确定的马达振动波形。In a possible implementation, the electronic device pre-stores the correspondence between battery temperature, battery power, and motor vibration waveform, and the motor vibration waveform indicated by the correspondence is the allowable motor under the corresponding battery temperature and battery power conditions. Vibration waveform; when the instruction is executed by the electronic device, the electronic device executes: Determine the motor vibration waveform according to the acquired battery power and battery temperature and the corresponding relationship; switch to use the determined motor vibration waveform; or according to the acquired battery temperature Determine the motor vibration waveform with the corresponding relationship; and switch to use the determined motor vibration waveform.
在一种可能的实现方式中,第二马达振动波形与第一马达振动波形的用户振动体验相似。In a possible implementation, the second motor vibration waveform is similar to the user's vibration experience of the first motor vibration waveform.
在一种可能的实现方式中,若第二马达振动波形的数量为多个,则切换第一马达振动波形为多个第二马达振动波形中振动量最大的一个。In a possible implementation manner, if the number of the second motor vibration waveforms is multiple, the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
在一种可能的实现方式中,电子设备中预配置马达波形库,马达波形库中的马达波形按用户振动体验分类。In a possible implementation manner, a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
在一种可能的实现方式中,马达波形库还包括多个第三马达振动波形;将电池供电能力按照预设区间进行划分,每一预设区间对应多个第三马达振动波形中的一个第三马达振动波形。In a possible implementation, the motor waveform library further includes a plurality of third motor vibration waveforms; the battery power supply capacity is divided according to preset intervals, and each preset interval corresponds to one of the plurality of third motor vibration waveforms. Three motor vibration waveforms.
在一种可能的实现方式中,若未匹配到第二马达振动波形,则根据当前电池供电能力匹配预设区间,根据预设区间匹配第三马达振动波形。In a possible implementation manner, if the second motor vibration waveform is not matched, the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
在一种可能的实现方式中,当所述指令被电子设备执行时,使得电子设备执行:根据电池供电能力确定第二峰值输入电压;根据第二峰值输入电压以及第一峰值输入电压得到压缩比例,按照压缩比例压缩第一马达振动输入电压生成第二马达振动输入电压;第一峰值输入电压为第一马达振动波形的峰值电压,第一马达振动输入电压为第一马达振动波形的驱动电压;切换第一马达振动输入电压为第二马达振动输入电压;根据第二马达振动输入电压生成第四马达振动波形,根据第四马达振动波形驱动马达振动;第二峰值输入电压为第四马达振动波形的峰值电压。In a possible implementation manner, when the instruction is executed by the electronic device, the electronic device is caused to execute: determine the second peak input voltage according to the battery power supply capacity; obtain the compression ratio according to the second peak input voltage and the first peak input voltage , Compress the first motor vibration input voltage according to the compression ratio to generate the second motor vibration input voltage; the first peak input voltage is the peak voltage of the first motor vibration waveform, and the first motor vibration input voltage is the driving voltage of the first motor vibration waveform; Switch the first motor vibration input voltage to the second motor vibration input voltage; generate the fourth motor vibration waveform according to the second motor vibration input voltage, and drive the motor vibration according to the fourth motor vibration waveform; the second peak input voltage is the fourth motor vibration waveform The peak voltage.
在一种可能的实现方式中,电池供电能力包括电池对马达的输入电压和输入电流;当所述指令被电子设备执行时,使得电子设备执行:利用公式v=k*i*(V/I),建立马达的峰值输入电压和峰值输入电流间的关系,确定第二峰值输入电压;其中,V表示第一峰值输入电压;I表示第一峰值输入电流,第一峰值输入电流为第一马达振动波形的峰值电流;v表示第二峰值输入电压;i表示第二峰值输入电流,第二峰值电流为当前电池供电能力允许的马达的最大输入电流;k表示马达系数;V,I,v,k为正数。In a possible implementation manner, the battery power supply capability includes the battery's input voltage and input current to the motor; when the instruction is executed by the electronic device, the electronic device is made to execute: using the formula v=k*i*(V/I ) To establish the relationship between the peak input voltage and peak input current of the motor, and determine the second peak input voltage; where V represents the first peak input voltage; I represents the first peak input current, and the first peak input current is the first motor The peak current of the vibration waveform; v represents the second peak input voltage; i represents the second peak input current, and the second peak current is the maximum input current of the motor allowed by the current battery power supply capacity; k represents the motor coefficient; V, I, v, k is a positive number.
在一种可能的实现方式中,当所述指令被电子设备执行时,使得电子设备执行:将第四马达振动波形存储于马达波形库。In a possible implementation manner, when the instruction is executed by the electronic device, the electronic device is caused to execute: store the fourth motor vibration waveform in the motor waveform library.
在一种可能的实现方式中,电子设备为具备马达振动控制功能的系统芯片。In a possible implementation manner, the electronic device is a system chip with a motor vibration control function.
第三方面,本申请提供一种电子设备,该电子设备具有实现如上述第一方面及其中任一种可能的实现方式中所述的马达振动控制方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, the present application provides an electronic device that has the function of implementing the motor vibration control method described in the first aspect and any one of its possible implementation manners. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
第四方面,本申请提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如上述第一方面及其中任一种可能的实现方式中所述的马达振动控制方法。In a fourth aspect, the present application provides a computer storage medium including computer instructions. When the computer instructions run on an electronic device, the electronic device executes the motor described in the first aspect and any one of its possible implementations. Vibration control method.
第五方面,本申请提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行如上述第一方面及其中任一种可能的实现方式中所述的马达振动控制方法。In a fifth aspect, this application provides a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the motor vibration control method described in the first aspect and any one of its possible implementations. .
第六方面,提供一种电路系统,电路系统包括处理电路,处理电路被配置为执行如上述第一方面及其中任一种可能的实现方式中所述的马达振动控制方法。In a sixth aspect, a circuit system is provided, the circuit system includes a processing circuit, and the processing circuit is configured to execute the motor vibration control method as described in the first aspect and any one of its possible implementation manners.
第七方面,本申请实施例提供一种芯片系统,包括至少一个处理器和至少一个接口电路,至少一个接口电路用于执行收发功能,并将指令发送给至少一个处理器,当至少一个处理器执行指令时,至少一个处理器执行如上述第一方面及其中任一种可能的实现方式中所述的马达振动控制方法。In a seventh aspect, an embodiment of the present application provides a chip system, which includes at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor. When executing instructions, at least one processor executes the motor vibration control method described in the first aspect and any one of its possible implementation manners.
附图说明Description of the drawings
图1为本申请实施例提供的电子设备的结构示意图;FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the application;
图2为本申请实施例提供的马达振动系统的结构示意图;2 is a schematic diagram of the structure of a motor vibration system provided by an embodiment of the application;
图3为本申请实施例提供的马达振动波形示意图;Fig. 3 is a schematic diagram of a motor vibration waveform provided by an embodiment of the application;
图4为本申请实施例提供的马达振动波形分类示意图;4 is a schematic diagram of motor vibration waveform classification provided by an embodiment of the application;
图5为本申请实施例提供的一种马达振动控制方法流程示意图;FIG. 5 is a schematic flowchart of a motor vibration control method provided by an embodiment of the application;
图6为本申请实施例提供的电子设备的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图7为本申请实施例提供的一种芯片系统的结构示意图。FIG. 7 is a schematic structural diagram of a chip system provided by an embodiment of the application.
具体实施方式detailed description
下面结合附图对本申请实施例提供的马达振动控制方法及电子设备进行详细地描述。The motor vibration control method and electronic equipment provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请实施例提供的马达振动控制方法可应用于手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴电子设备、虚拟现实设备、人工智能(artificial intelligence,AI)等电子设备中,本申请实施例对此不做任何限制。The motor vibration control method provided by the embodiments of this application can be applied to mobile phones, tablet computers, desktops, laptops, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, and personal digital assistants. In electronic devices such as (personal digital assistant, PDA), wearable electronic devices, virtual reality devices, artificial intelligence (AI), etc., the embodiments of the present application do not impose any limitation on this.
示例性的,图1示出了以手机作为电子设备100的结构示意图。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100 using a mobile phone.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,微处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, microprocessor, and/or neural-network processing unit, NPU) and so on. Among them, the different processing units may be independent devices or integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使 用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple sets of I2C buses. The processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices. The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB 接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that complies with the USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分 多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构, 例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By learning from the structure of biological neural network, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显 示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the holster or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值, 电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone. The audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,无线通信模块160和马达191等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一 些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the motor 191. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
马达191可以产生振动提示。马达191可以用于通知(如来电)的振动提示,也可以用于触摸操作的振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。用户的不同操作(例如:单击、双击、长按等)也可以对应不同的振动反馈效果。振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for notification (such as incoming call) vibration prompts, and can also be used for vibration feedback of touch operations. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. Different user operations (for example: single click, double click, long press, etc.) can also correspond to different vibration feedback effects. The vibration feedback effect can also support customization.
如图2所示,示例性示出了电子设备中的马达振动系统,该系统包括电池供电系统201、马达驱动芯片202、处理器203、马达191。As shown in FIG. 2, a motor vibration system in an electronic device is exemplarily shown. The system includes a battery power supply system 201, a motor drive chip 202, a processor 203, and a motor 191.
其中,电池供电系统201,用于对包括马达在内的整个电子设备供电。可以包括电源管理模块141、电池142和充电管理模块140等。Among them, the battery power supply system 201 is used to supply power to the entire electronic device including the motor. It may include a power management module 141, a battery 142, a charging management module 140, and so on.
马达驱动芯片202,用于控制驱动马达信号的功率。可以为独立的芯片,包含功率放大器(power amplifier,PA),智能功率放大器(Smart PA)等。也可以集成在图1的处理器110中,在本申请实施例的一些实现方式中,实现生成及存储马达振动波形。The motor driving chip 202 is used to control the power of the driving motor signal. It can be an independent chip, including a power amplifier (PA), a smart power amplifier (Smart PA), and so on. It can also be integrated in the processor 110 in FIG. 1, and in some implementations of the embodiments of the present application, the motor vibration waveform is generated and stored.
马达191,用于产生振动,将电信号转换成机械振动。The motor 191 is used to generate vibrations and convert electrical signals into mechanical vibrations.
处理器203,用于电子设备的控制处理,包含控制马达振动的处理。可以为图1中所示的处理器110,也可以集成在图1的处理器110中。图2中示例性的给出了处理器203包括电池管理软件系统204和马达软件系统205。马达振动波形的存储和马达振动波形的生成可以由马达软件系统205支持也可以由马达驱动芯片202支持,对此本申请实施例不做具体限定。The processor 203 is used for control processing of the electronic device, including processing for controlling the vibration of the motor. It may be the processor 110 shown in FIG. 1 or may be integrated in the processor 110 in FIG. 1. 2 exemplarily shows that the processor 203 includes a battery management software system 204 and a motor software system 205. The storage of the motor vibration waveform and the generation of the motor vibration waveform may be supported by the motor software system 205 or the motor drive chip 202, which is not specifically limited in the embodiment of the present application.
其中,电池管理软件系统204,用于检测管理电池系统的状态,包含当前电池的温度、电量、老化程度、内阻、能够支持的电压、电流等。Among them, the battery management software system 204 is used to detect and manage the status of the battery system, including the current battery temperature, power level, aging degree, internal resistance, supported voltage, current, and so on.
马达软件系统205,用于接收马达振动请求,并将马达振动请求转换后传输至马达驱动芯片202,进而驱动马达191振动。The motor software system 205 is used to receive the motor vibration request, and transmit the converted motor vibration request to the motor driving chip 202, and then drive the motor 191 to vibrate.
在本申请实施例的一些实现方式中,马达软件系统205可以从电池管理软件系统204获取电池温度、电池电量、供电能力等信息。也可以从如图1所示的传感器模块180和硬件检测点直接获取原始数据,通过算法计算得到电池温度、供电能力等信息。In some implementations of the embodiments of the present application, the motor software system 205 can obtain information such as battery temperature, battery power, and power supply capability from the battery management software system 204. It is also possible to directly obtain raw data from the sensor module 180 and hardware detection points as shown in FIG. 1, and obtain information such as battery temperature and power supply capacity through algorithm calculation.
在本申请实施例的一些实现方式中,电池管理软件系统204可以实时监控电池142的电量及温度,并可以获得当前电池142的供电能力数据,如当前条件下的电池142的最大输出电流。由此,电子设备100可以根据电池142的供电能力判断是否需要降低马达191的振动功耗。若电池142的供电能力低于一定阈值,则需要降低马达191的振动功耗,以防止电子设备100出现掉电异常。In some implementations of the embodiments of the present application, the battery management software system 204 can monitor the power and temperature of the battery 142 in real time, and can obtain current power supply capacity data of the battery 142, such as the maximum output current of the battery 142 under current conditions. In this way, the electronic device 100 can determine whether the vibration power consumption of the motor 191 needs to be reduced according to the power supply capacity of the battery 142. If the power supply capacity of the battery 142 is lower than a certain threshold, the vibration power consumption of the motor 191 needs to be reduced to prevent the electronic device 100 from powering down abnormally.
电池管理软件系统会实时监控电池供电能力,根据影响电池供电能力的因素变化计算对应的电池供电能力。影响电池供电能力的因素包括:电池温度,电池电量,电池老化情况等。其中,电池老化的影响因素可以为充放电次数,使用时长等。电池老化影响因素对电池供电能力的影响周期较长,本申请实施例主要考虑电池温度及电池电量对电池供电能力的影响。The battery management software system monitors the battery power supply capacity in real time, and calculates the corresponding battery power supply capacity based on changes in factors that affect the battery power supply capacity. Factors that affect the power supply capacity of the battery include: battery temperature, battery power, battery aging, etc. Among them, the influencing factors of battery aging can be the number of charging and discharging, the length of use, and so on. The battery aging influencing factors have a long influence period on the battery power supply capability. The embodiment of the present application mainly considers the influence of the battery temperature and the battery power on the battery power supply capability.
参见下表1,示例性的,列举的某一款的电池在不同电池温度及电池电量条件下,电池142的供电能力对应表。由表1可知,相同电池温度下,不同电池电量对应的电 池功能能力不同,相同电池电量下,不同电池温度对应的电池供电能力也不同。因此,需要综合电池温度及电池电量以获知当前条件下电池142的供电能力,用于判断此时是否需要降低应用(如马达191)作业功耗。Refer to Table 1 below, for example, a table of the power supply capability of the battery 142 under different battery temperature and battery power conditions for a certain type of battery listed. It can be seen from Table 1 that under the same battery temperature, different battery power levels correspond to different battery functions, and under the same battery power level, different battery temperatures correspond to different battery power supply capabilities. Therefore, it is necessary to synthesize the battery temperature and battery power to know the power supply capability of the battery 142 under the current conditions, and to determine whether it is necessary to reduce the power consumption of the application (such as the motor 191) at this time.
表1Table 1
电池温度(℃)Battery temperature (℃) -5-5 -5-5 -5-5 -10-10 -10-10 -10-10 -20-20 -20-20
电池电量battery power 30%30% 20%20% 10%10% 50%50% 30%30% 20%20% 50%50% 20%20%
供电能力(A)Power supply capacity (A) 1.51.5 1.21.2 0.950.95 1.41.4 1.261.26 0.940.94 0.780.78 0.5680.568
马达软件系统将马达振动波形输入到马达驱动芯片中,进而驱动马达按照马达振动波形振动。不同的马达振动波形能给用户带来不同的振动体验,如图3所示,若马达振动波形较平缓如波形1和波形2,当手机振动时,可能手机振感较为和缓,持续时间较长,用户的振动体验也会较为平和;若马达振动波形较为尖锐如波形3,当手机振动时,可能手机振感较为强烈,持续时间较为短促,用户会获得较为刺激的振动体验。其中,形状相似的马达振动波形能给用户带来相似的振动体验,但振动量不同,用户所能感受到的振感强度会不同。比如某两个马达振动波形均为较平缓的波形,其中一个波形的振动量为0.8g,另一个波形的振动量为0.4g,那么用户会感觉振动量较大的振动波形振感更为强烈。The motor software system inputs the motor vibration waveform into the motor drive chip, and then drives the motor to vibrate according to the motor vibration waveform. Different motor vibration waveforms can bring different vibration experiences to users. As shown in Figure 3, if the motor vibration waveform is relatively smooth, such as waveform 1 and waveform 2, when the mobile phone vibrates, the vibration of the mobile phone may be more gentle and last longer. , The user’s vibration experience will be more peaceful; if the motor’s vibration waveform is sharper like waveform 3, when the mobile phone vibrates, the vibration of the mobile phone may be stronger and the duration is shorter, and the user will get a more exciting vibration experience. Among them, motor vibration waveforms with similar shapes can bring a similar vibration experience to users, but the intensity of the vibration sensation that the user can feel will be different if the amount of vibration is different. For example, the vibration waveforms of two motors are relatively smooth, one of which has a vibration of 0.8g and the other has a vibration of 0.4g. Then the user will feel that the vibration of the larger vibration waveform has a stronger vibration. .
在一些实现方式中,可以预先设计不同的马达振动波形,将这些马达振动波形保存至马达波形库。在马达波形库中,可对马达振动波形进行编号,便于后续调用不同的马达振动波形号即可调用对应的马达振动波形。In some implementations, different motor vibration waveforms can be designed in advance, and these motor vibration waveforms can be saved to the motor waveform library. In the motor waveform library, the motor vibration waveforms can be numbered, so that the corresponding motor vibration waveforms can be called by subsequently calling different motor vibration waveform numbers.
可选的,在本申请实施例的一些实现方式中,根据用户振动体验等条件将马达波形库中的振动波形进行分类。如图4所示,示例性的给出了四种不同的包含峰值波形的部分马达振动波形,可以根据用户振动体验将这四个振动波形分为两组,第一组为用户振动体验较为和缓的振动波形包括图4中的(a)和图4中的(b)两个波形。这两个波形形状相似但振动量不同,则用户虽然可以获得相似的振动体验,但振感强度不同。第二组为用户振动体验较为刺激的振动波形包括图4中的(c)和图4中的(d)两个波形,这两个波形形状相似,则用户可以获得振动体验相似的振动。Optionally, in some implementation manners of the embodiments of the present application, the vibration waveforms in the motor waveform library are classified according to conditions such as user vibration experience. As shown in Figure 4, four different partial motor vibration waveforms containing peak waveforms are exemplarily given. These four vibration waveforms can be divided into two groups according to the user's vibration experience. The first group is that the user's vibration experience is relatively gentle. The vibration waveform of Figure 4 (a) and Figure 4 (b) two waveforms. The two waveforms are similar in shape but different in vibration amount. Although the user can obtain a similar vibration experience, the vibration intensity is different. The second group of vibration waveforms that are more stimulating for the user's vibration experience includes two waveforms (c) in FIG. 4 and (d) in FIG. 4, and the two waveforms are similar in shape, and the user can obtain a vibration with a similar vibration experience.
不同的马达振动波形为用户带来的振动体验不同,手机厂家预配置上述马达波形库。在开发过程中,手机厂家从马达波形库中为不用应用或手势选择马达振动波形;第三方应用开发商在第三方应用开发过程中,从马达波形库中选择马达振动波形。将预配置的不用应用或手势对应的马达振动波形情况存储于电子设备100的内部存储器121中。其中,马达波形的存储有两种方式:一种是存储马达振动波形数据,即将马达振动波形存储于内部存储器121中,需要时直接调用对应的马达振动波形。另一种是存储马达振动波形参数,如输入电压特征值、输入电流特征值等。即将输入电压特征值、输入电流特征值等马达振动波形参数存储于内部存储器121中,需要时调用对应的马达振动波形参数,根据马达振动波形参数生成马达振动波形数据。实际应用中,当手机检测到用户的某些操作时,手机驱动马达按照不同的振动波形振动,使得用户可以根据振动体验直接判断当前操作是否正确。比如,单击对应波形1,双击对应波形2,长按对应波形3。波形1、波形2和波形3为波形不同的马达振动波形,振动体 验差别较大,进而用户执行双击后可以根据振动体验感应当前振动波形是否为振动波形2,进而判断手机是否检测到该双击操作,若检测错误,如手机检测为单击操作,驱动马达按照波形1振动,则用户可以根据振动体验感知到该操作异常,重新进行单击操作。又比如,为短息和电话设置不同的振动模式(不同的振动波形),当手机接收短息或接收来电后,用户可以不必查看手机屏幕,根据振动体验的不同就能获知当前振动提示为新信息或新来电。Different motor vibration waveforms bring different vibration experience to users, and mobile phone manufacturers pre-configure the above-mentioned motor waveform library. In the development process, mobile phone manufacturers select motor vibration waveforms from the motor waveform library for unused applications or gestures; third-party application developers select motor vibration waveforms from the motor waveform library during the third-party application development process. The pre-configured motor vibration waveform conditions corresponding to the unused applications or gestures are stored in the internal memory 121 of the electronic device 100. There are two ways to store the motor waveform: one is to store the motor vibration waveform data, that is, to store the motor vibration waveform in the internal memory 121, and directly call the corresponding motor vibration waveform when needed. The other is to store motor vibration waveform parameters, such as input voltage characteristic value, input current characteristic value and so on. That is, the motor vibration waveform parameters such as the input voltage characteristic value and the input current characteristic value are stored in the internal memory 121, the corresponding motor vibration waveform parameters are called when necessary, and the motor vibration waveform data is generated according to the motor vibration waveform parameters. In practical applications, when the mobile phone detects certain operations of the user, the mobile phone drive motor vibrates according to different vibration waveforms, so that the user can directly judge whether the current operation is correct according to the vibration experience. For example, click the corresponding waveform 1, double-click the corresponding waveform 2, and press and hold the corresponding waveform 3. Wave 1, Wave 2, and Wave 3 are motor vibration waveforms with different waveforms, and the vibration experience is quite different. After double-clicking, the user can sense whether the current vibration waveform is vibration waveform 2 according to the vibration experience, and then determine whether the phone detects the double-click operation If a detection error occurs, such as a single-click operation detected by the mobile phone, and the drive motor vibrates according to waveform 1, the user can perceive the abnormal operation according to the vibration experience and perform the single-click operation again. For another example, set different vibration modes (different vibration waveforms) for short messages and phone calls. When the mobile phone receives short messages or incoming calls, users can learn that the current vibration alert is new according to the different vibration experience without having to check the phone screen. Message or new call.
在本申请实施例的一些实现方式中,可以通过降低马达191的振动功耗,以适应于电池142带载能力较低的场景,如电池温度较低和/或电池电量较低的场景。具体的,可以通过采用功耗较低的振动波形或降低输入电压的方式以降低马达191振动时产生的瞬间振动峰值电流,进而有效的防止电池142超载掉电。In some implementations of the embodiments of the present application, the vibration power consumption of the motor 191 can be reduced to adapt to scenarios where the battery 142 has a low load capacity, such as scenarios where the battery temperature is low and/or the battery power is low. Specifically, a vibration waveform with lower power consumption or a method of lowering the input voltage can be used to reduce the instantaneous vibration peak current generated when the motor 191 vibrates, thereby effectively preventing the battery 142 from being overloaded and losing power.
一般地,马达振动波形的振幅越小,电压、电流值越小,功耗越低。如图3所示,示例性的给出了输入电压或电流随时间的变化生成的马达振动波形。比如,波形1和波形2为两个用户振动体验类似的马达振动波形,波形2比波形1振幅小,即波形2的振动电流比波形1的振动电流小,则波形2的功耗比波形1的功耗低。如此,若手机之前某应用对应的马达振动波形为波形1,当手机处于带载能力较低的场景,需要选择相似用户振动体验且功耗较小的振动波形时,马达软件系统可以选择波形2输入到马达驱动芯片中,驱动马达按照波形2振动。Generally, the smaller the amplitude of the motor vibration waveform, the smaller the voltage and current values, and the lower the power consumption. As shown in FIG. 3, the motor vibration waveform generated by the change of input voltage or current with time is exemplarily given. For example, waveform 1 and waveform 2 are two motor vibration waveforms with similar vibration experience for users. Waveform 2 has a smaller amplitude than waveform 1. That is, the vibration current of waveform 2 is smaller than the vibration current of waveform 1, and the power consumption of waveform 2 is lower than that of waveform 1. The power consumption is low. In this way, if the motor vibration waveform corresponding to a certain application of the mobile phone is waveform 1, when the mobile phone is in a scene with low load capacity and needs to select a vibration waveform with similar user vibration experience and less power consumption, the motor software system can select waveform 2 Input to the motor drive chip, and the drive motor vibrates according to waveform 2.
本申请实施例提供的一种马达振动控制方法。如图5所示,该方法可以包括以下步骤:An embodiment of the application provides a motor vibration control method. As shown in Figure 5, the method may include the following steps:
S101、手机发送马达振动请求。S101. The mobile phone sends a motor vibration request.
在一种可能的实现方式中,当手机收到提醒时,如收到来电信号或短信信号时,需要马达振动以提示用户,或者手机检测到用户的一些操作时,需要进行触摸振动反馈用户。此时,手机发送马达振动请求至上述马达软件系统205,进而驱动马达振动。在马达振动请求处理过程中,需要确定马达振动波形,此时,手机会查询当前电池状态,以匹配对应的马达振动波形或输入电压。In a possible implementation, when the mobile phone receives a reminder, such as an incoming call signal or a short message signal, the motor needs to vibrate to prompt the user, or when the mobile phone detects some operation of the user, it needs to perform touch vibration feedback to the user. At this time, the mobile phone sends a motor vibration request to the motor software system 205, and then drives the motor to vibrate. During the processing of the motor vibration request, the motor vibration waveform needs to be determined. At this time, the mobile phone will query the current battery status to match the corresponding motor vibration waveform or input voltage.
需要说明的是,在本申请实施例中,当马达软件系统205接收到马达振动请求时(马达振动波形可以静态存储,也可以动态加载),判断需要的马达振动波形,并将振动命令下发到马达驱动芯片202,驱动马达191振动。It should be noted that in this embodiment of the application, when the motor software system 205 receives a motor vibration request (the motor vibration waveform can be statically stored or dynamically loaded), it determines the required motor vibration waveform and issues the vibration command To the motor drive chip 202, the motor 191 is driven to vibrate.
S102、手机查询电池状态。S102. The mobile phone queries the battery status.
在一种可能的实现方式中,参见图2,手机可以从电池供电系统201或电池管理软件系统204查询当前电池状态,该电池状态包括电池温度,或者电池温度及电池电量,或者电池供电能力。该电池状态用于后续判断是否需要降低马达振动功耗。当需要降低马达振动功耗时,可以根据当前电池状态数据判断需要切换的马达振动参数。该马达振动参数可以包括马达振动波形或马达振动波输入电压。可以理解的是,马达波形库中的马达振动波形具有编号,当需要切换马达振动参数为马达振动波形时,该马达振动参数即为马达振动波形编号,调用马达振动波形编号即可调用对应的低功耗马达振动波形。In a possible implementation manner, referring to FIG. 2, the mobile phone can query the current battery status from the battery power supply system 201 or the battery management software system 204. The battery status includes battery temperature, or battery temperature and battery power, or battery power supply capability. The battery status is used to subsequently determine whether it is necessary to reduce the power consumption of motor vibration. When the motor vibration power consumption needs to be reduced, the motor vibration parameters that need to be switched can be determined according to the current battery state data. The motor vibration parameter may include a motor vibration waveform or a motor vibration wave input voltage. It is understandable that the motor vibration waveform in the motor waveform library has a number. When the motor vibration parameter needs to be switched to the motor vibration waveform, the motor vibration parameter is the motor vibration waveform number. Call the motor vibration waveform number to call the corresponding low Power consumption motor vibration waveform.
S103、手机确定是否需要降低马达振动功耗。若是,执行步骤S104,即切换低功耗马达振动参数。若否,执行步骤S105,即继续使用当前马达振动参数驱动马达振动。S103. The mobile phone determines whether the motor vibration power consumption needs to be reduced. If yes, step S104 is executed to switch the vibration parameter of the low power consumption motor. If not, execute step S105, that is, continue to use the current motor vibration parameters to drive the motor to vibrate.
在一种可能的实现方式中,设定预设条件,当电池状态满足预设条件时,判断当前需要驱动马达低功耗振动,以防止高功耗马达振动的瞬间峰值电流高于电池的供电电流,导致手机异常关机。其中,预设条件为:电池供电能力低于第一阈值,或者当前电池温度低于第二阈值,或者当前电池温度&电池电量低于第三阈值数组。第一阈值和第二阈值和第三阈值可以根据电池建模数据、测试数据以及经验数据获得,预先配置于手机等终端中。手机可以根据电池状态参数及第一阈值和第二阈值和第三阈值判断当前是否需要驱动马达低功耗振动。若需要驱动马达低功耗振动,则手机需要切换马达振动参数,驱动马达低功耗振动;若不需要低功耗处理,则手机可以继续按照当前马达振动参数驱动马达振动。In a possible implementation, set the preset condition, when the battery status meets the preset condition, it is judged that the motor needs to be driven with low power vibration, so as to prevent the momentary peak current of the high power motor vibration from being higher than the battery power supply. The current causes the phone to shut down abnormally. Among them, the preset condition is: the battery power supply capacity is lower than the first threshold, or the current battery temperature is lower than the second threshold, or the current battery temperature & battery power is lower than the third threshold array. The first threshold, the second threshold, and the third threshold can be obtained according to battery modeling data, test data, and empirical data, and are pre-configured in terminals such as mobile phones. The mobile phone can determine whether it is currently necessary to drive the motor to vibrate with low power consumption according to the battery state parameter, the first threshold, the second threshold, and the third threshold. If it is necessary to drive the motor to vibrate with low power consumption, the mobile phone needs to switch the motor vibration parameters to drive the motor to vibrate with low power consumption; if low power processing is not required, the mobile phone can continue to drive the motor to vibrate according to the current motor vibration parameters.
S104、手机切换马达振动参数。S104. The mobile phone switches the motor vibration parameters.
通过切换马达振动参数的方式降低马达振动时产生的瞬间峰值电流,进而降低马达振动功耗,防止电池过载。其中,切换马达振动参数包含如下方式:By switching the motor vibration parameters, the instantaneous peak current generated when the motor vibrates is reduced, thereby reducing the power consumption of the motor vibration and preventing the battery from overloading. Among them, switching the motor vibration parameters includes the following methods:
方式一:method one:
在一种可能的实现方式中,根据手机供电能力,切换低功耗振动波形驱动马达振动,例如:可以根据电池供电能力划分不同的供电能力档位,如1A-1.1A,1.1A-1.2A等。选择峰值电流小于手机的最大供电电流(对应供电能力档位下限)的振动波形,进而有效的降低马达振动功耗。其中,可以根据电池温度及电池电量获得手机供电能力档位,也可以由电池管理软件系统直接获得供电能力值,主要包括手机的最大供电电流值。In a possible implementation, according to the power supply capacity of the mobile phone, the low-power vibration waveform is switched to drive the motor to vibrate. For example, different power supply capacity levels can be divided according to the battery power supply capacity, such as 1A-1.1A, 1.1A-1.2A Wait. Choose a vibration waveform whose peak current is less than the maximum power supply current of the mobile phone (corresponding to the lower limit of the power supply capacity gear) to effectively reduce the vibration power consumption of the motor. Among them, the power supply capacity of the mobile phone can be obtained according to the battery temperature and battery power, or the power supply capacity value can be directly obtained by the battery management software system, which mainly includes the maximum power supply current value of the mobile phone.
为了保证用户振动体验,当手机电池负载能力较低,需要切换低功耗波形时,手机可以为用户切换振动体验类似的低功耗波形。如下表2所示,示例性的给出上述马达波形库中波形相似,用户振动体验类似的4个波形36-39号波形,即这四个波形属于同一分类组。表2中还包括44号波形,该44号波形属于另一组低功耗波形,与36-39号波形的振动体验不同。为了统一度量标准,保证获得同一电压条件下的振动峰值电流,需将电压归一化处理。下表2为将电压归一化到3.8V时,不同马达振动波形的振动量和振动峰值电流。In order to ensure the user's vibration experience, when the battery load capacity of the mobile phone is low and low-power waveforms need to be switched, the mobile phone can switch the vibration to experience similar low-power waveforms for the user. As shown in Table 2 below, four waveforms No. 36-39 with similar waveforms in the above-mentioned motor waveform library and a user's vibration experience are exemplarily given, that is, these four waveforms belong to the same classification group. Table 2 also includes waveform No. 44, which belongs to another group of low-power waveforms, which is different from the vibration experience of waveforms 36-39. In order to unify the metric and ensure that the vibration peak current under the same voltage condition is obtained, the voltage needs to be normalized. Table 2 below shows the vibration amount and vibration peak current of different motor vibration waveforms when the voltage is normalized to 3.8V.
表2Table 2
Figure PCTCN2020112884-appb-000001
Figure PCTCN2020112884-appb-000001
可选的,当电池带载能力降低,某一应用或手势需要振动反馈时,可以根据当前电池的供电能力,在预配置的马达波形库中选择与操作该应用或手势对应的振动波形振动体验相似的低功耗波形。比如,原马达振动波形为36号,当电池带载能力降低时,可以将马达振动波形切换为37号。Optionally, when the battery load capacity is reduced and a certain application or gesture requires vibration feedback, you can select the vibration waveform vibration experience corresponding to the operation of the application or gesture in the pre-configured motor waveform library according to the current battery power supply capacity Similar low-power waveforms. For example, the original motor vibration waveform is No. 36, when the battery load capacity is reduced, the motor vibration waveform can be switched to No. 37.
可选的,电池温度及电池电量会对电池供电能力产生影响。由此,可以根据电池供电能力及马达振动峰值电流选择当前温度及电量条件下可用的马达振动波形,即选择的振动波形的振动峰值电流要低于电池的供电能力,使得电池当前的供电电流满足马达振动所需,而不会造成手机电池超载异常。Optionally, the battery temperature and battery power will affect the battery power supply capability. Therefore, the vibration waveform of the motor available under the current temperature and power condition can be selected according to the battery power supply capacity and the motor vibration peak current, that is, the vibration peak current of the selected vibration waveform is lower than the power supply capacity of the battery, so that the current power supply current of the battery meets Motor vibration is required, without causing abnormal cell phone battery overload.
比如,根据表1及表2得到下表3,手机根据当前电池温度及电池电量判断当前电池供电能力,进而根据电池供电能力匹配对应的低功耗马达振动波波形,驱动马达振动。For example, according to Table 1 and Table 2, Table 3 is obtained. The mobile phone judges the current battery power supply capacity according to the current battery temperature and battery power, and then matches the corresponding low-power motor vibration wave waveform according to the battery power supply capacity to drive the motor to vibrate.
表3table 3
电池温度(℃)Battery temperature (℃) -5-5 -5-5 -5-5 -10-10 -10-10 -10-10 -20-20 -20-20
电池电量battery power 30%30% 20%20% 10%10% 50%50% 30%30% 20%20% 50%50% 20%20%
供电能力(A)Power supply capacity (A) 1.51.5 1.21.2 0.950.95 1.41.4 1.261.26 0.940.94 0.780.78 0.5680.568
可选马达振动波Optional motor vibration wave 38、3938, 39 38、3938, 39 3939 38、3938, 39 38、3938, 39 3939 3939 3939
又比如,在手机中预配置电池温度及电池电量与可选马达振动波形的对应关系,进而参见下表4,手机可以根据当前电池温度及电池电量直接匹配对应的低功耗马达振动波波形,驱动马达振动。For another example, the corresponding relationship between the battery temperature and battery power and the optional motor vibration waveform is pre-configured in the mobile phone, and then see Table 4 below. The mobile phone can directly match the corresponding low-power motor vibration waveform according to the current battery temperature and battery power. The drive motor vibrates.
表4Table 4
电池温度(℃)Battery temperature (℃) -5-5 -5-5 -5-5 -10-10 -10-10 -10-10 -20-20 -20-20
电池电量battery power 30%30% 20%20% 10%10% 50%50% 30%30% 20%20% 50%50% 20%20%
可选马达振动波Optional motor vibration wave 38、3938, 39 38、3938, 39 3939 38、3938, 39 38、3938, 39 3939 3939 3939
又比如,在手机中预配置电池温度与可选马达振动波形的对应关系,进而参见下表5,手机可以根据当前电池温度直接匹配对应的低功耗马达振动波波形,驱动马达振动。For another example, the corresponding relationship between the battery temperature and the optional motor vibration waveform is pre-configured in the mobile phone. See Table 5 below. The mobile phone can directly match the corresponding low-power motor vibration waveform according to the current battery temperature to drive the motor to vibrate.
表5table 5
电池温度(℃)Battery temperature (℃) -5-5 -10-10 -15-15 -20-20
可选马达振动波Optional motor vibration wave 3838 3838 3939 3939
又比如,手机可以直接获得电池供电能力时,参见下表6,手机可以直接根据当前电池供电能力匹配对应的低功耗马达振动波波形,驱动马达振动。For another example, when the mobile phone can directly obtain the battery power supply capability, refer to Table 6 below. The mobile phone can directly match the corresponding low-power motor vibration wave waveform according to the current battery power supply capability to drive the motor to vibrate.
表6Table 6
供电能力(A)Power supply capacity (A) 1.51.5 1.21.2 0.950.95 1.41.4 1.261.26 0.940.94 0.780.78 0.5680.568
可选马达振动波Optional motor vibration wave 38、3938, 39 38、3938, 39 3939 38、3938, 39 38、3938, 39 3939 3939 3939
可选的,当存在多个可选的马达振动波形时,可以在多个可选的马达振动波形中,根据用户实际体验需求进行选择。比如,相似振动体验的波形中,可以根据振动量的大小选择对应的波形,振动量大对用户的振感也会较为强烈。参见表3,当当前电池温度为-5℃,电池电量为30%时,可选的振动波形有两个为38号和39号。示例性的,可以选择振动量较大的马达振动波形,用户可以获得较大振感的振动体验。如选择38号振动波形驱动马达振动。或者,若用户处于较为嘈杂的环境中(如用户正在逛街),参见表2,则可以选择振动量较大的38号振动波形驱动马达振动,以便用户可以快速感知该振动。或者,若用户处于较为安静的环境中(如用户正在图书馆看书),参见表2,则马达可以选择振动量较小的39号振动波形实现振动,以使用户可以感知该振动,而又不会影响到其他读者。Optionally, when there are multiple selectable motor vibration waveforms, the multiple selectable motor vibration waveforms can be selected according to the actual experience requirements of the user. For example, among the waveforms of similar vibration experience, the corresponding waveform can be selected according to the magnitude of the vibration, and a large amount of vibration will also have a stronger sense of vibration on the user. Refer to Table 3. When the current battery temperature is -5°C and the battery capacity is 30%, there are two possible vibration waveforms, No. 38 and No. 39. Exemplarily, a motor vibration waveform with a larger vibration amount can be selected, and the user can obtain a vibration experience with a greater vibration sense. For example, select No. 38 vibration waveform to drive the motor to vibrate. Or, if the user is in a noisy environment (for example, the user is shopping), see Table 2, you can select a vibration waveform No. 38 with a large amount of vibration to drive the motor to vibrate, so that the user can quickly perceive the vibration. Or, if the user is in a relatively quiet environment (for example, the user is reading a book in the library), see Table 2, the motor can select a vibration waveform No. 39 with a small amount of vibration to achieve vibration, so that the user can perceive the vibration, but not Will affect other readers.
可选的,可以在马达波形库中,建立一组通用低功耗马达振动波形。参见下表6,该通用低功耗马达振动波形组包括90-94号低功耗马达振动波形。将电池供电能力按照一定的区间进行划分,每一区间对应该通用低功耗波形组中的一个波形,当手机在 马达波形库中选择用户振动体验相似的波形时,未能匹配到对应的波形,手机可以选择当前电池供电能力大于等于表4中供电能力下限对应的通用低功耗波形,进而实现切换低功耗波形,防止电池超载。比如,当前电池供电能力为0.94A,未能匹配到与当前马达振动波形的具有相似用户振动体验的低功耗马达振动波形。此时,可以参见下表7,0.94A>0.7A,选择91号马达振动波形驱动马达振动。Optionally, a set of general low-power motor vibration waveforms can be established in the motor waveform library. Refer to Table 6 below. The general low-power motor vibration waveform group includes No. 90-94 low-power motor vibration waveforms. The battery power supply capacity is divided into certain intervals. Each interval corresponds to a waveform in the general low-power waveform group. When the mobile phone selects a waveform with a similar user vibration experience in the motor waveform library, the corresponding waveform cannot be matched. , The mobile phone can select the general low-power waveform corresponding to the lower limit of the power supply capacity in the current battery power supply capacity greater than or equal to Table 4, so as to switch the low-power waveform and prevent battery overload. For example, the current battery power supply capacity is 0.94A, which fails to match the vibration waveform of a low-power motor with a similar user vibration experience to the current motor vibration waveform. At this time, you can refer to Table 7 below, 0.94A>0.7A, select the 91st motor vibration waveform to drive the motor to vibrate.
表7Table 7
电池温度(℃)Battery temperature (℃) -25-25 -20-20 -5-5 -5-5 -5-5
电池电量(%)battery power(%) 2020 4040 1515 2020 3030
供电能力下限(A)Lower limit of power supply capacity (A) 0.30.3 0.70.7 11 1.21.2 1.51.5
可选马达振动波形Optional motor vibration waveform 9090 9191 9292 9393 9494
需要说明的是,上述表1和表2仅为示例性的给出部分电池状态条件及部分马达振动波参数。由此,可以理解的是,表3、表4及表5应该还可以包括更多电池状态条件及对应的可选马达振动波形。并且上述表2、表3、表4、表5及表6均为将电压归一化到3.8V时,确定振动峰值电流,进而选择可选的振动波型号。该对于电压的归一化处理目的为统一度量标准,保证获得同一电压条件下的振动峰值电流,该归一化电压也可以为其他数值,如4.2V等,本申请实施例不做具体限定。It should be noted that the above-mentioned Table 1 and Table 2 are only exemplary giving some battery state conditions and some motor vibration wave parameters. From this, it can be understood that Table 3, Table 4, and Table 5 should also include more battery state conditions and corresponding optional motor vibration waveforms. And the above Table 2, Table 3, Table 4, Table 5 and Table 6 are all when the voltage is normalized to 3.8V, determine the vibration peak current, and then select the optional vibration wave model. The purpose of the normalization of the voltage is to unify the metric to ensure that the vibration peak current under the same voltage condition is obtained. The normalized voltage may also be other values, such as 4.2V, etc., which is not specifically limited in the embodiment of the present application.
进一步的,上述表3、表4、表5及表6中,选择可选马达振动波形的过程中,仅考虑马达振动峰值电流需小于电池供电能力,可以理解的是,由于电池还需要为手机中其他部件供电,因此,可以设定预设阈值,当马达振动峰值电流与电池供电能力的电流差值大于预设阈值时,对应的振动波形为可选的马达振动波形,该预设阈值可以为试验获得的经验数据,本申请实施例不做具体限定。Further, in the above Table 3, Table 4, Table 5 and Table 6, in the process of selecting the optional motor vibration waveform, only the peak motor vibration current needs to be less than the power supply capacity of the battery. It is understandable that the battery also needs to be a mobile phone Other components in the power supply, therefore, a preset threshold can be set. When the current difference between the peak motor vibration current and the battery power supply capacity is greater than the preset threshold, the corresponding vibration waveform is an optional motor vibration waveform. The preset threshold can be For the empirical data obtained in the experiment, the embodiments of this application do not make specific limitations.
如此,如表3、表4、表5及表6所示,建立电池温度,电池电量,供电能力与可选振动波型号的对应关系表存储于手机存储器中。当手机判断当前马达需要低功耗振动时,可以利用对应的表格,匹配用户振动体验类似的振动波形中对应的可选马达振动波形。In this way, as shown in Table 3, Table 4, Table 5, and Table 6, a table of correspondences between battery temperature, battery power, power supply capacity, and optional vibration wave models is established and stored in the memory of the mobile phone. When the mobile phone determines that the current motor needs low-power vibration, it can use the corresponding table to match the user's vibration experience with the corresponding optional motor vibration waveform.
方式二:Way two:
在一种可能的实现方式中,改变驱动马达振动的输入电压,以降低马达振动时产生的功耗。比如,可以根据电池的供电能力(供电电流)获得当前可以提供的驱动马达振动的输入电压。示例性的,可以利用公式v=k*i*(V/I),建立电压和电流的峰值关系,进而获得对应的低功耗输入电压。其中,V表示原马达振动波形的峰值输入电压;I表示原马达振动波形的供电电流;v表示当前电池状态条件下需要的马达振动波形的低功耗峰值输入电压;i表示当前电池给马达供电电流能力;k表示马达系数,和马达规格、马达设计系统相关,不同的马达规格、马达设计系统测出来的经验k值不一样。示例性的,当k=1时,由上述公式可以获得v/i=V/I,即可获得当前实现马达振动的输入电压,该输入电压为马达振动波形的峰值电压。根据该峰值电压和当前马达振动波形的峰值电压计算压缩比例,将当前马达振动波形按照该比例等比例压缩,得到切换后的马达振动波形,有效降低马达振动功耗。In a possible implementation manner, the input voltage for driving the motor to vibrate is changed to reduce the power consumption when the motor vibrates. For example, the input voltage that can currently be provided to drive the motor vibration can be obtained according to the power supply capacity (power supply current) of the battery. Exemplarily, the formula v=k*i*(V/I) can be used to establish the peak value relationship between voltage and current, so as to obtain the corresponding low-power input voltage. Among them, V represents the peak input voltage of the original motor vibration waveform; I represents the power supply current of the original motor vibration waveform; v represents the low power peak input voltage of the motor vibration waveform required under the current battery condition; i represents the current battery powering the motor Current capacity; k represents the motor coefficient, which is related to motor specifications and motor design systems. The empirical k values measured by different motor specifications and motor design systems are different. Exemplarily, when k=1, v/i=V/I can be obtained from the above formula, that is, the current input voltage for realizing motor vibration can be obtained, and the input voltage is the peak voltage of the motor vibration waveform. The compression ratio is calculated based on the peak voltage and the peak voltage of the current motor vibration waveform, and the current motor vibration waveform is compressed in equal proportions according to the ratio to obtain the switched motor vibration waveform, which effectively reduces the motor vibration power consumption.
可选的,可以将上述按比例压缩后的马达振动波形存储到上述方式一中的马达波形库中,进而,当后续再次需要该马达振动波形时,可以直接调用该马达振动波形, 而不必再次进行计算。Optionally, the above-mentioned proportionally compressed motor vibration waveform can be stored in the motor waveform library in the above mode 1, and furthermore, when the motor vibration waveform is needed again later, the motor vibration waveform can be directly called without having to do it again. Calculation.
需要说明的是,计算马达振动波形的输入电压,还可以和具体的马达模型建模相关。当手机厂商为手机配置马达时,会对影响马达质量的参数进行建模训练验证,筛选出较优的参数,以控制马达质量。不同型号及质量的马达,在输入电压的实现上会存在偏差。当厂家利用马达模型为手机配置马达后,手机根据上述公式获得输入电压即可,而不必再考虑不同的马达模型对输入电压的影响。It should be noted that the calculation of the input voltage of the motor vibration waveform can also be related to the specific motor model modeling. When a mobile phone manufacturer configures a motor for a mobile phone, it will perform modeling training verification on the parameters that affect the quality of the motor, and select the better parameters to control the quality of the motor. Motors of different models and qualities will have deviations in the realization of the input voltage. After the manufacturer uses the motor model to configure the motor for the mobile phone, the mobile phone can obtain the input voltage according to the above formula, without having to consider the influence of different motor models on the input voltage.
如此,当手机带载能力降低,需要马达更换参数时,可以首先在手机预配置的马达波形库中根据电池供电能力,或电池温度及电池电量匹配可选的用户振动体验相似的低功耗马达振动波形。若未能在马达波形库中匹配到可选的马达振动波形,那么,也可以利用上述公式确定当前电池状态可为马达提供的输入电压,进而使电池提供该按比例压缩的输入电压,实现马达的低功耗振动。或者,当未能在马达波形库中匹配到可选的用户振动体验相似的马达振动波形时,可以匹配满足当前供电能力的通用的低功耗马达振动波形,以降低马达振动功耗,防止手机异常掉电关机。In this way, when the load capacity of the mobile phone is reduced and the motor needs to be changed, the motor waveform library can be pre-configured in the mobile phone according to the battery power supply capacity, or the battery temperature and battery power. The optional low-power motor with similar user vibration experience Vibration waveform. If the optional motor vibration waveform cannot be matched in the motor waveform library, then the above formula can also be used to determine the input voltage that the current battery state can provide to the motor, so that the battery can provide the proportionally compressed input voltage to realize the motor The low-power vibration. Or, when the optional user vibration experience similar motor vibration waveform cannot be matched in the motor waveform library, the general low-power motor vibration waveform that meets the current power supply capacity can be matched to reduce the motor vibration power consumption and prevent mobile phones. Power off abnormally.
S105、手机驱动马达振动。S105. The mobile phone drive motor vibrates.
在一种可能的实现方式中,当步骤S103中,手机确定当前电池状态可以满足当前马达振动条件,即不必低功耗振动时,不必执行步骤S104,而直接执行步骤S105,手机利用当前马达振动参数驱动马达振动。In a possible implementation, when the mobile phone determines that the current battery state can meet the current motor vibration condition in step S103, that is, when low-power vibration is not necessary, step S104 is not necessary, and step S105 is executed directly. The mobile phone uses the current motor to vibrate. The parameter drives the motor to vibrate.
在一种可能的实现方式中,马达软件系统匹配到上述切换后的低功耗马达振动参数后,根据该振动参数驱动马达振动为用户提供振动反馈,实现在电池低带载能力条件下的马达振动。In a possible implementation manner, after the motor software system is matched to the above-mentioned switched low-power motor vibration parameters, the motor is driven to vibrate according to the vibration parameters to provide vibration feedback to the user, so as to realize the motor under the condition of low battery load capacity. vibration.
在又一种可能的实现方式中,可以在马达中增加大电容器件,用于对马达振动波形的振动峰值进行滤波,实现平滑峰值电流。即使得马达振动时不会产生加大的瞬时电流,进而不会超过电池的供电能力,使电池过载。在电池带载能力较低的条件下,也可以保证手机振动功能而不会造成振动导致的手机异常掉电关机。In yet another possible implementation manner, a large capacitor device can be added to the motor to filter the vibration peak of the vibration waveform of the motor to achieve smooth peak current. Even if the motor does not generate an increased instantaneous current when it vibrates, it will not exceed the power supply capacity of the battery and overload the battery. Under the condition of low battery loading capacity, the vibration function of the mobile phone can also be ensured without causing abnormal power-down and shutdown of the mobile phone caused by vibration.
在又一种可能的实现方式中,当步骤S103中,手机确定马达需要低功耗振动,即手机判断当前场景为手机带载能力较低的场景时,可以使手机电池的输出电压中马达振动时使用电压的峰值和高功耗应用使用电压的峰值实现错峰供应。即,将防止马达振动波形达到峰值时,同时运行高功耗应用,导致瞬时电流过高,电池过载掉电。示例性的,手机拍照时,快门按下拍照瞬间,瞬时峰值电压较高,此时,若有来电或短消息提醒振动,可以将该马达振动的峰值与拍照电压的峰值在时间上分离,以保证当前电池状态的供应能力足够实现当前马达振动波形的振动。In another possible implementation, when the mobile phone determines that the motor needs low-power vibration in step S103, that is, when the mobile phone determines that the current scene is a scene with a low load capacity of the mobile phone, the motor can be made to vibrate in the output voltage of the mobile phone battery. When using the peak value of the voltage and high power consumption applications, the peak value of the voltage is used to achieve the peak supply. That is, it will prevent the motor vibration waveform from reaching the peak while running high power consumption applications, resulting in excessive transient current and battery overload and power down. Exemplarily, when a mobile phone takes a photo, the instantaneous peak voltage is high at the moment the shutter is pressed to take a photo. At this time, if there is an incoming call or a short message to remind the vibration, the peak value of the motor vibration and the peak value of the photographing voltage can be separated in time. Ensure that the current supply capacity of the battery state is sufficient to achieve the vibration of the current motor vibration waveform.
由此可见,本申请提供的一种马达振动控制方法,可以在电池带载能力低的场景下,通过切换低功耗马达振动波形或改变马达振动波形输入电压,动态调整马达振动功耗,实现低功耗马达振动,而不会造成手机异常掉电关机。以改善现有技术中,当手机处于电池带载能力低的场景下时,禁用马达振动功能,使得用户体验感较差的问题。It can be seen that the motor vibration control method provided by the present application can dynamically adjust the motor vibration power consumption by switching the low-power motor vibration waveform or changing the motor vibration waveform input voltage in a scenario where the battery load capacity is low. The low-power motor vibrates without causing the phone to shut down abnormally. In order to improve the prior art, when the mobile phone is in a scene with low battery loading capacity, the motor vibration function is disabled, which makes the user experience poor.
如图6所示,本申请实施例公开了一种电子设备,包括:一个或多个处理器601;存储器602;以及一个或多个计算机程序603。上述各器件可以通过一个或多个通信总线604连接。其中,上述一个或多个计算机程序603被存储在上述存储器602中并被 配置为被该一个或多个处理器601执行,该一个或多个计算机程序603包括指令,上述指令可以用于执行上述的马达振动控制实施例中的各个步骤。As shown in FIG. 6, an embodiment of the present application discloses an electronic device, including: one or more processors 601; a memory 602; and one or more computer programs 603. The above-mentioned devices may be connected through one or more communication buses 604. The aforementioned one or more computer programs 603 are stored in the aforementioned memory 602 and are configured to be executed by the one or more processors 601, and the one or more computer programs 603 include instructions, and the aforementioned instructions can be used to execute the aforementioned The various steps in the motor vibration control embodiment.
示例性的,上述处理器601具体可以为图1所示的处理器110,上述存储器602具体可以为图1所示的内部存储器121。Exemplarily, the foregoing processor 601 may specifically be the processor 110 shown in FIG. 1, and the foregoing memory 602 may specifically be the internal memory 121 shown in FIG. 1.
该电子设备还包括通信模块605;电池供电模块606;马达607。上述通信模块605具体可以为图1所示的移动通信模块150和/或无线无线通信模块160。上述电池供电模块606具体可以包括图1所示的充电管理模块140,电源管理模块141和电池142。上述马达607具体可以为图1所示的马达191,本申请实施例对此不做任何限制。上述电池供电模块606和马达607可以用于执行上述马达振动控制方法中所涉及的步骤。The electronic device also includes a communication module 605; a battery power supply module 606; and a motor 607. The aforementioned communication module 605 may specifically be the mobile communication module 150 and/or the wireless wireless communication module 160 shown in FIG. 1. The above-mentioned battery power supply module 606 may specifically include the charge management module 140, the power management module 141, and the battery 142 shown in FIG. 1. The above-mentioned motor 607 may specifically be the motor 191 shown in FIG. 1, which is not limited in the embodiment of the present application. The above-mentioned battery power supply module 606 and the motor 607 may be used to execute the steps involved in the above-mentioned motor vibration control method.
处理器601可以是处理器或控制器,例如可以是中央处理器(central processing unit,CPU),GPU,通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 601 may be a processor or a controller, such as a central processing unit (CPU), a GPU, a general-purpose processor, a digital signal processor (digital signal processor, DSP), and an application-specific integrated circuit (application-specific integrated circuit). integrated circuit, ASIC), field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
通信模块605可以是收发器、收发电路、输入输出设备或通信接口等。例如,通信模块605具体可以是蓝牙装置、Wi-Fi装置、外设接口等等。The communication module 605 may be a transceiver, a transceiver circuit, an input/output device, or a communication interface. For example, the communication module 605 may specifically be a Bluetooth device, a Wi-Fi device, a peripheral interface, and so on.
存储器602可以包括高速随机存取存储器,或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器602可以是独立存在,通过通信总线604与处理器601相连接。存储器602也可以和处理器601集成在一起。The memory 602 may include a high-speed random access memory, or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of dynamic storage devices that can store information and instructions, It can also be an electrically erasable programmable read-only memory (EEPROM), or any other that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer Medium, but not limited to this. The memory 602 may exist independently, and is connected to the processor 601 through the communication bus 604. The memory 602 may also be integrated with the processor 601.
本申请实施例还提供一种芯片系统,如图7所示,该芯片系统包括至少一个处理器701和至少一个接口电路702。处理器701和接口电路702可通过线路互联。例如,接口电路702可用于从其它装置接收信号。又例如,接口电路702可用于向其它装置(例如处理器701)发送信号。示例性的,接口电路702可读取存储器中存储的指令,并将该指令发送给处理器701。当所述指令被处理器701执行时,可使得电子设备执行上述实施例中的电子设备100执行的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application also provides a chip system. As shown in FIG. 7, the chip system includes at least one processor 701 and at least one interface circuit 702. The processor 701 and the interface circuit 702 may be interconnected by wires. For example, the interface circuit 702 can be used to receive signals from other devices. For another example, the interface circuit 702 may be used to send signals to other devices (for example, the processor 701). Exemplarily, the interface circuit 702 can read an instruction stored in the memory, and send the instruction to the processor 701. When the instructions are executed by the processor 701, the electronic device can be made to execute each step executed by the electronic device 100 in the foregoing embodiment. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的马达振动控制方法。The embodiment of the present application also provides a computer storage medium, the computer storage medium stores a computer instruction, when the computer instruction runs on the electronic device, the electronic device executes the above-mentioned related method steps to realize the motor vibration control in the above-mentioned embodiment method.
本申请实施例还提供一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的马达振动控制方法。The embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to realize the motor vibration control method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,该装置具体可以是组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行 时,处理器可执行存储器存储的计算机执行指令,以使装置执行上述各方法实施例中的马达振动控制方法。In addition, the embodiments of the present application also provide a device, which may specifically be a component or a module. The device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions. When the device is running, the processor The computer-executable instructions stored in the executable memory can be executed to make the device execute the motor vibration control method in the foregoing method embodiments.
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
应理解,本申请实施例中所提供的马达振动控制方法,可以由电子设备执行,所述电子设备可以是计算设备的整机,也可以是所述计算设备的部分器件,例如马达振动功能相关的芯片,如具备马达振动控制方法功能的系统芯片或通信芯片。其中,马达振动控制方法的系统芯片也称为片上系统,或称为片上系统(system on chip,SOC)芯片。具体地,无线通信装置可以是诸如智能手机这样的终端,也可以是能够被设置在终端中的马达振动控制方法功能的系统芯片或通信芯片。It should be understood that the motor vibration control method provided in the embodiments of the present application can be executed by an electronic device. The electronic device can be the entire computing device or part of the computing device, for example, motor vibration function related Chip, such as a system chip or communication chip with the function of motor vibration control method. Among them, the system chip of the motor vibration control method is also called a system on chip or a system on chip (system on chip, SOC) chip. Specifically, the wireless communication device may be a terminal such as a smart phone, and may also be a system chip or a communication chip capable of functioning a motor vibration control method set in the terminal.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法,可以通过其它的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method can be implemented in other ways. For example, the electronic device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序指令的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program instructions.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by the protection scope of this application. . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (28)

  1. 一种马达振动控制方法,应用于电子设备,其特征在于,所述方法包括:A motor vibration control method applied to electronic equipment, characterized in that the method includes:
    在接收到第一马达振动波形振动请求的情况下,获取电池状态;所述电池状态包括:电池温度,或者电池温度及电池电量,或者电池供电能力;In the case of receiving the first motor vibration waveform vibration request, obtain the battery status; the battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capacity;
    若所述电池状态满足预设条件,则切换马达振动参数;其中,所述预设条件为所述电池供电能力低于第一阈值或者所述电池温度低于第二阈值;所述马达振动参数包括:马达振动波形或马达振动输入电压;If the battery state satisfies a preset condition, the motor vibration parameter is switched; wherein, the preset condition is that the battery power supply capacity is lower than a first threshold or the battery temperature is lower than a second threshold; the motor vibration parameter Including: motor vibration waveform or motor vibration input voltage;
    根据切换后的马达振动参数驱动所述马达振动。The motor is driven to vibrate according to the switched motor vibration parameters.
  2. 根据权利要求1所述的马达振动控制方法,其特征在于,所述电池供电能力为所述电池对马达的输入电流;所述切换所述马达振动参数,包括:The motor vibration control method according to claim 1, wherein the battery power supply capability is the input current of the battery to the motor; and the switching of the motor vibration parameters includes:
    根据所述电池供电能力确定第二马达振动波形,所述第二马达振动波形峰值电流小于所述电池供电能力;Determining a second motor vibration waveform according to the battery power supply capability, and the peak current of the second motor vibration waveform is less than the battery power supply capability;
    切换所述第一马达振动波形为所述第二马达振动波形。Switching the first motor vibration waveform to the second motor vibration waveform.
  3. 根据权利要求2所述的马达振动控制方法,其特征在于,所述电子设备中预配置多个马达振动波形,以及该多个马达振动波形与电池供电能力的对应关系;所述根据所述电池供电能力确定第二马达振动波形包括:The motor vibration control method according to claim 2, wherein a plurality of motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the plurality of motor vibration waveforms and the power supply capacity of the battery; The power supply capability determines the second motor vibration waveform including:
    根据电池供电能力,以及该多个马达振动波形与电池供电能力的对应关系,在所述多个马达振动波形中匹配确定所述第二马达振动波形;所述电池供电能力为根据所述电池温度及所述电池电量获得或由所述电子设备读取获得。According to the battery power supply capacity and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, the second motor vibration waveform is matched and determined among the multiple motor vibration waveforms; the battery power supply capacity is based on the battery temperature And the battery power is obtained or read by the electronic device.
  4. 根据权利要求1所述的马达振动控制方法,其特征在于,电子设备中预存储有电池温度、电池电量与所述马达振动波形的对应关系,所述对应关系指示的马达振动波形为在对应的电池温度和电池电量条件下允许的马达振动波形;所述切换所述马达振动参数,包括:The motor vibration control method according to claim 1, wherein the electronic device pre-stores the corresponding relationship between battery temperature, battery power and the motor vibration waveform, and the motor vibration waveform indicated by the corresponding relationship is in the corresponding Motor vibration waveform allowed under battery temperature and battery power conditions; the switching of the motor vibration parameters includes:
    根据获取的电池电量和电池温度,与所述对应关系确定马达振动波形;并切换使用所述确定的马达振动波形;或者,According to the obtained battery power and battery temperature, determine the motor vibration waveform with the corresponding relationship; and switch to use the determined motor vibration waveform; or,
    根据获取的电池温度与所述对应关系确定马达振动波形;并切换使用所述确定的马达振动波形。The motor vibration waveform is determined according to the acquired battery temperature and the corresponding relationship; and the determined motor vibration waveform is switched to use.
  5. 根据权利要求2或3所述的马达振动控制方法,其特征在于,The motor vibration control method according to claim 2 or 3, wherein:
    所述第二马达振动波形与所述第一马达振动波形的用户振动体验相似。The second motor vibration waveform is similar to the user vibration experience of the first motor vibration waveform.
  6. 根据权利要求2-4任一所述的马达振动控制方法,其特征在于,The motor vibration control method according to any one of claims 2-4, wherein:
    若第二马达振动波形的数量为多个,则切换所述第一马达振动波形为多个第二马达振动波形中振动量最大的一个。If the number of second motor vibration waveforms is multiple, the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
  7. 根据权利要求1-6任一所述的马达振动控制方法,其特征在于,所述电子设备中预配置马达波形库,所述马达波形库中的马达波形按用户振动体验分类。The motor vibration control method according to any one of claims 1 to 6, wherein a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
  8. 根据权利要求7所述的马达振动控制方法,其特征在于,The motor vibration control method according to claim 7, wherein:
    所述马达波形库还包括多个第三马达振动波形;The motor waveform library also includes a plurality of third motor vibration waveforms;
    将所述电池供电能力按照预设区间进行划分,每一所述预设区间对应所述多个第三马达振动波形中的一个第三马达振动波形。The battery power supply capability is divided according to preset intervals, and each preset interval corresponds to a third motor vibration waveform among the plurality of third motor vibration waveforms.
  9. 根据权利要求8所述的马达振动控制方法,其特征在于,The motor vibration control method according to claim 8, wherein:
    若未匹配到第二马达振动波形,则根据当前电池供电能力匹配所述预设区间,根据所述预设区间匹配所述第三马达振动波形。If the second motor vibration waveform is not matched, the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
  10. 根据权利要求1所述马达振动控制方法,其特征在于,所述切换所述马达振动参数,根据切换后的马达振动参数驱动所述马达振动,包括:The motor vibration control method according to claim 1, wherein said switching said motor vibration parameters and driving said motor to vibrate according to the switched motor vibration parameters comprises:
    根据所述电池供电能力确定第二峰值输入电压;Determining the second peak input voltage according to the battery power supply capability;
    根据所述第二峰值输入电压以及第一峰值输入电压得到压缩比例,按照所述压缩比例压缩第一马达振动输入电压生成第二马达振动输入电压;所述第一峰值输入电压为所述第一马达振动波形的峰值电压,所述第一马达振动输入电压为所述第一马达振动波形的驱动电压;The compression ratio is obtained according to the second peak input voltage and the first peak input voltage, and the first motor vibration input voltage is compressed according to the compression ratio to generate a second motor vibration input voltage; the first peak input voltage is the first The peak voltage of the motor vibration waveform, and the first motor vibration input voltage is the driving voltage of the first motor vibration waveform;
    切换第一马达振动输入电压为所述第二马达振动输入电压;Switching the first motor vibration input voltage to the second motor vibration input voltage;
    根据所述第二马达振动输入电压生成第四马达振动波形,根据所述第四马达振动波形驱动所述马达振动;所述第二峰值输入电压为所述第四马达振动波形的峰值电压。A fourth motor vibration waveform is generated according to the second motor vibration input voltage, and the motor is driven to vibrate according to the fourth motor vibration waveform; the second peak input voltage is the peak voltage of the fourth motor vibration waveform.
  11. 根据权利要求10所述的马达振动控制方法,其特征在于,所述电池供电能力包括所述电池对马达的输入电压和输入电流;所述根据所述电池供电能力确定第二峰值输入电压,包括:The motor vibration control method according to claim 10, wherein the battery power supply capability includes the input voltage and input current of the battery to the motor; and the determining the second peak input voltage according to the battery power supply capability includes :
    利用公式v=k*i*(V/I),建立所述马达的峰值输入电压和峰值输入电流间的关系,确定所述第二峰值输入电压;其中,V表示第一峰值输入电压;I表示第一峰值输入电流,所述第一峰值输入电流为第一马达振动波形的峰值电流;v表示所述第二峰值输入电压;i表示所述第二峰值输入电流,所述第二峰值电流为当前电池供电能力允许的马达的最大输入电流;k表示马达系数;V,I,v,k为正数。Use the formula v=k*i*(V/I) to establish the relationship between the peak input voltage and the peak input current of the motor to determine the second peak input voltage; where V represents the first peak input voltage; I Represents the first peak input current, the first peak input current is the peak current of the first motor vibration waveform; v represents the second peak input voltage; i represents the second peak input current, the second peak current The maximum input current of the motor allowed by the current battery power supply capacity; k represents the motor coefficient; V, I, v, and k are positive numbers.
  12. 根据权利要求10或11所述的马达振动控制方法,其特征在于,所述方法还包括:The motor vibration control method according to claim 10 or 11, wherein the method further comprises:
    将所述第四马达振动波形存储于马达波形库。The fourth motor vibration waveform is stored in the motor waveform library.
  13. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;One or more processors;
    存储器;Memory
    以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令;当所述指令被所述电子设备执行时,使得所述电子设备执行:And one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the electronic device, the The said electronic equipment performs:
    在接收到第一马达振动波形振动请求的情况下,获取电池状态;所述电池状态包括:电池温度,或者电池温度及电池电量,或者电池供电能力;In the case of receiving the first motor vibration waveform vibration request, obtain the battery status; the battery status includes: battery temperature, or battery temperature and battery power, or battery power supply capacity;
    若所述电池状态满足预设条件,则切换马达振动参数;其中,所述预设条件为所述电池供电能力低于第一阈值,或者所述电池温度低于第二阈值,或者电池温度&电池电量低于第三阈值数组;所述马达振动参数包括:马达振动波形或马达振动输入电压;If the battery state meets a preset condition, the motor vibration parameter is switched; wherein, the preset condition is that the battery power supply capability is lower than a first threshold, or the battery temperature is lower than a second threshold, or the battery temperature The battery power is lower than the third threshold array; the motor vibration parameters include: motor vibration waveform or motor vibration input voltage;
    根据切换后的马达振动参数驱动所述马达振动。The motor is driven to vibrate according to the switched motor vibration parameters.
  14. 根据权利要求13所述的电子设备,其特征在于,所述电池供电能力为所述电池对马达的输入电流;当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 13, wherein the battery power supply capability is the input current of the battery to the motor; when the instruction is executed by the electronic device, the electronic device is caused to execute:
    根据所述电池供电能力确定第二马达振动波形,所述第二马达振动波形峰值电流 小于所述电池供电能力;Determining a second motor vibration waveform according to the battery power supply capability, and the peak current of the second motor vibration waveform is less than the battery power supply capability;
    切换所述第一马达振动波形为所述第二马达振动波形。Switching the first motor vibration waveform to the second motor vibration waveform.
  15. 根据权利要求14所述的电子设备,其特征在于,所述电子设备中预配置多个马达振动波形,以及该多个马达振动波形与电池供电能力的对应关系;当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 14, wherein a plurality of motor vibration waveforms are pre-configured in the electronic device, and the corresponding relationship between the plurality of motor vibration waveforms and the power supply capacity of the battery; when the instruction is executed by the electronic device , The electronic device is caused to execute:
    根据电池供电能力,以及该多个马达振动波形与电池供电能力的对应关系,在所述多个马达振动波形中匹配确定所述第二马达振动波形;所述电池供电能力为根据所述电池温度及所述电池电量获得或由所述电子设备读取获得。According to the battery power supply capacity and the corresponding relationship between the multiple motor vibration waveforms and the battery power supply capacity, the second motor vibration waveform is matched and determined among the multiple motor vibration waveforms; the battery power supply capacity is based on the battery temperature And the battery power is obtained or read by the electronic device.
  16. 根据权利要求13所述的电子设备,其特征在于,所述电子设备中预存储有电池温度、电池电量与所述马达振动波形的对应关系,所述对应关系指示的马达振动波形为在对应的电池温度和电池电量条件下允许的马达振动波形;当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 13, wherein the electronic device pre-stores a correspondence relationship between battery temperature, battery power, and the motor vibration waveform, and the motor vibration waveform indicated by the correspondence relationship is in the corresponding Motor vibration waveform allowed under battery temperature and battery power conditions; when the instruction is executed by the electronic device, the electronic device is caused to execute:
    根据获取的电池电量和电池温度,与所述对应关系确定马达振动波形;并切换使用所述确定的马达振动波形;或者,According to the obtained battery power and battery temperature, determine the motor vibration waveform with the corresponding relationship; and switch to use the determined motor vibration waveform; or,
    根据获取的电池温度与所述对应关系确定马达振动波形;并切换使用所述确定的马达振动波形。The motor vibration waveform is determined according to the acquired battery temperature and the corresponding relationship; and the determined motor vibration waveform is switched to use.
  17. 根据权利要求14或15所述的电子设备,其特征在于,The electronic device according to claim 14 or 15, wherein:
    所述第二马达振动波形与所述第一马达振动波形的用户振动体验相似。The second motor vibration waveform is similar to the user vibration experience of the first motor vibration waveform.
  18. 根据权利要求14-16任一所述的电子设备,其特征在于,The electronic device according to any one of claims 14-16, wherein:
    若第二马达振动波形的数量为多个,则切换所述第一马达振动波形为多个第二马达振动波形中振动量最大的一个。If the number of second motor vibration waveforms is multiple, the first motor vibration waveform is switched to one of the multiple second motor vibration waveforms with the largest amount of vibration.
  19. 根据权利要求13-18任一所述的电子设备,其特征在于,所述电子设备中预配置马达波形库,所述马达波形库中的马达波形按用户振动体验分类。The electronic device according to any one of claims 13-18, wherein a motor waveform library is pre-configured in the electronic device, and the motor waveforms in the motor waveform library are classified according to the user's vibration experience.
  20. 根据权利要求19所述的电子设备,其特征在于,The electronic device according to claim 19, wherein:
    所述马达波形库还包括多个第三马达振动波形;The motor waveform library also includes a plurality of third motor vibration waveforms;
    将所述电池供电能力按照预设区间进行划分,每一所述预设区间对应所述多个第三马达振动波形中的一个第三马达振动波形。The battery power supply capability is divided according to preset intervals, and each preset interval corresponds to a third motor vibration waveform among the plurality of third motor vibration waveforms.
  21. 根据权利要求20所述的电子设备,其特征在于,The electronic device according to claim 20, wherein:
    若未匹配到第二马达振动波形,则根据当前电池供电能力匹配所述预设区间,根据所述预设区间匹配所述第三马达振动波形。If the second motor vibration waveform is not matched, the preset interval is matched according to the current battery power supply capability, and the third motor vibration waveform is matched according to the preset interval.
  22. 根据权利要求13所述的电子设备,其特征在于,当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 13, wherein when the instruction is executed by the electronic device, the electronic device is caused to execute:
    根据所述电池供电能力确定第二峰值输入电压;Determining the second peak input voltage according to the battery power supply capability;
    根据所述第二峰值输入电压以及第一峰值输入电压得到压缩比例,按照所述压缩比例压缩第一马达振动输入电压生成第二马达振动输入电压;所述第一峰值输入电压为所述第一马达振动波形的峰值电压,所述第一马达振动输入电压为所述第一马达振动波形的驱动电压;The compression ratio is obtained according to the second peak input voltage and the first peak input voltage, and the first motor vibration input voltage is compressed according to the compression ratio to generate a second motor vibration input voltage; the first peak input voltage is the first The peak voltage of the motor vibration waveform, and the first motor vibration input voltage is the driving voltage of the first motor vibration waveform;
    切换第一马达振动输入电压为所述第二马达振动输入电压;Switching the first motor vibration input voltage to the second motor vibration input voltage;
    根据所述第二马达振动输入电压生成第四马达振动波形,根据所述第四马达振动 波形驱动所述马达振动;所述第二峰值输入电压为所述第四马达振动波形的峰值电压。A fourth motor vibration waveform is generated based on the second motor vibration input voltage, and the motor is driven to vibrate based on the fourth motor vibration waveform; the second peak input voltage is a peak voltage of the fourth motor vibration waveform.
  23. 根据权利要求22所述的电子设备,其特征在于,所述电池供电能力包括所述电池对马达的输入电压和输入电流;当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 22, wherein the battery power supply capability includes the input voltage and input current of the battery to the motor; when the instruction is executed by the electronic device, the electronic device is caused to execute:
    利用公式v=k*i*(V/I),建立所述马达的峰值输入电压和峰值输入电流间的关系,确定所述第二峰值输入电压;其中,V表示第一峰值输入电压;I表示第一峰值输入电流,所述第一峰值输入电流为第一马达振动波形的峰值电流;v表示所述第二峰值输入电压;i表示所述第二峰值输入电流,所述第二峰值电流为当前电池供电能力允许的马达的最大输入电流;k表示马达系数;V,I,v,k为正数。Use the formula v=k*i*(V/I) to establish the relationship between the peak input voltage and the peak input current of the motor to determine the second peak input voltage; where V represents the first peak input voltage; I Represents the first peak input current, the first peak input current is the peak current of the first motor vibration waveform; v represents the second peak input voltage; i represents the second peak input current, the second peak current The maximum input current of the motor allowed by the current battery power supply capacity; k represents the motor coefficient; V, I, v, and k are positive numbers.
  24. 根据权利要求22或23所述的电子设备,其特征在于,当所述指令被电子设备执行时,使得所述电子设备执行:The electronic device according to claim 22 or 23, wherein when the instruction is executed by the electronic device, the electronic device is caused to execute:
    将所述第四马达振动波形存储于马达波形库。The fourth motor vibration waveform is stored in the motor waveform library.
  25. 根据权利要求13-24中任一项所述的电子设备,其特征在于,所述电子设备为具备马达振动控制功能的系统芯片。The electronic device according to any one of claims 13-24, wherein the electronic device is a system chip with a motor vibration control function.
  26. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-12中任一项所述的马达振动控制方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the motor vibration control method according to any one of claims 1-12.
  27. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-12中任一项所述的马达振动控制方法。A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the motor vibration control method according to any one of claims 1-12.
  28. 一种芯片系统,其特征在于,包括至少一个处理器和至少一个接口电路,所述至少一个接口电路用于执行收发功能,并将指令发送给所述至少一个处理器,当所述至少一个处理器执行所述指令时,所述至少一个处理器执行如权利要求1-12中任一项所述的马达振动控制方法。A chip system, characterized in that it includes at least one processor and at least one interface circuit, the at least one interface circuit is used to perform the transceiver function, and send instructions to the at least one processor, when the at least one processor When the instruction is executed by the processor, the at least one processor executes the motor vibration control method according to any one of claims 1-12.
PCT/CN2020/112884 2019-09-18 2020-09-01 Motor vibration control method and electronic device WO2021052170A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/761,721 US11949356B2 (en) 2019-09-18 2020-09-01 Motor vibration control method and electronic device
EP20866623.0A EP4024699A4 (en) 2019-09-18 2020-09-01 Motor vibration control method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910883245.6 2019-09-18
CN201910883245.6A CN112532145B (en) 2019-09-18 2019-09-18 Motor vibration control method and electronic device

Publications (1)

Publication Number Publication Date
WO2021052170A1 true WO2021052170A1 (en) 2021-03-25

Family

ID=74883679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112884 WO2021052170A1 (en) 2019-09-18 2020-09-01 Motor vibration control method and electronic device

Country Status (4)

Country Link
US (1) US11949356B2 (en)
EP (1) EP4024699A4 (en)
CN (1) CN112532145B (en)
WO (1) WO2021052170A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761741A (en) * 2021-09-07 2021-12-07 维沃移动通信有限公司 Method and apparatus for controlling vibration motor, electronic device, and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115389927B (en) * 2021-05-24 2024-05-10 荣耀终端有限公司 Method and system for measuring and calculating motor damping
CN114500729B (en) * 2022-02-14 2023-12-19 Tcl通讯科技(成都)有限公司 Vibration control method, vibration control device, terminal and computer readable storage medium
TWI814486B (en) * 2022-07-14 2023-09-01 科林創新股份有限公司 Somatosensory generation system with temperature control effect
CN115933941A (en) * 2022-11-23 2023-04-07 瑞声开泰声学科技(上海)有限公司 Motor control method, terminal device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150005038A1 (en) * 2013-07-01 2015-01-01 Charles Cai Ring accessory
CN105530361A (en) * 2014-09-29 2016-04-27 东莞宇龙通信科技有限公司 Vibration prompting method, vibration prompting device, terminal and motor
CN105791578A (en) * 2016-03-08 2016-07-20 广东欧珀移动通信有限公司 Information reminding method, information reminding device and mobile terminal
CN105812567A (en) * 2016-03-29 2016-07-27 努比亚技术有限公司 Mobile terminal control method and device
CN108258977A (en) * 2018-01-11 2018-07-06 上海展扬通信技术有限公司 Motor vibrations control method, mobile terminal and computer readable storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5994855A (en) * 1998-05-07 1999-11-30 Optiva Corporation Automatic power adjustment system for introductory use of a vibrating device on a human body
US20080066991A1 (en) * 2006-09-15 2008-03-20 Denso Corporation On-vehicle control apparatus powered by on-vehicle battery
JP2010523164A (en) 2006-11-03 2010-07-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for maintaining the performance of a battery operated toothbrush
KR20080042367A (en) 2006-11-09 2008-05-15 삼성전자주식회사 Apparatus of electric power management according to received signal strength indicator in dual band dual module terminal and method thereof
CN101222713A (en) 2008-02-04 2008-07-16 深圳华为通信技术有限公司 Electricity output control method, device and terminal
CN101645979A (en) * 2008-08-06 2010-02-10 比亚迪股份有限公司 Method, system and mobile terminal for switching working modes of mobile terminal
JP4798307B2 (en) * 2009-05-13 2011-10-19 トヨタ自動車株式会社 Vibration control device
TW201127003A (en) 2010-01-26 2011-08-01 Chi Mei Comm Systems Inc Mobile phone and method for adjusting vibration frequency of the mobile phone
CN102538947A (en) 2010-12-27 2012-07-04 富泰华工业(深圳)有限公司 Electronic device with vibration detection function and vibration detection method thereof
CN102724340A (en) * 2012-06-19 2012-10-10 广东欧珀移动通信有限公司 Method for adjusting vibration strength of mobile phone
KR101610124B1 (en) * 2014-09-23 2016-04-08 현대자동차 주식회사 Apparatus and method for controlling engine speed of hybrid electric vehicle
CN105515283B (en) * 2015-12-07 2018-06-26 珠海格力电器股份有限公司 Motor and its alignment circuit and method
CN106054075A (en) * 2016-06-27 2016-10-26 联想(北京)有限公司 Method for determining vibration motor driving parameter and electronic device
CN107831899B (en) 2017-11-20 2020-09-01 珠海市魅族科技有限公司 Vibration control method and device of motor, mobile terminal and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150005038A1 (en) * 2013-07-01 2015-01-01 Charles Cai Ring accessory
CN105530361A (en) * 2014-09-29 2016-04-27 东莞宇龙通信科技有限公司 Vibration prompting method, vibration prompting device, terminal and motor
CN105791578A (en) * 2016-03-08 2016-07-20 广东欧珀移动通信有限公司 Information reminding method, information reminding device and mobile terminal
CN105812567A (en) * 2016-03-29 2016-07-27 努比亚技术有限公司 Mobile terminal control method and device
CN108258977A (en) * 2018-01-11 2018-07-06 上海展扬通信技术有限公司 Motor vibrations control method, mobile terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4024699A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761741A (en) * 2021-09-07 2021-12-07 维沃移动通信有限公司 Method and apparatus for controlling vibration motor, electronic device, and storage medium

Also Published As

Publication number Publication date
EP4024699A1 (en) 2022-07-06
EP4024699A4 (en) 2022-11-16
CN112532145A (en) 2021-03-19
CN112532145B (en) 2023-03-28
US11949356B2 (en) 2024-04-02
US20220416706A1 (en) 2022-12-29

Similar Documents

Publication Publication Date Title
WO2020168965A1 (en) Method for controlling electronic device having folding screen, and electronic device
WO2021052170A1 (en) Motor vibration control method and electronic device
WO2021169337A1 (en) In-screen fingerprint display method and electronic device
CN110347269B (en) Empty mouse mode realization method and related equipment
EP4024168A1 (en) Hand gesture interaction method and apparatus, and terminal device
WO2021139767A1 (en) Screen-on control method and electronic device
EP4027629A1 (en) Display control method for electronic device having foldable screen, and electronic device
WO2021147396A1 (en) Icon management method and smart terminal
WO2021052410A1 (en) Application management method and apparatus
WO2021104104A1 (en) Energy-efficient display processing method, and apparatus
CN111132234A (en) Data transmission method and corresponding terminal
EP4231147A1 (en) Drawing command processing method and related device therefor
WO2021190314A1 (en) Sliding response control method and apparatus of touch screen, and electronic device
CN111522425A (en) Power consumption control method of electronic equipment and electronic equipment
WO2021238387A1 (en) Application execution method and apparatus
WO2020077508A1 (en) Dynamic frequency adjustment method for internal memory, and electronic apparatus
CN113964900A (en) Method for dynamically adjusting power supply voltage of power adapter and electronic equipment
EP4132202A1 (en) Data downloading method and apparatus, and terminal device
WO2022257592A1 (en) Switch switching method and related device
WO2022170856A1 (en) Method for establishing connection, and electronic device
WO2022052755A1 (en) Battery heating method, apparatus and device
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
US20240178771A1 (en) Method and apparatus for adjusting vibration waveform of linear motor
EP4280596A1 (en) Video call method and related device
WO2022135144A1 (en) Self-adaptive display method, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20866623

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020866623

Country of ref document: EP

Effective date: 20220331