# Patent

## Title
Entrapment detection for variable speed pump system using load coefficient

## Abstract

Methods and systems for monitoring a variable-speed pump system to detect a blockage condition. A value indicative of pump performance is sensed and a pump load coefficient is calculated. The value of the pump load coefficient does not change substantially due to changes in pump speed and is indicative of a blockage of a drain in a liquid holding tank. A blockage of the drain is detected based at least in part on the calculated pump load coefficient and the operation of the pump is adjusted based on the detected blockage.

## Background
RELATED APPLICATIONS
The present patent application claims priority to U.S. Provisional Patent Application Ser. No. 61/554,215, filed on Nov. 1, 2011, the entire contents of which are herein incorporated by reference.


BACKGROUND
The present invention relates to systems and methods for detecting an entrapment event in a pool or spa pump system. An entrapment event occurs when an object covers at least a portion of the input to the pump system such as a drain in a pool. Entrapment events are monitored to detect potentially dangerous conditions where a person or animal may be trapped underneath the water in the pool or spa due to the suction of the drain. Pump systems also detect entrapment events to ensure that an obstruction does not negatively impact operation of the pump system.
SUMMARY
Systems that implement a single or two-speed pump motor are able to monitor for entrapment events by setting thresholds based on power. When the input to the pump system is obstructed, the power used by the system also decreases. However, in variable speed pump systems, the power varies as the speed of the pump changes. Therefore, a static threshold may not properly detect entrapment events.
In one embodiment, the invention provides a method for detecting an entrapment event in a variable-speed pump system based on a load coefficient that is independent of the speed of the pump motor. The system detects a body entrapment and automatically shuts off the motor. In some embodiments, the load coefficient is dependent upon the height of the pump above or below water level, the length and size of the pipe, the number of elbows and other restrictions in the pipe, and the number of valves. As such, variations in the pump coefficient indicate a degree to which the input to the pump system is obstructed independent of the speed of the pump motor.
In another embodiment, the invention includes a pump monitoring system comprising a controller. The controller is configured to receive a value indicative of pump performance. Based at least in part on this value, the controller calculates a pump load coefficient. The pump load coefficient is calculated such that its value does not change substantially due to changes in pump speed. Instead, the value of the pump load coefficient is more indicative of a blockage of a drain in a liquid holding tank such as a pool. The controller is further configured to detect a blockage of a drain based at least in part on the calculated pump load coefficient and adjusts the operation of the pump based on the detected blockage.
In some embodiments, the pump load coefficient Klc is calculated based on the equation: Klc=P/V3 where P is a value indicative of motor power of the pump and V is a value indicative of water velocity. In some embodiments, the calculation is the same, but V is a value indicative of motor speed.
In another embodiment, the invention provides a method of monitoring a pump for a blockage condition. A value indicative of pump performance is sensed and a pump load coefficient is calculated. The value of the pump load coefficient does not change substantially due to changes in pump speed and is indicative of a blockage of a drain in a liquid holding tank. A blockage of the drain is detected based at least in part on the calculated pump load coefficient and the operation of the pump is adjusted based on the detected blockage.
Other aspects of the invention will become apparent by consideration of the detailed description and accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of the pump monitoring system of one embodiment.
FIG. 2 is a graph of system load curves for a pump system.
FIG. 3 is a flow-chart illustrating a method of detecting entrapment events in a pump system using a Load Coefficient.
FIG. 4 is a graph of the friction factor for a pump system.
FIG. 5 is a graph of system load curves attributable to individual portions of the pump system.
FIG. 6 is a graph illustrating changes in system curves due to pump height.
FIG. 7 is a graph of Load Coefficient errors due to variations in pump height.



