CN114209298A - PPG sensor control method and device and electronic equipment - Google Patents

PPG sensor control method and device and electronic equipment Download PDF

Info

Publication number
CN114209298A
CN114209298A CN202111482093.2A CN202111482093A CN114209298A CN 114209298 A CN114209298 A CN 114209298A CN 202111482093 A CN202111482093 A CN 202111482093A CN 114209298 A CN114209298 A CN 114209298A
Authority
CN
China
Prior art keywords
measurement mode
ppg sensor
sampling frequency
driving current
heart rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111482093.2A
Other languages
Chinese (zh)
Inventor
陈海杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DO Technology Co ltd
Original Assignee
DO Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DO Technology Co ltd filed Critical DO Technology Co ltd
Priority to CN202111482093.2A priority Critical patent/CN114209298A/en
Publication of CN114209298A publication Critical patent/CN114209298A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • A61B5/02427Details of sensor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes

Abstract

The invention provides a PPG sensor control method, a device and electronic equipment, wherein the PPG sensor control method comprises the following steps: detecting a first user input for starting a heart rate measurement application, determining a measurement mode of the PPG sensor based on a pre-configured correspondence between the heart rate measurement application and the measurement mode, determining a sampling frequency and a driving current of the PPG sensor according to the pre-configured correspondence between the measurement mode and the sampling frequency and the driving current, and driving the PPG sensor according to the sampling frequency and the driving current. Because different heart rate measurement applications correspond to different measurement environments, the sampling frequency and the driving current of the PPG sensor are determined according to the heart rate measurement application started on the electronic equipment, so that the PPG sensor is adaptive to the actual measurement environment, the measurement precision is ensured, the energy consumption is reduced, and the balance between the measurement precision and the energy consumption is reduced.

Description

