Wearable device control method, device, wearable device and medium

By sequentially inputting driving signals of different driving frequencies in the wearable device and obtaining the vibration amount of the motor, and determining the target driving frequency, the problem of insufficient vibration amount of the motor is solved, and the calibration and acquisition of the maximum vibration amount is achieved.

CN114296549BActive Publication Date: 2025-04-15GEER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111562270.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2025-04-15
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

In existing wearable devices, the vibration amount of the motor is limited by volume, and the amplification of the flyback signal will mask the real signal, resulting in a large deviation of the maximum vibration amount and the effect is not ideal.

Method used

In response to a set trigger event, the motor sequentially inputs the driving signal corresponding to each driving frequency within the preset driving frequency range, and obtains the vibration amount of vibration that the motor vibrates based on each driving signal, and determines the target driving frequency corresponding to the target vibration amount based on the vibration amount.

Benefits of technology

The calibration of the maximum driving frequency corresponding to the maximum vibration amount of the wearable device is achieved, and the maximum vibration amount is obtained without increasing the cost using the motion detection sensor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114296549B_ABST
    Figure CN114296549B_ABST
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the technical field of wearable devices, and more specifically, to a control method for a wearable device, a control device for a wearable device, a wearable device, and a computer-readable storage medium. Background Art

[0002] At present, the application of wearable devices such as smart watches and smart bracelets is becoming more and more widespread. For users, they hope that the vibration of wearable devices is as large as possible. The vibration in wearable devices is provided by motors. In order to achieve a larger vibration, a larger volume is required. However, with the miniaturization and lightweight of wearable devices, the volume compression of motors is becoming more and more serious. The smaller the motor volume, the smaller the vibration. This requires that the motor has the maximum vibration under the condition of limited motor volume.

[0003] In the related art, the motor is calibrated by inductive flyback after the drive stops. However, since the flyback signal is very small and needs to be amplified, the interference signal is easily amplified during the amplification process, thereby masking the real signal, causing the maximum vibration amount adjusted to deviate greatly and the effect is not ideal. Summary of the invention

[0004] An object of the embodiments of the present disclosure is to provide a new technical solution for controlling a wearable device.

[0005] According to a first aspect of an embodiment of the present disclosure, a control method for a wearable device is provided, the method comprising:

[0006] In response to a set trigger event, a drive signal corresponding to each drive frequency within a preset drive frequency range is sequentially input to the motor;

[0007] Acquiring a vibration amount of the motor based on each of the driving signals collected by a motion detection sensor;

[0008] According to the vibration amount of the motor generated by each of the driving signals, a target driving frequency corresponding to the target vibration amount is determined from within the preset driving frequency range.

[0009] Optionally, 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.

[0010] Optionally, the method further comprises:

[0011] Providing a configuration interface for configuring the wearable device to enter the calibration mode;

[0012] receiving a first input for the configuration interface;

[0013] In response to the first input, the wearable device is controlled to enter the calibration mode.

[0014] The step of obtaining the vibration amount of the motor based on each of the driving signals collected by the motion detection sensor includes:

[0015] Determining a sampling frequency of the motion detection sensor corresponding to each of the driving frequencies according to a set ratio and each of the driving frequencies;

[0016] The vibration amount of the motor generated by the vibration of each corresponding driving signal, which is collected by the motion detection sensor based on the set sampling number and each sampling frequency, is obtained.

[0017] Optionally, the set ratio is one quarter.

[0018] According to a second aspect of an embodiment of the present disclosure, a control device for a wearable device is provided, the device comprising:

[0019] 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;

[0020] 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;

[0021] The determination module is used 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.

[0022] Optionally, 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.

[0023] Optionally, the device further comprises a calibration module, configured to:

[0024] Providing a configuration interface for configuring the wearable device to enter the calibration mode;

[0025] receiving a first input for the configuration interface;

[0026] In response to the first input, the wearable device is controlled to enter the calibration mode.

[0027] According to a third aspect of an embodiment of the present disclosure, a wearable device is provided, the wearable device comprising a motor and a motion detection sensor, the wearable device further comprising:

[0028] Memory for storing executable computer instructions;

[0029] A processor is used to execute the control method according to the first aspect above under the control of the executable computer instructions.

[0030] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in the first aspect is executed.

