Air valve control method and device of blood purification equipment

By setting a magnetic gas switch and driving coil in the gas valve of the blood purification equipment, real -time monitoring and adjustment of the voltage, solving the problem of overheating and high energy consumption when the traditional solenoid valve is turned on for a long time, and achieved more efficient and accurate accuracy The air valve control.

CN119367674APending Publication Date: 2025-01-28GREATER BAY AREA INST FOR INNOVATION HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411543675.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The solenoid valves in traditional blood purification equipment are overheating and excessive energy consumption due to continuous constant voltage supply when conducting for a long time.

Method used

By setting a magnetic gas switch and driving coil in the gas valve of the blood purification equipment, the response gas valve is used to turn on instructions for constant voltage power, real -time monitoring the gas switch position, and adjusting the driving coil voltage to maintain the position of the gas switch at a low voltage.

Benefits of technology

Effectively reduce energy consumption, avoid the overheating problem caused by the high pressure state for a long time, significantly prolong the service life of the equipment and improve the control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119367674A_ABST
    Figure CN119367674A_ABST
Patent Text Reader

Abstract

The invention relates to an air valve control method and device of blood purification equipment, and aims to solve the problems of overheating and high energy consumption caused by continuous constant-voltage power supply when an electromagnetic valve is conducted for a long time. According to the method, the accurate control of the gas switch is realized by intelligently controlling the voltage of the driving coil. After an air valve opening instruction is responded, the system dynamically determines the opening amplitude of an air valve and adjusts the voltage of a driving coil according to operation parameters of the blood purification equipment, and when a gas switch approaches a target position, the driving coil is controlled by adopting a PWM (Pulse Width Modulation) strategy, and the gas switch is kept at the target position with low voltage; therefore, the problems of overheating and over-high energy consumption caused by high voltage are avoided. According to the method, the position of the gas switch is monitored in real time, a PWM signal is dynamically adjusted, and accurate driving and stable keeping of the gas switch are guaranteed. The technical scheme is suitable for blood purification equipment which runs for a long time, and can also be widely applied to other equipment which needs to accurately control the air valve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a gas valve control method and device for blood purification equipment. Background Art

[0002] In blood purification equipment, the control of the gas valve is crucial to the performance and reliability of the equipment. The traditional gas valve control method usually uses a long-term 12V constant voltage to energize the solenoid valve coil to maintain the open state of the gas valve. However, this method can easily cause the coil to overheat, and in severe cases, it may even burn the coil, affecting the normal operation and service life of the equipment.

[0003] The overheating problem of the solenoid valve mainly stems from its working principle. When the coil is energized, it generates magnetic force, which attracts the gas switch; after the power is off, the magnetic force disappears and the spring presses the gas switch down. In the initial state, the gas switch is far away from the coil, and a large suction force is required to attract it, so a high voltage drive is required. However, after the gas switch is attracted, the suction force required to maintain its position is greatly reduced, and continuous high voltage power supply will lead to excessive energy consumption and coil heating.

[0004] However, there is currently no effective solution to the technical problems of overheating and excessive energy consumption caused by continuous constant voltage power supply when the solenoid valve is turned on for a long time. Summary of the invention

[0005] The main purpose of the present invention is to provide a gas valve control method and device for blood purification equipment to solve the technical problems of overheating and excessive energy consumption caused by continuous constant voltage power supply when the solenoid valve is turned on for a long time.

[0006] To achieve the above-mentioned purpose, the present invention provides a gas valve control method for a blood purification device, wherein a magnetic gas switch is provided in the gas valve, and the gas switch is pressed to a first position by a spring. When the gas switch is in the first position, the gas valve is in a closed state. A driving coil is also provided in the gas valve, and when the driving coil is energized, it is used to attract the gas switch to a second position. When the gas switch is in the second position, the gas valve is in an open state.

[0007] Specifically, the gas valve control method includes: in response to the gas valve opening instruction of the blood purification equipment, the drive coil is energized at a constant voltage, wherein the drive coil generates an electromagnetic force on the gas switch after being energized, so that the gas switch moves to the second position; real-time monitoring of the current position of the gas switch, and based on the current position of the gas switch, adjusting the voltage of the drive coil, so that the drive coil drives the gas switch at a low voltage to maintain the position.

