Heartbeat and breathing detection method and device

By sending detection signals and receiving feedback signals through the encapsulated antenna, the heartbeat and respiratory signals are determined using the analysis algorithm, which solves the problems of inconvenience and low efficiency of existing respiratory heartbeat detection equipment, and realizes contactless and efficient detection.

CN112190241BActive Publication Date: 2025-03-25BEIJING TSINGRAY TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011112778.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-16
Publication Date
2025-03-25
Estimated Expiration
2040-10-16

AI Technical Summary

Technical Problem

The existing respiratory and heartbeat detection equipment adopts contact type, which is inconvenient to use and complex operation. It uses ventilators and electrocardiogram equipment to collect data, which is relatively inefficient.

Method used

The detection signal is sent to the detection object through the encapsulated antenna, and the feedback signal is received through the radar of the encapsulated antenna, and the heartbeat signal and breathing signal are determined using an analysis algorithm.

Benefits of technology

It realizes contactless heartbeat and breath detection, improves detection efficiency, is convenient to use, and is simple to operate, and solves the problems of cumbersome equipment and complex operation in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112190241B_ABST
    Figure CN112190241B_ABST
Patent Text Reader

Abstract

The present invention discloses a heartbeat and respiration detection method, device and processor. The method comprises: sending a detection signal to a detection object through a packaged antenna, and receiving a feedback signal returned by the detection object through a radar of the packaged antenna; according to the feedback signal, determining the heartbeat signal and respiration signal of the detection object through an analysis algorithm. The present invention solves the technical problems in the related art that the method of using a ventilator and an electrocardiogram device to collect respiration and heartbeat respectively is inefficient, inconvenient to use and complicated to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of smart home, smart cockpit, elderly care, and medical detection, and in particular to a heartbeat and breathing detection method and device. Background Art

[0002] Respiration and heartbeat are important vital signs of the human body and are an important basis for judging human health. The existing technical solutions use ventilators, electrocardiograms, holter (dynamic electrocardiograms) and other devices as data sources, all of which adopt a contact method, and the breathing and heartbeat data are completed by two independent sets of equipment.

[0003] Existing respiratory and heartbeat devices use contact methods, which are inconvenient to wear and use, and lack user experience. Using two devices for breathing and heartbeat takes up a lot of space, is complicated to operate, and has cumbersome equipment. Holter needs to be carried for a long time, which affects the user's sleeping habits and is not conducive to the user falling asleep. Device data is usually stored and managed locally, which makes it inconvenient to analyze user data.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiment of the present invention provides a heartbeat and respiration detection method and device, so as to at least solve the technical problems in the related art of using a ventilator and an electrocardiogram device to collect respiration and heartbeat respectively, which is inefficient, inconvenient to use and complex to operate.

[0006] According to one aspect of an embodiment of the present invention, a heartbeat and breathing detection method is provided, comprising: sending a detection signal to a detection object via a packaged antenna, and receiving a feedback signal returned by the detection object via a radar of the packaged antenna; and determining the heartbeat signal and breathing signal of the detection object via an analysis algorithm based on the feedback signal.

[0007] Optionally, sending a detection signal to a detection object through a packaged antenna and receiving a feedback signal returned by the detection object through a radar of the packaged antenna include: sending a detection signal through the antenna with a fixed timing and a fixed waveform, wherein the detection signal is a frequency-modulated continuous electromagnetic wave; receiving an echo of the frequency-modulated continuous electromagnetic wave reflected by the detection object through the radar of the packaged antenna; amplifying and filtering the echo to obtain the feedback signal.

[0008] Optionally, after sending a detection signal to the detection object through the packaged antenna, it includes: selecting data to be processed in a preset time period from the feedback signal through a soft timer; starting data reception of the processor by triggering an external interrupt, and sending the baseband feedback signal data to the data receiving queue of the processor, wherein the baseband of the radar is communicatively connected to the processor.

[0009] Optionally, determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal includes: executing, by the processor, the step of determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, wherein the frame rate starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal.

