# Patent

## Title
Method of varying the flow rate of fluid from a medical pump and hybrid sensor system performing the same

## Abstract

A system and method of varying the flow rate of fluid from a medical pump through tubing includes determining an inner diameter of the tubing and fluid flow velocity of fluid in the tubing with a controller based on acoustic signals received by a capacitive micromachined ultrasonic transducer sensor system and then determining and adjusting a fluid flow rate of fluid in the tubing with the controller. In addition, the same sensor system also detects air bubbles in the fluid in the tubing.

## Background
CROSS REFERENCE TO RELATED APPLICATION
This application claims the benefit of U.S. Provisional Application No. 61/370,962 filed Aug. 5, 2010.


BACKGROUND OF THE INVENTION
This invention relates to pumps for delivering fluids to a patient. More specifically, the invention relates to a system and method of varying the flow rate of fluid to a patient through a tube based on monitored characteristics of the tubing and fluid within the tubing.
There exists no highly integrated hybrid sensor system capable of implementing three sensing functions in a single system. While non-invasive flow meters that use ultrasonic sensors or lasers exist along with non-invasive thickness gauges that use ultrasonic sensor capability along with separate sensors that can detect air bubbles and fluid within tubing, no sensors exist that can monitor multiple characteristics of tubing and fluid within the tubing in order to alter the flow rate of fluid from the pump through the tubing.
Ultrasonic sensors have been utilized in many industries and in particular, the medical industry for many years. However, ultrasonic sensors are high cost and have impedance matching problems and thus this basic electric piezoelectric technology needs to be replaced or enhanced.
Specifically, there are two impedance matching problems that exist with current piezoelectric ultrasonic transducers. First, there is a problem with acoustic impedance matching. Specifically, a quite low percentage of ultrasonic energy generated from a piezoelectric transducer can be delivered to the target (a biological tissue, a polymer tube, etc.). A very large percentage of ultrasonic energy that is generated from the piezoelectric transducer is bounced back and forth in the piezoelectric film instead of being sent out for detection or imaging purposes.
The second problem associated with piezoelectric transducers is electric impedance matching. Specifically, piezoelectric material, due to its material property of having high electrical resistivity in combination with a very thin film that is used, has a poor electrical impedance matching to regular electrical conductors. Thus, special electrical impedance matching layers have to be added. This increases manufacturing costs. The acoustic impedance of one particular conventional piezoelectric transducer (PZT) disk, water and air is 30 Mrayl (106 KG/M2S), 1.5 Mrayl, and 400 rayl (KG/M2S), respectively. With such a significant amount of impedance mismatch a large percentage of the ultrasonic energy bounces back at the transducer/fluid interface that the acoustic band width of the transducer is relatively narrow. Although special designs like having added impedance matching layers on the transducer surface have been utilized to alleviate the problem, the poor coupling efficiency from the transducer to the target is still a fundamental limitation of piezoelectric ultrasonic systems used in medical applications.
Peristaltic pumping has been utilized in many industries and in particular, the medical industry from many years. As such, there exist many improvements in the art. Below are a few techniques that have been used in the past for compensating for tubing wear.
The most common technique for compensating for tubing wear is to include an algorithm in the pump that adjusts the speed of the pumping mechanism based on the amount of time the pump is running. Such an algorithm is developed based on running flow rate accuracy tests for extended periods of time. The pump is run at a single set mechanism speed and data is collected over time to show how the flow rate is affected as a function of time. This process is repeated over several set mechanism speeds to provide a full characterization of how flow rate is affected by tubing wear. Once this data is obtained, an algorithm can be developed. Typically, for a given mechanism speed, flow rate begins to diminish over time as the tubing wears. In order to compensate for this affect, the algorithm would adjust the mechanism speed (e.g. increase speed) such that the steady-state flow rate could be maintained over time.
Several algorithms are known in the art. Nose et al., U.S. Pat. No. 7,284,956 describes in general one such invention using any number of feedback controllers, a mechanism, and sensors to maintain a pump flow rate at its operating set point. Another algorithm, specific to peristaltic pumping that is well known in the art is to utilize the internal pressure profiles which exist in the fluid inside the tubing.
Another technique for compensating for tubing wear is to implement sensors that directly or indirectly characterize the fluid flow and put the data from the sensors into a control system for closed-loop feedback. Among the most common sensors that have been proposed for this are the indirect sensors. These sensors measure a characteristic that is indicative of or can be correlated to the flow rate. Some common methods are: 1) measurement of the tubing dimensions (inside diameter, outside diameter, wall thickness, etc.); 2) measurement of the force to occlude/pump the tubing; and 3) measurement of the pressure inside/outside the tubing.
These techniques all rely on measuring properties that impact flow rate. Therefore, monitoring how these properties change over time also indicates how the flow rate is changing over time due to tubing wear. Another more rational approach is to utilize a sensor that directly indicates flow rate, a flow sensor. Many types of flow sensors exist (optical, ultrasonic, magnetic, etc). While this is solid solution, it is quite disadvantageous for the medical device market as it comes at a particularly high cost of implementation and has clinical issues.
Another way this problem has been overcome is to improve the tubing material itself. That is, to design and manufacture a tubing material that has reduce wear characteristics and can withstand the many cycles of compression that is undergone in peristaltic pumping. As such, materials such as silicone and TygonTM are among the most popular for peristaltic tubing applications. As opposed to thermoplastic materials, such as polyvinylchloride (PVC), they are highly resilient and compliant and have been shown to perform well in long term pump applications. Some disadvantages to this solution are the higher cost for this material, the difficulty in joining or bonding the material to other polymer components, and although the wear is greatly improved, the tubing still does degrade over time and is not a complete solution to the problem.
Thus, a principal object of the present invention is to characterize tubing, fluid and fluid flow properties during pumping of fluid with a medical pump.
Yet another object of the present invention is to be able to have a lower device/system cost with added functionality and better accuracy.
These and other objects, features, or advantages of the present invention will become apparent from the specification and claims.
BRIEF SUMMARY OF THE INVENTION
A system and method of varying the flow rate of fluid from a medical pump through tubing is disclosed. The system and method also provides for detection of air bubbles in the fluid within the tubing. The system includes a capacitive micromachined ultrasonic transducer sensor assembly adapted to operatively couple with the tubing to transmit and receive acoustic signals directed at or through the tubing. A processor or controller in communication with the sensor assembly determines tubing dimensions, fluid flow velocity of fluid in the tubing, fluid flow rate of fluid in the tubing, and phases of fluid in the tubing based upon the acoustic signals received from the sensor assembly. The processor or controller can determine the inner diameter and wall thickness of the tubing based on the acoustic signals from the sensor assembly. The controller determines the actual fluid flow rate based on the determined inner diameter and the determined flow velocity. The determined actual flow rate provides a feedback input for closed loop control of the flow rate of the medical pump. The controller adjusts the operation of the pumping mechanism to adjust or vary the flow rate, such as by increasing or decreasing the speed of the motor that drives the pumping mechanism. A display in communication with the processor displays at least one of the determined fluid flow rate and/or a warning regarding the phases of fluid, particularly gas or air bubbles in the fluid inside the tubing.
The method of varying the flow rate of fluid from a medical pump through tubing comprises the steps of: determining an inner diameter of the tubing with a controller based on acoustic signals received by a capacitive micromachined ultrasonic transducer sensor assembly operatively associated with the tubing; determining a fluid flow velocity of fluid in the tubing with the controller based on transit times of generally opposing acoustic signals as the generally opposing acoustic signals are sent through the tubing and the fluid in the tubing by the sensor assembly; determining a fluid flow rate of fluid in the tubing with the controller based on the determined inner diameter of the tubing and the determined fluid flow velocity of fluid in the tubing; and varying with the controller the fluid flow rate through the tubing with the pump based on the determined fluid flow rate of fluid in the tubing. The method can further comprise sensing air bubbles in the fluid in the tubing with the capacitive micromachined ultrasonic transducer sensor assembly.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic view of the fluid flow rate compensation system and monitoring system of the present invention;
FIG. 1A is a sectional view of a sensor system on the tubing of a pump;
FIG. 1B is a plan view of a sensor system on the tubing of a pump where the tubing and sensor system has been rotated ninety degrees counterclockwise from the position shown in FIG. 1A;
FIG. 2A is a schematic view of first and second sensors in a calibration configuration wherein the tubing is not installed;
FIG. 2B is a schematic view of first and second sensors in relation to installed tubing wherein a transmitting sensor receives echo signals off the tubing back to the transmitting sensor;
FIG. 2C is a schematic view of first and second sensors in relation to installed tubing where the one of the sensors receives a signal from the other sensor through the tubing;
FIG. 3A is a graph of time versus amplitude for the ultrasound signal received for the sensors as configured in FIG. 2A;
FIG. 3B is a graph of time versus amplitude for the ultrasound signal received based on the echo of a signal received off of the tubing as shown in the configuration of FIG. 2B;
FIG. 3C is a graph of time versus amplitude for the ultrasound signal received through the tubing as shown in 2C; and
FIG. 4 is a cross-sectional view of a capacitive micromachined ultrasonic transducer (CMUT) sensor incorporating flip-chip bonding.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
The figures show a fluid flow rate compensation system or monitoring system 10. As best seen in FIG. 1, the system 10 utilizes a pump system 12 that in one embodiment is a peristaltic pump. The pump 12 includes a controller 14 or processor that contains an algorithm to adjust fluid flow by operating a motor 9 that manipulates or operatively engages via a pumping mechanism 13 a section of tubing 16 through which fluid flows. The tubing 16 can be of any shape, including the standard circular or alternatively hexagonal, square or the like. The tubing 16 has an inner diameter 18, an outer diameter 20, and in addition has a predetermined ovality, modulus elasticity and other such inherent characteristics. The tubing 16 may be any type of material including PVC, a polymer composite, a conductive polymer composite (CPC) or the like.
A sensing system 22 is detachably secured to the tubing 16. The sensing system 22 includes first and second capacitive micromachined ultrasonic transducer (hereinafter CMUT) sensors 24 and 26. CMUT sensors inherently allow for improved resolution over typical ultrasonic sensors. Specifically, CMUT sensors present an array that allows for higher driving frequencies, above 1 MHz and allows for better resolution due to increased sampling times. As best shown in FIG. 4, due to the small area 20-50 μm in diameter of each CMUT element, the capacitance of each CMUT element is in lpf range or smaller. This is made possible by the relatively small size of the CMUT element and in particular the inner connect element 27. The size of conventional ultrasonic sensors and their conductive connect elements is much larger. Thus, the capacitance of the conventional connect elements is generally 30-80 times larger than the device capacitance. The inner connect capacitance limits the detectable capacitance change in sampling. Thus, flip-chip bonding is used as shown in FIG. 4 so that the electrical path capacitance can be reduced to the same order of magnitude as the CMUT device, thus improving the resolution. The flip-chip bonding thus improves the resolution of the sensing system 22 and capabilities.
The sensing system 22, which includes the first and second CMUT sensors 24 and 26, is electrically connected to and communicates with the controller 14 via electronics 28. The electronics 28 communicate to the controller 14 the electric signals generated by the CMUT sensors 24 and 26 based on the acoustic signals received by the CMUT sensors 24 and 26. The controller 14 then uses an algorithm to vary the fluid flow rate within the tubing 16 using the pump 12. As an example of the type of algorithms the controller utilizes, D'Silva (U.S. Pat. No. 5,018,945) that is incorporated herein by reference discloses an algorithm for adjusting the motor speed of a peristaltic pump by measuring the change in outside diameter of the tubing (Delta D). Another algorithm was described by Silber et al. in U.S. Pat. No. 6,857,318, which also is incorporated by reference herein. This patent discloses an apparatus using force sensors to infer internal pressure information during peristaltic pumping and an algorithm to adjust pump speed accordingly. Such an algorithm) can be used to determine precise flow rate variances for the output of the sensors and can be resident on the pump or elsewhere depending upon the application.
In operation, one or more of the first and second CMUT sensors 24 and 26 is used to determine tube dimensions or geometric characteristics such as an outer diameter, a wall thickness, an inner diameter 18 of the tube 16 with a controller 14 based on a first acoustic signal received by a CMUT sensor 24 or 26. Specifically in the case of wall thickness d, this determination can be made by using an echoed ultrasound signal that bounces off the outer wall and a proximate inner wall of the tubing 16 back to a CMUT sensor 24 or 26. The sensor 24 and 26 can be used to determine a fluid flow rate of fluid in the tube 16 with the controller 14 based on a second acoustic signal that is generated by one of the sensors 24 or 26. The signal goes through the tubing and is received by the other CMUT sensor 24 or 26. Similarly, the CMUT sensors 24, 26 may be utilized to sense bubbles in the fluid in the tube 16. The CMUT sensors may be placed anywhere on the tubing 16 including distal to the pump 12 or its pumping mechanism 13 in the direction of the patient. Then, based on any of these readings or characteristics the controller 14 utilizes an algorithm to cause the pump 12 to vary the fluid flow rate within the tube 16 based on the communications from the CMUT sensors 24 and/or 26. Similarly, the CMUT sensors 24, 26 may be utilized to sense bubbles in the fluid in the tube 16. The CMUT sensors may be placed anywhere on the tubing 16 including near the pumping mechanism 13 or distal to (downstream from) the pump 12 in the direction of the patient. The controller 14 can also include an algorithm for adjusting the fluid flow rate to take into account or limit the amount of gas or air bubbles in the line.
Specifically, as a flow rate sensor, the hybrid ultrasonic sensing system 22 non-invasively measures the flow rate of a fluid via implementation of two inexpensive CMUT sensors 24 and 26. The invention includes designing/fabricating CMUT sensors 24 and 26 and measuring the tubing dimensions including wall thickness and inner diameter, as well as fluid flow velocity to determine the fluid flow rate using CMUT sensors 24 and 26.
Transit time difference is one method used to measure the flow rate. The two CMUT sensors or probes 24 and 26 represented by A and B are set up or operatively coupled with the tubing 16 as shown in the FIGS. 1A and 1B and alternate between emitting and receiving modes. To utilize this time of flight technique, it is necessary that the transducers 24, 26 are offset from each other with respect to the direction of flow or the longitudinal axis of the tubing. That is, one transducer should be located upstream and one downstream. The acoustic signal propagates in the fluid and is collected by the opposite probe. The propagation times in the upstream and downstream directions are measured.
The propagation time in the downstream directions is:




  
    T
    ⁢
    
      
    
    ⁢
    1
  
  =
  
    L
    
      c
      +
      
        v
        ⁢
        
          
        
        ⁢
        cos
        ⁢
        
          
        
        ⁢
        θ
      
    
  




