Welcome to Standex Detect

Standex Detect is the new name for our precision reed switches, sensors, and relays business.

English
Home Resources Hall Effect Academy Understanding Duty Cycle and Phase Angle in Quadrature Sensors

Understanding Duty Cycle and Phase Angle in Quadrature Sensors

Understanding duty cycle and phase angle is essential for achieving accurate speed measurement, direction sensing, and reliable counting in quadrature sensor applications. This guide explains how duty cycle and phase angle affect quadrature sensor performance, how controllers interpret pulse signals, and why proper sensor and target selection are critical for precise motion detection. Whether you’re designing gear tooth sensing systems, rotary encoders, or direction-sensitive monitoring applications, learn the key principles that ensure accurate and dependable results. If you have any questions or would like to discuss your application, please contact our engineering department.

What is Duty Cycle & Phase Angle in Quadrature Sensors?

Standex Detect digital pulsing Hall Effect sensors provide square wave outputs that can be connected to meters, PLCs, and other monitoring and controlling devices to resolve speed or count. Quadrature output sensors provide two outputs in a single package that are out of phase for the ability to resolve direction. This application note was created to define duty cycle and phase angle and explain how meters and controllers resolve speed and direction from the pulsing sensor output(s).

Definitions of Duty Cycle & Phase Angle

What is Duty Cycle?

When looking at the digital square wave output, the duty cycle is the percentage of time that the output is in the high state over the period of the square wave. The image below shows the formula for calculating the duty cycle as well as examples of 50% and 25% duty cycle pulse trains.

Diagram explaining duty cycle with equation and waveform examples of 50% and 25% duty cycles, showing T high and Period labeled on each waveform—ideal for understanding the Selection or Design of Sensor Targets based on signal timing characteristics. by Standex Detect

Application Notes

Sensor Selection Application Notes

What are Hall Effect Sensors?

Custom Speed Sensors & Direction Dependent Speed Switches

Custom Magnetic Sensor Design and Manufacturing

Guide to Replacing a Speed Sensor

Selecting the Appropriate Hall Effect Sensor and Target Magnet

Why do I need to provide the gear pitch when ordering a Speed and Direction Gear Tooth Sensor?

Target Selection Application Notes

Selection or Design of Sensor Targets

Selecting the Appropriate Hall Effect Sensor and Target Magnet

Sensor Behavior Application Notes

Chopper Stabilization and Gear Tooth Sensors

The Effect of Mounting A Ferrous Metal Sensor in a Steel Sleeve

Understanding Duty Cycle and Phase Angle in Quadrature Sensors

Why Either Pole Hall Switches May Produce 3 Pulses from a Single Magnet

Sensor Output Monitoring Application Notes

How to Hook Up an LED to a Magnetic Sensor

Understanding Duty Cycle and Phase Angle in Quadrature Sensors

Meters and Signal Conditioners

How To Hook Up a Digital Magnetic Sensor to a Relay

Custom Hall Sensor Application Notes

PCBA Manufacturing & Design – Printed Circuit Board Prototyping Services

Thief Hatch Latch Detection Systems

What is Phase Angle?

When looking at Quadrature Sensor Outputs, the phase angle is a measure of the offset between the two pulse trains. When the duty cycles are not both 50%, the entire period needs to be considered in calculating the phase angle. The image below shows an example of 90-degree phase angles with 50% duty cycles compared to 25% duty cycles.

Diagram showing A and B pulse waveforms at 90° phase angle, with 50% duty cycle on the left and 25% duty cycle on the right. The section illustrating the 50% duty cycle also depicts ideal quadrature output, which plays a crucial role in the selection or design of sensor targets for precise signal generation. by Standex Detect
Diagram showing phase angle equation: Phase angle = (Delay/Period) x 360°. Two square waves, A and B, are shown. B is delayed relative to A. Delay and period are marked with arrows. This illustration is useful in the selection or design of sensor targets, where precise phase measurements are critical for accurate detection. by Standex Detect

Why Do Duty Cycle and Phase Angle Matter?

Quadrature sensors are used in direction sensitive counting and speed measurement applications. Meters and control devices look at the two pulse trains to determine the direction of motion. Typically this is done by comparing either the falling or rising edges of the pulses, or comparing one edge against the output state of the other pulse.