[0010] Optionally, before sending a detection signal to the detection object through the packaged antenna and receiving a feedback signal returned by the detection object through the radar of the packaged antenna, it also includes: creating a data regularization task for sending a detection signal to the detection object through the packaged antenna and receiving a feedback signal returned by the detection object through the radar of the packaged antenna, and a computing task for determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, wherein the data regularization task and the computing task have the same running priority; switching between the data regularization task and the computing task according to actual needs through time slice scheduling, wherein the data regularization task and the computing task are independent of each other, and one data regularization task or computing task is executed at a time.

[0011] Optionally, according to the feedback signal, the heartbeat signal and breathing signal of the detection object are determined by an analysis algorithm, including: removing DC from the fast time signal of the feedback signal, performing fast Fourier transform (FFT) on the fast time signal after windowing to obtain distance dimension information of the fast time signal, and removing DC from the slow time signal of the feedback signal to obtain Doppler information; selecting feature points according to the distance dimension information and the Doppler information to determine the position of the range gate of the target signal; selecting complex data of the position of the range gate, performing phase extraction to obtain phase data after dewrapping; removing DC from the phase data, and obtaining the breathing signal through an infinite impulse response (IIR) filter; using a finite impulse response (FIR) filter and using a joint time-frequency domain algorithm to detect the heartbeat frequency to obtain a frequency change graph to obtain the heartbeat signal.

[0012] Optionally, after determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, it also includes: sending the heartbeat signal and the breathing signal to a third-party device through data transmission, wherein the third-party device is at least one of the following: a remote processing device, a smart terminal, a user device, and a display terminal.

[0013] According to another aspect of an embodiment of the present invention, a heartbeat and breathing detection device is also provided, including: a baseband processing module, and an algorithm operation module, wherein the baseband processing module is used to send a detection signal to a detection object through a packaged antenna, and receive a feedback signal returned by the detection object through a radar of the packaged antenna, wherein the packaged antenna and the radar are integrated on the baseband processing module; the algorithm operation module is communicatively connected to the radar, and is used to determine the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal.

[0014] Optionally, it also includes: a soft timer, an external interrupt, and a real-time scheduling system, wherein the soft timer is communicatively connected with the baseband processing module and the algorithm operation module, and is used to select the data to be processed in a preset time period from the feedback signal, and send the data to be processed to the algorithm operation module, wherein the frame frequency starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal; the external interrupt is communicatively connected with the baseband processing module and the data regularization module, and is used to synchronously start the data regularization module when the baseband processing module completes its work; the real-time scheduling system is communicatively connected with the baseband processing module and the algorithm operation module, and is used to establish a data regularization task for the baseband processing module and an operation task for the algorithm operation module, wherein the data regularization task and the operation task have the same running priority, and a time slice scheduling method is applied to switch between the data regularization task and the operation task according to actual needs, wherein the data regularization task and the operation task are independent of each other, and one data regularization task or operation task is executed at a time.

[0015] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned heartbeat and breathing detection methods when running.

[0016] According to another aspect of an embodiment of the present invention, a computer storage medium is further provided, wherein the computer storage medium includes a stored program, wherein when the program is running, the device where the computer storage medium is located is controlled to execute any one of the above-mentioned heartbeat and breathing detection methods.

[0017] In the embodiment of the present invention, a detection signal is sent to a detection object through a packaged antenna, and a feedback signal returned by the detection object is received through a radar of the packaged antenna; according to the feedback signal, a heartbeat signal and a breathing signal of the detection object are determined by an analysis algorithm, a detection signal is sent through the packaged antenna, a feedback signal returned by the detection object is received, and the feedback signal is analyzed to determine the heartbeat signal and the breathing signal, thereby achieving the purpose of simultaneously detecting relevant heartbeat signals and breathing signals through the packaged antenna, thereby effectively improving the efficiency of breathing signals and heartbeat signals, and having the technical effect of easy use and simple operation, thereby solving the technical problems of the related art of using a ventilator and an electrocardiogram device to collect breathing and heartbeat respectively, which is inefficient, inconvenient to use, and complicated to operate. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 is a flow chart of a heartbeat and breathing detection method according to an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of a heartbeat and breathing detection system according to an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of software design of a heartbeat and breathing detection system according to an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of a radar antenna array according to an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of a radar waveform configuration according to an embodiment of the present invention;

[0024] Figure 6 is a schematic diagram of a radar receiving antenna configuration according to an embodiment of the present invention;