where c is the speed of sound in the material, L is the length between transducers, v is the fluid flow velocity, and θ is the angle between the tubing outer surface or the direction of fluid flow F and an axis that includes the transducers.

The propagation time in the upstream directions is





  
    T
    ⁢
    
      
    
    ⁢
    2
  
  =
  
    L
    
      c
      -
      
        v
        ⁢
        
          
        
        ⁢
        cos
        ⁢
        
          
        
        ⁢
        θ
      
    
  




The time difference is:





  
    Δ
    ⁢
    
      
    
    ⁢
    t
  
  =
  
    
      
        T
        ⁢
        
          
        
        ⁢
        2
      
      -
      
        T
        ⁢
        
          
        
        ⁢
        1
      
    
    =
    
      
        2
        ⁢
        Lv
        ⁢
        
          
        
        ⁢
        cos
        ⁢
        
          
        
        ⁢
        θ
      
      
        
          c
          2
        
        -
        
          
            v
            2
          
          ⁢
          
            cos
            2
          
          ⁢
          θ
        
      
    
  




From the equations above, the flow velocity can be calculated from these times and from the geometrical position of probes.





  v
  =
  
    
      
        L
        2
      
      
        2
        ⁢
        
          d
          6
        
      
    
    ×
    
      
        
          T
          ⁢
          
            
          
          ⁢
          2
        
        -
        
          T
          ⁢
          
            
          
          ⁢
          1
        
      
      
        T
        ⁢
        
          
        
        ⁢
        1
        ×
        T
        ⁢
        
          
        
        ⁢
        2
      
    
  




T2 and T1 are measured from the ultrasound signal. In the above equation, d6 is the inner diameter 18 of the tubing 16 and can be assumed, estimated, determined or calculated as described below. The resolution of the flow velocity is determined by the hardware which is used to measure the ultrasound signal.

Determination of a volumetric flow rate also requires determining the inside diameter 18 of the tubing 16. FIGS. 2A-2C depict an embodiment of the present invention that can be used for measuring the tubing dimensions. FIG. 2A shows an optional calibration setup to determine the distance between the transducers 24, 26. This step is a one time operation and once this distance is measured, established or even assumed, the calibration step is optional. The formula below shows how this distance is measured.




  Tc
  =
  
    
      d
      ⁢
      
        
      
      ⁢
      2
    
    
      C
      ⁢
      
        
      
      ⁢
      2
    
  




C2 is the speed of sound in the air gap between the transducers 24, 26 without the tubing installed, Tc is the time it takes an acoustic signal to travel between the transducers, and d2 is the distance between the transducers 24, 26. The distance d2 can be determined based on the known variable C2 and the measured time Tc.

Another step is to measure the tubing wall thickness d. FIG. 2B shows a single transducer 26 on the tubing 16 which measures the time difference of the first and the second echo ultrasound. This time difference will provide the tubing wall thickness d if the sound of speed of the tube material is known using the following formula.




  
    
      T
      ⁢
      
        
      
      ⁢
      0
    
    -
    Ti
  
  =
  
    d
    
      C
      ⁢
      
        
      
      ⁢
      1
    
  