DETAILED DESCRIPTION
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways.
An SVRS (Suction Valve Release System) is integrated into a pool or spa system to detect a body entrapment in the drain of a pool or spa system and to shut off the motor in time to prevent fatal events. FIG. 1 illustrates one example of an SVRS or pump monitoring system for a variable speed pump used in a pool. The pump 101 draws water from the drain 103 of a pool 105. Water is pumped back into the pool through a valve (or head) 107. A controller 109 provides control signals to the pump 101 to control the operation of the pump 101 including the speed of a pump motor. The controller 109 also receives sensed signals from the pump 101.
For example, in some constructions, the controller 109 regulates the speed of the pump motor by controlling a voltage provided to the motor of the pump 101. The controller 109 also monitors the current of the pump motor and, as such, is able to calculate the power of the pump motor.
In some systems, sensors are positioned inside the pump 101 or at other locations within the pump system. For example, as illustrated in FIG. 1, a water velocity sensor 111 is positioned along the pipe from the drain 103 to the pump 101. The sensor 111 directly measures the velocity of water moving through the pump system and provides a signal indicative of the velocity to the controller 109.
In some constructions, the controller 109 includes an internal processor and memory. The memory stores software instructions that, when executed by the processor, cause the controller to perform various operations as described below. In other constructions, the controller 109 can be implemented, for example, as an application specific integrated circuit (ASIC). Furthermore, although the controller 109 illustrated in FIG. 1 is separate from the pump 101, in some constructions, the controller 109 may be integrated into the same housing as the pump 101.
In pump systems that include a variable speed pump motor, the power draw of the system changes as the speed changes. Therefore, entrapment events cannot always be accurately detected by comparing a power value to a static threshold. The system described below determines a Load Coefficient that is substantially independent of speed, but directly related to a blockage of the input to the pump system (e.g., the pool/spa drain). In some embodiments, the Load Coefficient is calculated based on geometric, electrical, or mechanical properties or ratios that, under normal operating conditions, generally hold constant at varying speeds. For example, as discussed in detail below (see, e.g., equation [14]), the Load Coefficient may be calculated as a ratio of the power of the pump motor relative to the velocity of the water moving through the pump.
Three methods are proposed to detect entrapment events. Two of these methods are based on the load coefficient. The third method ensures detection of entrapment during speed changes and prevents the pump from running when the power is too low to reliably detect entrapment events while also detecting entrapment events at during steady speeds. All three methods can be implemented in a single system and operate at the same time. Alternatively, pump monitoring systems can be implemented that include only one or two of the methods described below.
The first method of entrapment detection is referred to below as the Differential method. The Differential method filters the input signal (i.e., the pump load coefficient). The latest filtered signal is subtracted from a stored filtered signal that is M samples in the past. The difference is compared to a differential threshold (“DiffTripLevel”). If the differential signal drops below the differential threshold for N consecutive periods then an entrapments is declared.
The second method of entrapment detection is called the Floating Level method. The input signal is filtered and the filtered signal is compared to a slower filtered signal (the “Floating Level”) which is multiplied by a percentage (lower than 1, e.g., 0.93). For example, if the input signal is filtered at a 0.7 sec time constant, the Floating Level may be determined by filtering the input signal at a 5 seconds time constant. If the filtered signal drops below the Floating Level for N consecutive periods then an entrapment is declared.
Although, theoretically, the Differential and Floating methods could be implemented based on power as the input signal, these methods would lead to problems of accuracy and may generate false entrapment detections. For example, while the Differential method based on power as an input signal detects an entrapment quickly, the Differential method fails to detect entrapment events at lower power/speed levels. This is because lower power/speed levels create lower differential levels.
The third method is not based primarily on the Pump Load Coefficient as described herein. Instead, the third method is the Current/Torque method. With this method a minimum speed versus current (q-axis current) profile is defined. If the filtered current (q-axis current), is less than the current profile for N consecutive periods, an entrapment is declared. This method also ensures correct operation of the pump, that is there is enough flow for a given speed, there is not significant obstruction in the plumbing system and power draw by the pump does not drop below reasonable operating limits.
The concept behind the current profile is defined as in the following. The motor output power is defined as

Pmo=Tω  [1]

Since the water velocity is proportional to the motor speed, the pump output power can be written as

Ppo=Kω2  [2]