[0025] Figure 7 is a flow chart of a processing algorithm according to an embodiment of the present invention;

[0026] Figure 8 is a schematic diagram of a heartbeat-respiration distance gate signal according to an embodiment of the present invention;

[0027] Fig. 9 is a schematic diagram of a respiratory frequency according to an embodiment of the present invention;

[0028] Fig.10 is a schematic diagram of a heartbeat frequency in the joint time-frequency domain according to an embodiment of the present invention;

[0029] Fig.11 Schematic diagram of a heartbeat and breathing detection device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] According to an embodiment of the present invention, a method embodiment of a heartbeat and breathing detection method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] Figure 1 FIG. 1 is a flow chart of a heartbeat and breathing detection method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0034] Step S102, sending a detection signal to the detection object through the packaged antenna, and receiving a feedback signal returned by the detection object through the radar of the packaged antenna;

[0035] Step S104: determining the heartbeat signal and breathing signal of the detected object through an analysis algorithm according to the feedback signal.

[0036] Through the above steps, a detection signal is sent to the detection object through the packaged antenna, and a feedback signal returned by the detection object is received through the radar of the packaged antenna; according to the feedback signal, the heartbeat signal and the breathing signal of the detection object are determined by an analysis algorithm, the detection signal is sent through the packaged antenna, the feedback signal returned by the detection object is received, and the feedback signal is analyzed to determine the heartbeat signal and the breathing signal, thereby achieving the purpose of simultaneously detecting related heartbeat signals and breathing signals through the packaged antenna, thereby effectively improving the efficiency of breathing signals and heartbeat signals, and having the technical effect of easy use and simple operation, thereby solving the technical problems of the related technology of using a ventilator and an electrocardiogram device to collect breathing and heartbeat respectively, which is low in efficiency, inconvenient to use, and complicated to operate.

[0037] The above-mentioned packaged antenna can be an AIP antenna, and the above-mentioned radar can be a millimeter-wave radar of the AIP antenna. Since the wavelength of the millimeter-wave radar is at the millimeter level, the AIP antenna can be integrated with the chip, which greatly reduces the size and can be embedded in various smart terminals, so that various electronic products can be used.

[0038] The above-mentioned radar includes a transmitting device and a receiving device. The transmitting device sends electromagnetic waves to the radar baseband, and the receiving device receives the electromagnetic waves fed back by the detection object. The fed back electromagnetic waves carry the breathing and heartbeat information of the detection object.

[0039] The feedback signal is analyzed by an analysis algorithm to determine the heartbeat signal and breathing signal of the detected object. Thus, the purpose of simultaneously detecting the relevant heartbeat signal and breathing signal through the packaged antenna is achieved, thereby effectively improving the efficiency of the breathing signal and heartbeat signal, and having the technical effect of being easy to use and simple to operate, thereby solving the technical problems of using a ventilator and an electrocardiogram device to collect breathing and heartbeat in the related technology, which is inefficient, inconvenient to use, and complex to operate.

[0040] Optionally, the detection signal is sent to the detection object through the packaged antenna, and the feedback signal returned by the detection object is received by the radar of the packaged antenna, including: sending the detection signal through the antenna with a fixed timing and a fixed waveform, wherein the detection signal is a frequency-modulated continuous electromagnetic wave; receiving the echo of the frequency-modulated continuous electromagnetic wave reflected by the detection object through the radar of the packaged antenna; amplifying the echo, and filtering it to obtain the feedback signal.

[0041] The fixed timing includes a sending holding time and a sending interval time. The fixed waveform may include the type of electromagnetic wave and the frequency of the electromagnetic wave.

[0042] The echo of the above-mentioned frequency-modulated continuous electromagnetic wave is also the above-mentioned feedback signal, which includes the breathing and heartbeat signals exclusive to the detection.

[0043] Optionally, after sending a detection signal to the detection object through the packaged antenna, it includes: selecting data to be processed in a preset time period from the feedback signal through a soft timer; starting data reception of the processor by triggering an external interrupt, and sending the baseband feedback signal data to the data reception queue of the processor, wherein the radar baseband is communicatively connected to the processor.

[0044] Optionally, determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal includes: executing, through a processor, the steps of determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, wherein the frame rate starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal.