[0008] The present invention also provides a gas valve control device for a blood purification device, wherein the gas valve is provided with a magnetic gas switch, and the gas switch is pressed to a first position by a spring. When the gas switch is in the first position, the gas valve is in a closed state. The gas valve is also provided with a driving coil, and when the driving coil is energized, it is used to attract the gas switch to a second position. When the gas switch is in the second position, the gas valve is in an open state.

[0009] Specifically, the gas valve control device includes: a power-on unit, used to respond to the gas valve opening instruction of the blood purification equipment and perform constant voltage power-on processing on the drive coil, wherein the drive coil generates electromagnetic attraction on the gas switch after being energized, so that the gas switch moves to the second position; an adjustment unit, used to monitor the current position of the gas switch in real time, and adjust the voltage of the drive coil based on the current position of the gas switch, so that the drive coil drives the gas switch at a low voltage to maintain the position.

[0010] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0011] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.

[0012] The gas valve control method and device of the blood purification equipment provided by the present invention overcome the problems of overheating and high energy consumption caused by continuous constant voltage power supply during the long-term conduction process of the traditional solenoid valve by intelligently controlling the power-on process of the drive coil. Specifically, after responding to the gas valve opening instruction, the drive coil is first energized at a constant voltage to quickly generate sufficient electromagnetic attraction to attract the gas switch from the first position to the second position, thereby realizing the opening of the gas valve. At the same time, the present invention monitors the current position of the gas switch in real time and adjusts the voltage of the drive coil based on this information. When the gas switch moves to the target position, the system will maintain the current position of the gas switch by reducing the power-on voltage of the drive coil without the need to continuously use high voltage. This method not only effectively reduces energy consumption, but also avoids the overheating problem caused by the coil being in a high voltage state for a long time.

[0013] In addition, the adjustment process is implemented through the PWM (pulse width modulation) strategy, which enables the drive coil to stably control the position of the gas switch with low voltage. By dynamically adjusting the duty cycle of PWM, the opening amplitude of the gas valve can be accurately controlled, and when the gas switch approaches the target position, the electromagnetic attraction is gradually reduced to ensure that the gas switch can smoothly reach and remain in that position. This intelligent adjustment method not only improves the control accuracy, but also significantly extends the service life of the equipment.

[0014] The gas valve control method and device of the present invention are particularly suitable for blood purification equipment that runs continuously for a long time, and can effectively reduce the overall energy consumption of the system while improving the stability and reliability of the system. By integrating the above control algorithm into the control system of the blood purification equipment, more efficient and accurate gas valve control can be achieved, effectively avoiding overheating and energy waste. This design is not only suitable for gas valve control of blood purification equipment, but can also be promoted and applied to other equipment that requires precise control of gas switches, and has broad application prospects.

[0015] In summary, the present invention greatly improves the working efficiency of the gas valve through an intelligent control method, and reduces energy consumption and the risk of equipment failure while achieving high-precision control, thus having significant technical advantages. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a schematic diagram of the steps of a method for controlling an air valve of a blood purification device in one embodiment of the present invention; Figure 2 This is a structural block diagram of a gas valve control device of a blood purification device in one embodiment of the present invention; Figure 3 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.

[0017] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0019] Reference Figure 1An embodiment of the present invention provides a method for controlling an air valve of a blood purification device, wherein a magnetic gas switch is provided in the air valve, and the gas switch is pressed to a first position by a spring. When the gas switch is in the first position, the air valve is in a closed state. A driving coil is also provided in the air valve, and when the driving coil is energized, it is used to attract the gas switch to a second position. When the gas switch is in the second position, the air valve is in an open state.

[0020] Specifically, the gas valve control method includes: in response to the gas valve opening instruction of the blood purification equipment, the drive coil is energized at a constant voltage, wherein the drive coil generates an electromagnetic force on the gas switch after being energized, so that the gas switch moves to the second position; real-time monitoring of the current position of the gas switch, and based on the current position of the gas switch, adjusting the voltage of the drive coil, so that the drive coil drives the gas switch at a low voltage to maintain the position.