PPG sensor control method and device and electronic equipment
Technical Field
The invention belongs to the technical field of intelligent wearing, and particularly relates to a PPG sensor control method and device and electronic equipment.
Background
In existing electronic devices, physiological parameters of a user are typically detected by a PPG (photoplethysmography) sensor, for example for heart rate measurement. The PPG sensor comprises a light emitting unit and a light detecting unit, the sensing accuracy of the PPG sensor will be affected by the luminous intensity of the light emitting unit and the sampling frequency of the light detecting unit, generally, the higher the luminous intensity of the light emitting unit is, the higher the sampling frequency is, the better the received PPG signal is. However, the higher the luminous intensity and the higher the sampling frequency, the higher the power consumption of the PPG sensor. In the prior art, in order to reduce the energy consumption of the device, the light-emitting intensity and the sampling frequency of the PPG sensor are usually set to be fixed, so that the electronic device cannot obtain more accurate physiological parameters under the measurement conditions of different environments.
Disclosure of Invention
The embodiment of the invention aims to provide a PPG sensor control method, a PPG sensor control device and electronic equipment, and solves the problem that the PPG sensor in the prior art cannot balance low power consumption and high precision.
In a first aspect, an embodiment of the present application provides a PPG sensor control method, including:
detecting a first user input that launches a heart rate measurement application;
determining a measurement mode of the PPG sensor based on a corresponding relation between a pre-configured heart rate measurement application and the measurement mode, wherein the measurement mode at least comprises a low power consumption measurement mode, a static measurement mode and a motion measurement mode;
determining the sampling frequency and the driving current of the PPG sensor according to a preset corresponding relation between a measurement mode and the sampling frequency and the driving current, wherein the sampling frequency and the driving current corresponding to a static measurement mode are greater than the sampling frequency and the driving current corresponding to a low-power consumption measurement mode, and the sampling frequency and the driving current of a motion measurement mode are greater than the sampling frequency and the driving current of the static measurement mode;
the PPG sensor is driven according to the sampling frequency and the drive current.
In one possible implementation manner of the first aspect, the method further includes: in response to a second user input to end the heart rate measurement application, the measurement mode is switched to a low power consumption measurement mode.
In one possible implementation of the first aspect, determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and correspondence of measurement modes comprises: and if the measurement mode of the PPG sensor is a motion measurement mode, determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the heart rate measurement application and the pre-configured initial motion intensity and the corresponding relation between the pre-configured motion intensity and the sampling frequency and the driving current.
In one possible implementation of the first aspect, determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and correspondence of measurement modes comprises: detecting the exercise intensity in a preset time period; and determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the motion intensity and the sampling frequency and the driving current.
In one possible implementation manner of the first aspect, detecting the exercise intensity within a preset time period includes: and determining the motion intensity according to the total momentum acquired by the three-axis sensor in a preset time period.
In a second aspect, an embodiment of the present application provides a PPG sensor control device, including:
a detection module to detect a first user input to start a heart rate measurement application;
the processing module is used for determining a measurement mode of the PPG sensor based on a corresponding relation between a pre-configured heart rate measurement application and the measurement mode, and the measurement mode at least comprises a low power consumption measurement mode, a static measurement mode and a motion measurement mode; the processing module may be further configured to determine a sampling frequency and a driving current of the PPG sensor according to a preconfigured correspondence between a measurement mode and the sampling frequency and the driving current, the sampling frequency and the driving current corresponding to a stationary measurement mode being greater than the sampling frequency and the driving current corresponding to a low-power consumption measurement mode, and the sampling frequency and the driving current of a moving measurement mode being greater than the sampling frequency and the driving current of the stationary measurement mode;
and the driving module is used for driving the PPG sensor according to the sampling frequency and the driving current.
In one possible implementation of the second aspect, the processing module is further configured to switch the measurement mode to the low power consumption measurement mode in response to a second user input to end the heart rate measurement application.
In a possible implementation manner of the second aspect, the processing module is further configured to determine the sampling frequency and the driving current of the PPG sensor according to a correspondence between the heart rate measurement application and the preconfigured initial motion intensity and a correspondence between the preconfigured motion intensity and the sampling frequency and the driving current, if the measurement mode of the PPG sensor is the motion measurement mode.
In a possible implementation manner of the second aspect, the detection module is further configured to detect, by the motion sensor, a motion intensity within a preset time period; the processing module is further used for determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the motion intensity and the sampling frequency and the driving current.
In a possible implementation manner of the second aspect, the detection module is further configured to determine the motion intensity according to a total momentum acquired by the three-axis sensor within a preset time period.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the processor is connected in communication with the memory, where:
the memory is used for storing software instructions;
the processor is configured to execute instructions in the memory to perform the PPG sensor control method described above.
In a fourth aspect, the present application provides a computer-readable storage medium for storing one or more computer programs, where the one or more computer programs include instructions for executing the steps of the PPG sensor control method described above when the computer program runs on a computer.
In the embodiment of the application, a first user input for starting a heart rate measurement application is detected, a measurement mode of the PPG sensor is determined based on a corresponding relation between a preconfigured heart rate measurement application and the measurement mode, a sampling frequency and a driving current of the PPG sensor are determined according to a corresponding relation between the preconfigured measurement mode and the sampling frequency and the driving current, and the PPG sensor is driven according to the sampling frequency and the driving current. Because different heart rate measurement applications correspond to different measurement environments, the sampling frequency and the driving current of the PPG sensor are determined according to the heart rate measurement application started on the electronic equipment, so that the PPG sensor is adaptive to the actual measurement environment, the measurement precision is ensured, the energy consumption is reduced, and the balance between the measurement precision and the energy consumption is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a block diagram of a wearable device of an embodiment of an electronic device of the present invention;
fig. 2 is a flowchart of a PPG sensor control method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a first user interface including a plurality of application icons in a wearable device, in accordance with an embodiment of the invention;
FIG. 4 is a diagram illustrating a second user interface including a plurality of motion applications in a wearable device, in accordance with an embodiment of the invention;
fig. 5 is a flowchart of a PPG sensor control method according to another embodiment of the present invention;
fig. 6 is a block diagram of a PPG sensor control device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The basic idea of the invention is to determine the measurement mode of the PPG sensor according to the heart rate measurement application selected by the user on the electronic device, the different measurement modes corresponding to different sampling frequencies and drive currents. Different PPG sensor sampling frequencies and drive currents can thus be adapted according to the heart rate measurement application selected by the user. The energy consumption is reduced while the measurement precision is ensured, and the balance between the measurement precision and the energy consumption is realized.
The intelligent sports recommendation method provided by the application can be applied to one or more electronic devices carried by a user, the electronic devices can be mobile phones, wearable devices, portable media players and the like, and the wearable devices can include but are not limited to smart watches, smart bracelets, smart wristbands, smart glasses, rings or helmets and the like.
Fig. 1 shows a block diagram of a wearable device of a specific implementation of an electronic device. Wearable device 100 may include one or more processors 101, memory 102, communication module 103, sensor module 104, display 105, audio module 106, speaker 107, microphone 108, camera module 109, motor 110, keys 111, indicator 112, battery 113, power management module 114. These components may communicate over one or more communication buses or signal lines.
The processor 101 is a final execution unit of information processing and program execution, and may execute an operating system or an application program to execute various functional applications and data processing of the wearable device 100. Processor 101 may include one or more processing units, such as: the Processor 101 may include a Central Processing Unit (CPU) 101, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP) 101, a sensor hub Processor 101 or a communication Processor 101 (CP) Application Processor 101 (AP), and the like. In some embodiments, processor 101 may include one or more interfaces. The interface is used to couple peripheral devices to the processor 101 to transmit instructions or data between the processor 101 and the peripheral devices.
The memory 102 may be used to store computer-executable program code, which includes instructions. The memory 102 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area can store data created during the use process of the intelligent wearable device, for example, exercise parameters of each exercise of the user, such as step number, stride, pace, heart rate, blood oxygen, blood glucose concentration, energy consumption (calorie) and the like. The memory may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The communication module 103 may enable the wearable device 100 to communicate with the network and the mobile terminal 200 via wireless communication technology. The communication module 103 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. The communication module 103 may include one or more of a cellular mobile communication module, a short-range wireless communication module, a wireless internet module, and a location information module. The mobile communication module may transmit or receive wireless signals based on a technical standard of mobile communication, and may use any mobile communication standard or protocol, including but not limited to global system for mobile communications (GSM), Code Division Multiple Access (CDMA), code division multiple access 2000(CDMA2000), wideband CDMA (wcdma), time division synchronous code division multiple access (TD-SCDMA), Long Term Evolution (LTE), LTE-a (long term evolution advanced), and the like. The wireless internet module may transmit or receive wireless signals via a communication network according to wireless internet technology, including wireless lan (wlan), wireless fidelity (Wi-Fi), Wi-Fi direct, Digital Living Network Alliance (DLNA), wireless broadband (WiBro), and the like. The short-distance wireless communication module can send or receive wireless signals according to short-distance communication technologies, and the technologies comprise Bluetooth, Radio Frequency Identification (RFID), infrared data communication (IrDA), Ultra Wide Band (UWB), ZigBee, Near Field Communication (NFC), wireless fidelity (Wi-Fi), Wi-Fi direct connection, wireless USB (wireless universal serial bus) and the like. The location information module may obtain the location of the smart wearable device based on a Global Navigation Satellite System (GNSS), which may include one or more of a Global Positioning System (GPS), a global satellite navigation system (Glonass), a beidou satellite navigation system, and a galileo satellite navigation system.
The sensor module 104 is used to measure a physical quantity or detect an operation state of the wearable device 100. The sensor module 104 may include an acceleration sensor 104A, a gyroscope sensor 104B, an air pressure sensor 104C, a magnetic sensor 104D, a biometric sensor 104E, a proximity sensor 104F, an ambient light sensor 104G, a touch sensor 104H, and the like. The sensor module 104 may also include control circuitry for controlling one or more sensors included in the sensor module 104.
Among other things, the acceleration sensor 104A may detect the magnitude of acceleration of the wearable device 100 in various directions. The magnitude and direction of gravity may be detected when the wearable device 100 is stationary. The wearable device 100 can also be used for recognizing the gesture of the wearable device 100, and is applied to horizontal and vertical screen switching, pedometers and other applications. In one embodiment, the acceleration sensor 104A may be combined with the gyroscope sensor 104B to monitor the stride length, pace frequency, pace speed, etc. of the user during exercise.
The gyroscope sensor 104B may be used to determine the motion pose of the wearable device 100. In some embodiments, the angular velocity of the wearable device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 104B.
The air pressure sensor 104C is used to measure air pressure. In some embodiments, wearable device 100 calculates altitude, aiding in positioning and navigation from barometric pressure values measured by barometric pressure sensor 104C.
The magnetic sensor 104D includes a hall sensor, or magnetometer, etc., which may be used to determine the user position.
The biometric sensor 104E is used to measure physiological parameters of the user including, but not limited to, Photoplethysmography (PPG) sensors, ECG sensors, EMG sensors, blood glucose sensors, temperature sensors. For example, the wearable device 100 may measure heart rate, blood oxygen, blood pressure data of the user via signals of a photoplethysmography sensor and/or an ECG sensor, and identify a blood glucose value of the user based on data generated by a blood glucose sensor. In some embodiments, wearable device 100 may detect whether the user is in a sleep state based on acceleration sensor 104A and biometric sensor 104E, identify a sleep stage of the user, and identify sleep apnea.
The proximity sensor 104F is used to detect the presence of an object near the wearable device 100 without any physical contact. In some embodiments, the proximity sensor 104F may include a light emitting diode and a light detector. The light emitting diodes may be infrared light and the wearable device 100 detects reflected light from nearby objects using a light detector. When the reflected light is detected, it may be determined that there is an object near the wearable device 100. The wearable device 100 may detect its wearing state using the proximity sensor 104F.
The ambient light sensor 104G is used to sense ambient light level. In some embodiments, the wearable device may adaptively adjust display screen brightness according to perceived ambient light levels to reduce power consumption.
The touch sensor 104H is used to detect a touch operation applied thereto or nearby, and is also referred to as a "touch device". The touch sensor 104H can be disposed on the display screen 105, and the touch sensor 104H and the display screen 105 form a touch screen.
The display screen 105 is used to display a graphical User Interface (UI) that may include graphics, text, icons, video, and any combination thereof. The Display 105 may be a Liquid Crystal Display (lcd), an Organic Light-Emitting Diode (OLED) Display, or the like. When the display screen 105 is a touch display screen, the display screen 105 can capture a touch signal on or over the surface of the display screen 105 and input the touch signal as a control signal to the processor 101.
An audio module 106, a speaker 107, a microphone 108, etc. providing audio functions between the user and the wearable device 100, such as listening to music or talking; for another example, when the wearable device 100 receives a notification message from the mobile terminal, the processor 101 controls the audio module 106 to output a preset audio signal, and the speaker 107 emits a sound to remind the user. The audio module 106 converts the received audio data into an electrical signal and sends the electrical signal to the speaker 107, and the speaker 107 converts the electrical signal into sound; or the microphone 108 converts the sound into an electrical signal and sends the electrical signal to the audio module 106, and then the audio module 106 converts the electrical audio signal into audio data.
The camera module 109 is used to capture still images or video. The camera module 109 may include an image sensor, an Image Signal Processor (ISP), and a Digital Signal Processor (DSP). The image sensor converts the optical signal into an electrical signal, the image signal processor converts the electrical signal into a digital image signal, and the digital signal processor converts the digital image signal into an image signal in a standard format (RGB, YUV). The image sensor may be a Charge Coupled Device (CCD) or a metal-oxide-semiconductor (CMOS).
The motor 110 may convert the electrical signal into mechanical vibrations to produce a vibratory effect. The motor 110 may be used for vibration prompts for incoming calls, messages, or for touch vibration feedback. The keys 111 include a power-on key, a volume key, and the like. The keys 111 may be mechanical keys (physical buttons) or touch keys. The indicator 112 is used to indicate the state of the wearable device 100, such as indicating a charging state, a change in charge level, and may also be used to indicate a message, a missed call, a notification, and the like. In some embodiments, wearable device 100 provides vibration feedback upon receiving a notification message from the mobile terminal application.
The battery 113 is used to provide power to various components of the wearable device. The power management module 114 is used for managing charging and discharging of the battery, and monitoring parameters such as battery capacity, battery cycle number, battery health (whether leakage occurs, impedance, voltage, current, and temperature). In some embodiments, the power management module 114 may charge the battery in a wired or wireless manner.
It should be understood that in some embodiments, wearable device 100 may be comprised of one or more of the foregoing components, and wearable device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Please refer to fig. 2, which shows a flowchart of a PPG sensor control method according to an embodiment of the present invention. The PPG sensor control method is applicable to a wearable device as shown in fig. 1, including:
in step S201, a first user input to start a heart rate measurement application is detected. Specifically, the wearable device displays a graphical user interface including a plurality of application icons, detects touch information of a user on the graphical user interface, and starts a corresponding application program according to the touch information of the user on the application icons.
In some embodiments, the heart rate measurement application may be a stationary heart rate measurement application for the user to click on measuring the heart rate, which may measure the current heart rate in response to the user click and present to the user in real time. The heart rate measurement application may also be an application that measures the heart rate of a user during exercise, such as running, walking, cycling, etc. exercise applications. As shown in fig. 3, the wearable device displays a first user interface 301 comprising a plurality of application icons, the first user interface 301 comprising a resting heart rate measurement application icon 302, a sports application icon 303, an activity application icon, and a body temperature icon. The user clicks the still heart rate measurement application icon 302 to perform still heart rate measurement, the user clicks the sports application icon 303 to enter the sports type selection interface 401 shown in fig. 4, a plurality of sports icons are displayed in the sports type selection interface 401 for the user to select, and when the user selects a sports icon, the smart watch enters the relevant sports interface and measures the heart rate of the user in the sports process.
Step S202, determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and a correspondence of measurement modes. The measurement modes include at least a low power consumption measurement mode, a still measurement mode, and a motion measurement mode.
Step S203, determining the sampling frequency and the driving current of the PPG sensor according to the pre-configured corresponding relationship between the measurement mode and the sampling frequency and the driving current. The sampling frequency and the driving current corresponding to the static measurement mode are greater than those corresponding to the low-power consumption measurement mode, and the sampling frequency and the driving current corresponding to the motion measurement mode are greater than those of the static measurement mode.
And step S204, driving the PPG sensor according to the sampling frequency and the driving current.
In the embodiment of the invention, the wearable device can be preconfigured with the heart rate measurement application, the measurement mode and the corresponding relation between the sampling frequency and the driving current, and when the user selects the corresponding heart rate measurement application, the driving of the PPG sensor can be realized according to the corresponding sampling frequency and the corresponding driving current. Table 1 is one embodiment of a heart rate measurement application, measurement mode, and correspondence table of sampling frequency and drive current.
TABLE 1
Heart rate measurement application Measurement mode Sampling frequency Drive current
Without application Low power consumption measurement mode 5HZ 10mA
Resting heart rate measurement application Stationary measurement mode 10HZ 30mA
Outdoor walking Motion measurement mode 50HZ 80mA
Outdoor riding Motion measurement mode 50HZ 80mA
Outdoor running Motion measurement mode 50HZ 80mA
In table 1, no application means that the user does not click any application that needs to perform heart rate measurement, and at this time, the PPG sensor is in a low power consumption measurement mode, and the sampling frequency and the driving current of the PPG sensor are minimum, so that the purpose of saving power consumption is achieved; when a user clicks a static heart rate measurement application, a static measurement mode is adopted, the sampling frequency and the driving current are increased, the heart rate value is output as soon as possible, and a better PPG signal can be obtained without a larger sampling frequency and a larger driving current because the user is in a static state; when a user clicks a corresponding motion application to perform heart rate monitoring in a motion process, a PPG signal may be subjected to motion interference (e.g., ambient light, user muscle motion, etc.), and a motion measurement mode is adopted, so as to improve the quality of the heart rate signal with a higher sampling frequency and a larger drive current. In table 1, only the daily measurement mode, the resting heart rate measurement mode, and the exercise measurement mode are set, and other modes may be additionally set in actual operation, for example, different exercise measurement modes are set for subdividing high-intensity exercise and low-intensity exercise, so that the sampling frequency and the driving current of the PPG sensor are adapted to the exercise intensity of the user, and equalization for reducing power consumption and improving signal quality is achieved.
In addition, the heart rate measurement application, the measurement mode and the corresponding relation table of the sampling frequency and the driving current are set, when the new heart rate measurement application of the wearable device is carried out, the new heart rate measurement can be associated to the existing measurement mode, the sampling frequency and the driving current do not need to be set independently, and development is facilitated.
In one embodiment of the present invention, the exercise intensity level corresponding to the heart rate measurement application may be pre-configured, different exercise intensities are adapted to different sampling frequencies and driving currents, and during the process of starting the heart rate measurement application, the exercise intensity of the user is monitored, and the sampling frequency and the driving current of the PPG sensor are adjusted according to the exercise intensity. Table 2 is an illustration of configuring different sampling frequencies and drive currents for heart rate measurement applications of different exercise intensities provided by embodiments of the present invention.
TABLE 2
Figure BDA0003395243930000081
Figure BDA0003395243930000091
As shown in table 2, the initial exercise intensity was not required to be configured for both no-application and stationary heart rate measurement applications, with fixed sampling frequency and drive current. For outdoor walking, outdoor riding, outdoor running, yoga and swimming, different initial exercise intensities are configured, and the same sampling frequency and driving current are configured for the same initial exercise intensity. When a user selects a relevant application, determining that a measurement mode of the PPG sensor is a motion mode, and determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the heart rate measurement application and the pre-configured initial motion intensity and the corresponding relation between the pre-configured motion intensity and the sampling frequency and the driving current. In the process of the user movement, detecting the movement intensity within a preset time period; and determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the motion intensity and the sampling frequency and the driving current. For example, when the user selects the outdoor walking exercise application, the sampling frequency of the PPG sensor is determined to be 20HZ according to the initial exercise intensity, and the driving current is 50 mA; however, during the movement of the user, if the movement intensity of the user is detected to be increased within a preset time period, for example, to 2 levels, the sampling frequency of the PPG sensor needs to be changed to 50HZ, and the driving current needs to be changed to 80 mA. The motion intensity of the user can be determined according to the total momentum obtained by the three-axis sensor in the preset time period. Therefore, the PPG sensor can adapt to different sampling frequencies and driving currents according to the change of the motion intensity of the user in the motion process, and the quality of the PPG signal is improved.
Please refer to fig. 5, which shows a flowchart of a PPG sensor control method according to an embodiment of the present invention. The PPG sensor control method is applicable to a wearable device as shown in fig. 1, including:
step S501, a first user input to start a heart rate measurement application is detected. Specifically, the wearable device displays a graphical user interface including a plurality of application icons, detects touch information of a user on the graphical user interface, and starts a corresponding application program according to the touch information of the user on the application icons.
Step S502, determining a measurement mode of the PPG sensor based on a corresponding relation between a pre-configured heart rate measurement application and the measurement mode. The measurement modes include at least a low power consumption measurement mode, a still measurement mode, and a motion measurement mode.
Step S503, determining the sampling frequency and the driving current of the PPG sensor according to the pre-configured corresponding relationship between the measurement mode and the sampling frequency and the driving current. The sampling frequency and the driving current corresponding to the static measurement mode are greater than those corresponding to the low-power consumption measurement mode, and the sampling frequency and the driving current corresponding to the motion measurement mode are greater than those of the static measurement mode.
And step S504, driving the PPG sensor according to the sampling frequency and the driving current.
In response to a second user input to end the heart rate measurement application, the measurement mode is switched to a low power consumption measurement mode S505. Thus, when the user closes the corresponding heart rate measurement application, the PPG sensor reverts to the low power consumption measurement mode to reduce the power consumption of the wearable device, to improve endurance.
Fig. 6 is a block diagram of a PPG sensor control device according to an embodiment of the present invention. The PPG sensor control device 100 is used to implement the PPG sensor control method shown in fig. 2, and includes a detection module 610, a processing module 620, and a driving module 630.
A detection module 610 for detecting a first user input to start a heart rate measurement application.
A processing module 620 for determining a measurement mode of the PPG sensor based on a pre-configured correspondence of heart rate measurement applications to measurement modes. The measurement modes at least comprise a low power consumption measurement mode, a static measurement mode and a motion measurement mode; the processing module 620 may be further configured to determine a sampling frequency and a driving current of the PPG sensor according to a preconfigured correspondence between the measurement mode and the sampling frequency and the driving current, where the sampling frequency and the driving current corresponding to the static measurement mode are greater than the sampling frequency and the driving current corresponding to the low power consumption measurement mode, and the sampling frequency and the driving current corresponding to the motion measurement mode are greater than the sampling frequency and the driving current corresponding to the static measurement mode.
Optionally, the processing module 620 is further configured to switch the measurement mode to the low power consumption measurement mode in response to a second user input to end the heart rate measurement application.
Optionally, the processing module 620 is further configured to determine the sampling frequency and the driving current of the PPG sensor according to a correspondence between the heart rate measurement application and the preconfigured initial exercise intensity and a correspondence between the preconfigured exercise intensity and the sampling frequency and the driving current, if the measurement mode of the PPG sensor is the exercise measurement mode.
Optionally, the detecting module 610 is further configured to detect, by a motion sensor, a motion intensity within a preset time period; the processing module 420 is further configured to determine a sampling frequency and a driving current of the PPG sensor according to a correspondence between the motion intensity and the sampling frequency and the driving current.
Optionally, the detecting module 610 is further configured to determine the motion intensity according to the total momentum obtained by the three-axis sensor within the preset time period.
And a driving module 630, configured to drive the PPG sensor according to the sampling frequency and the driving current.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device, for example, any one or more of the steps in fig. 2 may be performed.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A PPG sensor control method is characterized by comprising the following steps:
detecting a first user input that launches a heart rate measurement application;
determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and a corresponding relation of the measurement mode, wherein the measurement mode at least comprises a low power consumption measurement mode, a static measurement mode and a motion measurement mode;
determining the sampling frequency and the driving current of the PPG sensor according to a preset corresponding relation between a measurement mode and the sampling frequency and the driving current, wherein the sampling frequency and the driving current corresponding to a static measurement mode are greater than the sampling frequency and the driving current corresponding to a low-power consumption measurement mode, and the sampling frequency and the driving current of a motion measurement mode are greater than the sampling frequency and the driving current of the static measurement mode;
driving the PPG sensor according to the sampling frequency and the drive current.
2. The PPG sensor control method of claim 1, wherein the method further comprises:
in response to a second user input to end the heart rate measurement application, switching the measurement mode to a low power consumption measurement mode.
3. The PPG sensor control method of claim 1, wherein determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and a correspondence of measurement modes comprises:
and if the measurement mode of the PPG sensor is a motion measurement mode, determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the heart rate measurement application and the pre-configured initial motion intensity and the corresponding relation between the pre-configured motion intensity and the sampling frequency and the driving current.
4. The PPG sensor control method of claim 3, wherein determining a measurement mode of the PPG sensor based on a pre-configured heart rate measurement application and a correspondence of measurement modes comprises:
detecting the exercise intensity within a preset time period;
and determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the motion intensity and the sampling frequency and the driving current.
5. The PPG sensor control method according to claim 4, wherein detecting the intensity of motion within a preset time period comprises:
and determining the motion intensity according to the total momentum acquired by the three-axis sensor in a preset time period.
6. A PPG sensor control device, comprising:
a detection module to detect a first user input to start a heart rate measurement application;
the processing module is used for determining a measurement mode of the PPG sensor based on a corresponding relation between a pre-configured heart rate measurement application and the measurement mode, wherein the measurement mode at least comprises a low power consumption measurement mode, a static measurement mode and a motion measurement mode; the processing module may be further configured to determine a sampling frequency and a driving current of the PPG sensor according to a pre-configured correspondence between a measurement mode and a sampling frequency and a driving current, where the sampling frequency and the driving current corresponding to a stationary measurement mode are greater than the sampling frequency and the driving current corresponding to a low power consumption measurement mode, and the sampling frequency and the driving current of a motion measurement mode are greater than the sampling frequency and the driving current of the stationary measurement mode;
and the driving module is used for driving the PPG sensor according to the sampling frequency and the driving current.
7. The PPG sensor control apparatus according to claim 6, wherein the processing module is further configured to switch the measurement mode to a low power consumption measurement mode in response to a second user input ending the heart rate measurement application.
8. The PPG sensor control device of claim 6, wherein the processing module is further configured to determine the sampling frequency and the drive current of the PPG sensor according to a correspondence between the heart rate measurement application and a pre-configured initial motion intensity, and a correspondence between a pre-configured motion intensity and a sampling frequency and a drive current, if the measurement mode of the PPG sensor is a motion measurement mode.
9. The PPG sensor control device of claim 8, wherein the detection module is further configured to detect the intensity of motion over a preset time period by a motion sensor; the processing module is further used for determining the sampling frequency and the driving current of the PPG sensor according to the corresponding relation between the motion intensity and the sampling frequency and the driving current.
10. The PPG sensor control device of claim 9, wherein the detection module is further configured to determine the motion intensity from a total momentum obtained by the three-axis sensor over a preset time period.
11. An electronic device comprising a processor and a memory, the processor communicatively coupled to the memory, wherein:
the memory is used for storing software instructions;
the processor is configured to execute the instructions in the memory to perform the method of any of claims 1-5.
12. A computer-readable storage medium for storing one or more computer programs, the one or more computer programs comprising instructions for performing the steps of the PPG sensor control method of any of claims 1-5, when the computer program is run on a computer.
CN202111482093.2A 2021-12-06 2021-12-06 PPG sensor control method and device and electronic equipment Pending CN114209298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111482093.2A CN114209298A (en) 2021-12-06 2021-12-06 PPG sensor control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111482093.2A CN114209298A (en) 2021-12-06 2021-12-06 PPG sensor control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114209298A true CN114209298A (en) 2022-03-22