[0031] One beneficial effect of the embodiments of the present disclosure is that the wearable device can respond to a set trigger event, input drive signals corresponding to each drive frequency within a preset drive frequency range to the motor in sequence, and obtain the vibration amount of the motor based on each drive signal, and then determine the target drive frequency corresponding to the target vibration amount from the preset drive frequency range according to the vibration amount of the motor based on each drive signal, thereby realizing the calibration of the maximum drive frequency corresponding to the maximum vibration amount of the wearable device, that is, by utilizing the motion detection sensor in the wearable device, the maximum vibration amount is obtained without increasing the cost.

[0032] Other features and advantages of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the specification.

[0034] Figure 1 is a schematic diagram of the hardware configuration of a wearable device according to an embodiment of the present disclosure;

[0035] Figure 2 is a flow chart of a control method of a wearable device according to an embodiment of the present disclosure;

[0036] Figure 3 is a schematic diagram of a sampling process of a wearable device according to an embodiment of the present disclosure;

[0037] Figure 4 is a principle block diagram of a control device for a wearable device according to an embodiment of the present disclosure;

[0038] Figure 5 4 is a schematic block diagram of a wearable device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0039] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of 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.

[0040] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0041] The technologies, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, the technologies, methods and equipment should be considered as part of the specification.

[0042] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0043] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0044] <Hardware Configuration>

[0045] Figure 1 is a block diagram of a hardware configuration of a wearable device 1000 according to an embodiment of the present disclosure.

[0046] like Figure 1 As shown, the wearable device 1000 may be, for example, a head mounted display, a smart watch, a smart bracelet, etc., which is not limited in the embodiments of the present disclosure.

[0047] In one embodiment, Figure 1 As shown, the wearable device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a microphone 1700, a motion detection sensor 1800, a motor 1900, and the like.

[0048] Among them, 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, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 includes, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1400 is capable of wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, an LED display, a touch display, etc. The input device 1600 includes, for example, a touch screen, a keyboard, a handle, etc. The microphone 1700 can be used to input voice information. The motion detection sensor 1800 can be used to detect the motion of the wearer of the wearable device 1000. The motor 1900 is used to convert electrical energy into mechanical energy to generate a driving torque, thereby providing a power source for the wearable device.

[0049] It should be understood by those skilled in the art that although Figure 1 , multiple devices of the wearable device 1000 are shown, but the wearable device 1000 of the embodiment of this specification may only involve some of the devices, or may also include other devices, which is not limited here.

[0050] In this embodiment, the memory 1200 of the wearable device 1000 is used to store instructions, which are used to control the processor 1100 to operate to implement or support the implementation of the control method of the wearable device according to any embodiment. The technician can design instructions according to the scheme disclosed in this specification. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0051] In the above description, the technician can design instructions according to the solution provided by the present disclosure. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0052] Figure 1 The wearable device shown is illustrative only and is in no way intended to limit the disclosure, its application, or uses.

[0053] <Method Example>

[0054] Figure 2 A control method for a wearable device according to an embodiment of the present disclosure is shown. The control method for the wearable device can be, for example, Figure 1 The wearable device 1000 shown is implemented, and the wearable device 1000 can be a head-mounted display, a smart watch, a smart bracelet, etc.

[0055] like Figure 2 As shown, the control method of the wearable device provided in this embodiment may include the following steps S2100 to S2300.

[0056] Step S2100, in response to a set trigger event, sequentially inputting a driving signal corresponding to each driving frequency within a preset driving frequency range to the motor.

[0057] The set trigger event includes any one or both of when the wearable device is turned on and when a calibration function of the wearable device is in an on state.

[0058] In this embodiment, a set trigger event is pre-set in the controller of the wearable device, and the set trigger event includes when the wearable device is turned on and / or when the wearable device is in a calibration mode. When the set trigger event occurs, the controller of the wearable device can input a driving signal corresponding to each driving frequency within a preset driving frequency range to the motor in sequence, so that the motor generates vibration based on each driving signal.

[0059] It is understandable that after the user purchases a protective case, the maximum driving frequency of the wearable device changes, and the maximum driving frequency needs to be recalibrated. When the wearable device is in calibration mode, the wearable device can calibrate the maximum driving frequency.

[0060] The preset driving frequency range may be fL to fH, where fL is the minimum frequency within the preset driving frequency range and fH is the maximum frequency within the preset driving frequency range. Typically, the preset driving frequency range may be set between 10 Hz and 10,000 Hz, and 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 can be detected.