T0 and Ti are the transit times of the first and second echo, respectively, d is the tubing wall thickness, and C1 is the speed of sound in the tubing material.
FIG. 2C depicts another step in the method for determining the inner diameter 18 of the tubing 16 using the information described above in conjunction with the following formula.




  
    T
    ⁢
    
      
    
    ⁢
    3
  
  =
  
    
      
        2
        ⁢
        d
      
      
        C
        ⁢
        
          
        
        ⁢
        1
      
    
    +
    
      
        (
        
          
            d
            ⁢
            
              
            
            ⁢
            4
          
          +
          
            d
            ⁢
            
              
            
            ⁢
            5
          
          +
          
            d
            ⁢
            
              
            
            ⁢
            6
          
        
        )
      
      
        C
        ⁢
        
          
        
        ⁢
        2
      
    
  




T3 is the transit time between the two transducers 24, 26 with tubing present, d is the tubing wall thickness, C1 is the speed of sound in the tubing material, C2 is the speed of sound in the air gap between the transducers 24, 26 without the tubing installed (which is also assumed to be the speed of sound in the fluid contained inside the tubing), d4 and d5 are the respective distances between the transducers and tubing outside wall, and d6 is the inner diameter 18.

The fluid flow rate can be determined according to the formula.

R=v×A=v×(π/4)(d6)2 

