Engineering Notes by Oriental Motor

A Closer Look at Oriental Motor's Magnetic Encoders vs Optical Encoders

[fa icon="calendar"] Originally posted on Oct 1, 2025 8:30:00 PM
Last updated on October 2, 2025 / by Johann Tang

Johann Tang

A Closer Look at Oriental Motor's Magnetic Encoders vs Optical Encoders
13:35

While optical encoders have long been the standard, magnetic encoders are emerging as a compelling alternative due to their durability, cost-efficiency, and versatility.  In this article, we’ll compare the pros and cons of both encoder technologies and explain why Oriental Motor's magnetic encoders deserve a closer look for a wider range of applications.

What's covered by this article?

  • What is an Encoder?
  • How Do You Interpret the Encoder Pulse Signal?
  • How Does An Optical Encoder Work?
  • How Does a Magnetic Encoder Work?
  • Comparison: Optical Encoders vs Magnetic Encoders
  • Oriental Motor Magnetic Encoders Lineup
    • For Tracking Motor Shaft Position 
    • For Direct Tracking of Rotary Mechanisms
    • For Multi-Turn Absolute Position Control

 

What is an Encoder?

Let's review a little bit.  In the simplest terms, an encoder is an electromechanical sensor that tracks the position, speed, or direction of a motor shaft by a pulse train signal.  This pulse train signal can be used by a PLC or dedicated controller to verify the actual position of a motor shaft and to make adjustments. 

Encoders can be integrated with the rear shaft of a stepper motor, a servo motor, a brushless motor, or even a rotating mechanism like an index table.  Closing the loop with encoders significantly enhances the motor performance and capabilities by enabling position feedback, misstep detection, performance enhancements, and/or predictive maintenance.

 

PKP Series stepper motor with encoder stepper motor encoder - system configuration

 

 

How Do You Interpret the Encoder Pulse Signal?

  • The number of pulses determines how many steps the motor shaft has rotated.
  • The frequency of pulses (Hz) determines how fast the motor shaft is rotating. 
  • The rises and falls of the A-phase and B-phase pulses determine which direction the motor shaft is rotating.

 

How Does An Optical Encoder Work?

The most common type of encoder in the market is the optical encoder, which was actually invented by a company called the Baldwin Piano Company (later BEI Electronics) around 1955.  An optical encoder is an electromechanical sensor that uses a light emitter, a light receiver, and a coded wheel to generate light pulses as the motor shaft turns.  The pulses are typically output to a PLC or a dedicated controller for position verification and correctional adjustments.

There are 2 types of optical encoders: incremental and absolute.  Incremental encoders have one track of slits on the code wheel to provide 1 bit of data, while absolute encoders have multiple tracks of slits on their code wheel to convey multiple bits of data.

 

Incremental Encoder Absolute Encoder
incremental encoder diagram absolute encoder diagram

Source: https://www.usdigital.com/blog/difference-incremental-vs-absolute-encoders 

 

Incremental optical encoders measure movement by generating pulses as the motor shaft turns.  These pulses tell the system how far and how fast the shaft is moving, but they cannot track the exact position since each position on the code wheel is not unique. If power is lost, the system forgets where it was and needs to reset by performing a homing routine.

Absolute optical encoders, on the other hand, always know the exact position.  Each position on the code wheel uses a unique pattern that gives a specific digital code or data, so the system can instantly read the shaft’s location at any time.   Due to the added complexity in design, absolute optical encoders are more expensive to make.

 

How Does a Magnetic Encoder Work?

Compared to optical encoders, magnetic encoders do not use a light emitter or a light receiver but still use a code wheel and a magnetic sensor.  Instead of slits, the code wheel has alternating north and south pole magnets on the outer edge.  To track movement, the magnetic sensor senses changes in magnetic polarity when the north and south poles pass by.

 

Magnetic Encoder

 

Hall-effect and magnetoresistive technologies are both used to detect magnetic fields.  

Hall-effect sensors detect the voltage generated when a magnetic field is applied perpendicular to the current flow in a conductor. They are widely used for position and speed sensing due to their simplicity, cost-effectiveness, and ability to detect both static and dynamic magnetic fields. However, they typically offer lower resolution and sensitivity compared to magnetoresistive sensors, so they're typically used with brushless DC motors for variable speed applications.