[0045] The baseband is connected to the processor for communication. After the radar receives the feedback signal, it transmits it to the baseband for processing by the processor. The soft timer selects the data to be processed in a preset period from the feedback signal. The frame rate starting point of the selected data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal, thereby ensuring the consistency of the radar data frame rate. The soft timer meets the millisecond-level timing accuracy. Compared with the hardware timer, it saves hardware resources, is more stable and more convenient to use.

[0046] Using the external interrupt trigger method, after the packaged antenna sends a detection signal to the detection object, the processor data regularization task is started by triggering the external interrupt, and the steps of determining the heartbeat signal and breathing signal of the detection object through the analysis algorithm based on the feedback signal are executed to meet the synchronization of the processor and the baseband processing unit status. The use of external asynchronous interrupts can ensure the fastest response.

[0047] Optionally, before sending a detection signal to the detection object through the packaged antenna and receiving a feedback signal returned by the detection object through the radar of the packaged antenna, it also includes: creating a data regularization task for sending a detection signal to the detection object through the packaged antenna and receiving a feedback signal returned by the detection object through the radar of the packaged antenna, and a computing task for determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, wherein the data regularization task and the computing task have the same running priority; switching between the data regularization task and the computing task according to actual needs through time slice scheduling, wherein the data regularization task and the computing task are independent of each other, and one data regularization task or computing task is executed at a time.

[0048] Use the real-time system to create data regularization tasks and computing tasks with the same priority, and ensure that each task can be fully executed through time slice scheduling. Data reception and algorithm operation are hierarchically designed through data transmission queues. For example, the core algorithm of this embodiment takes 392 milliseconds, data regularization takes 120 milliseconds, and the overall time is 512 milliseconds, which is less than 1 second, meeting the current requirement that the breathing and heartbeat are updated once per second.

[0049] Optionally, according to the feedback signal, the heartbeat signal and breathing signal of the detection object are determined by an analysis algorithm, including: removing DC from the fast-time signal of the feedback signal, performing fast Fourier transform (FFT) on the fast-time signal after windowing to obtain distance dimension information of the fast-time signal, and removing DC from the slow-time signal of the feedback signal to obtain Doppler information; selecting feature points according to the distance dimension information and Doppler information to determine the position of the range gate of the target signal; selecting complex data of the position of the range gate, performing phase extraction to obtain phase data after detangling; removing DC from the phase data, and obtaining a breathing signal through an infinite impulse response (IIR) filter; using a finite impulse response (FIR) filter and using a joint time-frequency domain algorithm to detect the heartbeat frequency to obtain a frequency change graph to obtain a heartbeat signal.

[0050] The radar feedback signal is used as the data input of the analysis algorithm, and the original data of the radar respiratory heartbeat echo signal is obtained from the baseband processing queue. The analysis algorithm first removes DC from the fast time signal, performs FFT (Fast Fourier Transform) after fast time windowing, and obtains the distance dimension information; removes DC from the slow time signal to obtain Doppler information; selects feature points to determine the range gate position of the target; selects the range gate complex data, performs phase extraction to obtain the phase angle after unwrapping; removes DC from the phase data, passes through the IIR filter, and obtains the signal within the respiratory bandpass; uses the FIR filter to detect the heartbeat frequency using the joint time-frequency domain algorithm to obtain the frequency change diagram and detect the effective heartbeat signal; the core algorithm obtains the numerical estimation of the respiratory heartbeat.

[0051] Optionally, after determining the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal, it also includes: sending the heartbeat signal and breathing signal to a third-party device via data transmission, wherein the third-party device is at least one of the following: a remote processing device, an intelligent terminal, a user device, and a display terminal.

[0052] The third-party device mentioned above may be a smart terminal, a mobile terminal, a remote terminal, etc., specifically, for example, a mobile phone, a cloud service, a screen.

[0053] The heartbeat signal and the breathing signal are sent to the third-party device through data transmission. The heartbeat signal and the breathing signal can be sent to the third-party device through the hardware peripheral Bluetooth and WiFi. The third-party device can perform data analysis, statistics, display, processing and other operations on the above heartbeat signal and breathing signal. In this embodiment, the third-party device can combine big data analysis to establish a health assessment model to provide users with more professional healthy life suggestions.