[0021] That is, by intelligently controlling the power-on process of the drive coil, the problems of overheating and high energy consumption caused by continuous constant voltage power supply during the long-term conduction process of the traditional solenoid valve are overcome. Specifically, after responding to the gas valve opening instruction, the drive coil is first energized at a constant voltage to quickly generate sufficient electromagnetic attraction to attract the gas switch from the first position to the second position, thereby realizing the opening of the gas valve. At the same time, the present invention monitors the current position of the gas switch in real time and adjusts the voltage of the drive coil based on this information. When the gas switch moves to the target position, the system will maintain the current position of the gas switch by reducing the power-on voltage of the drive coil without the need to continuously use high voltage. This method not only effectively reduces energy consumption, but also avoids the overheating problem caused by the coil being in a high voltage state for a long time.

[0022] In addition, the adjustment process is implemented through the PWM (pulse width modulation) strategy, which enables the drive coil to stably control the position of the gas switch with low voltage. By dynamically adjusting the duty cycle of PWM, the opening amplitude of the gas valve can be accurately controlled, and when the gas switch approaches the target position, the electromagnetic attraction is gradually reduced to ensure that the gas switch can smoothly reach and remain in that position. This intelligent adjustment method not only improves the control accuracy, but also significantly extends the service life of the equipment.

[0023] The gas valve control method of the present invention is particularly suitable for blood purification equipment that runs continuously for a long time, and can effectively reduce the overall energy consumption of the system while improving the stability and reliability of the system. By integrating the above control algorithm into the control system of the blood purification equipment, more efficient and accurate gas valve control can be achieved, effectively avoiding overheating and energy waste. This design is not only suitable for gas valve control of blood purification equipment, but can also be promoted and applied to other equipment that requires precise control of gas switches, and has broad application prospects.

[0024] In summary, the present invention greatly improves the working efficiency of the gas valve through an intelligent control method, and reduces energy consumption and the risk of equipment failure while achieving high-precision control, thus having significant technical advantages.

[0025] In one example, after responding to the air valve opening instruction of the blood purification device, the air valve control method also includes: acquiring the operating parameters of the blood purification device, and determining the opening amplitude of the air valve based on the operating parameters of the blood purification device; and, based on the opening amplitude of the air valve, calculating the target position of the air valve.

[0026] In this example, when the blood purification device issues a valve opening command, the system first obtains the operating parameters of the device instead of opening the valve immediately. The acquisition of operating parameters is a crucial step. These parameters may include blood flow, pressure inside the device, temperature, and even the degree of filter blockage. These data are fed back in real time by sensors in the device, providing detailed information on the current operating status of the device. By analyzing these parameters, the system can dynamically adjust the opening amplitude of the valve to adapt it to the current operating conditions of the device.

[0027] Next, based on these operating parameters, the system calculates the optimal opening range of the valve. This range depends on the actual needs of the device. For example, when the blood flow is low, the valve opening range may need to be smaller, while when the device needs to increase the flow, the opening range needs to be appropriately increased. Through this adaptive adjustment, the device can control the gas flow more efficiently and ensure that the system can operate smoothly under different working conditions.

[0028] Once the opening range is determined, the system will further calculate the target position of the valve. This step is designed to ensure that the valve opening is precisely controlled, rather than simply fully open or fully closed. The calculation of the target position takes into account the current needs and actual operation of the equipment. By accurately controlling the position of the valve, the system can respond quickly when the flow demand changes, ensuring the stability of equipment performance and energy saving. This method effectively improves the operating efficiency of the system, especially reducing energy consumption and the risk of equipment overheating during long-term operation.

[0029] In one example, the current position of the gas switch is monitored in real time, and based on the current position of the gas switch, the voltage of the drive coil is adjusted so that the drive coil drives the gas switch to maintain the position with a low voltage, including: monitoring the current position of the gas switch in real time, and when the gas switch approaches the target position, controlling the voltage of the drive coil with a PWM strategy so that the drive coil drives the gas switch to maintain the target position with a low voltage.

