Control method, system, medium and pneumatic sputum removal machine
By obtaining the user's breathing frequency and lung capacity, dynamically adjusting the pressure and vibration frequency of the inflatable sputum exhaust machine, the problem of poor comfort in the existing technology is solved, and the sputum exhaust operation synchronized with human breathing is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202311465816.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-11-06
AI Technical Summary
The inflatable sputum exhaust machine cannot adjust the pressure and vibration frequency according to the actual situation of the user, resulting in poor user comfort during use.
By obtaining the user's breathing frequency and lung capacity, controlling the operating frequency and pressure of the fan and vibrating motor, synchronizing the pressure signal timing of the breathing signal and the sheath pressure signal, adjusting the frequency and delay time of the vibrating motor to ensure lung expansion, contraction and vibration The expansion and contraction of the vest are consistent.
It improves the user's comfort during sputum discharge, dynamically adjusts the pressure and vibration frequency, adapts to the human body's breathing characteristics, and enhances the comfort of sputum discharge.
Smart Images

Figure CN117547449B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pneumatic sputum removal machines, and in particular to a control method, system, medium and pneumatic sputum removal machine. Background Art
[0002] In the field of medical technology, in order to facilitate users to expectorate, expectoration machines are usually used to assist users to expectorate. Among them, the use of an inflatable expectoration machine is one of the commonly used expectoration machines.
[0003] Currently, when the pneumatic expectorant is working, the pressure value of the sheath and the vibration frequency of the vibration motor are both set to specific values, so that after the expectorant is started, the pressure and vibration frequency cannot be adjusted according to the actual situation of the patient, which reduces the user's comfort when expectorating.
[0004] It can be seen that how to adjust the pressure value and vibration frequency of the sputum removal machine according to the actual situation of the user to improve the user's comfort when expectorating is a technical problem that people in this field urgently need to solve. Summary of the invention
[0005] The purpose of the present invention is to provide a control method, system, medium and pneumatic expectorant for a pneumatic expectorant to solve the problem of poor comfort for users when using the expectorant.
[0006] In order to solve the above technical problems, the present invention provides a control method of an inflatable sputum removal machine, comprising:
[0007] Before controlling the fan operation, obtain the user's current breathing rate and current vital capacity;
[0008] After controlling the fan to run, when it is detected that the vital capacity of the user changes from the current vital capacity to a preset value, obtaining the current speed of the fan and controlling the fan to maintain the current speed;
[0009] Controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency;
[0010] When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement, returning to the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency;
[0011] When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the delay duration of the vibration motor is determined according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal, and the vibration motor is controlled to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay duration, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned.
[0012] Preferably, after acquiring the current rotation speed of the fan and before controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, the method further includes:
[0013] Get the current pressure value of the sheath;
[0014] Correspondingly, after controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, the method further includes:
[0015] Obtain the average value of pressure during multiple vibration cycles;
[0016] Determining whether the average value of the pressure is equal to the current pressure value;
[0017] If not, adjust the current speed according to the difference between the average value of the pressure and the current pressure value and obtain the adjusted speed; obtain the pressure collection delay time corresponding to the adjusted speed; and enter the step of obtaining the average value of the pressure in multiple vibration cycles after the pressure collection delay time.
[0018] Preferably, obtaining the average value of pressure in multiple vibration cycles includes:
[0019] Collecting a preset number of pressure values in a plurality of vibration cycles respectively;
[0020] The average value of the pressure in the plurality of vibration cycles is determined according to the number of acquisitions and the sum of all the pressure values.
[0021] Preferably, after obtaining the pressure acquisition delay time corresponding to the adjusted speed and before entering the step of obtaining the average value of the pressures in a plurality of vibration cycles after the pressure acquisition delay time, the method further includes:
[0022] Determining whether the vibration expectoration function of the inflatable expectoration machine is in operation;
[0023] If yes, proceed to the step of obtaining the average value of the pressure within multiple vibration cycles;
[0024] If not, then end.
[0025] Preferably, obtaining the current vital capacity includes:
[0026] Acquire, from the time sequence of the respiratory signal, a maximum value of the respiratory signal in a current cycle and a minimum value of the respiratory signal in a cycle adjacent to the current cycle;
[0027] The current vital capacity is determined according to the maximum value of the respiratory signal in the current cycle and the minimum value of the respiratory signal in a cycle adjacent to the current cycle.
[0028] Preferably, controlling the operation of the fan includes:
[0029] Obtaining the initial operating speed of the fan;
[0030] Controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated;
[0031] Controlling the operation of the fan according to the rotation speed to be operated;
[0032] Obtaining the inflation speed corresponding to the rotation speed to be operated;
[0033] The collection period of the pressure sensor is determined according to the parameters of the inflatable sputum removal machine and the inflation speed; wherein the parameters of the inflatable sputum removal machine include the volume of the vibration cavity, the volume of the ventilation pipeline, and the volume of the vibration vest;
[0034] After an interval of a collection period of the pressure sensor, detecting whether the vital capacity of the user changes from the current vital capacity to the preset value;
[0035] If yes, the process proceeds to the step of obtaining the current rotation speed of the fan and controlling the fan to maintain the current rotation speed;
[0036] If not, the process returns to the step of controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated.
[0037] In order to solve the above technical problems, the present invention also provides an inflatable sputum removal machine, comprising: a controller, a fan, a vibration motor, a pressure sensor, and a wearable breathing sensor;
[0038] The wearable respiratory sensor is used to collect the user's respiratory rate and vital capacity;
[0039] The fan is used to provide slightly high-pressure gas to the inflatable sputum removal machine;
[0040] The pressure sensor is used to monitor the pressure value of the pneumatic expectorant;
[0041] The vibration motor is used to control the contraction and expansion of the vibration vest;
[0042] The controller is connected to the fan, the vibration motor, the pressure sensor, and the wearable respiratory sensor, respectively, and is used to obtain the current breathing frequency and current vital capacity of the user before controlling the operation of the fan; after controlling the operation of the fan, when it is detected that the vital capacity of the user changes from the current vital capacity to a preset value, obtain the current speed of the fan and control the fan to maintain the current speed; control the vibration motor to vibrate at a frequency equal to the current breathing frequency; when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement, return to the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirement, determine the delay time of the vibration motor according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal and control the vibration motor to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay time, return to the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency.
[0043] In order to solve the above technical problems, the present invention also provides an inflatable sputum removal machine control system, comprising:
[0044] An acquisition module is used to obtain the user's current breathing rate and current vital capacity before controlling the operation of the fan;
[0045] A detection and acquisition module, configured to, after controlling the operation of the fan, acquire the current rotation speed of the fan and control the fan to maintain the current rotation speed when detecting that the vital capacity of the user changes from the current vital capacity to a preset value;
[0046] A control module, used for controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency;
[0047] A judgment module, used to judge whether the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement; if so, the control module is triggered; if not, the determination module is triggered;
[0048] The determination module is used to determine the delay time of the vibration motor and control the vibration motor to stop rotating according to the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal; starting from the detection that the vibration motor stops rotating, the control module is triggered after the delay time.
[0049] In order to solve the above technical problems, the present invention also provides an inflatable sputum removal machine control system, comprising:
[0050] Memory for storing computer programs;
[0051] The processor is used to implement the steps of the control method of the pneumatic sputum removal machine as described above when executing the computer program.
[0052] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the inflatable sputum removal machine as described above are implemented.
[0053] In the inflatable expectoration machine, the vibration motor drives the contraction and expansion of the vibration vest through periodic movement, and drives the vibration vest to vibrate periodically. In the control method of the inflatable expectoration machine provided by the present invention, the vibration frequency of the vibration motor is controlled to be consistent with the breathing frequency of the user, and the phase of the vibration motor is adjusted according to the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal, so that the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal meets the preset requirements, so that the expansion and contraction of the lungs during human breathing is consistent with the expansion and contraction of the vibration vest, the pressure of the vibration vest is reduced during the inhalation phase of breathing, and the pressure of the vest is increased during the exhaust phase of breathing, and the vibration frequency of the vibration motor adapts to the breathing characteristics of the human body, thereby assisting the user to expectorate and improving the comfort during expectoration. In addition, the speed value of the fan is determined according to the vital capacity of the user, and the change of the speed value of the fan will adjust the pressure value of the vibration vest, that is, the pressure value of the sheath is determined according to the vital capacity of the user. It can be seen that the inflatable sputum removal machine provided by the present invention can adjust the pressure value and vibration frequency according to the respiratory characteristic values of the human body (including respiratory frequency and vital capacity), thereby improving the user's comfort when expectorating.
[0054] In addition, the present invention also provides an inflatable sputum removal machine, an inflatable sputum removal machine control system and a computer-readable storage medium, which have the same or corresponding technical features as the control method of the inflatable sputum removal machine mentioned above, and the effects are the same as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 A schematic diagram of a micro-pressure vibration system of a pneumatic sputum removal machine provided in an embodiment of the present invention;
[0057] Figure 2 A schematic diagram of components of a control system of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0058] Figure 3 A flow chart of a control method of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0059] Figure 4 A flow chart of a method for adjusting the vibration frequency phase of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0060] Figure 5 A flow chart of a method for regulating stable pressure during vibration of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0061] Figure 6 A flow chart of a method for adjusting the pressure value of a vibrating vest of an inflatable sputum removal machine provided in an embodiment of the present invention;
[0062] Figure 7 A flow chart of a working method of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0063] Figure 8 A structural diagram of a control system of an inflatable sputum removal machine provided by an embodiment of the present invention;
[0064] Fig. 9 This is a structural diagram of a control system of an inflatable sputum removal machine provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0066] The core of the present invention is to provide a control method, system, medium and inflatable sputum removal machine for solving the problem of poor comfort of users when using the sputum removal machine.
[0067] Figure 1 A schematic diagram of a micro-pressure vibration system of a pneumatic sputum removal machine provided in an embodiment of the present invention is shown in FIG. Figure 1 As shown, it includes a sputum removal machine control host 1, a ventilation pipeline 2, and a vibration vest 3. Among them, the sputum removal machine control host 1 specifically includes control software, human-computer interaction, an inflation device, and a vibration generating device. Figure 2 A schematic diagram of components of a pneumatic sputum removal machine control system provided by an embodiment of the present invention, such as Figure 2As shown, it includes a main control chip 4, a fan / vibration motor control module 5, a pressure sensor 6, a wearable respiratory sensor 7, and a human-computer interaction module 8. The main control chip 4 is responsible for data acquisition, logic control, and human-computer interaction; the main control chip 4 provides micro-high pressure gas to the micro-pressure vibration system by controlling the fan speed, so that the micro-pressure vibration system maintains a micro-pressure state; the pressure sensor 6 monitors the pressure value of the micro-pressure vibration system in real time, and is associated with the fan control to form a micro-pressure control closed-loop system; the wearable respiratory sensor 7 detects the user's breathing frequency and the change in the lungs during inhalation and exhalation (reflecting the volume of lung gas in one breath of the human body).
[0068] In order to improve the user experience when using the inflatable sputum removal machine, the embodiment of the present invention adjusts the inflation pressure and vibration frequency of the inflatable sputum removal machine according to the respiratory characteristic values (respiratory frequency and vital capacity) of the human body, so as to control the inflatable sputum removal machine according to the actual situation of the user and improve the user's comfort when expectorating.
[0069] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 3 A flow chart of a control method of an inflatable sputum removal machine provided by an embodiment of the present invention, such as Figure 3 As shown, the method includes:
[0070] S10: before controlling the fan to run, obtaining the user's current breathing rate and current vital capacity;
[0071] S11: After controlling the fan to run, when it is detected that the user's vital capacity changes from the current vital capacity to the preset value, the current speed of the fan is obtained and the fan is controlled to maintain the current speed;
[0072] S12: Control the vibration motor to vibrate at a frequency equal to the current breathing frequency;
[0073] S13: Determine whether the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement. If yes, return to step S12; if not, proceed to step S14;
[0074] S14: Determine the delay time of the vibration motor according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal and control the vibration motor to stop rotating; starting from detecting that the vibration motor stops rotating, wait for the delay time and return to step S12.
[0075] Before the inflatable expectorant is operated, the main control chip first calculates the human respiratory frequency F and the human respiratory volume V through the data reported by the wearable respiratory sensor. The wearable respiratory sensor is an expandable and contractible bandage-type sensor, which tightly surrounds the user's chest for detection. The bandage will expand and contract periodically with the user's breathing, and the sensor converts the size of the bandage into an electrical signal in real time for reporting.
[0076] The formula for calculating respiratory rate F is:
[0077] F = 1 / (T2-T1);
[0078] In a periodic signal, take the maximum value of a certain signal and record the time T1, then take the maximum value of the next adjacent signal and record signal T2.
[0079] Obtaining current vital capacity includes:
[0080] Obtaining the maximum value of the respiratory signal in the current cycle and the minimum value of the respiratory signal in the cycle adjacent to the current cycle from the timing sequence of the respiratory signal;
[0081] The current vital capacity is determined according to the maximum value of the respiratory signal in the current cycle and the minimum value of the respiratory signal in the cycle adjacent to the current cycle.
[0082] The volume (lung capacity) V breathed by the human body is calculated as follows:
[0083] V=(L1*L1) / 4*π-(L2*L2) / 4*π;
[0084] In a periodic signal, take the maximum value L1 of a certain signal, and then take the minimum value L2 of the adjacent signal.
[0085] When the main control chip controls the operation of the fan, the fan inflates the micro-pressure vibration system composed of the vibration cavity, ventilation pipeline and vibration vest, and the breathing sensor detects the user's current vital capacity V. When it is detected that the user's vital capacity changes from the current vital capacity V to the preset value, the current speed of the fan is obtained and the fan is controlled to maintain the current speed. There is no limitation on the preset value, which is determined according to the actual situation. In the embodiment of the present invention, the preset value is set to 0.95V. That is, when the breathing sensor detects that the human body's vital capacity changes from V to 0.95, the speed S of the fan at this time is recorded, the fan is controlled to run at the current speed, and the vibration motor is controlled to vibrate at a frequency equal to the current breathing frequency. In implementation, when the breathing sensor detects that the chest cavity expands to the maximum during the inhalation phase of human breathing, the vibration motor is started to vibrate at a frequency F.
[0086] Determine whether the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirements. In the embodiment of the present invention, the preset requirement is 90 degrees. The vibration motor controls the contraction and expansion of the vibration vest through periodic motion, driving the vibration vest to vibrate periodically. When the vibration frequency is inconsistent with the human breathing frequency or the vibration frequency is consistent with the human breathing frequency but the phase difference is not 90 degrees (when the phase difference is 90 degrees, the expansion and contraction of the lungs during human breathing is consistent with the expansion and contraction of the vibration vest, so that the pressure of the vibration vest is reduced during the inhalation phase of breathing, and the pressure of the vest is increased during the exhaust phase of breathing), it will interfere with the breathing rhythm of the human body, and the comfort level is poor during expectoration. Therefore, in order to improve the patient's comfort during expectoration, in the embodiment of the present invention, when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the vibration motor is controlled to delay to achieve the phase difference meeting the preset requirements. The expansion and contraction of the lungs during breathing is kept consistent with the expansion and contraction of the vibration vest, so that the pressure of the vibration vest is reduced during the inhalation phase of breathing, and the pressure of the vest is increased during the exhalation phase of breathing, which is consistent with the breathing rhythm of the human body and improves the comfort of the patient when expectorating. Figure 4 A flow chart of a method for adjusting the vibration frequency phase of an inflatable sputum removal machine provided by an embodiment of the present invention, such as Figure 4 As shown, the method includes:
[0087] S15: Turn on the vibration motor when the inhalation is completed;
[0088] S16: Determine whether the phase difference between vibration and breathing is 90 degrees; if not, proceed to step S17; if not, proceed to step S18;
[0089] S17: Delay Ts to start the next vibration;
[0090] S18: Phase matching is completed.
[0091] The main control chip analyzes and collects the timing of the periodic pressure sensor and breathing sensor; calculates the phase difference W of the periodic signals of the two. When W is not 90 degrees, after the vibration motor completes the current vibration, it starts the vibration motor again after a delay of Ts, so that the phase difference between the vibration cycle of the vibration motor and the breathing cycle is adjusted to 90 degrees. When the phase difference between the vibration cycle of the vibration motor and the breathing cycle is 90 degrees, the expansion and contraction of the human lungs is consistent with the expansion and contraction of the volume of the micro-pressure vibration system, minimizing the impact of the expectorant on human breathing when working. The calculation formula for the delay Ts is as follows:
[0092] Ts = |90-W| / 2π;
[0093] W is the timing phase difference between the pressure sensor and the respiration sensor.
[0094] It should be noted that, in practice, the working time of the pneumatic expectorant can be set, and when it is greater than the control time, the pneumatic expectorant is controlled to stop running.
[0095] In the control method of the inflatable sputum removal machine provided by the embodiment of the present invention, the vibration frequency of the vibration motor is controlled to be consistent with the breathing frequency of the user, and the phase of the vibration motor is adjusted according to the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal, so that the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal meets the preset requirements, so that the expansion and contraction of the lungs during human breathing is consistent with the expansion and contraction of the vibration vest, the pressure of the vibration vest is reduced during the inhalation phase of the human body, and the pressure of the vest is increased during the exhaust phase of the breathing, and the vibration frequency of the vibration motor adapts to the breathing characteristics of the human body, thereby assisting the user to expectorate and improving the comfort during expectoration. In addition, the speed value of the fan is determined according to the vital capacity of the user, and the change of the speed value of the fan will adjust the pressure value of the vibration vest, that is, the pressure value of the sheath is determined according to the vital capacity of the user. It can be seen that the inflatable sputum removal machine provided by the embodiment of the present invention can adjust the pressure value and vibration frequency according to the respiratory characteristic values of the human body (including breathing frequency and vital capacity), so as to improve the comfort of the user during expectoration.
[0096] When the vibrating sputum removal motor vibrates periodically, it will cause the micro-pressure vibration system to contract, causing the pressure of the micro-pressure system to increase and the gas to be discharged through the air inlet of the fan. When the volume of gas discharged in a cycle is greater than the air replenishment volume of the fan, the average pressure value of the sheath will decrease and the treatment effect will deteriorate. Therefore, based on the above embodiments, this embodiment provides a method for maintaining pressure stability during the vibration of the vibrating vest. Specifically, after obtaining the current speed of the fan, before controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, it also includes:
[0097] Get the current pressure value of the sheath;
[0098] Correspondingly, after controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, the method further includes:
[0099] Obtain the average value of pressure during multiple vibration cycles;
[0100] Determine whether the average pressure value is equal to the current pressure value;
[0101] If not, adjust the current speed according to the difference between the average pressure value and the current pressure value and obtain the adjusted speed; obtain the pressure collection delay time corresponding to the adjusted speed; after the pressure collection delay time, enter the step of obtaining the average pressure in multiple vibration cycles.
[0102] Obtaining the average value of pressure over multiple vibration cycles includes:
[0103] Collecting a preset number of pressure values in multiple vibration cycles;
[0104] The average value of the pressure within multiple vibration cycles is determined based on the number of acquisitions and the sum of all pressure values.
[0105] There is no limit on the number of selected vibration cycles and the number of pressure values collected in each vibration cycle, which are determined according to the actual situation. For example, after the vibration cycle is adjusted, the average pressure value in 5 vibration cycles (T = 1 / F) is collected, and the pressure is collected 8 times in each vibration cycle T. Assuming that the average pressure value is represented by P1, the calculation formula of the average pressure value P1 is:
[0106]
[0107] Wherein, Pi represents the pressure value collected each time.
[0108] Assume that the current pressure value is represented by P, compare P1 with the current pressure value P, and adjust the fan speed according to the difference between the two. The calculation formula for the adjusted speed (i.e. the speed value at which the fan is to run) Sd is as follows:
[0109] Sd = (1 + (P1 - P) / P) * Sr;
[0110] Among them, Sr is the current operating speed of the fan.
[0111] After the fan speed changes, calculate the pressure sensor acquisition period Tp; then after the Tp time interval, repeat the collection of pressure values within 5 weeks, and repeat the above steps to achieve pressure stability of the vibration system when the inflatable sputum removal machine is in a vibrating state. It should be noted that in implementation, the pressure sensor acquisition period Tp is determined based on the parameters and inflation speed of the inflatable sputum removal machine; wherein the parameters of the inflatable sputum removal machine include the volume of the vibration cavity, the volume of the ventilation line, and the volume of the vibrating vest. The calculation formula for the pressure sensor acquisition period Tp is as follows:
[0112] Tp=1.1*(Vq+2*Vg+Vh) / Sv;
[0113] The pressure sensor is placed in the vibration cavity to collect the pressure value inside the entire vibration system; Vq is the volume of the vibration cavity, Vg is the volume of the ventilation pipeline; Vh is the volume of the vibration vest; the fan control parameters are the motor speed Sm and the corresponding inflation speed Sv at the speed Sm.
[0114] After obtaining the pressure acquisition delay time corresponding to the adjusted speed, and before entering the step of obtaining the average value of the pressure in multiple vibration cycles after the pressure acquisition delay time, the method further includes:
[0115] Determine whether the vibration expectoration function of the pneumatic expectoration machine is in operation;
[0116] If yes, then proceed to the step of obtaining the average value of the pressure within a plurality of vibration cycles;
[0117] If not, then end.
[0118] Figure 5 A flowchart of a method for regulating the stable pressure during vibration of an inflatable sputum removal machine provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the method includes:
[0119] S19: Calculate the average pressure value P1;
[0120] S20: Determine whether P1 is consistent with P; if not, proceed to step S21; if yes, proceed to step S23;
[0121] S21: The program adjusts Sd according to the algorithm;
[0122] S22: Collect the pressure value after a delay of Tp;
[0123] S23: Determine whether to continue running; if so, return to step S19; if not, end.
[0124] It should be noted that the vibration expectoration function of the pneumatic expectoration machine can be judged by the time length set by the user. When the set time length is exceeded, the vibration expectoration function of the pneumatic expectoration machine stops; when the set time length is not exceeded, the vibration expectoration function of the pneumatic expectoration machine continues to operate.
[0125] In practice, controlling fan operation includes:
[0126] Get the initial operating speed of the fan;
[0127] Controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated;
[0128] Control the operation of the fan according to the speed to be operated;
[0129] Get the inflation speed corresponding to the speed to be run;
[0130] Determine the collection period of the pressure sensor according to the parameters and inflation speed of the inflatable sputum removal machine; wherein the parameters of the inflatable sputum removal machine include the volume of the vibration cavity, the volume of the ventilation pipeline, and the volume of the vibration vest;
[0131] After the interval pressure sensor's collection cycle, it is detected whether the user's vital capacity changes from the current vital capacity to a preset value;
[0132] If yes, then enter the step of obtaining the current speed of the fan and controlling the fan to maintain the current speed;
[0133] If not, the process returns to the step of controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated.
[0134] The main control chip controls the fan to inflate the micro-pressure vibration system composed of the vibration cavity, ventilation pipeline and vibration vest at an initial speed of S0.
[0135] The fan increases the pressure value of the micro-pressure vibration system by increasing the motor speed Sr. The adjustment formula is as follows:
[0136] Sm=1.1*Sr;
[0137] Among them, Sm is the speed value of the blower to be operated; Sr is the current speed value of the blower.
[0138] Figure 6 A flow chart of a method for adjusting the pressure value of a vibrating vest of an inflatable sputum removal machine provided by an embodiment of the present invention, such as Figure 6 As shown, the method includes:
[0139] S24: The fan starts running from S0;
[0140] S25: interval time Tp;
[0141] S26: Determine whether the vital capacity reaches the critical value; if so, proceed to step S28; if not, proceed to step S27;
[0142] S27: The program algorithm controls the fan speed to increase;
[0143] S28: The fan speed stops increasing, and the fan speed and vibration vest pressure are collected.
[0144] In order to enable those skilled in the art to better understand the solution of the present invention, the overall solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 7 A flowchart of a working method of an inflatable sputum removal machine provided by an embodiment of the present invention is shown in FIG. Figure 7 As shown, the method includes:
[0145] S29: The breathing sensor detects the breathing frequency F and the vital capacity V;
[0146] S30: The fan starts running at a low speed and gradually increases the fan speed;
[0147] S31: When the breathing sensor detects that the human vital capacity has become 0.95V, the fan speed S and pressure P are recorded. The fan runs at the current speed;
[0148] S32: When the human body finishes exhaling, the vibration motor starts vibrating at a frequency F;
[0149] S33: Analyze the timing of the sheath pressure and the human breathing signal. When the phase difference between the two is not 90 degrees, delay the next start-up time of the vibration motor to shift the phase.
[0150] S34: Take the average pressure value P1 of 5 vibration cycles and adjust the fan speed so that P1 is equal to P.
[0151] It should be noted that step S34 may also be placed before step S33, as long as the voltage stabilization control is performed after the vibration motor starts to vibrate.
[0152] When the inflatable expectorant is working, the fan speed is first adjusted to adjust the pressure of the vibrating vest; when the fan speed is controlled to adjust the pressure of the vibrating vest, the respiratory characteristic values (respiratory frequency and vital capacity) of the human body are first calculated through the detection values of the wearable respiratory sensor; then the fan starts to run at a low speed, and gradually increases the speed according to the algorithm set by the program; as the fan speed increases, the pressure value of the vibrating vest will increase; the vital capacity of the human body breathing under the pressure of the vibrating vest will decrease; when the vital capacity of the human body collected by the program through the respiratory sensor is reduced to 95% of the normal value, the program controls the fan speed to stop increasing and remain stable, the control program collects and records the fan speed and the pressure value of the sheath at this time, and then enters the vibration motor control logic.
[0153] The vibration motor controls the contraction and expansion of the vibration vest through periodic movement, driving the vibration vest to vibrate periodically. When the vibration frequency is inconsistent with the human breathing frequency or the vibration frequency is consistent with the human breathing frequency but the phase difference is not 90 degrees (when the phase difference is 90 degrees, the expansion and contraction of the lungs during human breathing is consistent with the expansion and contraction of the vibration vest, so that the pressure of the vibration vest decreases during the inhalation phase of breathing, and the pressure of the vest increases during the exhaust phase of breathing), it will interfere with the human breathing rhythm and the comfort level is poor when expectorating. Therefore, when the phase difference between the two is not 90 degrees, the next start-up time of the vibration motor is delayed for phase shifting processing, so that the pressure of the vibration vest decreases during the inhalation phase of breathing, and the pressure of the vest increases during the exhaust phase of breathing. The vibration frequency and phase of the vibration motor adapt to the breathing characteristics of the human body, assist the human body in expectoration, and improve the patient's comfort when expectorating.
[0154] The control method of the pneumatic sputum removal machine is described above. This embodiment also provides an pneumatic sputum removal machine, including: a controller, a fan, a vibration motor, a pressure sensor, and a wearable breathing sensor;
[0155] Wearable respiratory sensors are used to collect the user's breathing rate and vital capacity;
[0156] The fan is used to provide slightly high-pressure gas for the inflatable expectorant;
[0157] The pressure sensor is used to monitor the pressure value of the pneumatic expectorant;
[0158] The vibration motor is used to control the contraction and expansion of the vibration vest;
[0159] The controller is respectively connected to the fan, the vibration motor, the pressure sensor, and the wearable breathing sensor, and is used to obtain the user's current breathing frequency and current vital capacity before controlling the operation of the fan; after controlling the operation of the fan, when it is detected that the user's vital capacity changes from the current vital capacity to a preset value, the current speed of the fan is obtained and the fan is controlled to maintain the current speed; the vibration motor is controlled to vibrate at a frequency equal to the current breathing frequency; when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirements, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned; when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the delay time of the vibration motor is determined according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal, and the vibration motor is controlled to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay time, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned.
[0160] The inflatable sputum removal machine provided in this embodiment has the same technical features as the inflatable sputum removal machine control method described above. The embodiment of the inflatable sputum removal machine control method has been described in detail above, and the embodiment of the inflatable sputum removal machine will not be repeated here, and it has the same beneficial effects as the inflatable sputum removal machine control method mentioned above.
[0161] In the above embodiments, the control method of the pneumatic sputum removal machine is described in detail, and the present invention also provides embodiments corresponding to the pneumatic sputum removal machine and the pneumatic sputum removal machine control system. It should be noted that the present invention describes the embodiments of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware perspective.
[0162] Figure 8 This is a structural diagram of a pneumatic sputum removal machine control system provided by an embodiment of the present invention. This embodiment is based on the perspective of functional modules and includes:
[0163] The acquisition module 10 is used to obtain the current breathing rate and current vital capacity of the user before controlling the operation of the fan;
[0164] The detection and acquisition module 11 is used to acquire the current speed of the fan and control the fan to maintain the current speed after detecting that the user's vital capacity changes from the current vital capacity to the preset value after controlling the fan to run;
[0165] A control module 12, used for controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency;
[0166] The judging module 13 is used to judge whether the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement; if so, the control module 12 is triggered; if not, the determination module 14 is triggered;
[0167] The determination module 14 is used to determine the delay time of the vibration motor and control the vibration motor to stop rotating according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal; starting from the detection of the vibration motor stopping rotating, the control module 12 is triggered after the delay time.
[0168] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part refer to the description of the embodiments of the method part, which will not be described here. And it has the same beneficial effects as the control method of the inflatable sputum removal machine mentioned above.
[0169] Fig. 9 This is a structural diagram of a pneumatic sputum removal machine control system provided by another embodiment of the present invention. This embodiment is based on the hardware perspective, such as Fig. 9 As shown, the control system of the pneumatic expectorant includes:
[0170] A memory 20, used for storing computer programs;
[0171] The processor 21 is used to implement the steps of the control method of the pneumatic sputum removal machine mentioned in the above embodiment when executing the computer program.
[0172] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0173] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the control method of the pneumatic sputum removal machine disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to the data involved in the control method of the pneumatic sputum removal machine mentioned above.
[0174] In some embodiments, the pneumatic sputum removal machine control system may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0175] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the control system of the pneumatic expectorant, and may include more or less components than those shown in the figure.
[0176] The control system of the pneumatic sputum removal machine provided in the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: the control method of the pneumatic sputum removal machine, the effect is the same as above.
[0177] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0178] It is understandable that if the method in the above embodiment 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 is essentially 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 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, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0179] The computer-readable storage medium provided by the present invention includes the control method of the above-mentioned inflatable sputum removal machine, and the effect is the same as above.
[0180] The control method, system, medium and inflatable sputum removal machine provided by the present invention are introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0181] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A pneumatic sputum removal machine control system, characterized in that: include: Memory for storing computer programs; The processor is used to implement the control method of the pneumatic sputum removal machine described in the following steps when executing the computer program: Before controlling the fan operation, obtain the user's current breathing rate and current vital capacity; After controlling the fan to run, when it is detected that the vital capacity of the user changes from the current vital capacity to a preset value, obtaining the current speed of the fan and controlling the fan to maintain the current speed; Controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement, returning to the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the delay duration of the vibration motor is determined according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal, and the vibration motor is controlled to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay duration, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned.
2. The control system of the pneumatic sputum removal machine according to claim 1, characterized in that: After acquiring the current rotation speed of the fan and before controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, the method further includes: Get the current pressure value of the sheath; Correspondingly, after controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency, the method further includes: Obtain the average value of pressure during multiple vibration cycles; Determining whether the average value of the pressure is equal to the current pressure value; If not, adjust the current speed according to the difference between the average value of the pressure and the current pressure value and obtain the adjusted speed; obtain the pressure collection delay time corresponding to the adjusted speed; and enter the step of obtaining the average value of the pressure in multiple vibration cycles after the pressure collection delay time.
3. The control system of the pneumatic sputum removal machine according to claim 2, characterized in that: The step of obtaining the average value of pressure within a plurality of vibration cycles comprises: Collecting a preset number of pressure values in a plurality of vibration cycles respectively; The average value of the pressure in the plurality of vibration cycles is determined according to the number of acquisitions and the sum of all the pressure values.
4. The control system of the pneumatic sputum removal machine according to claim 2 or 3, characterized in that: After obtaining the pressure acquisition delay time corresponding to the adjusted speed, and before entering the step of obtaining the average value of the pressures in multiple vibration cycles after the pressure acquisition delay time, the method further includes: Determining whether the vibration expectoration function of the inflatable expectoration machine is in operation; If yes, proceed to the step of obtaining the average value of the pressure within multiple vibration cycles; If not, then end.
5. The control system of the pneumatic sputum removal machine according to claim 1, characterized in that: Acquiring the current vital capacity includes: Acquire, from the time sequence of the respiratory signal, a maximum value of the respiratory signal in a current cycle and a minimum value of the respiratory signal in a cycle adjacent to the current cycle; The current vital capacity is determined according to the maximum value of the respiratory signal in the current cycle and the minimum value of the respiratory signal in a cycle adjacent to the current cycle.
6. The control system of the pneumatic sputum removal machine according to claim 1, characterized in that: Controlling the operation of the fan includes: Obtaining the initial operating speed of the fan; Controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated; Controlling the operation of the fan according to the rotation speed to be operated; Obtaining the inflation speed corresponding to the rotation speed to be operated; The collection period of the pressure sensor is determined according to the parameters of the inflatable sputum removal machine and the inflation speed; wherein the parameters of the inflatable sputum removal machine include the volume of the vibration cavity, the volume of the ventilation pipeline, and the volume of the vibration vest; After an interval of a collection period of the pressure sensor, detecting whether the vital capacity of the user changes from the current vital capacity to the preset value; If yes, the process proceeds to the step of obtaining the current rotation speed of the fan and controlling the fan to maintain the current rotation speed; If not, the process returns to the step of controlling the initial operating speed to increase according to a preset step length to determine the speed of the fan to be operated.
7. An inflatable sputum removal machine, characterized in that: include: Controller, fan, vibration motor, pressure sensor, wearable respiratory sensor; The wearable respiratory sensor is used to collect the user's respiratory rate and vital capacity; The fan is used to provide slightly high-pressure gas to the inflatable sputum removal machine; The pressure sensor is used to monitor the pressure value of the pneumatic expectorant; The vibration motor is used to control the contraction and expansion of the vibration vest; The controller is respectively connected to the fan, the vibration motor, the pressure sensor, and the wearable respiratory sensor, and is used to obtain the user's current respiratory frequency and current vital capacity before controlling the operation of the fan; After controlling the fan to run, when it is detected that the vital capacity of the user changes from the current vital capacity to a preset value, obtaining the current speed of the fan and controlling the fan to maintain the current speed; controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirements, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned; when it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the delay duration of the vibration motor is determined according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal, and the vibration motor is controlled to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay duration, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned.
8. A pneumatic sputum removal machine control system, characterized in that: include: An acquisition module is used to obtain the user's current breathing rate and current vital capacity before controlling the operation of the fan; A detection and acquisition module, configured to, after controlling the operation of the fan, acquire the current rotation speed of the fan and control the fan to maintain the current rotation speed when detecting that the vital capacity of the user changes from the current vital capacity to a preset value; A control module, used for controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; A judgment module, used to judge whether the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement; if so, the control module is triggered; if not, the determination module is triggered; The determination module is used to determine the delay time of the vibration motor and control the vibration motor to stop rotating according to the phase difference between the pressure signal timing of the sheath and the timing of the breathing signal; starting from the detection that the vibration motor stops rotating, the control module is triggered after the delay time.
9. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the control method of the pneumatic sputum removal machine is implemented in the following steps: Before controlling the fan operation, obtain the user's current breathing rate and current vital capacity; After controlling the fan to run, when it is detected that the vital capacity of the user changes from the current vital capacity to a preset value, obtaining the current speed of the fan and controlling the fan to maintain the current speed; Controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath meets the preset requirement, returning to the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency; When it is detected that the phase difference between the timing of the breathing signal and the timing of the pressure signal of the sheath does not meet the preset requirements, the delay duration of the vibration motor is determined according to the phase difference between the timing of the pressure signal of the sheath and the timing of the breathing signal, and the vibration motor is controlled to stop rotating; starting from the detection that the vibration motor stops rotating, after the delay duration, the step of controlling the vibration motor to vibrate at a frequency equal to the current breathing frequency is returned.