[0054] It should be noted that the embodiment of the present application also provides an optional implementation, which is described in detail below.

[0055] This embodiment relates to a non-contact breathing and heartbeat monitoring system based on a millimeter-wave radar with an antenna-in-package (AIP). This system can be widely used in multiple technical fields such as smart home, smart cockpit, elderly care, and medical treatment.

[0056] Respiration and heartbeat are important vital signs of the human body and are an important basis for judging human health. The existing technical solutions use ventilators, electrocardiograms, holter (dynamic electrocardiograms) and other devices as data sources, all of which adopt a contact method, and the breathing and heartbeat data are completed by two independent sets of equipment.

[0057] Existing respiratory and heartbeat devices use contact methods, which are inconvenient to wear and use, and lack user experience. Using two devices for breathing and heartbeat takes up a lot of space, is complicated to operate, and has cumbersome equipment. Holter needs to be carried for a long time, which affects the user's sleeping habits and is not conducive to the user falling asleep. Device data is usually stored and managed locally, which makes it inconvenient to analyze user data.

[0058] Figure 2 Schematic diagram of a heartbeat and breathing detection system according to an embodiment of the present invention. Figure 2 As shown, this embodiment is a respiratory and heartbeat monitoring system based on packaged antenna AIP (Antenna in Package) millimeter wave radar. Since the wavelength of the electromagnetic wave reaches the millimeter level, the antenna and chip are integrated into a package. The system integrates the antenna, baseband unit, and processor. This integrated design greatly reduces the volume and can be embedded in various smart products, bringing users a non-perceptual experience and health analysis, and bringing better power consumption performance to the hardware platform. The baseband unit obtains the AIP antenna signal, performs data analysis and processing in the algorithm unit in the processor, and then displays the respiratory and heartbeat detection results in various forms through the data bus.

[0059] Theoretical analysis of implementation methods:

[0060] This embodiment is a millimeter wave radar based on an AIP antenna, which overcomes the shortcomings of the prior art and provides a non-contact, highly integrated respiratory and heartbeat monitoring system. Figure 3 Schematic diagram of software design of a heartbeat and breathing detection system according to an embodiment of the present invention. Figure 3 As shown in the figure, the system software adopts a layered design, and the system is divided into five layers of core functional modules, including baseband processing, data regularization, real-time system, core algorithm, and data display. The layered design improves the scalability of the software and facilitates the division of labor and parallel development of programmers; the layered design is of great benefit to improving software quality due to the loose coupling relationship between layers; the layered design makes the program structure clear, and upgrades and maintenance become very easy. When changing the specific implementation code of the layer, as long as the layer interface remains stable, other layers do not need to be modified, which is conducive to standardization and the reuse of logic at each layer, and increases the high cohesion and low coupling of software development.

[0061] The baseband unit of this system configures the RF-side radar receiving and transmitting timing at one time, controls the AIP transmitting antenna of the millimeter-wave radar to transmit FMCW waves (frequency modulated continuous waves) to the target, and the AIP receiving antenna receives the echo reflected by the target. The baseband unit saves the radar data to the memory according to the data format specification. Developers only need to directly operate the memory to obtain the signal-processed data.

[0062] The system data regularization module obtains radar data from the memory in real time according to the radar frame frequency and regularizes the data according to the frame data format to ensure the stability and real-time performance of the radar frame frequency; the system real-time system module then outputs the radar frame data to the core algorithm module through the queue, and the core algorithm calculates the respiratory and heartbeat data and outputs it to the data display module.

[0063] The system's terminal data display module includes multiple data communication modules such as Bluetooth module and wifi module. This module sends the respiratory and heartbeat information output by the system to the cloud; the cloud service is based on a big data analysis platform to provide users with more professional health analysis. Users can obtain physical signs assessments through mobile terminals, web terminals, PC (Personal Computer) terminals, etc.

[0064] The specific implementation process of the system is as follows:

[0065] Step 1, Figure 4 is a schematic diagram of a radar antenna array according to an embodiment of the present invention, such as Figure 4 As shown, the AIP radar antenna has built-in transmitting antenna and receiving antenna, integrated with a configurable frequency-modulated continuous wave radar sensor, integrated with a processor with a system main frequency of 300MHz, SRAM of 576K, and support for single-precision floating-point units. The overall packaging size is 12.2mm×12.2mm.