[0030] In this example, the position control of the gas switch is achieved through real-time monitoring and dynamic adjustment. As the gas switch moves, the system continuously monitors its current position through sensors and compares that position with the preset target position. This real-time monitoring ensures that the system knows exactly whether the gas switch has reached the desired position.

[0031] Once the gas switch approaches the target position, the system enters a more refined control phase. In this phase, the control system no longer uses high voltage to drive the coil, but reduces the voltage of the drive coil to reduce power consumption and avoid excessive electromagnetic force. This voltage adjustment is achieved through a PWM (pulse width modulation) strategy. The PWM strategy achieves smooth control of low voltage by adjusting the duty cycle of the signal (i.e., the ratio of power-on to power-off time). In this way, the system can accurately control the force applied by the drive coil to the gas switch, so that the gas switch can be stably maintained at the target position.

[0032] The benefit of this control method is that when the gas switch approaches the target position, the voltage is reduced through PWM to prevent the switch from exceeding the target position, while reducing the excessive energy consumption and overheating problems that may be caused by long-term high-voltage driving. This design ensures the stability and control accuracy of the gas valve, especially in long-term operation or high-load conditions, it can still maintain low energy consumption.

[0033] In one example, the opening amplitude of the air valve is determined based on the operating parameters of the blood purification device, including: analyzing and processing the operating status data to obtain the target flow value required for the air valve; mapping the target flow value to obtain the corresponding initial opening amplitude of the air valve; obtaining the pressure parameters and temperature parameters of the pipeline in which the air valve is located, and correcting the initial opening amplitude of the air valve based on the pressure parameters and temperature parameters to obtain the final opening amplitude of the air valve.

[0034] In this example, the opening amplitude of the gas valve is dynamically calculated and adjusted according to the operating parameters of the blood purification equipment, ensuring that the gas valve can accurately control the gas flow under different working conditions of the equipment.

[0035] The system will analyze and process the operating status data of the device. This data may include parameters such as blood flow, the working pressure of the device, and temperature. By analyzing this data, the system can calculate the target flow value currently required by the valve. The target flow value refers to the gas flow that the device needs the valve to provide under the current operating conditions to ensure that the device can operate efficiently and safely. Next, the system will perform "mapping processing" based on this target flow value. The so-called mapping processing means that the system converts the target flow value into a corresponding initial opening amplitude of the valve through a preset model or calculation formula. This opening amplitude is the size that the valve should be opened to meet the current flow demand.

[0036] The system will then further refine this initial opening range. During this process, the system will obtain the pressure parameters and temperature parameters in the pipeline related to the gas valve. Pressure and temperature affect the flow characteristics of the gas, so these factors must be considered. Based on these pressure and temperature parameters, the system "corrects" the initial opening range of the gas valve. In other words, the system will adjust the initial opening range according to the actual pressure and temperature environment to ensure that the opening degree of the gas valve can work normally under these conditions. Finally, through the correction process, the system obtains the final opening range of the gas valve. This final opening range ensures that the opening of the gas valve can accurately control the gas flow under different operating conditions, which can not only meet the needs of the equipment, but also optimize energy consumption and efficiency.

[0037] In one example, the current position of the gas switch is monitored in real time, and when the gas switch approaches the target position, the voltage of the drive coil is controlled by a PWM strategy so that the drive coil drives the gas switch to maintain the target position with a low voltage, including: monitoring the current position of the gas switch in real time, comparing the current position of the gas switch and the target position to obtain a position deviation value; when the position deviation value is less than a preset threshold, the voltage of the drive coil is controlled by a PWM strategy so that the drive coil drives the gas switch to maintain the target position with a low voltage.

[0038] In this example, the system monitors the position of the gas switch in real time and combines it with a PWM strategy to precisely control the position of the gas switch to ensure that it remains stably at the target position.