The power input and output relationship is





  
    
      
        
          P
          po
        
        =
        
          
            η
            p
          
          ⁢
          
            P
            mo
          
        
      
    
    
      
        [
        3
        ]
      
    
  
  
    
      
        
          P
          mo
        
        =
        
          
            η
            m
          
          ⁢
          
            P
            
              m
              ⁢
              i
            
          
        
      
    
    
      
        [
        4
        ]
      
    
  
  
    
      
        
          P
          mi
        
        =
        
          
            
              P
              mo
            
            
              η
              m
            
          
          =
          
            
              P
              po
            
            
              
                η
                m
              
              ⁢
              
                η
                p
              
            
          
        
      
    
    
      
        [
        5
        ]
      
    
  
  
    
      
        
          P
          mi
        
        =
        
          
            
              T
              ⁢
              
                
              
              ⁢
              ω
            
            
              η
              m
            
          
          =
          
            
              K
              ⁢
              
                
              
              ⁢
              
                ω
                3
              
            
            
              
                η
                m
              
              ⁢
              
                η
                p
              
            
          
        
      
    
    
      
        [
        6
        ]
      
    
  




Torque equality is derived from power equality as





  
    
      
        T
        =
        
          
            K
            
              η
              eff
            
          
          ⁢
          
            ω
            2
          
        
      
    
    
      
        [
        7
        ]
      
    
  




where Pmo is motor output power [W], Pmi is motor input power [W], Ppo is pump output power [W], ω is motor mechanical speed [rad/s], ηm is the efficiency of the motor, ηp is the efficiency of the pump, T is torque [N−m], K is the pump load coefficient (which can be speed dependent) similar to the one in equation [13], below. Since the motor torque is

T=Ktiq  [8]

where Kt is a constant. Current profile can be defined as

iq-threshold=Cω2  [9]

where C is a coefficient and iq-threshold is quadrature axis (q-axis) current threshold. If the speed dependency of C is taken into account, the current versus speed profile will be a look up table.

Since the Floating Level method establishes a float level and detects the Load Coefficient drop against the steady state float level, it provides no accurate indication of entrapment events during speed changes and, therefore, can be disabled during speed changes. The Differential method and Current/Torque methods stay active during speed changes and detect entrapment events. With the Differential method, a single speed ramp rate and a differential limit can be utilized to allow the method to accurately detect entrapment events without nuisance trips caused by power level changes due to speed changes and other, non-dangerous partial entrapment events.
FIG. 2 illustrates examples of pump system curves for a pump system at various speed settings and with various degrees of input obstruction. The Load Coefficient value is derived from pump system curves such as these. In FIG. 2, the solid lines represent the pump curves for various speeds. The rated speed curve can be obtained from the manufacturer of the pump and the family of speed curves can be derived using the pump affinity laws. In particular:




  
    
      
        
          
            Q
            1
          
          
            Q
            2
          
        
        ∝
        
          
            (
            
              
                r
                ⁢
                
                  
                
                ⁢
                p
                ⁢
                
                  
                
                ⁢
                
                  m
                  1
                
              
              
                r
                ⁢
                
                  
                
                ⁢
                p
                ⁢
                
                  
                
                ⁢
                
                  m
                  2
                
              
            
            )
          
          ⁢
          
            
          
          ⁢
          and
          ⁢
          
            
          
          ⁢
          
            
              h
              1
            
            
              h
              2
            
          
        
        ∝
        
          
            (
            
              
                r
                ⁢
                
                  
                
                ⁢
                p
                ⁢
                
                  
                
                ⁢
                
                  m
                  1
                
              
              
                r
                ⁢
                
                  
                
                ⁢
                p
                ⁢
                
                  
                
                ⁢
                
                  m
                  2
                
              
            
            )
          
          2
        
      
    
    
      
        [
        10
        ]
      
    
  




where Q is the flow rate (gpm) and h is the head pressure (ft). The pump system curves of FIG. 2 are modeled for the Sta-Rite P6E6HL pump motor system.

The dotted lines represent the system load curves for different valve openings. For a given valve opening (and for a given system), the head pressure varies as a square of the water velocity as represented by the equation:

h=KpV2  [11]

