[go: up one dir, main page]

CN114296549B - Wearable device control method, device, wearable device and medium - Google Patents

Wearable device control method, device, wearable device and medium Download PDF

Info

Publication number
CN114296549B
CN114296549B CN202111562270.8A CN202111562270A CN114296549B CN 114296549 B CN114296549 B CN 114296549B CN 202111562270 A CN202111562270 A CN 202111562270A CN 114296549 B CN114296549 B CN 114296549B
Authority
CN
China
Prior art keywords
wearable device
motor
vibration amount
driving
motion detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111562270.8A
Other languages
Chinese (zh)
Other versions
CN114296549A (en
Inventor
单亦超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111562270.8A priority Critical patent/CN114296549B/en
Publication of CN114296549A publication Critical patent/CN114296549A/en
Application granted granted Critical
Publication of CN114296549B publication Critical patent/CN114296549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供了一种可穿戴设备的控制方法、装置、可穿戴设备及介质。该方法包括:响应于设定的触发事件,依次向马达输入与预设驱动频率范围内每一驱动频率对应的驱动信号;获取通过运动检测传感器采集的所述马达基于每一所述驱动信号发生振动的振动量;根据所述马达基于每一所述驱动信号发生振动的振动量,从所述预设驱动频率范围内确定出目标振动量对应的目标驱动频率。

The present disclosure provides a control method, apparatus, wearable device and medium for a wearable device. The method comprises: in response to a set trigger event, sequentially inputting a drive signal corresponding to each drive frequency within a preset drive frequency range to a motor; acquiring the vibration amount of the motor based on each drive signal collected by a motion detection sensor; and determining a target drive frequency corresponding to the target vibration amount from within the preset drive frequency range according to the vibration amount of the motor based on each drive signal.

Description

Control method and device of wearable device, wearable device and medium
Technical Field
The embodiment of the disclosure relates to the technical field of wearable equipment, and more particularly relates to a control method of the wearable equipment, a control device of the wearable equipment, the wearable equipment and a computer readable storage medium.
Background
Currently, wearable devices such as smart watches and smart bracelets are increasingly widely used, and users desire larger vibration amounts of the wearable devices. The vibration amount in the wearable device is provided by the motor, and a large volume is required in order to achieve a large vibration amount, but as the size and weight of the wearable device are reduced, the volume compression of the motor is more and more serious, and the smaller the motor volume is, the smaller the vibration amount is, which requires the motor to have the maximum vibration amount under the condition that the motor volume is limited.
In the related art, the motor uses the inductance flyback after the driving is stopped to carry out the teaching, however, because the flyback signal quantity is very small and needs to be amplified for use, the interference signals are easily amplified together in the amplifying process, thereby covering up the real signals, leading the deviation of the maximum vibration quantity after the teaching to be very large and the effect to be not ideal.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a new solution for control of a wearable device.
According to a first aspect of embodiments of the present disclosure, there is provided a method for controlling a wearable device, the method including:
Responding to a set trigger event, and sequentially inputting driving signals corresponding to each driving frequency in a preset driving frequency range to a motor;
Acquiring a vibration amount of the motor acquired by a motion detection sensor, which vibrates based on each of the driving signals;
And determining a target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor which vibrates based on each driving signal.
Optionally, the set trigger event includes any one or two of when the wearable device is turned on and when the wearable device enters a calibration mode.
Optionally, the method further comprises:
Providing a configuration interface for configuring the wearable device to enter the calibration mode;
Receiving a first input for the configuration interface;
in response to the first input, the wearable device is controlled to enter the calibration mode.
The acquiring the vibration amount by which the motor acquired by the motion detection sensor vibrates based on each of the driving signals includes:
Determining a sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency;
And acquiring vibration amounts of the motor acquired by the motion detection sensor based on a set sampling frequency and each sampling frequency and based on each corresponding driving signal.
Optionally, the set proportion is one quarter.
According to a second aspect of embodiments of the present disclosure, there is provided a control apparatus of a wearable device, the apparatus comprising:
The input module is used for responding to the set trigger event and sequentially inputting driving signals corresponding to each driving frequency in the preset driving frequency range to the motor;
An acquisition module for acquiring a vibration amount of the motor acquired by the motion detection sensor, the vibration amount being generated by the motor based on each of the driving signals;
and the determining module is used for determining a target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor which vibrates based on each driving signal.
Optionally, the set trigger event includes any one or two of when the wearable device is turned on and when the wearable device enters a calibration mode.
Optionally, the apparatus further comprises a calibration module for:
Providing a configuration interface for configuring the wearable device to enter the calibration mode;
Receiving a first input for the configuration interface;
in response to the first input, the wearable device is controlled to enter the calibration mode.
According to a third aspect of embodiments of the present disclosure, there is provided a wearable device comprising a motor and a motion detection sensor, the wearable device further comprising:
a memory for storing executable computer instructions;
A processor for executing the control method according to the above first aspect, according to control of the executable computer instructions.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the method of the first aspect above.
The method and the device have the advantages that the wearable device can respond to the set trigger event, sequentially input driving signals corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration quantity of the motor vibrating based on each driving signal, further determine the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor vibrating based on each driving signal, and achieve calibration of the maximum driving frequency corresponding to the maximum vibration quantity of the wearable device, namely, achieve obtaining of the maximum vibration quantity on the basis of not increasing cost by utilizing the motion detection sensor in the wearable device.
Other features of the present specification and its advantages will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a hardware configuration schematic of a wearable device according to an embodiment of the present disclosure;
fig. 2 is a flow diagram of a method of controlling a wearable device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a sampling process of a wearable device according to an embodiment of the present disclosure;
Fig. 4 is a functional block diagram of a control device of a wearable apparatus according to an embodiment of the present disclosure;
Fig. 5 is a functional block diagram of a wearable device according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the embodiments of the present disclosure unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate. .
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
< Hardware configuration >
Fig. 1 is a block diagram of a hardware configuration of a wearable device 1000 according to an embodiment of the present disclosure.
As shown in fig. 1, the wearable device 1000 may be, for example, a head mounted display, a smart watch, a smart bracelet, etc., to which embodiments of the present disclosure are not limited.
In one embodiment, as shown in fig. 1, the wearable device 1000 may include a processor 1100, a memory 1200, an interface apparatus 1300, a communication apparatus 1400, a display apparatus 1500, an input apparatus 1600, a microphone 1700, a motion detection sensor 1800, a motor 1900, and the like.
The processor 1100 may include, but is not limited to, a Central Processing Unit (CPU), a microprocessor MCU, etc. The memory 1200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, various bus interfaces such as a serial bus interface (including a USB interface), a parallel bus interface, and the like. The communication device 1400 can perform wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, an LED display, a touch display, or the like. The input device 1600 includes, for example, a touch screen, keyboard, handle, etc. Microphone 1700 may be used to input voice information. The motion detection sensor 1800 may be used to detect motion of a wearer of the wearable device 1000. The motor 1900 is used to convert electrical energy to mechanical energy to generate a drive torque to power the wearable device.
It should be understood by those skilled in the art that although a plurality of devices of the wearable apparatus 1000 are shown in fig. 1, the wearable apparatus 1000 of the embodiments of the present specification may refer to only some of the devices thereof, and may further include other devices, which are not limited herein.
In this embodiment, the memory 1200 of the wearable device 1000 is used to store instructions for controlling the processor 1100 to operate to implement or support implementing a control method of the wearable device according to any of the embodiments. The skilled person can design instructions according to the solution disclosed in the present specification. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
In the above description, a skilled person may design instructions according to the solutions provided by the present disclosure. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
The wearable device shown in fig. 1 is merely illustrative and is in no way intended to limit the disclosure, its application or use.
< Method example >
Fig. 2 illustrates a control method of a wearable device of an embodiment of the present disclosure, which may be implemented, for example, by the wearable device 1000 shown in fig. 1, which wearable device 1000 may be a head mounted display, a smart watch, a smart bracelet, or the like.
As shown in fig. 2, the method for controlling the wearable device provided in this embodiment may include the following steps S2100 to S2300.
In step S2100, in response to the set trigger event, a driving signal corresponding to each driving frequency in the preset driving frequency range is sequentially input to the motor.
The set trigger event comprises any one or two of the time when the wearable device is started and the time when the calibration function of the wearable device is in an on state.
In this embodiment, a set trigger event is preset in a controller of the wearable device, where the set trigger event includes when the wearable device is turned on and/or when the wearable device is in a calibration mode, under a condition that the set trigger event occurs, the controller of the wearable device may sequentially input driving signals corresponding to each driving frequency in a preset driving frequency range to the motor, so that the motor generates vibration based on each driving signal.
It will be appreciated that when the user purchases the protective case, the maximum driving frequency of the wearable device is required to be recalibrated due to the change in the maximum driving frequency of the wearable device, and the wearable device can be calibrated with the wearable device in the calibration mode.
The preset driving frequency range may be fL to fH, where fL is a minimum frequency in the preset driving frequency range and fH is a maximum frequency in the preset driving frequency range. Generally, the preset driving frequency range may be set between 10hz and 10000hz, where the preset driving frequency range may be greater than or equal to the vibration frequency range of the motor, that is, the vibration frequency range of the motor is within the preset driving frequency range, so that each frequency point of the motor may be detected.
It will be appreciated that for a typical linear motor, the maximum drive frequency for the maximum vibration of the motor is typically 200HZ, where the controller of the wearable device may in turn provide drive signals corresponding to drive frequencies of 100HZ, 101HZ, 102HZ.
For example, for a wearable device provided with a typical linear motor, when the wearable device is turned on or the wearable device enters a calibration mode, the controller of the wearable device sends a driving signal for driving the motor to vibrate, and specifically, the controller of the wearable device may sequentially output a driving signal of 100HZ, a driving signal of 101HZ, and a driving signal of 102 HZ.
After sequentially inputting driving signals corresponding to each driving frequency in a preset driving frequency range to the motor in response to a set trigger event, entering:
Step 1200, obtaining a vibration amount of the motor acquired by the motion detection sensor, which vibrates based on each of the driving signals.
A motion detection sensor is provided in the wearable device, which may be a sensor provided in the wearable device that may be used to detect a motion state of a wearer of the wearable device. The motion detection sensor may include an accelerometer and a gyroscope.
In this embodiment, the controller of the wearable device sequentially inputs driving signals corresponding to each driving frequency in the preset driving frequency range to the motor, and the motor can vibrate based on each driving signal.
In this embodiment, since the types of the motion detection sensors set in the wearable device are various, and the bandwidths of the motion detection sensors are generally set low, the vibration amount of the high vibration frequency cannot be collected, and therefore the sampling frequency of the motion detection sensors needs to be adjusted, so that the motion detection sensors collect the vibration amount of the motor vibrating based on the driving signal corresponding to each driving frequency based on the adjusted sampling frequency.
In this embodiment, the obtaining the vibration amount of the motor that is collected by the motion detection sensor and vibrates based on each driving signal in the step 1200 may further include determining a sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set ratio and each driving frequency, and obtaining the vibration amount of the motor that is collected by the motion detection sensor and vibrates based on the set sampling times and each sampling frequency and each corresponding driving signal.
The sampling frequency is the frequency of the vibration quantity of the motor collected by the motion detection sensor, the sampling frequency can be a numerical value set by combining the sampling precision of the motion detection sensor, and the excessive high or the excessive low of the sampling frequency can lead to the low sampling precision of the motion detection sensor.
The above set proportion is, for example, one fourth, the above set sampling number is five, and experiments show that the motion detection sensor has the highest sampling accuracy when the set proportion is one fourth and the set sampling number is five.
For example, the driving frequency f0 is equal to 200HZ which is one of the driving frequencies in the above preset driving frequency range, and in order to enable the acquisition of the vibration amount, it is necessary to set the sampling frequency of the motion detection sensor to be one-fourth of the driving frequency f0, that is, 50HZ, and it is also understood that the motion detection sensor acquires the vibration amount of the motor vibrating at the driving signal of 200HZ every 20 ms. Specifically, as shown in fig. 3, when the motion detection sensor starts to collect, the time interval between the first collecting point F1 and the second collecting point F2 is 20ms, in order to enable more accurate collection accuracy, the sample collected at the vibration frequency F0 equal to 200HZ may be repeated 5 times, that is, 100ms, and this time is very short for the wearer, so that the problem of excessively long waiting time is not caused. The specific sampling process may be that F1, F2, F3, F4, F5, the first value F1 and the last value F5 are removed, the middle three values F2, F3, F4 are reserved, and the average value of F2, F3, F4 is calculated as the vibration quantity of the vibration generated by the driving signal with the driving frequency F0 equal to 200 HZ.
After acquiring the vibration amount of the motor, which is acquired by the motion detection sensor, that vibrates based on the driving signal corresponding to each of the driving frequencies, entering:
Step 1300, determining a target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal.
The target vibration amount is the maximum vibration amount, and the target driving frequency is the maximum driving frequency, correspondingly.
In this embodiment, after determining the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount by which the motor vibrates based on each driving signal, the target driving frequency may be written into the controller.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input driving signals corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration quantity of the motor vibrating based on each driving signal, further determine the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor vibrating based on each driving signal, and achieve calibration of the maximum driving frequency corresponding to the maximum vibration quantity of the wearable device, namely, utilize the motion detection sensor in the wearable device, and achieve obtaining of the maximum vibration quantity on the basis of not increasing cost.
In an embodiment, the method for controlling the wearable device according to the embodiment of the disclosure may further include step S3100 to step S3300:
Step S3100 provides a configuration interface for configuring the wearable device to enter the calibration mode.
The configuration interface may be a calibration control.
It can be appreciated that when the user purchases the protective case, as the maximum driving frequency of the wearable device changes, the maximum driving frequency needs to be recalibrated, and at this time, the user can configure through the configuration interface, so that the wearable device enters the calibration mode, and the maximum driving frequency of the wearable device is calibrated when the wearable device is in the calibration mode.
Step S3200, a first input is received for the configuration interface.
The first input may be a click input of the configuration interface by the user, or a voice command input by the user, or a specific gesture input by the user, which may be specifically determined according to the actual use requirement, which is not limited in the embodiment of the present application.
Continuing with the above example, in the case where the display screen of the wearable device displays the calibration control, a "yes" button and a "no" button may be provided, and the "yes" button may be clicked when the wearer needs to perform calibration of the maximum driving frequency, and the "no" button may be clicked when the wearer does not need to perform calibration of the maximum driving frequency.
Step S3300, in response to the first input, controls the wearable device to enter the calibration mode.
Continuing with the above example, when the wearer clicks the "yes" button, the controller of the wearable device may control the wearable device to enter the calibration mode, where the controller of the wearable device may input a driving signal corresponding to each driving frequency in the preset driving frequency range to the motor, and obtain a vibration amount of the motor, which is acquired by the motion detection sensor and is vibrated based on the driving signal corresponding to each driving frequency, and further determine, according to the vibration amount of the motor, which is vibrated based on each driving signal, a target driving frequency corresponding to the target vibration amount from the preset driving frequency range.
According to the embodiment, the maximum driving frequency of the wearable device can be taught under the condition that the wearable device is assembled in a factory, and the wearable device is also used under the condition that a user changes a use scene, so that the user experience is further improved.
In one embodiment, when the motor of the wearable device fails, for example, the motor is dropped off due to dispensing, the motor cannot be fixed, for example, the motor is broken, the motor cannot vibrate, for example, foreign matters enter the motor, the vibrator is blocked, and the like, the maximum vibration quantity cannot be obtained when the motor is calibrated, the wearable device can intercept the defects in factory delivery stage, and if the wearable device is positioned in the hand of a user, the display of the wearable device can output prompt information for prompting the user to carry out inspection maintenance.
Next, a control method of a wearable device of an example is shown, in which the control method of the wearable device includes the steps of:
Step 401, providing a configuration interface for configuring the wearable device to enter a calibration mode.
Step 402, a first input is received for a configuration interface.
In response to the first input, the wearable device is controlled to enter a calibration mode, step 403.
Step 404, in the case that the wearable device is in the calibration mode, sequentially inputting a driving signal corresponding to each driving frequency in the preset driving frequency range to the linear motor.
Step 405, determining a sampling frequency of the motion detection sensor corresponding to each driving frequency according to the set proportion and each driving frequency.
In step 406, the vibration amount of the motor acquired by the motion detection sensor based on the set sampling times and each sampling frequency and based on each corresponding driving signal is acquired.
Step 407, determining a maximum driving frequency corresponding to the maximum vibration amount from a preset driving frequency range according to the vibration amount of the motor which vibrates based on each driving signal.
In step 408, the maximum drive frequency is written.
< Device example >
Fig. 4 is a schematic structural view of a control device of the wearable apparatus according to one embodiment. As shown in fig. 4, the control device 400 of the wearable device includes an input module 410, an acquisition module 420, and a determination module 430.
The input module 410 is configured to sequentially input a driving signal corresponding to each driving frequency in the preset driving frequency range to the motor in response to the set trigger event.
An acquisition module 420 for acquiring a vibration amount of the motor acquired by the motion detection sensor, which vibrates based on each of the driving signals.
And the determining module 430 is configured to determine, according to the vibration amount of the motor that vibrates based on each driving signal, a target driving frequency corresponding to the target vibration amount from the preset driving frequency range.
In one embodiment, the set trigger event includes any one or both of when the wearable device is powered on and when the wearable device enters a calibration mode.
In one embodiment, the apparatus further comprises a calibration module (not shown).
The calibration module is specifically used for providing a configuration interface for configuring the wearable device to enter the calibration mode, receiving a first input aiming at the configuration interface, and responding to the first input, controlling the wearable device to enter the calibration mode.
In one embodiment, the obtaining module 420 is specifically configured to determine a sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency, and obtain a vibration amount of the motor acquired by the motion detection sensor based on a set sampling frequency and each sampling frequency and based on a corresponding driving signal.
In one embodiment, the set proportion is one quarter and the set number of samples is five.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input driving signals corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration quantity of the motor vibrating based on each driving signal, further determine the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor vibrating based on each driving signal, and achieve calibration of the maximum driving frequency corresponding to the maximum vibration quantity of the wearable device, namely, utilize the motion detection sensor in the wearable device, and achieve obtaining of the maximum vibration quantity on the basis of not increasing cost.
< Device example >
Fig. 5 is a hardware architecture diagram of a wearable device according to one embodiment. As shown in fig. 5, the wearable device 500 includes a motor 510 and a motion detection sensor 520, the wearable device 500 further including a processor 530 and a memory 540.
The memory 540 may be used to store executable computer instructions.
The processor 530 may be configured to perform a method for controlling a wearable device according to an embodiment of the method of the present disclosure, according to control of the executable computer instructions.
The wearable device 500 may be the wearable device 500 shown in fig. 1, or may be a device having other hardware structures, which is not limited herein. The wearable device 500 may be, for example, a head mounted display, a smart watch, a smart bracelet, etc., to which embodiments of the present disclosure are not limited.
In further embodiments, the wearable device 500 may comprise the control means 400 of the above wearable device.
In one embodiment, the modules of the control apparatus 400 of the wearable device above may be implemented by the processor 530 running computer instructions stored in the memory 540.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input driving signals corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration quantity of the motor vibrating based on each driving signal, further determine the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor vibrating based on each driving signal, and achieve calibration of the maximum driving frequency corresponding to the maximum vibration quantity of the wearable device, namely, utilize the motion detection sensor in the wearable device, and achieve obtaining of the maximum vibration quantity on the basis of not increasing cost.
< Computer-readable storage Medium >
The embodiment of the disclosure also provides a computer readable storage medium, on which computer instructions are stored, which when executed by a processor, perform the method for controlling the wearable device provided by the embodiment of the disclosure.
The present disclosure may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, punch cards or intra-groove protrusion structures such as those having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as SMALLTALK, C ++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (8)

1.一种可穿戴设备的控制方法,所述方法包括:1. A control method for a wearable device, the method comprising: 响应于设定的触发事件,依次向马达输入与预设驱动频率范围内每一驱动频率对应的驱动信号;其中,所述预设驱动频率范围大于或等于所述马达的振动频率范围,以使所述马达的各个频率点均可检测到;In response to a set trigger event, a driving signal corresponding to each driving frequency within a preset driving frequency range is sequentially input to the motor; wherein the preset driving frequency range is greater than or equal to the vibration frequency range of the motor, so that each frequency point of the motor can be detected; 获取通过运动检测传感器采集的所述马达基于每一所述驱动信号发生振动的振动量;其中,所述获取通过运动检测传感器采集的所述马达基于每一所述驱动信号发生振动的振动量,包括:根据设定比例和每一所述驱动频率的乘积,确定与每一所述驱动频率对应的所述运动检测传感器的采样频率;获取所述运动检测传感器基于设定采样次数和每一所述采样频率所采集的所述马达基于对应的每一所述驱动信号发生振动的振动量;Obtaining the vibration amount of the motor based on each of the driving signals collected by the motion detection sensor; wherein, obtaining the vibration amount of the motor based on each of the driving signals collected by the motion detection sensor comprises: determining the sampling frequency of the motion detection sensor corresponding to each of the driving frequencies according to the product of a set ratio and each of the driving frequencies; obtaining the vibration amount of the motor based on each of the driving signals collected by the motion detection sensor based on the set sampling times and each of the sampling frequencies; 根据所述马达基于每一所述驱动信号发生振动的振动量,从所述预设驱动频率范围内确定出目标振动量对应的目标驱动频率;Determining a target driving frequency corresponding to a target vibration amount from within the preset driving frequency range according to a vibration amount of the motor generated based on each of the driving signals; 其中,所述目标振动量为最大振动量,所述设定比例为四分之一,所述设定采样次数为五次。Among them, the target vibration amount is the maximum vibration amount, the set ratio is one quarter, and the set sampling number is five times. 2.根据权利要求1所述的方法,其特征在于,所述设定的触发事件包括所述可穿戴设备开机时、所述可穿戴设备进入校准模式时中的任意一项或两项。2. The method according to claim 1 is characterized in that the set trigger event includes any one or both of when the wearable device is turned on and when the wearable device enters a calibration mode. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, characterized in that the method further comprises: 当所述设定的触发事件包括所述可穿戴设备进入校准模式时,提供配置所述可穿戴设备进入所述校准模式的配置接口;When the set triggering event includes the wearable device entering a calibration mode, providing a configuration interface for configuring the wearable device to enter the calibration mode; 接收针对所述配置接口的第一输入;receiving a first input for the configuration interface; 响应于所述第一输入,控制所述可穿戴设备进入所述校准模式。In response to the first input, the wearable device is controlled to enter the calibration mode. 4.一种可穿戴设备的控制装置,所述装置包括:4. A control device for a wearable device, the device comprising: 输入模块,用于响应于设定的触发事件,依次向马达输入与预设驱动频率范围内每一驱动频率对应的驱动信号;其中,所述预设驱动频率范围大于或等于所述马达的振动频率范围,以使所述马达的各个频率点均可检测到;An input module, for responding to a set trigger event, sequentially inputting a drive signal corresponding to each drive frequency within a preset drive frequency range to the motor; wherein the preset drive frequency range is greater than or equal to the vibration frequency range of the motor, so that each frequency point of the motor can be detected; 获取模块,用于获取通过运动检测传感器采集的所述马达基于每一所述驱动信号发生振动的振动量;An acquisition module, used for acquiring a vibration amount of the motor based on each of the driving signals collected by a motion detection sensor; 确定模块,用于根据所述马达基于每一所述驱动信号发生振动的振动量,从所述预设驱动频率范围内确定出目标振动量对应的目标驱动频率;a determination module, configured to determine a target driving frequency corresponding to a target vibration amount from within the preset driving frequency range according to a vibration amount of the motor generated based on each of the driving signals; 其中,所述获取模块,具体用于所述获取通过运动检测传感器采集的所述马达基于每一所述驱动信号发生振动的振动量,包括:根据设定比例和每一所述驱动频率的乘积,确定与每一所述驱动频率对应的所述运动检测传感器的采样频率;获取所述运动检测传感器基于设定采样次数和每一所述采样频率所采集的所述马达基于对应的每一所述驱动信号发生振动的振动量;The acquisition module is specifically used to acquire the vibration amount of the motor based on each of the driving signals acquired by the motion detection sensor, including: determining the sampling frequency of the motion detection sensor corresponding to each of the driving frequencies according to the product of a set ratio and each of the driving frequencies; acquiring the vibration amount of the motor based on each of the corresponding driving signals acquired by the motion detection sensor based on the set sampling times and each of the sampling frequencies; 其中,所述目标振动量为最大振动量,所述设定比例为四分之一,所述设定采样次数为五次。Among them, the target vibration amount is the maximum vibration amount, the set ratio is one quarter, and the set sampling number is five times. 5.根据权利要求4所述的装置,其特征在于,所述设定的触发事件包括所述可穿戴设备开机时、所述可穿戴设备进入校准模式时中的任意一项或两项。5. The device according to claim 4 is characterized in that the set trigger event includes any one or both of when the wearable device is turned on and when the wearable device enters a calibration mode. 6.根据权利要求5所述的装置,其特征在于,所述装置还包括校准模块,用于:6. The device according to claim 5, characterized in that the device further comprises a calibration module, which is used for: 当所述设定的触发事件包括所述可穿戴设备进入校准模式时,提供配置所述可穿戴设备进入所述校准模式的配置接口;When the set triggering event includes the wearable device entering a calibration mode, providing a configuration interface for configuring the wearable device to enter the calibration mode; 接收针对所述配置接口的第一输入;receiving a first input for the configuration interface; 响应于所述第一输入,控制所述可穿戴设备进入所述校准模式。In response to the first input, the wearable device is controlled to enter the calibration mode. 7.一种可穿戴设备,其特征在于,包括马达和运动检测传感器,所述可穿戴设备还包括:7. A wearable device, characterized in that it comprises a motor and a motion detection sensor, and the wearable device further comprises: 存储器,用于存储可执行的计算机指令;Memory for storing executable computer instructions; 处理器,用于根据所述可执行的计算机指令的控制,执行根据权利要求1-3中任意一项所述的控制方法。A processor, configured to execute the control method according to any one of claims 1 to 3 under the control of the executable computer instructions. 8.一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器运行时执行权利要求1-3中任意一项所述的控制方法。8. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to execute the control method according to any one of claims 1 to 3.
CN202111562270.8A 2021-12-20 2021-12-20 Wearable device control method, device, wearable device and medium Active CN114296549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111562270.8A CN114296549B (en) 2021-12-20 2021-12-20 Wearable device control method, device, wearable device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111562270.8A CN114296549B (en) 2021-12-20 2021-12-20 Wearable device control method, device, wearable device and medium

Publications (2)

Publication Number Publication Date
CN114296549A CN114296549A (en) 2022-04-08
CN114296549B true CN114296549B (en) 2025-04-15

Family

ID=80968512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111562270.8A Active CN114296549B (en) 2021-12-20 2021-12-20 Wearable device control method, device, wearable device and medium

Country Status (1)

Country Link
CN (1) CN114296549B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118646313A (en) * 2024-05-23 2024-09-13 比亚迪股份有限公司 Motor vibration frequency calibration method, controller and computing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176184A (en) * 2005-05-19 2008-05-07 Mks仪器公司 Synchronous undersampling for high-frequency voltage and current measurements
CN109274309A (en) * 2018-09-28 2019-01-25 Oppo广东移动通信有限公司 Motor control method, device, electronic device and storage medium
CN110794573A (en) * 2019-10-21 2020-02-14 歌尔股份有限公司 MEMS galvanometer feedback signal acquisition method, driving method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876567B (en) * 2009-11-04 2011-11-16 中国科学院苏州纳米技术与纳米仿生研究所 Tracking testing system of resonant frequency of quartz crystal microbalance and method thereof
JP2015202386A (en) * 2014-04-11 2015-11-16 達矢 野口 wearable device
CN107977077A (en) * 2017-11-20 2018-05-01 珠海市魅族科技有限公司 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing
CN113552936A (en) * 2020-04-23 2021-10-26 北京小米移动软件有限公司 Vibration control method and device and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176184A (en) * 2005-05-19 2008-05-07 Mks仪器公司 Synchronous undersampling for high-frequency voltage and current measurements
CN109274309A (en) * 2018-09-28 2019-01-25 Oppo广东移动通信有限公司 Motor control method, device, electronic device and storage medium
CN110794573A (en) * 2019-10-21 2020-02-14 歌尔股份有限公司 MEMS galvanometer feedback signal acquisition method, driving method and system

Also Published As

Publication number Publication date
CN114296549A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
KR102392113B1 (en) Electronic device and method for processing voice command thereof
CN108292317B (en) Question and answer processing method and electronic device supporting the same
CN110199350B (en) Method for sensing the end of speech and electronic device implementing the method
US11244264B2 (en) Interleaving surprise activities in workflow
EP3276950A1 (en) Electronic device for providing slow motion video content
KR20190090281A (en) Electronic device for controlling sound and method for operating thereof
CN108351890A (en) Electronic device and its operating method
US20170004827A1 (en) Data Collection and Reporting System and Method
EP2884385A1 (en) Method for performing voice control operation on terminal, and apparatus
KR20180042557A (en) Electronic device for monitoring a status of a machine and control method thereof
CN107852440A (en) Method for processing sound by electronic device and electronic device thereof
CN114296549B (en) Wearable device control method, device, wearable device and medium
CN111427447B (en) Virtual keyboard display method, head-mounted display device and system
KR102482589B1 (en) Method for operating speech recognition service and electronic device supporting the same
CN112558777B (en) Method, device and device for controlling screen on and off of wearable device
KR102514730B1 (en) Method for associating data with time information and electronic device thereof
CN110806638A (en) Method, device and computer storage medium for determining resonant frequency of micro-galvo mirror
CN108983976A (en) Flexible interactive device and information interacting method and device
CN114489154B (en) Control method, control device, handle and medium
US20180314212A1 (en) Wearable device and control method therefor
KR102405508B1 (en) Electronic device and method for providing video data for user
CN110988840B (en) Method and device for acquiring flight time and electronic equipment
CN114339193A (en) Head-mounted display device control method, device, equipment and readable storage medium
CN109298787B (en) Flexible human-computer interaction devices and terminal equipment
US10083348B2 (en) Object popularity detection

Legal Events

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