Family

ID=80699918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111482093.2A Pending CN114209298A (en) 2021-12-06 2021-12-06 PPG sensor control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114209298A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115395501A (en) * 2022-08-31 2022-11-25 杭州李未可科技有限公司 Intelligent glasses battery management system, electric quantity control method and electric quantity control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140200470A1 (en) * 2013-01-16 2014-07-17 Polar Electro Oy Reconfigurable Sensor Devices Monitoring Physical Exercise
CN107430426A (en) * 2015-03-25 2017-12-01 皇家飞利浦有限公司 Automatically change the healthy wearable thing that sensor reads timing
CN108778111A (en) * 2016-09-12 2018-11-09 华为技术有限公司 A kind of heart rate detection method and device
CN112998671A (en) * 2021-02-23 2021-06-22 浙江清华柔性电子技术研究院 PPG signal acquisition method and device, electronic equipment and storage medium
CN113520305A (en) * 2020-04-17 2021-10-22 华为技术有限公司 Method and device for determining working mode of photoelectric sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140200470A1 (en) * 2013-01-16 2014-07-17 Polar Electro Oy Reconfigurable Sensor Devices Monitoring Physical Exercise
CN107430426A (en) * 2015-03-25 2017-12-01 皇家飞利浦有限公司 Automatically change the healthy wearable thing that sensor reads timing
CN108778111A (en) * 2016-09-12 2018-11-09 华为技术有限公司 A kind of heart rate detection method and device
CN113520305A (en) * 2020-04-17 2021-10-22 华为技术有限公司 Method and device for determining working mode of photoelectric sensor
CN112998671A (en) * 2021-02-23 2021-06-22 浙江清华柔性电子技术研究院 PPG signal acquisition method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115395501A (en) * 2022-08-31 2022-11-25 杭州李未可科技有限公司 Intelligent glasses battery management system, electric quantity control method and electric quantity control system

