A turbine control system, a control method and a respiratory support device

By adopting a dual MCU structure in the breathing support device, the main MCU is responsible for other system controls, and the slave MCU specializes in controlling the turbine, solving the problem of inaccurate turbine control caused by long-term operation in the existing technology, and improving the overall performance and safety of the equipment.

CN110397612BActive Publication Date: 2025-05-06HUNAN MICOME ZHONGJIN MEDICAL SCI & TECH DEV CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201910617134.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-10
Publication Date
2025-05-06
Estimated Expiration
2039-07-10

AI Technical Summary

Technical Problem

During long-term operation of existing respiratory support devices, due to the limitations of a single MCU, it is prone to inaccurate turbine control problems, resulting in an increase in the risk of medical malpractice.

Method used

It adopts a dual MCU structure, where the main MCU is responsible for controlling the peripheral system, and the slave MCU is responsible for the control of the turbine, and realizes bidirectional data transmission through serial communication to ensure that the turbine can still be accurately controlled when the main MCU fails.

Benefits of technology

In the event of a failure or overload operation of the main MCU, the accurate control of the turbine can still be ensured, and the overall performance and safety of the breathing support equipment can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110397612B_ABST
    Figure CN110397612B_ABST
Patent Text Reader

Abstract

The present application relates to the field of electrical appliances, and in particular to a turbine control system, a control method, and a respiratory support device. A turbine control system comprises a main MCU and a slave MCU that communicates bidirectionally with the main MCU according to a default protocol; the main MCU is used to process system tasks; the slave MCU is used to drive the turbine through a control module according to the instructions of the main MCU. Compared with the prior art, the present application provides a turbine control system, a control method, and a respiratory support device, wherein the slave MCU is only responsible for controlling the turbine, and the main MCU is responsible for other control parts of the system, and the master and slave MCUs communicate through a serial port, so that the system can be ensured to be in long-term operation without the main MCU being overloaded and causing a malfunction, and the control speed of the turbine can be greatly improved, thereby improving the overall performance of the respiratory support device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electrical appliances, and in particular to a turbine control system, a control method and a respiratory support device. Background Art

[0002] As an effective means to replace or assist human spontaneous ventilation, respiratory support equipment has been widely used. Especially in some medical fields, it is widely used in respiratory failure caused by various reasons, anesthesia respiratory management during major surgery, respiratory support therapy and emergency resuscitation, and occupies a very important position in the field of modern medicine.

[0003] At present, more and more sleep-type respiratory support devices are used in households, so the requirements for the control performance of respiratory support devices are getting higher and higher. One of the most important controls in respiratory support devices is the control of the turbine.

[0004] The respiratory support devices currently on the market all have only one MCU (Microcontroller Unit). Under normal use, there will be no problems. However, once they are run for a long time, the disadvantages of a single MCU, such as program runaway, will appear. At this time, inaccurate turbine control will occur, which can easily lead to medical accidents.

[0005] Patent document No. 201210581107.0 discloses a turbine controller, which mainly solves the following problems: most turbine controllers are integrally sealed structures, and the mechanical dimensions cannot be adjusted; it is difficult to match with other components. Moreover, the solution mainly realizes the corresponding functions by connecting to a computer, and does not solve the problem of inaccurate turbine control caused by long-term operation of the core processor.

[0006] Therefore, the turbine control scheme of the existing respiratory support equipment needs to be improved and enhanced. Summary of the invention

[0007] In view of the above-mentioned deficiencies in the prior art, the purpose of the present application is to provide a turbine control system, a control method and a respiratory support device, which can meet the long-term operation requirements of the respiratory support device and can still accurately control the turbine even if the main MCU fails, thereby improving the overall performance of the respiratory support device.

[0008] In order to achieve the above objectives, this application adopts the following technical solutions:

[0009] A turbine control system, comprising a master MCU and a slave MCU bidirectionally communicating with the master MCU according to a default protocol;

[0010] The main MCU is used to control the peripheral system;

