MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Pulse equivalent and displacement conversion for magnetic encoders
HomeModels
Table of contents

On this page

Sensors & Detection (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Pulse equivalent and displacement conversion for magnetic encoders

The pulse equivalent links counts to physical travel on magnetic encoders and scales, and one wrong decade in the setting lies about every position. Construction of the equivalent, conversion formulas and a worked example below.

1. How it works

Magnetic scales arrange their signal in magnetic pole pitches, typically 2mm; the head reads the field with sine-cosine outputs and an interpolation circuit turns them into pulses. The equivalent is pitch divided by cycles-per-pole times electronic interpolation: 2mm pitch, one cycle per pole, 4000-fold interpolation gives 0.5µm per pulse. Rotating magnetic encoders work the same way with poles per revolution. Every link in the chain - pitch, cycles, interpolation - shifts the equivalent, so the value programmed into the CNC must match the hardware chain exactly; that correspondence is the mathematical basis of closed-loop position.

2. Practice and pitfalls

Conversion: travel equals count times equivalent. Worked example: 0.5µm per pulse and a counter at 1,000,000 gives 500mm; reversing, an 800mm stroke needs 800 divided by 0.0005, or 1.6 million counts - size the counter and data format from the maximum stroke, and 32 bits is ample. Speed example: a 10mm screw at 500mm/s with a 2000-count-per-rev encoder on the screw end produces 100,000 pulses per second - check the controller counting rate covers it. Setting verification: after configuring, move a known distance measured with a dial gauge or gauge block and compare; error within 0.1 percent passes, a factor of ten means a wrong decade, a factor of two points at the interpolation setting. The classic errors: DIP switches moved without updating parameters, a 1mm-pitch tape configured as 2mm showing half distance, and inch-millimetre confusion in the equivalent. Prevention: a nameplate beside the scale stating pitch, interpolation and equivalent, plus a photo of the switch block after every change.

3. Magnetic encoder equivalent and conversion table

ParameterExample valueConversion note
Magnetic pitch2mmPer the tape nameplate
Interpolation4000Set in the box or head
Pulse equivalent0.5µm per pulsePitch over interpolation
Stroke capacity800mm needs 1.6M countsSize from maximum stroke
Speed check500mm/s needs 100k pulses per secondAgainst controller counting rate
VerificationReal move versus dial gauge, within 0.1%Mandatory after any setting

4. Notes

Equivalent setting means making counts and millimetres agree one to one: compute on paper, post it on a nameplate, verify by real measurement - after those three steps, equivalent faults vanish. Keep a parameter card with the full chain inside each cabinet, so a dead control can be refilled from the card without re-deriving.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital readout systems and control circuits per GB/T 5226.1 (IEC 60204-1); accuracy acceptance per the relevant national standards. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Moving DIP switches without updating parameters:The interpolation changed but the equivalent did not - re-verify by real measurement after every switch change
② Configuring 2mm pitch for a 1mm tape:The display shows half the truth - read the tape nameplate before setting
③ Sizing counters for the common stroke:Overflow flips the position from maximum to minimum - size for full stroke plus 20 percent

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL