Automatic control method and device for oxygen flow rate, storage medium and control system
By collecting facial reflex information to determine the breathing frequency and automatically adjusting the opening of the ventilator valve, the problem that traditional ventilators cannot adjust the oxygen flow in time during sleep or inconvenient operation is solved, and the real-time response of the respiratory device to the human body's breathing changes is achieved.
Patent Information
- Application Number
- CN202411131042.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-26
AI Technical Summary
Traditional ventilators cannot change the oxygen flow in time and effectively during sleep or inconvenient operation, and cannot adapt to changes in users' oxygen demand.
By collecting facial reflection information, determine the breathing frequency, and control the valve to be at the target opening according to the respiratory frequency corresponding to the reflection information collected from the adjacent two times to achieve automatic adjustment of the oxygen flow rate and ensure that the oxygen flow rate is within the target range.
It is realized that when the breathing device is sleeping or inconvenient to operate, the respiratory device can adjust the valve opening according to the human body's breathing speed in real time, change the oxygen flow rate, adapt to the user's breathing changes, and solve the problem that the oxygen flow cannot be adjusted in time.
Smart Images

Figure CN119015548A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ventilator support equipment, and in particular to an automatic control method, control device, storage medium and control system for oxygen flow rate. Background Art
[0002] A ventilator is a medical device used to treat respiratory diseases and respiratory dysfunction. It helps the user breathe by delivering oxygen or air to the user's lungs. A ventilator can provide different ventilation modes, such as assisted ventilation, controlled ventilation, and pressure support ventilation, which are adjusted according to the patient's condition and needs. Ventilators are widely used in emergency treatment, surgery, and treatment of respiratory diseases. They can help patients maintain oxygen supply and respiratory function, and improve survival rate and recovery effect.
[0003] The human body's breathing rate does not remain constant, it changes with time, human posture and other factors. Traditional ventilators control the output oxygen flow by adjusting the valve opening. The oxygen flow required by each user is different, and the valve opening is adjusted manually to achieve the purpose of providing the required oxygen flow per unit time. However, when the user's oxygen demand changes during sleep or when it is inconvenient to operate, the oxygen flow cannot be changed in a timely and effective manner. Summary of the invention
[0004] The main purpose of the present application is to provide an automatic control method, control device, storage medium and control system for oxygen flow rate, so as to at least solve the problem in the prior art that the oxygen flow rate cannot be changed promptly and effectively when the user's oxygen demand changes during sleep or when it is inconvenient to operate.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, there is provided an automatic control method of oxygen flow rate, the control method being used for a respiratory device, the respiratory device having a valve, the method comprising: a collection step: collecting reflection information of a person's face multiple times at a first preset interval; a determination step: determining the breathing frequency of the person based on the reflection information; a control step: controlling the valve to be at a target opening based on the breathing frequency corresponding to the reflection information collected twice adjacently, and when the valve is at the target opening, the oxygen flow rate of the respiratory device meets the target range.
[0006] Optionally, determining the breathing frequency of the person based on the reflection information includes: determining at least one target cycle based on the reflection information and a first preset value, wherein the reflection information includes multiple groups of peaks and cycles of reflected light, the cycle is the time difference between two adjacent peaks, and the target cycle is the cycle that is smaller than the first preset value; determining the breathing frequency based on the target cycle, wherein the breathing frequency is the average value of the at least one target cycle.
[0007] Optionally, controlling the valve to a target opening according to the two respiratory frequencies corresponding to two adjacent reflection information includes: determining whether a first difference is less than or greater than a first preset threshold value to obtain a first determination result, wherein the first difference is a difference between a first respiratory frequency and a second respiratory frequency, and the first respiratory frequency and the second respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; when the first determination result is that the first difference is less than the first preset threshold value, controlling the valve to be adjusted from the first valve opening to the first target opening, when the valve is at the first target opening, the oxygen flow rate of the respiratory device is greater than the first oxygen flow rate, and the first oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the first valve opening; when the first determination result is that the first difference is greater than the second preset threshold value, controlling the valve to be adjusted from the second valve opening to the second target opening, when the valve is at the second target opening, the oxygen flow rate of the respiratory device is less than the second oxygen flow rate, and the second oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the second valve opening.
[0008] Optionally, the method also includes: a judgment step: judging whether the second difference is greater than a third preset threshold value to obtain a second judgment result, wherein the second difference is the difference between the third respiratory frequency and the fourth respiratory frequency, and the third respiratory frequency and the fourth respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; an updating step: when the second judgment result is yes, updating the first preset interval time, and the updated first preset interval time is 1 / 2 of the original first preset interval time; when the second judgment result is no, updating the first preset interval time, and the updated first preset interval time is 2 times of the original first preset interval time; a looping step: looping the collection step, the determination step, the control step, the judgment step and the updating step until a stop signal is received.
[0009] Optionally, the breathing device includes a voice module, and the method further includes: obtaining a third difference according to the sixth respiratory frequency and the fifth respiratory frequency, and obtaining a fourth difference according to the fifth respiratory frequency and the seventh respiratory frequency, wherein the fifth respiratory frequency and the sixth respiratory frequency are the respiratory frequencies corresponding to the first collection of the reflection information and the second collection of the reflection information in the m-th cycle step, respectively, and the seventh respiratory frequency is the respiratory frequency corresponding to the second collection of the reflection information in the m-1th cycle step, and m>1; judging whether the third difference and the fourth difference meet a preset condition, and obtaining a third judgment value. The preset conditions include: the absolute value of the third difference and the absolute value of the fourth difference are both less than the third preset threshold, and the third difference and the fourth difference are both greater than the fourth preset threshold and less than the fifth preset threshold; when the third judgment result is yes, the eighth respiratory frequency corresponding to the first collection of the reflection information in the (m+1)th cycle step is obtained at the second preset interval time, and a fifth difference is obtained according to the eighth respiratory frequency and the sixth respiratory frequency; when the fifth difference is greater than the fourth preset threshold and less than the fifth preset threshold, the voice module is controlled to perform a voice reminder.
[0010] Optionally, the method further includes: when the respiratory frequency is less than a sixth preset threshold or greater than a seventh preset threshold, collecting the reflection information again to obtain an updated respiratory frequency; when the updated respiratory frequency is less than the sixth preset threshold or greater than the seventh preset threshold, controlling the valve to adjust from a third valve opening to a third target opening, when the valve is at the third target opening, the oxygen flow rate of the respiratory device is less than the third oxygen flow rate, and the third oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the third valve opening.
[0011] Optionally, the collecting step includes: controlling a photoelectric sensor to collect reflection information of the person's face; and receiving the reflection information sent by the photoelectric sensor.
[0012] According to another aspect of the present application, there is provided an automatic control device for oxygen flow rate, the control device being used for a breathing device having a valve, the device comprising: a collection unit for collecting reflection information of a person's face multiple times at a first preset interval; a confirmation unit for determining the breathing frequency of the person based on the reflection information; and a control unit for controlling the valve to a target opening based on two breathing frequencies corresponding to two adjacent reflection information, wherein when the valve is at the target opening, the oxygen flow rate of the breathing device has a target range.
[0013] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the device where the computer-readable storage medium is located is controlled to execute any one of the automatic control methods for oxygen flow rate.
[0014] According to another aspect of an embodiment of the present invention, there is also provided an automatic control system for oxygen flow rate, comprising: the respiratory device, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more processors are connected to the respiratory device, and the one or more programs include a method for executing any one of the automatic control methods for oxygen flow rate.
[0015] By applying the technical solution of the present application, an automatic control method of oxygen flow rate is provided. The control method is used for a breathing device, the breathing device has a valve, and the reflection information of the face of the person is collected multiple times at a first preset interval, and the user's breathing frequency is determined according to the collected reflection information, so as to extract the reflected light intensity information of the human face when the human breathing speed changes, that is, the human breathing speed is detected according to the blood flow information of the face. The breathing frequency corresponding to the reflection information collected twice adjacently can obtain the change of the user's breathing speed, and according to the breathing frequency corresponding to the reflection information collected twice adjacently, the valve is controlled to be at a target opening. When the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range, so as to realize the automatic adjustment of the valve opening to change the oxygen flow rate according to the change of the breathing speed, so that the oxygen flow rate of the breathing device adapts to the breathing change of the user. Therefore, the control method of the present application can be used to realize that when the user is in a sleeping state or inconvenient to operate, the breathing device can effectively adjust the valve opening to change the oxygen flow rate according to the human breathing speed in real time. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing an automatic control method of oxygen flow rate provided in an embodiment of the present application is shown;
[0018] Figure 2 A schematic flow chart of an automatic oxygen flow rate control method provided according to an embodiment of the present application is shown;
[0019] Figure 3 A schematic flow chart of another automatic oxygen flow rate control method provided according to an embodiment of the present application is shown;
[0020] Figure 4 A schematic flow chart of another automatic oxygen flow rate control method provided according to an embodiment of the present application is shown;
[0021] Figure 5 A schematic diagram of an automatic control device for oxygen flow rate provided according to an embodiment of the present application is shown.
[0022] The above drawings include the following reference numerals:
[0023] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] As introduced in the background technology, the existing breathing devices all control the output oxygen flow rate by manually adjusting the opening of the valve. The oxygen flow rate required by each user is different, and the oxygen flow rate required per unit time is also different. However, when the user is in a sleeping state or it is inconvenient to operate, the required oxygen flow rate cannot be changed in a timely and effective manner. In order to solve the above problems, the embodiments of the present application provide an automatic control method, control device, storage medium and control system for oxygen flow rate.
[0028] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0029] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of an automatic oxygen flow rate control method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0030] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the automatic control method of oxygen flow rate in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0031] In this embodiment, a method for automatically controlling the oxygen flow rate running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] Figure 2 FIG. 1 is a flow chart of an automatic control method of oxygen flow rate according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0033] Step S101, a collection step: collecting the reflection information of the face of a person for multiple times at a first preset interval;
[0034] Specifically, blood circulation has an important impact on the reflected light of the face. As the human body continues to circulate blood, the intensity of the reflected light from the facial muscles and blood vessels changes at different stages of blood circulation. By extracting the reflected light information from the person's face, the breathing speed of the person is obtained, and the valve opening is automatically adjusted according to the breathing speed to output the required oxygen flow.
[0035] In some optional implementations, the above-mentioned collection step includes: controlling the photoelectric sensor to collect the reflection information of the person's face, and receiving the reflection information sent by the photoelectric sensor.
[0036] Specifically, a photoelectric sensor is a device that can convert light energy into electrical energy. Its basic principle is to use the response characteristics of photosensitive elements (such as photodiodes, photoresistors, etc.) to light to convert light signals into electrical signals. The working principle of a photoelectric sensor is that when light shines on a photosensitive element, photons excite the electrons inside the photosensitive element, causing them to transition to the conduction band, generating electron-hole pairs, thereby forming a photocurrent. This photocurrent changes with the intensity of light, and can be amplified, filtered, and processed by circuits to ultimately output an electrical signal related to the intensity of light. By measuring the size of this electrical signal, we can obtain information such as the intensity of light, brightness, and the peak of the light signal.
[0037] Among them, human breathing will affect the blood flow in the face, which is manifested in that the peak interval and periodicity of the reflected light signal will be affected by the human breathing movement. By using photoelectric sensors to collect the reflected light from the human face and output the reflection information of the light, it is possible to extract effective information about the reflected light from the person's face.
[0038] Step S102, determination step: determining the breathing frequency of the person according to the reflection information;
[0039] Specifically, the intensity of the received reflected light will change with the user's breathing, and the periodicity of the reflected light will also change accordingly, that is, the periodicity of the reflected light has a corresponding relationship with the breathing frequency of the person. By obtaining the period time of the reflected light, the breathing frequency of the person can be determined.
[0040] In some optional embodiments, determining a person's breathing frequency based on reflection information includes: determining at least one target cycle based on the reflection information and a first preset value, wherein the reflection information includes multiple groups of peaks and periods of reflected light, the period is the time difference between two adjacent peaks, and the target cycle is a period less than the first preset value; determining the breathing frequency based on the target cycle, wherein the breathing frequency is the average value of at least one target cycle.
[0041] Specifically, the reflection information includes slight changes in the reflected light on the surface of the person's face, which is expressed in the form of a reflected light signal. The reflected light signal has multiple groups of peaks, and the intervals between the peaks are periodicity. When the breathing speed of the person changes, the periodicity of the reflected light signal also changes accordingly. The breathing frequency of the person can be obtained by calculating each cycle time. Among them, the cycle time data of the reflected light signal obtained in one acquisition is relatively stable, but in the process of acquisition, there will be anomalies in the acquisition, resulting in an erroneous cycle time in the reflection information. The erroneous cycle time is significantly different from the normal cycle time. In order to improve the accuracy of the reflection information of the person's face, it is necessary to eliminate the cycle data with a large deviation in the data, and average the remaining cycle times, and extract the breathing frequency information based on the remaining data mean, thereby improving the accuracy of obtaining the breathing frequency.
[0042] The first preset value may include an average value of all data collected at one time, or may be a normal breathing rate of a human body prescribed medically, that is, 12 times / minute to 20 times / minute.
[0043] Step S103, control step: according to the breathing frequency corresponding to the reflection information collected twice adjacently, control the valve to be at the target opening, and when the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range.
[0044] Specifically, the user's breathing speed can be determined based on the breathing frequency. When the user's breathing frequency increases, that is, the breathing speeds up, the valve opening can be adjusted to increase the oxygen flow rate of the breathing device. Conversely, when the user's breathing frequency slows down, the valve opening can be adjusted to reduce the oxygen flow rate of the breathing device. The valve opening can be adjusted according to the human body's breathing speed to achieve regulation of the oxygen flow rate.
[0045] In some optional embodiments, controlling the valve to a target opening according to two respiratory frequencies corresponding to two adjacent reflection information includes: determining whether a first difference is less than or greater than a first preset threshold value to obtain a first judgment result, wherein the first difference is a difference between a first respiratory frequency and a second respiratory frequency, and the first respiratory frequency and the second respiratory frequency are respiratory frequencies corresponding to two adjacent collected reflection information; when the first judgment result is that the first difference is less than the first preset threshold value, the valve is controlled to be adjusted from the first valve opening to the first target opening, and when the valve is at the first target opening, the oxygen flow rate of the respiratory device is greater than the first oxygen flow rate, and the first oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the first valve opening; when the first judgment result is that the first difference is greater than the second preset threshold value, the valve is controlled to be adjusted from the second valve opening to the second target opening, and when the valve is at the second target opening, the oxygen flow rate of the respiratory device is less than the second oxygen flow rate, and the second oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the second valve opening.
[0046] Specifically, the user can set a frequency difference range according to his own breathing frequency, that is, set a first preset threshold and a second preset threshold. If the difference between the breathing frequency obtained by the currently collected reflection information and the breathing frequency obtained by the previously collected reflection information exceeds the frequency difference range, the valve opening is automatically adjusted to change the oxygen flow rate. That is, if the second breathing frequency is greater than the first breathing frequency, and the difference is greater than the second preset threshold, it means that the user's breathing is faster. At this time, the valve opening needs to be increased to increase the oxygen flow rate. However, if the difference is less than the second preset threshold, although the user's breathing is faster, it is assumed to be within the normal frequency fluctuation range. At this time, there is no need to adjust the valve opening. On the contrary, if the second breathing frequency is less than the first breathing frequency, and the difference is less than the first preset value, it means that the user's breathing is slowing down. At this time, the valve opening needs to be reduced to reduce the oxygen flow rate. If the difference is greater than the first preset threshold, it is assumed that this change is within the normal frequency fluctuation range, and there is no need to adjust the valve opening. Through the change of breathing frequency, the valve opening is automatically adjusted to change the oxygen flow rate without the need for manual adjustment by the user, so that when the user is in a sleeping state or inconvenient to operate, the oxygen inhalation device automatically changes the oxygen flow rate to meet the user's changes in oxygen demand.
[0047] Among them, when the first difference is greater than the first preset threshold and less than the second preset threshold, it is assumed that the respiratory frequency is within the normal fluctuation range and there is no need to adjust the valve opening.
[0048] In some optional embodiments, after step S103, the method further includes: a judgment step: judging whether the second difference is greater than a third preset threshold value to obtain a second judgment result, wherein the second difference is the difference between the third respiratory frequency and the fourth respiratory frequency, and the third respiratory frequency and the fourth respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; an updating step: when the second judgment result is yes, updating the first preset interval time, and the updated first preset interval time is 1 / 2 of the original first preset interval time; when the second judgment result is no, updating the first preset interval time, and the updated first preset interval time is 2 times of the original first preset interval time; a looping step: looping the collecting step, determining step, controlling step, judging step and updating step until a stop signal is received.
[0049] Specifically, the oxygen inhalation device can also realize automatic adjustment of the time for collecting reflection information, that is, setting a third preset threshold value, and automatically adjusting the time interval for collecting reflection information if the difference between the breathing frequency obtained by the currently collected reflection information and the breathing frequency obtained by the previously collected reflection information exceeds the third preset threshold value. Specifically, the user sets the initial first preset interval time T, wherein the T value range can be within 30 minutes, and this application does not make specific restrictions, the initial reflection information is collected to the initial breathing frequency, and the reflection information is collected after the interval time T to the second breathing frequency. If the second difference between the second breathing frequency and the initial breathing frequency is greater than the third preset threshold value, it means that the difference between the breathing speeds collected twice is large, and the user's breathing frequency changes greatly, and it is necessary to shorten the collection time, that is, adjust the collection time from T to T / 2 to increase the collection frequency. If the second difference between the second respiratory frequency and the initial respiratory frequency is less than the third preset threshold, it means that the difference between the two collected respiratory speeds is not large, the user's breathing is relatively stable, and the collection time can be extended, that is, the collection time is adjusted from T to 2T to reduce the collection frequency, and this is cyclically taken, and the judgment is re-performed in the next cycle, and the reflection information collection time is continuously automatically adjusted until the breathing device stops being used. The collection time and collection frequency are automatically adjusted according to the user's breathing condition, so that the oxygen inhalation device can further meet the user's changes in oxygen demand.
[0050] In some optional embodiments, the respiratory device includes a voice module, and the method further includes: obtaining a third difference based on the sixth respiratory frequency and the fifth respiratory frequency, and obtaining a fourth difference based on the fifth respiratory frequency and the seventh respiratory frequency, wherein the fifth respiratory frequency and the sixth respiratory frequency are the respiratory frequencies corresponding to the first and second collection of reflection information in the m-th cycle step, respectively, and the seventh respiratory frequency is the respiratory frequency corresponding to the second collection of reflection information in the m-1th cycle step, and m>1; judging whether the third difference and the fourth difference meet a preset condition to obtain a third judgment result, the preset condition comprising: the absolute value of the third difference and the absolute value of the fourth difference are both less than a third preset threshold, and the third difference and the fourth difference are both greater than the fourth preset threshold and less than the fifth preset threshold; if the third judgment result is yes, obtaining the eighth respiratory frequency corresponding to the first collection of reflection information in the m+1th cycle step at the second preset interval time, and obtaining a fifth difference based on the eighth respiratory frequency and the sixth respiratory frequency; if the fifth difference is greater than the fourth preset threshold and less than the fifth preset threshold, controlling the voice module to make a voice reminder.
[0051] Specifically, after multiple cycles of collection and confirmation, the user's breathing speed is relatively stable, and the changes in breathing frequency are all within the range of normal frequency changes, that is, when the third difference is between the fourth preset threshold and the fifth preset threshold, the valve has not been adjusted, and the oxygen flow rate has not changed. However, if each cycle collection satisfies that the third difference is less than the third preset threshold, the collection time will continue to increase with the increase in the number of cycle collections, resulting in a longer collection cycle and a reduced number of collections, and the oxygen flow rate of the respiratory device cannot be matched with the human body's breathing speed in time. At this time, in order to improve the matching degree, the first preset interval time T can be adjusted to the default second preset interval time M, where the M value can be a value less than T, for example, the M value range can be within 3 minutes, and this application does not make specific restrictions. After the second preset interval time M, the reflection information is collected again to obtain the breathing frequency. If the newly obtained breathing frequency is still within the range of normal frequency changes, the voice module will issue a voice reminder to remind the user that the collection time of the respiratory device is long, and remind the user whether to perform troubleshooting of the respiratory device.
[0052] In some optional embodiments, the method further includes: when the respiratory frequency is less than a sixth preset threshold or greater than a seventh preset threshold, collecting reflection information again to obtain an updated respiratory frequency; when the updated respiratory frequency is less than the sixth preset threshold or greater than the seventh preset threshold, controlling the valve to adjust from the third valve opening to the third target opening, when the valve is at the third target opening, the oxygen flow rate of the respiratory device is less than the third oxygen flow rate, and the third oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the third valve opening.
[0053] Specifically, the normal breathing frequency of the human body has a range, which can be within the range of 0.2Hz to 0.5Hz. If the breathing frequency obtained by the collected reflection information exceeds the normal breathing frequency range of the human body, it is necessary to determine that the collection is wrong, re-collect, and update the breathing frequency. If the updated breathing frequency still exceeds the normal breathing frequency of the human body, the valve opening is set to the middle position, the valve opening is reduced to reduce the oxygen flow, and wait for the next test; if the updated breathing frequency is within the normal breathing frequency range of the human body, the updated breathing frequency is used as the breathing frequency obtained in this collection. The above steps exclude the collection of data and increase the accuracy of information collection.
[0054] The present application provides an automatic control method for oxygen flow rate, which is used for a breathing device, the breathing device has a valve, and collects the reflection information of the face of a person multiple times at a first preset interval, and determines the user's breathing frequency based on the collected reflection information, so as to extract the reflected light intensity information of the human face when the human breathing speed changes, that is, to detect the human breathing speed based on the blood flow information of the face. The breathing frequency corresponding to the reflection information collected twice adjacently can obtain the change of the user's breathing speed, and the valve is controlled to be at a target opening according to the breathing frequency corresponding to the reflection information collected twice adjacently. When the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range, so as to automatically adjust the valve opening to change the oxygen flow rate according to the change of the breathing speed, so that the oxygen flow rate of the breathing device adapts to the breathing change of the user, that is, the control method of the present application can be used to realize that when the user is in a sleeping state or inconvenient to operate, the breathing device can effectively adjust the valve opening to change the oxygen flow rate according to the human breathing speed in real time.
[0055] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the automatic control method of the oxygen flow rate of the present application will be described in detail below in conjunction with specific embodiments.
[0056] Example 1
[0057] This embodiment relates to a specific method for automatically controlling the oxygen flow rate to perform a cycle step, such as Figure 3 As shown, the steps are as follows:
[0058] Step S1, using a photoelectric sensor to collect facial light reflection values, eliminating abnormal data, and obtaining normal light reflection values;
[0059] Step S2, obtaining the respiratory frequency according to the collected normal light reflection value;
[0060] Step S3, determining whether the obtained respiratory frequency is within a normal range, if the respiratory frequency is not within the normal range, proceeding to step S4, if the respiratory frequency is within the normal range, proceeding to step S5;
[0061] Step S4, open the valve to the middle position and wait for the next test;
[0062] Step S5, adjusting the valve opening according to the breathing frequency.
[0063] Example 2
[0064] This embodiment relates to a specific method for automatically controlling the oxygen flow rate to perform multiple cycle steps, such as Figure 4 As shown, the steps are as follows:
[0065] Step S1, using a photoelectric sensor to collect facial light reflection values twice in succession, eliminating abnormal data, and obtaining a normal light reflection value, wherein the time between the two collections of facial light reflection values is a first preset interval time T;
[0066] Step S2, obtaining two respiratory frequencies according to the collected normal light reflection values;
[0067] Step S3, determining whether the obtained respiratory frequency is within a normal range, if the respiratory frequency is not within the normal range, proceeding to step S4, if the respiratory frequency is within the normal range, proceeding to step S5;
[0068] Step S4, open the valve to the middle position and wait for the next test;
[0069] Step S5, adjusting the valve opening according to the breathing frequency;
[0070] Step S6, determining whether the difference between the two respiratory rates is greater than a third preset threshold (shown as Z in the figure), obtaining a second determination result, and if the second determination result is yes, proceeding to step S7, and if the second determination result is no, proceeding to step S8;
[0071] Step S7, the collection time interval is updated from the first preset interval time T to T / 2;
[0072] Step S8, the collection time interval is updated from the first preset interval time T to 2T;
[0073] Step S9, judging whether the valve opening remains unchanged for a long time, and obtaining a third judgment result. If the third judgment result is yes, proceed to step S10;
[0074] Step S10, when the third judgment structure is yes, the voice module performs a voice reminder;
[0075] The process returns to step S1 for the next cycle.
[0076] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0077] The embodiment of the present application also provides an automatic control device for oxygen flow rate. It should be noted that the automatic control device for oxygen flow rate of the embodiment of the present application can be used to execute the automatic control method for oxygen flow rate provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions have been omitted. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0078] The following is an introduction to the automatic control device for oxygen flow rate provided in the embodiments of the present application.
[0079] Figure 5 Schematic diagram of an automatic control device for oxygen flow rate according to an embodiment of the present application. Figure 5 As shown, the device includes: a collection unit 10, a confirmation unit 20 and a control unit 30. The device recommended by the information is described below, wherein the collection unit 10 is used to collect the reflection information of the face of the person multiple times at a first preset interval; the confirmation unit 20 is used to determine the breathing frequency of the person according to the reflection information; the control unit 30 is used to control the valve to a target opening according to two breathing frequencies corresponding to two adjacent reflection information, and when the valve is at the target opening, the oxygen flow rate of the breathing device has a target range.
[0080] The above-mentioned automatic control device for oxygen flow rate, the device collects the reflection information of the face of the person for multiple times at a first preset interval through the collection unit, and the confirmation unit determines the user's breathing frequency according to the collected reflection information, so as to extract the reflected light intensity information of the human face when the human breathing speed changes, that is, to detect the human breathing speed according to the blood flow information of the face. By obtaining the breathing frequency corresponding to the reflection information collected twice adjacently, the change of the user's breathing speed can be obtained, and the control unit can control the valve to be at the target opening according to the breathing frequency corresponding to the reflection information collected twice adjacently. When the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range, so as to realize the automatic adjustment of the valve opening to change the oxygen flow rate according to the change of the breathing speed, so that the oxygen flow rate of the breathing device can adapt to the breathing changes of the user. Therefore, the control device of the present application can be used to realize that when the user is in a sleeping state or inconvenient to operate, the breathing device can effectively adjust the valve opening to change the oxygen flow rate according to the human breathing speed in real time.
[0081] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0082] In some optional embodiments, the confirmation unit includes a first confirmation subunit and a second confirmation subunit, wherein the first confirmation subunit is used to determine at least one target cycle based on the reflection information and the first preset value, wherein the reflection information includes multiple groups of peaks and periods of the reflected light, the period is the time difference between two adjacent peaks, and the target period is a period less than the first preset value; the second confirmation subunit is used to determine the respiratory frequency based on the target cycle, wherein the respiratory frequency is the average value of at least one target cycle, thereby improving the accuracy of obtaining the respiratory frequency.
[0083] In some optional embodiments, the control unit includes a first judgment unit, a first control subunit and a second control subunit, wherein the first judgment unit is used to judge whether the first difference is less than or greater than a first preset threshold value to obtain a first judgment result, wherein the first difference is the difference between the first respiratory frequency and the second respiratory frequency, and the first respiratory frequency and the second respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; the first control subunit is used to control the valve to be adjusted from the first valve opening to the first target opening when the first judgment result is that the first difference is less than the first preset threshold value, and when the valve is at the first target opening, the oxygen flow rate of the respiratory device is greater than the first oxygen flow rate, and the first oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the first valve opening; the second control subunit is used to control the valve to be adjusted from the second valve opening to the second target opening when the first judgment result is that the first difference is greater than the second preset threshold value, and when the valve is at the second target opening, the oxygen flow rate of the respiratory device is less than the second oxygen flow rate, and the second oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the second valve opening. Through the above device, it is possible to automatically adjust the valve opening according to the human face reflection information to control the oxygen flow rate.
[0084] In some optional embodiments, the device also includes a second judgment unit, a first updating unit, a second updating unit and a circulation unit, wherein the second judgment unit is used to judge whether the second difference is greater than a third preset threshold value to obtain a second judgment result, wherein the second difference is the difference between the third respiratory frequency and the fourth respiratory frequency, and the third respiratory frequency and the fourth respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; the first updating unit is used to update the first preset interval time when the second judgment result is yes, and the updated first preset interval time is 1 / 2 of the original first preset interval time; the second updating unit is used to update the first preset interval time when the second judgment result is no, and the updated first preset interval time is twice the original first preset interval time; the circulation unit is used to cyclically execute the collection step, the determination step, the control step, the judgment step and the update step until a stop signal is received. Through the above device, the collection time and the collection frequency can be automatically adjusted according to the user's breathing condition, so that the oxygen inhalation device can further meet the user's changes in oxygen demand.
[0085] In some optional embodiments, the device further includes a third confirmation subunit, a third judgment unit, a fourth confirmation subunit and a third control subunit, wherein the third confirmation subunit is used to obtain a third difference according to the sixth respiratory frequency and the fifth respiratory frequency, and to obtain a fourth difference according to the fifth respiratory frequency and the seventh respiratory frequency, wherein the fifth respiratory frequency and the sixth respiratory frequency are respectively the respiratory frequencies corresponding to the first and second collection of reflection information in the m-th cycle step, the seventh respiratory frequency is the respiratory frequency corresponding to the second collection of reflection information in the m-1-th cycle step, and m>1; the third judgment unit is used to judge whether the third difference and the fourth difference meet a preset condition, and obtain a third judgment conclusion. The preset conditions include: the absolute value of the third difference and the absolute value of the fourth difference are both less than the third preset threshold, and the third difference and the fourth difference are both greater than the fourth preset threshold and less than the fifth preset threshold; the fourth confirmation subunit is used to obtain the eighth respiratory frequency corresponding to the first collection of reflection information in the (m+1)th cycle step at the second preset interval time when the third judgment result is yes, and obtain the fifth difference according to the eighth respiratory frequency and the sixth respiratory frequency; the third control subunit is used to control the voice module to give a voice reminder when the fifth difference is greater than the fourth preset threshold and less than the fifth preset threshold, reminding the user that the collection time of the respiratory device is long, and reminding the user to troubleshoot the respiratory device.
[0086] In some optional embodiments, the device also includes a fifth confirmation subunit and a fourth control subunit, wherein the fourth confirmation subunit is used to collect reflection information again to obtain an updated breathing frequency when the breathing frequency is less than a sixth preset threshold or greater than a seventh preset threshold; the fourth control subunit controls the valve to adjust from the third valve opening to the third target opening when the updated breathing frequency is less than the sixth preset threshold or greater than the seventh preset threshold, and when the valve is at the third target opening, the oxygen flow rate of the breathing device is less than the third oxygen flow rate, and the third oxygen flow rate is the oxygen flow rate of the breathing device when the valve is at the third valve opening, thereby increasing the accuracy of information collection.
[0087] In some optional embodiments, the collection unit includes a fifth control subunit and a receiving unit, wherein the fifth control subunit is used to control the photoelectric sensor to collect the reflection information of the person's face, and the receiving unit is used to receive the reflection information sent by the photoelectric sensor.
[0088] The automatic control device for oxygen flow rate includes a processor and a memory, wherein the acquisition unit, the confirmation unit and the control unit are stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions. The above modules are all located in the same processor; or, the above modules are located in different processors in any combination.
[0089] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem in the prior art that the oxygen flow rate cannot be changed effectively and timely when the user's oxygen demand changes in the sleep state or inconvenient operation.
[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0091] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute an automatic control method for oxygen flow rate.
[0092] Specifically, the automatic control method of oxygen flow rate includes:
[0093] Step S101, a collection step: collecting the reflection information of the face of a person for multiple times at a first preset interval;
[0094] Step S102, determination step: determining the breathing frequency of the person according to the reflection information;
[0095] Step S103, control step: according to the breathing frequency corresponding to the reflection information collected twice adjacently, control the valve to be at the target opening, and when the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range.
[0096] The embodiment of the present invention provides an automatic control system for oxygen flow rate, including: a respiratory device, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, the one or more processors are applied to the respiratory device, and the one or more programs include the following steps: step S101, acquisition step: multiple acquisition of facial reflection information of a person at a first preset interval; step S102, determination step: determining the respiratory frequency of the person according to the reflection information; step S103, control step: according to the respiratory frequency corresponding to the reflection information collected twice adjacently, control the valve to be at a target opening, and when the valve is at the target opening, the oxygen flow rate of the respiratory device meets the target range. The system in this article can be a server, PC, PAD, mobile phone, etc.
[0097] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0099] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0102] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0103] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0104] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0106] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0107] 1) An automatic control method of oxygen flow rate of the present application, the control method is used for a breathing device, the breathing device has a valve, and collects the reflection information of the face of the person multiple times at a first preset interval, and determines the user's breathing frequency according to the collected reflection information; so as to extract the reflected light intensity information of the human face when the human breathing speed changes, that is, to detect the human breathing speed according to the blood flow information of the face. The breathing frequency corresponding to the reflection information collected twice adjacently can obtain the change of the user's breathing speed, and according to the breathing frequency corresponding to the reflection information collected twice adjacently, the valve is controlled to be at a target opening. When the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range, so as to realize the automatic adjustment of the valve opening to change the oxygen flow rate according to the change of the breathing speed, so that the oxygen flow rate of the breathing device adapts to the breathing change of the user. Therefore, the control method of the present application can be used to realize that when the user is in a sleeping state or inconvenient to operate, the breathing device can effectively adjust the valve opening to change the oxygen flow rate according to the human breathing speed in real time.
[0108] 2) An automatic control device for oxygen flow rate of the present application, the device collects the reflection information of the face of the person for multiple times at a first preset interval through the collection unit, and the confirmation unit determines the user's breathing frequency according to the collected reflection information, so as to extract the reflected light intensity information of the human face when the human breathing speed changes, that is, to detect the human breathing speed according to the blood flow information of the face. By obtaining the breathing frequency corresponding to the reflection information collected twice adjacently, the change of the user's breathing speed can be obtained, and the control unit can control the valve to be at the target opening according to the breathing frequency corresponding to the reflection information collected twice adjacently. When the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range, so as to realize the automatic adjustment of the valve opening to change the oxygen flow rate according to the change of the breathing speed, so that the oxygen flow rate of the breathing device can adapt to the breathing changes of the user. Therefore, the control device of the present application can be used to realize that when the user is in a sleeping state or inconvenient to operate, the breathing device can effectively adjust the valve opening to change the oxygen flow rate according to the human breathing speed in real time.
[0109] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for automatically controlling oxygen flow rate, characterized in that: The control method is used for a breathing device having a valve, and the method comprises: Collection step: collecting the reflection information of the person's face multiple times at a first preset interval; Determining step: determining the breathing frequency of the person according to the reflection information; Control step: according to the breathing frequency corresponding to the reflection information collected twice adjacently, control the valve to be at a target opening, and when the valve is at the target opening, the oxygen flow rate of the breathing device meets the target range.
2. The automatic control method of oxygen flow rate according to claim 1, characterized in that: Determining the breathing frequency of the person according to the reflection information includes: Determine at least one target period according to the reflection information and a first preset value, wherein the reflection information includes multiple groups of peaks and periods of the reflected light, the period is the time difference between two adjacent peaks, and the target period is the period less than the first preset value; The respiratory frequency is determined according to the target cycle, wherein the respiratory frequency is an average value of the at least one target cycle.
3. The automatic control method of oxygen flow rate according to claim 1, characterized in that: The step of controlling the valve to a target opening according to the two breathing frequencies corresponding to two adjacent reflection information includes: Determine whether the first difference is less than or greater than a first preset threshold value, and obtain a first judgment result, wherein the first difference is the difference between a first respiratory frequency and a second respiratory frequency, and the first respiratory frequency and the second respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; When the first judgment result is that the first difference is less than a first preset threshold, the valve is controlled to be adjusted from a first valve opening to a first target opening, and when the valve is at the first target opening, the oxygen flow rate of the breathing device is greater than a first oxygen flow rate, and the first oxygen flow rate is the oxygen flow rate of the breathing device when the valve is at the first valve opening; When the first judgment result is that the first difference is greater than a second preset threshold, the valve is controlled to be adjusted from the second valve opening to the second target opening, and when the valve is at the second target opening, the oxygen flow rate of the breathing device is less than the second oxygen flow rate, and the second oxygen flow rate is the oxygen flow rate of the breathing device when the valve is at the second valve opening.
4. The automatic control method of oxygen flow rate according to claim 1, characterized in that: Also includes: Determining step: determining whether the second difference is greater than a third preset threshold value, and obtaining a second determination result, wherein the second difference is a difference between a third respiratory frequency and a fourth respiratory frequency, and the third respiratory frequency and the fourth respiratory frequency are the respiratory frequencies corresponding to the reflection information collected twice adjacently; Updating step: when the second judgment result is yes, updating the first preset interval time, the updated first preset interval time is 1 / 2 of the original first preset interval time; when the second judgment result is no, updating the first preset interval time, the updated first preset interval time is twice of the original first preset interval time; Looping step: looping the collecting step, the determining step, the controlling step, the judging step and the updating step until a stop signal is received.
5. The automatic control method of oxygen flow rate according to claim 4, characterized in that: The breathing apparatus includes a speech module, and the method further includes: A third difference is obtained according to the sixth respiratory frequency and the fifth respiratory frequency, and a fourth difference is obtained according to the fifth respiratory frequency and the seventh respiratory frequency, wherein the fifth respiratory frequency and the sixth respiratory frequency are the respiratory frequencies corresponding to the first acquisition of the reflection information and the second acquisition of the reflection information in the m-th cycle step, respectively, and the seventh respiratory frequency is the respiratory frequency corresponding to the second acquisition of the reflection information in the m-1-th cycle step, and m>1; Determine whether the third difference and the fourth difference meet a preset condition to obtain a third judgment result, wherein the preset condition includes: an absolute value of the third difference and an absolute value of the fourth difference are both less than the third preset threshold, and the third difference and the fourth difference are both greater than a fourth preset threshold and less than a fifth preset threshold; If the third judgment result is yes, obtaining the eighth respiratory frequency corresponding to the first acquisition of the reflection information in the (m+1)th cycle step at a second preset interval, and obtaining a fifth difference value according to the eighth respiratory frequency and the sixth respiratory frequency; When the fifth difference is greater than the fourth preset threshold and less than the fifth preset threshold, the voice module is controlled to perform voice reminder.
6. The automatic control method of oxygen flow rate according to claim 1, characterized in that: Also includes: When the respiratory frequency is less than the sixth preset threshold or greater than the seventh preset threshold, collecting the reflection information again to obtain an updated respiratory frequency; When the updated respiratory frequency is less than the sixth preset threshold or greater than the seventh preset threshold, the valve is controlled to be adjusted from the third valve opening to the third target opening, and when the valve is at the third target opening, the oxygen flow rate of the respiratory device is less than the third oxygen flow rate, and the third oxygen flow rate is the oxygen flow rate of the respiratory device when the valve is at the third valve opening.
7. The automatic control method of oxygen flow rate according to claim 1, characterized in that: The collection step comprises: Controlling the photoelectric sensor to collect the reflection information of the face of the person; The reflection information sent by the photoelectric sensor is received.
8. An automatic control device for oxygen flow rate, characterized in that: The control device is used for a breathing device having a valve, and the device comprises: A collection unit, used for collecting the reflection information of the face of the person for a plurality of times at a first preset interval; a confirmation unit, configured to determine the breathing frequency of the person according to the reflection information; The control unit is used to control the valve to a target opening according to the two breathing frequencies corresponding to two adjacent reflection information, and when the valve is at the target opening, the oxygen flow rate of the breathing device is within a target range.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the device where the computer-readable storage medium is located is controlled to execute the automatic control method of oxygen flow rate according to any one of claims 1 to 7.
10. An automatic control system for oxygen flow rate, characterized in that: include: The breathing apparatus, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more processors are connected to the breathing apparatus, and the one or more programs include a method for executing the automatic control of the oxygen flow rate according to any one of claims 1 to 7.
Citation Information
Patent Citations
Breathing sensing oxygen saving device and electromagnetic valve control method
CN113350638A
Non-contact heart rate measurement method and system based on face video
CN114387479A
Non-contact heart rate and respiration rate detection method, system and device and storage medium
CN114931364A
Systems and methods for non-contact heart rate monitoring
US20220240790A1