[0011] The slave MCU is used to drive the turbine through the turbine control module according to the instruction of the master MCU.

[0012] Preferably, in the turbine control system, the UART1 port of the master MCU is connected to the UART2 port of the slave MCU; the command of the default protocol includes: a packet header, a command code, a packet length, data, a checksum, and a packet tail.

[0013] Preferably, in the turbine control system, the checksum is obtained based on the command code, the packet length, and the data, and is used to determine the correctness of the command.

[0014] Preferably, in the turbine control system, the turbine control module is a PID controller.

[0015] Preferably, in the turbine control system, the I / O1 port of the master MCU is connected to the I / O2 port of the slave MCU, and the master MCU outputs a high level to the I / O2 port of the slave MCU through the I / O1 port;

[0016] After the I / O2 port of the slave MCU receives the input high level, it is also used for not receiving the instruction data sent by the master MCU within the first predetermined time.

[0017] Preferably, the turbine control system, the peripheral system includes: a storage module, a system alarm control module, a networking control module, a respiratory state detection module, a calibration control module, a hardware alarm control module, a display control module, a real-time treatment control module, and a button control module.

[0018] A control method of the system comprises the steps of:

[0019] A. Power on the machine and initialize the system software and hardware;

[0020] B. The master MCU sends a handshake instruction to the slave MCU;

[0021] C. After the handshake is successful, the master MCU sends the module target pressure value instruction and mode instruction to the slave MCU;

[0022] D. After the system starts working, the master MCU sends a real-time output pressure value instruction to the slave MCU in real time;

[0023] E. The slave MCU controls the turbine according to the received target pressure value instruction and the real-time output pressure value instruction.

[0024] Preferably, the control method, step C further comprises:

[0025] If the handshake fails after the first predetermined number of times, or if the master MCU does not receive any response within the second predetermined time after issuing the data instruction, a reset operation is performed on the slave MCU. After the reset, the master MCU again issues a handshake instruction to the slave MCU. If the handshake still fails after the second predetermined number of resets, a communication failure alarm is issued.

[0026] Preferably, the control method, step B further comprises:

[0027] The master MCU outputs a high level to the I / O2 port of the slave MCU via the I / O1 port. If the slave MCU does not receive a data instruction from the master MCU within a first predetermined time, a communication failure alarm is issued.

[0028] A respiratory support device operates using any control system described above.

[0029] Compared with the prior art, the present application provides a turbine control system, a control method and a respiratory support device, in which the slave MCU is only responsible for controlling the turbine, and the master MCU is responsible for other control parts of the system. The master and slave MCUs communicate through the serial port. This ensures that the main MCU will not be overloaded during long-term operation of the system, resulting in a malfunction. It can also greatly improve the control speed of the turbine, thereby improving the overall performance of the respiratory support device. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a structural diagram of the control system provided by this application;

[0031] Figure 2 It is a serial port connection circuit diagram between the master MCU and the slave MCU provided in this application;

[0032] Figure 3 It is a flow chart of the control method provided by this application.

[0033] MCU (Microcontroller Unit)

[0034] UART (Universal Asynchronous Receiver / Transmitter, asynchronous serial communication port)

[0035] PID (proportion integral differential, proportional unit P, integral unit I and differential unit D) DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific examples described here are only used to explain the present application and are not used to limit the present application.

[0037] Example 1

[0038] Please also refer to the attached Figure 1-2 The present application provides a turbine control system, comprising a main MCU1 and a slave MCU2 bidirectionally communicating with the main MCU1 according to a default protocol. Specifically, the slave MCU2 drives the turbine to work through a turbine control module according to the instruction of the main MCU1, and the main MCU1 is used to process system tasks.