[0039] The system continuously monitors the current position of the gas switch. This means that the system can obtain the position data of the gas switch at any time through sensors or other detection devices. These real-time data are sent to the system, and the system compares the current position with the target position and calculates the position deviation value. The position deviation value represents the distance or difference between the gas switch and the target position. When the position deviation value is large, the system uses a standard drive method to quickly move the gas switch to the target position. However, when the position deviation value is less than the preset threshold, it means that the gas switch is very close to the target position. At this time, if high voltage drive is still used, it may cause the switch to overshoot or instability. Therefore, the system enters a more refined control stage.

[0040] At this stage, the system controls the voltage of the drive coil through the PWM strategy. The PWM (Pulse Width Modulation) strategy is a way to control the output voltage by adjusting the "on-off" time ratio (duty cycle) of the voltage. By reducing the duty cycle of the PWM signal, the system can operate the drive coil at a lower voltage, thereby reducing the speed and electromagnetic force of the gas switch. In this way, the gas switch can approach and maintain the target position more smoothly without oscillation or overshoot due to excessive electromagnetic force. This low-voltage drive method can not only accurately control the position of the gas switch, but also reduce energy consumption, prevent overheating of the drive coil, and extend the service life of the system. At the same time, by continuously monitoring the position of the gas switch, the system can dynamically adjust the PWM signal to ensure that the gas switch always remains in the precise target position, achieving a stable and reliable control effect.

[0041] In one example, a PWM strategy is used to control the voltage of the drive coil so that the drive coil drives the gas switch to maintain the target position at a low voltage, including: calculating and processing the position deviation value to obtain a duty cycle adjustment amount of the PWM control signal; adjusting the power-on voltage value applied to the drive coil based on the duty cycle adjustment amount so that the drive coil is driven with the adjusted duty cycle; detecting the position deviation value of the gas switch in real time, and reversely adjusting the duty cycle adjustment amount of the PWM control signal based on the position deviation value, and updating the PWM control signal based on the reversely adjusted duty cycle adjustment amount.

[0042] In this example, the system uses a PWM (pulse width modulation) strategy to control the voltage of the drive coil, accurately controlling the position of the gas switch at a low voltage and ensuring that the gas switch can remain at the target position. The core of the PWM strategy is to control the voltage by adjusting the "on-off" time ratio (duty cycle) of the voltage, thereby achieving fine electromagnetic force control.

[0043] Specifically, first, the system will calculate the difference between the current position and the target position based on the position of the gas switch monitored in real time. This difference is called the position deviation value. The position deviation value indicates how far the gas switch is from the target position. The system will then calculate and process this position deviation value to obtain a duty cycle adjustment for the PWM control signal. The size of the duty cycle adjustment determines the ratio of the voltage "on-off" time in the PWM signal, and then controls the electromagnetic force applied by the drive coil. For example, when the position deviation value is large, the duty cycle increases, which increases the voltage, thereby applying a greater electromagnetic force to push the gas switch closer to the target position; when the position deviation value is small, the duty cycle decreases, the voltage decreases, and the electromagnetic force decreases to prevent overshoot.

[0044] Next, based on the calculated duty cycle adjustment, the system adjusts the voltage applied to the drive coil. This means that the duty cycle of the PWM signal determines the actual supply voltage of the coil. The system achieves precise control of the coil voltage by adjusting the duty cycle, so that the gas switch can move to the target position with appropriate force and remain stable at the target position.

[0045] At the same time, the system will continue to detect the position change of the gas switch in real time and monitor the new position deviation value in real time. If the position deviation value of the gas switch changes again, the system will make a reverse adjustment based on this new deviation value. In other words, the duty cycle of the PWM control signal will be further adjusted according to the new deviation value. If the switch is already very close to the target position, the duty cycle will be reduced, thereby further reducing the electromagnetic force and ensuring that the gas switch can be kept in the target position smoothly.

[0046] Through this continuous feedback and adjustment, the PWM control signal is constantly updated, and the dynamic change of the duty cycle enables the system to accurately control the movement and holding process of the gas switch. This not only ensures that the gas switch can accurately reach the target position, but also reduces unnecessary energy consumption, prevents system overheating or vibration, and improves the stability and efficiency of the entire control system.