[0061] It can be understood that for a typical linear motor, the maximum driving frequency corresponding to the maximum vibration amount of the motor is usually 200HZ. Here, the controller of the wearable device can provide driving signals corresponding to driving frequencies of 100HZ, 101HZ, 102HZ...300HZ in sequence.

[0062] For example, for a wearable device equipped with a typical linear motor, when the wearable device is turned on or enters a calibration mode, the controller of the wearable device sends a driving signal to drive the motor to vibrate. Specifically, the controller of the wearable device can output a driving signal of 100 Hz, a driving signal of 101 Hz, a driving signal of 102 Hz... and a driving signal of 300 Hz in sequence.

[0063] In response to the set trigger event, after the drive signal corresponding to each drive frequency within the preset drive frequency range is input to the motor in sequence, the following steps are performed:

[0064] Step 1200: Obtain the vibration amount of the motor based on each of the driving signals collected by the motion detection sensor.

[0065] The wearable device is provided with a motion detection sensor, which may be a sensor provided in the wearable device and used to detect the motion state of the wearer of the wearable device. The motion detection sensor may include an accelerometer and a gyroscope.

[0066] In this embodiment, the controller of the wearable device sequentially inputs driving signals corresponding to each driving frequency within a preset driving frequency range to the motor, and the motor can vibrate based on each driving signal. Here, the vibration amount of the motor based on the driving signal corresponding to each driving frequency can be collected by the motion detection sensor.

[0067] In this embodiment, since there are many types of motion detection sensors installed in the wearable device and the bandwidth of the motion detection sensor is usually set relatively low and cannot collect the vibration amount of a higher vibration frequency, it is necessary to adjust the sampling frequency of the motion detection sensor so that the motion detection sensor can collect the vibration amount of the motor based on the driving signal corresponding to each driving frequency based on the adjusted sampling frequency.

[0068] In this embodiment, obtaining the vibration amount of the motor based on each driving signal collected by the motion detection sensor in step 1200 may further include: determining the sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set ratio and each driving frequency; obtaining the vibration amount of the motor based on each corresponding driving signal collected by the motion detection sensor based on the set sampling times and each sampling frequency.

[0069] The sampling frequency is the frequency at which the motion detection sensor collects the vibration of the motor. The sampling frequency may be a value set in combination with the sampling accuracy of the motion detection sensor. If the sampling frequency is set too high or too low, the sampling accuracy of the motion detection sensor will be low.

[0070] The above setting ratio is, for example, one-quarter, and the above setting sampling times is five. Experiments show that when the setting ratio is one-quarter and the setting sampling times is five, the sampling accuracy of the motion detection sensor is the highest.

[0071] For example, if the driving frequency f0 is equal to 200 Hz, which is one of the driving frequencies within the above preset driving frequency range, in order to realize the collection of vibration, the sampling frequency of the motion detection sensor needs to be set to one quarter of the driving frequency f0, that is, 50 Hz. It can also be understood that the motion detection sensor collects the vibration amount of the motor under the driving signal of the driving frequency of 200 Hz every 20 milliseconds. Specifically, Figure 3 As shown, when the motion detection sensor starts to collect, the time interval between the first collection point F1 and the second collection point F2 is 20ms. In order to achieve more accurate collection accuracy, the sample collection under the vibration frequency f0 equal to 200HZ can be repeated 5 times, that is, 100ms. Since this time is very short for the wearer, it will not cause the problem of long waiting time. The specific sampling process can be: F1, F2, F3, F4, F5, remove the first value F1 and the last value F5, keep the three values ​​F2, F3, F4 in the middle, and calculate the average value of F2, F3, F4 as the vibration amount of the driving signal with a driving frequency f0 equal to 200HZ.

[0072] After obtaining the vibration amount of the motor based on the driving signal corresponding to each driving frequency collected by the motion detection sensor, proceed to:

[0073] Step 1300 , determining a target driving frequency corresponding to a target vibration amount from within the preset driving frequency range according to the vibration amount of the motor generated based on each of the driving signals.

[0074] The target vibration amount is the maximum vibration amount, and correspondingly, the target driving frequency is the maximum driving frequency.

[0075] In this embodiment, after determining a target driving frequency corresponding to the target vibration amount from a preset driving frequency range according to the vibration amount of the motor based on each driving signal, the target driving frequency can be written into the controller.