[0039] Specifically, the main MCU1 is responsible for controlling all peripheral systems except the turbine, and the slave MCU2 is only responsible for controlling the turbine. In the software tasks, the main MCU1 is responsible for controlling the storage tasks of the respiratory support equipment, the system alarm control tasks, the networking control tasks, the respiratory state detection tasks, the calibration control tasks, the hardware alarm control tasks, the display control tasks, the real-time treatment control tasks, the key control tasks and other main tasks of the system operation, and the slave MCU2 is only responsible for the turbine control task.

[0040] Specifically, the UART1 port of the master MCU1 and the UART2 port of the slave MCU2 perform bidirectional communication. In the bidirectional communication, the format of the default protocol used is as follows:

[0041]

[0042] Among them, the packet header: the content is fixed to 0x70;

[0043] Command code: used to use specific values ​​to represent corresponding instructions;

[0044] Packet length: the length in bytes of the entire data packet, including the packet header and the packet tail;

[0045] Data: is the expression of the specific meaning of the instruction in the command code, the data length is 0-10 bytes, the expression is matched to a specific value on the ASCII table, and the value is converted into hexadecimal for content expression;

[0046] Checksum: the cumulative sum of the command code, the packet length and the data length;

[0047] Packet tail: The content is fixed to "0x7E".

[0048] Specifically, the bytes are arranged as the storage method of the system and operate according to the internal mechanism of the system.

[0049] Furthermore, the value range of the specific value in the command code is 0x01-0x06, where the specific value meanings are:

[0050] 0x01: Handshake instruction. After power-on initialization is completed, the instruction content is "Hand".

[0051] 0x02: target pressure value instruction, the instruction content is a number or a corresponding standard expression; when the respiratory output pressure value parameter is modified as needed, the master MCU1 sends the target pressure value to the slave MCU2 through this instruction;

[0052] 0x03: Mode command, the command content is a number or a corresponding standard expression; when different working modes are selected, such as single-level or dual-level mode, the corresponding turbine control scheme is also different, and it is sent from the main MCU1 to the slave MCU2;

[0053] 0x04: real-time output pressure value instruction, the instruction content is a number or a corresponding standard expression; the real-time output pressure value is the real-time pressure output value collected by the main MCU1 and sent by the main MCU1 to the slave MCU2;

[0054] 0x05: The slave MCU2 replies with an instruction whose content is "OK"; when the slave MCU2 receives the handshake instruction sent by the master MCU1 normally, the slave MCU2 replies with an instruction;

[0055] 0x06: the slave MCU2 replies with an instruction whose content is "ERROR"; it mainly refers to the handshake instruction issued by the master MCU1. When the handshake is unsuccessful, the slave MCU2 replies with an instruction; the unsuccessful handshake means that the checksum is incorrect.

[0056] Furthermore, the turbine control module in the present system is a PID controller, which can realize that when the main MCU1 transmits the corresponding target pressure value instruction, the mode instruction, and the real-time output pressure value instruction, the PID controller can automatically adjust according to the corresponding needs to control the turbine. It should be noted here that the corresponding operation of controlling the turbine drive according to the target pressure value instruction, the mode instruction, and the real-time output pressure value instruction is not limited to the PID controller. The turbine control module described in the present invention can be an existing independent control device or a split control device.

[0057] Preferably, in further implementation, the master MCU1 and the slave MCU2 are also connected through an I / O port, mainly for backup docking. When the system is running and data transmission is to be performed, the master MCU1 will output a high level to the slave MCU2 through the I / O port, and then transmit data instructions; when the slave MCU2 receives the high level sent by the master MCU1, if it does not receive the corresponding data instruction within the first predetermined time, it will issue a communication failure alarm message. In actual operation, the first predetermined time can be set to 30 seconds, 45 seconds, 1 minute, etc.

[0058] Example 2

[0059] Please also refer to the attached Figure 3 The present invention provides a method for controlling a respiratory support device system, comprising the steps of:

[0060] S100, power on the machine and initialize the system software and hardware;

[0061] S200, the master MCU1 sends a handshake instruction to the slave MCU2;

[0062] S300, after the handshake is successful, the master MCU1 sends the module target pressure value instruction and the mode instruction to the slave MCU2;