The power of the motor system (either input or output power of the motor) is proportional to the head pressure and the water velocity as represented by the equation:




  
    
      
        P
        =
        
          hV
          
            η
            eff
          
        
      
    
    
      
        [
        12
        ]
      
    
  




where neff is a value indicative of the efficiency of both the pump and the motor. Therefore, motor power is proportional to the water velocity cubed, as indicated by the equation:





  
    
      
        P
        =
        
          
            
              
                K
                p
              
              
                η
                eff
              
            
            ⁢
            
              V
              3
            
          
          =
          
            
              K
              lc
            
            ⁢
            
              V
              3
            
          
        
      
    
    
      
        [
        13
        ]
      
    
  




The Load Coefficient Llc is determined by dividing the power of the motor by the velocity of the water cubed as expressed by the following equation:




  
    
      
        
          K
          lc
        
        =
        
          P
          
            V
            3
          
        
      
    
    
      
        [
        14
        ]
      
    
  




It is to be known that even though the theory has been derived around the water velocity, the motor speed can be used, in equation [14], instead of water velocity, due to the fact that the motor speed is proportional to the water velocity.

The Load Coefficient Klc varies as a function of the valve opening. Based on the data from the pump system curves of FIG. 2, the Load Coefficient varies from one to seven as the valve opening changes from full open to 1⁄4 open. The seven fold change in Load Coefficient is a large enough signal to use for entrapment detection. The Load Coefficient calculated by this method changes slightly with speed; however the change is not great enough compared to the change due to entrapment events to cause a false detection of an entrapment due to speed changes.
FIG. 3 illustrates a method of detecting an entrapment event using the three methods described above and the Load Coefficient value. The system begins by calculating the present Load Coefficient (step 301). The system then performs all three of the entrapment detection methods concurrently. However, as described above, other system constructions may only implement one or two of the three detection methods. Furthermore, in some systems, the three methods are executed serially instead of in parallel as illustrated in FIG. 3.
In the Differential method, the system calculates the difference between the present Load Coefficient Klc(t) and a previous Load Coefficient—in this example, a Load Coefficient calculated seven cycles earlier Klc(t−7). The difference is compared to a differential threshold (step 303). Because an entrapment event will cause the load coefficient to decrease, the difference of Klc(t)−Klc(t−7) will result in a negative value during an entrapment event. Therefore, the differential threshold itself has a negative value.
If the difference is more than the differential threshold (i.e., a positive value or a negative value with a lesser magnitude than the differential threshold), a first counter (k) is reset to zero (step 305) and the system concludes that there is no entrapment event. However, if the difference is less than the differential threshold (i.e., a negative value with a higher magnitude than the differential threshold), the system increments a counter (step 307). If the difference remains below the differential threshold for a defined number of cycles (k_thresh) (step 309), the system concludes that an entrapment event has occurred and stops the pump motor (step 311).
In the Floating method, the system compares the present Load Coefficient to a floating threshold (step 313). If the Load Coefficient is above the threshold, the system resets a second counter (step 315) and concludes that there is no entrapment. However, if the Load Coefficient is less than the floating threshold for a defined number of sampling cycles (steps 317 and 319), the system concludes that an entrapment event has occurred and stops the pump motor (step 311).
Lastly, the system performs the current/torque method for monitoring entrapment conditions. The system determines a speed and current of the motor (step 321) and accesses a current profile (step 323). The current profile defines current profile values and corresponding speed values. If the actual current is above the current profile value corresponding to the determined speed (step 325), then the system concludes that there is no entrapment (step 327). However, if the actual current is below the current profile value and remains there for a defined number of sampling cycles (steps 329 and 331), then the system concludes that an entrapment event has occurred or it is not safe to run the pump and stops the pump motor (step 311).
The Load Coefficient as described above is based in fluid dynamics. The head pressure of the pump system can be described by adding several variables that each impact the water pressure of the system:

htotal=hheight+hpipe+Σhelbow+Σhvalve  [15]