Magnetoresistive sensors, on the other hand, rely on changes in electrical resistance that occur when magnetic domains in a material align in response to an applied magnetic field. This technology offers higher sensitivity, improved resolution, and the ability to detect smaller changes in magnetic field strength. It’s especially useful in precision applications with stepper motors or servo motors.   This is the technology we use on Oriental Motor's products.

 

Comparison: Optical Encoders vs Magnetic Encoders

Since both incremental and absolute optical encoders use light, a consistent power supply is a must when maintaining position data.  Backup batteries are required to maintain position data to avoid disruptions during power failures.  Optical encoders offer higher resolution but are also more expensive than other types of encoders, such as magnetic encoders.

Magnetic encoders typically offer lower resolution than optical encoders, but are more cost-effective and robust, as they can operate in more humid, dusty, or dirty environments.  However, magnetic encoders may not function well in environments with strong magnetic interference.  Since there's no need to power the light emitter and receiver, the magnetic encoder also uses less power than an optical encoder.

With both optical encoders and magnetic encoders, the resulting output is the same; as both types of encoders output digital pulses to a PLC or host controller for verifying the motor shaft position in real-time or for making adjustments. 

 

Here's a table that summarizes the differences between optical encoders and magnetic encoders:

Type​

Optical Encoders

Magnetic Encoders

Sensing Principle​

Uses light and photodetectors​

Uses magnetic fields and Hall-effect sensors​

Resolution & Accuracy​

Very high; ideal for precision tasks​

Moderate; sufficient for general positioning​

Environmental Tolerance​

Sensitive to dust, oil, and vibration​

Highly resistant to contaminants;
sensitive to strong magnetic fields​

Durability​

Less robust in industrial environments​

Excellent for rugged and outdoor applications​

Cost​

Typically higher due to precision optics​

Generally more cost-effective​

Typical Applications​

Robotics, CNC machines, lab automation​

Conveyors, motors, outdoor machinery​

 

Oriental Motor offers both optical encoders and magnetic encoders.  Optical encoders are included on certain products, such as PKP Series high torque stepper motors (unipolar type), BXII Series brushless DC motors, and custom products.  Hall-effect sensors are equipped on other brushless DC motors.  Please read on to learn about our magnetic encoder products. 

 

Oriental Motor's Magnetic Encoders Lineup

Oriental Motor offers 3 types of magnetic encoders:

  • Preassembled encoders on PKP Series high torque stepper motors (incremental)
  • Standalone rotary encoders  (incremental)
  • Multi-turn battery-less mechanical absolute encoders

 

☑️ For Tracking Motor Shaft Position 

PKP Series High Torque Stepper Motors (Encoder Type)

Choose the Encoder Type PKP Series for high torque stepper motors with a preassembled incremental magnetic encoder.  These magnetic encoders are smaller and lighter than optical encoders because they do not require complex optical components like light sources or photodetectors.  

 

encoder type stepper motor

 

Preassembled encoders are available on PKP Series frame sizes from 20 mm to 60 mm (round shaft or geared versions).  Resolutions from 200 to 1,000 PPR are available.  A-phase, B-phase, and Z-phase 3-channel outputs are available with voltage (TTL) or line driver output circuit type.  Angular accuracy is ±0.36°.  Connect the pulse train signal to your PLC or host controller for position verification and correction. 

 

 

☑️ For Direct Tracking of Rotary Mechanisms

Rotary Encoders

Instead of having a magnetic encoder on the motor, we also offer magnetic encoders as standalone products.  Since these rotary encoders are small, thin and lightweight, they can be installed in tight spaces.

Why do we offer standalone encoders?  I'm glad you asked.  Standalone encoders can be installed at the mechanism level to track the load position directly rather than tracking the motor shaft position.  With this method,  you can eliminate mechanical errors that occur externally to the motor.  For example, in a belt-and-pulley mechanism, the elasticity or breakage of the belt can add extra encoder pulses and introduce errors.  If gears replaced the belt, you would have backlash between the gear teeth.

 

Round Shaft Type Hollow Shaft Type
30 mm Rotary Encoder Round Shaft Type 30 mm Rotary Encoder Hollow Shaft Type

 

Application Example

 

Rotary Encoder Application Example

 

