Home / Case Studies / A Heart-Lung Machine That Has to Beat: Torque Ripple and Pulsatile Flow

Technical note

A Heart-Lung Machine That Has to Beat: Torque Ripple and Pulsatile Flow

A heart-lung machine's blood pump is a roller pump: rollers squeeze a tube, the tube refills, the next roller squeezes again. The load is not a smooth torque — it rises as a roller climbs onto the tube and falls as it leaves, once per roller, several times per revolution. On top of that the machine has two modes. In constant-flow mode the speed must be so steady that a surgeon watching the tubing cannot see it change. In pulsatile mode the speed must rise and fall on a programmable cycle to imitate a heartbeat, and the switch between the two modes must not produce a torque step. Both modes run on one drive, over Modbus-RTU, at speeds as low as 0.5 rpm.

0.5 rpmroller pump speed
2.5 Hzpulse rate
14 msbus sag ride-through

Drive used in this class of machine: UF series · not sure which? five questions →

Roller pump head of a heart-lung machine moving perfusate through tubing
Illustrative: the roller pump head of a heart-lung machine. The drive runs the pump head directly, at speeds from half a revolution per minute upward.

Why this load is harder than its ratings suggest

The motor is a low-speed, high-torque servo driving the pump head directly — no gearbox, so nothing filters the ripple. Continuous current is 7.5 A on the brushed variant and 10 A on the brushless one, with 3.8 N·m rated torque and a maximum of 125 to 250 rpm depending on the motor. The drive is a standard UF-48V15AMDN on Modbus-RTU with a 2500-line differential ABZ encoder. Nothing in that list is exotic. What makes it hard is the operating point: at 0.5 rpm the encoder produces very little information per control cycle, and the tube's compression ripple arrives as a torque disturbance at exactly the frequency the speed loop is trying to reject.
ItemValueConsequence
Motor, brushed250 rpm max, 7.5 Arms continuous, 3.8 N·mDirect drive, no gearbox to smooth ripple
Motor, brushless125 rpm max, 10 Arms continuous, 16 pole pairsHigher torque per amp, more cogging to compensate
Encoder2500 line differential ABZAt 0.5 rpm, few counts per cycle
BusModbus-RTUCycle time is not the bottleneck; the profile is
Lowest working speed0.5 rpmAbout 10 ml per revolution of the pump head

Problem one: the speed steps when a roller climbs onto the tube

At first the pump ran evenly and then jerked each time a roller compressed the tube — visible on the tubing, audible in the room. The cause was not a tuning error. The load torque changes within a revolution, and a speed loop alone cannot cancel a disturbance it only sees after the fact. What fixed it was torque ripple compensation: we characterised the ripple against rotor position, stored it as a compensation table, and fed it forward so the current loop pre-empts the load instead of reacting to it. The same table is what keeps the speed flat at 0.5 rpm, where a reactive loop has the least information to work with.

Problem two: a pulse that had to be programmable by a clinician

Pulsatile mode is a three-stage speed profile: a base speed, a rise, a peak, a fall, back to base. The clinician sets two things that matter — the pulse rate and the pulse width — and expects the flow to follow. We built the cycle from the drive's multi-segment mode, with the acceleration and deceleration ramps held fixed and the pulse width carried by the dwell at peak. At 2.5 Hz and 30% width the arithmetic is a 400 ms period, 280 ms at base speed and 120 ms in the pulse. Measured on the bench the period came out at 420 ms: the segment transition was waiting on the measured speed to reach its threshold, and that lag moved the beat. Switching the transition condition to the observer-estimated speed brought the period back onto the setpoint.
ParameterSettingResult
Pulse rate2.5 Hz (400 ms period)420 ms measured before the fix, on setpoint after
Pulse width30%120 ms in the pulse, carried by the dwell at peak
Base speed10 rpmFlow baseline between beats
Peak speed50 rpmSet by the clinician, not by the drive
Transition conditionObserver speed, not measured speedRemoved the beat-to-beat jitter

Problem three: switching modes without a torque step

The original implementation ran constant flow in speed mode and pulsatile flow in multi-segment mode, and switched between them when the clinician pressed a button. Bench traces showed the current command stepping at the switch — a torque step, and therefore a speed step, which is exactly what the machine must not do during a procedure. The cause was a mode change that restarted the profile while the motor was still turning. The fix was structural: constant flow became a segment inside the same multi-segment program, with a zero-amplitude pulse, so the two modes are the same program with different parameters and switching is a parameter write rather than a mode change.

Problem four: a blocked tube has to stop the motor, not reset the drive

When the line occludes, the pump keeps pushing and the 48 V rail collapses. On the first build the drive reset from undervoltage and the motor turned backwards before anyone could react — on a heart-lung machine that is not an acceptable failure. The bench measurement explained it: the rail fell in about 14 ms, and the drive's bus filter is two seconds wide, so a software undervoltage alarm can never win that race. We lowered the alarm threshold from 12 V to 19 V so the drive reacts earlier, and the machine builder added a comparator on its own board that fires an IO emergency stop the moment the rail drops. The drive was configured to brake to a hold rather than coast, so the pump stays locked instead of being pushed backwards by the pressure in the line.
MeasureBeforeAfter
Undervoltage alarm threshold12 V19 V, ahead of the hardware protection
Rail collapse time measured14 msFaster than any software filter can catch
Trip pathDrive resets, motor reversesExternal comparator to IO emergency stop, motor holds
Stop behaviourCoastBrake to hold, shaft locked against line pressure

One more thing that mattered on the HMI

The machine's touchscreen showed a speed trace that looked noisy, and the customer read that as the drive being unstable. It was the measurement method: the register they were reading reports speed by counting pulses over a window, which is coarse at low speed. Pointing the display at the observer-estimated speed instead — a model-based estimate that does not depend on counting edges in a short window — produced a trace that matched what the pump was actually doing. Same motor, same tuning, different number on the screen.

Key takeaways

Common questions

Why not just use a bigger drive and more inertia?

Because the disturbance is periodic and known, not random. Inertia would average it out at the cost of response, and this machine needs the opposite — a pump head that follows a pulse shape within a few tens of milliseconds. Feedforward cancellation against a characterised ripple table removes the disturbance without adding inertia.

Can the same drive run both a brushed and a brushless pump motor?

Yes, and this project did exactly that while the machine builder decided which motor to standardise on. The compensation tables differ because the ripple sources differ — commutation on the brushed motor, cogging and pole count on the brushless one — so the tables are part of the configuration, not the firmware.

Is a 48 V bus appropriate for a medical pump?

For a direct-drive pump head at these speeds, yes: the safety extra-low voltage simplifies the isolation requirement and the current needed for 3.8 N·m at low speed is well within what the drive delivers continuously. It also means the drive and the pump can share an enclosure without a transformer.

What still needs work on this project?

The ripple compensation is characterised on one tube; different tube diameters will need their own tables, and a table characterised without a tube fitted does not transfer perfectly to a loaded one. That is a characterisation task per tube type, not a control problem.

What happens next

You have seen the numbers for one project. Mine would be built around yours — the five stages say what I need from you at each one.

Tell me your version of this problem

Three fields. The 81-page catalog goes to your inbox immediately; my own reply follows within a working day. The catalog is automatic — the answer is not.

Written by Jintao Chen, Sales Engineer at XActant. If this raised a question about your specific machine, send me the details — I answer these myself.