A four-phase proportional-integral-derivative (PID) controller was evaluated under the extremely unstable conditions of liver transplantation. Vecuronium was delivered to achieve 80%-90% neuromuscular blockade as measured by electromyogram (EMG). The first two controller phases delivered boluses and a constant infusion calculated to rapidly achieve setpoint, followed by a proportional-derivative (PD) phase at 35% from setpoint, and PID within 10% of the setpoint. During liver transplantation, the sources of system instability included large blood losses, temperature changes, and loss of hepatic drug metabolism during removal and replacement. During prolonged surgery, and when blood losses were not severe, the EMG remained within 10% of setpoint. Controller performance was more variable during system instability. Plasma sampling and two-compartment modelling of the infusion and response with a weighting factor for blood loss allowed estimation of the sources and degree of instability for improved design of future controllers.