[0063] S400, after the system starts working, the master MCU1 sends a real-time output pressure value instruction to the slave MCU2 in real time;

[0064] S500: The slave MCU2 controls the turbine according to the received target pressure value instruction and the real-time output pressure value instruction.

[0065] This method separates the control work of the turbine and frees up the computing resources of the main MCU1, so that when the main MCU1 controls other functions of the system, it can be more convenient and efficient, and effective control can be achieved. The technical solution of using dual MCUs for control can control the most important turbine in the respiratory support device through a separate MCU, and other system control tasks can be placed in another MCU. The control speed of the turbine by the separate MCU is faster and more accurate, and the optimal resources of the MCU can be supplied to the turbine control, thereby improving the control performance of the turbine and optimizing the performance of the respiratory support device itself.

[0066] Furthermore, in step S300, it also includes:

[0067] If the handshake fails after the first predetermined number of times, or the master MCU1 does not receive any response within the second predetermined time after issuing the data instruction, the slave MCU2 is reset. After the reset, the master MCU1 sends a handshake instruction to the slave MCU2 again. If the handshake still fails after the second predetermined number of times, a communication failure alarm is issued. In the specific implementation, the range of the predetermined number of times is set to 5-10 times; the range of the second predetermined number of times is set to 2-5 times; the range of the second predetermined time is set to 30-90 seconds.

[0068] Preferably, when the master MCU1 receives the feedback instruction of "ERROR" from the slave MCU2 for 5 consecutive times, or when the master MCU1 does not receive any instruction reply within 1 minute after sending an instruction to the slave MCU2, the slave MCU2 is reset and handshake communication is performed again. If the handshake fails after three consecutive resets, an alarm of communication failure between the master and slave MCU2 is issued.

[0069] A further method for determining that communication failure has occurred is that step S200 further includes:

[0070] The master MCU1 outputs a high level to the I / O2 port of the slave MCU2 through the I / O1 port. If the slave MCU2 does not receive the data instruction of the master MCU1 within a first predetermined time, a communication failure alarm is issued.

[0071] Example 3

[0072] The present invention also provides a technical solution for a respiratory support device, which mainly uses the control system in Example 1 to work, and is a respiratory support device using a dual MCU control solution, wherein the slave MCU2 is only responsible for controlling the PID control of the turbine, and the main MCU1 is responsible for other control parts of the respiratory support device, and the main MCU1 communicates with the slave MCU2 through a serial port, thereby greatly improving the control speed of the turbine, thereby improving the overall performance of the respiratory support device.

[0073] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and application concept of the present application, and all these changes or substitutions should fall within the protection scope of the claims attached to the present application.

Claims

1. A turbine control system, characterized in that: It includes a master MCU and a slave MCU that communicates bidirectionally with the master MCU according to a default protocol; The main MCU is used to control the peripheral system; the peripheral system includes a storage control module, a system alarm control module, a networking control module, a respiratory state detection module, a calibration control module, a hardware alarm control module, a display control module, a real-time treatment control module and a key control module; the main MCU is responsible for controlling the storage task, system alarm control task, networking control task, respiratory state detection task, calibration control task, hardware alarm control task, display control task, real-time treatment control task and key control task of the respiratory support device; The slave MCU is used to drive the turbine through the turbine control module according to the instruction of the master MCU; The UART1 port of the master MCU is connected to the UART2 port of the slave MCU; The command of the default protocol includes: a packet header, a command code, a packet length, data, a checksum, and a packet tail; the checksum is the cumulative sum of the command code, the packet length, and the length of the data, wherein the command code represents the corresponding instruction by using a specific value, the value range of the specific value is 0x01-0x06, and the specific meaning of the value is: 0x01: Handshake instruction. After power-on initialization is completed, the content of the handshake instruction is "Hand"; 0x02: target pressure value instruction, which is a number or a corresponding standard expression; when the respiratory output pressure value parameter needs to be modified, the master MCU sends the target pressure value to the slave MCU through the target pressure value instruction; 0x03: mode instruction, the mode instruction is a number or a corresponding standard expression; when different working modes are selected, the corresponding turbine control scheme is also different, and the mode instruction is sent by the master MCU to the slave MCU; the working modes include single-level mode and dual-level mode; 0x04: real-time output pressure value instruction, the real-time output pressure value instruction is a number or a corresponding standard expression; the real-time output pressure value is the real-time pressure output value collected by the master MCU, and is sent by the master MCU to the slave MCU; 0x05: the first slave MCU reply instruction, the content of the first slave MCU reply instruction is "OK"; the first slave MCU reply instruction is an instruction for the slave MCU to reply when the slave MCU can normally receive the handshake instruction sent by the master MCU; 0x06: the second slave MCU reply instruction, the content of the second slave MCU reply instruction is "ERROR"; the second slave MCU reply instruction is the instruction that the slave MCU replies to when the handshake fails after the master MCU issues the handshake instruction; the failure of the handshake means that the checksum is incorrect.

