Pressure monitoring method and device of electronic equipment, equipment and storage medium
By determining the sampling frequency and removing the pressure fluctuation part in the blood purification equipment, the monitoring accuracy of pressure in the external circulation circuit of the blood purification equipment is improved, the problem of pressure fluctuation interference is solved, and the safety of patients is ensured.
Patent Information
- Application Number
- CN202411742372.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In the extracorporeal circulation circuit of the blood purification equipment, pressure fluctuations interfere with the pressure are inaccurate enough, affecting the safety of the patient.
By determining the sampling frequency of the pressure monitor, collecting the pressure values in the circulation loop, sorting the size, removing the pressure values of the head and tail parts corresponding to the proportion of the inner angle of the peristaltic pump pressure roller occupying the pump head, and obtaining a stable pressure value sequence, thereby determining the monitoring pressure values of the circulation loop.
It improves the accuracy of pressure monitoring, reduces pressure fluctuations caused by peristaltic pumps, and ensures patient safety.
Smart Images

Figure CN119868693A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pressure monitoring, and in particular to a method, apparatus, device and storage medium for monitoring the pressure of an electronic device. Background Art
[0002] Blood purification equipment is a medical device. When used in clinical practice, blood is drawn from the patient's body, purified in an extracorporeal circulation circuit, and then the purified blood is returned to the patient's body to complete the blood purification process and achieve the purpose of purifying blood and treating diseases. In the process of blood purification treatment for patients through blood purification equipment, in order to ensure the safety of blood purification treatment for patients, it is necessary to monitor the blood pressure in the extracorporeal circulation circuit to prevent the blood pressure in the extracorporeal circulation circuit from being too high. Once the blood pressure in the extracorporeal circulation circuit is too high, it will cause discomfort to the patient, such as chest tightness, etc., and in severe cases, it will endanger the patient's life safety.
[0003] Currently, when monitoring the blood pressure in an extracorporeal circulation circuit, the monitored pressure is not accurate enough due to interference factors caused by pressure fluctuations in the extracorporeal circulation circuit. Summary of the invention
[0004] The present application provides a pressure monitoring method, apparatus, device and storage medium for an electronic device, aiming to improve the accuracy of pressure monitoring.
[0005] To achieve the above object, the present application provides a pressure monitoring method for an electronic device, the pressure monitoring method for an electronic device comprising:
[0006] Determining a sampling frequency for collecting pressure by the pressure monitor;
[0007] Collecting the pressure value in the circulation loop based on the sampling frequency;
[0008] Sort the multiple pressure values collected in one cycle by size to obtain a pressure value sequence;
[0009] Determine the proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump, and remove the head and tail pressure values in the pressure value sequence based on the proportion;
[0010] The current monitored pressure value of the circulation loop is determined according to the remaining pressure values in the pressure value sequence.
[0011] In addition, to achieve the above-mentioned purpose, the present application also provides a pressure monitoring device, which includes a memory and a processor;
[0012] The memory is used to store computer programs;
[0013] The processor is used to execute the computer program and implement the steps of the pressure monitoring method of the electronic device as described above when executing the computer program.
[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a blood purification device, which includes a host and a display screen. The host is provided with a circuit board that can interactively communicate with the display screen. The circuit board is provided with a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the steps of the pressure monitoring method of the electronic device as mentioned above are implemented.
[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the pressure monitoring method of the above-mentioned electronic device.
[0016] The present application discloses a pressure monitoring method, device, equipment and storage medium for electronic equipment. The method determines the sampling frequency of the pressure monitor to collect pressure, collects the pressure value in the circulation loop based on the sampling frequency, sorts the multiple pressure values collected in one cycle by size, obtains a pressure value sequence, determines the proportion of at least one pressure roller of the peristaltic pump occupying the inner angle of the pump head of the peristaltic pump, removes the head and tail pressure values in the pressure value sequence based on the proportion, and the removed pressure values are exactly the data with large fluctuations. Then, the current monitoring pressure value of the circulation loop is determined based on the remaining pressure values in the pressure value sequence. The monitoring pressure value obtained in this way has high accuracy, thereby improving the accuracy of pressure monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 is a schematic flow chart of the steps of a pressure monitoring method for an electronic device provided in an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of the structure of the blood purification equipment;
[0020] Figure 3 It is a schematic diagram of the extracorporeal circulation circuit of the blood purification equipment;
[0021] Figure 4 It is a schematic diagram of the waveform corresponding to arterial pressure;
[0022] Figure 5 is a schematic flow chart of steps for determining a sampling frequency for collecting pressure by the pressure monitor provided in an embodiment of the present application;
[0023] Figure 6 A schematic flow chart of the steps of determining a proportion of at least one pressure roller of the peristaltic pump occupied by the inner angle of the pump head of the peristaltic pump, and removing the head and tail pressure values in the pressure value sequence based on the proportion, provided by an embodiment of the present application;
[0024] Figure 7 It is a schematic diagram of the structure of the pump head;
[0025] Figure 8 It is a schematic diagram of a pressure monitoring process of a blood purification device provided in an embodiment of the present application;
[0026] Fig. 9 is a waveform diagram corresponding to an arterial pressure provided in an embodiment of the present application;
[0027] Fig.10 is a schematic flow chart of the steps of another pressure monitoring method of an electronic device provided in an embodiment of the present application;
[0028] Fig.11 is a schematic block diagram of a pressure monitoring device provided in an embodiment of the present application;
[0029] Fig.12 It is a schematic block diagram of a blood purification device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0032] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0033] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0034] Embodiments of the present application provide a method, apparatus, device and storage medium for monitoring pressure of an electronic device, for improving the accuracy of pressure monitoring.
[0035] See also Figure 1 , Figure 1 It is a flow chart of a pressure monitoring method of an electronic device provided in one embodiment of the present application. The method can be applied to a pressure monitoring device or to an electronic device, and the application scenario of the method is not limited in the present application. Among them, the electronic device includes but is not limited to a blood purification device, and the electronic device can also be various devices in other fields including a circulation loop that uses a peristaltic pump to provide power. The following takes the electronic device being a blood purification device as an example to introduce the pressure monitoring method of the electronic device.
[0036] Before introducing the pressure monitoring method of the electronic device, the blood purification device is first introduced.
[0037] See also Figure 2 The blood purification device includes components such as a host 1 and a display screen 2. The display screen 2 is a human-machine interactive touch screen. Interactive communication can be achieved between the display screen 2 and the host 1. Medical staff can input instructions on the display screen 2 to enable the blood purification device to perform work according to the medical staff's operating requirements, and the display screen 2 can display various parameters and related information of the blood purification device during operation, so that medical staff can timely understand the operating status of the blood purification device.
[0038] See also Figure 3The extracorporeal circulation circuit of the blood purification equipment includes a blood pump 31 (i.e., a peristaltic pump), a heparin pump 32 (i.e., an anticoagulation pump), a blood purifier 33, a liquid level detector 34, a venous pot 35, a bubble detector 36, a blood detector 37, an arterial line 38, a venous line 39, a first pressure monitor and a second pressure monitor. The input end of the arterial line 38 is used to connect with the artery of the human body, the output end of the arterial line 38 is connected to the input end of the blood purifier 33, the output end of the blood purifier 33 is connected to the input end of the venous line 39 through the venous pot 35, the output end of the venous line 39 is used to connect with the vein of the human body, the first pressure monitor is arranged on the venous line 39 and is used to detect the venous pressure of the blood in the venous line 39, and the second pressure monitor is arranged on the arterial line 38 and is used to detect the arterial pressure of the blood in the arterial line 38. The arterial line 38 outputs the human body's blood to the blood purifier 33, and the blood pump 31 is used to provide driving force so that the blood circulates between the arterial line 38, the venous line 39 and the human body. When the blood passes through the blood purifier 33, the blood purifier 33 can filter out and purify specific molecular substances in the blood, and then return the purified blood to the human body through the venous line 39, so as to achieve the purpose of purifying blood and treating diseases.
[0039] In addition, different blood purification treatment modes can be achieved through blood purification equipment, such as: hemodialysis, hemofiltration, hemodiafiltration, hemoperfusion, plasma exchange, immunoadsorption and other treatment modes. Among them, each blood purification treatment mode has specific clinical treatment symptoms. After long-term clinical practice, it has been proved that blood purification treatment achieved by blood purification equipment can achieve good clinical treatment effects and is widely used in the treatment of acute renal failure, chronic renal failure, uremia, multiple organ failure, drug poisoning, poison poisoning, heroin poisoning, alcohol poisoning, nephrotic syndrome with severe fluid retention, diabetic nephropathy with severe fluid retention and other treatments.
[0040] It should be noted that when the blood purification device is in different blood purification treatment modes, the type of the blood purifier 33 will be different. For example, in the blood perfusion treatment mode, the blood purifier 33 is a blood perfusion device, and in the hemodialysis treatment mode, the blood purifier 33 is a dialyzer, and in the hemofiltration treatment mode, the blood purifier 33 is a filter. When the blood purification device is in different blood purification treatment modes, the components of the extracorporeal circulation circuit of the blood purification device will also change, including Figure 3 The most basic structure of the extracorporeal circulation circuit of the blood purification device is shown. When the blood purification device is in different blood purification treatment modes, the extracorporeal circulation circuit of the blood purification device will Figure 3 Improve or deform on the basis of.
[0041] During the blood purification treatment of patients through blood purification equipment, the patient's blood needs to be drawn into the extracorporeal circulation circuit of the blood purification equipment. In order to ensure the safety of the patient's blood purification treatment, various parameters of the blood drawn into the extracorporeal circulation circuit need to be tested to prevent the blood purification equipment from operating in a faulty state. For example, it is necessary to test the blood pressure in the extracorporeal circulation circuit to prevent the blood pressure in the extracorporeal circulation circuit from being too high. Once the blood pressure in the extracorporeal circulation circuit is too high, it will cause discomfort symptoms in the patient, such as chest tightness, etc., and in severe cases, it will endanger the patient's life safety.
[0042] When monitoring the pressure of the blood in the extracorporeal circulation circuit, it will be affected by the pressure fluctuation caused by the blood pump 31, that is, the peristaltic pump. The peristaltic pump is a liquid delivery device that can achieve high-precision flow control by controlling the rotor (driver) speed and different flow hoses. Its working principle is to achieve liquid delivery by squeezing the hose. The peristaltic pump includes a rotor, a pump head and other components, wherein the pump head includes a number of pressure rollers, which are used to roll the hose to drive the liquid in the hose to flow. There are generally 2 or 3 pressure rollers to ensure that the hose is always in a closed state during operation. The pressure roller is the main cause of pressure fluctuations. Each time the pressure roller rotates one circle, a peak will be generated. If there are N pressure rollers, a rotation of the pump head will generate N large pressure fluctuations. In addition, the larger the flow rate set by the user, the greater the speed of the peristaltic pump rotor, and the number of pressure fluctuations and the range of fluctuations per unit time will also increase accordingly.
[0043] At present, when monitoring the blood pressure in the extracorporeal circulation circuit, for example, taking the monitoring of the arterial pressure at a flow rate of 100 ml / h (milliliters per hour) as an example, the pressure waveform sampled is as follows: Figure 4 As shown, the pressure amplitude reaches 80 mmHg (millimeters of mercury). It can be seen intuitively from the figure that the pressure fluctuation range is large, which will cause the monitored pressure to be inaccurate.
[0044] like Figure 1 As shown, the pressure monitoring method of the electronic device specifically includes steps S101 to S105.
[0045] S101, determining a sampling frequency for collecting pressure by the pressure monitor.
[0046] For example, still taking arterial pressure monitoring as an example, determine if Figure 3 The second pressure monitor in the extracorporeal circulation loop of the blood purification device shown collects the sampling frequency of the arterial pressure of the blood in the arterial line 38. Of course, in addition to the arterial pressure, other pressures such as the filter pre-pressure and the membrane extra-pressure can also be monitored.
[0047] Exemplarily, the sampling frequency of the pressure monitor is related to parameters such as the rotation speed of the peristaltic pump of the blood purification device and the number of pressure rollers.
[0048] In some embodiments, Figure 5 As shown, step S101 may include sub-steps S1011 to S1013.
[0049] S1011, obtaining the rotation speed of the peristaltic pump;
[0050] S1012, determining a period / frequency of a pressure waveform according to the number of the pressure rollers and the rotation speed;
[0051] S1013. Determine the sampling frequency according to the period / frequency of the pressure waveform.
[0052] Among them, the rotation speed of the peristaltic pump can be obtained in different ways.
[0053] In some embodiments, acquiring the rotational speed of the peristaltic pump includes: acquiring a pump speed set for the peristaltic pump, and determining the rotational speed of the peristaltic pump according to a corresponding relationship between the pump speed and the rotational speed.
[0054] For example, the corresponding relationship between the pump speed and the rotation speed is a linear proportional relationship. For example, a pump speed of 0-100 ml / h corresponds to a rotation speed of 0-10 RPM (revolutions per minute), and the ratio of the pump speed to the rotation speed is 10:1, so a pump speed of 100 ml / h corresponds to a rotation speed of 10 RPM, and a pump speed of 50 ml / h corresponds to a rotation speed of 5 RPM.
[0055] The user can set the pump speed through the host computer of the blood purification device, and determine the speed corresponding to the pump speed set by the user based on the corresponding relationship between the pump speed and the speed, and then get the speed of the peristaltic pump. For example, if the pump speed set by the user is 100ml / h, the ratio of the pump speed to the speed is 10:1, and the calculated speed is 10RPM.
[0056] It should be noted that, for different peristaltic pumps, the correspondence between the pump speed and the rotational speed may be different or the same, and the correspondence between the pump speed and the rotational speed in the embodiment of the present application is not limited to the examples listed above.
[0057] The speed is determined by the pump speed set by the user, and the obtained speed is accurate and has no lag.
[0058] In some embodiments, acquiring the rotational speed of the peristaltic pump includes: acquiring the rotational speed of the peristaltic pump through a rotational speed sensor.
[0059] The speed sensor used to monitor the speed of the peristaltic pump rotor is used to collect the speed of the peristaltic pump in real time. Compared with the method of determining the speed by the pump speed, the speed of the peristaltic pump obtained is not accurate enough and has a lag because the data is collected by the speed sensor.
[0060] If the pump head of the peristaltic pump has N pressure rollers, and the rotation speed of the peristaltic pump is R, based on the number of pressure rollers N and the rotation speed R, it can be calculated that there are N*R peaks in one minute, then the period of a waveform is T = 60 / N*R seconds, and the frequency of the waveform is f = 1 / T Hz.
[0061] For example, assuming that the pump head has two rollers and the rotation speed is 10RPM, it can be calculated that there are 10*2=20 peaks in one minute, and the period of a waveform can be calculated as T=60 / 20=3 seconds, and the frequency of the waveform f=1 / 3 Hz.
[0062] Exemplarily, the sampling frequency of the pressure monitor to collect pressure is set to F=n×f, where f is the frequency of the waveform, n is the multiple, and n≥2. The higher the multiple, the more accurate the calculation, but the corresponding calculation time will be longer, and the efficiency will be affected.
[0063] In practical applications, when the sampling frequency F is 30 times the waveform frequency f, it is more suitable for filtering, that is, the value n can be 30, then the sampling frequency F = 30*f. For example, still taking the waveform frequency f = 1 / 3 Hz obtained above as an example, the sampling frequency F = 30*1 / 3 Hz = 10 Hz is calculated.
[0064] S102: Collect the pressure value in the circulation loop based on the sampling frequency.
[0065] For example, still taking the sampling frequency F obtained by the above calculation as 10 Hz, and the period T of a waveform being 3 seconds, then based on the sampling frequency of 10 Hz, 30 pressure value data can be sampled within a waveform period of 3 seconds.
[0066] S103: sort the multiple pressure values collected in one cycle by size to obtain a pressure value sequence.
[0067] For example, multiple pressure values collected in a cycle are sorted from small to large. Of course, they can also be sorted from large to small to obtain a pressure value sequence after sorting.
[0068] In some embodiments, the step of sorting the multiple pressure values collected within a cycle to obtain a pressure value sequence includes: using a bubble sort algorithm to perform moving bubble sort on the multiple pressure values to obtain the pressure value sequence.
[0069] For example, 30 pressure value data sampled within a period T are sorted by moving bubble sorting using a bubble sorting algorithm, and the 30 pressure value data are sorted from small to large to obtain a pressure value sequence containing the 30 pressure value data.
[0070] S104, determining a proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump, and removing the head and tail pressure values in the pressure value sequence based on the proportion.
[0071] Among them, the proportion of the pressure roller included in the pump head of the peristaltic pump that occupies the inner angle of the pump head of the peristaltic pump can be a percentage. Based on the proportion of the pressure roller included in the pump head of the peristaltic pump that occupies the inner angle of the pump head of the peristaltic pump, the proportion of the period T occupied by the peaks and troughs in a period T can be determined. For example, if the proportion of the pressure roller that occupies the inner angle of the pump head of the peristaltic pump is P%, then the percentage of the period T occupied by the peaks and troughs in a period T is also P%. The filtering method is to filter out these interfering peaks and troughs to get the desired actual pressure. The pressure values at the head and tail of the pressure value sequence happen to be data with large waveform fluctuations, which are the data to be processed by filtering. The pressure values at the head and tail of the pressure value sequence are removed according to the proportion, so that the pressure value in the middle is the data with stable pressure.
[0072] In some embodiments, Figure 6 As shown, step S104 may include sub-steps S1041 to S1043.
[0073] S1041, obtaining the proportion according to the number of the pressure rollers, the inner angle of each pressure roller, and the inner angle of the pump head;
[0074] S1042, calculating the product value of the number of the pressure values collected in one cycle and the proportion;
[0075] S1043: Remove the pressure values corresponding to the product value at the head of the pressure value sequence, and remove the pressure values corresponding to the product value at the tail of the pressure value sequence.
[0076] A pump head has N pressure rollers. When the pump head rotates 360°, N waveforms will be generated, which is equivalent to N waveform cycles. One cycle contains one waveform, and the percentage of the waveform occupying a cycle time is equal to the percentage of the pressure roller occupying the internal angle of 360° / N.
[0077] For example, Figure 7 As shown, the pump head has two pressure rollers (N=2), and the inner angle of the pressure rollers is θ. Then the percentage of the pressure rollers occupying the entire inner angle of the pump head is P%=θ / (360°÷2)*100%.
[0078] At present, the percentage P% of the pressure roller occupying the entire 360° inner angle of the pump head is generally around 10%, so the percentage P% of the half pump head inner angle 180° is around 20%.
[0079] After calculating the percentage P%, the product of the number of pressure values collected within a period T and the percentage P% is calculated. For example, assuming that 30 pressure value data are sampled within a period T and the percentage P% is 20%, the calculated product value is 30*20%=6.
[0080] According to the calculated product value, the 6 pressure value data at the head of the pressure value sequence and the 6 pressure value data at the tail of the pressure value sequence are removed, so that the 18 pressure value data in the middle of the pressure value sequence remain. The part removed by percentage P% happens to be the pressure value data with large waveform fluctuations, and the remaining middle pressure value data is pressure-stable data.
[0081] S105: Determine the current monitoring pressure value of the circulation loop according to the remaining pressure values in the pressure value sequence.
[0082] For example, still taking the above example, after removing the 6 pressure value data at the head of the pressure value sequence and the 6 pressure value data at the tail of the pressure value sequence, the current monitoring pressure value of the extracorporeal circulation circuit of the blood purification equipment is determined based on the 18 pressure value data in the middle of the pressure value sequence.
[0083] In some embodiments, determining the current monitoring pressure value of the circulation loop based on the remaining pressure values in the pressure value sequence includes: calculating the mean of the remaining pressure values using an arithmetic mean filtering method, and using the mean as the monitoring pressure value.
[0084] For example, based on the 18 pressure value data in the middle of the pressure value sequence, the arithmetic average filtering method is used to calculate the mean of the 18 pressure value data, and the calculated mean is the current monitoring pressure value of the extracorporeal circulation circuit of the blood purification device.
[0085] like Figure 8 As shown, the pressure monitoring process of the blood purification equipment is as follows:
[0086] Step 1: After starting up, the user sets the pump speed through the blood purification device host computer;
[0087] Step 2: Calculate the speed R according to the set pump speed;
[0088] Step 3: According to the number of rollers N and the rotation speed R, calculate that there are M = N * R waveforms in one minute;
[0089] Step 4, calculate the waveform period T = 60 / N*R seconds, the waveform frequency f = 1 / T Hz;
[0090] Step 5, determine the sampling frequency F=n×f Hz of the pressure collected by the pressure monitor;
[0091] Step 6: Use the moving bubble sort method to sort the n pressure value data collected from small to large within a period T;
[0092] Step 7: According to the percentage of the inner angle of the pump head occupied by the pressure roller, P% = θ / (360°÷N)*100%, it can be calculated that the percentage of the period T occupied by the peak and trough in a period T is also P%;
[0093] Step 8: remove the pressure value data of n*P% at the head and n*P% at the tail from the sorted n pressure value data. The removed pressure value data are the pressure value data with large waveform fluctuations.
[0094] Step 9: Take the mean of the remaining intermediate pressure value data, and use the mean as the actual monitored pressure value after filtering, and the pressure monitoring is completed.
[0095] For example, still taking the monitoring of arterial pressure at a flow rate of 100 ml / h as an example, the sampled pressure waveform is as follows Fig. 9 As shown, the minimum pressure amplitude is 0 mmHg and the maximum is only 8 mmHg, which eliminates the pressure fluctuation caused by the peristaltic pump and reduces the dynamic fluctuation range.
[0096] In some embodiments, Fig.10 As shown, step S105 may include steps S106 to S108.
[0097] S106, determining whether the monitored pressure value exceeds a preset pressure threshold; if so, executing step S107; if not, executing step S108;
[0098] S107, output pressure alarm information;
[0099] S108: Output the normal operation information of the electronic device.
[0100] Among them, the specific value of the preset pressure threshold can be flexibly set according to actual conditions and is not specifically limited in this application.
[0101] The monitored pressure value is compared with the preset pressure threshold. If the monitored pressure value exceeds the preset pressure threshold, it means that the pressure is too high. At this time, the pressure alarm information is output. For example, the display screen of the blood purification equipment is controlled to display the pressure alarm information. After receiving the pressure alarm information, the user can respond in time to avoid the patient's discomfort caused by excessive pressure and ensure the patient's life safety.
[0102] If the monitored pressure value does not exceed the preset pressure threshold, it means that the pressure is normal, and at this time, the normal working information of the blood purification device is output. For example, the display screen of the blood purification device is controlled to display the normal working information of the blood purification device.
[0103] In the above embodiment, by determining the sampling frequency of the pressure monitor to collect pressure, the pressure value in the circulation loop is collected based on the sampling frequency, and the multiple pressure values collected within a cycle are sorted by size to obtain a pressure value sequence, and the proportion of at least one pressure roller of the peristaltic pump occupied by the inner angle of the pump head of the peristaltic pump is determined. Based on the proportion, the head and tail pressure values in the pressure value sequence are removed, and the removed pressure values are exactly the data with large fluctuations. Then, based on the remaining pressure values in the pressure value sequence, the current monitoring pressure value of the circulation loop is determined. The monitoring pressure value obtained in this way is accurate, thereby improving the pressure monitoring accuracy.
[0104] See also Fig.11 , Fig.11 It is a schematic block diagram of a pressure monitoring device provided in an embodiment of the present application. The pressure monitoring device can be configured in an electronic device to execute the aforementioned pressure monitoring method of the electronic device.
[0105] like Fig.11 As shown, the pressure monitoring device 100 may include a processor 110 and a memory 120, wherein the processor 110 and the memory 120 are connected via a bus, such as an I2C (Inter-integrated Circuit) bus.
[0106] Specifically, the processor 110 may be a micro-controller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP).
[0107] Specifically, the memory 120 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB disk, or a mobile hard disk, etc. The memory 120 stores various computer programs for the processor 110 to execute.
[0108] The processor 110 is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0109] Determining a sampling frequency for collecting pressure by the pressure monitor;
[0110] Collecting the pressure value in the circulation loop based on the sampling frequency;
[0111] Sort the multiple pressure values collected in one cycle by size to obtain a pressure value sequence;
[0112] Determine the proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump, and remove the head and tail pressure values in the pressure value sequence based on the proportion;
[0113] The current monitored pressure value of the circulation loop is determined according to the remaining pressure values in the pressure value sequence.
[0114] In some embodiments, when the processor 110 determines the proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump and removes the head and tail pressure values in the pressure value sequence based on the proportion, it is configured to implement:
[0115] The proportion is obtained according to the number of the pressure rollers, the inner angle of each pressure roller, and the inner angle of the pump head;
[0116] Calculating the product value of the number of the pressure values collected in one cycle and the proportion;
[0117] The pressure values corresponding to the product value at the head of the pressure value sequence are removed, and the pressure values corresponding to the product value at the tail of the pressure value sequence are removed.
[0118] In some embodiments, when determining the sampling frequency of the pressure monitor to collect pressure, the processor 110 is used to implement:
[0119] Obtaining the rotation speed of the peristaltic pump;
[0120] Determining the period / frequency of the pressure waveform according to the number of the pressure rollers and the rotation speed;
[0121] The sampling frequency is determined according to the period / frequency of the pressure waveform.
[0122] In some embodiments, when the processor 110 implements the acquisition of the rotation speed of the peristaltic pump, it is used to implement:
[0123] Acquire the pump speed set for the peristaltic pump, and determine the rotation speed of the peristaltic pump according to the corresponding relationship between the pump speed and the rotation speed; or
[0124] The rotation speed of the peristaltic pump is collected by a rotation speed sensor.
[0125] In some embodiments, when implementing the step of sorting the multiple pressure values collected in a cycle to obtain a pressure value sequence, the processor 110 is used to implement:
[0126] A bubble sort algorithm is used to perform moving bubble sort on the multiple pressure values to obtain the pressure value sequence.
[0127] In some embodiments, when the processor 110 determines the current monitored pressure value of the circulation loop according to the remaining pressure values in the pressure value sequence, it is configured to implement:
[0128] The mean value of the remaining pressure values is calculated by using an arithmetic mean filtering method, and the mean value is used as the monitoring pressure value.
[0129] In some embodiments, after determining the current monitored pressure value of the circulation loop according to the remaining pressure values in the pressure value sequence, the processor 110 is configured to implement:
[0130] Determining whether the monitored pressure value exceeds a preset pressure threshold;
[0131] If yes, then output pressure alarm information;
[0132] If not, the normal working information of the electronic device is output.
[0133] The pressure monitoring device 100 can execute the pressure monitoring method of the electronic device provided in the embodiment of the present application, and therefore can achieve the beneficial effects that can be achieved by the pressure monitoring method of the electronic device provided in the embodiment of the present application. Please refer to the previous embodiments for details and will not be repeated here.
[0134] See also Fig.12 , Fig.12 is a schematic block diagram of a blood purification device provided in an embodiment of the present application, such as Fig.12 As shown, the blood purification device 200 may include a host 210 and a display screen 220, wherein a circuit board 211 capable of interactive communication with the display screen 220 is provided in the host 210, a processor 212 and a memory 213 are provided on the circuit board 211, and the memory 213 stores a computer program, and when the computer program is executed by the processor 212, the steps of the pressure monitoring method of the electronic device as described above are implemented. Therefore, the blood purification device 200 can achieve the beneficial effects that can be achieved by the pressure monitoring method of the electronic device provided in the embodiment of the present application, as detailed in the previous embodiment, which will not be repeated here.
[0135] An embodiment of the present application further 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 the pressure monitoring method of an electronic device as described above are implemented.
[0136] Wherein, the computer-readable storage medium may be an internal storage unit of the pressure monitoring device or blood purification device described in the aforementioned embodiment, such as a hard disk or memory of the pressure monitoring device or blood purification device. The computer-readable storage medium may also be an external storage device of the pressure monitoring device or blood purification device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital Card, SD Card), a flash card (Flash Card), etc. equipped on the pressure monitoring device or blood purification device.
[0137] Since the computer program stored in the storage medium can execute the pressure monitoring method of any electronic device provided in the embodiments of the present application, the beneficial effects that can be achieved by the pressure monitoring method of any electronic device provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0138] 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, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0139] The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the protection scope of the present application.
Claims
1. A method for monitoring pressure of an electronic device, wherein a circulation loop of the electronic device is powered by a peristaltic pump and a pressure monitor is provided on the circulation loop, characterized in that: The pressure monitoring method of the electronic device comprises: Determining a sampling frequency for collecting pressure by the pressure monitor; Collecting the pressure value in the circulation loop based on the sampling frequency; Sort the multiple pressure values collected in one cycle by size to obtain a pressure value sequence; Determine the proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump, and remove the head and tail pressure values in the pressure value sequence based on the proportion; The current monitored pressure value of the circulation loop is determined according to the remaining pressure values in the pressure value sequence.
2. The pressure monitoring method of an electronic device according to claim 1, characterized in that: The determining the proportion of the inner angle of the pump head of the peristaltic pump occupied by at least one pressure roller of the peristaltic pump, and removing the head and tail pressure values in the pressure value sequence based on the proportion, comprises: The proportion is obtained according to the number of the pressure rollers, the inner angle of each pressure roller, and the inner angle of the pump head; Calculating the product value of the number of the pressure values collected in one cycle and the proportion; The pressure values corresponding to the product value at the head of the pressure value sequence are removed, and the pressure values corresponding to the product value at the tail of the pressure value sequence are removed.
3. The pressure monitoring method of an electronic device according to claim 1, characterized in that: Determining the sampling frequency of the pressure monitor to collect pressure includes: Obtaining the rotation speed of the peristaltic pump; Determining the period / frequency of the pressure waveform according to the number of the pressure rollers and the rotation speed; The sampling frequency is determined according to the period / frequency of the pressure waveform.
4. The pressure monitoring method of an electronic device according to claim 3, characterized in that: The obtaining of the rotation speed of the peristaltic pump comprises: Acquire the pump speed set for the peristaltic pump, and determine the rotation speed of the peristaltic pump according to the corresponding relationship between the pump speed and the rotation speed; or The rotation speed of the peristaltic pump is collected by a rotation speed sensor.
5. The pressure monitoring method of an electronic device according to claim 1, characterized in that: The step of sorting the multiple pressure values collected in a cycle to obtain a pressure value sequence includes: A bubble sort algorithm is used to perform moving bubble sort on the multiple pressure values to obtain the pressure value sequence.
6. The pressure monitoring method of an electronic device according to claim 1, characterized in that: Determining the current monitored pressure value of the circulation loop according to the remaining pressure values in the pressure value sequence includes: The mean value of the remaining pressure values is calculated by using an arithmetic mean filtering method, and the mean value is used as the monitoring pressure value.
7. The pressure monitoring method of an electronic device according to any one of claims 1 to 6, characterized in that: After determining the current monitored pressure value of the circulation loop according to the remaining pressure values in the pressure value sequence, the method further comprises: Determining whether the monitored pressure value exceeds a preset pressure threshold; If yes, then output pressure alarm information; If not, the normal working information of the electronic device is output.
8. A pressure monitoring device, characterized in that: The pressure monitoring device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the steps of the pressure monitoring method of an electronic device as described in any one of claims 1 to 7 when executing the computer program.
9. A blood purification device, characterized in that: The blood purification device includes a host and a display screen. The host is provided with a circuit board that can interactively communicate with the display screen. The circuit board is provided with a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the steps of the pressure monitoring method of the electronic device as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the pressure monitoring method of an electronic device according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Apparatus and method for obtaining rotating speed of direct-current motor for driving peristaltic pump
CN103344779A
Filtering of a time-dependent pressure signal
CN103635133A
Blood purification device and storage medium
CN115252933A
Blood purification device and storage medium
CN117838961A
Method and system for detecting pressure in pipe of peristaltic pump, electronic equipment and storage medium
CN118758585A