R is the fluid flow rate, v is the fluid flow velocity, A is the cross sectional area of the interior of the tubing, and d6 is the inner diameter. Of course, for cylindrical tubing the area A is (π/4) (d6)2. In metric units, for example, v can be expressed in cm/hr and A in cm2 so that R is in cc/hr or cm3/hr. A flow rate of 1 cc/hr equals 1 mL/hr.

One skilled in the art will appreciate that one of the transducers 24, 26 could be replaced with an acoustically responsive member, such as a detector mirror by way of example and not for limitation, that merely detects and reflects the original ultrasonic signal back to the transmitting transducer 24 or 26. Thus, provided is a monitoring system 10 that offers several advantages over other techniques that have been previously proposed. One advantage is that using advanced CMUT and flip-chip bonding technology, the resolution of flow rate and inner diameter gauge is drastically increased without causing a high manufacturing cost. Another advantage that is provided is a low cost non-invasive feedback solution for the pump system 12. Also provided is a single hybrid non-invasive sensor system 22, capable of performing three essential functions for any type of drug delivery pump 12, which can be achieved for a low cost and still use processing techniques known in the art. The measurement method for detecting flow rate/set-by-set inner diameter variations can provide more precise feedback information in the pumping system to delivery drugs accurately.
Therefore, the invention is a method and system for a hybrid sensor device or assembly that combines a non-invasive flow meter, a non-invasive thickness gauge for wall thickness and inner diameter of tubing 16, and a non-invasive air bubble detector into one unit utilizing a CMUT array. The method relies on using ultrasonic sensors 24 and 26 composed of a CMUT array and a peristaltic pump 12 (or similar type pump) and the front end electronics 28, such as flip-chip bonding circuitry, which enables a sensor to sample transit time of ultrasound signal across the tubing 16. In this invention, two sensors 24 and 26 are placed in operative contact with the tubing 16 near the pumping portion of the tubing 16.
Thus, the invention provides a multi-purpose non-invasive sensor assembly for use in association with tubing of a medical pump. The sensor assembly includes a capacitive micromachined ultrasonic transducer sensor assembly adapted to operatively couple with the tubing to transmit and receive acoustic signals directed at the tubing. A processor is in communication with the sensor assembly for determining tubing dimensions, fluid flow velocity of fluid in the tubing, fluid flow rate of fluid in the tubing, and phases of fluid in the tubing based upon the acoustic signals received from the sensor assembly. A display is also in communication with the processor and/or the sensor assembly for displaying at least one of the determined fluid flow rate and a warning regarding the phases of fluid in the tubing. In one embodiment an air-in-line warning is provided.
Thus, the invention characterizes fluid flow properties such as the set-by-set variations of polymer tubing, and fluid flow rate changes during peristaltic pumping or similar pumping means. Measurements of inner diameter 18 information of tubing 16 are taken at the beginning of the pumping cycle and the measured data provides the pumping control algorithm with the initial information to reduce the flow rate error caused by set-by-set inner diameter variations of tubing 16. As the fluid is pumped (e.g., peristaltic actuation), the tubing 16 is deformed repeatedly over many cycles. As such, polymer tubing 16 begins to wear resulting in geometrical and mechanical changes of the tubing (e.g., elastic modulus, tan delta, wall thickness, diameters, etc.). These tubing properties directly impact the amount of fluid delivered in pump stroke
Therefore, by monitoring and understanding how the tubing is changing over time during the pumping cycle or over multiple pumping cycles, one can predict or compensate for the tubing wear which can result in improved pump performance. By using the system 10, measuring at what point during pumping and by how much the fluid flow rate changes, enables the possibility of implementing a pumping compensation algorithm to allow for this variation. This enables the pump 12 to achieve better flow rate accuracy over time and also account for inaccuracies due to tubing variation.
Another advantage of the invention is to be able to have a lower device/system cost with added function and better accuracy. This can be achieved by utilizing the CMUT technology which enables the batch fabrication for multiple functionality including flow rate determination, air bubbles detection and inner diameter measurement.
The system 10 can accurately calculate how the flow rate of the pump 12 is changing with respect to the tubing material changes. These changes may be due to any number of independent factors or a combination of factors. Therefore, the system 10 is used to compensate for these factors to maintain a consistent flow rate in the complex clinical environment.
The system 10 is applicable to numerous concepts related to fluid flow, including the measurement of fluid flow rate change as applied to medication delivery to the body. The system 10 can also be used to identify the phase of the fluid (liquid, gas or solid) and fluid type (fluid density, etc.) that is delivered to patients via IV administration sets. For example, an air-in-line alarm can be generated if more than a predetermined amount of air is detected.
One particular use for this invention is in a peristaltic pump where it improves upon the overall flow rate accuracy of the pump. The system 10 provides the ability to maintain flow accuracy over extended use from 72-96 hours. In addition, the system can replace any current air bubble detecting sensor as the system provides multiple functionality. Specifically, the system 10 can provide the ability to not only detect the air bubble size but also the direction of its flow thus improving upon the state of the art. Thus, at the very least, all of the stated objectives have been met.
It will be appreciated by those skilled in the art that other various modifications could be made to the device without departing from the scope of this invention. All such modifications and changes fall within the scope of the claims and are intended to be covered thereby.