[0066] Figure 5 is a schematic diagram of a radar waveform configuration according to an embodiment of the present invention, such as Figure 5 As shown, the radar is configured to use FMCW waveform, the radar start frequency is configured to 60GHz, the cutoff frequency is configured to 61.6GHz, the rising edge frequency modulation slope is 160MHz / us, the duration is 10us, the falling edge duration is 20us, the rest time is 216us, the frame sampling configuration is 10Hz, and the ADC sampling frequency is 20MHz.

[0067] Figure 6 is a schematic diagram of a radar receiving antenna configuration according to an embodiment of the present invention, such as Figure 6 As shown in the figure, the system main control chip enables the transmitting antenna to transmit frequency modulated continuous waves at a fixed timing. After the electromagnetic wave contacts the user's detection object, the echo is reflected to the receiving antenna. The system configuration accepts antenna amplifier and filter parameters to eliminate noise and improve signal quality. Finally, the baseband processing unit samples the radar echo data and saves it to the memory.

[0068] Step 2: The processor obtains the radar echo data in the memory and sends the radar echo data to the queue. The soft timer of the real-time system is used to ensure the consistency of the radar data frame rate. The soft timer meets the millisecond-level timing accuracy. Compared with the hardware timer, it saves hardware resources, is more stable and easier to use. The external interrupt trigger method is used to synchronize the status of the processor and the baseband processing unit. The use of external asynchronous interrupts can ensure the fastest response.

[0069] Step 3, the processor uses the real-time system to create baseband processing tasks and core algorithm tasks with the same priority. The baseband processing tasks are equivalent to the data regularization tasks, and the core algorithm tasks are equivalent to the computing tasks. Through time slice scheduling, it is ensured that each task can be fully executed. The data reception and algorithm operation are hierarchically designed through the data transmission queue. At present, the core algorithm takes 392 milliseconds, the data regularization takes 120 milliseconds, and the overall time is 512 milliseconds, which is less than 1 second, meeting the current requirement of updating the breathing and heartbeat once per second.

[0070] Step 4, Figure 7 is a flowchart of a processing algorithm according to an embodiment of the present invention, such as Figure 7 As shown, radar echo data is used as algorithm data input, and the original data of radar respiratory heartbeat echo signal is obtained from the queue. The core algorithm first removes DC from the fast time signal, performs FFT (Fast Fourier Transform) after fast time windowing, and obtains distance dimension information; removes DC from the slow time signal to obtain Doppler information; selects feature points to determine the range gate position of the target; Figure 8 is a schematic diagram of a heartbeat breathing distance gate signal according to an embodiment of the present invention, such as Figure 8As shown, the range gate complex data is selected to perform phase extraction to obtain the phase angle after unwrapping; Fig. 9 is a schematic diagram of the respiratory frequency according to an embodiment of the present invention, such as Fig. 9 As shown, the phase data is de-DCed and passed through an IIR filter to obtain a signal within the breathing bandpass, which is also the breathing signal; Fig.10 is a schematic diagram of a combined time-frequency domain heartbeat frequency according to an embodiment of the present invention, such as Fig.10 As shown, the heartbeat frequency is detected by FIR filter using a joint time-frequency domain algorithm to obtain a frequency change diagram and detect a valid heartbeat signal; the core algorithm obtains a numerical estimate of the respiratory heartbeat.

[0071] Step 5: Data display: The algorithm results are displayed to the mobile phone, cloud service, and screen through the hardware peripherals Bluetooth and WiFi. The cloud service is based on the long-term monitoring of the user's breathing and heartbeat, combined with big data analysis, to establish a health assessment model to provide users with more professional healthy living suggestions.

[0072] Fig.11 is a schematic diagram of a heartbeat and breathing detection device according to an embodiment of the present invention. Fig.11 As shown, according to another aspect of an embodiment of the present invention, a heartbeat and breathing detection device is provided, including: a baseband processing module 1102 and an algorithm operation module 1104. The device is described in detail below.

[0073] The baseband processing module 1102 is used to send a detection signal to the detection object through the packaged antenna, and receive a feedback signal returned by the detection object through the radar of the packaged antenna, wherein the packaged antenna and the radar are integrated on the baseband processing module; the algorithm operation module 1104 is connected to the radar communication, and is used to determine the heartbeat signal and breathing signal of the detection object through an analysis algorithm based on the feedback signal.

