How-to
Homing a Servo Axis to a Hard Stop With Torque Limit
Short answer
Approach the stop in torque control at a torque below the actuator's allowable end-stop load and low speed, accept contact only as sustained torque with near-zero velocity inside the permitted travel window, stop, then execute MC_Home with the Zero position preset method. The preset only writes the coordinate; sequence logic must qualify the stop first.
On this page
- How do you home a servo axis to a hard stop without a sensor?
- When is a hard stop an acceptable homing datum?
- What torque limit and approach speed should I set?
- How do I tell real contact from friction or a jam?
- What is the complete homing sequence?
- How do I configure MC_Home for a zero position preset?
- How much does setting zero under load shift the datum?
- Questions asked
You can home a servo axis to a mechanical hard stop without any home sensor: approach the stop in torque control at limited torque and low speed, treat sustained torque with near-zero velocity inside the permitted travel region as contact, stop, then run MC_Home with the homing method set to Zero position preset, which assigns the current position as home. The preset only writes the coordinate — your sequence logic must prove the axis actually reached the stop first, because commanded torque can sit at its limit while the axis is still moving, and a jammed carriage reads the same as the stop. What follows gives the limits to set, the contact conditions, the full sequence, and the deflection arithmetic that decides whether your datum is loaded or unloaded.
How do you home a servo axis to a hard stop without a sensor? #
Switch the axis to torque control, drive toward the stop at low speed with torque limited below the actuator's allowable end-stop load, qualify contact as sustained torque with near-zero velocity inside the permitted travel window, stop, then run MC_Home set to Zero position preset so the current position becomes home.
In torque control the drive regulates motor current, and in a servo motor torque follows current, so a torque limit is a force limit at the mechanism. The Zero position preset method does exactly one thing: when MC_Home executes, the controller writes the reference coordinate at the current axis position. It performs no search of its own. On an EtherCAT axis whose motion master implements the PLCopen motion blocks, this needs no home switch, no sensor input and no wiring change — only a documented torque-control mode, torque and velocity feedback, and the mode transitions your drive supports.
When is a hard stop an acceptable homing datum? #
Only when the actuator's documentation allows end-stop loading at your push force, the stop sits on a load path meant to carry the reaction, and nothing can be hit on the way in; otherwise the mechanical design must change before homing is commissioned.
Check three things before writing any logic. First, the stop itself: an end stop or bumper the actuator maker rates for load, mounted so the reaction goes into the frame. A travel limit, a belt anchor, a bearing end cap or a ball-screw support is not automatically a datum — take the allowable end-stop load from the documentation of the exact actuator, and treat an unstated value as not permitted. Second, the approach: confirm that travel toward the stop cannot meet tooling, a workpiece or a cable track before it, because a torque rise cannot tell the intended stop from an obstruction. Third, the history: an axis that has already slammed into its stop and now grinds on moves has collision damage to find first; why a stepper motor grinds after a gantry hard stop covers that diagnosis on the same kind of load path.
Safety note: a datum stop is not a safety device, and a torque limit is not Safe Torque Off — STO, defined in IEC 61800-5-2, removes the energy that generates torque and is the only one of the two that is a safety function — so keep the machine's guards, interlocks and protective travel limits active through commissioning and every later homing cycle.
What torque limit and approach speed should I set? #
Set the push force to at most the actuator's documented allowable end-stop load and at least twice your measured free-run effort, and approach at 5 to 10 mm/s on a linear axis, with both treated as rules of thumb since impact energy scales with velocity squared.
Set four limits independently, because limiting torque does not limit speed:
- Torque limit, from the push force. For a belt or rack-and-pinion drive, T = F × r with the pitch radius r in meters and the force F in newtons, giving N·m at the motor. For a ball screw, T = F × L / (2π × η) with lead L and efficiency η.
- Approach speed, low enough that the kinetic energy at contact is trivial; 5 to 10 mm/s is the working range on a linear axis.
- Travel cutoff, slightly beyond the farthest start position, so an obstruction ends the search.
- Timeout, the worst-case travel divided by the approach speed, plus margin.
Worked example — a calculated example for these inputs, not a measured result. Belt-driven carriage, motor direct-coupled to a pulley of 20 mm pitch radius, moving mass 8 kg, measured free-run effort 12 N, actuator manual stating a 60 N allowable static end-stop load, start region within 300 mm of the stop:
- Push force 40 N: inside the 60 N allowable load with a 1.5× margin, and 3.3× the 12 N free-run effort.
- Torque limit: T = F × r = 40 N × 0.020 m = 0.80 N·m.
- Approach speed 10 mm/s: contact energy E = ½ × m × v² = 0.5 × 8 kg × (0.010 m/s)² = 0.0004 J. At 50 mm/s the same axis carries 0.010 J, 25 times more — the slow approach is what protects the stop.
- Travel cutoff 320 mm; timeout 300 mm ÷ 10 mm/s = 30 s worst case, so 35 s.
- Contact thresholds: torque feedback at or above 0.72 N·m (90% of the limit) and velocity at or below 1 mm/s (10% of the approach speed), both held for 150 ms.
Decision for these inputs: the axis presses at two thirds of the allowable load and arrives with 0.4 mJ, which is acceptable. If the allowable load had been below 40 N, the push force changes, not the sequence. If the free-run effort had been above 20 N, the force floor and the load ceiling would conflict, and the friction in the mechanism — not the homing logic — is what needs fixing first.
How do I tell real contact from friction or a jam? #
Accept contact only when torque feedback stays at or above 90% of the limit while velocity falls below about 10% of approach speed and position sits inside the expected window — all three held for a dwell of 100 to 200 ms.
| Reading during the approach | What it means | Next check |
|---|---|---|
| Torque command at its limit, velocity still significant | Effort is being applied; contact is not proven | Position progress and remaining travel window |
| Torque feedback bumps, then settles as speed steadies | Acceleration or friction, not the stop | Whether the rise persists past the dwell |
| Torque at or above 90% of limit, velocity at or below 10% of approach speed, position in window | Contact with the intended stop | Hold the dwell, then stop and preset |
| Travel cutoff or timeout expires first | Search failed | Withhold the preset and inspect the path |
| Drive or axis fault | Sequence interrupted | Diagnose and clear before restarting |
Commanded torque proves nothing on its own: in torque control the command reaches its setpoint while the axis is still moving. Actual torque rising proves effort, not standstill. A jammed carriage produces the same torque-and-velocity signature as the intended stop, which is why the clear-path verification comes before any of this and the position window exists inside the logic.
What is the complete homing sequence? #
The sequence has four states — verify and set limits, approach under torque control, qualify and stop, then preset the coordinate — and every failed check branches to a stopped, un-homed state rather than to the preset.
- Confirm from the actuator documentation that end-stop contact is allowed at your push force, and that the stop's load path carries the reaction into the frame.
- Confirm the approach direction and a clear path, and define the start region and permitted travel window.
- Set the four commissioning limits: torque, approach speed, travel cutoff, timeout.
- Record a free-run trace of torque, velocity and position through the region without contact, and confirm the torque threshold clears the worst free-run peak; if normal acceleration reaches it, slow the profile or move the threshold within the allowable load.
- Command the documented transition to torque control and confirm it completed before issuing any motion.
- Apply the limited torque toward the stop at the approach speed; confirm position moves in the intended direction and stop immediately if it does not.
- Evaluate the contact conditions together — torque, velocity, position window, dwell — and accept contact only when all of them hold.
- Stop the approach with the drive's documented stop behavior for torque mode and confirm standstill.
- Return the axis to the control mode the homing and positioning operations expect, with no torque command still pressing the stop.
- Execute MC_Home with the homing method set to Zero position preset, and route any reported error to recovery instead of treating the axis as homed.
- Read back the assigned coordinate and the controller's homed status, and enable normal travel only when both are correct.
How do I configure MC_Home for a zero position preset? #
Set the axis homing method to Zero position preset, execute MC_Home only after the approach has stopped and standstill is confirmed, and use MC_HomeWithParameters when the home coordinate needs an offset from the stop position.
| Item | Setting | What to confirm |
|---|---|---|
| Homing method | Zero position preset | The project uses a preset operation, not a sensor search |
| Execution timing | After the approach stops and standstill is confirmed | Standstill still true when MC_Home starts |
| Home coordinate offset | MC_HomeWithParameters with its documented offset inputs | Assigned coordinate matches the machine's reference convention |
| Mode handoff | The documented transition out of torque control | No residual torque command, no unintended move |
| Verification | Axis position and homed status readback | Both correct before travel is enabled |
In the axis homing configuration, choosing the preset method leaves the sensor-search parameters unused, so none of them need attention for this method. A reference fault that appears only after encoder or motor replacement is a marker-pulse alignment problem rather than a homing problem — fixing a grid align error after a servo motor rebuild covers that diagnosis.
How much does setting zero under load shift the datum? #
With the example axis, pressing at 40 N into a drive train measuring 400 N/mm stretches it 0.10 mm, and that offset leaves the datum the moment torque is removed — so pick one loading condition and repeat it every homing cycle.
The arithmetic: stretch = force ÷ stiffness = 40 N ÷ 400 N/mm = 0.10 mm of belt and structure between motor and carriage while pressed. Preset zero in that state and the coordinate marks the loaded position; when torque comes off, the drive train relaxes and the resting position sits 0.10 mm from where the coordinate says zero is. Choose one of two conditions and never mix them:
- Loaded datum: preset while pressed, and approach with the same torque limit and speed every cycle, so the same stretch is built in each time.
- Unloaded datum: after qualifying contact, command an identical small back-off move every cycle and preset at standstill off the stop.
Then prove it: home ten times, record the assigned coordinate each cycle, and take the total spread. A workable rule of thumb is to accept the method when the spread stays inside one tenth of the axis positioning tolerance — for a ±0.05 mm tolerance, that is a 0.01 mm spread.
On the example axis, a measured spread wider than that means the belt drive is too compliant for the tolerance: stiffen the path, raise the push force within the 60 N allowable load, or fit a home sensor and switch to a sensor-search method. Decision for the example numbers: with 0.10 mm of calculated relaxation against a ±0.05 mm tolerance, use the unloaded datum.
Questions asked
Does the home position survive a power cycle, or must I re-home at every start-up?
Plan to re-home at every start-up unless the axis has a multi-turn absolute encoder and nothing can move it while powered down — a coupling turned by hand, belt relaxation, or a load on the carriage all shift the physical stop relationship while the coordinate stays put. On an absolute axis that retains its reference, verify it against the stop after any work on the drive train, and re-home if the read-back disagrees.
Can I use the same torque-limit homing on a stepper axis?
Yes in principle — a stepper driven into the stop at fixed current stalls there, which is the same loaded-standstill condition — but the qualification is weaker: a stepper drive holds its configured current rather than following a torque command, and low-speed stall torque is high. Keep the approach very slow, confirm the actuator's allowable end-stop load covers the motor's continuous stall force at that speed, and run the ten-cycle repeatability check before trusting the datum.
What conditions should abort the homing sequence?
Branch to a failed-search state with no position preset when the travel window expires before qualified contact, the timeout expires, a drive or axis fault latches, position moves in the wrong direction, or torque sits at its limit while velocity never falls. Each of these means the axis has not been proven to be on the stop, and writing a coordinate anyway makes every later move wrong by the same amount.
Can I apply an offset so home is not exactly at the stop face?
Yes — run MC_HomeWithParameters and enter the offset in its documented coordinate inputs, so home lands where the machine reference needs it, say 1.000 mm short of the stop face. The offset changes the preset arithmetic only; the axis still pressed the stop at the same physical spot, so the loaded-versus-unloaded choice and its repeatability rule still apply unchanged.
What if the axis is already sitting on the stop when homing starts?
Give the search a back-off move before it begins, or define the start region so homing always starts with clear travel ahead of the axis. An axis that begins already pressed against the stop shows torque at its limit with zero velocity from the first sample, which is indistinguishable from a jam at start-up and gives the qualification nothing to discriminate with.