## Claims

1. A medical pump system comprising:
a pump including a motor drivingly connected to a pumping mechanism that acts upon a tubing to pump fluid;
a controller for controlling the motor to affect operation of the pumping mechanism and vary a fluid flow rate of fluid in the tubing; and
a capacitive micromachined ultrasonic transducer sensor assembly operatively coupled to the tubing and in communication with the controller;
wherein the controller determines an inner diameter and a wall thickness of the tubing based on a first acoustic signal that bounces off an outer wall and a proximate inner wall of the tubing and is received by the capacitive micromachined ultrasonic transducer sensor assembly;
wherein the controller determines a fluid flow velocity of fluid in the tubing based on transit times of generally opposing acoustic signals as the generally opposing second subsequent acoustic signals are sent through the tubing and the fluid in the tubing by the sensor assembly;
wherein the controller determines a fluid flow rate of fluid in the tubing based on the determined inner diameter of the tubing and the determined fluid flow velocity of fluid in the tubing;
wherein the controller varies the operation of the motor and pumping mechanism to vary the fluid flow rate through the tubing with the pump based on the determined fluid flow rate of fluid in the tubing.

2. The system of claim 1 wherein the controller determines if there are air bubbles present in the fluid in the tubing by monitoring at least one of the generally opposing acoustic signals from the capacitive micromachined ultrasonic transducer sensor assembly.

