A control method, system and device for an oxygen concentrator
By obtaining the user's physical data in real time and using the model to switch the oxygen output mode of the oxygen concentrator, the problem of the existing oxygen concentrator being unable to adapt to different physical conditions is solved, and the oxygen utilization rate and breathing comfort are improved.
Patent Information
- Application Number
- CN202410889024.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing oxygen concentrators cannot change the oxygen mode in real time according to the user's physical condition, resulting in the inability to provide sufficient oxygen in time when the amount of activity is large or breathing is abnormal, affecting the user's breathing comfort and safety.
By acquiring the user's physical data, the first model and the second model are used to switch the DC oxygen outflow and pulse oxygen outflow modes of the oxygen concentrator in real time, and adjust the opening of the solenoid valve to establish the opening of the DC solenoid valve and the pulse solenoid valve. Non-linear mapping relationship between adjustment value and sign data.
It is achieved while ensuring the user's breathing comfort while improving oxygen utilization to ensure appropriate oxygen supply under different physical conditions.
Smart Images

Figure CN118426390B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oxygen concentrator control, and more specifically, to a control method, system and device for an oxygen concentrator. Background Art
[0002] In the field of medical devices, the existing oxygen generators mainly include: direct current oxygen generator and pulse oxygen generator. The direct current oxygen generator is based on PSA (molecular sieve pressure swing adsorption) technology and usually adopts a double adsorption tower cycle working mode, that is, in an adsorption tower, when the air is compressed and passes through the molecular sieve, the molecular sieve has a stronger adsorption force on nitrogen and other gas molecules than oxygen, so nitrogen is adsorbed by the molecular sieve, and oxygen passes through the molecular sieve to form a high concentration of oxygen. At the same time, the other adsorption tower is in the decompression desorption stage, and the previously adsorbed nitrogen is released by reducing the pressure or vacuuming, thereby completing the regeneration of the molecular sieve. The two adsorption towers are periodically switched through an automated control system to ensure a continuous supply of oxygen. The pulse oxygen generator is also based on PSA technology, but the difference from the direct current oxygen generator is that the direct current oxygen generator always provides oxygen at a constant speed, while the built-in sensor of the pulse oxygen generator can monitor the user's respiratory pressure and respiratory rate, so that the user can accurately release oxygen when inhaling and not provide oxygen when exhaling, thereby improving oxygen utilization.
[0003] However, existing oxygen concentrators usually only have a single direct-current oxygen concentrator oxygen output mode or a single pulse oxygen concentrator oxygen output mode, and are unable to change the oxygen output mode in real time according to the user's physical condition. For example, when the user has less activity or normal breathing, the use of a pulse oxygen concentrator can improve oxygen utilization, but when the user has greater activity or abnormal breathing, the pulse oxygen concentrator may not be able to provide sufficient oxygen in time, resulting in low breathing comfort for the user and affecting the user's safety. Summary of the invention
[0004] The present invention provides a control method, system and device for an oxygen concentrator to solve the technical problems in the above-mentioned background technology.
[0005] The present invention provides a control method for an oxygen concentrator, comprising the following steps:
[0006] Step S101, obtaining the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, proceeding to step S102, otherwise proceeding to step S104;
[0007] The first vital sign data include: blood oxygen saturation, heart rate and respiratory rate;
[0008] Step S102, switching the oxygen concentrator to a direct current oxygen outlet mode, and inputting the user's first vital sign data into a first model, the output value representing a first opening adjustment value of the direct current oxygen outlet solenoid valve within a first preset time period B;
[0009] Step S103, adjusting the opening of the direct current oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B;
[0010] Step S104, switching the oxygen concentrator to the pulse oxygen delivery mode, and acquiring the second vital sign data of the user within the second preset time period C according to the second preset time interval D to generate a characteristic sequence;
[0011] The feature sequence includes N sequence units, and the i-th sequence unit represents the second vital sign data of the user at the i-th time point, where 1≤i≤N, N=C / D;
[0012] The second vital sign data include: blood oxygen saturation, heart rate, respiratory rate and respiratory waveform;
[0013] The horizontal axis of the respiratory waveform graph represents the time point, and the vertical axis represents the airway pressure;
[0014] Step S105, inputting the characteristic sequence into the second model, and the output value represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E;
[0015] Step S106, adjusting the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during the third preset time period E.
[0016] Furthermore, A, B, C, D and E are all custom parameters.
[0017] Furthermore, the preset threshold conditions include: blood oxygen saturation is less than a first threshold; heart rate is greater than or equal to a second threshold; respiratory rate is greater than or equal to a third threshold; wherein the first threshold, the second threshold and the third threshold are all custom parameters.
[0018] Furthermore, the calculation formula of the first model is as follows:
[0019] ;
[0020] in Indicates the first opening adjustment value, , and Respectively represent blood oxygen saturation, heart rate and respiratory rate; , and represent the first weight parameter, the second weight parameter and the third weight parameter respectively, , and They represent the first influence coefficient, the second influence coefficient and the third influence coefficient respectively.
[0021] Furthermore, the first model is fitted by the least squares method, and the mean square error is specified as the loss function of the first model, and the weight parameters and influence coefficients of the first model are updated by the gradient descent algorithm to minimize the loss function of the first model, wherein the first opening adjustment value of the training sample used to fit the first model is set by evaluation by relevant technical experts.
[0022] Furthermore, the pulse oxygen outlet solenoid valve is opened at a time point corresponding to a peak of the respiratory waveform, and the pulse oxygen outlet solenoid valve is closed at a time point corresponding to a trough of the respiratory waveform.
[0023] Further, the second model includes N hidden layers, the i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs a hidden state;
[0024] The hidden state output by the Nth hidden layer is input into the classifier, and the classification space of the classifier represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E;
[0025] The calculation formula of the second model includes:
[0026] ;
[0027] ;
[0028] ;
[0029] ;
[0030] in represents the i-th sequence unit of the feature sequence input to the i-th hidden layer, and They represent the hidden states of the outputs of the i-th hidden layer and the i-1-th hidden layer, respectively. Assign a value of 0, , and Represent the reset gate, update gate and candidate hidden state of the i-th hidden layer respectively, , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the reset gate of the i-th hidden layer, respectively. , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the update gate of the i-th hidden layer, respectively. , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the candidate hidden state of the i-th hidden layer, respectively. represents the Hadamard product, ReLU represents the ReLU activation function, and tanh represents the hyperbolic tangent activation function.
[0031] Further, obtaining sample labels of training samples for training the second model includes the following steps:
[0032] Step S301, before using the oxygen concentrator, customizing standard values of the user's blood oxygen saturation, heart rate and respiratory rate as a first vector;
[0033] Step S302, randomly generating an opening value as a second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within a third preset time period E;
[0034] Step S303, after the third preset time period E, measuring the user's blood oxygen saturation, heart rate and respiratory rate as a second vector, and calculating the Euclidean distance between the first vector and the second vector;
[0035] Step S304, repeating steps S301 to S303, obtaining a second opening adjustment value corresponding to the minimum value of the Euclidean distance between the first vector and the second vector as a sample label of a training sample;
[0036] Step S305, repeating step S304 until sample labels of K training samples are obtained, where K is a custom parameter.
[0037] The present invention provides a control system for an oxygen concentrator, comprising:
[0038] A direct current oxygen outlet mode switching module, which is used to obtain the first vital sign data of the user according to a first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, the oxygen concentrator is switched to the direct current oxygen outlet mode;
[0039] A first opening adjustment value prediction module, which is used to input the first vital sign data of the user into the first model, and the output value represents the first opening adjustment value of the direct current oxygen outlet solenoid valve within the first preset time period B;
[0040] A DC oxygen outlet solenoid valve adjustment module, which is used to adjust the opening of the DC oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B;
[0041] A pulse oxygen mode switching module, which is used to obtain the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data does not meet any one of the preset threshold conditions, the oxygen concentrator is switched to the pulse oxygen mode;
[0042] A second opening adjustment value prediction module is used to obtain the second vital sign data of the user in a second preset time period C according to a second preset time interval D, generate a feature sequence, input the feature sequence into a second model, and output a value representing the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on in a third preset time period E;
[0043] The pulse oxygen outlet solenoid valve regulating module is used to regulate the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during a third preset time period E.
[0044] The present invention provides a control device for an oxygen concentrator, comprising:
[0045] Aeration device, a first solenoid valve, a second solenoid valve, a first sieve barrel, a first oxygen bridge, a third solenoid valve, a second sieve barrel, a first non-return valve, a second non-return valve, a gas storage tank, a second oxygen bridge, a pulse valve, a DC valve and an oxygen outlet nozzle;
[0046] The aeration device is connected to the first solenoid valve and the second solenoid valve through pipelines, respectively, the first sieve barrel is connected to the first solenoid valve, the first oxygen bridge and the first one-way valve through pipelines, respectively, the second sieve barrel is connected to the second one-way valve, the third solenoid valve and the second one-way valve through pipelines, respectively, the third solenoid valve is connected to the first oxygen bridge through pipelines, the gas storage tank is connected to the first one-way valve, the second one-way valve, the pulse valve and the second oxygen bridge through pipelines, the second oxygen bridge is connected to the DC valve through pipelines, and the oxygen outlet nozzle is connected to the pulse valve and the DC valve through pipelines.
[0047] The beneficial effects of the present invention are as follows: the present invention integrates direct current oxygen outlet and pulse oxygen outlet into one oxygen concentrator, and switches the oxygen outlet mode in real time according to the user's vital sign data, and establishes a nonlinear mapping relationship between the opening adjustment values of the direct current solenoid valve and the pulse solenoid valve and the user's vital sign data through the first model and the second model, thereby improving the oxygen utilization rate while ensuring the user's breathing comfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a flow chart of a control method of an oxygen concentrator of the present invention;
[0049] Figure 2 is a flow chart of preprocessing the second vital sign data of the present invention;
[0050] Figure 3 is a flow chart of obtaining sample labels of training samples for training a second model according to the present invention;
[0051] Figure 4 is a schematic diagram of a control system of an oxygen concentrator of the present invention;
[0052] Figure 5is a schematic diagram of a control device for an oxygen concentrator of the present invention;
[0053] Figure 6 Schematic diagram of the oxygen concentrator of the present invention.
[0054] In the figure: a DC oxygen outlet mode switching module 401, a first opening adjustment value prediction module 402, a DC oxygen outlet solenoid valve adjustment module 403, a pulse oxygen outlet mode switching module 404, a second opening adjustment value prediction module 405, a pulse oxygen outlet solenoid valve adjustment module 406, an aeration device 501, a first solenoid valve 502, a second solenoid valve 503, a first sieve barrel 504, a first oxygen bridge 505, a third solenoid valve 506, a second sieve barrel 507, a first check valve 508, a second check valve 509, a gas tank 510, a second oxygen bridge 511, a pulse valve 512, a DC valve 513, and an oxygen outlet nozzle 514. DETAILED DESCRIPTION
[0055] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the contents of this specification. Each example may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.
[0056] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in one or more embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0057] like Figure 1-Figure 6 As shown, a control method for an oxygen concentrator comprises the following steps:
[0058] Step S101, obtaining the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, proceeding to step S102, otherwise proceeding to step S104;
[0059] The first vital sign data include: blood oxygen saturation, heart rate and respiratory rate;
[0060] Step S102, switching the oxygen concentrator to a direct current oxygen outlet mode, and inputting the user's first vital sign data into a first model, the output value representing a first opening adjustment value of the direct current oxygen outlet solenoid valve within a first preset time period B;
[0061] Step S103, adjusting the opening of the direct current oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B;
[0062] Step S104, switching the oxygen concentrator to the pulse oxygen delivery mode, and acquiring the second vital sign data of the user within the second preset time period C according to the second preset time interval D to generate a characteristic sequence;
[0063] The feature sequence includes N sequence units, and the i-th sequence unit represents the second vital sign data of the user at the i-th time point, where 1≤i≤N, N=C / D;
[0064] The second vital sign data include: blood oxygen saturation, heart rate, respiratory rate and respiratory waveform;
[0065] The horizontal axis of the respiratory waveform graph represents the time point, and the vertical axis represents the airway pressure;
[0066] Step S105, inputting the characteristic sequence into the second model, and the output value represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E;
[0067] Step S106, adjusting the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during the third preset time period E.
[0068] In one embodiment of the present invention, A, B, C, D and E are all custom parameters. Preferably, A is set to 1 minute, B is set to 5 minutes, C is set to 1 minute, D is set to 5 seconds, then N is 12, and E is set to 2 minutes.
[0069] In one embodiment of the present invention, the user's blood oxygen saturation is obtained by a pulse oximeter, the user's heart rate is obtained by a portable heart rate monitor, the user's respiratory rate is obtained by a respiratory rate monitor, and the user's respiratory waveform is obtained by a respiratory mechanics monitor.
[0070] In one embodiment of the present invention, the preset threshold conditions include: blood oxygen saturation is less than a first threshold; heart rate is greater than or equal to a second threshold; respiratory rate is greater than or equal to a third threshold; wherein the first threshold, the second threshold and the third threshold are all custom parameters, which are specifically evaluated and set by relevant technical experts.
[0071] In one embodiment of the present invention, the calculation formula of the first model is as follows:
[0072] ;
[0073] in Indicates the first opening adjustment value, , and Respectively represent blood oxygen saturation, heart rate and respiratory rate; , and represent the first weight parameter, the second weight parameter and the third weight parameter respectively, , and They represent the first influence coefficient, the second influence coefficient and the third influence coefficient respectively.
[0074] In one embodiment of the present invention, the first model is fitted by the least squares method, and the mean square error is specified as the loss function of the first model, and the weight parameters and influence coefficients of the first model are updated by the gradient descent algorithm to minimize the loss function of the first model, wherein the first opening adjustment value of the training sample used to fit the first model is set by evaluation by relevant technical experts.
[0075] In one embodiment of the present invention, the pulse oxygen outlet solenoid valve is opened at a time point corresponding to a peak of the respiratory waveform, and is closed at a time point corresponding to a trough of the respiratory waveform.
[0076] In one embodiment of the present invention, Figure 2 As shown, before generating the feature sequence, the second vital sign data may also be preprocessed, including the following steps:
[0077] Step S201, extracting features from the respiratory waveform of the second vital sign data, including: the number of peaks, the number of troughs, and the average time difference between the peaks and the troughs;
[0078] Step S202, performing interpolation filling processing on the missing values of the blood oxygen saturation, heart rate and respiratory rate of the second vital sign data, that is, taking the average value of the data of the two time points closest to the time point corresponding to the missing value for filling;
[0079] Step S203 , normalizing the blood oxygen saturation, heart rate and respiratory rate of the second vital sign data by using z-score (standard score).
[0080] In one embodiment of the present invention, the second model includes N hidden layers, the i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs a hidden state;
[0081] The hidden state output by the Nth hidden layer is input into the classifier, and the classification space of the classifier represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E;
[0082] The calculation formula of the second model includes:
[0083] ;
[0084] ;
[0085] ;
[0086] ;
[0087] in represents the i-th sequence unit of the feature sequence input to the i-th hidden layer, and They represent the hidden states of the outputs of the i-th hidden layer and the i-1-th hidden layer, respectively. Assign a value of 0, , and Represent the reset gate, update gate and candidate hidden state of the i-th hidden layer respectively, , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the reset gate of the i-th hidden layer, respectively. , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the update gate of the i-th hidden layer, respectively. , and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the candidate hidden state of the i-th hidden layer, respectively. represents the Hadamard product, ReLU represents the ReLU activation function, and tanh represents the hyperbolic tangent activation function.
[0088] In one embodiment of the present invention, Figure 3 As shown, obtaining sample labels of training samples for training the second model includes the following steps:
[0089] Step S301, before using the oxygen concentrator, customizing the standard values of the user's blood oxygen saturation, heart rate and respiratory rate as the first vector, wherein the standard values of the blood oxygen saturation, heart rate and respiratory rate are set by relevant technical experts according to the user's physical condition;
[0090] Step S302, randomly generating an opening value as a second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within a third preset time period E;
[0091] Step S303, after the third preset time period E, measuring the user's blood oxygen saturation, heart rate and respiratory rate as a second vector, and calculating the Euclidean distance between the first vector and the second vector;
[0092] Step S304, repeating steps S301 to S303, obtaining a second opening adjustment value corresponding to the minimum value of the Euclidean distance between the first vector and the second vector as a sample label of a training sample;
[0093] Step S305, repeat step S304 until sample labels of K training samples are obtained, where K is a custom parameter, and preferably, K is set to 2000.
[0094] In one embodiment of the present invention, after the third preset time period E, the user's breathing comfort can be collected through a questionnaire survey as a sample label of a training sample, and the value range of the breathing comfort can be set to between 0 and 10.
[0095] In one embodiment of the present invention, the difference between the value output by the second model in each iteration and the sample label of the training sample is designated as the loss function, the gradient information of the weight parameters and bias parameters of the second model is calculated by the back propagation algorithm, and then the weight parameters and bias parameters are updated by the gradient descent algorithm according to the gradient information, so that the loss function of the second model is minimized.
[0096] like Figure 4 As shown, the present invention provides a control system for an oxygen concentrator, comprising:
[0097] A direct current oxygen outlet mode switching module 401 is used to obtain the first vital sign data of the user according to a first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, the oxygen concentrator is switched to the direct current oxygen outlet mode;
[0098] A first opening adjustment value prediction module 402, which is used to input the user's first vital sign data into the first model, and the output value represents the first opening adjustment value of the direct current oxygen outlet solenoid valve within the first preset time period B;
[0099] A direct current oxygen outlet solenoid valve regulating module 403, which is used to regulate the opening of the direct current oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B;
[0100] The pulse oxygen mode switching module 404 is used to obtain the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data does not meet any one of the preset threshold conditions, switch the oxygen concentrator to the pulse oxygen mode;
[0101] The second opening adjustment value prediction module 405 is used to obtain the second vital sign data of the user in the second preset time period C according to the second preset time interval D, generate a feature sequence, input the feature sequence into the second model, and output a value representing the second opening adjustment value when the pulse oxygen solenoid valve is turned on in the third preset time period E;
[0102] The pulse oxygen outlet solenoid valve adjustment module 406 is used to adjust the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during the third preset time period E.
[0103] like Figure 5 As shown, the present invention provides a control device for an oxygen concentrator, comprising:
[0104] An air pump 501 (air compressor), a first solenoid valve 502, a second solenoid valve 503, a first sieve barrel 504, a first oxygen bridge 505, a third solenoid valve 506, a second sieve barrel 507, a first check valve 508, a second check valve 509, an air storage tank 510, a second oxygen bridge 511, a pulse valve 512, a DC valve 513 and an oxygen outlet nozzle 514;
[0105] The aeration device 501 is connected to the first solenoid valve 502 and the second solenoid valve 503 through pipelines, respectively; the first sieve barrel 504 is connected to the first solenoid valve 502, the first oxygen bridge 505 and the first one-way valve 508 through pipelines, respectively; the second sieve barrel 507 is connected to the second one-way valve 509, the third solenoid valve 506 and the second one-way valve 509 through pipelines, respectively; the third solenoid valve 506 is connected to the first oxygen bridge 505 through a pipeline, the gas storage tank is connected to the first one-way valve 508, the second one-way valve 509, the pulse valve 512 and the second oxygen bridge 511 through pipelines, respectively; the second oxygen bridge 511 is connected to the DC valve 513 through a pipeline, and the oxygen outlet nozzle 514 is connected to the pulse valve 512 and the DC valve 513 through pipelines, respectively.
[0106] In one embodiment of the present invention, when the oxygen concentrator is in direct current oxygen outlet mode, the first solenoid valve 502 is opened when the first sieve barrel 504 discharges nitrogen, and is closed when oxygen is produced, the second solenoid valve 503 is opened when the second sieve barrel 507 discharges nitrogen, and is closed when oxygen is produced, the third solenoid valve 506 is opened, and the pulse valve 512 is closed; when the oxygen concentrator is in pulse oxygen outlet mode, the first solenoid valve 502 is opened when the first sieve barrel 504 discharges nitrogen, and is closed when oxygen is produced, the second solenoid valve 503 is opened when the second sieve barrel 507 discharges nitrogen, and is closed when oxygen is produced, the third solenoid valve 506 is opened, the direct current valve 513 is closed, and the pulse valve 512 is opened.
[0107] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are protected by the present embodiment.
Claims
1. A control method for an oxygen concentrator, characterized in that: The following steps are involved: Step S101, obtaining the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, proceeding to step S102, otherwise proceeding to step S104; The first vital sign data include: blood oxygen saturation, heart rate and respiratory rate; Step S102, switching the oxygen concentrator to a direct current oxygen outlet mode, and inputting the user's first vital sign data into a first model, the output value representing a first opening adjustment value of the direct current oxygen outlet solenoid valve within a first preset time period B; Step S103, adjusting the opening of the direct current oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B; Step S104, switching the oxygen concentrator to the pulse oxygen delivery mode, and acquiring the second vital sign data of the user within the second preset time period C according to the second preset time interval D to generate a characteristic sequence; The feature sequence includes N sequence units, and the i-th sequence unit represents the second vital sign data of the user at the i-th time point, wherein 1≤i≤N, N=C / D; The second vital sign data include: blood oxygen saturation, heart rate, respiratory rate and respiratory waveform; The horizontal axis of the respiratory waveform graph represents the time point, and the vertical axis represents the airway pressure; Step S105, inputting the characteristic sequence into the second model, and the output value represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E; Step S106, adjusting the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during the third preset time period E; The preset threshold conditions include: blood oxygen saturation is less than the first threshold; heart rate is greater than or equal to the second threshold; respiratory rate is greater than or equal to the third threshold; wherein the first threshold, the second threshold and the third threshold are all custom parameters; The calculation formula of the first model is as follows: Wherein Open1 represents the first opening adjustment value, Blood, Heart and Breath represent blood oxygen saturation, heart rate and respiratory rate respectively; W1, W2 and W3 represent the first weight parameter, the second weight parameter and the third weight parameter respectively, a, β and γ represent the first influence coefficient, the second influence coefficient and the third influence coefficient respectively; The second model includes N hidden layers, where the i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs a hidden state; The hidden state output by the Nth hidden layer is input into the classifier, and the classification space of the classifier represents the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within the third preset time period E; The calculation formula of the second model includes: where x i represents the i-th sequence unit of the feature sequence input to the i-th hidden layer, h i and h i-1 They represent the hidden states of the outputs of the i-th hidden layer and the i-1-th hidden layer, h0 is assigned to 0, r i 、z i and Represent the reset gate, update gate and candidate hidden state of the i-th hidden layer respectively, and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the reset gate of the i-th hidden layer, respectively. and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the update gate of the i-th hidden layer, respectively. and They represent the first weight parameter, the second weight parameter and the bias parameter corresponding to the candidate hidden state of the i-th hidden layer, ⊙ represents the Hadamard product, ReLU represents the ReLU activation function, and tanh represents the hyperbolic tangent activation function; Obtaining sample labels of training samples for training the second model includes the following steps: Step S301, before using the oxygen concentrator, customizing standard values of the user's blood oxygen saturation, heart rate and respiratory rate as a first vector; Step S302, randomly generating an opening value as a second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on within a third preset time period E; Step S303, after the third preset time period E, measuring the user's blood oxygen saturation, heart rate and respiratory rate as a second vector, and calculating the Euclidean distance between the first vector and the second vector; Step S304, repeating steps S301 to S303, obtaining a second opening adjustment value corresponding to the minimum value of the Euclidean distance between the first vector and the second vector as a sample label of a training sample; Step S305, repeating step S304 until sample labels of K training samples are obtained, where K is a custom parameter.
2. The control method of an oxygen concentrator according to claim 1, characterized in that: A, B, C, D, and E are custom parameters.
3. The control method of an oxygen concentrator according to claim 1, characterized in that: The first model is fitted by the least squares method, and the mean square error is specified as the loss function of the first model. The weight parameters and influence coefficients of the first model are updated by the gradient descent algorithm to minimize the loss function of the first model, wherein the first opening adjustment value of the training sample used to fit the first model is set by evaluation by relevant technical experts.
4. The control method of an oxygen concentrator according to claim 1, characterized in that: The pulse oxygen outlet electromagnetic valve is opened at the time point corresponding to the peak of the respiratory waveform, and the pulse oxygen outlet electromagnetic valve is closed at the time point corresponding to the trough of the respiratory waveform.
5. A control system for an oxygen concentrator, characterized in that: A control method for an oxygen concentrator according to any one of claims 1 to 4 is adopted, comprising: A direct current oxygen outlet mode switching module, which is used to obtain the first vital sign data of the user according to a first preset time interval A, and when the first vital sign data meets one of the preset threshold conditions, the oxygen concentrator is switched to the direct current oxygen outlet mode; A first opening adjustment value prediction module, which is used to input the first vital sign data of the user into the first model, and the output value represents the first opening adjustment value of the direct current oxygen outlet solenoid valve within the first preset time period B; A DC oxygen outlet solenoid valve adjustment module, which is used to adjust the opening of the DC oxygen outlet solenoid valve to a first opening adjustment value within a first preset time period B; A pulse oxygen mode switching module, which is used to obtain the first vital sign data of the user according to the first preset time interval A, and when the first vital sign data does not meet any one of the preset threshold conditions, the oxygen concentrator is switched to the pulse oxygen mode; A second opening adjustment value prediction module is used to obtain the second vital sign data of the user in a second preset time period C according to a second preset time interval D, generate a feature sequence, input the feature sequence into a second model, and output a value representing the second opening adjustment value when the pulse oxygen outlet solenoid valve is turned on in a third preset time period E; The pulse oxygen outlet solenoid valve regulating module is used to regulate the opening of the pulse oxygen outlet solenoid valve to a second opening adjustment value during a third preset time period E.
6. A control device for an oxygen concentrator, characterized in that: A control method for an oxygen concentrator according to any one of claims 1 to 4 is adopted, comprising: An aeration device (501), a first solenoid valve (502), a second solenoid valve (503), a first sieve barrel (504), a first oxygen bridge (505), a third solenoid valve (506), a second sieve barrel (507), a first non-return valve (508), a second non-return valve (509), a gas storage tank (510), a second oxygen bridge (511), a pulse valve (512), a DC valve (513) and an oxygen outlet nozzle (514); The pumping device (501) is connected to the first solenoid valve (502) and the second solenoid valve (503) through pipelines, respectively; the first sieve barrel (504) is connected to the first solenoid valve (502), the first oxygen bridge (505) and the first one-way valve (508) through pipelines, respectively; the second sieve barrel (507) is connected to the second one-way valve (509), the third solenoid valve (506) and the second one-way valve (509) through pipelines, respectively; the third solenoid valve (506) is connected to the first oxygen bridge (505) through pipelines, the gas storage tank (510) is connected to the first one-way valve (508), the second one-way valve (509), the pulse valve (512) and the second oxygen bridge (511) through pipelines, the second oxygen bridge (511) and the direct current valve (513) through pipelines, and the oxygen outlet nozzle (514) is connected to the pulse valve (512) and the direct current valve (513) through pipelines.
Citation Information
Patent Citations
Pulse type oxygen supply control device, method and system based on feedback
CN113101478A
Oxygen production equipment control system for mobile equipment
CN211454313U
Multifunctional oxygenerator control system
CN213581792U
Enclosed system environment pressure regulator
EP3960247A1
Dual-mode oxygen generator and oxygen supply method thereof
WO2023116265A1