where hheight is the height of the pump above the water level, hpipe is the head pressure loss due to the straight pipe, helbow is the head pressure loss due to each elbow connection in the pipe system, and hvalve is the head pressure loss due to each valve in the system. Other terms of the Bernoulli equation are assumed to be zero (e.g., the change in velocity of the water).

hpipe is defined by the following equations:




  
    
      
        
          h
          pipe
        
        =
        
          f
          ⁢
          
            
              L
              pipe
            
            
              2
              ⁢
              
                
              
              ⁢
              Dg
            
          
          ⁢
          
            V
            2
          
        
      
    
    
      
        [
        16
        ]
      
    
  




where f is a friction factor, Lpipe is the length of the pipe, D is diameter of the pipe, g is the acceleration due to gravity, and v is the velocity of the fluid in the pipe. The friction factor a function of whether the flow through the pipe is laminar or turbulent. The Reynolds number is used to determine if the flow is laminar (Red<2000) or turbulent (Red>4000) and is defined as follows:





  
    
      
        
          Re
          d
        
        =
        
          
            
              ρ
              ⁢
              
                
              
              ⁢
              D
            
            μ
          
          ⁢
          V
        
      
    
    
      
        [
        17
        ]
      
    
  




where ρ is the density of water and μ is the viscosity of water. In order to have laminar flow for a 2 inch pip, the flow rate would have to be less than one gallon-per-minute. The friction factor for a smooth walled pipe can be approximated by:





  
    
      
        f
        =
        
          
            (
            
              1.8
              ⁢
              
                
              
              ⁢
              
                log
                ⁡
                
                  (
                  
                    
                      Re
                      d
                    
                    6.9
                  
                  )
                
              
            
            )
          
          
            -
            2
          
        
      
    
    
      
        [
        18
        ]
      
    
  




which illustrated by the graph of FIG. 4. As illustrated, there is very little change in the friction factor across the operating range of a pool pump and, therefore, the system can assume that the friction factor is constant (f=0.0155). As such, hpipe is assumed to be proportional to the velocity of the water square.





  
    
      
        
          h
          pipe
        
        =
        
          0.0155
          ⁢
          
            
              L
              pipe
            
            
              2
              ⁢
              
                
              
              ⁢
              Dg
            
          
          ⁢
          
            V
            2
          
        
      
    
    
      
        [
        19
        ]
      
    
  




The pressure loss due to the 90-degree elbows or the valves in the system is calculated using the following formula:




  
    
      
        
          h
          elbow
        
        =
        
          
            h
            valve
          
          =
          
            
              f
              ⁢
              
                
                  L
                  eq
                
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  Dg
                
              
              ⁢
              
                V
                2
              
            
            =
            
              
                K
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  g
                
              
              ⁢
              
                V
                2
              
            
          
        
      
    
    
      
        [
        20
        ]
      
    
  




where K=0.39 for a two-inch, 90-degree regular radius, flanged elbow and Kopen=8.5 for an open two-inch flanged ball (globe) valve. The ratio of Kopen/K for a ball valve is shown in the following table











TABLE 1







Condition
Ratio Kopen/K









Open
1.0



Closed, 25%
1.5-2.0



Closed, 50%
2.0-3.0



Closed, 75%
6.0-8.0










FIG. 2, above, shows a graph of the sum of all of the system pressures (calculated based on Equation [21] below). As illustrated by the graph and equation [21], the system pressure is proportional to velocity squared.




  
    
      
        
          
            
              
                h
                total
              
              =
              
              ⁢
              
                
                  h
                  height
                
                +
                
                  h
                  pipe
                
                +
                
                  ∑
                  
                    h
                    elbow
                  
                
                +
                
                  ∑
                  
                    h
                    valve
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  0.0155
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    Dg
                  
                
                ⁢
                
                  (
                  
                    
                      L
                      pipe
                    
                    +
                    
                      L
                      elbowEq
                    
                    +
                    
                      L
                      valveEq
                    
                  
                  )
                
                ⁢
                
                  V
                  2
                
              
            
          
        
      
    
    
      
        [
        21
        ]
      
    
  




FIG. 5 illustrates the individual contributions of each of the head pressure values. As illustrated in FIG. 5, the greatest contributor to head pressure is the valve opening.

Comparing equation [21] to equations [11] and [13] shows:




  
    
      
        
          
            K
            p
          
          =
          
            
              0.0155
              
                2
                ⁢
                
                  
                
                ⁢
                Dg
              
            
            ⁢
            
              (
              
                
                  L
                  pipe
                
                +
                
                  L
                  elbowEq
                
                +
                
                  L
                  valveEq
                
              
              )
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            where
            ⁢
            
              
            
            ⁢
            
              K
              lc
            
          
          =
          
            
              K
              p
            
            
              η
              eff
            
          
        
      
    
    
      
        [
        22
        ]
      
    
  




As such, the Load Coefficient is a function of the system equivalent length, the pump and motor efficiency, and the pipe diameter where the dominate L is the LvalveEq. As such, the Load Coefficient is mostly proportional to the valve opening (i.e., the amount of blockage/entrapment).

The head height adds an offset to the system curve that, if not accounted for in the Load Coefficient calculation, results in a Load Coefficient that changes as a function of speed. The graph of FIG. 6 shows two system curves for a pump—one with a 10 foot head height and the other with a zero foot head height. As illustrated by the graph of FIG. 7, the Load Coefficient error increases as the height of the pump varies from zero.
Although the change in Load Coefficient as a function of speed varies less than the change in power as a function of speed, it is possible to eliminate any changes in the Load Coefficient due to changes in speed. To accomplish this, the controller of the system must account for the height of the system. The height can be determined through a calibration process using the following equations:

htotal=hheight+KpV2  [23]

Substituting into equations [24]-[26],





  
    
      
        P
        =
        
          
            
              1
              
                η
                eff
              
            
            ⁢
            
              (
              
                
                  h
                  height
                
                +
                
                  
                    K
                    p
                  
                  ⁢
                  
                    V
                    2
                  
                
              
              )
            
            ⁢
            V
          
          =
          
            
              
                h
                heightEq
              
              ⁢
              V
            
            +
            
              
                K
                lc
              
              ⁢
              
                V
                3
              
            
          
        
      
    
    
      
        [
        24
        ]
      
    
  
  
    
      
        
          K
          lc
        
        =
        
          
            P
            -
            
              
                h
                heightEq
              
              ⁢
              V
            
          
          
            V
            3
          
        
      
    
    
      
        [
        25
        ]
      
    
  




To find the hheightEq, the power is measured at two speeds, VHS and VLS. As such:




  
    
      
        
          K
          lc
        
        =
        
          
            
              
                P
                HS
              
              -
              
                
                  h
                  heightEq
                
                ⁢
                
                  V
                  HS
                
              
            
            
              V
              HS
              3
            
          
          =
          
            
              
                P
                LS
              
              -
              
                
                  h
                  heightEq
                
                ⁢
                
                  V
                  LS
                
              
            
            
              V
              LS
              3
            
          
        
      
    
    
      
        [
        26
        ]
      
    
  




and, solving for hheightEq:





  
    
      
        
          h
          heightEq
        
        =
        
          
            
              
                
                  (
                  
                    
                      V
                      HS
                    
                    
                      V
                      LS
                    
                  
                  )
                
                3
              
              ⁢
              
                P
                LS
              
            
            -
            
              P
              HS
            
          
          
            
              
                
                  (
                  
                    
                      V
                      HS
                    
                    
                      V
                      LS
                    
                  
                  )
                
                3
              
              ⁢
              
                V
                LS
              
            
            -
            
              V
              HS
            
          
        
      
    
    
      
        [
        27
        ]
      
    
  




For example, if VHS=1 pu and VLS=1⁄4 pu then,




  
    
      
        
          h
          heightEq
        
        =
        
          
            
              
                64
                ⁢
                
                  
                
                ⁢
                
                  P
                  LS
                
              
              -
              
                P
                HS
              
            
            
              
                64
                ⁢
                
                  
                
                ⁢
                
                  V
                  LS
                
              
              -
              
                V
                HS
              
            
          
          =
          
            
              1
              15
            
            ⁢
            
              (
              
                
                  64
                  ⁢
                  
                    
                  
                  ⁢
                  
                    P
                    LS
                  
                
                -
                
                  P
                  HS
                
              
              )
            
          
        
      
    
    
      
        [
        28
        ]
      
    
  




A Load Coefficient that accounts for pump height can be found using equation [27] to find the pump height through the high-speed/low-speed calibration process and then substituting the result into equation [25].
Thus, the invention provides, among other things, systems and methods for detecting an entrapment event based on Load Coefficient and a current/torque profile. As outlined above, system calibration can be performed in order to alleviate the variation expected in Load Coefficient at different speeds due to head height difference. However, Load Coefficient can also be used in entrapment detection without calibration for head height as long as an appropriate speed ramp and trip threshold are selected due to the relatively constant value of the Load Coefficient due to speed as compared to the change in Load Coefficient due to entrapment events. Various features and advantages of the invention are set forth in the following claims.

## Claims

1. A pump monitoring system, comprising a controller configured to:
determine a first value for motor power, the first value for motor power indicative of pump performance;
determine a second value, the second value indicative of at least one selected from the group consisting of a liquid velocity and a motor speed;
calculate a pump load coefficient to produce a calculated pump load coefficient, the calculated pump load coefficient based at least in part on the first value and the second value;
filter the calculated pump load coefficient using a first time constant to produce a filtered pump load coefficient;
filter the calculated pump load coefficient using a second time constant to produce a filtered floating threshold value, the second time constant being greater than the first time constant;
compare the filtered pump load coefficient with the filtered floating threshold value;
detect a blockage of a drain based on a comparison of the filtered pump load coefficient and the filtered floating threshold value;
adjust an operation of the pump based on the detected blockage, and
wherein the controller is further configured to
calculate a difference between the calculated pump load coefficient for a first cycle and a previous pump load coefficient calculated for a previous cycle a first defined number of cycles before the first cycle, the first defined number of cycles being greater than one, and
detect a blockage of the drain when the difference traverses a threshold for a second defined number of cycles.

2. The pump monitoring system of claim 1, wherein the pump load coefficient is calculated based on the equation:


Klc=P/V3 

where Klc is the pump load coefficient, P is the first value indicative of the motor power of the pump, and V is the second value indicative of liquid velocity.

3. The pump monitoring system of claim 1, wherein the value of the pump load coefficient is calculated based at least in part on a head pressure of the pump system.

4. The pump monitoring system of claim 1, wherein the controller is calibrated for a specific pump system to account for the head pressure of the pump system.

5. The pump monitoring system of claim 4,
wherein the controller is configured to calculate the pump load coefficient based on the equation:





  
    K
    lc
  
  =
  
    
      P
      -
      
        
          h
          heightEq
        
        ⁢
        V
      
    
    
      V
      3
    
  



where Klc is the pump load coefficient, P is the first value indicative of the motor power of the pump, V is the second value indicative of liquid velocity, and hheighteq is a calibrated constant determined for a specific pump system.

6. The pump monitoring system of claim 5, wherein the calibrated constant is experimentally determined from an equality of the pump load coefficients for at least two operating points by
determining a third value indicative of motor power for the specific pump system at a first water speed,
determining a fourth value indicative of motor power for the specific pump system at a second liquid speed, and
solving for hheighteq.

7. The pump monitoring system of claim 1, wherein the controller is further configured to detect a blockage of the drain by
determining a difference between the calculated pump load coefficient and a previously calculated pump load coefficient; and
comparing the difference to a threshold.

8. The pump monitoring system of claim 7, wherein the previously calculated pump load coefficient is not the immediately previously pump load coefficient calculated by the controller.

9. The pump monitoring system of claim 1, wherein the controller is further configured to
determine a current of the motor;
determine a speed of the motor;
determine, based on a look up table stored in a memory, an expected current corresponding to the determined speed; and
detect a blockage of the drain when the current of the motor is less than the expected current corresponding to the determined speed for a second defined number of cycles.

