The invention provides a medical
breathing machine and a method and
system for continuously measuring and calculating
respiratory tract resistance and compliance of the medical
breathing machine. The method comprises the steps that a
pressure sensor obtains an
airway opening pressure
signal, and a flow sensor obtains a gas flow
signal; the
signal processing and calculating unit synchronously collects the two signals at a high sampling rate, and performs real-time integration on the flow signals to calculate the
tidal volume; setting a
sliding time window covering the current inspiration phase, and collecting data points containing pressure, flow and
tidal volume values in the window; applying a least square method to perform
linear regression fitting on data points, and solving
respiratory tract resistance and
respiratory system compliance based on a respiratory
mechanics equation; recursively executing the steps of acquisition, calculation, window setting,
data point collection and fitting; the man-
machine interaction interface displays a calculation result trend chart, and an alarm is triggered when a numerical value exceeds a preset threshold value. According to the method, high-frequency synchronous sampling and recursive fitting of the sliding window and the least square method are adopted, continuous, real-time and high-precision measurement and calculation of successive
respiration are achieved, and intermittency and
hysteresis of a traditional method are overcome.