[0047] In one example, the power-on voltage value applied to the drive coil is adjusted based on the duty cycle adjustment amount so that the drive coil is driven through the adjusted duty cycle, including: based on the final PWM control signal duty cycle adjustment amount, modulating the input voltage of the drive coil to generate a corresponding PWM waveform signal; filtering the PWM waveform signal to eliminate high-frequency harmonic components to obtain a smooth drive voltage signal; applying the smooth drive voltage signal to the drive coil to perform electromagnetic drive processing on the gas switch.

[0048] In this example, the system uses a sophisticated PWM control strategy to adjust the voltage of the drive coil to achieve precise driving of the gas switch. This process includes multiple steps, the purpose of which is to ensure smooth and efficient electromagnetic driving by adjusting the waveform and stability of the voltage signal.

[0049] First, the system starts to adjust the input voltage of the drive coil based on the calculated duty cycle adjustment of the PWM control signal. The duty cycle determines the "on-off" time ratio of the voltage in the PWM signal. Specifically, the higher the duty cycle, the longer the voltage is in the "on" state, thus providing more power; the lower the duty cycle, the less "on" time, and the corresponding power is reduced. The system generates the corresponding PWM waveform signal through this adjustment step, which will be used directly to control the drive coil.

[0050] The generated PWM waveform signal may contain some high-frequency harmonic components, that is, noise or unnecessary frequencies in the signal. These high-frequency harmonics will interfere with the normal operation of the drive coil, resulting in unstable voltage output or unsteady vibration of the equipment. To solve this problem, the system filters the generated PWM waveform signal. The purpose of filtering is to eliminate high-frequency harmonics and retain the useful part of the signal, so as to obtain a smoother and more stable drive voltage signal. Once the filtered and noise-eliminating drive voltage signal is generated, the system applies the smoothed signal to the drive coil. At this time, after receiving the smoothed voltage signal, the drive coil generates a corresponding electromagnetic force to control the movement of the gas switch. Because the voltage signal has been smoothed and adjusted, the electromagnetic force of the drive coil is very stable and can accurately drive the gas switch to the specified target position.

[0051] Through this processing, the system can adjust the duty cycle of the PWM signal to generate a clean and smooth voltage signal to control the drive coil. This not only improves the control accuracy, but also reduces the instability caused by noise and high-frequency interference, ensuring that the gas switch can be driven accurately and smoothly and maintained at the target position, avoiding excessive energy consumption and overheating of the equipment.

[0052] The present invention also provides a gas valve control device for a blood purification device, wherein a magnetic gas switch is provided in the gas valve, and the gas switch is pressed in a first position by a spring. When the gas switch is in the first position, the gas valve is in a closed state. A driving coil is also provided in the gas valve, and when the driving coil is energized, it is used to attract the gas switch to a second position. When the gas switch is in the second position, the gas valve is in an open state. Specifically, the gas valve control device includes: A power-on unit 1, for responding to a gas valve opening instruction of the blood purification device to perform a constant-voltage power-on process on the drive coil, wherein after the drive coil is powered on, an electromagnetic force is generated on the gas switch to move the gas switch to the second position; The adjustment unit 2 is used to monitor the current position of the gas switch in real time, and based on the current position of the gas switch, adjust the voltage of the drive coil so that the drive coil drives the gas switch to maintain the position with a low voltage.

[0053] In this embodiment, for the specific implementation of each unit in the above device embodiment, please refer to the above method embodiment, which will not be repeated here.

[0054] Reference Figure 3 In an embodiment of the present invention, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a display screen, an input device, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0055] Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.

[0056] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0057] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM.

[0058] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0059] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling an air valve of a blood purification device, characterized in that: The gas valve is provided with a magnetic gas switch, and the gas switch is pressed in a first position by a spring. When the gas switch is in the first position, the gas valve is in a closed state. The gas valve is also provided with a driving coil, and when the driving coil is energized, it is used to attract the gas switch to a second position. When the gas switch is in the second position, the gas valve is in an open state, wherein the gas valve control method includes: In response to the gas valve opening instruction of the blood purification device, the driving coil is energized at a constant voltage, wherein after the driving coil is energized, an electromagnetic attraction is generated on the gas switch, so that the gas switch moves to the second position; The current position of the gas switch is monitored in real time, and based on the current position of the gas switch, the voltage of the drive coil is adjusted so that the drive coil drives the gas switch with a low voltage to maintain the position.