Similar Documents

Publication Publication Date Title
US11557395B2 (en) Portable exercise-related data apparatus
KR102561587B1 (en) Electronic apparatus and operating method thereof
CN107997767B (en) Method for recognizing user activity and electronic device thereof
US10176255B2 (en) Mobile terminal, recommendation system, and recommendation method
KR20170019196A (en) Method for detecting activity information of user and electronic device thereof
EP3514739A1 (en) Activity information processing method and electronic device supporting the same
KR20180088020A (en) Electronic device and operating method thereof
WO2016017379A1 (en) Portable terminal, training management program, and training management method
KR20170035101A (en) Activity information providing method and electronic device supporting the same
CN114668368A (en) Sleep state monitoring method, electronic equipment and computer readable storage medium
CN114631798A (en) Physical fitness test method, system, wearable device and computer-readable storage medium
CN108702806A (en) Electronic equipment and operating method for it
CN114176573A (en) Intelligent exercise recommendation method and device and electronic equipment
CN114209298A (en) PPG sensor control method and device and electronic equipment
CN114532992B (en) Method, device and system for detecting nap state and computer readable storage medium
CN113873075B (en) Notification message management method and system, mobile terminal and storage medium
JP2019053676A (en) Information processing device, information processing method, program, and information processing system
CN117037657A (en) Display control method, intelligent watch and readable medium
CN114912065A (en) Method and device for calculating movement distance, wearable device and medium
CN113778282A (en) Motion type management method and system and mobile terminal
KR20170094640A (en) Electronic device and method for providing route information
CN113873076A (en) Notification message management method, system and mobile terminal
JPWO2016194445A1 (en) Information processing apparatus and information processing method
CN114936302A (en) Music recommendation method and device, electronic equipment and computer readable storage medium
KR20160105162A (en) Method and apparatus for batching process of data

Legal Events

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