AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

What a fieldbus command update rate decides for servo axes

Servo and stepper motion Published 8 min read By AutomateDirectUSA engineering team

Short answer

The bus cycle period, not the controller, sets what a servo axis can do over a fieldbus. A 2 ms cycle samples commands at 500 Hz, so any loop closed through the bus should cross over near 50 Hz or below. That makes position setpoints to the drive the default architecture, torque command a single-axis option for modest axes, and analog wiring the path for demanding ones, while setpoint resolution comes from the drive's object data width, not the bus.

On this page
  1. What the cycle period sets
  2. The delay rule, with the arithmetic
  3. Where the documented loop rates sit
  4. The four architectures compared
  5. Worked example: a 3000 rpm axis
  6. Resolution is a data-width question, granularity a cycle question
  7. Commissioning checks before loading the axis
  8. The decision for each case
  9. Questions asked

The bus cycle period, not the motion controller, decides what a servo axis can do over a fieldbus. A cycle of 2 ms samples the command link at 500 Hz, and the delay in that link holds any feedback loop closed through it near 50 Hz of crossover or below. That one number sorts the four ways to command a servo drive: position setpoints to the drive, which closes its own loops, the default; torque command with the encoder wired to the controller, good for one modest axis; actual values read back through the link, fit for monitoring but not for a loop; and analog command plus encoder wiring when the axis needs real bandwidth. Position resolution over the bus is a separate question with a separate answer: the data width of the drive's setpoint object, not the bus. The numbers, the rule and the decision for each case follow.

What the cycle period sets #

A fieldbus link for motion carries cyclic process data: command values out to the drive, actual values back to the controller, refreshed on a fixed period configured in the bus master. That period is the sample time of everything that crosses the link. A command written by the controller waits for the next cycle to leave, and the drive applies a received value at its own next cycle boundary, so even a one-way command sits behind the link by at least one cycle, and by two or three once sampling, transmission, computing and application each take their turn. The controller's processor speed does not change this; the link's period does. Whatever loop you close across the link inherits the link's period as its sample time and its delay as dead time in the loop.

The delay rule, with the arithmetic #

Transport delay costs phase in proportion to frequency: at a loop crossover of f in hertz, dead time of T in seconds costs 360 × f × T degrees of phase. No gain adjustment recovers phase that the signal has not had time to acquire, which is why delay cannot be tuned away. The working rule of thumb for sampled control links is to keep the crossover of a loop closed through the link at or below one tenth of the link's sample rate.

Applied to the cycle from the introduction, the rule puts the ceiling near 50 Hz. One cycle of pure transport delay at that crossover costs 360 × 50 × 0.002 = 36 degrees of phase. Stack the sampling, transmission and application turns a real link adds, up to three cycles, and the lag reaches 108 degrees, which leaves an otherwise ideal loop at most 72 degrees of phase margin at that crossover before the mechanics and filters take their share. A loop closed through the link is a tens-of-hertz loop, whatever sample rate the controller's own servo card runs at.

Where the documented loop rates sit #

Drive documentation states the rates its loops run at. Beckhoff's servo control documentation describes the position loop as the outermost and slowest of a drive's loops, typically updating at 500 Hz to 4000 Hz. Current loops run faster still; an application note from Texas Instruments argues that current-loop bandwidth is among the clearest performance payoffs in servo drive design. A millisecond-class link samples commands at a rate that only reaches the floor of the documented position-loop range and never the rates the inner loops need.

Set against the tens-of-hertz ceiling for a loop closed through the link, the architecture decides itself: velocity, current and position loops belong inside the drive, and the link carries setpoints and status. Where a loop closes is a property of the drive's control structure rather than of the network; the article where the position loop closes in an Ultra 200 servo drive traces one drive's layout end to end.

The four architectures compared #

Architecture What crosses the link Loop closed in Limit at this cycle time
Position setpoints to the drive target position values the drive, off the link setpoint granularity between updates, covered by drive interpolation
Torque command, encoder wired to the controller torque reference, outbound only the controller crossover capped in the tens of hertz; suits one modest axis
Feedback and command both through the link actual values in, command values out the controller, through the link delay in both directions; weakest for a loop, normal for monitoring
Analog command, encoder wired nothing digital the controller no link delay in the loop; needs an analog input and an encoder output on the drive

