Sleep breathing data collection device and method
Through the contactless sleep breathing data acquisition device combined with radar and controller, the problem of inconvenient use and easy to fall off of the electrode patch is solved, and fast and convenient sleep breathing data acquisition and monitoring is achieved, and portable equipment is provided for long-term data collection.
Patent Information
- Application Number
- CN202111146753.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-09-28
AI Technical Summary
The existing sleep breath detection methods rely on electrode patches, which are inconvenient to use and are easy to fall off, resulting in interruption of monitoring, and the equipment is inconvenient to carry, and cannot provide long-term breathing sleep data.
Using a combination of radar, controller, storage device and communication equipment, the detection signal is sent to the sleep object through the radar and the feedback signal is received, the signal is processed using the mixer and sampling device to generate the breathing digital signal, and stored and transmitted through dynamic random memory. Data, realize contactless sleep breathing data collection.
It realizes fast and effective respiratory data detection, improves the efficiency and convenience of data acquisition, avoids the problem of electrode patch falling off, and provides a portable sleep breath monitoring device that can collect data for a long time.
Smart Images

Figure CN113892911B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of breathing detection, and in particular to a device and method for collecting sleep breathing data. Background Art
[0002] Traditional respiratory disease detection mainly includes two methods: pulmonary function tester and polysomnography (PSG). The pulmonary function tester consists of a main unit, a flow rate sensor and a nose clip. The mouthpiece is used to detect the ventilation volume. The probe is used to listen to the patient's breathing frequency and breathing depth information to understand the changes in the patient's respiratory exchange volume. PSG obtains biological signals through bioelectricity of different parts or through different sensors, and outputs different electrical signals after preamplification. The microcomputer collects, organizes and analyzes the relevant signals to form the relevant data provided by the polysomnography. These methods all use contact methods, and it is not convenient to carry equipment to record and diagnose chronic respiratory diseases.
[0003] PSG uses a contact method, which affects the patient's normal sleep. The patient's body movements such as turning over during sleep may cause the patch or breathing mask to fall off. The process of pulmonary function testing is often complicated. The pulmonary function tester requires the user to clip the nasal concha, bite the mouth tightly to prevent air leakage, and breathe according to the doctor's instructions. The success rate is low, and data can only be obtained successfully after multiple tests. PSG equipment is often not easy to carry, which is not conducive to patients taking it home for long-term sleep breathing monitoring, and it cannot provide a large amount of breathing and sleep data for medical personnel to analyze.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a device and method for collecting sleep respiratory data, so as to at least solve the technical problems in the related art that the sleep respiratory detection method needs to rely on electrode patches, which is inconvenient to use, and the electrode patches are easy to fall off during the test, resulting in monitoring interruption.
[0006] According to one aspect of an embodiment of the present invention, a sleep breathing data collection device is provided, including: a radar, a controller, a storage device, and a communication device, wherein the radar is connected to the controller, and is used to transmit a detection signal to a sleeping object to be detected according to a control instruction of the controller, and receive a feedback signal returned by the sleeping object; the controller is used to receive the feedback signal received by the radar, and process the feedback signal; the storage device is connected to the controller, and is used to store the signal data processed by the controller; the communication device is connected to the controller, and is used to send the processed signal data.
[0007] Optionally, the radar includes multiple antennas, including at least three receiving antennas and at least one transmitting antenna; the at least three receiving antennas include at least a first receiving antenna, a second receiving antenna and a third receiving antenna, wherein a line connecting the second receiving antenna and the first receiving antenna is perpendicular to a line connecting the third receiving antenna and the first receiving antenna.
[0008] Optionally, it also includes a mixer and a sampling device, wherein the input end of the mixer is connected to the output end of the radar, and is used to mix the feedback signal received by the radar and the detection signal sent by the radar to obtain an intermediate frequency echo difference frequency signal; the input end of the sampling device is connected to the output end of the mixer, and the output end of the sampling device is connected to the controller, and the sampling device is used to sample the echo difference frequency signal to obtain a breathing digital signal.
[0009] Optionally, it further includes a filter and an amplifier, wherein the input end of the filter is connected to the output end of the mixer, the input end of the amplifier is connected to the output end of the filter, and the output end of the amplifier is connected to the input end of the sampling device.
[0010] Optionally, it also includes a clock device and a switch, wherein the switch is connected to the controller and is used to control the controller to work, and the work at least includes controlling the radar to transmit detection signals of different frequencies; the clock device is connected to the controller and is used to provide clock calibration for the controller.
[0011] Optionally, it also includes a register and a transmission bus, wherein the input end of the register is connected to the output end of the sampling device, and the output end of the register is connected to the controller, and is used to store the breathing digital signal of the sampling device, and after storing a preset amount of breathing digital signal, the stored breathing digital signal is sent to the controller; one end of the transmission bus is connected to the output end of the register, and the other end of the transmission bus is connected to the controller, and is used to transmit the breathing digital signal stored in the register to the controller.
[0012] Optionally, it also includes a dynamic random access memory, which is connected to the controller and is used to store the data packet after the controller generates the data packet according to the breathing digital signal of the register and the waveform configuration parameters of the radar; the dynamic random access memory is also used to count the reading and writing of the stored data, and when the write quantity is greater than the read quantity and the dynamic random access memory is not full, the data packet stored in the dynamic random access memory is stored in the storage device.
[0013] According to another aspect of an embodiment of the present invention, a method for collecting sleep breathing data is also provided, and the method is applied to any one of the collection devices described above, comprising: sending a detection signal to a sleeping object through a radar, and receiving a feedback signal returned by the sleeping object; setting an interrupt through a controller, and reading a breathing digital signal from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal with a mixer to obtain an echo difference frequency signal, and sampling the echo difference frequency signal through a sampling device; according to the waveform configuration parameters of the radar, the breathing digital signal is packaged to obtain a data packet; and the data packet is stored in a dynamic random access memory.
[0014] Optionally, the method also includes: receiving a signal that the switch is turned on, starting to collect the feedback signal of the radar, issuing a first prompt message, and starting to count a preset time; when the switch is turned off within the preset time, or the preset time is expired, stopping collecting the feedback signal, resetting the timer, and issuing a second prompt message.
[0015] Optionally, storing the data packet in the dynamic random access memory includes: caching the data packet in a cache area of the dynamic random access memory, and checking whether the data packet is the first data packet after the interruption set by the controller through a clock device at a preset frequency; if the data packet is the first data packet after the interruption, writing the data packet into the dynamic random access memory, and adding a first identifier to the storage location of the data packet in the dynamic random access memory; if the data packet is not the first data packet after the interruption, writing the data packet into the dynamic random access memory, and adding a second identifier to the storage location of the data packet in the dynamic random access memory; and also includes: when writing the data packet into the dynamic random access memory, if the dynamic random access memory is in a read-write locked state, writing again after a preset time until the data packet is written into the dynamic random access memory.
[0016] Optionally, the reading condition is that the write quantity of the data packets is greater than the read quantity, and the dynamic random access memory is not full, wherein the write quantity of the data packets is counted based on the position of the data packets, and when the write quantity reaches the maximum number of data packets of the dynamic random access memory, it is reset to zero and continues to accumulate, and the read quantity of the data packets is based on the read index subscript of the dynamic random access memory, and each time a data packet is read in the dynamic random access memory, the read index subscript is increased by a preset value, and when the read quantity reaches the maximum number of data packets of the dynamic random access memory, it is reset to zero and continues to accumulate.
[0017] According to another aspect of an embodiment of the present invention, a sleep breathing data collection device is also provided, including: a sending module, used to send a detection signal to a sleeping object through a radar, and receive a feedback signal returned by the sleeping object; a reading module, used to set an interrupt through a controller, and read a breathing digital signal from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal with a mixer to obtain an echo difference frequency signal, and sampling the echo difference frequency signal through a sampling device; a packing module, used to pack the breathing digital signal according to the waveform configuration parameters of the radar to obtain a data packet; and a storage module, used to store the data packet in a dynamic random access memory.
[0018] 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 methods for collecting sleep respiratory data when running.
[0019] 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 executed, the device where the computer storage medium is located is controlled to execute any one of the above-mentioned sleep breathing data collection methods.
[0020] In an embodiment of the present invention, a radar, a controller, a storage device, and a communication device are used. The radar is connected to the controller, and is used to transmit a detection signal to a sleeping object to be detected according to a control instruction of the controller, and receive a feedback signal returned by the sleeping object; the controller is used to receive the feedback signal received by the radar and process the feedback signal; the storage device is connected to the controller, and is used to store the signal data processed by the controller; the communication device is connected to the controller, and is used to send the processed signal data. The detection signal is sent by the radar, and the feedback signal of the sleeping object is received. The feedback signal is analyzed by the controller to obtain the breathing data of the sleeping object, thereby achieving the purpose of quickly and effectively detecting the breathing data and collecting the breathing data without contact, realizing the technical effect of improving the efficiency and convenience of breathing data collection, and avoiding the problem of easy falling off of electrode patches, thereby solving the technical problem that the sleep breathing detection method in the related art needs to rely on electrode patches, which is inconvenient to use, and the electrode patches are easy to fall off during the test, resulting in monitoring interruption. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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:
[0022] Figure 1is a schematic diagram of a sleep breathing data collection device according to an embodiment of the present invention;
[0023] Figure 2 is a flow chart of a method for collecting sleep breathing data according to an embodiment of the present invention;
[0024] Figure 3 is a schematic diagram of a system structure according to an embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of a radar antenna array according to an embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of a radar receiving antenna configuration according to an embodiment of the present invention;
[0027] Figure 6 is a schematic diagram of a radar waveform configuration according to an embodiment of the present invention;
[0028] Figure 7 is a schematic diagram of a radar hardware structure according to an embodiment of the present invention;
[0029] Figure 8 is a schematic diagram of a radar structure design according to an embodiment of the present invention;
[0030] Fig. 9 is a flow chart of data processing according to an embodiment of the present invention;
[0031] Fig.10 is a flow chart of data collection according to an embodiment of the present invention;
[0032] Fig.11 is a flow chart of operating a data acquisition device to collect data according to an embodiment of the present invention;
[0033] Fig.12 is a flow chart of storing collected data according to an embodiment of the present invention;
[0034] Fig.13 is a schematic diagram of raw data collected by a radar according to an embodiment of the present invention;
[0035] Fig.14 is a schematic diagram of raw data analysis according to an embodiment of the present invention;
[0036] Fig.15 is a schematic diagram of a sleep breathing report according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] 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.
[0038] 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.
[0039] Figure 1 is a schematic diagram of a sleep breathing data collection device according to an embodiment of the present invention. Figure 1 As shown, according to one aspect of an embodiment of the present invention, a sleep respiration data collection device is provided, comprising: a radar 12, a controller 14, a storage device 16, a communication device 18,
[0040] The radar is connected to the controller, and is used to transmit a detection signal to the sleeping object to be detected according to the control instructions of the controller, and receive a feedback signal returned by the sleeping object; the controller is used to receive the feedback signal received by the radar and process the feedback signal; the storage device is connected to the controller, and is used to store the signal data processed by the controller; the communication device is connected to the controller, and is used to send the processed signal data.
[0041] Through the above-mentioned device, radar, controller, storage device, and communication device are used. The radar is connected to the controller, and is used to transmit a detection signal to the sleeping object to be detected according to the control instruction of the controller, and receive a feedback signal returned by the sleeping object; the controller is used to receive the feedback signal received by the radar and process the feedback signal; the storage device is connected to the controller, and is used to store the signal data processed by the controller; the communication device is connected to the controller, and is used to send the processed signal data. The detection signal is sent through the radar, and the feedback signal of the sleeping object is received. The feedback signal is analyzed by the controller to obtain the breathing data of the above-mentioned sleeping object, thereby achieving the purpose of quickly and effectively detecting the breathing data and contactlessly collecting the breathing data, realizing the technical effect of improving the efficiency and convenience of breathing data collection, and avoiding the problem of easy falling off of electrode patches, thereby solving the technical problem that the sleep breathing detection method in the related technology needs to rely on electrode patches, which is inconvenient to use, and the electrode patches are easy to fall off during the test, resulting in monitoring interruption.
[0042] The radar can be a millimeter wave radar, which has the advantages of small size and convenient carrying. The controller can be a main control MCU chip, the storage device can be an SD card, and the communication device can be a Bluetooth module. The radar, controller, storage device and communication device are integrated in the same housing, which is not only small in size and convenient to carry, but also easy to use. The sleep breathing data of the target object is collected contactlessly, avoiding the method of using electrode patches in related technologies, which is not only easily disturbed by the movement of the target object during sleep and easy to fall off, but also effectively improves the stability of the collection of respiratory sleep data. Moreover, the collection of the sleep breathing data of the target object can be controlled directly through the switch, and there is no need to manually stick the electrode patch to the predetermined position on the target object, thereby simplifying the collection operation and facilitating the operation.
[0043] Optionally, the above-mentioned radar includes multiple antennas, and the radar is used to use the multiple antennas to collect the breathing data of the sleeping object in a non-contact manner, and the multiple antennas include at least three receiving antennas and at least one transmitting antenna; the at least three receiving antennas include at least a first receiving antenna, a second receiving antenna and a third receiving antenna, wherein the line connecting the second receiving antenna and the first receiving antenna is perpendicular to the line connecting the third receiving antenna and the first receiving antenna.
[0044] The above-mentioned radar collects the breathing data of the sleeping object through a non-contact collection method, that is, the radar collects the breathing data of the sleeping object through wireless detection. When the radar is an ultrasonic radar, the non-contact collection method can be an ultrasonic detection method, which sends out an ultrasonic detection signal, receives a feedback signal generated by the sleeping object reflecting the ultrasonic signal, and realizes non-contact collection of the sleeping object. When the radar is an electromagnetic wave radar, the non-contact collection method can be an electromagnetic wave detection method, which sends out an electromagnetic wave detection signal, receives a feedback signal generated by the sleeping object reflecting the electromagnetic wave signal, and realizes non-contact collection of the sleeping object.
[0045] like Figure 4 As shown, the radar of this embodiment is provided with four antennas, and the four antennas adopt a 1-transmit 3-receive mode. The transmitting antenna TX1 transmits a radio frequency signal, and by comparing the data of the receiving antenna RX1 with the receiving antenna RX2, and comparing the data of the receiving antenna RX1 with the receiving antenna RX3, the omnidirectional changes of the chest cavity during the user's breathing can be distinguished. The radar sends a radar signal through the radio frequency module of the antenna to detect the breathing movement, and then receives the echo signal at the radar receiving end, and mixes the received radar echo signal with the transmitting signal to obtain an echo difference frequency signal.
[0046] The connection line between the receiving antennas RX1 and RX2 is perpendicular to the connection line between the receiving antennas RX1 and RX3, so that feedback signals can be better received from multiple directions, thereby obtaining omnidirectional and more accurate feedback signals by comparing the received data of multiple receiving antennas.
[0047] Optionally, it also includes a mixer and a sampling device, wherein the input end of the mixer is connected to the output end of the radar, and is used to mix the feedback signal received by the radar and the detection signal sent by the radar to obtain an intermediate frequency echo difference frequency signal; the input end of the sampling device is connected to the output end of the mixer, and the output end of the sampling device is connected to the controller, and the sampling device is used to sample the echo difference frequency signal to obtain a breathing digital signal.
[0048] The mixer is used to mix the feedback signal received by the radar and the detection signal sent to obtain the intermediate frequency echo difference frequency signal, that is, to mix the received radar echo signal with the transmission signal to obtain the echo difference frequency signal. Thus, the received RF signal is converted into an intermediate frequency signal. Reducing the frequency of the signal facilitates subsequent processing.
[0049] The sampling device is also a digital-to-analog / analog-to-digital conversion device ADC, which samples the intermediate frequency signal processed by the mixer to obtain its corresponding digital signal for subsequent processing and storage by a processor.
[0050] Optionally, it also includes a filter and an amplifier, wherein the input end of the filter is connected to the output end of the mixer, the input end of the amplifier is connected to the output end of the filter, and the output end of the amplifier is connected to the input end of the sampling device.
[0051] The filter may be a two-stage high-pass filter, and the amplifier may be a variable gain amplifier, so as to filter and amplify the intermediate frequency signal processed by the mixer, thereby improving the accuracy of the signal for subsequent sampling.
[0052] Optionally, it also includes a clock device and a switch, where the switch is connected to the controller and is used to control the controller to work, and the work at least includes controlling the radar to emit detection signals of different frequencies; the clock device is connected to the controller and is used to provide clock calibration for the controller.
[0053] The above-mentioned time-keeping device can not only provide a clock, but also perform timing. When used specifically, it can provide adjustment of relevant parameters such as frequency and frame rate. The above-mentioned controller is connected to the time-keeping device and can receive the time of the time-keeping device to calibrate the time of the controller and relevant parameters. This ensures the operation of the controller and improves the accuracy of control.
[0054] Optionally, it also includes a register and a transmission bus, wherein the input end of the register is connected to the output end of the sampling device, and the output end of the register is connected to the controller, and is used to store the breathing digital signal of the sampling device. After storing a preset amount of breathing digital signal, the stored breathing digital signal is sent to the controller; one end of the transmission bus is connected to the output end of the register, and the other end of the transmission bus is connected to the controller, and is used to transmit the breathing digital signal stored in the register to the controller.
[0055] The above registers can be registers of the radar, for example, FIFO registers, each register stores two ADC data. The device sends the data to the MCU through the SPI bus and stores it in an array of uint8 type. The MCU packages the data according to the radar configuration information and the raw data read from the FIFO, that is, packages the data stored in the register. It is stored in the dynamic random access memory DDR. When the number of data packets written in the DDR is greater than the number of data packets read, and the dynamic random access memory is not full, the data packets stored in the dynamic random access memory are stored in the storage device.
[0056] Optionally, it also includes a dynamic random access memory, which is connected to the controller and is used to store data packets after the controller generates data packets based on the breathing digital signal of the register and the waveform configuration parameters of the radar; the dynamic random access memory is also used to count the reading and writing of the stored data, and when the write quantity is greater than the read quantity and the dynamic random access memory is not full, the data packets stored in the dynamic random access memory are stored in the storage device.
[0057] When the controller needs to process the data, it obtains the data packets stored in the storage device SD card, performs a series of operations such as feature extraction and data analysis to determine the analysis conclusions of the sleep breathing data.
[0058] It should be noted that the above-mentioned device also includes a shell, the above-mentioned switch can be set on the above-mentioned shell, and the above-mentioned device is integrated in the shell, which may include the above-mentioned radar, controller, storage device, communication device, multiple antennas, mixer, sampling device, filter, amplifier, clock device, switch, register, transmission bus, dynamic random access memory and multiple devices, so that the above-mentioned devices can be integrated into one device for easy carrying.
[0059] The above-mentioned shell also only has indicator lights, a power supply, and a USB charging port. In one embodiment, the above-mentioned shell is 105mm long, 86mm wide, and 20mm high. When powered on, the power indicator light on the shell is always on. When no data is collected, the recording indicator light is off. Long press the collection button (that is, the above-mentioned switch) for 1S, the recording indicator light flashes, and the radar starts to collect data. Press the collection button again for 1S, the recording indicator light stops flashing, and the data is saved to the SD card under the device. When the program runs normally, the abnormal indicator light is off. When the SD card cannot be detected or the SD card memory is insufficient, the abnormal indicator light flashes. There is a USB socket on the side of the device, which is powered by USB. Therefore, the device works according to the switch control, and the working status of the device can be displayed by the indicator light.
[0060] According to an embodiment of the present invention, a method embodiment of a method for collecting sleep respiratory data 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.
[0061] Figure 2 FIG. 1 is a flow chart of a method for collecting sleep respiratory data according to an embodiment of the present invention. Figure 2 As shown, according to another aspect of an embodiment of the present invention, a method for collecting sleep respiratory data is also provided, and the method is applied to any one of the above-mentioned collection devices, comprising:
[0062] Step S202, sending a detection signal to the sleeping object via a radar, and receiving a feedback signal returned by the sleeping object;
[0063] Step S204, setting an interruption through the controller, and reading a breathing digital signal from the register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal by a mixer to obtain an echo difference frequency signal, and sampling the echo difference frequency signal by a sampling device;
[0064] Step S206, according to the radar waveform configuration parameters, the breathing digital signal is packaged to obtain a data packet;
[0065] Step S208, storing the data packet in the dynamic random access memory.
[0066] Through the above steps, a detection signal is sent to a sleeping object through a radar, and a feedback signal returned by the sleeping object is received; an interrupt is set through a controller, and a breathing digital signal is read from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal by a mixer to obtain an echo difference frequency signal, and the echo difference frequency signal is sampled by a sampling device; according to the waveform configuration parameters of the radar, the breathing digital signal is packaged to obtain a data packet; the data packet is stored in a dynamic random access memory, a detection signal is sent through a radar, and a feedback signal from the sleeping object is obtained, and the feedback signal is analyzed by the controller to obtain the breathing data of the sleeping object, thereby achieving the purpose of quickly and effectively detecting breathing data and contactlessly collecting breathing data, realizing the technical effect of improving the efficiency and convenience of breathing data collection, and avoiding the problem of easy falling off of electrode patches, thereby solving the technical problem that the sleep breathing detection method in the related art needs to rely on electrode patches, which is inconvenient to use, and the electrode patches are easy to fall off during the test, resulting in monitoring interruption.
[0067] The execution subject of the above steps can be a controller. The feedback signal collected by the radar is mixed by a mixer to obtain an echo difference frequency signal, and is sampled by a sampling device and stored in a register. The controller obtains data from the register by setting an interrupt to achieve the purpose of obtaining the radar feedback signal in real time. According to the radar waveform configuration parameters, such as frame rate, number of sampling points, transmission power, receiving power, terminal frequency, etc. The breathing digital signal in the register is packaged to obtain a data packet, which is stored in a dynamic random access memory, so that the controller can quickly obtain the corresponding data from the dynamic random access memory when processing data, so as to improve the efficiency of data processing.
[0068] Optionally, the method also includes: receiving a signal that the switch is turned on, starting to collect feedback signals from the radar, issuing a first prompt message, and starting to count a preset time; when a signal that the switch is turned off is received within the preset time, or the preset time is expired, stopping collecting feedback signals, resetting the timer, and issuing a second prompt message.
[0069] In response to the switch-on signal, the raw data collection begins, that is, the data of the radar feedback signal. The controller sets an interrupt to read the radar raw data from the register at a preset frequency, and reads the radar data of a preset number of frames each time. Each frame of data has 16 chirps, and each chirp has 208 sampling points. The data is packaged, specifically, the first 15 bytes are the header information, and the rest are the radar raw data. When the interrupt is entered again, the operation is repeated to write the data into the dynamic random access memory RAM of the memory SD card at one time.
[0070] After starting to collect data, set the variable to start timing. If the collection is not stopped halfway, the radar raw data of the above preset time (for example, 12 hours) will be collected. Set the collection light to flash once per second. When you see the light flashing, it means that the radar has started working and the raw data collection has begun. The program loop determines whether the user presses the collection button again. If it is pressed again, the device stops collecting data, the timer is reset, and the collection light goes out, which is the second prompt message mentioned above. The next time you press the collection button, the device will still collect 12 hours of data. The collection light goes out, and the user can tell whether the device has started working by the on and off of the collection light. When the program collects for 12 hours, the timer is reset and the collection light is turned off.
[0071] Specifically, storing the data packet in the dynamic random access memory includes: caching the data packet in the cache area of the dynamic random access memory, and using a clock device to check whether the data packet is the first data packet after the interruption set by the controller at a preset frequency; if the data packet is the first data packet after the interruption, writing the data packet into the dynamic random access memory, and adding a first identifier to the storage location of the data packet in the dynamic random access memory; if the data packet is not the first data packet after the interruption, writing the data packet into the dynamic random access memory, and adding a second identifier to the storage location of the data packet in the dynamic random access memory; and also includes: when writing the data packet into the dynamic random access memory, if the dynamic random access memory is in a read-write locked state, writing again after a preset time until the data packet is written into the dynamic random access memory.
[0072] The controller uses a timer (that is, the above-mentioned clock device) to store the grouped data packets in the cache area of the dynamic random access memory. The timer determines whether to write to the cache area at a preset frequency (for example, every 20 milliseconds). After entering the judgment, the function is called to write the packet data to the cache area, and the write cache area flag position is set to 1, that is, the first mark is added to the storage position of the data packet in the dynamic random access memory. When the interrupt execution processing function is executed, the write cache area flag position will be set to 0 after the packet is assembled, that is, the second mark is added to the storage position of the data packet in the dynamic random access memory. If the cache area is in a state of read-write lock when the cache area is written to a certain time, the cache area will be written again after a preset time (for example, 20ms). Avoid the problem of original data loss caused by the read-write lock. After the write is successful, the corresponding write index subscript is increased accordingly. If the write index subscript is about to exceed the maximum subscript of the cache area, the write index subscript is set to 0, and the next packet of data is stored at the beginning of the cache area. If the write data count is greater than the read data count, the read data condition is met at this time.
[0073] Optionally, the reading condition is that the write number of data packets is greater than the read number, and the dynamic random access memory is not full, wherein the write number of data packets is counted based on the position of the data packets, and when the write number reaches the maximum number of data packets in the dynamic random access memory, it is reset to zero and continues to accumulate, and the read number of data packets is based on the read index subscript of the dynamic random access memory, and each time a data packet is read from the dynamic random access memory, the read index subscript is increased by a preset value, and when the read number reaches the maximum number of data packets in the dynamic random access memory, it is reset to zero and continues to accumulate.
[0074] The controller reads the packet data from the dynamic random access memory and increases the corresponding read index subscript accordingly. If the read index subscript is about to exceed the maximum subscript of the dynamic random access memory cache area, the read index subscript is set to 0, and the data stored in the start position of the dynamic random access memory cache area will be read next time. Accumulate the read data count. The program judges the content of the dynamic random access memory cache area. If it meets the judgment conditions, it reads the dynamic random access memory data in sequence and writes the read data to the SD card. When reading and writing SD data for a long time, the SD card has unstable reading and writing speed. Therefore, after adding the dynamic random access memory cache area, the data can be written to the cache area first, and the acquisition of radar raw data and the writing of raw data to the SD card are performed asynchronously, which improves the stability of the program. By reading the RTC time of the clock device, the specific time of raw data acquisition can be accurately located to ensure that the radar raw data is written to the SD card in an orderly and real-time manner.
[0075] Optionally, the data packet is a target format data that can be directly called by the sleep breathing signal analysis system. The above sleep breathing signal analysis system is used to analyze the sleep breathing signal data to obtain analysis results. The above sleep breathing signal analysis system can be a matlab dynamic library, which is set on the host computer and directly calls the data packet in the target format in the dynamic random access memory SD card to analyze the data packet, thereby obtaining an analysis conclusion on whether the breathing is abnormal.
[0076] like Fig.13 , Fig.14 The following is the analysis result of sleep breathing signal analysis using matlab dynamic library in this embodiment. Specifically, the breathing data file with timestamp is saved to SD card, the time when breathing occurs is located according to the precise time provided by RTC, and the matlab dynamic library is called to analyze the breathing data to determine whether there is breathing abnormality such as apnea and hypopnea. Fig.15 is a schematic diagram of a sleep breathing report according to an embodiment of the present invention, such as Fig.15 As shown, the user's sleep breathing report is finally provided.
[0077] According to another aspect of an embodiment of the present invention, a sleep breathing data collection device is also provided, including: a sending module, used to send a detection signal to a sleeping object through a radar, and receive a feedback signal returned by the sleeping object; a reading module, used to set an interrupt through a controller, and read a breathing digital signal from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal with a mixer to obtain an echo difference frequency signal, and sampling the echo difference frequency signal with a sampling device; a packing module, used to pack the breathing digital signal according to the waveform configuration parameters of the radar to obtain a data packet; and a storage module, used to store the data packet in a dynamic random access memory.
[0078] 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 sleep breathing data collection methods is executed.
[0079] 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 executed, the device where the computer storage medium is located is controlled to execute any one of the above sleep breathing data collection methods.
[0080] It should be noted that this embodiment also provides an optional implementation, which is described in detail below.
[0081] This embodiment provides a respiratory data monitoring device, Figure 3 is a schematic diagram of a system structure according to an embodiment of the present invention. Figure 3 As shown, this embodiment is a portable and contactless respiratory detection device based on a radar with packaged antenna (Antenna-in-Package, AiP) technology, and the wavelength of the electromagnetic wave of the radar reaches the millimeter level. The monitoring device integrates an antenna, a baseband unit, a radar, and a main control MCU. This integration reduces the size of the device, making it very convenient for users to carry. This device can accurately collect the user's respiratory movements, respiratory frequency and other data without contact with the user through the transmission and reception waveforms of the millimeter wave radar. The MCU controls the ADC data collected by the radar and saves the data to the SD card. The user uses a mobile phone applet to connect to Bluetooth, configures the real-time time to the RTC clock, and determines the time point of the original data in the SD card through the RTC time. The host computer reads the SD card data and diagnoses chronic respiratory diseases through algorithm analysis of the original data.
[0082] Theoretical analysis of implementation methods:
[0083] This embodiment provides a portable and contactless respiratory data monitoring device based on AiP antenna radar. 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 antenna of this device adopts 1-transmit 3-receive mode, TX1 sends RF signals, and the data of receiving antennas RX1 and RX2 and the data of receiving antennas RX1 and RX3 can be compared to distinguish the omnidirectional changes of the chest cavity when the user breathes. The radar sends radar signals through the RF module to detect breathing movements, and then receives the echo signal at the radar receiving end, and mixes the received radar echo signal with the transmitted signal to obtain the echo difference frequency signal.
[0084] The system saves the data in real time and in order to the dynamic random access memory SDRAM according to the radar receiving and transmitting timing, counts the number of saves, and reads and writes the data to the SD card when the program detects that there is data in the SDRAM, which avoids the problem of radar raw data loss when the SD card writing speed slows down. To ensure the stability and real-time performance of the program, the raw data is finally stored in the SD card, and the raw data content is analyzed by software to obtain the diagnosis result of the user's breathing data.
[0085] Figure 5 is a schematic diagram of a radar receiving antenna configuration according to an embodiment of the present invention, such as Figure 5 As shown in the figure, the radar receiving end of the device receives the radar echo signal reflected by the user's breathing, converts the RF signal into an intermediate frequency signal through a mixer, and samples it after passing through a two-stage high-pass filter and a variable gain amplifier. The obtained breathing digital signal is saved in the memory, and the MCU operates the memory data and saves the data to the SD card.
[0086] Figure 6is a schematic diagram of a radar waveform configuration according to an embodiment of the present invention, such as Figure 6 The radar waveform configuration of this embodiment is shown in FIG. The radar transmits a frequency modulated continuous wave (FMCW) with a starting frequency of 58 GHz, a cutoff frequency of 61.21 GHZ, a rising edge frequency modulation slope of 15 MHz / us, and a duration of 214 us. The falling edge duration is 38 us, the rest time is 50 us, the frame sampling frequency is 50 Hz, and the ADC sampling frequency is 1 MHz.
[0087] Figure 7 Schematic diagram of radar hardware structure according to an embodiment of the present invention. Figure 7 As shown in the figure, the hardware structure block diagram of the front and back of this device is that this device is powered by a USB port. The MCU reads the high and low levels of the DIP switch to configure different radar frequencies. The user uses the mobile app to connect to Bluetooth and calibrate the RTC clock time. When the button is pressed, the acquisition light starts flashing, and the radar starts to collect the user's breathing feature data and send it to the MCU. The MCU reads the RTC time to generate a save file and saves the original data to the SD card;
[0088] Figure 8 Schematic diagram of radar structure design according to an embodiment of the present invention. Figure 8 As shown in the figure, the structural design of this device is 105mm long, 86mm wide and 20mm high. When the device is powered on, the power light is always on. When no data is collected, the recording light is off. Press and hold the collection button for 1S, the recording light flashes, and the radar starts to collect data. Press the collection button for 1S again, the recording light stops flashing, and the data is saved to the SD card under the device. When the program runs normally, the abnormal light is off. When the SD card cannot be detected or the SD card memory is insufficient, the abnormal light flashes. There is a USB socket on the side of the device, and this device uses USB for power supply.
[0089] Fig. 9 is a flow chart of data processing according to an embodiment of the present invention. Fig. 9 As shown in the figure, the radar data flow of this device is as follows. The radar obtains the user's breathing feature data through the AiP antenna and stores the data in the FIFO register. Each register stores two ADC data. The device sends the data to the MCU through the SPI bus and stores it in an array of uint8 type. The MCU assembles the data according to the radar configuration information and the raw data read from the FIFO. The data is stored in DDR and the write DDR variable is accumulated; the data is repeatedly assembled according to the IRQ interrupt processing function, and the data packets are stored in the DDR in an orderly manner. When the write DDR timing is greater than the read DDR count and the DDR is not full, the DDR data is read to the SD card, and the SD card data is read using software for fast time processing. Feature points are extracted, phase extraction is performed, and the conclusion of breathing analysis is drawn.
[0090] Fig.10 is a flow chart of data collection according to an embodiment of the present invention, such as Fig.10 As shown, the specific implementation process of the system is as follows:
[0091] Step S1, after the device is powered on, the program is initialized, and the radar parameters are configured through the API. The radar configuration parameters are modified through the macro to a frame rate of 50Hz, 1 chirp per frame, 208 sampling points, Rx3 transmit power of 31db, and Tx receive power of 33db. The IRQ interrupt trigger frequency is configured to 80hz. The SDRAM memory is configured to 8MB, and the key press detection frequency is 50hz.
[0092] Step S2: The user runs the RTC applet on the mobile phone, searches and connects to Bluetooth, clicks the configure time button, and Bluetooth sends the acquired Beijing time to the device. The device receives the time information and enters step S2. The program configures the time to RTC, then reads the time from RTC and returns the time information to the mobile applet via Bluetooth. Purpose
[0093] Step S3, Fig.11 is a flow chart of operating a data acquisition device to collect data according to an embodiment of the present invention, such as Fig.11 As shown, the program determines whether the acquisition button is pressed. If the button is pressed for less than 1 second, step S31 will not be entered. The purpose of this design is to prevent shaking and avoid the user from accidentally pressing the button.
[0094] Step S31, the program starts to collect raw data. The MCU sets an interrupt to read the radar raw data from the radar FIFO every 80ms. Each time, 4 frames of radar data are read. Each frame of data has 16 chirps, and each chirp has 208 sampling points. The data is packaged, and the first 15 bits are the header information, and the rest are the radar raw data. When the interrupt is entered again, the step S4 operation is repeated to write the data into the SDRAM once.
[0095] Step S32: After the device starts collecting data, set the variable to start timing. If the collection is not stopped halfway, 12 hours of radar raw data will be collected. Set the collection light to flash once per second. When the user sees the light flashing, it means that the radar has started working and raw data collection has begun.
[0096] Step S33, the program loop determines whether the user presses the collection button again. If the user presses the button again, the device stops collecting data and the timer is reset. The next time the collection button is pressed, the device will still collect 12 hours of data. The collection light goes out, and the user can know whether the device has started working by the on and off of the collection light. When the program collects data for 12 hours, the timer is reset and the collection light is turned off.
[0097] Step S4, store the packet in the SDRAM buffer area and count the write data.
[0098] Fig.12 is a flow chart of storing collected data according to an embodiment of the present invention, such as Fig.12 As shown, step S41 queries whether the acquisition button is pressed every 20ms through a timer. If the button is pressed for 1s, step S42 is entered.
[0099] Step S42, MCU uses TIME4 timer to store the package data in the cache area of dynamic random access memory DDR. TIME4 timer judges whether to write to DDR every 20 milliseconds. After entering the judgment, call the function to write the package data to DDR, and set the write DDR flag position to 1. When the IRQ interrupt executes the processing function, the write DDR flag position will be 0 after the package is assembled. If DDR is in the state of read-write lock when writing to DDR, it will write to DDR again after 20ms. Avoid the problem of original data loss caused by read-write lock. After writing successfully, the corresponding write index subscript is increased accordingly. If the write index subscript is about to exceed the maximum subscript of the DDR cache area, the write index subscript is set to 0, and the next package of data is stored at the beginning of DDR. If the write data count is accumulated by 0 and the write data count is greater than the read data count, the read data condition is met at this time, and step S43 is entered.
[0100] Step S43, MCU reads the packet data from DDR, and increases the corresponding read index subscript accordingly. If the read index subscript is about to exceed the maximum subscript of the DDR cache area, the read index subscript is set to 0, and the data stored at the start position of the DDR will be read next time. Accumulate the read data count. The program judges the content of the SDRAM cache area, and when it meets the judgment of reading SDRAM data and writing SD card, reads SDRAM data in sequence, and writes the read data to the SD card. When reading and writing SD data for a long time, the SD card has an unstable reading and writing speed. Therefore, after adding the SDRAM cache area, the data can be written to the cache area first, and the acquisition of radar raw data and the writing of raw data to the SD card are asynchronously performed to improve the stability of the program. By reading the RTC time, the specific time of raw data acquisition can be accurately located to ensure that the radar raw data is written to the SD card in an orderly and real-time manner.
[0101] The program sets the parameters related to writing to the SD card, creates and opens a file in the SD card, and names the file month-day__hour-minute-second-UID.dat, and data collection begins. When analyzing the data, the time of each respiratory movement can be accurately located based on the data in the file name and the number in the header information.
[0102] Step S5: The host computer reads the original data from the SD card. Fig.13is a schematic diagram of raw data collected by a radar according to an embodiment of the present invention, such as Fig.13 As shown, the raw data is collected using the device read by the software. 10,000 frames of data are displayed in a sliding window manner, and the number of fast time sampling points and the raw data values are displayed in the graph.
[0103] Fig.14 is a schematic diagram of raw data analysis according to an embodiment of the present invention, such as Fig.14 As shown, the software is used to read the raw data for fast time processing, extract feature points, extract phases, and derive the apnea phenomenon that occurs during user use based on the analysis results.
[0104] This implementation provides a low-cost, low-power, high-real-time, and highly integrated device for recording and diagnosing chronic respiratory diseases. The millimeter-wave radar system is used to detect respiratory movements, which is contactless and non-perceptible to the user, and the calculated respiratory movements, breathing depth and other information are highly accurate.
[0105] The millimeter-wave radar system integrated using AIP technology is small in size, low in power consumption, easy to carry and easy to operate; the non-contact and non-sensing nature is conducive to long-term use by users and the most realistic breathing data can be collected; it is less affected by factors such as the user's turning over and moving during sleep, which is conducive to obtaining correct data for analysis and diagnosis; the antenna characteristics are less affected by external forces and can maintain good data collection effects over a longer period of use.
[0106] 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.
[0107] 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.
[0108] 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.
[0109] 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.
[0110] 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.
[0111] 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.
[0112] 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 device for collecting sleep respiratory data, characterized in that: include: Radar, controller, storage device, communication equipment, The radar is connected to the controller, and is used to transmit a detection signal to the sleeping object to be detected according to the control instruction of the controller, and receive a feedback signal returned by the sleeping object; The controller is used to receive the feedback signal received by the radar and process the feedback signal; The storage device is connected to the controller and is used to store the signal data processed by the controller; The communication device is connected to the controller and is used to send the processed signal data; The controller is further configured to perform the following steps: An interrupt is set, and a breathing digital signal is read from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal by a mixer to obtain an echo difference frequency signal, and the echo difference frequency signal is sampled by a sampling device; according to the waveform configuration parameters of the radar, the breathing digital signal is packaged to obtain a data packet; the data packet is cached in a cache area of a dynamic random access memory, and a clock device is used to determine whether the data packet is the first data packet after the interrupt set by the controller at a preset frequency; if the data packet is the first data packet after the interrupt, the data packet is written into the dynamic random access memory, and a first mark is added to the storage position of the data packet in the dynamic random access memory; if the data packet is not the first data packet after the interrupt, the data packet is written into the dynamic random access memory, and a second mark is added to the storage position of the data packet in the dynamic random access memory; wherein, when the controller writes the data packet into the dynamic random access memory, if the dynamic random access memory is in a read-write lock state, it is written again after a preset time until the data packet is written into the dynamic random access memory.
2. The collection device according to claim 1, characterized in that: The radar includes a plurality of antennas, and the radar is used to collect the breathing data of the sleeping object in a non-contact manner using the plurality of antennas; The plurality of antennas include at least three receiving antennas and at least one transmitting antenna; The at least three receiving antennas include at least a first receiving antenna, a second receiving antenna and a third receiving antenna, wherein a line connecting the second receiving antenna and the first receiving antenna is perpendicular to a line connecting the third receiving antenna and the first receiving antenna.
3. The collection device according to claim 1, characterized in that: Also includes mixers, sampling equipment, The input end of the mixer is connected to the output end of the radar, and is used to perform mixing processing on the feedback signal received by the radar and the detection signal sent by the radar to obtain an intermediate frequency echo difference frequency signal; The input end of the sampling device is connected to the output end of the mixer, and the output end of the sampling device is connected to the controller. The sampling device is used to sample the echo difference frequency signal to obtain a breathing digital signal.
4. The collection device according to claim 3, characterized in that: Also includes filters and amplifiers, The input end of the filter is connected to the output end of the mixer, the input end of the amplifier is connected to the output end of the filter, and the output end of the amplifier is connected to the input end of the sampling device.
5. The collection device according to claim 4, characterized in that: Also includes clockwork, switches, The switch is connected to the controller and is used to control the controller to work, and the work at least includes controlling the radar to transmit detection signals of different frequencies; The clock device is connected to the controller and is used to provide clock calibration for the controller.
6. The collection device according to claim 5, characterized in that: It also includes registers, transmission buses, The input end of the register is connected to the output end of the sampling device, and the output end of the register is connected to the controller, and is used to store the breathing digital signal of the sampling device, and after storing a preset amount of breathing digital signal, send the stored breathing digital signal to the controller; One end of the transmission bus is connected to the output end of the register, and the other end of the transmission bus is connected to the controller, and is used to transmit the respiratory digital signal stored in the register to the controller.
7. The collection device according to claim 6, characterized in that: The dynamic random access memory is also used to count the reading and writing of stored data. When the number of writes is greater than the number of reads and the dynamic random access memory is not full, the data packets stored in the dynamic random access memory are stored in the storage device.
8. A method for collecting sleep breathing data, characterized in that: The method is applied to the collection device described in any one of claims 1 to 7, comprising: Sending a detection signal to a sleeping object through a radar, and receiving a feedback signal returned by the sleeping object; An interrupt is set by a controller to read a breathing digital signal from a register at a preset frequency, wherein the breathing digital signal is obtained by mixing the detection signal and the feedback signal by a mixer to obtain an echo difference frequency signal, and sampling the echo difference frequency signal by a sampling device; According to the waveform configuration parameters of the radar, the breathing digital signal is packaged to obtain a data packet; storing the data packet in a dynamic random access memory; Wherein, in the process of storing the data packet in the dynamic random access memory, the method for collecting sleep respiration data further includes: Cache the data packet in the cache area of the dynamic random access memory, and determine whether the data packet is the first data packet after the interruption set by the controller by a clock device at a preset frequency; If the data packet is the first data packet after the interruption, write the data packet into the dynamic random access memory, and add a first identifier to the storage location of the data packet in the dynamic random access memory; If the data packet is not the first data packet after the interruption, writing the data packet into the dynamic random access memory, and adding a second identifier to the storage location of the data packet in the dynamic random access memory; The method further includes: when writing the data packet into the dynamic random access memory, if the dynamic random access memory is in a read-write lock state, writing again after a preset time until the data packet is written into the dynamic random access memory.
9. The method according to claim 8, characterized in that The method further comprises: receiving a switch-on signal, starting to collect feedback signals from the radar, issuing a first prompt message, and starting to count a preset time; When the switch is turned off within the preset time or the preset time is expired, the feedback signal is stopped from being collected, the time is reset to zero, and a second prompt message is issued.
10. The method according to claim 8, characterized in that The read condition is that the write quantity of the data packet is greater than the read quantity, and the dynamic random access memory is not full. The number of writes of the data packet is counted based on the position of the data packet, and when the number of writes reaches the maximum number of data packets of the dynamic random access memory, it is reset to zero and continues to accumulate, wherein the position of the data packet is represented by the write index subscript corresponding to the data packet in the dynamic random access memory; The number of data packets read is based on the read index subscript of the dynamic random access memory. Each time a data packet is read from the dynamic random access memory, the read index subscript is increased by a preset value. When the number of reads reaches the maximum number of data packets in the dynamic random access memory, it is reset to zero and continues to accumulate.
11. The method according to any one of claims 8 to 10, characterized in that The data packet is target format data that can be directly called by the sleep breathing signal analysis system.
Citation Information
Patent Citations
SDRAM (synchronous dynamic random access memory) controller and operating method for same
CN102521175A
Non-contact type gesture recognition system and method based on continuous-wave micro-Doppler radar
CN105786185A
Verification method of high-speed digital-analog hybrid circuit of radar signal processor
CN106406286A
Stream data and AXI interface communication device
CN109412914A
Cell analyzer capable of synchronously storing paths of pulse data and control method of cell analyzer
CN109946216A