Oriental Motor offers standalone rotary encoders in both round shaft and hollow shaft types.  Output circuit types include multiple options: voltage, line driver, or open collector.  Higher encoder resolutions are available from 100 to 4,000 P/R. These rotary encoders are available in round shaft type or hollow shaft type with voltage, line driver, or open collector output.

 

 

 

EXPERT TIP Improve Homing Accuracy/Repeatability  with Multiple Signals

A unique advantage of our magnetic encoders is the fixed position of the Z-phase pulse signal.  A Z-phase pulse is output by an encoder once per revolution of the motor shaft.  This signal can be used to track the number of revolutions or to return the motor shaft to its home position.  With other encoders, the Z-phase pulse signal is not fixed to the same shaft position every time, so it can't be used for homing.  

Z-Phase Signal

Instead of relying solely on the home sensor pulse signal to detect the home position during a return-to-home operation, use the home sensor pulse signal in conjunction with the Z-phase pulse signal to detect the home position simultaneously.  By using 2 pulse signals to confirm the home position, the homing accuracy can be improved.  To improve homing accuracy even more, use the home sensor pulse signal + the Z-phase pulse signal + the TIM output signal from our driver.  By using 3 pulse signals to confirm the home position, the homing accuracy can be even better.

 

☑️ For Multi-Turn Absolute Position Control

ABZO Sensor (Battery-Less Mechanical Absolute Encoder)

For multi-rotation absolute position control,  we recommend using our αSTEP AZ Series Hybrid Step-Servo Motors.  These motors use a multi-turn version of the magnetic encoder from the PKP Series and combine several of our patented technologies to emulate servo motor performance at a lower cost.

  • Multi-turn absolute position control (ABZO sensor)
  • Step-Servo performance (αSTEP Keep-In-Step technology)
  • Lower operating temperature / higher duty cycles (low-loss lamination technology)

In order to provide multi-rotation absolute position tracking ability, we use our patented ABZO sensor (AKA Battery-Less Mechanical Absolute Encoder).  This sensor utilizes magneto-resistive technology to track motor rotation.  To track up to 1,800 revolutions of unique "steps", multiple gears with magnetic poles were added to the primary code wheel.   As the primary code wheel rotates, each of the 2nd, 3rd, and 4th gears would rotate and face different directions.  This provides enough bits of data to determine the position of the motor shaft within 1,800 revolutions.  This is sufficient to support most rotary indexing and point-to-point linear motion applications.   If it's not enough, please ask our technical support team for tips to get around this.

 

Absolute Mechanical Sensor Incremental Encoder vs Absolute Encoders in Closed-loop Feedback Systems

 

One of the best benefits of the Mechanical Absolute Encoder is that it's "mechanical" in nature and doesn't require a backup battery.  The motor tracks its absolute position even without power, and the position can be read once the driver is powered on.  Without a battery, you can eliminate battery inventory, cabling, and wiring.  Another benefit is that the homing speed can be significantly faster, as the system always knows the home position. The motor can stop precisely, eliminating the need to pass the home sensor first and then return to the home position, as is typically required in a standard homing routine.

The αSTEP Keep-In-Step technology combines the best of open-loop and closed-loop performance.  The system operates in open-loop mode normally, but switches to closed-loop mode when necessary to correct both position and speed in real-time.  The low-loss lamination technology not only reduces the operating temperature of the motor but also enables it to run at 100% duty cycle, which is rare for stepper motors.  Since there are lower losses, power consumption is also lowered by up to 47%.

For motor uses who want servo performance but without the high servo cost, the αSTEP AZ Series Hybrid StepServo Motors can be a great choice.  The αSTEP AZ Series Hybrid StepServo Product Family includes motors, rotary actuators, linear actuators, grippers, and smart universal drivers.

 

 

Ready to close the loop? 

For help with products, please contact our product support team.

 

 

 

 

 

Topics: Stepper Motors, Servo Motors, Encoders

Johann Tang

Written by Johann Tang

Johann Tang is a Product Specialist at Oriental Motor USA Corp. Before joining the marketing team, he spent 15 years in sales, technical application support, and training of various types of fractional horsepower electric motors, gear motors, actuators, drivers, and controllers. If you have any questions, please feel free to use the live chat window, 1-800-GO-VEXTA (1-800-468-3982), or techsupport@orientalmotor.com, to reach our product support team. Johann can be reached via LinkedIn. Sorry, comments have been turned off.

    Subscribe Here!

    Recent Posts

    New call-to-action