Position setpoints to the drive is the default. The drive closes position, velocity and current loops internally at their documented rates, and the link period only sets how often the trajectory refreshes; the drive interpolates between targets. You tune the drive, not the network.

Torque command with the encoder wired to the controller moves the loop closure into the controller, and the torque reference crosses the link, so the tens-of-hertz ceiling applies to the loop that command serves. Reported single-axis installations have run this arrangement successfully on axes with modest bandwidth demands. The cyclic telegram that carries a torque reference also has a layout of its own; why Telegram 750 torque control on an S7-1200 G2 needs its own example works through one controller-drive pairing.

Reading actual values back through the link and commanding through it too puts delay in both directions of a loop closed in the controller. For feedback it is the weakest arrangement of the four; for monitoring, logging and sequencing it is simply normal operation.

Analog command plus encoder wiring crosses nothing digital, so the link adds no delay to the loop at all. It costs the wiring and a drive that exposes an analog input and an encoder output, and it is the arrangement to reach for when the axis needs bandwidth.

Worked example: a 3000 rpm axis #

Every number below is a calculated example for these inputs, not a measured result. Inputs: link cycle 2 ms; motor speed 3000 rpm; position setpoint object 24 bits wide, scaled at 16,777,216 counts per motor revolution — an example scaling; read the real width and scaling from the drive's object table.

  • Command sample rate: f = 1/T = 1 / 0.002 s = 500 Hz.
  • Crossover ceiling for a loop closed through the link, by the one-tenth rule: 500 Hz ÷ 10 = 50 Hz.
  • Shaft rotation between updates: 3000 rpm ÷ 60 = 50 rev/s, and 50 rev/s × 0.002 s = 0.1 rev per update, which is 36 degrees of shaft rotation.
  • Setpoint fineness: 360 degrees ÷ 16,777,216 counts = 0.0000215 degrees per count.
  • Counts swept per update step at speed: 0.1 rev × 16,777,216 counts per rev = about 1,677,722 counts.

At 3000 rpm the shaft sweeps past about 1,677,722 counts of the 24-bit object between two updates, so at speed the cycle period, not the object width, sets how smooth the commanded trajectory is — unless the drive interpolates between targets, which its manual states. At standstill the object resolves 0.0000215 degrees per count, about 0.077 arcseconds, finer than any mechanical stage on such an axis resolves. The width is almost never the limit; the cycle and the interpolation are.

Resolution is a data-width question, granularity a cycle question #

Two limits get confused here. Resolution is the smallest position change the setpoint can express: the object's data width combined with the counts-per-revolution scaling, carried through the mechanics to a step size at the load. Both numbers live in the drive's object or parameter table for the position target, and nowhere else; the bus standard fixes neither. Granularity is how far the axis travels between updates — cycle time times speed — and the cure for coarse granularity is drive interpolation between setpoints, not a wider object. An axis that loses position between moves on pulse command fails for different reasons entirely; why a pulse-command servo axis loses position between moves separates those causes.

Commissioning checks before loading the axis #

Run these checks with the motor uncoupled from the load:

  • In torque mode, command a small torque and confirm sign and scaling, then confirm the encoder count direction agrees with the torque direction. Opposite signs turn a stable loop into a runaway the moment it closes.
  • In setpoint mode, step the target and confirm the reported actual position matches after settling, then run a slow constant-velocity move and watch velocity feedback for staircase ripple, which means the drive is not interpolating between setpoints.
  • Watch the bus diagnostics for lost or late cycles throughout; a missed update is a transport-delay spike injected straight into whichever loop touches the link.
  • Set the drive's communication-loss watchdog so a dropped frame removes torque instead of freezing it, and raise gains from a low, stable start under the machine's own risk assessment and safeguarding.

The decision for each case #