Ideal Duty Cycle and Phase Angle

The image below shows a 50% duty cycle with a phase angle of 90 degrees. With this configuration, regardless of where a direction change occurs, or how the controller is resolving direction, the relationship between the falling edges of the pulse ensures notification of direction change on the first pulse.

Diagram showing two square wave signals, A and B, with a 50% duty cycle and a 90° phase shift, illustrating change in rotation direction when the order of A and B falls is reversed—a critical consideration in the selection or design of sensor targets. by Standex Detect

Poor Duty Cycle and Ideal Phase Angle

The image below shows a 25% duty cycle with a phase angle of 90 degrees. With this configuration, regardless of where a direction change occurs, a controller resolving direction comparing the falling edges only will always recognize a direction change on the first pulse. However, a meter resolving direction by comparing the rising edge of Channel A to the output state of Channel B may not resolve direction change properly as Channel B is falling during the rise of Channel A.

Diagram showing two square waveforms, A and B, with 25% duty cycle and 90-degree phase shift. Arrows indicate CH A falls before CH B, and CH B falls before CH A, highlighting rotation direction change—a crucial aspect in the selection or design of sensor targets. by Standex Detect

Ideal Duty Cycle and Poor Phase Angle

The image below shows a 50% duty cycle with a phase angle of 30 degrees. With this configuration, regardless of where a direction change occurs, a controller will resolve direction properly. However, as the phase angle goes further from 90 degrees, the closer the duty cycle needs to be to 50% to ensure a readable pulse train.

Diagram showing two square waves, A and B, with a 50% duty cycle and 30-degree phase angle. This illustration highlights how the Selection or Design of Sensor Targets affects signal timing: arrows indicate that a change in rotation direction swaps which wave falls first. Text notes: CH A falls before CH B and vice versa. by Standex Detect

Poor Duty Cycle and Poor Phase Angle

In the real world, most sensor and target combinations will produce a duty cycle greater or less than 50% with a phase angle that is not exactly 90 degrees. The example below shows pulse trains that have both a poor duty cycle and a poor phase angle.

Diagram showing two square wave signals, A and B, each with a 25% duty cycle and a 30-degree phase angle. Arrows indicate the phase difference and a change in rotation direction between the two signals, illustrating how the selection or design of sensor targets influences signal timing. by Standex Detect

A controller may still resolve direction correctly, but dependent on the position of the tooth when rotation changes, it may not recognize the change in direction until the second tooth passes the sensor. If the meter is counting, this will cause the count to become inaccurate.

Diagram showing two waveforms, A and B. Channel A’s pulse falls before Channel B; at the midpoint, Channel B has no pulse. Text: Rotation direction change with tooth centered on CH A—demonstrating how the Selection or Design of Sensor Targets influences signal timing and accuracy. by Standex Detect

Selecting the Correct Quadrature Sensor for Your Target

Many manufacturers claim their quadrature gear tooth detection sensor will work with any standard gear pitch. Although it is true they will provide two out of phase pulse trains, the answer is not that simple. Accurate detection of direction will be dependent on the size of the gear teeth, the distance between them, the distance between the sensing elements within the sensor, and the method the control system calculates direction.

  • For direction sensitive speed or count measurement from a gear, tone wheel, or other target with evenly spaced ferrous “teeth” use a True Zero Speed Quadrature Gear Tooth Sensor.
  • For direction sensitive speed measurement from targets such as bolt heads, a single hole in a steel disc, or other non-evenly spaced ferrous targets a self-calibrating Quadrature Gear tooth sensor is typically the best choice.
  • For direction sensitive speed or count measurement from one or more magnets Sensor Solutions offers Quadrature Hall Switch sensors.

Designing Targets for Quadrature Sensors

So, how do you design a target gear to produce a duty cycle near 50%? Although the logical thought is to have your “teeth” the same size as the gap between them, this is not the case. A magnetic field sensor will produce a pulse that is longer in length than the “tooth.” Therefore, to reach a 50% duty cycle the ideal relationship is a smaller tooth with a wider gap between them.


Click here to return the Hall Effect Application Notes page

Contact Standex Detect