[0074] Through the above-mentioned device, the baseband processing module 1102 is used to send a detection signal to the detection object through the packaged antenna, and the feedback signal returned by the detection object is received through the radar of the packaged antenna; the algorithm operation module 1104 determines the heartbeat signal and breathing signal of the detection object according to the feedback signal by analyzing the algorithm, sends the detection signal through the packaged antenna, receives the feedback signal returned by the detection object, and analyzes the feedback signal to determine the heartbeat signal and breathing signal, thereby achieving the purpose of simultaneously detecting related heartbeat signals and breathing signals through the packaged antenna, thereby effectively improving the efficiency of breathing signals and heartbeat signals, and has the technical effect of easy use and simple operation, thereby solving the technical problems of the related technology of using ventilators and electrocardiogram equipment to collect breathing and heartbeats respectively, which are low in efficiency, inconvenient to use, and complicated to operate.

[0075] Optionally, it also includes: a soft timer, an external interrupt, and a real-time scheduling system. The soft timer is communicatively connected with the baseband processing module and the algorithm operation module, and is used to select the data to be processed in a preset time period from the feedback signal, and send the data to be processed to the algorithm operation module, wherein the frame frequency starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal; the external interrupt is communicatively connected with the baseband processing module and the data regularization module, and is used to synchronously start the data regularization module when the baseband processing module finishes working; the real-time scheduling system is communicatively connected with the baseband processing module and the algorithm operation module, and is used to establish a data regularization task for the baseband processing module and an operation task for the algorithm operation module, wherein the data regularization task and the operation task have the same running priority, and a time slice scheduling method is applied to switch between the data regularization task and the operation task according to actual needs, wherein the data regularization task and the operation task are independent of each other, and one data regularization task or operation task is executed at a time.

[0076] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned heartbeat and breathing detection methods is executed.

[0077] According to another aspect of an embodiment of the present invention, a computer storage medium is provided, the computer storage medium including a stored program, wherein when the program is running, the device where the computer storage medium is located is controlled to execute any one of the above-mentioned heartbeat and breathing detection methods.

[0078] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0079] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0080] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0084] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A heartbeat and breathing detection method, characterized in that: include: Creating a data regularization task for sending a detection signal to a detection object through a packaged antenna and receiving a feedback signal returned by the detection object through a radar of the packaged antenna, and a computing task for determining a heartbeat signal and a breathing signal of the detection object through an analysis algorithm according to the feedback signal, wherein the data regularization task and the computing task have the same running priority; By means of time slice scheduling, switching between the data regularization task and the computing task is performed according to actual needs, wherein the data regularization task and the computing task are independent of each other, and one data regularization task or computing task is performed at a time; Sending a detection signal to a detection object through a packaged antenna, and receiving a feedback signal returned by the detection object through a radar of the packaged antenna; According to the feedback signal, determining the heartbeat signal and the breathing signal of the detected object through an analysis algorithm includes: Remove direct current from the fast time signal of the feedback signal, perform fast Fourier transform (FFT) on the fast time signal after windowing to obtain distance dimension information of the fast time signal, and remove direct current from the slow time signal of the feedback signal to obtain Doppler information; Selecting feature points according to the distance dimension information and the Doppler information to determine the position of the target signal range gate; Select the complex data of the position of the range gate, perform phase extraction to obtain the phase data after de-wrapping; Remove direct current from the phase data and obtain the breathing signal through an infinite impulse response (IIR) filter; The heartbeat signal is obtained by detecting the heartbeat frequency through a finite impulse response (FIR) filter and using a joint time-frequency domain algorithm to obtain a frequency change graph.

2. The method according to claim 1, characterized in that The detection signal sent to the detection object by the packaged antenna and the feedback signal returned by the detection object received by the radar of the packaged antenna include: Sending a detection signal with a fixed timing and a fixed waveform through the antenna, wherein the detection signal is a frequency modulated continuous electromagnetic wave; Receiving, by means of the radar of the packaged antenna, an echo of the frequency modulated continuous electromagnetic wave reflected by the detection object; The echo is amplified and filtered to obtain the feedback signal.

