Oxygen concentration control method, device and storage medium for portable oxygen concentrator
By using an ultrasonic transducer in a portable oxygen concentrator to measure and calculate oxygen concentration, generate control parameters, and realize flexible adjustment of oxygen concentration, the problem of inflexible use methods of portable oxygen concentrators in the existing technology is solved, and the equipment's performance is improved. Applicability and safety in different scenarios.
Patent Information
- Application Number
- CN202410831906.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing portable oxygen concentrators lack flexibility in usage and cannot be adapted to the oxygen concentration needs in different scenarios, especially in a closed environment where too high an oxygen concentration may be fatal.
By using the first and second ultrasonic transducers to transmit and receive ultrasonic signals, calculate the propagation time difference and target envelope, generate oxygen concentration control parameters, and realize flexible adjustment of oxygen concentration to adapt to the needs of different environments.
It improves the flexibility of using the portable oxygen concentrator and avoids the safety hazard of excessive oxygen concentration in a closed environment. At the same time, it provides sufficient oxygen concentration when needed to meet the physiological needs of different scenarios.
Smart Images

Figure CN118394142B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to an oxygen concentration control method, device and storage medium of a portable oxygen concentrator. Background Art
[0002] Normal oxygen concentration is mainly used in clinical practice to guide oxygen inhalation for patients with hypoxia. The reference range of normal oxygen concentration is between 19.5% and 23.5%.
[0003] The output oxygen concentration of portable oxygen concentrators currently on the market is greater than 90%, and the oxygen concentration adjustment range is not flexible, which is not suitable for some scenarios, such as: tightly closed cars, air-conditioned rooms, underground shopping malls, air defense facilities and other places, because the oxygen concentration reaches 100%, which can be fatal within 6 minutes (absolutely closed environment). It can be seen that the current portable oxygen concentrators lack flexibility in their use methods for different usage scenarios. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem that the current portable oxygen concentrator lacks flexibility in the use method.
[0005] A first aspect of the present invention provides a method for controlling the oxygen concentration of a portable oxygen concentrator, the method comprising:
[0006] When receiving the oxygen concentration control instruction, controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation to receive the ultrasonic signal to be analyzed;
[0007] Calculating the propagation time difference of the ultrasonic signal to be analyzed, and calculating the actual oxygen concentration according to the propagation time difference, the ultrasonic signal to be analyzed and the preset physical parameters of the pipeline;
[0008] extracting the target oxygen concentration carried by the oxygen concentration control instruction, and generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration;
[0009] A concentration control operation is performed according to the concentration control parameter.
[0010] Optionally, in a first implementation manner of the first aspect of the present invention, after the step of performing a concentration control operation according to the concentration control parameter, the method further includes:
[0011] When the concentration control operation is completed, determining whether a stop instruction is received;
[0012] If the stop instruction is not received, returning to the step of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation;
[0013] If the stop command is received, the oxygen output is stopped.
[0014] Optionally, in a second implementation of the first aspect of the present invention, the step of generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration includes:
[0015] Calculate the oxygen solenoid valve time according to the actual oxygen concentration and the target oxygen concentration;
[0016] The concentration control parameter is generated according to the oxygen solenoid valve time.
[0017] Optionally, in a third implementation of the first aspect of the present invention, the step of calculating the actual oxygen concentration according to the propagation time difference, the ultrasonic signal to be analyzed and the preset pipeline physical parameters includes:
[0018] Based on the propagation time difference, performing Hilbert transform on the ultrasonic signal to be analyzed to obtain a target envelope;
[0019] The actual oxygen concentration is calculated according to the target envelope and the preset physical parameters of the pipeline.
[0020] Optionally, in a fourth implementation of the first aspect of the present invention, the step of calculating the actual oxygen concentration according to the target envelope and the preset pipeline physical parameters includes:
[0021] Extracting the ultrasonic flight time in the target envelope;
[0022] Calculating the instantaneous flow rate according to the ultrasonic flight time and the preset physical parameters of the pipeline;
[0023] The actual oxygen concentration is calculated according to the instantaneous flow rate.
[0024] Optionally, in a fifth implementation of the first aspect of the present invention, the step of calculating the instantaneous flow rate according to the ultrasonic flight time and the preset physical parameters of the pipeline includes:
[0025] Extracting the pipeline cross-sectional area from the preset physical parameters of the pipeline;
[0026] Substituting the ultrasonic flight time and the pipe cross-sectional area into a preset formula, the instantaneous flow rate is obtained.
[0027] Optionally, in a sixth implementation of the first aspect of the present invention, the step of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation includes:
[0028] The first ultrasonic transducer and the second ultrasonic transducer are controlled to simultaneously perform a transmitting operation and a receiving operation.
[0029] Optionally, in a seventh implementation manner of the first aspect of the present invention, the step of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation includes:
[0030] The first ultrasonic transducer and the second ultrasonic transducer are controlled to alternately perform a transmitting operation and a receiving operation.
[0031] A second aspect of the present invention provides an oxygen concentration control device for a portable oxygen concentrator, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected through a line; the at least one processor calls the instructions in the memory so that the oxygen concentration control device of the portable oxygen concentrator performs the above-mentioned oxygen concentration control method of the portable oxygen concentrator.
[0032] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for controlling oxygen concentration of a portable oxygen concentrator.
[0033] In an embodiment of the present invention, by using the transmitting and receiving operations of the first and second ultrasonic transducers, the ultrasonic signal to be analyzed can be captured. The relationship between the ultrasonic propagation time and the gas composition can reflect the oxygen concentration in the current environment. After the actual oxygen concentration is obtained, it will be compared with the target oxygen concentration specified by the user. The purpose is to determine whether the current oxygen concentration needs to be adjusted. For example, in a relatively closed space, the user may need to maintain a lower oxygen concentration to prevent excessive oxidation, while a higher oxygen concentration may be required in an open place to support effective breathing. By utilizing the generated concentration control parameters, the oxygen concentrator will perform the corresponding concentration control operation. This process enables the oxygen concentrator to flexibly adjust the output oxygen concentration to avoid safety hazards caused by excessive oxygen concentration in a closed environment, and can also provide sufficient oxygen concentration when needed to maintain normal physiological functions. Therefore, this embodiment enhances the flexibility of the portable oxygen concentrator in the use method. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1It is a schematic diagram of an embodiment of a method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention;
[0035] Figure 2 1 is a schematic diagram of a specific embodiment of step 102 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention;
[0036] Figure 3 1 is a schematic diagram of a specific embodiment of step 103 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention;
[0037] Figure 4 It is a schematic diagram of a specific embodiment after step 104 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention;
[0038] Figure 5 FIG. 1 is a schematic diagram of an embodiment of an oxygen concentration control device of a portable oxygen concentrator in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] Embodiments of the present invention provide a method, device and storage medium for controlling oxygen concentration of a portable oxygen concentrator.
[0040] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0041] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0042] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention includes:
[0043] 101. When receiving the oxygen concentration control instruction, control the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and control the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation to receive the ultrasonic signal to be analyzed;
[0044] For the modules, data or instructions involved in this embodiment, the oxygen concentration control instruction is a command issued by the user based on the portable oxygen concentrator, instructing the oxygen concentrator to measure and adjust the oxygen concentration. The instruction contains information such as the target oxygen concentration.
[0045] The ultrasonic transducer is a component of the portable oxygen concentrator that can transmit and receive ultrasonic signals. The first and second ultrasonic transducers work together to measure the properties of the gas (such as oxygen concentration). The ultrasonic signal to be analyzed is the ultrasonic signal transmitted through the medium (such as air or oxygen) after the ultrasonic transducer transmits it. After receiving, these signals are used to analyze and calculate relevant parameters.
[0046] The propagation time difference is the difference in the time it takes for ultrasound to propagate in the medium. This difference is calculated by comparing the signal times received by the two ultrasonic transducers and is used to further calculate the oxygen concentration.
[0047] The target oxygen concentration refers to the expected oxygen concentration value set by the user, and the oxygen concentrator adjusts the oxygen concentration according to the target value.
[0048] The concentration control parameter is a parameter calculated based on the difference between the actual oxygen concentration and the target oxygen concentration, and is used to guide the oxygen concentrator to perform specific concentration adjustment operations.
[0049] Specifically, upon receiving the oxygen concentration control instruction, the first ultrasonic transducer is started to transmit an ultrasonic signal, the second ultrasonic transducer is started to transmit an ultrasonic signal, and the two transducers stop transmitting after receiving the ultrasonic signal from the other party, and switch to the receiving mode, and record the receiving time of the ultrasonic signal.
[0050] Optionally, the first ultrasonic transducer and the second ultrasonic transducer are controlled to perform the transmitting operation and the receiving operation at the same time. When the oxygen concentration control instruction is received, the oxygen concentration control device of the portable oxygen concentrator will trigger the first ultrasonic transducer and the second ultrasonic transducer at the same time, so that they transmit the ultrasonic signal at the same time. After transmitting the ultrasonic signal, the oxygen concentration control device of the portable oxygen concentrator will simultaneously start the receiving function of the first ultrasonic transducer and the second ultrasonic transducer, so that they can receive the ultrasonic signal at the same time. The received ultrasonic signal will undergo a series of processing and analysis, including calculating the propagation time difference, performing the Hilbert transform and other steps, and finally obtain the actual oxygen concentration. According to the calculated actual oxygen concentration and target oxygen concentration, the oxygen concentration control device of the portable oxygen concentrator will generate a concentration control parameter and perform the concentration control operation accordingly. In this optional embodiment, the first ultrasonic transducer and the second ultrasonic transducer can start the transmitting operation at the same time, and then enter the receiving state at the same time. The concurrent operation mode significantly reduces the overall operation time.
[0051] Optionally, the first ultrasonic transducer and the second ultrasonic transducer are controlled to perform transmitting and receiving operations at the same time. Among them, the first ultrasonic transducer is first controlled to transmit an ultrasonic signal, while the second ultrasonic transducer is in a receiving state. Then the second ultrasonic transducer is switched to transmit an ultrasonic signal, and the first ultrasonic transducer is in a receiving state. After each ultrasonic signal is transmitted, the corresponding ultrasonic transducer receives the reflected ultrasonic signal. The received ultrasonic signal will undergo a series of processing and analysis to ultimately obtain the actual oxygen concentration. Based on the calculated actual oxygen concentration and target oxygen concentration, the control system will generate concentration control parameters and perform concentration control operations accordingly. In this optional embodiment, by alternately transmitting and receiving ultrasonic signals, mutual interference between ultrasonic waves can be effectively reduced and signal quality can be improved.
[0052] 102. Calculate the propagation time difference of the ultrasonic signal to be analyzed, and calculate the actual oxygen concentration according to the propagation time difference, the ultrasonic signal to be analyzed and preset pipeline physical parameters;
[0053] Specifically, the time when the first and second ultrasonic transducers receive the ultrasonic signal is recorded. The propagation time of the ultrasonic wave from emission to reception is calculated. The propagation time difference of the first and second ultrasonic transducers is calculated. According to a known formula, the propagation time difference and the characteristics of the ultrasonic signal are used to calculate the actual oxygen concentration in the current environment.
[0054] Optionally, the propagation time difference of the ultrasonic signal to be analyzed is calculated using the time difference method. The principle of the time difference method is to place an ultrasonic transducer on both sides of the fluid with medium flow, and the two ultrasonic transducers emit ultrasonic signals alternately. One of the two ultrasonic signals will propagate in the direction of the flow of the medium, and the other will propagate in the opposite direction of the flow of the medium. In this case, affected by the flow velocity of the medium, the propagation time of the two ultrasonic signals in the same sound path will have a difference, that is, the propagation time difference of this step.
[0055] Specifically, refer to Figure 2 , Figure 2 FIG. 1 is a schematic diagram of a specific embodiment of step 102 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention. Step 102 also includes the following specific implementation steps:
[0056] 1021. Based on the propagation time difference, perform Hilbert transform on the ultrasonic signal to be analyzed to obtain a target envelope;
[0057] 1022. Calculate the actual oxygen concentration according to the target envelope and the preset physical parameters of the pipeline.
[0058] The ultrasonic signal propagating in the pipeline is received by the first ultrasonic transducer and the second ultrasonic transducer. Since different oxygen concentrations will affect the propagation speed of ultrasonic waves in the pipeline, the change in oxygen concentration can be reflected by measuring the propagation time of ultrasonic waves in the downstream and upstream directions and calculating the difference.
[0059] Through Hilbert transform, the ultrasonic signal can be converted into an analytical signal to obtain its amplitude and phase information. The analytical signal obtained after Hilbert transform can be used to extract the envelope of the ultrasonic signal, that is, the target envelope, which reflects the change of the amplitude of the ultrasonic signal over time, and then the change of oxygen concentration can be inferred.
[0060] Based on the target envelope and preset pipeline physical parameters (such as pipeline diameter, length, etc.), combined with the known propagation speed of ultrasound in pure oxygen and pure air, the actual oxygen concentration can be calculated through a preset algorithm or model.
[0061] In steps 1021-1022, the target envelope extracted by Hilbert transform can more accurately reflect the amplitude change of the ultrasonic signal, thereby improving the accuracy of oxygen concentration measurement. Since the propagation speed of the ultrasonic signal in the pipeline is very fast, this embodiment can monitor and calculate the change of oxygen concentration in real time, and is suitable for occasions requiring rapid response. This embodiment is not affected by external factors such as oxygen flow, temperature, pressure, etc., and can work stably in various complex environments.
[0062] Specifically, step 1022 also includes the following specific implementations:
[0063] 10221. Extracting the ultrasonic flight time from the target envelope;
[0064] 10222. Calculate instantaneous flow rate according to the ultrasonic flight time and the preset physical parameters of the pipeline;
[0065] 10223. Calculate the actual oxygen concentration based on the instantaneous flow rate.
[0066] Among them, the flight time of the ultrasonic wave propagating in the pipeline is extracted from the target envelope. This can be achieved by measuring the time difference from the emission to the reception of the ultrasonic wave. The preset pipeline physical parameters include the cross-sectional area, length, material, etc. of the pipeline. They are the key parameters for calculating the instantaneous flow rate.
[0067] Based on the ultrasonic flight time and the cross-sectional area of the pipe, combined with preset formulas in fluid mechanics (such as the Bernoulli equation or the continuity equation), the instantaneous flow rate of oxygen in the pipe can be calculated.
[0068] Based on the known instantaneous flow rate, the actual concentration of oxygen in the pipeline can be further calculated.
[0069] In steps 10221-10223, the flow measurement method based on ultrasonic flight time has high accuracy and stability, and can accurately reflect the changes in oxygen flow.
[0070] Specifically, step 10222 also includes the following specific implementation methods:
[0071] 102221. Extracting the cross-sectional area of the pipeline from the preset physical parameters of the pipeline;
[0072] 102222. Substitute the ultrasonic flight time and the pipe cross-sectional area into a preset formula to obtain an instantaneous flow rate.
[0073] In steps 102221-102222, the instantaneous flow rate is calculated by directly measuring the ultrasonic flight time and the pipe cross-sectional area, without the need for additional flow sensors or other complex equipment, thereby reducing the cost of the oxygen concentrator.
[0074] 103. Extracting the target oxygen concentration carried by the oxygen concentration control instruction, and generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration;
[0075] Specifically, the target oxygen concentration value is read from the oxygen concentration control instruction. The actual oxygen concentration is compared with the target oxygen concentration. The difference between the two is calculated. According to the difference and the predetermined control rules, the concentration control parameters are generated, and the control parameters are used to guide the oxygen concentrator to adjust the oxygen concentration.
[0076] Specifically, refer to Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a specific embodiment of step 103 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention. Step 103 also includes the following specific implementation methods:
[0077] 1031. Calculate the oxygen solenoid valve time according to the actual oxygen concentration and the target oxygen concentration;
[0078] 1032. Generate the concentration control parameter according to the oxygen solenoid valve time.
[0079] Among them, according to the concentration difference, the PID (proportional-integral-differential) control algorithm is used to calculate the required oxygen solenoid valve opening time (i.e. oxygen solenoid valve time). The oxygen solenoid valve time will be used to adjust the oxygen output of the oxygen generator to achieve the target oxygen concentration. The calculated oxygen solenoid valve time is used as the concentration control parameter, which will be used to control the oxygen output of the oxygen generator. For example: the oxygen concentration in the atmosphere (%) is known to be 21 + 4 × oxygen flow rate (L / min). The controllable oxygen flow rate of the known oxygen solenoid valve opening time. The oxygen concentration can be controlled by using the oxygen production efficiency to keep up with the oxygen output flow rate. When the parameters of the current oxygen concentration and oxygen flow rate are obtained. The target oxygen concentration and the actual oxygen concentration are brought in for calculation through the PID algorithm to obtain the oxygen solenoid valve time, and the oxygen production amount specified by the user can be calculated to achieve closed-loop control.
[0080] In steps 1031-1032, by comparing the actual oxygen concentration with the target oxygen concentration in real time and calculating the oxygen solenoid valve time based on the concentration difference, accurate control of the oxygen concentration can be achieved to ensure that the oxygen concentration output by the oxygen concentrator meets user needs.
[0081] 104. Performing a concentration control operation according to the concentration control parameter;
[0082] Specifically, the generated concentration control parameters are transmitted to the control system of the oxygen concentrator, or the oxygen concentration control device of the portable oxygen concentrator controls the oxygen concentrator based on the concentration control parameters. The oxygen concentrator adjusts the oxygen output according to the concentration control parameters to ensure that the output oxygen concentration approaches or reaches the target oxygen concentration.
[0083] Optionally, the oxygen concentration is continuously monitored and further actions are performed based on preset strategies when necessary to ensure stable and safe oxygen concentration.
[0084] Specifically, refer to Figure 4 , Figure 4 This is a schematic diagram of a specific embodiment after step 104 of the method for controlling oxygen concentration of a portable oxygen concentrator in an embodiment of the present invention. Step 104 also includes the following specific implementations:
[0085] 105. When the concentration control operation is completed, determining whether a stop instruction is received;
[0086] 106. If the stop instruction is not received, return to the step of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation;
[0087] 107. If the stop instruction is received, stop the oxygen output.
[0088] After completing the concentration control operation, the oxygen concentration control device of the portable oxygen concentrator detects whether a stop command is received. The stop command can be manually input by the user or automatically issued by the oxygen concentration control device of the portable oxygen concentrator under certain conditions.
[0089] When the oxygen concentration control device of the portable oxygen concentrator does not detect a stop command, it re-enters the operation cycle of transmitting and receiving ultrasonic signals.
[0090] The first ultrasonic transducer and the second ultrasonic transducer are controlled to perform transmitting and receiving operations, a propagation time difference is calculated, an actual oxygen concentration is calculated, and a concentration control parameter is generated and applied.
[0091] After detecting the stop command, the oxygen concentration control device of the portable oxygen concentrator stops the oxygen concentration control operation. Turn off the oxygen concentrator or stop the oxygen output to ensure the safe shutdown of the equipment.
[0092] In steps 105-107, when no stop command is received, the oxygen concentration control device of the portable oxygen concentrator can continuously cycle through the monitoring and adjustment operations of the oxygen concentration, forming an operation closed loop to ensure the stability and accuracy of the oxygen concentration. It can also flexibly adjust the operation process according to different instructions to adapt to a variety of usage scenarios and needs, thereby improving the application scope and practicality of the portable oxygen concentrator.
[0093] In this embodiment, by using the transmitting and receiving operations of the first and second ultrasonic transducers, the ultrasonic signal to be analyzed can be captured. The relationship between the ultrasonic propagation time and the gas composition can reflect the oxygen concentration in the current environment. After the actual oxygen concentration is obtained, it will be compared with the target oxygen concentration specified by the user. The purpose is to determine whether the current oxygen concentration needs to be adjusted. For example, in a relatively closed space, the user may need to maintain a lower oxygen concentration to prevent excessive oxidation, while a higher oxygen concentration may be required in an open place to support effective breathing. By utilizing the generated concentration control parameters, the oxygen concentrator will perform the corresponding concentration control operation. This process enables the oxygen concentrator to flexibly adjust the output oxygen concentration to avoid safety hazards caused by excessive oxygen concentration in a closed environment, and can also provide sufficient oxygen concentration when needed to maintain normal physiological functions. Therefore, this embodiment enhances the flexibility of the portable oxygen concentrator in the use method.
[0094] Figure 51 is a schematic diagram of the structure of an oxygen concentration control device for a portable oxygen concentrator provided by an embodiment of the present invention. The oxygen concentration control device 500 for the portable oxygen concentrator may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the oxygen concentration control device 500 of the portable oxygen concentrator. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the oxygen concentration control device 500 of the portable oxygen concentrator.
[0095] The oxygen concentration control device 500 based on the portable oxygen concentrator may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. It can be understood by those skilled in the art that Figure 5 The structure of the oxygen concentration control device of the portable oxygen concentrator shown does not constitute a limitation on the oxygen concentration control device based on the portable oxygen concentrator, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0096] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for controlling the oxygen concentration of the portable oxygen concentrator.
[0097] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0098] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0099] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for controlling oxygen concentration of a portable oxygen concentrator, characterized in that: The oxygen concentration control method of the portable oxygen concentrator comprises: When receiving the oxygen concentration control instruction, controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation to receive the ultrasonic signal to be analyzed; Calculating the propagation time difference of the ultrasonic signal to be analyzed, and calculating the actual oxygen concentration according to the propagation time difference, the ultrasonic signal to be analyzed and the preset physical parameters of the pipeline; extracting the target oxygen concentration carried by the oxygen concentration control instruction, and generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration; performing a concentration control operation according to the concentration control parameter, wherein the concentration control parameter is used to guide the oxygen concentrator to adjust the oxygen concentration; Generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration includes: A concentration control parameter is generated according to the difference between the actual oxygen concentration and the target oxygen concentration and a predetermined closed-loop control rule.
2. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 1, characterized in that: After the step of performing the concentration control operation according to the concentration control parameter, the method further includes: When the concentration control operation is completed, determining whether a stop instruction is received; If the stop instruction is not received, returning to the step of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation, and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation; If the stop command is received, the oxygen output is stopped.
3. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 1, characterized in that: The step of generating a concentration control parameter according to the actual oxygen concentration and the target oxygen concentration comprises: Calculate the oxygen solenoid valve time according to the actual oxygen concentration and the target oxygen concentration; The concentration control parameter is generated according to the oxygen solenoid valve time.
4. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 1, characterized in that: The step of calculating the actual oxygen concentration according to the propagation time difference, the ultrasonic signal to be analyzed and the preset pipeline physical parameters includes: Based on the propagation time difference, performing Hilbert transform on the ultrasonic signal to be analyzed to obtain a target envelope; The actual oxygen concentration is calculated according to the target envelope and the preset physical parameters of the pipeline.
5. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 4, characterized in that: The step of calculating the actual oxygen concentration according to the target envelope and the preset pipeline physical parameters includes: Extracting the ultrasonic flight time in the target envelope; Calculating the instantaneous flow rate according to the ultrasonic flight time and the preset physical parameters of the pipeline; The actual oxygen concentration is calculated according to the instantaneous flow rate.
6. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 5, characterized in that: The step of calculating the instantaneous flow rate according to the ultrasonic flight time and the preset physical parameters of the pipeline includes: Extracting the pipeline cross-sectional area from the preset physical parameters of the pipeline; Substituting the ultrasonic flight time and the pipe cross-sectional area into a preset formula, the instantaneous flow rate is obtained.
7. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 1, characterized in that: The steps of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation include: The first ultrasonic transducer and the second ultrasonic transducer are controlled to simultaneously perform a transmitting operation and a receiving operation.
8. The method for controlling oxygen concentration of a portable oxygen concentrator according to claim 1, characterized in that: The steps of controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a transmitting operation and controlling the first ultrasonic transducer and the second ultrasonic transducer to perform a receiving operation include: The first ultrasonic transducer and the second ultrasonic transducer are controlled to alternately perform a transmitting operation and a receiving operation.
9. An oxygen concentration control device for a portable oxygen concentrator, characterized in that: The oxygen concentration control device of the portable oxygen concentrator comprises: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected by a line; The at least one processor calls the instructions in the memory to enable the oxygen concentration control device of the portable oxygen concentrator to perform the oxygen concentration control method of the portable oxygen concentrator according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the oxygen concentration control method of the portable oxygen concentrator according to any one of claims 1 to 8 is implemented.