[0076] According to an embodiment of the present disclosure, the wearable device can respond to a set trigger event, input drive signals corresponding to each drive frequency within a preset drive frequency range to the motor in sequence, and obtain the vibration amount of the motor based on each drive signal, and then determine the target drive frequency corresponding to the target vibration amount from the preset drive frequency range according to the vibration amount of the motor based on each drive signal, thereby realizing the calibration of the maximum drive frequency corresponding to the maximum vibration amount of the wearable device, that is, by utilizing the motion detection sensor in the wearable device, the maximum vibration amount can be obtained without increasing the cost.

[0077] In one embodiment, the control method of the wearable device of the embodiment of the present disclosure may further include steps S3100 to S3300:

[0078] Step S3100, providing a configuration interface for configuring the wearable device to enter the calibration mode.

[0079] The configuration interface may be a calibration control.

[0080] It is understandable that after the user purchases a protective case, the maximum driving frequency of the wearable device changes, and the maximum driving frequency needs to be recalibrated. At this time, the user can configure through the configuration interface to make the wearable device enter the calibration mode, and calibrate the maximum driving frequency of the wearable device when the wearable device is in the calibration mode.

[0081] Step S3200: receiving a first input for the configuration interface.

[0082] The first input may be: a click input of the user on the configuration interface, or a voice command input by the user, or a specific gesture input by the user. The specific input may be determined according to actual usage requirements, and the embodiment of the present application does not limit this.

[0083] Continuing with the above example, when the display screen of the wearable device displays the calibration controls, a "Yes" button and a "No" button will be provided. When the wearer needs to calibrate the maximum driving frequency, the wearer can click the "Yes" button, and when the wearer does not need to calibrate the maximum driving frequency, the wearer can click the "No" button.

[0084] Step S3300: In response to the first input, control the wearable device to enter the calibration mode.

[0085] Continuing with the above example, when the wearer clicks the "Yes" button, the controller of the wearable device can control the wearable device to enter the calibration mode, here, the controller of the wearable device can input a driving signal corresponding to each driving frequency within the preset driving frequency range to the motor, and obtain the vibration amount of the motor based on the driving signal corresponding to each driving frequency collected by the motion detection sensor, and then determine the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor based on each driving signal.

[0086] According to this embodiment, it is not only possible to adjust the maximum driving frequency of the wearable device when the wearable device is assembled at the factory, but also can be used when the user changes the usage scenario, further improving the user experience.

[0087] In one embodiment, when a motor of a wearable device fails, for example, the motor glue falls off, causing the motor to be unable to be fixed; another example is that the motor wiring is broken and the motor does not vibrate; another example is that a foreign object enters the motor and jams the vibrator, etc., the maximum vibration amount cannot be obtained during motor calibration. The wearable device can intercept such defects when it is in the factory stage. If the wearable device is in the user's hand, the display of the wearable device can output a prompt message to prompt the user to send the device for inspection and repair.

[0088] Next, an example of a control method for a wearable device is shown. In this example, the control method for the wearable device includes the following steps:

[0089] Step 401, providing a configuration interface for configuring the wearable device to enter a calibration mode.

[0090] Step 402: Receive a first input for configuring an interface.

[0091] Step 403: In response to the first input, control the wearable device to enter a calibration mode.

[0092] Step 404: When the wearable device is in a calibration mode, a driving signal corresponding to each driving frequency within a preset driving frequency range is sequentially input to the linear motor.

[0093] Step 405 , determining a sampling frequency of the motion detection sensor corresponding to each driving frequency according to the set ratio and each driving frequency.

[0094] Step 406 , obtaining the vibration amount of the motor generated based on each corresponding driving signal, which is collected by the motion detection sensor based on the set sampling times and each sampling frequency.

[0095] Step 407 , according to the vibration amount of the motor generated based on each driving signal, determine a maximum driving frequency corresponding to the maximum vibration amount from within a preset driving frequency range.

[0096] Step 408, writing the maximum driving frequency.

[0097] <Device Example>

[0098] Figure 4 FIG. 1 is a schematic diagram of a control device for a wearable device according to an embodiment. Figure 4 As shown, the control device 400 of the wearable device includes an input module 410 , an acquisition module 420 , and a determination module 430 .