3. The method according to claim 2, characterized in that After the detection signal is sent to the detection object through the package antenna, it includes: Selecting data to be processed in a preset period of time from the feedback signal through a soft timer; The data reception of the processor is started by triggering an external interrupt, and the baseband feedback signal data is sent to the data receiving queue of the processor, wherein the baseband of the radar is communicatively connected with the processor.

4. The method according to claim 3, characterized in that: Determining the heartbeat signal and the breathing signal of the detected object by an analysis algorithm according to the feedback signal includes: The processor executes the step of determining the heartbeat signal and the breathing signal of the detected object through an analysis algorithm according to the feedback signal, wherein the frame rate starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the breathing signal.

5. The method according to any one of claims 1 to 4, characterized in that: According to the feedback signal, After determining the heartbeat signal and the breathing signal of the detected object by the analysis algorithm, the method further includes: The heartbeat signal and the breathing signal are sent to a third-party device via data transmission, wherein the third-party device is at least one of the following: a remote processing device, an intelligent terminal, a user device, and a display terminal.

6. A heartbeat and breathing detection device, characterized in that: include: Task creation module, task switching module, baseband processing module, and algorithm operation module The task creation module is used to create a data regularization task for sending a detection signal to a detection object through a packaged antenna and receiving a feedback signal returned by the detection object through a radar of the packaged antenna, and a computing task for determining a heartbeat signal and a breathing signal of the detection object through an analysis algorithm according to the feedback signal, wherein the data regularization task and the computing task have the same running priority; The task switching module is used to switch between the data regularization task and the computing task according to actual needs by means of time slice scheduling, wherein the data regularization task and the computing task are independent of each other, and one data regularization task or computing task is executed at a time; The baseband processing module is used to send a detection signal to a detection object through a packaged antenna, and receive a feedback signal returned by the detection object through a radar of the packaged antenna, wherein the packaged antenna and the radar are integrated on the baseband processing module; The algorithm operation module is connected to the radar for determining the heartbeat signal and the breathing signal of the detection object through an analysis algorithm according to the feedback signal; The algorithm operation module includes: a first DC removal submodule, a determination submodule, a phase extraction submodule, a second DC removal submodule, and a detection submodule. The first DC removal submodule is used to remove DC from the fast time signal of the feedback signal, perform fast Fourier transform FFT on the fast time signal after windowing to obtain distance dimension information of the fast time signal, and remove DC from the slow time signal of the feedback signal to obtain Doppler information; The determination submodule is used to select feature points and determine the position of the target signal range gate according to the range dimension information and the Doppler information; The phase extraction submodule is used to select the complex data of the position of the range gate, perform phase extraction to obtain the phase data after dewrapping; The second DC removal submodule is used to remove DC from the phase data and obtain the breathing signal through an infinite impulse response (IIR) filter; The detection submodule is used to detect the heartbeat frequency through a finite impulse response (FIR) filter using a joint time-frequency domain algorithm to obtain a frequency change graph and obtain the heartbeat signal.

7. The device according to claim 6, characterized in that Also includes: Soft timer, external interrupt, real-time scheduling system, The soft timer is connected to the baseband processing module and the algorithm operation module for selecting the data to be processed in a preset time period from the feedback signal and sending the data to be processed to the algorithm operation module, wherein the frame frequency starting point of the data to be processed is the starting point of a single cycle of the heartbeat signal and the respiratory signal; The external interrupt is connected to the baseband processing module and the algorithm operation module for synchronously starting the data regularization module when the baseband processing module completes its work; The real-time scheduling system is communicatively connected with the baseband processing module and the algorithm operation module, and is used to establish data regularization tasks for the baseband processing module and establish operation tasks for the algorithm operation module.

8. A processor, characterized in that: The processor is used to run a program, wherein the heartbeat and breathing detection method according to any one of claims 1 to 5 is executed when the program is run.

Citation Information

Patent Citations

  • Method and system for controlling first interface and second interface on mobile node

    CN101552731A

  • Radar echo simulator test system

    CN104833962A

  • FMCW broadband life detection radar breathing and heartbeat signal extraction algorithm

    CN106821347A

  • Static human body heartbeat and respiration signal extraction method based on FMCW radar

    CN110584631A