2. The turbine control system according to claim 1, characterized in that: The content of the packet header is fixed to 0x70, and the content of the packet tail is fixed to 0x7E.

3. The turbine control system according to claim 1, characterized in that: The turbine control module is a PID controller.

4. The turbine control system according to claim 1, characterized in that: The I / O1 port of the master MCU is connected to the slave The master MCU is connected to the I / O2 port of the slave MCU, and the master MCU outputs a high level to the I / O2 port of the slave MCU through the I / O1 port; After the I / O2 port of the slave MCU receives the input high level, if it still does not receive the master signal within the first predetermined time, If the command data sent by MCU is lost, a communication failure alarm message will be issued.

5. A control method for a turbine control system according to any one of claims 1 to 4, characterized in that: Includes steps: A. Power on the machine and initialize the system software and hardware; B. The master MCU sends a handshake instruction to the slave MCU; C. After the handshake is successful, the master MCU sends the module target pressure value instruction and mode instruction to the slave MCU; D. After the system starts working, the master MCU sends a real-time output pressure value instruction to the slave MCU in real time; E. the slave MCU controls the turbine according to the received target pressure value instruction and the real-time output pressure value instruction; The step C further comprises: If the handshake fails after the first predetermined number of times, or the master MCU does not receive any response within the second predetermined time after issuing the data instruction, the slave MCU is reset. After the reset, the master MCU again issues a handshake instruction to the slave MCU. If the handshake still fails after the second predetermined number of times is reset, a communication failure alarm is issued; wherein the value range of the first predetermined number of times is 5-10 times, the value range of the second predetermined number of times is 2-5 times, and the value range of the second predetermined time is 30-90 seconds.

6. The control method according to claim 5, characterized in that: The step C also includes: when the master MCU receives the feedback instruction of "ERROR" from the slave MCU for 5 consecutive times, or when the master MCU does not receive any instruction reply within 1 minute after sending an instruction to the slave MCU, the slave MCU is reset and handshake communication is performed again. If the handshake fails after three consecutive resets, an alarm of communication failure between the master and slave MCUs is issued.

7. The control method according to claim 5, characterized in that: The step B further includes: the master MCU outputs a high level to the I / O2 port of the slave MCU through the I / O1 port, and if the slave MCU does not receive the data instruction of the master MCU within a first predetermined time, a communication failure alarm is issued.

8. The control method according to claim 7, characterized in that: The first predetermined time is 30 seconds, 45 seconds or 1 minute.

9. A respiratory support device, characterized in that: Use the control system described in any one of claims 1-4 to work.

Citation Information

Patent Citations

  • A high-performance ventilator turbine controller

    CN103899559B

  • Dual-CPU (central processing unit) combined type motion controller

    CN102591250A

  • Leakage compensation method for single-loop non-invasive ventilators

    CN103071213A

  • Communication method between automatic selling terminal and upper computer of automatic selling terminal

    CN103312452A