Micro-hyperbaric oxygen chamber control system based on single-chip microcomputer
By using redundant sensor arrays and control units in the micro-hyperbaric oxygen chamber, real-time monitoring and intelligent control are achieved, which solves the problems of low monitoring accuracy and high cost in the existing technology, improves user experience and safety performance, and reduces maintenance costs, promoting marketing.
Patent Information
- Application Number
- CN202410886617.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-06
AI Technical Summary
The existing micro-hyperbaric oxygen chamber has low monitoring accuracy, untimely control and high cost, which affects user experience and safety performance, and limits market expansion and widespread application.
Design a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, using two identical sets of sensor array units and slave control units for redundant monitoring and control to achieve real-time data transmission and intelligent control, reducing use and maintenance costs.
It improves monitoring accuracy and stability, enhances user experience and safety performance, reduces maintenance costs, and promotes the market promotion and popularization of micro-hyperbaric oxygen chambers.
Smart Images

Figure CN118605340A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oxygen chambers, and more specifically, to a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer. Background Art
[0002] As people's living standards improve, home-use micro-hyperbaric oxygen chambers are becoming more and more popular. Compared with medical-use hyperbaric oxygen chambers, micro-hyperbaric oxygen chambers are lighter, simpler to operate, more comfortable and safer, and more suitable for home use. Micro-hyperbaric oxygen chambers increase the partial pressure of oxygen in the blood by increasing the oxygen content, thereby improving cell metabolism. Therefore, they are often used to relieve fatigue, promote blood circulation and improve sleep.
[0003] An existing patent document discloses a household hyperbaric oxygen chamber, comprising a first chamber body, a pressure sensor is installed on the top of the first chamber body, an air intake pipe is passed through the bottom of the pressure sensor, an indicator light is installed on the top of the pressure sensor, a second chamber body is fixedly connected to the back of the first chamber body, an explosion-proof camera is installed on the top of the inner side of the second chamber body, a first spring rod is slidably connected to the inner wall of the second chamber body, a third chamber body is fixedly connected to the back of the second chamber body, and a docking plate is welded on the top of the third chamber body; however, the micro-hyperbaric oxygen chamber in the prior art is only provided with one group of pressure sensors for monitoring, the monitoring accuracy is not high, the robustness and stability are poor, and there is a lack of real-time data communication means, so that users cannot flexibly adjust the oxygen chamber parameters during use, thereby affecting the use experience and safety performance of the oxygen chamber; in addition, the development and maintenance costs of most existing hyperbaric oxygen chamber control systems are high, which also limits the market expansion and wide application of micro-hyperbaric oxygen chambers.
[0004] Therefore, there is an urgent need to develop a high-precision, low-cost micro-hyperbaric oxygen chamber control system. Summary of the invention
[0005] In order to overcome the defects of low monitoring accuracy, untimely control and high cost of the micro-hyperbaric oxygen chamber in the above-mentioned prior art, the present invention provides a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, which can realize high-precision monitoring, real-time data transmission and intelligent control of the micro-hyperbaric oxygen chamber, thereby improving the user experience and satisfaction; at the same time, based on the low cost advantage of the single-chip microcomputer, the use and maintenance costs of the micro-hyperbaric oxygen chamber can be greatly reduced.
[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0007] A micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer comprises: a main control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit;
[0008] The master control unit establishes communication connections with the first slave control unit and the second slave control unit respectively; the first slave control unit and the second slave control unit have the same parameters and are arranged in parallel;
[0009] The first sensor array unit is electrically connected to the first slave control unit, and the second sensor array unit is electrically connected to the second slave control unit; the first sensor array unit and the second sensor array unit simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber, and transmit them to the first slave control unit and the second slave control unit in real time respectively;
[0010] The first slave control unit and the second slave control unit respectively process data according to the received parameters of the micro-hyperbaric oxygen chamber, and transmit the respective data processing results to the main control unit in real time; the main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time;
[0011] The power supply unit supplies power to the micro-hyperbaric oxygen chamber control system.
[0012] Preferably, the master control unit establishes a UART hand-in-hand communication connection with the first slave control unit and the second slave control unit respectively.
[0013] Preferably, the master control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error;
[0014] The main control unit generates a control signal in real time according to the comparison error, and sends the control signal to the first slave control unit and the second slave control unit at the same time. The first slave control unit and the second slave control unit control the micro hyperbaric oxygen chamber according to the received control signal until the comparison error is less than a preset threshold.
[0015] Preferably, the micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence;
[0016] The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber;
[0017] The control signal is specifically a PWM control signal. The first slave control unit and the second slave control unit control the corresponding stepper motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet.
[0018] Preferably, a fault detection subunit is provided in the main control unit;
[0019] The fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively;
[0020] When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit fails, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to stop working.
[0021] Preferably, the main control unit also establishes a communication connection with an external device to achieve external communication;
[0022] The external device includes: any one of a smart phone, a smart watch, a computer and a tablet computer.
[0023] Preferably, the first sensor array unit and the second sensor array unit are both provided with: a blood pressure sensor, an oxygen concentration sensor, an oxygen flow sensor, a pressure sensor, a temperature sensor and a humidity sensor.
[0024] Preferably, the micro-hyperbaric oxygen chamber control system further comprises: a display unit;
[0025] The display unit is electrically connected to the main control unit, the first slave control unit and the second slave control unit respectively.
[0026] Preferably, the display unit comprises: a display screen, a master control operation indicator light, a first slave control operation indicator light, and a second slave control operation indicator light;
[0027] The display screen and the master control operation indicator light are electrically connected to the master control unit respectively; the first slave control operation indicator light is electrically connected to the first slave control unit; and the second slave control operation indicator light is electrically connected to the second slave control unit.
[0028] Preferably, the master control unit, the first slave control unit and the second slave control unit are of the same model, which are all Renesas Electronics R7F0C908 single-chip microcomputers.
[0029] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0030] The present invention provides a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, comprising a main control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit; the main control unit establishes communication connections with two slave control units respectively; the two slave control units have the same parameters and are arranged in parallel; the two groups of sensor array units simultaneously collect several same parameters of the micro-hyperbaric oxygen chamber, and transmit them to the corresponding slave control units in real time respectively; the slave control units perform data processing, and transmit their respective data processing results to the main control unit in real time respectively; the main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time;
[0031] The present invention sets two sets of identical sensor array units and slave control units in parallel to simultaneously monitor various parameters in the micro-hyperbaric oxygen chamber. The two sets of control circuits are set in a mirror image and are mutually redundant, thereby avoiding the risk of large errors and easy errors of a single sensor and controller, and can effectively improve the monitoring accuracy, robustness and stability. At the same time, the safety and comfort of the micro-hyperbaric oxygen chamber are greatly improved, and the user experience and satisfaction are also improved.
[0032] Secondly, the main control unit in the present invention establishes communication connections with the two slave control units respectively, and can obtain the micro-hyperbaric oxygen chamber parameters monitored by the two paths in real time, thereby facilitating the realization of real-time data transmission and intelligent control;
[0033] In addition, the circuit structure of the present invention is simple, and based on the low-cost advantage of the single-chip microcomputer, it can greatly reduce the use and maintenance costs of the micro-hyperbaric oxygen chamber, which is conducive to the large-scale promotion and popularization of the micro-hyperbaric oxygen chamber. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a structural diagram of a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer provided in Example 1.
[0035] Figure 2 This is a structural diagram of a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer provided in Example 2.
[0036] Figure 3 A structural diagram of a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer provided in Example 3
[0037] Figure 4 This is the electrical architecture diagram of the specific micro-hyperbaric oxygen chamber control system provided in Example 3. DETAILED DESCRIPTION
[0038] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0039] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;
[0040] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0041] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0042] Example 1
[0043] like Figure 1 As shown, this embodiment provides a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, including: a main control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit;
[0044] The master control unit establishes communication connections with the first slave control unit and the second slave control unit respectively; the first slave control unit and the second slave control unit have the same parameters and are arranged in parallel;
[0045] The first sensor array unit is electrically connected to the first slave control unit, and the second sensor array unit is electrically connected to the second slave control unit; the first sensor array unit and the second sensor array unit simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber, and transmit them to the first slave control unit and the second slave control unit in real time respectively;
[0046] The first slave control unit and the second slave control unit respectively process data according to the received parameters of the micro-hyperbaric oxygen chamber, and transmit the respective data processing results to the main control unit in real time; the main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time;
[0047] The power supply unit supplies power to the micro-hyperbaric oxygen chamber control system.
[0048] In the specific implementation process, two sets of sensor array units are first used to simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber and transmit them to the corresponding slave control units in real time. The parameters here include the temperature, humidity, pressure, oxygen concentration, etc. in the micro-hyperbaric oxygen chamber;
[0049] The two slave control units respectively process data according to the received micro-hyperbaric oxygen chamber parameters, and transmit their respective data processing results to the master control unit in real time;
[0050] The master control unit compares and checks the data processing results sent by the two slave control units. If the check is correct (meets the preset conditions), the status quo of the micro-hyperbaric oxygen chamber is maintained; if the check does not meet the preset conditions, a control signal is sent to the two slave control units to control the micro-hyperbaric oxygen chamber to make fine adjustments, thereby achieving real-time monitoring and high-precision control of the micro-hyperbaric oxygen chamber.
[0051] The system sets up two sets of identical sensor array units and slave control units in parallel to simultaneously monitor various parameters in the micro-hyperbaric oxygen chamber. The two sets of control circuits are mirrored and redundant, avoiding the risk of large errors and easy errors of a single sensor and controller, and can effectively improve the monitoring accuracy, robustness and stability. At the same time, the safety and comfort of the micro-hyperbaric oxygen chamber are greatly improved, and the user experience and satisfaction are also improved; secondly, the main control unit in the system establishes communication connections with the two slave control units respectively, and can obtain the micro-hyperbaric oxygen chamber parameters monitored by the two paths in real time, which is conducive to the realization of real-time data transmission and intelligent control; in addition, the circuit structure of the system is simple, based on the low cost advantage of the single-chip microcomputer, it can greatly reduce the use and maintenance costs of the micro-hyperbaric oxygen chamber, which is conducive to the large-scale promotion and popularization of the micro-hyperbaric oxygen chamber.
[0052] Example 2
[0053] like Figure 2 As shown, this embodiment provides a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, including: a main control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit;
[0054] The master control unit establishes communication connections with the first slave control unit and the second slave control unit respectively; the first slave control unit and the second slave control unit have the same parameters and are arranged in parallel;
[0055] The first sensor array unit is electrically connected to the first slave control unit, and the second sensor array unit is electrically connected to the second slave control unit; the first sensor array unit and the second sensor array unit simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber, and transmit them to the first slave control unit and the second slave control unit in real time respectively;
[0056] The first slave control unit and the second slave control unit respectively process data according to the received parameters of the micro-hyperbaric oxygen chamber, and transmit the respective data processing results to the main control unit in real time; the main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time;
[0057] The power supply unit supplies power to the micro-hyperbaric oxygen chamber control system;
[0058] The master control unit establishes a UART hand-in-hand communication connection with the first slave control unit and the second slave control unit respectively;
[0059] The main control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error;
[0060] The master control unit generates a control signal in real time according to the comparison error, and sends the control signal to the first slave control unit and the second slave control unit at the same time, and the first slave control unit and the second slave control unit control the micro hyperbaric oxygen chamber according to the received control signal until the comparison error is less than a preset threshold;
[0061] The micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence;
[0062] The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber;
[0063] The control signal is specifically a PWM control signal, and the first slave control unit and the second slave control unit control the corresponding stepping motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet;
[0064] The main control unit is provided with a fault detection subunit;
[0065] The fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively;
[0066] When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit fails, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to stop working.
[0067] In the specific implementation process, two sets of sensor array units are first used to simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber and transmit them to the corresponding slave control units in real time. The parameters here include the temperature, humidity, pressure, oxygen concentration, etc. in the micro-hyperbaric oxygen chamber;
[0068] The two slave control units respectively process data according to the received micro-hyperbaric oxygen chamber parameters, and transmit their respective data processing results to the master control unit in real time; in this embodiment, the master control unit and the two slave control units are connected by UART hand-in-hand communication, which can meet the real-time and high-precision requirements of data transmission;
[0069] The master control unit compares and verifies the data processing results sent by the two slave control units. If the verification is correct (meets the preset conditions), the status quo of the micro-hyperbaric oxygen chamber is maintained; if the verification does not meet the preset conditions, a control signal is sent to the two slave control units to control the micro-hyperbaric oxygen chamber to make adjustments, thereby realizing real-time monitoring and control of the micro-hyperbaric oxygen chamber;
[0070] Specifically, the micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence;
[0071] The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber;
[0072] The main control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error;
[0073] The main control unit generates a PWM control signal in real time according to the comparison error, and sends the PWM control signal to the first slave control unit and the second slave control unit at the same time. The first slave control unit and the second slave control unit control the corresponding stepping motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet until the comparison error is less than a preset threshold value;
[0074] In this embodiment, a fault detection subunit is further provided in the main control unit; the fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively;
[0075] When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit has a fault, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to shut down and stop working, thereby ensuring the safe and stable operation of the micro-hyperbaric oxygen chamber; in this embodiment, the fault includes abnormal parameters such as temperature, pressure, humidity (outside the normal range), excessive comparison error, etc., and the fault detection conditions can be set as needed;
[0076] The system sets up two sets of identical sensor array units and slave control units in parallel to simultaneously monitor various parameters in the micro-hyperbaric oxygen chamber. The two sets of control circuits are mirrored and redundant, avoiding the risk of large errors and easy errors of a single sensor and controller, and can effectively improve the monitoring accuracy, robustness and stability. At the same time, the safety and comfort of the micro-hyperbaric oxygen chamber are greatly improved, and the user experience and satisfaction are also improved; secondly, the main control unit in the system establishes communication connections with the two slave control units respectively, and can obtain the micro-hyperbaric oxygen chamber parameters monitored by the two paths in real time, which is conducive to the realization of real-time data transmission and intelligent control; in addition, the circuit structure of the system is simple, based on the low cost advantage of the single-chip microcomputer, it can greatly reduce the use and maintenance costs of the micro-hyperbaric oxygen chamber, which is conducive to the large-scale promotion and popularization of the micro-hyperbaric oxygen chamber.
[0077] Example 3
[0078] like Figure 3 As shown, this embodiment provides a micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, including: a main control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit;
[0079] The master control unit establishes communication connections with the first slave control unit and the second slave control unit respectively; the first slave control unit and the second slave control unit have the same parameters and are arranged in parallel;
[0080] The first sensor array unit is electrically connected to the first slave control unit, and the second sensor array unit is electrically connected to the second slave control unit; the first sensor array unit and the second sensor array unit simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber, and transmit them to the first slave control unit and the second slave control unit in real time respectively;
[0081] The first slave control unit and the second slave control unit respectively process data according to the received parameters of the micro-hyperbaric oxygen chamber, and transmit the respective data processing results to the main control unit in real time; the main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time;
[0082] The power supply unit supplies power to the micro-hyperbaric oxygen chamber control system; in this embodiment, the power supply unit is a 12V external power supply, which is stepped down to 5V by a step-down circuit to supply power to the micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer;
[0083] The master control unit establishes a UART hand-in-hand communication connection with the first slave control unit and the second slave control unit respectively;
[0084] The main control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error;
[0085] The main control unit generates a control signal in real time according to the comparison error, and sends the control signal to the first slave control unit and the second slave control unit at the same time. The first slave control unit and the second slave control unit control the micro hyperbaric oxygen chamber according to the received control signal until the comparison error is less than a preset threshold.
[0086] Preferably, the micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence;
[0087] The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber;
[0088] The control signal is specifically a PWM control signal, and the first slave control unit and the second slave control unit control the corresponding stepping motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet;
[0089] The main control unit is provided with a fault detection subunit;
[0090] The fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively;
[0091] When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit fails, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to stop working;
[0092] The main control unit also establishes a communication connection with an external device to achieve external communication;
[0093] The external device includes: any one of a smart phone, a smart watch, a computer and a tablet computer;
[0094] The first sensor array unit and the second sensor array unit are both provided with: a blood pressure sensor, an oxygen concentration sensor, an oxygen flow sensor, a pressure sensor, a temperature sensor and a humidity sensor;
[0095] The micro-hyperbaric oxygen chamber control system further includes: a display unit;
[0096] The display unit is electrically connected to the main control unit, the first slave control unit and the second slave control unit respectively;
[0097] The display unit comprises: a display screen, a master control operation indicator light, a first slave control operation indicator light, and a second slave control operation indicator light;
[0098] The display screen and the master control operation indicator light are electrically connected to the master control unit respectively; the first slave control operation indicator light is electrically connected to the first slave control unit; the second slave control operation indicator light is electrically connected to the second slave control unit;
[0099] The master control unit, the first slave control unit and the second slave control unit are of the same model, which are all Renesas Electronics R7F0C908 single-chip microcomputers.
[0100] In the specific implementation process, Figure 4 The electrical architecture diagram of the system in this embodiment is shown, where systems A and B represent the first and second slave control units in a mirrored configuration, respectively;
[0101] Firstly, two sets of sensor array units are used to simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber and transmit them to the corresponding slave control units in real time. The parameters include temperature, humidity, pressure, oxygen concentration, etc. in the micro-hyperbaric oxygen chamber.
[0102] The two slave control units respectively process data according to the received micro-hyperbaric oxygen chamber parameters, and transmit their respective data processing results to the master control unit in real time; in this embodiment, the master control unit and the two slave control units are connected by UART hand-in-hand communication, which can meet the real-time and high-precision requirements of data transmission;
[0103] The master control unit compares and verifies the data processing results sent by the two slave control units. If the verification is correct (meets the preset conditions), the status quo of the micro-hyperbaric oxygen chamber is maintained; if the verification does not meet the preset conditions, a control signal is sent to the two slave control units to control the micro-hyperbaric oxygen chamber to make adjustments, thereby realizing real-time monitoring and control of the micro-hyperbaric oxygen chamber;
[0104] Specifically, the micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence;
[0105] The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber;
[0106] The main control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error;
[0107] The main control unit generates a PWM control signal in real time according to the comparison error, and sends the PWM control signal to the first slave control unit and the second slave control unit at the same time. The first slave control unit and the second slave control unit control the corresponding stepping motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet until the comparison error is less than a preset threshold value;
[0108] In this embodiment, a fault detection subunit is further provided in the main control unit; the fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively;
[0109] When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit has a fault, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to shut down and stop working, thereby ensuring the safe and stable operation of the micro-hyperbaric oxygen chamber; in this embodiment, the fault includes abnormal parameters such as temperature, pressure, humidity (outside the normal range), excessive comparison error, etc., and the fault detection conditions can be set as needed;
[0110] In this embodiment, the main control unit also establishes a communication connection with an external device, and the communication connection can be wireless or wired communication, such as establishing RS485 communication or UART high-speed communication with a host computer; the external device in this embodiment includes: any one of a smart phone, a smart watch, a computer and a tablet computer, which is not limited here; the main control unit can send the data of the two sets of sensors and the processing results of the two slave control units to the external device in real time, thereby realizing high-precision real-time monitoring; in addition, when a fault is detected in the micro-hyperbaric oxygen chamber, an alarm signal will also be sent to the external device, thereby ensuring the safe operation of the oxygen chamber; users can also remotely control the oxygen chamber through external devices, which greatly improves the portability and experience of use;
[0111] In this embodiment, the main control unit also establishes RS485 communication with the display screen, so as to perform real-time high-precision data transmission; in addition, the main control unit and the first and second slave control units are respectively provided with corresponding operation indicator lights for indicating the operation status of each controller. When an abnormality occurs in the control unit, the corresponding indicator light color will also be changed to give an alarm, thereby further improving the safety performance of the oxygen chamber;
[0112] The system sets up two sets of identical sensor array units and slave control units in parallel to simultaneously monitor various parameters in the micro-hyperbaric oxygen chamber. The two sets of control circuits are mirrored and redundant, avoiding the risk of large errors and easy errors of a single sensor and controller, and can effectively improve the monitoring accuracy, robustness and stability. At the same time, the safety and comfort of the micro-hyperbaric oxygen chamber are greatly improved, and the user experience and satisfaction are also improved; secondly, the main control unit in the system establishes communication connections with the two slave control units respectively, and can obtain the micro-hyperbaric oxygen chamber parameters monitored by the two paths in real time, which is conducive to the realization of real-time data transmission and intelligent control; in addition, the circuit structure of the system is simple, based on the low cost advantage of the single-chip microcomputer, it can greatly reduce the use and maintenance costs of the micro-hyperbaric oxygen chamber, which is conducive to the large-scale promotion and popularization of the micro-hyperbaric oxygen chamber.
[0113] The same or similar reference numerals correspond to the same or similar components;
[0114] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;
[0115] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A micro-hyperbaric oxygen chamber control system based on a single-chip microcomputer, characterized in that: include: A master control unit, a first slave control unit, a second slave control unit, a first sensor array unit, a second sensor array unit and a power supply unit; The master control unit establishes communication connections with the first slave control unit and the second slave control unit respectively; the first slave control unit and the second slave control unit have the same parameters and are arranged in parallel; The first sensor array unit is electrically connected to the first slave control unit, and the second sensor array unit is electrically connected to the second slave control unit; the first sensor array unit and the second sensor array unit simultaneously collect several identical parameters of the micro-hyperbaric oxygen chamber, and transmit them to the first slave control unit and the second slave control unit in real time respectively; The first slave control unit and the second slave control unit respectively process data according to the received parameters of the micro-hyperbaric oxygen chamber, and transmit their respective data processing results to the master control unit in real time; The main control unit monitors and controls the micro-hyperbaric oxygen chamber in real time; The power supply unit supplies power to the micro-hyperbaric oxygen chamber control system.
2. According to the single chip microcomputer-based micro-hyperbaric oxygen chamber control system of claim 1, it is characterized in that: The master control unit establishes a UART hand-in-hand communication connection with the first slave control unit and the second slave control unit respectively.
3. According to the single chip microcomputer-based micro-hyperbaric oxygen chamber control system of claim 1, it is characterized in that: The main control unit compares the data processing results of the first slave control unit and the second slave control unit in real time to obtain a comparison error; The main control unit generates a control signal in real time according to the comparison error, and sends the control signal to the first slave control unit and the second slave control unit at the same time. The first slave control unit and the second slave control unit control the micro hyperbaric oxygen chamber according to the received control signal until the comparison error is less than a preset threshold.
4. According to the single chip microcomputer-based micro-hyperbaric oxygen chamber control system of claim 3, it is characterized in that: The micro-hyperbaric oxygen chamber is provided with: a first stepper motor and a first electric valve connected in sequence, and a second stepper motor and a second electric valve connected in sequence; The control end of the first stepper motor is connected to the first slave control unit, and the control end of the second stepper motor is connected to the second slave control unit; the first electric valve is arranged at an oxygen outlet in the micro-hyperbaric oxygen chamber, and the second electric valve is arranged at another oxygen outlet in the micro-hyperbaric oxygen chamber; The control signal is specifically a PWM control signal. The first slave control unit and the second slave control unit control the corresponding stepper motor according to the received PWM control signal, and control the opening degree of the corresponding electric valve, thereby controlling the oxygen flow rate of the corresponding oxygen outlet.
5. According to the single chip microcomputer-based micro-hyperbaric oxygen chamber control system of claim 1, it is characterized in that: The main control unit is provided with a fault detection subunit; The fault detection subunit establishes communication connections with the first slave control unit and the second slave control unit respectively; When the fault detection subunit detects that any one of the first slave control unit and the second slave control unit fails, the main control unit sends an interrupt signal to the micro-hyperbaric oxygen chamber to control the micro-hyperbaric oxygen chamber to stop working.
6. The micro-hyperbaric oxygen chamber control system based on a single chip microcomputer according to claim 1, characterized in that: The main control unit also establishes a communication connection with an external device to achieve external communication; The external device includes: any one of a smart phone, a smart watch, a computer and a tablet computer.
7. The micro-hyperbaric oxygen chamber control system based on a single chip microcomputer according to claim 1, characterized in that: The first sensor array unit and the second sensor array unit are both provided with: a blood pressure sensor, an oxygen concentration sensor, an oxygen flow sensor, a pressure sensor, a temperature sensor and a humidity sensor.
8. The micro-hyperbaric oxygen chamber control system based on a single chip microcomputer according to claim 1, characterized in that: The micro-hyperbaric oxygen chamber control system further includes: a display unit; The display unit is electrically connected to the main control unit, the first slave control unit and the second slave control unit respectively.
9. A micro-hyperbaric oxygen chamber control system based on a single chip microcomputer according to claim 8, characterized in that: The display unit comprises: a display screen, a master control operation indicator light, a first slave control operation indicator light, and a second slave control operation indicator light; The display screen and the master control operation indicator light are electrically connected to the master control unit respectively; the first slave control operation indicator light is electrically connected to the first slave control unit; and the second slave control operation indicator light is electrically connected to the second slave control unit.
10. A micro-hyperbaric oxygen chamber control system based on a single chip microcomputer according to any one of claims 1 to 9, characterized in that: The master control unit, the first slave control unit and the second slave control unit are of the same model, which are all Renesas Electronics R7F0C908 single-chip microcomputers.