10. The pump monitoring system of claim 1, wherein the controller includes a processor and a memory, the memory storing instructions that, when executed by the processor, cause the processor to detect a blockage of the drain.

11. The pump monitoring system of claim 1, wherein the liquid holding tank includes a swimming pool.

12. The pump monitoring system of claim 1, wherein, the second defined number of cycles is less than or equal to the first defined number of cycles.

13. A method of monitoring a pump for a blockage condition, the method comprising:
determining a value indicative of pump performance;
calculating a pump load coefficient for a first cycle to produce a first calculated pump load coefficient, the calculated pump load coefficient based at least in part on the value indicative of pump performance, wherein a value of the pump load coefficient is calculated based on a ratio of motor power to water velocity and is indicative of a blockage of a drain in a liquid holding tank, the drain being coupled to an input of the pump;
calculating a difference between the first calculated pump load coefficient and a previous pump load coefficient calculated for a previous cycle a first defined number of cycles before the first cycle, the first defined number of cycles being greater than one; and
detecting a blockage of the drain when the difference is less than a threshold for a second defined number of cycles, the threshold being less than or equal to zero; and
adjusting an operation of the pump based on the detected blockage.

14. The method of claim 13, wherein the second defined number of cycles is less than or equal to the first defined number of cycles.

15. A method of monitoring a pump for a blockage condition, the method comprising:
determining a first value for motor power, the first value indicative of pump performance;
determining a second value, the second value indicative of at least one selected from the group consisting of a liquid velocity and a motor speed;
calculating a pump load coefficient to produce a calculated pump load coefficient, the calculated pump load coefficient based at least in part on the first value and the second value;
filtering the calculated pump load coefficient using a first time constant to produce a filtered pump load coefficient;
filtering the calculated pump load coefficient using a second time constant to produce a filtered floating threshold value, the second time constant being greater than the first time constant;
comparing the filtered pump load coefficient with the filtered floating threshold value;
detecting a blockage of a drain based on a comparison of the filtered pump load coefficient and the filtered floating threshold value;
calculating a difference between the calculated pump load coefficient for a first cycle and a previous pump load coefficient calculated for a previous cycle a first defined number of cycles before the first cycle, the first defined number of cycles being greater than one; and
detecting a blockage of the drain when the difference traverses a threshold for a second defined number of cycles, the threshold being less than or equal to zero; and
adjusting an operation of the pump based on the detected blockage.

16. The method of claim 15, wherein the pump load coefficient is calculated based on the equation:


Klc=P/V3 

where Klc is the pump load coefficient, P is the value indicative of the motor power of the pump, and V is the second value indicative of liquid velocity.

17. The method of claim 15, wherein the value of the pump load coefficient is calculated based at least in part on a head pressure of the pump system.

18. The method of claim 15, wherein the pump load coefficient is calculated based on the equation:


Klc=(P−hheighteq*V)/V3 

where Klc is the pump load coefficient, P is the value indicative of the motor power of the pump, V is the value indicative of at least one selected from the group consisting of liquid velocity and motor speed of the pump, and hheighteq is a calibrated constant determined for a specific pump system.

19. The method of claim 18, further comprising experimentally determining the calibrated constant from an equality of the pump load coefficients for at least two operating points by
determining a third value indicative of motor power for the specific pump system at a first water velocity,
determining a fourth value indicative of motor power for the specific pump system at a second liquid velocity, and
solving for hheighteq.

20. The method of claim 15, wherein the blockage of the drain is determined by
determining a difference between the calculated pump load coefficient and a previously calculated pump load coefficient; and
comparing the difference to a threshold.

21. The method of claim 20, wherein the previously calculated pump load coefficient is not the immediately previously pump load coefficient calculated by the controller.

22. The method of claim 15, further comprising
determining a current of the motor;
determining a speed of the motor;
determining, based on a look up table stored in a memory, an expected current corresponding to the determined speed; and
detecting a blockage of the drain when the current of the motor is less than the expected current corresponding to the determined speed for a second defined number of cycles.

23. The method of claim 15, wherein the second defined number of cycles is less than or equal to the first defined number of cycles.