3. The system of claim 1 wherein the capacitive micromachined ultrasonic transducer sensor assembly is detachably secured to the tubing.

4. The system of claim 1 wherein the capacitive micromachined ultrasonic transducer sensor assembly comprises:
a first capacitive micromachined ultrasonic transducer sensor operatively coupled to the tubing and in communication with the controller; and a responsive member located on an opposite side of the tubing and spaced along a longitudinal axis of the tubing from the first capacitive micromachined ultrasonic transducer sensor.

5. The system of claim 4 wherein the responsive member is a second capacitive micromachined ultrasonic transducer sensor that is detachably secured to the tubing and receives a first acoustic signal from the first capacitive micromachined ultrasonic transducer sensor and transmits a generally opposing second acoustic signal that is directed through the tubing and fluid within the tubing so as to be received by the first capacitive micromachined ultrasonic transducer sensor.

6. The system of claim 5 wherein the controller varies the speed of the motor to affect operation of the pumping mechanism and vary the fluid flow rate of fluid in the tubing for the pump based upon a change over time in one of the first acoustic signal and the second acoustic signal.

7. A multi-purpose non-invasive sensor assembly for use in association with tubing of a medical pump, the sensor assembly comprising:
a capacitive micromachined ultrasonic transducer sensor assembly adapted to operatively couple with the tubing to transmit and receive acoustic signals directed at the tubing;
a processor in communication with the sensor assembly for determining tubing dimensions, fluid flow velocity of fluid in the tubing, fluid flow rate of fluid in the tubing, and phases of fluid in the tubing based upon the acoustic signals received from the sensor assembly wherein an echoed ultrasound signal bounces off an outer wall and a proximate inner wall of the tubing back to a first capacitive micromachined ultrasonic transducer sensor to determine tubing dimensions including wall thickness of the tubing and inner diameter of the tubing and a second signal goes through the tubing and is received by a second capacitive micromachined ultrasonic transducer sensor,
a display in communication with the processor for displaying at least one of the determined fluid flow rate and a warning regarding the phases of fluid in the tubing.

