How-to
Setting Up Servo Electronic Gearing With Registration Correction
Short answer
Gear the folder servo to the web encoder with one fixed electronic gear ratio and apply registration error as a bounded phase trim ramped across the 100 to 200 ms between corrections. At 150 m/min a 0.1 mm tolerance is 40 microseconds of web travel — about eight 0.0127 mm increments — so doubling or halving a pulse train for six pulses trips following error, while a ramped trim changes speed by 0.04 percent.
On this page
- How do I gear the folder servo to the web encoder?
- How fast does the correction need to be at 150 m/min?
- Can I double or halve the pulse frequency for six pulses?
- How should the registration trim be applied instead?
- What must the drive or controller support?
- How do I size the servo before setting any ratio?
- How do I commission the axis step by step?
- Questions asked
Gear the folding servo to the web encoder with one fixed electronic gear ratio, and apply the registration error as a bounded phase trim — never as bursts of extra or missing command pulses. At the machine's 150 m/min, web speed is 2.5 m/s, a 350 mm repeat passes at 7.14 repeats per second, and the 0.1 mm registration tolerance equals 40 microseconds of web travel. The registration system's corrections arrive 5-10 times per second, so the trim is small and slow relative to the motion; what breaks axes is changing commanded speed abruptly, which is exactly what doubling a pulse frequency for six pulses does. The sections below give the ratio math, the trim math, the capability the drive or controller must have, and a commissioning order with pass checks.
How do I gear the folder servo to the web encoder? #
Set one fixed electronic gear ratio in the servo drive so the folding axis completes exactly one fold cycle per repeat of web travel; for a 350 mm repeat with the example scale below, that is 3584 master pulses per 5 motor revolutions.
The web encoder is the master, the folding servo is the follower — the same structure described for following a master axis with a stepper traverse, applied to a continuous web. Because this machine's spirals, cams and guide chute are mechanically linked, one geared servo reproduces the whole fold cycle and the linkage preserves the internal timing; only the average ratio and the phase need control. Drive manuals document the electronic gear as the standard tool for this job — Omron's servomotor technical explanation lists synchronizing the position and speed of two axes as its purpose, and Mitsubishi's AC servo school text covers setting the gear numerator and denominator.
Worked example, calculated with illustrative inputs — substitute your measured roller travel and encoder resolution:
- Web travel per encoder revolution: 200 mm.
- Encoder: 2048 pulses per revolution, giving 2048 ÷ 200 = 10.24 pulses per millimetre.
- Fold: one per 350 mm repeat; the folding cam shaft turns 1 revolution per fold.
- Motor to cam shaft reduction: 5:1, chosen in the sizing section.
Master pulses per repeat: 10.24 × 350 = 3584. The servo must turn 5 revolutions per repeat, so the gear is set to 3584 command pulses per 5 motor revolutions — 716.8 per motor revolution, entered as a fraction so the fold lands exactly. At full speed the cam shaft turns 2500 ÷ 350 = 7.14 revolutions per second and the motor 7.14 × 5 × 60 = 2143 rpm.
How fast does the correction need to be at 150 m/min? #
At 150 m/min — 2.5 m/s of web — the 0.1 mm registration tolerance equals 40 microseconds of web travel, about eight of the registration system's 0.0127 mm increments, and corrections arrive every 100 to 200 ms at the stated 5 to 10 per second.
That number converts tolerance to time; it is not a demand that anything execute in 40 microseconds. Fixed latency in mark detection and processing shows up as a constant phase offset you trim out once; only latency that varies with speed builds a growing error. The corrections themselves are slow by servo standards: one per repeat at most, since a repeat passes every 140 ms.
Two scale facts decide the trim design. First, one master pulse is worth 1 ÷ 10.24 = 0.098 mm of web, so a single registration increment is about one-eighth of a master pulse — a trim injected as whole command pulses cannot resolve the tolerance and must be applied in the drive's internal position units. Second, the master stream runs 10.24 × 2500 = 25,600 pulses per second at full speed, comfortably within a hardware input, and the reason the encoder feeds a counter or drive input as covered for counting encoder pulses on a PLC without losing position.
Can I double or halve the pulse frequency for six pulses? #
No: doubling the full-speed command stream for six pulses asks the motor to step from 2143 to 4286 rpm within 117 microseconds — roughly 1.9 million rad/s² in this example — and the drive faults on following error long before the fold moves.
The arithmetic, using the example axis: six pulses at doubled frequency last 6 ÷ 51,200 = 117 µs. During that window commanded speed is twice nominal, so the motor must gain 2143 rpm = 2143 × 2π ÷ 60 = 224 rad/s inside 117 µs, which is 224 ÷ 0.000117 ≈ 1.9 × 10⁶ rad/s². With an illustrative rotor inertia of 1 × 10⁻⁵ kg·m² — before any reflected load — that acceleration alone demands 1.9 × 10⁶ × 1 × 10⁻⁵ ≈ 19 N·m. The step back down at the end of the burst is the same size again.
The failure is structural. A frequency burst is a speed command; registration needs a position change. Halving the frequency for six pulses is the identical step downward, with the same fault. If some motion function executes those six pulses as a bounded, synchronized position offset, it has become the phase trim of the next section — so use the trim directly.
How should the registration trim be applied instead? #
Apply each correction as a phase offset in the drive's or controller's position domain, ramped across the interval between corrections: 0.1 mm spread over 100 ms changes commanded speed by 0.04 percent, under 1 rpm on the example motor, which the axis absorbs without losing sync.
Convert the measured error to command units once — 0.1 mm of error is 0.1 × 10.24 = 1.024 master-pulse equivalents — and write it as an offset in the drive's position units. Ramped across the 100 ms between corrections, 1.024 pulses is 10.24 Hz added to a 25,600 Hz stream. That is the entire disturbance.
Bound the trim explicitly: cap a single correction at the tolerance and let corrections land no faster than the registration system issues them. Keep base ratio and trim as separate adjustments — commission the ratio with trim disabled, then enable trim — so a ratio error never hides inside phase correction. If the drive has a registration or cam-phase input, use it; if the trim comes from an upstream controller, that controller must write the offset without breaking the gear relationship.
What must the drive or controller support? #
The drive needs a master-encoder input rated above your full-speed master frequency, a fractional electronic gear, and a registration or cam function that shifts phase without dropping the gear; if any of the three is missing, put a motion controller between encoder and drive.
Check four items against the documentation of the exact part:
- Master input: pulse or encoder input rated above your full-speed master frequency, with margin for overspeed.
- Fractional gear: numerator and denominator entry, so fractional command-pulses-per-revolution values land exactly rather than rounded.
- Phase trim while geared: a registration, cam or phase-offset function that moves the follower relative to the master without leaving the gear.
- Documented position units: a count scale in which a trim increment is a number you write, not a derived guess.
If the amplifier cannot trim while geared, a motion controller or positioning module takes the encoder as master and generates the follower command — the wiring questions are those covered for wiring the encoder to the controller for robot conveyor tracking. Verify from the module's documentation that it gears continuously and applies registration as a synchronized offset; the product family name alone establishes neither. Master counts must be captured in hardware: PC-polled remote I/O cannot count encoder pulses, so the pulse train goes to a drive or counter input, never through a polled bus.
How do I size the servo before setting any ratio? #
Confirm four numbers from the datasheets before touching parameters: motor rated speed against the 2143 rpm the example ratio demands, feedback resolution, reflected load inertia against the drive's recommended inertia ratio, and the drive's programmable following-error limit.
Speed: 2143 rpm on a 3000 rpm motor is 71 percent of rating. Trim consumes almost none of the remaining margin, so the headroom is really for shorter fold lengths and overspeed. Inertia and torque: the fold cycle is reciprocating, so peaks come from the mechanism, not the average speed; build the load model from the cams, spirals and chute, and keep the reflected inertia within the ratio the drive documentation recommends. Thermal: run the real cycle and read the drive's load-factor or thermal monitor instead of extrapolating. The following-error limit from the drive manual becomes the pass criterion at commissioning.
How do I commission the axis step by step? #
Commission in this order — mechanics, master, gear, latency, trim, acceptance — where each step has a pass check, and the axis never receives trim until the base ratio has held phase for at least 60 seconds.
- Verify the mechanics with the drive disabled: rotate the folding shaft through one full cycle and confirm cam, spiral and chute timing against the machine's assembly marks. Lock out the machine and prove zero stored energy before reaching into the drivetrain, and treat running with a guard open as a risk-assessment decision, never a commissioning shortcut.
- Master only, at 10 percent line speed: confirm encoder counts — over ten repeats the example scale predicts 10 × 3584 = 35,840 pulses — and that the print marks and the machine's reference sensor report cleanly.
- Gear only, trim disabled, at 10 to 20 percent speed: watch fold-to-print phase for at least 60 seconds. A steady drift means the ratio is off — at drift D mm per minute and web speed v in mm/s, the ratio error is D ÷ (60 × v) — so correct the fraction; never trim out a ratio error.
- Calibrate fixed latency: measure phase at two speeds. The constant part is a once-off offset; a speed-proportional part is timing skew to fix in hardware or scaling.
- Enable trim, capped small: start at one registration increment per correction and raise the cap until the registration error holds inside the tolerance at full speed. If the error alternates sign and grows, halve the trim per correction.
- Full-speed acceptance with a trace: log registration error, trim command and following error. Pass when registration stays within 0.1 mm, following error keeps margin under the drive's limit, and the trim output shows no sustained one-direction activity at constant speed — that would mean the ratio is still wrong.
Questions asked
Does the 40 microsecond figure mean my control loop has to run that fast?
No. The 40 microseconds is the time the web takes to travel 0.1 mm at 150 m/min — a unit conversion from tolerance to time, not a loop-speed requirement. Constant detection and processing latency appears as a fixed phase offset you trim out once during commissioning; only latency that changes with speed creates a registration error that grows.
How do the numbers change for a 300 mm fold length?
At 10.24 pulses per millimetre, a 300 mm repeat contains 3072 master pulses, and the motor speed becomes 2500 ÷ 300 = 8.33 cycles per second, times 5 motor revolutions per cycle, times 60 = 2500 rpm. Set the electronic gear to 3072 ÷ 5 = 614.4 command pulses per motor revolution, and recheck speed headroom and the drift test before enabling trim.
How do I prove the correction loop is stable before full speed?
Run at 10 to 20 percent of line speed with a trace of registration error and trim command. Each correction should shrink the error; if the error alternates sign and grows, halve the trim per correction or spread one correction across two intervals. A slow one-direction drift instead points at the base gear ratio, which trim must never be used to hide.
When in the fold cycle should the trim be applied?
Apply every correction at the same phase of the cam cycle, ideally while the folding mechanism is in the slow part of its profile, where torque is available and no fold is being formed. Spreading each correction across the full interval between corrections keeps the speed disturbance near 0.04 percent of line speed.
Is the 0.0005 inch increment the folder's correction resolution?
Not automatically. That increment is the registration system's output scale; the folder moves 0.0127 mm of web equivalent per increment only if the trim path maps output one-to-one onto web travel. Verify it empirically: command ten increments, then measure the fold-phase change against the encoder — 0.127 mm expected — and scale the trim accordingly.