Commit by the command modes the drive accepts and how fast the axis must respond:

  • Point-to-point and moderate profile moves on a capable position drive: send position setpoints over the link, tune the drive, and leave every loop inside it. This is the default for a link of this cycle time.
  • One modest-bandwidth axis where the controller must own the loop and the drive exposes an encoder output: torque command over the link, crossover held in the tens of hertz, gains raised slowly.
  • A stiff axis, tight following error, high bandwidth: take the loop off the link with an analog command and the encoder wired to the controller. Choosing among drives that accept an analog command is its own task; finding a servo drive that accepts a 10V analog command works through it. A faster bus raises the same ceiling by the same one-tenth rule rather than removing it.
  • Monitoring, jog, sequencing and logging: actual values through the link at this pace are ordinary and useful; never let one of those sampled values become the measured variable of a closed loop.
  • Several third-party axes to synchronize tightly from one controller: the bus family itself becomes part of the architecture, not just its cycle time; why ctrlX MOTION needs EtherCAT for third-party axes covers that side of the choice.

The number to carry away is the link's sample rate and one tenth of it. Every other choice above follows from that division.

Questions asked

Does a faster fieldbus remove the crossover limit?

It moves the limit instead of removing it. The same one-tenth rule applies to whatever cycle the link runs. For example, a 250 microsecond cycle samples commands at 4 kHz, which puts the ceiling for a loop closed through that link near 400 Hz, enough for many demanding axes. Setpoint-to-drive control keeps its advantage either way, because the drive closes its own fast loops no matter what the bus cycle is.

How do I find a setpoint's real resolution over the bus?

Take it from the drive's documentation, not from the bus standard. The object or parameter table for the position target states the data width of the setpoint and its scaling in counts per revolution. The count range over the scaling gives the smallest step at the motor shaft; carry that step through the gearbox reduction and the screw pitch to a step at the load, and compare it with the accuracy the machine needs.

Is torque command over the bus worth setting up at all?

For one modest-bandwidth axis where the controller must own the position loop and the drive offers no position-setpoint mode, yes: reported single-axis installations have run this way at cycle times of this class, with the encoder wired directly to the controller. For multi-axis machines or stiffly tuned axes, the same tens-of-hertz ceiling applies, so position setpoints to the drive or an analog command is the stronger choice.

Can a controller tune its way around the bus delay?

No. Phase lag from transport delay grows with frequency, so raising the loop gain pushes the crossover up into the region where the delay consumes more margin, and the axis begins to hunt or oscillate. The fixes are structural: lower the crossover to fit the delay, close the loop inside the drive instead, or take the feedback off the bus and wire the encoder to the controller directly.

Is reading position back through the bus still useful?

Yes, for everything except closing a loop through it. Actual position, status and diagnostic values refreshed every cycle serve operator displays, sequencing logic, logging and monitoring, all of which tolerate tens of milliseconds of latency. The limit applies only when the sampled feedback becomes the measured variable of a feedback loop, and none of those uses is one.

Keep reading

  • Comparison

    Brushless AC Servo Position Control and Holding Torque for a Lathe

    A brushless AC servo matches brushed DC accuracy on a lathe axis when the drive commutates sinusoidally, runs in torque mode with a motor-mounted encoder, and sits behind a reduction. It holds by active current through the position loop within the continuous stall rating, and a brake covers power-off hold.

    Servo and stepper motion

  • Troubleshooting

    Diagnosing Servo Axis Position Drift in the Drivetrain

    The drift is lost motion between the motor encoder and the load: the position loop closes at the motor shaft, so the gearbox, coupling, pulleys and belt sit outside it. Split motor-reported position from an independently measured load position at one reference with witness marks on every hub. A one-direction offset that grows for hours while the motor reads on target is index loss — slip or jumped teeth — until the marks prove otherwise.

    Servo and stepper motion

  • Troubleshooting

    Why a pulse-command servo axis loses position between moves

    A pulse-command servo that runs smoothly but lands at the wrong coordinate is losing, duplicating or mistiming step edges in the command path, not failing in the servo loop. Match step polarity, pulse width and direction prechange to the drive manual's input timing, then prove the fix with a dial indicator over 100 cycles of a repeated 100 mm move.

    Servo and stepper motion