8. The system of claim 1 wherein the fluid flow rate is determined by the equation:




  
    Δ
    ⁢
    
      
    
    ⁢
    t
  
  =
  
    
      
        T
        ⁢
        
          
        
        ⁢
        2
      
      -
      
        T
        ⁢
        
          
        
        ⁢
        1
      
    
    =
    
      
        2
        ⁢
        Lv
        ⁢
        
          
        
        ⁢
        cos
        ⁢
        
          
        
        ⁢
        θ
      
      
        
          c
          2
        
        -
        
          
            v
            2
          
          ⁢
          
            cos
            2
          
          ⁢
          θ
        
      
    
  



Where Δt is the difference between the transit times T2 and T1, c is the speed of sound, L is length between transducers of the transducer sensor assembly, v is the fluid flow velocity and θ is the angle between an outer surface of the outer wall of the tubing and an axis that includes the transducers.

9. The system of claim 1 wherein the inner diameter is determined by the following equation:




  Tc
  =
  
    
      d
      ⁢
      
        
      
      ⁢
      2
    
    
      C
      ⁢
      
        
      
      ⁢
      2
    
  




where C2 is the speed of sound in an air gap between transducers of the transducer sensor assembly, Tc is the time it takes an acoustical signal to travel between transducers, and d2 is the distance between the transducers.

10. The system of claim 1 wherein the inner diameter is determined by the following equation:




  
    
      T
      ⁢
      
        
      
      ⁢
      0
    
    -
    Ti
  
  =
  
    d
    
      C
      ⁢
      
        
      
      ⁢
      1
    
  



where T0 and Ti are transit times of a first and a second echo, d is the wall thickness of the tubing, and C1 is the speed of sound in the tubing.

11. The system of claim 1 wherein the inner diameter is determined by the equation:




  
    T
    ⁢
    
      
    
    ⁢
    3
  
  =
  
    
      
        2
        ⁢
        d
      
      
        C
        ⁢
        
          
        
        ⁢
        1
      
    
    +
    
      
        (
        
          
            d
            ⁢
            
              
            
            ⁢
            4
          
          +
          
            d
            ⁢
            
              
            
            ⁢
            5
          
          +
          
            d
            ⁢
            
              
            
            ⁢
            6
          
        
        )
      
      
        C
        ⁢
        
          
        
        ⁢
        2
      
    
  



where T3 is a transit time between two transducers with tubing present, d is the tubing wall thickness, C1 is the speed of sound in the tubing wall, d4 and d5 are respective distances between the transducers and the outer wall of the tubing and d6 is the inner diameter of the tubing.

12. The system of claim 1 wherein the fluid flow rate is determined by the equation:


R=v×A=v×(π/4)(d6)2 


where R is the fluid flow rate, v is the fluid flow velocity, A is the cross sectional area of the interior of the tubing and d6 is the inner diameter of the tubing.

13. The system of claim 1 wherein the controller determines an outer diameter of the tubing based upon the first acoustic signal that bounces off an outer wall of the tubing and a proximate inner wall of the tubing.

14. The system of claim 7 wherein the processor determines an outer diameter of the tubing based upon the echoed ultrasound signal that bounces off an outer wall of the tubing and a proximate inner wall of the tubing.