A sputum excretion machine control method, device and medium
By automatically adjusting the vibration intensity of the sputum suction machine by monitoring the respiratory rate, the problem of existing sputum suction machines requiring full-time monitoring by medical staff is solved, ensuring patient safety and reducing the use of human resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2026-03-27
AI Technical Summary
Existing sputum suction machines require constant monitoring by medical staff during use, which affects patient safety, and improper vibration frequency may threaten the patient's life.
By monitoring the user's respiratory rate, the vibration intensity of the sputum expectoration machine is automatically adjusted. The total pressure data and vibration data are obtained using a pressure sensor, and the respiratory fluctuation pressure is analyzed to adjust the vibration intensity of the vibration motor.
It enables automatic adjustment of vibration intensity without requiring constant monitoring by medical staff, ensuring patient safety and reducing the need for human resources.
Smart Images

Figure CN116725845B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of automation equipment, in particular to a sputum excretion machine control method, device and medium. BACKGROUND
[0002] The sputum excretion machine is a machine that loosens sputum through vibration to facilitate coughing. Currently, the sputum excretion machine outputs a vibration signal with a fixed frequency and intensity set by an operator. After the patient wears the vibration vest, the patient changes the gas pressure in the vibration vest by inflation to generate a vibration pressure on the patient's chest, thereby assisting the patient in sputum excretion.
[0003] Since the sputum excretion machine is mostly used for patients who have difficulty in self-sputum excretion, most of these patients are weak and have weak resistance to external forces. Since the vibration frequency of the sputum excretion machine is high, much higher than the breathing frequency, if the vibration frequency of the sputum excretion machine is not properly set, it may affect the patient's breathing, and even threaten the patient's life safety. The common practice is that the medical staff monitors the patient's use of the sputum excretion machine at all times, observes the patient's state in real time, and takes measures according to the patient's reaction.
[0004] Therefore, it is an urgent technical problem for those skilled in the art to provide a sputum excretion machine that automatically adjusts the vibration intensity by monitoring the breathing frequency of the user, thereby reducing the care of medical staff. SUMMARY
[0005] The purpose of the present application is to provide a sputum excretion machine control method, device and medium to solve the problem of needing medical staff to monitor the patient's use of the sputum excretion machine at all times.
[0006] To solve the above technical problems, the present application provides a sputum excretion machine control method, comprising:
[0007] controlling the vibration motor to operate according to an initial vibration intensity and a preset vibration frequency;
[0008] obtaining real-time total pressure data of the inflatable air cavity;
[0009] obtaining vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency;
[0010] obtaining breathing fluctuation pressure data from the total pressure data and the vibration data;
[0011] obtaining the breathing frequency by analyzing the breathing fluctuation pressure data;
[0012] adjusting the vibration intensity of the vibration motor according to the breathing frequency.
[0013] On the other hand, the above sputum excretion machine control method obtains real-time total pressure data of the inflatable air cavity, comprising:
[0014] According to a preset acquisition frequency, total pressure data of the air pressure sensor is acquired, wherein the air pressure sensor is used for monitoring air pressure intensity in the air-filled cavity;
[0015] The total pressure data is stored in a first-in-first-out buffer area.
[0016] On the other hand, the sputum excretion machine control method, based on a preset vibration frequency, acquires vibration data generated by the vibration motor from the total pressure data, comprising:
[0017] Every preset period, the total pressure data stored in the first-in-first-out buffer area is subjected to FFT conversion based on the preset vibration frequency, to obtain vibration data including vibration amplitude and vibration phase angle.
[0018] On the other hand, the sputum excretion machine control method, according to the total pressure data and the vibration data, obtains respiratory fluctuation pressure data, comprising:
[0019] According to the vibration amplitude and the vibration phase angle, vibration pressure data is obtained;
[0020] According to the difference between the total pressure data and the vibration pressure data, respiratory fluctuation pressure data is obtained.
[0021] On the other hand, the sputum excretion machine control method, by analyzing the respiratory fluctuation pressure data, obtains a respiratory frequency, comprising:
[0022] Each peak and trough in the respiratory fluctuation pressure data is determined;
[0023] According to each peak and trough and the preset acquisition frequency, the respiratory frequency is obtained.
[0024] On the other hand, the sputum excretion machine control method, controls the vibration motor to operate at an initial vibration intensity and a preset vibration frequency, comprising:
[0025] The vibration motor operates at the initial vibration intensity and the preset vibration frequency for a preset test time;
[0026] Correspondingly, the vibration intensity of the vibration motor is adjusted according to the respiratory frequency, comprising:
[0027] It is judged whether the change of the respiratory frequency exceeds a preset fluctuation percentage within the preset test time;
[0028] If it exceeds, the vibration intensity is reduced to the last setting data;
[0029] If it does not exceed, the vibration intensity is continuously increased, and the step of judging whether the change of the respiratory frequency exceeds the preset fluctuation percentage is returned to, until the preset maximum vibration intensity is reached.
[0030] On the other hand, the sputum excretion machine control method, the vibration intensity is increased, comprising:
[0031] acquire a preset cumulative intensity;
[0032] obtain a next-stage vibration intensity according to a sum of the current vibration intensity and the preset cumulative intensity;
[0033] control the vibration motor to operate according to the next-stage vibration intensity.
[0034] To solve the above technical problems, the application further provides a sputum excretion machine control device, comprising:
[0035] a control module, configured to control the vibration motor to operate according to the initial vibration intensity and the preset vibration frequency;
[0036] a first acquisition module, configured to acquire real-time pressure data of the inflation air cavity;
[0037] a second acquisition module, configured to acquire vibration data generated by the vibration motor from the pressure data according to the preset vibration frequency;
[0038] a calculation module, configured to obtain breathing fluctuation pressure data of the user according to the pressure data and the vibration data;
[0039] an inference module, configured to obtain the breathing frequency by analyzing the breathing fluctuation pressure data;
[0040] an adjustment module, configured to adjust the vibration intensity of the vibration motor according to the breathing frequency.
[0041] To solve the above technical problems, the application further provides a sputum excretion machine control device, comprising:
[0042] a memory, configured to store a computer program;
[0043] a processor, configured to execute the computer program to realize the steps of the sputum excretion machine control method.
[0044] To solve the above technical problems, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the sputum excretion machine control method.
[0045] The sputum excretion machine control method provided in the application controls the vibration motor to operate according to the initial vibration intensity and the preset vibration frequency; real-time total pressure data of the inflation air cavity is acquired; vibration data generated by the vibration motor is acquired from the total pressure data based on the preset vibration frequency; respiratory fluctuation pressure data is obtained according to the total pressure data and the vibration data; the respiratory frequency is obtained by analyzing the respiratory fluctuation pressure data; and the vibration intensity of the vibration motor is adjusted according to the respiratory frequency. Since the pressure of the inflation air cavity is the superimposed result of the pressure change generated by the vibration motor and the pressure change generated by the human body due to respiration, the respiratory fluctuation pressure data can be obtained by the difference between the real-time total pressure data of the inflation air cavity and the vibration data generated by the vibration motor. Further, the respiratory frequency of the user is obtained by analyzing the respiratory fluctuation pressure data, and the vibration intensity can be adjusted by the respiratory frequency, so that the respiratory frequency of the patient is detected in real time while the vibration sputum is excreted, the vibration intensity is automatically adjusted when the patient's respiration is found to be abnormal, the safety of the patient is ensured, and the staff does not need to monitor the respiratory frequency of the user to set the sputum excretion machine.
[0046] In addition, the application also provides a device and a medium corresponding to the above method, and the effects are the same as above. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0048] Figure 1 It is a structural schematic diagram of a sputum excretion machine;
[0049] Figure 2 It is a flowchart of a sputum excretion machine control method provided in the embodiments of the application;
[0050] Figure 3 It is a structural diagram of a sputum excretion machine control device provided in the embodiments of the application;
[0051] Figure 4 It is another structural diagram of a sputum excretion machine control device provided in the embodiments of the application. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only some of the embodiments of the application, not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.
[0053] The core of the present application is to provide a sputum excretion machine control method, device and medium.
[0054] In order to enable the person skilled in the art to better understand the present application scheme, the present application will be further described in detail below in combination with the drawings and specific embodiments.
[0055] Most of the sputum excretion machines on the market currently generate vibration through a vibration motor 12, instead of traditional manual chest percussion, tremor, and directional extrusion for body position drainage. Long-term retention in the lungs or deeper fluid can be drained through multi-directional vibration, extrusion, and directional liquid guidance, so that sputum is excreted outside the body.
[0056] The sputum excretion machine to which the present application is applied is a vest type sputum excretion machine, as shown in Figure 1 The main control unit 11, the vibration motor 12, the inflation motor 13, the vibration vest 14, and the pneumatic structure 15. The vibration vest 14 is an inflatable sheath. After the patient wears the vibration vest 14 on the body, the gas pressure in the vibration vest 14 is changed by inflation, thereby generating a vibration pressure on the patient's chest cavity, thereby assisting the patient in excreting sputum. The pneumatic structure 15 can connect the inflation motor 13 and the vibration vest 14 to inflate the air cavity, and simultaneously connect the rotor of the vibration motor 12 to generate a corresponding frequency vibration action according to the rotation of the vibration motor 12, and complete the vibration action of the vibration vest connected with the inflation motor 13. Under normal circumstances, it also includes a gas pressure sensor 16 connected with the trachea and the vibration vest 14, which can detect the gas pressure in the vibration vest 14 in real time. The present application is applied to this type of sputum excretion machine, and does not limit the specific structure and equipment model and circuit structure; but is not limited to the structure mentioned above, and can include other circuit structures, such as a human-computer interaction interface, for an operator to set relevant parameters through the human-computer interaction interface.
[0057] Due to the large difference in patient constitution, if the sputum excretion machine parameters are not properly set, it not only cannot well assist in sputum excretion, but also affects the normal breathing of the patient, and even endangers the life of the patient. Therefore, at present, medical staff need to participate in the whole process when excreting sputum for the patient, and take timely measures according to the patient's condition.
[0058] In order to solve the problem that medical staff need to monitor the use state of the sputum excretion machine throughout the process, the present embodiment provides a sputum excretion machine control method, as shown in Figure 2 The method comprises the following steps.
[0059] S21: controlling the vibration motor to operate according to the initial vibration intensity and the preset vibration frequency;
[0060] S22: acquiring real-time total pressure data of the inflation air cavity;
[0061] S23: acquiring vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency;
[0062] S24: obtaining breathing fluctuation pressure data according to the total pressure data and the vibration data;
[0063] S25: obtaining the breathing frequency by analyzing the breathing fluctuation pressure data;
[0064] S26: adjusting the vibration intensity of the vibration motor according to the breathing frequency.
[0065] It should be noted that the vibration mechanism mentioned in the embodiments of the present application is to realize air vibration by reciprocating movement of the diaphragm driven by the crankshaft of the motor, so the pressure value waveform generated by the vibration mechanism alone collected by the pressure sensor is a sine wave.
[0066] In addition, the normal breathing frequency of the human body is about 16-21 times per minute. When exhaling, the chest cavity gas is discharged in a short time, and the volume of the chest cavity squeezed by the sputum excretion vest is reduced, so the pressure is reduced. Conversely, when the human body normally inhales, the volume of the chest cavity squeezed by the sputum excretion vest is increased due to inflation of the chest cavity, so the pressure is increased. The pressure change waveform caused by normal breathing of the human body is a square wave waveform.
[0067] Therefore, the pressure of the inflation air cavity monitored by the air pressure sensor 16 is the superposition result of the pressure change generated by the vibration motor 12 and the pressure change caused by breathing of the human body. The breathing fluctuation pressure data is obtained according to the total pressure data and the vibration data in the embodiments, so as to obtain the breathing frequency, and the vibration intensity of the vibration motor 12 can be adjusted according to the breathing frequency.
[0068] Step S21 controls the vibration motor 12 to operate at an initial vibration intensity and a preset vibration frequency. The initial vibration intensity is a preset intensity, which can make the user feel the pressure, but not dangerous. The initial vibration intensity can be set according to actual experience, and the embodiments of the present application do not make specific limitations. In the specific working process, the specific vibration intensity can be set, or the vibration intensity range can be set to represent the vibration intensity to be operated in percentage. The preset vibration frequency mentioned in the embodiments usually refers to a fixed frequency. In a treatment cycle, the vibration motor 12 usually operates at a vibration frequency. The embodiments of the present application do not limit the specific preset vibration frequency value, which can be set according to actual needs.
[0069] Step S22 obtains the real-time total pressure data of the inflation air cavity, which refers to obtaining the total pressure value of the inflation air cavity of the superposition result of the pressure change generated by the vibration motor 12 and the pressure change caused by breathing of the human body. The embodiments of the present application do not limit how to obtain the total pressure data, for example, the total pressure data can be measured by a pressure gauge or a handheld pressure gauge, which can be set according to actual environmental needs.
[0070] Step S23 obtains the vibration data generated by the vibration motor 12 from the total pressure data based on the preset vibration frequency; since the preset vibration frequency is preset, the vibration data generated by the vibration motor 12, i.e. the pressure data generated by the vibration motor 12, can be extracted from the total pressure data through the known preset vibration frequency.
[0071] Step S24 obtains the respiratory fluctuation pressure data according to the total pressure data and the vibration data; according to the total pressure data obtained by superimposing the pressure change generated by the vibration motor 12 and the pressure change generated by the human body due to respiration, and the vibration data generated by the vibration motor 12, the pressure data generated by respiration can be obtained through the difference.
[0072] Step S25 obtains the respiratory frequency by analyzing the respiratory fluctuation pressure data; when exhaling, the chest cavity gas is discharged in a short time, the volume of the chest cavity squeezed by the sputum excretion vest is reduced, and the pressure is reduced. Conversely, when the human body normally inhales, the volume of the chest cavity squeezed by the sputum excretion vest is increased due to the inflation of the chest cavity, and the pressure is increased. The pressure change waveform caused by normal human respiration is a square wave waveform. Through the fluctuation analysis of the respiratory fluctuation pressure data, the specific respiratory action can be obtained, so as to further obtain the respiratory frequency of the user.
[0073] Step S26 adjusts the vibration intensity of the vibration motor 12 according to the respiratory frequency; the vibration intensity of the vibration motor 12 is adjusted through the respiratory frequency of the user, which guarantees the safety of the patient and reduces the on-duty task amount of the medical staff. The specific adjustment method is not limited in the embodiment, for example, whether to increase the vibration intensity of the vibration motor is determined by judging the change size of the respiratory frequency, or whether to increase the vibration intensity of the vibration motor is determined according to whether the respiratory frequency exceeds the preset threshold value, which can be set according to the actual needs.
[0074] The sputum excretion machine control method provided in the embodiment controls the vibration motor to operate according to the initial vibration intensity and the preset vibration frequency; real-time total pressure data of the inflation air cavity is acquired; vibration data generated by the vibration motor is acquired from the total pressure data based on the preset vibration frequency; respiratory fluctuation pressure data is obtained according to the total pressure data and the vibration data; the respiratory frequency is obtained by analyzing the respiratory fluctuation pressure data; and the vibration intensity of the vibration motor is adjusted according to the respiratory frequency. Since the pressure of the inflation air cavity is the superimposed result of the pressure change generated by the vibration motor and the pressure change generated by the human body due to respiration, the respiratory fluctuation pressure data can be obtained by the difference between the real-time total pressure data of the inflation air cavity and the vibration data generated by the vibration motor. Further, the respiratory frequency of the user is obtained by analyzing the respiratory fluctuation pressure data, and the vibration intensity can be adjusted by the respiratory frequency. The respiratory frequency of the patient is detected in real time while the vibration sputum is excreted, and the vibration intensity is automatically adjusted when the respiratory frequency is detected when the patient's respiration is found to be abnormal, thereby ensuring the safety of the patient and eliminating the need for a staff member to monitor the respiratory frequency of the user to set the sputum excretion machine.
[0075] According to the above embodiment, in another embodiment, the sputum excretion machine control method acquires real-time total pressure data of the inflation air cavity, including:
[0076] The total pressure data of the air pressure sensor 16 is acquired according to the preset acquisition frequency, wherein the air pressure sensor 16 is used to monitor the air pressure intensity in the inflation air cavity.
[0077] The total pressure data is stored in the first-in first-out buffer area.
[0078] The air pressure sensor 16 mentioned in the embodiment refers to a sensor used to measure the air pressure intensity in the inflation air cavity; the preset acquisition frequency mentioned in the embodiment refers to the frequency of acquiring real-time total pressure data of the inflation air cavity, which can be executed by setting a timer. The embodiment does not limit the specific value of the preset acquisition frequency, which can be set according to actual needs. For example, after the device starts to run, the system starts the timer, the preset acquisition frequency is 256 Hz (i.e. 256 times of acquisition per second), and the real-time data of the air pressure sensor 16 is acquired once in the timer interrupt function after the timer time.
[0079] First In First Out (FIFO) is also known as first-in first-out buffer or queue, which refers to a storage structure based on the order of data storage and reading in memory. In the field of computers, FIFO usually represents an ordered buffer, and the data in the buffer is arranged in the order of input, that is, the first data enters the first data. Such a data structure can be used to cache data and coordinate communication between two threads of different speeds, and maintain stable data transmission rate. For example, after the timer time, the real-time data of the air pressure sensor 16 is collected once in the timer interrupt function, and the real-time data is put into a FIFO buffer, for example, the cache depth is 256 points.
[0080] Through the scheme provided by the embodiment, real-time monitoring data is not required, resource running occupation is reduced, and it is ensured that the data in the first-in first-out cache area is the latest data.
[0081] According to the above embodiment, in another embodiment, the vibration data generated by the vibration motor is obtained from the total pressure data based on the preset vibration frequency, comprising:
[0082] Every preset period, the total pressure data stored in the first-in first-out cache area is subjected to FFT conversion based on the preset vibration frequency, to obtain vibration data including vibration amplitude and vibration phase angle.
[0083] In addition, the respiratory fluctuation pressure data is obtained according to the total pressure data and the vibration data, comprising:
[0084] The vibration pressure data is obtained according to the vibration amplitude and the vibration phase angle;
[0085] The respiratory fluctuation pressure data is obtained according to the difference between the total pressure data and the vibration pressure data.
[0086] The Fast Fourier Transform (FFT) conversion of the total pressure data stored in the first-in first-out cache area based on the preset vibration frequency every preset period mentioned in the embodiment refers to the conversion of the data in the first-in first-out cache area every preset period, rather than real-time conversion, to reduce resource running occupation. For example, the FFT operation is operated once every 500ms. Since normal human body breathing is completed once in about several seconds. FFT operation 500ms running once is enough to distinguish the pressure change value generated by human body breathing. Too dense FFT operation will only increase the burden of the system, and too long operation period is not easy to accurately calculate the breathing frequency.
[0087] FFT is an important digital signal processing tool, which can convert time domain signal into frequency domain signal to facilitate the analysis and processing of the signal. FFT algorithm is actually a fast method to calculate the Discrete Fourier Transform (DFT), which decomposes the original signal into multiple complex sinusoidal wave forms of oscillation functions to obtain the frequency spectrum information of the signal in the frequency domain.
[0088] In the embodiment, the vibration data including vibration amplitude and vibration phase angle is obtained by FFT. Since the pressure value change model generated by the vibration motor 12 can be approximately considered as a sine wave form, the true amplitude is equal to the vibration amplitude multiplied by the cosine value of the vibration phase angle calculated by FFT. The true amplitude is the pressure value generated by the vibration motor 12. The vibration pressure data in the form of pressure can be directly obtained; and the respiratory fluctuation pressure data is further obtained according to the difference between the total pressure data and the vibration pressure data.
[0089] According to the above embodiment, in another embodiment, the respiratory frequency is obtained by analyzing the respiratory fluctuation pressure data, including:
[0090] determining each peak and valley in the respiratory fluctuation pressure data;
[0091] obtaining the respiratory frequency according to each peak and valley and a preset acquisition frequency.
[0092] Since the human respiratory frequency is very low, and we are interested in the respiratory frequency, the slow edges of the waveform caused by the exhalation and inhalation process will not affect the calculation of the respiratory frequency. Through the above described principle, the data collected from the air pressure sensor 16 is subtracted by the component generated by the vibration device, which is the component generated by the respiration. Since the pressure change waveform generated by the respiration is a square wave signal, the respiratory frequency can be calculated by searching each peak and valley in the respiratory fluctuation pressure data.
[0093] According to the above embodiment, in another embodiment, the vibration motor 12 is controlled to operate at an initial vibration intensity and a preset vibration frequency, including:
[0094] operating at the initial vibration intensity and the preset vibration frequency for a preset test time;
[0095] Correspondingly, the vibration intensity of the vibration motor 12 is adjusted according to the respiratory frequency, including:
[0096] determining whether the change of the respiratory frequency exceeds a preset fluctuation percentage within the preset test time;
[0097] if so, the vibration intensity is reduced to the last set data;
[0098] If not, continue to increase the vibration intensity, return to the step of judging whether the change of the respiratory frequency exceeds the preset fluctuation percentage until the preset maximum vibration intensity is reached.
[0099] In the present application, the main factor of the sputum excretion machine affecting the breathing is the vibration intensity. Therefore, in order not to have too much impact on the patient, the vibration sputum excretion machine adaptive algorithm adopts a step-by-step gradient increasing algorithm.
[0100] When the sputum excretion machine starts to execute, the system first executes according to the initial vibration intensity. If the patient's respiratory change exceeds the set fluctuation percentage within the preset test time, it is considered that the patient's constitution is not suitable for implementing sputum excretion auxiliary treatment, and the sputum excretion machine stops working, and a prompt of "abnormal respiratory frequency" is given.
[0101] If the patient's respiratory change does not exceed the preset fluctuation percentage within the preset test time, the vibration intensity is increased, and the preset test time is continued to run. If the patient's respiratory change exceeds the preset fluctuation percentage within the preset test time, it is considered that the patient's constitution is not suitable for increasing the intensity, and the system reduces the intensity to the vibration intensity of the last setting data. The setting data mentioned in the present embodiment refers to the set vibration intensity, and the last setting data refers to the last vibration intensity; for example, if it is run for the first time at the initial vibration intensity, the change of the respiratory frequency exceeds the preset fluctuation percentage, and the adjustment is to the last setting data, which means adjustment to 0. Obviously, before running at the initial vibration intensity, the device is not working, so the last setting data is 0. If the vibration intensity is increased during the adjustment of the vibration intensity, it can be directly reduced to the last set vibration intensity data.
[0102] If the patient's respiratory change does not exceed the preset fluctuation percentage within the preset test time, the vibration intensity is increased, and the preset test time is continued to run.
[0103] The subsequent processing mode is the same as described above until the system reaches the preset maximum vibration intensity.
[0104] According to the above embodiment, in another embodiment, increasing the vibration intensity includes:
[0105] Obtaining a preset cumulative intensity;
[0106] According to the sum of the current vibration intensity and the preset cumulative intensity, the next stage vibration intensity is obtained;
[0107] The vibration motor 12 is controlled to run according to the next stage vibration intensity.
[0108] By setting the preset cumulative intensity, the vibration intensity is increased in steps, for example, the initial vibration intensity is set to 40% (40% of the maximum vibration intensity), the preset cumulative intensity is 20%, and the preset fluctuation percentage is 20%.
[0109] When the sputum suction machine starts, the system initially operates at 40% of the set intensity. If the patient's breathing changes by more than 20% within 5 seconds, the patient is deemed unsuitable for sputum suction therapy, and the machine stops. If the patient's breathing changes by less than 20% within 5 seconds, the intensity is adjusted to 60% of the set intensity, and the machine continues operating for another 5 seconds. If the patient's breathing changes by more than 20% within 5 seconds, the system is deemed unsuitable for further increasing the intensity, and the intensity is reduced to 40% of the set intensity. If the patient's breathing changes by less than 20% within 5 seconds, the intensity is adjusted to 80% of the set intensity, and the machine continues operating for another 5 seconds. Subsequent processing follows the same procedure as described above until the system reaches the set value or stabilizes at a certain percentage.
[0110] The above embodiments have described the sputum suction machine control method in detail. This application also provides embodiments corresponding to the sputum suction machine control device. It should be noted that this application describes the embodiments of the device part from two perspectives: one is based on the functional module, and the other is based on the hardware.
[0111] From the perspective of functional modules Figure 3 A structural diagram of a sputum suction machine control device provided in an embodiment of this application is shown below. Figure 3 As shown, a sputum suction machine control device includes:
[0112] Control module 31 is used to control the vibration motor to operate according to the initial vibration intensity and preset vibration frequency;
[0113] The first acquisition module 32 is used to acquire real-time total pressure data of the inflation chamber;
[0114] The second acquisition module 33 is used to acquire vibration data generated by the vibration motor from the total pressure data based on a preset vibration frequency;
[0115] Calculation module 34 is used to obtain respiratory fluctuation pressure data based on total pressure data and vibration data;
[0116] Inference module 35 is used to obtain respiratory rate by analyzing respiratory fluctuation pressure data;
[0117] The adjustment module 36 is used to adjust the vibration intensity of the vibrating motor according to the breathing frequency.
[0118] The sputum excretion machine control device provided by the embodiment comprises a control module 31, a first acquisition module 32, a second acquisition module 33, a calculation module 34, an inference module 35 and an adjustment module 36. The control module 31 controls the vibration motor to operate according to the initial vibration intensity and the preset vibration frequency. The first acquisition module 32 acquires real-time total pressure data of the inflation air cavity. The second acquisition module 33 acquires vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency. The calculation module 34 obtains breathing fluctuation pressure data according to the total pressure data and the vibration data. The inference module 35 obtains the breathing frequency by analyzing the breathing fluctuation pressure data. The adjustment module 36 adjusts the vibration intensity of the vibration motor according to the breathing frequency. Since the pressure of the inflation air cavity is the superimposed result of the pressure change generated by the vibration motor and the pressure change generated by the human body due to breathing, the breathing fluctuation pressure data can be obtained by the difference between the real-time total pressure data of the inflation air cavity and the vibration data generated by the vibration motor. Further, the breathing frequency of the user can be obtained by analyzing the breathing fluctuation pressure data. Then, the vibration intensity can be adjusted by the breathing frequency, and the breathing frequency of the patient can be detected in real time while the vibration sputum excretion is performed. When the breathing of the patient is found to be abnormal, the vibration intensity is automatically adjusted to ensure the safety of the patient, and the staff does not need to monitor the breathing frequency of the user to set the sputum excretion machine.
[0119] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part are described in the description of the embodiments of the method part, which are not described here.
[0120] Figure 4 The structure diagram of another sputum excretion machine control device provided by the embodiment of the application is shown in FIG. 2. The sputum excretion machine control device comprises a storage 40 for storing a computer program. Figure 4
[0121] The processor 41 is used to implement the steps of the method for acquiring the user operation habit information according to the computer program.
[0122] The sputum excretion machine control device provided by the embodiment of the application can include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer.
[0123] The processor 41 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 41 can be implemented in at least one of a hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA), etc. The processor 41 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also referred to as a central processing unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 41 can be integrated with a graphics processor (GPU) for rendering and drawing content required to be displayed by the display screen. In some embodiments, the processor 41 can further include an artificial intelligence (AI) processor for processing computing operations related to machine learning.
[0124] The memory 40 can include one or more computer-readable storage media, which can be non-transitory. The memory 40 can further include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In this embodiment, the memory 40 is at least used to store the following computer program 401, wherein the computer program is loaded and executed by the processor 41, and can implement the related steps of the sputum excretion machine control method disclosed in any of the preceding embodiments. In addition, the resources stored by the memory 40 can further include an operating system 402 and data 403, etc., and the storage mode can be temporary storage or permanent storage. The operating system 402 can include Windows, Unix, Linux, etc. The data 403 can include but is not limited to data related to the implementation of the sputum excretion machine control method, etc.
[0125] In some embodiments, the sputum excretion machine control device can further include a display screen 42, an input / output interface 43, a communication interface 44, a power supply 45, and a communication bus 46.
[0126] Those skilled in the art can understand that the structure shown in the above embodiments does not constitute a limitation on the sputum excretion machine control device, and can include more or fewer components than those shown in the drawings. Figure 4 The structure shown in the above embodiments does not constitute a limitation on the sputum excretion machine control device, and can include more or fewer components than those shown in the drawings.
[0127] The sputum excretion machine control device provided by the embodiments of the present application comprises a memory and a processor. When the processor executes the program stored in the memory, the following method can be realized: a sputum excretion machine control method, controlling the vibration motor to operate according to an initial vibration intensity and a preset vibration frequency; obtaining real-time total pressure data of the inflation air cavity; obtaining vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency; obtaining breathing fluctuation pressure data according to the total pressure data and the vibration data; obtaining the breathing frequency by analyzing the breathing fluctuation pressure data; and adjusting the vibration intensity of the vibration motor according to the breathing frequency. Since the pressure of the inflation air cavity is the superimposed result of the pressure change generated by the vibration motor and the pressure change generated by the human body due to breathing, the real-time total pressure data of the inflation air cavity and the vibration data generated by the vibration motor are obtained, and then the breathing fluctuation pressure data can be obtained through the difference value. Further, the breathing frequency of the user can be obtained by analyzing the breathing fluctuation pressure data, and the vibration intensity can be adjusted through the breathing frequency. The breathing frequency of the patient is detected in real time while the vibration sputum is excreted, and the vibration intensity is automatically adjusted when the breathing frequency is detected and when the breathing of the patient is found to be abnormal, thereby ensuring the safety of the patient and eliminating the need for a staff member to monitor the breathing frequency of the user to set the sputum excretion machine.
[0128] Finally, the present application also provides an embodiment corresponding to a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps recorded in the above sputum excretion machine control method embodiments.
[0129] It can be understood that if the method in the above embodiments is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and executes all or part of the steps of the methods of the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0130] The computer readable storage medium provided by the embodiment has a computer program stored thereon, and when a processor executes the program, the following method can be implemented: a sputum excretion machine control method, a vibration motor is controlled to operate according to an initial vibration intensity and a preset vibration frequency; real-time total pressure data of a gas cavity is obtained; vibration data generated by the vibration motor is obtained from the total pressure data based on the preset vibration frequency; respiratory fluctuation pressure data is obtained according to the total pressure data and the vibration data; a respiratory frequency is obtained by analyzing the respiratory fluctuation pressure data; and the vibration intensity of the vibration motor is adjusted according to the respiratory frequency. Since the pressure of the gas cavity is the superposition result of the pressure change generated by the vibration motor and the pressure change generated by the human body due to respiration, the respiratory fluctuation pressure data can be obtained by the difference between the real-time total pressure data of the gas cavity and the vibration data generated by the vibration motor. Further, the respiratory frequency of the user is obtained by analyzing the respiratory fluctuation pressure data, and the vibration intensity can be adjusted by the respiratory frequency, so that the respiratory frequency of the patient is detected in real time while the vibration sputum is excreted. When an abnormal condition of the patient's respiration is found, the vibration intensity is automatically adjusted to ensure the safety of the patient, and the staff does not need to monitor the respiratory frequency of the user to set the sputum excretion machine.
[0131] The sputum excretion machine control method, device and medium provided by the present application are described in detail above. The embodiments in the specification are described in a progressive manner, and each embodiment mainly describes the differences from other embodiments. The same or similar parts of each embodiment can be referred to. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the related parts can be referred to the method part. It should be pointed out that for ordinary skilled persons in the technical field, without departing from the principles of the present application, some improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
[0132] It should also be noted that in the present specification, relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
Claims
1. A control device for a sputum suction machine, characterized in that, include: The control module is used to control the vibratory motor to operate according to the initial vibration intensity and preset vibration frequency; The first acquisition module is used to acquire real-time total pressure data of the inflation chamber; The second acquisition module is used to acquire vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency; The calculation module is used to obtain respiratory fluctuation pressure data based on the total pressure data and the vibration data; The inference module is used to obtain the respiratory rate by analyzing the respiratory fluctuation pressure data; An adjustment module is used to adjust the vibration intensity of the vibration motor according to the breathing frequency; The acquisition of real-time total pressure data of the inflation chamber includes: According to a preset acquisition frequency, the total pressure data of the air pressure sensor is acquired, wherein the air pressure sensor is used to monitor the air pressure intensity in the inflation chamber; The total pressure data is stored in a first-in-first-out buffer. The step of obtaining vibration data generated by the vibration motor from the total pressure data based on the preset vibration frequency includes: Every preset period, the total pressure data stored in the first-in-first-out buffer is transformed by FFT based on the preset vibration frequency to obtain vibration data including vibration amplitude and vibration phase angle. The step of obtaining respiratory fluctuation pressure data based on the total pressure data and the vibration data includes: Vibration pressure data are obtained based on the vibration amplitude and the vibration phase angle. The respiratory fluctuation pressure data is obtained by the difference between the total pressure data and the vibration pressure data.
2. The sputum suction machine control device according to claim 1, characterized in that, The step of obtaining respiratory rate by analyzing the respiratory fluctuation pressure data includes: Identify the peaks and troughs in the respiratory pressure fluctuation data; The respiratory rate is obtained based on the peaks, troughs, and preset acquisition frequencies.
3. The sputum suction machine control device according to claim 1, characterized in that, The control of the vibration motor to operate according to the initial vibration intensity and preset vibration frequency includes: Run the preset test for a preset time at the initial vibration intensity and the preset vibration frequency; Correspondingly, adjusting the vibration intensity of the vibration motor based on the breathing frequency includes: Determine whether the change in respiratory rate within the preset test time exceeds a preset fluctuation percentage; If the value is exceeded, the vibration intensity will be reduced to the previous set value. If the vibration intensity is not exceeded, the vibration intensity is increased, and the process returns to the step of determining whether the change in the breathing frequency exceeds the preset fluctuation percentage, until the preset maximum vibration intensity is reached.
4. The sputum suction machine control device according to claim 3, characterized in that, The increase in vibration intensity includes: Get the preset cumulative intensity; The vibration intensity for the next stage is obtained by summing the current vibration intensity with the preset cumulative intensity. The vibration motor is controlled to operate according to the vibration intensity described in the next stage.
Citation Information
Patent Citations
Total thoracoscopic high-frequency oscillating phlegm discharge machine
CN102423279A
Sputum excretion device
CN213910283U