Patent ID: 8065096

Claim:
A method of detecting an occlusion in an infusion pump having a drive mechanism that includes a motor and one or more drive train components coupled to a reservoir for delivering fluid from the reservoir through a fluid path into a body of a user, the method comprising: taking a series of measurements of a parameter associated with the motor or one of the drive train components; calculating a weighted average of the series of measurements by applying a weighting factor to each measurement in the series of measurements to determine a weighted value corresponding to each said measurement and calculating the average of the weighted values, the weighting factor applied to each said measurement after the first measurement being larger than the weighting factor for the immediately preceding measurement in the series of measurements; determining the drive count of the motor; determining a drive count value based on the drive count of the motor; calculating a maximum threshold value based on the drive count value; comparing the weighted average to the maximum threshold value; and determining whether an occlusion has occurred in the fluid path of the infusion pump by determining whether the weighted average is greater than the maximum threshold value.