Wearable device and signal acquisition method thereof

文档序号:326245 发布日期:2021-11-30 浏览:7次 中文

阅读说明:本技术 一种可穿戴设备及其信号采集方法 (Wearable device and signal acquisition method thereof ) 是由 陈相金 于 2021-07-21 设计创作,主要内容包括:本申请公开了一种可穿戴设备及其信号采集方法。本申请的信号采集方法包括:在可穿戴设备佩戴在人体上进行人体信号采集之前,启用所述信号发生电路生成同步信号;通过所述电极将所述同步信号发射到人体表面;在发射所述同步信号之后,根据可穿戴设备的时钟为可穿戴设备采集的人体信号生成相应的时间戳信息。本申请的技术方案基于同步信号可以校准时间戳信息,使得上层应用可以基于校准后的时间戳信息实现不同可穿戴设备的人体信号的精准对齐。(The application discloses a wearable device and a signal acquisition method thereof. The signal acquisition method comprises the following steps: before the wearable device is worn on a human body to acquire human body signals, enabling the signal generation circuit to generate synchronous signals; transmitting the synchronization signal to a surface of the human body through the electrode; and after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal acquired by the wearable device according to the clock of the wearable device. The technical scheme of this application can calibrate timestamp information based on synchronizing signal for upper application can realize the accurate alignment of different wearable equipment's human body signal based on timestamp information after the calibration.)

1. A method of signal acquisition of a wearable device, the wearable device comprising at least one set of electrodes, wherein one set of electrodes is configured with a signal generating circuit, the method comprising:

before the wearable device is worn on a human body to acquire human body signals, enabling the signal generation circuit to generate synchronous signals;

transmitting the synchronization signal to a surface of the human body through the electrode;

and after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal acquired by the wearable device according to the clock of the wearable device.

2. The method of claim 1, wherein the signal generating circuit is configured for one of the sets of electrodes of the wearable device by:

configuring the signal generation circuit includes: the pulse source, the first signal conversion part connected with the pulse source, the resistance matrix connected with the first signal conversion part, and the resistance matrix is configured to be controllably connected with the electrode;

the pulse source is configured to generate direct current pulses, the first signal conversion part is configured to convert the direct current pulse signals into differential signals, and the resistance matrix is configured to adjust the current output intensity of the differential signals based on the wearing position of the wearable device to obtain synchronous signals.

3. The method of claim 2, wherein configuring the resistive matrix to controllably connect the electrodes comprises:

and configuring a gating switch for the electrode, realizing the connection and disconnection between the electrode and the signal generating circuit by using the gating switch, and realizing the connection and disconnection between the electrode and the human body signal acquisition circuit by using the gating switch.

4. The method of claim 3, wherein enabling the signal generation circuit to generate a synchronization signal comprises:

broadcasting, by a wireless transmission module of a wearable device, a timestamp calibration notification;

enabling the signal generation circuit to generate a synchronization signal according to the received acknowledgement reply; the confirmation reply is sent by the other wearable device that received the timestamp calibration notification.

5. The method of claim 1, further comprising, after transmitting the synchronization signal through the electrode to the surface of the human body:

acquiring the transmitting time of the synchronous signal;

broadcasting the transmission time through a wireless transmission module of the wearable device;

and after broadcasting the transmission time, acquiring human body signals by utilizing all electrodes of the wearable device.

6. A method of signal acquisition of a wearable device, the wearable device comprising at least one set of electrodes, wherein one set of electrodes is configured with a signal receiving circuit, the method comprising:

before wearable equipment is worn on a human body to acquire human body signals, detecting human body surface signals by using the electrodes;

enabling the signal receiving circuit to carry out synchronous signal confirmation on the detected human body surface signal;

when the synchronization signal is determined, determining the time delay of the wearable device according to the synchronization signal;

and calibrating timestamp information according to the time delay, wherein the timestamp information refers to the signal acquisition starting time of the human body signal acquired by the wearable equipment.

7. The method of claim 6, wherein the signal transmitting circuit is configured for at least one set of electrodes of the wearable device by:

configuring the signal receiving circuit includes: a second signal conversion section controllably connected to the electrode, a signal amplification section connected to the second signal conversion section, and a processor connected to the signal amplification section;

the second signal conversion part is configured to convert the human body surface signal detected by the electrode into a direct current signal, the signal amplification part is configured to amplify the direct current signal to obtain a direct current pulse signal, and the processor is configured to determine whether the detected human body surface signal is a synchronous signal based on the direct current pulse signal; wherein the controllable connection of the electrode to the signal receiving circuit is configured by the following steps:

and configuring a gating switch for the electrode, realizing the connection and disconnection between the electrode and the signal receiving circuit by using the gating switch, and realizing the connection and disconnection between the electrode and the human body signal acquisition circuit by using the gating switch.

8. The method of claim 6, prior to enabling the signal receiving circuit, further comprising:

receiving, by a wireless transmission module of a wearable device, a timestamp calibration notification;

in response to the timestamp calibration notification, the signal reception circuitry is enabled and synchronization signal confirmation events are adjusted to the highest priority events of the wearable device and other threads and interrupt processing are masked.

9. The method of claim 6, wherein determining a time delay of the wearable device from the synchronization signal comprises:

acquiring the detection time of the wearable equipment to the synchronous signal, and receiving the emission time of the synchronous signal through a wireless transmission module of the wearable equipment; obtaining the time delay of the wearable equipment according to the difference value between the detection time and the emission time;

calibrating timestamp information according to the time delay, comprising: and calibrating the timestamp information by using the difference between the signal acquisition starting time and the time delay.

10. A wearable device, comprising:

at least one set of electrodes;

a signal generating circuit and/or a signal transmitting circuit corresponding to one group of electrodes;

a processor; and

a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any of claims 1 to 5 or to perform the method of any of claims 6 to 9.

Technical Field

The application relates to the technical field of wearable equipment, in particular to wearable equipment and a signal acquisition method thereof.

Background

With the development of the mobile internet technology, a large number of technologies for monitoring human bodies by using the mobile internet technology appear, and a physical state evaluation service is provided for users. When the signal collector is used for body state evaluation, most of the signal collectors detect human body signals of a single part, so in practical application, the signal collectors are mostly used for collecting human body signals of all parts. For example, the forearm signals collected by the collector for collecting forearm EMG (electromyography) signals include motion information including hand and wrist but not forearm motion information, the signals collected by the collector for collecting upper arm EMG signals include motion information of forearm and elbow but not upper arm motion information, when the forearm and the hand are moving simultaneously, the two types of collectors are required to simultaneously collect signals for evaluation, and the signals used for evaluation need to strictly align time stamps to analyze the relevance of the motion.

In the related art, each electrode is connected to a central acquisition node by using a long lead, but the electrode wires are too long, which causes environmental interference factors, such as power frequency interference, and the harness is too long, which makes the wearing and operation of the system rather inconvenient.

With the development of wearable technology, the situation that a wireless acquisition node is used for replacing a long wire to connect with a central acquisition node occurs, the wireless acquisition node solves the constraint problem of wiring harnesses, but the timestamp information of different wireless acquisition nodes cannot be completely synchronous, and the aerial calibration clock cannot achieve millisecond or even microsecond precision; after the service layer acquires the human body signals of each wireless acquisition node, the accurate alignment of the human body signals among the wireless acquisition nodes on time cannot be achieved due to different reference clocks, so that the relevance among the human body signals of all parts cannot be accurately described.

Disclosure of Invention

The purpose of this application aims at solving at least one of above-mentioned technical defect, proposes following technical scheme in particular, through the transient nature of human surface transmission synchronizing signal for can realize the accurate synchronization of clock between the wearable equipment based on this synchronizing signal.

The embodiment of the application adopts the following technical scheme:

in one aspect of the embodiments of the present application, a signal acquisition method for a wearable device is provided, where the wearable device includes at least one set of electrodes, and the set of electrodes is configured with a signal generation circuit, and the method includes: before the wearable device is worn on a human body to acquire human body signals, enabling the signal generation circuit to generate synchronous signals; transmitting the synchronization signal to a surface of the human body through the electrode; and after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal acquired by the wearable device according to the clock of the wearable device.

In another aspect of the embodiments of the present application, there is also provided a signal acquisition method for a wearable device, where the wearable device includes at least one set of electrodes, and the set of electrodes is configured with a signal receiving circuit, the method includes: before wearable equipment is worn on a human body to acquire human body signals, detecting human body surface signals by using the electrodes; enabling the signal receiving circuit to carry out synchronous signal confirmation on the detected human body surface signal; when the synchronization signal is determined, determining the time delay of the wearable device according to the synchronization signal; and calibrating timestamp information according to the time delay, wherein the timestamp information refers to the signal acquisition starting time of the human body signal acquired by the wearable equipment.

In another aspect of the embodiments of the present application, there is also provided a wearable device, including: at least one set of electrodes; a signal generating circuit and/or a signal transmitting circuit corresponding to one group of electrodes; a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the above described signal acquisition method.

The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:

the method comprises the steps that a signal generating circuit is configured for a group of electrodes of wearable equipment in advance, before the wearable equipment collects human body signals, synchronous signals are generated based on the signal generating circuit, the synchronous signals are transmitted to the surface of a human body through the electrodes of the wearable equipment, the transmission delay of the surface of the human body to the synchronous signals can be ignored, so that other wearable equipment can determine the time delay of other wearable equipment relative to main equipment based on the detection time of the synchronous signals, the time delay is utilized to calibrate the timestamp information of the human body signals collected by other wearable equipment, the human body signals collected by different wearable equipment have the same signal collection starting time, and therefore upper-layer application can accurately align the human body signals collected by different wearable equipment based on the calibrated timestamp information.

Drawings

The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:

FIG. 1 is a schematic diagram of human signal delay at two acquisition positions in the prior art;

fig. 2 is a schematic diagram illustrating a difference in detection time of a synchronization signal between two wearable devices at different wearing positions in an embodiment of the present application;

fig. 3 is a schematic diagram of human body signal time synchronization of two acquisition portions after clock calibration in the embodiment of the present application;

fig. 4 is a flowchart of a signal acquisition method of a wearable device shown in an embodiment of the present application;

fig. 5 is a schematic diagram of clock synchronization between wearable devices shown in the embodiment of the present application;

fig. 6 is a flowchart of a signal acquisition method of another wearable device shown in the embodiment of the present application;

fig. 7 is a schematic structural diagram of a wearable device shown in an embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

When the inventor of the application utilizes a plurality of mutually independent wearable devices to collect human body signals of different parts of a human body in research and practice, because clocks of different wearable devices cannot be completely synchronized, and the precision of millisecond or microsecond level cannot be achieved by an air calibration clock, the human body signals of all wearable devices cannot be accurately aligned when the upper layer is applied to the human body signals collected by all wearable devices, and the human body state/behavior evaluation is influenced.

Taking the example of monitoring a table tennis swing scenario, in which wearable devices need to be worn at both the forearm and upper arm locations, for example EMG measurement devices, to monitor the movements of the hand and forearm portions simultaneously.

When the upper-layer application receives the human body signals uploaded by the two wearable devices, the two wearable devices do not have reference timestamps, and time domain signals can only be drawn based on the timestamps generated by the clocks of the two wearable devices, as shown in fig. 1, the signals of the node a and the node B have obvious time delay, and the correlation between the two action signals cannot be accurately distinguished in the time domain. Here, node a corresponds to a wearable device worn at the forearm, and node B corresponds to a wearable device worn at the upper arm.

In view of the above problems, the inventors of the present application thought: multiplexing a group of electrodes of the wearable device, and determining the time difference of the wearable device wearing each part and listening to the same synchronous signal as the time delay difference of the wearable device processing the signal by utilizing the objective fact that the human body is a conductor and the transmission delay of the electric signal on the surface of the human body can be considered as zero. From this, calibrate signal acquisition initial time based on time delay for different wearable equipment have the same signal acquisition inspiring time to the different human body signals that same human body action was gathered, and upper application can carry out accurate alignment based on the timestamp information after the calibration with the human body signal of different wearable equipment collections like this.

Still taking the above-mentioned scenario of monitoring the table tennis swing motion as an example, suppose that node a detects the synchronization signal at time Ta, and node B detects the synchronization signal at time Tb, since the synchronization signal is emitted to the human body surface at time T0, and the transmission delay of the synchronization signal on the human body surface is close to zero, which can be ignored. If the time point Ta is taken as the time origin of the human body signal collected by the node a, and the time point Tb is taken as the time origin of the human body signal collected by the node B, a time axis shown in fig. 3 is formed, the human body signals collected by the two nodes are drawn by the time axis shown in fig. 3, and the same action information of different nodes can be perfectly aligned in the time domain.

The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

In this embodiment, the wearable device at least comprises a group of electrodes, wherein the group of electrodes is configured with a signal generation circuit.

As shown in fig. 4, a flowchart of a signal acquisition method of a wearable device in the embodiment of the present application is provided, where the method at least includes the following steps S410 to S430:

step S410, before the wearable device is worn on a human body to acquire human body signals, the signal generating circuit is started to generate synchronous signals.

The synchronization signal of the present embodiment is used to synchronize the signal acquisition start times of different human body signals, and the different human body signals are understood as signals acquired by different wearable devices for the same human body action.

When a plurality of mutually independent wearable devices are used for collecting human body signals of different parts of a human body, one wearable device needs to be obtained from the plurality of wearable devices as a main device, the main device is used for transmitting synchronous signals, other wearable devices are used as slave devices for receiving the synchronous signals, and timestamp information is calibrated based on the synchronous signals. The wearable device in this embodiment is a master device among a plurality of wearable devices.

In practical application, a master device selection instruction may be issued to the wearable devices by the upper layer application, and based on the master device selection instruction, one wearable device may be selected from the plurality of wearable devices as a master device, and the other wearable devices may be selected as slave devices. Of course, the master device selection command may also be generated manually from the input information provided by the upper layer application.

Here, as long as the electrode of the wearable device is configured with the signal generating circuit, the electrode can be used as a main device to transmit the synchronization signal, in practical applications, the main device can be selected based on a wearing part of the wearable device, for example, the wearable device residing in a middle part of a human body is preferably determined as the main device, and how to select the main device specifically, a person skilled in the art can flexibly set the main device according to actual situations, and the method is not limited specifically herein.

Step S420, transmitting the synchronization signal to the human body surface through the electrode.

Step S430, after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal collected by the wearable device according to the clock of the wearable device

After the electrodes finish transmitting the synchronization signals, the wearable device of the embodiment can acquire the human body signals, for example, all the electrodes of the wearable device are used for acquiring the human body signals, and timestamp information is generated for the acquired human body signals based on a clock of the wearable device, where the timestamp information generally includes signal acquisition start time and signal duration.

In the signal acquisition method shown in fig. 4, a signal generation circuit is configured for a group of electrodes of a wearable device in advance, before the wearable device acquires a human body signal, a synchronization signal is generated based on the signal generation circuit, and the synchronization signal is transmitted to the surface of the human body through the electrodes of the wearable device, because transmission delay of the surface of the human body to the synchronization signal can be ignored, other wearable devices can determine time delay of other wearable devices relative to a main device based on detection time of the synchronization signal, time delay is used for calibrating timestamp information of the human body signal acquired by other wearable devices, so that the human body signals acquired by different wearable devices have the same signal acquisition start time, and thus, an upper layer application can accurately align the human body signals acquired by different wearable devices based on the calibrated timestamp information.

The embodiment of the application can multiplex an original group of electrodes of wearable equipment, and based on the principle that a human body can be used as a conductor to propagate a weak signal, only a signal generating circuit needs to be additionally configured for the group of electrodes in the wearable equipment, and a foundation is provided for other wearable equipment to carry out timestamp calibration based on a synchronizing signal by means of generation and emission of the synchronizing signal by means of the signal generating circuit, the electrodes and the human body.

In one embodiment of the present application, the signal generating circuit may be configured for one of the sets of electrodes of the wearable device by: the configuration signal generating circuit includes: the pulse source, the first signal conversion part connected with the pulse source, the resistance matrix connected with the first signal conversion part, and the electrodes controllably connected with the resistance matrix; the wearable device comprises a pulse source, a first signal conversion part, a resistance matrix and a second signal conversion part, wherein the pulse source is configured to generate direct current pulses, the first signal conversion part is configured to convert direct current pulse signals into differential signals, and the resistance matrix is configured to adjust the current output intensity of the differential signals based on the wearing position of the wearable device to obtain synchronous signals.

The pulse source in the embodiment of the present application may be a clock source of the wearable device or a processor of the wearable device. The signal generation circuit in the embodiment of the application reuses a clock source of the wearable device or GPIO of the processor, and the utilization rate of original components of the wearable device is improved as much as possible.

When the resistance matrix is configured, the current output intensity adjusted by the resistance matrix is within a human body bearable range, and other wearable devices worn at different parts can detect signals.

For example, wearable equipment worn at the left-hand position is used as master equipment to transmit a synchronization signal, and wearable equipment worn at different positions such as the head, the footsteps and the right hand is used as slave equipment.

When the resistance matrix is configured to controllably connect the electrodes, the embodiments of the present application specifically refer to: and configuring a gating switch for the electrode, realizing the connection and disconnection between the electrode and the signal generating circuit by using the gating switch, and realizing the connection and disconnection between the electrode and the human body signal acquisition circuit by using the gating switch.

Correspondingly, the working mode of the wearable device is configured according to the connection relationship between the electrode and the signal generating circuit and the human body signal collecting circuit, and comprises the following steps: the electrode is connected with the signal generating circuit in a synchronous signal transmitting mode, and the human body signal collecting mode is connected with the electrode and the human body signal collecting circuit in a human body signal collecting mode.

When the gating switch is used for realizing the controllable connection of the electrode and the signal generating circuit, the gating switch can be automatically triggered based on a control instruction, so that the electrode is connected with the signal generating circuit. When the electrode is connected with the signal generating circuit, the electrode is disconnected with the human body signal acquisition circuit, and the wearable equipment is switched to a synchronous signal transmitting mode from a human body signal acquisition mode. Of course, the gating switch may also be triggered manually, and the triggering mode of the gating switch may be flexibly set according to the actual situation, and is not specifically limited herein.

In one embodiment of the present application, the enable signal generation circuit generating the synchronization signal includes: broadcasting, by a wireless transmission module of a wearable device, a timestamp calibration notification to other wearable devices; and switching the wearable equipment from a human body signal acquisition mode to a synchronous signal emission mode according to the received confirmation reply, and enabling the signal generation circuit to generate a synchronous signal at the moment.

In practical application, when each wearable device is started, each wearable device may be assigned to one broadcast group, so that the wearable device serving as the master device may broadcast the timestamp calibration notification in a BLE manner, referring to fig. 5, other wearable devices in the broadcast group where the master device is located receive the timestamp calibration notification as slave devices, feed back confirmation information to the master device, and notify the master device of the timestamp calibration notification that each slave device has received through the confirmation information; after the master device determines that all slave devices have received the timestamp calibration notification, the master device enters a synchronization signal transmission mode, and the enable signal generation circuit generates a synchronization signal.

According to the embodiment of the application, the master device is used for broadcasting the timestamp calibration notice, so that each slave device can timely enter a synchronous signal detection mode, and the slave device can successfully detect the synchronous signal.

In one embodiment of the present application, after the master device transmits the synchronization signal to the surface of the human body through the electrode, the method further includes: acquiring the emission time of the synchronization signal, broadcasting the emission time to other wearable devices through a wireless transmission module of the wearable devices, and collecting human body signals by using all electrodes of the wearable devices after broadcasting the emission time.

In this embodiment, after the transmission of the synchronization signal is completed, the master device may obtain the transmission time of the synchronization signal, and at this time, the master device broadcasts the transmission time to each slave device, so that each slave device may calibrate its own timestamp information based on the transmission time of the synchronization signal.

After synchronous signal transmission is completed, the working mode of the main equipment can be switched to a human body signal acquisition mode, all available electrodes of the main equipment are utilized to acquire human body signals, timestamp information is generated for the human body signals based on the clock signals of the main equipment, and the human body signals carrying the timestamp information are uploaded.

An embodiment of the present application further provides a signal acquisition method for a wearable device, where the wearable device includes at least one set of electrodes, where one set of electrodes is configured with a signal receiving circuit, and in this embodiment, the wearable device is a slave device.

As shown in fig. 6, a flowchart of a signal acquisition method of a wearable device in the embodiment of the present application is provided, where the method at least includes the following steps S610 to S640:

step S610, before the wearable device is worn on a human body to acquire a human body signal, detecting a human body surface signal by using the electrode.

Before signal acquisition is carried out on wearable equipment serving as slave equipment, timestamp information of the slave equipment needs to be calibrated, specifically, signal acquisition starting time of the slave equipment is calibrated, so that different human body signals acquired by the same human body action by each slave equipment and the master equipment have the same-moment signal acquisition starting time.

Step S620, starting the signal receiving circuit to perform synchronous signal confirmation on the detected human body surface signal.

Since the electrode of the wearable device can detect various human body surface signals and can also detect interference signals, the embodiment of the present application needs to confirm the human body surface information detected by the electrode, for example, confirm whether the detected human body surface signal is a synchronization signal based on characteristics such as signal frequency.

And step S630, when the synchronization signal is determined, determining the time delay of the wearable device according to the synchronization signal.

As described above, when the detected human body surface signal is determined to be the synchronization signal according to the characteristics such as the signal frequency, the time delay of the slave device may be determined according to the detection time of the slave device to the synchronization signal and the transmission time of the master device to the synchronization signal.

And step S640, calibrating timestamp information according to the time delay, wherein the timestamp information refers to the signal acquisition starting time of the human body signal acquired by the wearable device.

In the signal acquisition method shown in fig. 6, a signal receiving circuit is configured for a group of electrodes of a wearable device in advance, before the wearable device acquires a human body signal, a synchronization signal is confirmed on the basis of a human body surface signal detected by the electrodes based on the signal receiving circuit, a time delay of the wearable device relative to a main device is determined based on a detection time of the synchronization signal and an emission time of the synchronization signal, and a timestamp information of the human body signal acquired by the wearable device is calibrated by using the time delay, so that the human body signals acquired by different wearable devices have the same signal acquisition start time, and thus, an upper layer application can accurately align the human body signals acquired by different wearable devices based on the calibrated timestamp information.

The embodiment of the application can multiplex an original group of electrodes of the wearable device, and based on the principle that a human body can be used as a conductor to propagate a weak signal, only a signal receiving circuit needs to be additionally configured for the group of electrodes in the wearable device, and the wearable device can be calibrated based on the timestamp by means of the signal receiving circuit, the electrodes and the human body to receive and confirm the synchronous signal.

In one embodiment of the present application, a signal receiving circuit may be configured for one set of electrodes of a wearable device by: the configuration signal receiving circuit includes: a second signal conversion section controllably connected to the electrode, a signal amplification section connected to the second signal conversion section, and a processor connected to the signal amplification section; the second signal conversion part is configured to convert the human body surface signal detected by the electrode into a direct current signal, the signal amplification part is configured to amplify the direct current signal to obtain a direct current pulse signal, and the processor is configured to determine whether the detected human body surface signal is a synchronous signal based on the direct current pulse signal.

When the configuration electrode is controllably connected with the signal receiving circuit, the embodiment of the application specifically refers to: and configuring a gating switch for the electrode, realizing the connection and disconnection between the electrode and the signal receiving circuit by using the gating switch, and realizing the connection and disconnection between the electrode and the human body signal acquisition circuit by using the gating switch.

Correspondingly, the working mode of the wearable device is configured according to the connection relationship among the electrode, the signal receiving circuit and the human body signal acquisition circuit, and comprises the following steps: a synchronous signal detection mode and a human body signal acquisition mode, wherein the synchronous signal detection mode corresponds to the connection between the electrode and the signal receiving circuit, and the human body signal acquisition mode corresponds to the connection between the electrode and the human body signal acquisition circuit.

When the gating switch is used for realizing the controllable connection of the electrode and the signal receiving circuit, the gating switch can be automatically triggered based on a control instruction, so that the electrode is connected with the signal receiving circuit. When the electrode is connected with the signal receiving circuit, the electrode is disconnected with the human body signal acquisition circuit, and the wearable equipment is switched from the human body signal acquisition mode to the synchronous signal detection mode. Of course, the gating switch may also be triggered manually, and the triggering mode of the gating switch may be flexibly set according to the actual situation, and is not specifically limited herein.

In one embodiment of the present application, before enabling the signal receiving circuit, the method further includes: receiving the timestamp calibration notification through a wireless transmission module of the wearable device, enabling a signal receiving circuit in response to the timestamp calibration notification, adjusting the synchronization signal confirmation event to be the highest priority event of the wearable device, shielding other threads and interrupt processing, and preventing measurement errors of detection time of the synchronization signal caused by the high priority event such as BLE interrupt processing.

In practical application, when each wearable device is started, each wearable device may be assigned to one broadcast group, so that the wearable device serving as the master device may broadcast the timestamp calibration notification in a BLE manner, referring to fig. 5, other wearable devices in the broadcast group where the master device is located receive the timestamp calibration notification as slave devices, adjust the synchronization signal detection mode to a highest priority event, shield other threads and interrupt processing, and feed back acknowledgement information to the master device, notify the master device that each slave device has received the timestamp calibration notification through the acknowledgement information, each slave device has switched to the synchronization signal detection mode, and prepare to detect a human body surface signal corresponding to the synchronization signal.

According to the embodiment of the application, when the detected human body surface signal is determined to be the synchronous signal, the wearable device is obtained, the detection time of the synchronous signal is obtained, the working mode of the wearable device is switched to the human body signal acquisition mode, and the human body signal is detected through all electrodes of the wearable device.

After the detected human body surface signal is confirmed to be a synchronous signal, the detection time of the wearable device to the synchronous signal is obtained, the transmitting time of the synchronous signal is received through a wireless transmission module of the wearable device, the time delay of the wearable device is obtained according to the difference value of the detection time and the transmitting time, the timestamp information is calibrated by utilizing the difference value of the signal acquisition starting time and the time delay, namely the difference value of the signal acquisition starting time and the time delay is used as the calibrated signal acquisition starting time, thus after calibration, the signal acquisition starting time of the human body signal acquired by the slave device is the same as the signal acquisition starting time of the human body signal acquired by the master device, and the time axis is conveniently constructed by taking the signal acquisition starting time in the timestamp information as the origin of signal acquisition after the upper layer is applied to the received human body signal, the upper application can accurately reproduce the action waveform of each human body signal on the same time axis for synchronous action analysis.

And finishing accurate alignment of the human body information based on the calibrated timestamp information.

An embodiment of the present application further provides a wearable device, as shown in fig. 7, in a hardware level, the wearable device includes a processor, a memory, at least one electrode, a signal generation circuit and/or a signal transmission circuit corresponding to one group of electrodes, and optionally further includes an internal bus and a network interface. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the wearable device may also include hardware required for other services, such as a wireless transmission module.

The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.

And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.

The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the signal acquisition device on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:

before the wearable device is worn on a human body to acquire human body signals, enabling the signal generation circuit to generate synchronous signals;

transmitting the synchronization signal to a surface of the human body through the electrode;

after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal acquired by the wearable device according to the clock of the wearable device;

alternatively, the first and second electrodes may be,

before wearable equipment is worn on a human body to acquire human body signals, detecting human body surface signals by using the electrodes;

enabling the signal receiving circuit to carry out synchronous signal confirmation on the detected human body surface signal;

when the synchronization signal is determined, determining the time delay of the wearable device according to the synchronization signal;

and calibrating timestamp information according to the time delay, wherein the timestamp information refers to the signal acquisition starting time of the human body signal acquired by the wearable equipment.

The signal acquisition method disclosed in the embodiment of fig. 4 or fig. 6 of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.

Embodiments of the present application further provide a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by a wearable device including a plurality of application programs, enable the electronic device to perform the signal acquisition method in the embodiment shown in fig. 4 or fig. 6, and are specifically configured to perform:

before the wearable device is worn on a human body to acquire human body signals, enabling the signal generation circuit to generate synchronous signals;

transmitting the synchronization signal to a surface of the human body through the electrode;

after the synchronous signal is transmitted, generating corresponding timestamp information for the human body signal acquired by the wearable device according to the clock of the wearable device;

alternatively, the first and second electrodes may be,

before wearable equipment is worn on a human body to acquire human body signals, detecting human body surface signals by using the electrodes;

enabling the signal receiving circuit to carry out synchronous signal confirmation on the detected human body surface signal;

when the synchronization signal is determined, determining the time delay of the wearable device according to the synchronization signal;

and calibrating timestamp information according to the time delay, wherein the timestamp information refers to the signal acquisition starting time of the human body signal acquired by the wearable equipment.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, 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 specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电子产品数据传输方法、系统、存储介质及程序产品

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!