2. The gas valve control method according to claim 1, characterized in that: After responding to the air valve opening instruction of the blood purification device, the air valve control method further includes: Acquiring operating parameters of the blood purification device, and determining the opening amplitude of the gas valve based on the operating parameters of the blood purification device; and, Based on the opening amplitude of the gas valve, a target position of the gas valve is calculated.

3. The gas valve control method according to claim 1, characterized in that: The method monitors the current position of the gas switch in real time, and adjusts the voltage of the drive coil based on the current position of the gas switch, so that the drive coil drives the gas switch to maintain the position with a low voltage, including: The current position of the gas switch is monitored in real time, and when the gas switch approaches the target position, the voltage of the drive coil is controlled by a PWM strategy, so that the drive coil drives the gas switch to maintain the target position at a low voltage.

4. The gas valve control method according to claim 1, characterized in that: Determining the opening amplitude of the gas valve based on the operating parameters of the blood purification device includes: Analyzing and processing the operating status data to obtain a target flow value required by the gas valve; Mapping the target flow value to obtain a corresponding initial opening amplitude of the gas valve; The pressure parameter and temperature parameter of the pipeline where the gas valve is located are obtained, and the initial opening amplitude of the gas valve is corrected based on the pressure parameter and the temperature parameter to obtain the final opening amplitude of the gas valve.

5. The gas valve control method according to claim 1, characterized in that: The method comprises: monitoring the current position of the gas switch in real time, and when the gas switch approaches the target position, performing PWM strategy control on the voltage of the drive coil so that the drive coil drives the gas switch to maintain the target position at a low voltage, including: monitoring the current position of the gas switch in real time, comparing the current position of the gas switch with the target position, and obtaining a position deviation value; When the position deviation value is less than a preset threshold, the voltage of the drive coil is controlled by a PWM strategy, so that the drive coil drives the gas switch to maintain the target position with a low voltage.

6. The gas valve control method according to claim 1, characterized in that: The voltage of the driving coil is controlled by a PWM strategy so that the driving coil drives the gas switch to maintain the target position at a low voltage, including: Calculating and processing the position deviation value to obtain a duty cycle adjustment amount of the PWM control signal; Adjusting the energized voltage value applied to the drive coil based on the duty cycle adjustment amount, so that the drive coil is driven by the adjusted duty cycle; The position deviation value of the real-time gas switch is detected in real time, and the duty cycle adjustment amount of the PWM control signal is reversely adjusted based on the position deviation value, and the PWM control signal is updated based on the reversely adjusted duty cycle adjustment amount.

7. The gas valve control method according to claim 6, characterized in that: The power-on voltage value applied to the driving coil is adjusted based on the duty cycle adjustment amount so that the driving coil is driven by the adjusted duty cycle, including: Based on the final PWM control signal duty cycle adjustment amount, modulate the input voltage of the drive coil to generate a corresponding PWM waveform signal; Filtering the PWM waveform signal to eliminate high-frequency harmonic components and obtain a smooth driving voltage signal; The smoothed driving voltage signal is applied to the driving coil to perform electromagnetic driving processing on the gas switch.

8. A gas valve control device for a blood purification device, characterized in that: The gas valve is provided with a magnetic gas switch, which is pressed in a first position by a spring. When the gas switch is in the first position, the gas valve is in a closed state. The gas valve is also provided with a driving coil, which is used to attract the gas switch to a second position when the driving coil is energized. When the gas switch is in the second position, the gas valve is in an open state. The gas valve control device includes: an energizing unit, configured to perform a constant-voltage energizing process on the driving coil in response to a gas valve opening instruction of the blood purification device, wherein after the driving coil is energized, an electromagnetic attraction is generated on the gas switch to move the gas switch to the second position; The adjustment unit is used to monitor the current position of the gas switch in real time, and based on the current position of the gas switch, adjust the voltage of the drive coil so that the drive coil drives the gas switch with a low voltage to maintain the position.

9. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.