[0099] The input module 410 is used to sequentially input a driving signal corresponding to each driving frequency within a preset driving frequency range to the motor in response to a set trigger event.

[0100] The acquisition module 420 is used to acquire the vibration amount of the motor generated based on each of the driving signals collected by the motion detection sensor.

[0101] The determination module 430 is used to determine a target driving frequency corresponding to a target vibration amount from within the preset driving frequency range according to the vibration amount of the motor generated based on each of the driving signals.

[0102] In one embodiment, 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.

[0103] In one embodiment, the device further comprises a calibration module (not shown in the figure).

[0104] The calibration module is specifically used to: provide a configuration interface for configuring the wearable device to enter the calibration mode; receive a first input for the configuration interface; and control the wearable device to enter the calibration mode in response to the first input.

[0105] In one embodiment, the acquisition module 420 is specifically used to: determine the sampling frequency of the motion detection sensor corresponding to each of the driving frequencies according to a set ratio and each of the driving frequencies; obtain the vibration amount of the motor based on each corresponding driving signal collected by the motion detection sensor based on the set sampling times and each of the sampling frequencies.

[0106] In one embodiment, the set ratio is one quarter, and the set sampling times is five times.

[0107] According to an embodiment of the present disclosure, the wearable device can respond to a set trigger event, input drive signals corresponding to each drive frequency within a preset drive frequency range to the motor in sequence, and obtain the vibration amount of the motor based on each drive signal, and then determine the target drive frequency corresponding to the target vibration amount from the preset drive frequency range according to the vibration amount of the motor based on each drive signal, thereby realizing the calibration of the maximum drive frequency corresponding to the maximum vibration amount of the wearable device, that is, by utilizing the motion detection sensor in the wearable device, the maximum vibration amount can be obtained without increasing the cost.

[0108] <Equipment Embodiment>

[0109] Figure 5 FIG. 1 is a schematic diagram of the hardware structure of a wearable device according to an embodiment. Figure 5 As shown, the wearable device 500 includes a motor 510 and a motion detection sensor 520 , and the wearable device 500 also includes a processor 530 and a memory 540 .

[0110] The memory 540 may be used to store executable computer instructions.

[0111] The processor 530 can be used to execute the control method of the wearable device according to the method embodiment of the present disclosure under the control of the executable computer instructions.

[0112] The wearable device 500 may be Figure 1 The wearable device 500 shown may also be a device with other hardware structures, which is not limited here. The wearable device 500 may be, for example, a head mounted display, a smart watch, a smart bracelet, etc., which is not limited in the embodiments of the present disclosure.

[0113] In another embodiment, the wearable device 500 may include the control device 400 of the above wearable device.

[0114] In one embodiment, each module of the above wearable device control device 400 can be implemented by the processor 530 running the computer instructions stored in the memory 540.

[0115] According to an embodiment of the present disclosure, the wearable device can respond to a set trigger event, input drive signals corresponding to each drive frequency within a preset drive frequency range to the motor in sequence, and obtain the vibration amount of the motor based on each drive signal, and then determine the target drive frequency corresponding to the target vibration amount from the preset drive frequency range according to the vibration amount of the motor based on each drive signal, thereby realizing the calibration of the maximum drive frequency corresponding to the maximum vibration amount of the wearable device, that is, by utilizing the motion detection sensor in the wearable device, the maximum vibration amount can be obtained without increasing the cost.

[0116] <Computer Readable Storage Medium>

[0117] The embodiment of the present disclosure further provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the control method of the wearable device provided by the embodiment of the present disclosure is executed.

[0118] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0119] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical 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 of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, 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 disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0120] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0121] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0122] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0123] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0124] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0125] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0126] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons 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

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. The method according to claim 1, 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. 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. 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. The device according to claim 4, 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. The device according to claim 5, characterized in that The device also includes a calibration module, which is used to: 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. A wearable device, characterized in that: Including a motor and a motion detection sensor, the wearable device also includes: Memory for storing executable computer instructions; 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. 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.

Citation Information

Patent Citations

  • Synchronous undersampling for high-frequency voltage and current measurements

    CN101176184A

  • Motor control method, apparatus, electronic device, and storage medium

    CN109274309A

  • Method for collecting feedback signal of MEMS galvanometer, method for driving MEMS galvanometer, and driving system of MEMS galvanometer

    CN110794573A