EncoderCross

Output interface — Current paths and timing

Open collector encoder: check the circuit before the connection

Start by identifying NPN or PNP and the receiving input’s circuit. An NPN open collector sinks current when active; its released output needs a defined pull-up path. PNP sources current and needs a different load arrangement. The encoder supply alone does not determine a compatible signal level.

Maintained by EncoderCross · Reviewed 6 November 2026

Active current paths differ for NPN and PNP outputs.
Active current paths differ for NPN and PNP outputs. Original concept diagram.

“Open collector” does not identify the complete interface

In an NPN implementation, the active transistor provides a path toward signal common. When it releases, another part of the circuit establishes the high level. A PNP output supplies current from the supply side instead. OMRON’s connection examples distinguish NPN and PNP open-collector arrangements for actual receiving devices.

On narrow screens, scroll the table horizontally.

Output labels and the missing circuit details
LabelBehavior to verifyReceiving-side question
NPN open collectorSinks current when active; released state is not an actively driven high.Where is the pull-up or input current path, and to which rail?
PNP open collectorSources current when active.What return/load path is required, and are input levels compatible?
Pull-up / voltage outputMay include an internal pull-up.What resistor, rail and permitted external load are actually documented?
Push-pullActively drives both states.What are the loaded high/low levels and source/sink limits?
Paired outputsA channel and inverse may be present.What electrical circuit and receiver are specified? A pair alone is not RS-422 proof.

EPC TB-109, Rev D distinguishes OC, internal pull-up, push-pull and specialty outputs. Its suffixes identify EPC options; they are not a universal code system.

A pull-up external to the encoder can already be inside the controller. Adding another resistor changes the total load. Read both diagrams before adding parts. Use the wiring guide for the complete function map, references and cable/shield checks.

Check both the low state and the released high state

A pull-up loads the active NPN output and charges capacitance after release.
A pull-up loads the active NPN output and charges capacitance after release. Original concept diagram.

EPC WP-2000 (Rev 10/12/20) describes NPN level shifting and separate PNP loading. This capability is conditional: confirm output off-state voltage limits, allowable sink/source current, residual voltage and the input’s permitted voltage before selecting any rail.

For NPN, check that the loaded low stays within the receiver’s low-state requirement. Also check the released high, including input loading and leakage, against the guaranteed high-state requirement. An internal input resistor can form a divider; the pull-up rail need not equal the voltage the input actually sees.

Do not connect a higher-voltage pull-up to a lower-voltage input merely because the encoder accepts a wide supply range. Dynapar’s output guide gives a loading example: a 12 V rail, 2 kΩ pull-up and 10 kΩ resistance to common produce 10 V at the input. That is a divider example, not a suitable input voltage recommendation.

With several input loads or different bias rails, use the complete circuit. The simple calculator below omits resistive input loading and cannot reproduce that divider.

A correct static voltage can still produce a late rising edge

The 10–90% rise interval and time to an input threshold are separate quantities.
The 10–90% rise interval and time to an input threshold are separate quantities. Original concept diagram.

After an NPN output releases, the pull-up charges the cable and input capacitance. A larger resistance or capacitance slows this idealized rise. Lower resistance increases the current when the output is low. Same Sky’s output comparison explains this current-versus-edge-speed tradeoff.

Receiver threshold crossing is only one timing condition. Check encoder rise/fall specifications, high/low pulse duration at working PPR and speed, propagation delay, input filtering and the controller’s capture requirements. See the PPR and count-rate guide; use the Z-pulse guide for a narrow index signal.

TI’s SLVA689A (October 2026 revision) derives a first-order RC response for I²C pull-ups. Only that circuit principle is used here. Its bus speeds, thresholds, capacitance limits and resistor range are not encoder specifications.

Explore a single NPN pull-up, without selecting a resistor

One linear resistor to one pull-up rail, one lumped capacitance and a high-impedance receiver. The NPN output releases from the entered low voltage. No input loading/leakage, propagation, transistor switching or ringing is modelled. This tool does not apply directly to PNP, push-pull or differential termination. Input limits are arithmetic limits, not product ratings.

Pull-up current while low
Resistor dissipation while low
Ideal 10–90% rise interval
Ideal release-to-Vh time

I (mA) = (Vp − Vl) / R(kΩ)
P resistor (mW) = (Vp − Vl)² / R(kΩ)
τ (µs) = R(kΩ) × C(nF)
V(t) = Vp − (Vp − Vl) × exp(−t/τ)
t10–90 = ln(9) × τ
t to Vh = τ × ln[(Vp − Vl)/(Vp − Vh)]

The 10–90% interval refers to the Vl-to-Vp voltage swing. The optional high threshold must lie strictly between Vl and Vp. Leave C or Vh blank when unknown: the current and resistor dissipation remain available; dependent times are not calculated. A missing capacitance is not zero capacitance. Invalid C clears both time estimates; an invalid Vh clears only its threshold estimate. Invalid rail, low voltage or resistance clears all four outputs.

Independent arithmetic example

For the hypothetical inputs Vp = 5 V, Vl = 0.2 V, R = 4.7 kΩ and C = 1 nF, the pull-up carries about 1.0213 mA while low and dissipates 4.9021 mW. The ideal 10–90% rise interval is 10.327 µs; reaching an entered 3.5 V threshold takes 5.4668 µs after release. These are assumptions, not recommended values.

Changing only R to 1 kΩ increases the low-state current to 4.8 mA and resistor dissipation to 23.04 mW, while reducing the ideal 10–90% interval to 2.1972 µs. Changing the resistance can also change the real loaded low voltage; holding Vl constant here is only an arithmetic assumption. Recheck that voltage at the changed load. Compare actual current, voltage, waveform and component ratings separately. The results do not choose a resistor power rating, calculate total encoder consumption or establish a maximum usable rpm.

Collect the evidence before changing the output or load

Compare the exact encoder output with input loading, thresholds and timing.
Compare the exact encoder output with input loading, thresholds and timing. Original concept diagram.

On narrow screens, scroll the table horizontally.

Missed-count evidence worksheet
Observed conditionWhat to obtain
Low level too highOutput and input circuit diagrams; complete current load; residual voltage under that load; signal reference.
High level too lowActual pull-up rail, existing pull-ups, input loading/leakage and both devices’ voltage limits.
Works slowly, misses counts at speedWaveform at the receiving input, rise/fall and high/low widths, cable details, PPR/rpm and input-filter/capture settings.
Replacement has a different suffixFull original and offered codes; output circuit, levels, channels, pinout, supply and mechanical drawing.
Considering another output typeExact controller acceptance and any documented interface conversion. A stronger output label alone is insufficient.

Record the original configuration before any controlled change. Follow the equipment’s commissioning and isolation procedure; a plausible displayed count is not proof of correct direction, scale or fault handling. A replacement mapping is a candidate lead, not approval to substitute PNP with complementary push-pull. For differential signals, use the line-driver guide; its termination resistor serves a different function from this pull-up.

Request an open-collector interface comparison

Send the original full encoder model and receiving controller/input code. Include the supply, output circuit, existing input load or pull-up, cable, PPR, speed and symptom. Add mounting, quantity and destination country. We compare available documents and return confirmed matches, differences and the specific circuit or rating information still needed for an offered code.

The form accepts text and includes the current calculator assumptions. For circuit drawings/photos or a new installation without an original model, email max@encodercross.com. Keep unknowns marked unknown; this page supplies no universal pinout or automatic wiring approval.

Preview prepares text locally and sends nothing.

Preview sends nothing. Use the web inquiry form to contact us.

Open collector encoder selection and pull-up questions

Does every open-collector encoder use NPN?

No. NPN and PNP implementations exist. Establish the actual output circuit and receiving input; the NPN pull-up tool does not model a PNP connection.

Must I always add an external pull-up resistor?

No. A pull-up outside the encoder may already be inside the controller. An encoder may also have an internal pull-up variant. Identify the existing circuit first.

Can I use any pull-up voltage to change the signal level?

No. Check output off-state voltage and current limits, loaded levels and the receiver’s voltage limits, references and thresholds.

Will a smaller resistor always fix missed pulses?

No. It changes the active output load and resistor dissipation. The complete waveform, encoder ratings, cable, receiver filter and capture requirements still matter.

Is 10–90% rise time the same as time to a high threshold?

No. The rise interval covers 10–90% of the entered low-to-high swing. The separate threshold estimate starts at output release from Vl.

Can I replace an NPN output with a line driver or push-pull output?

Only after reconciling the exact receiving interface and all other replacement requirements. Matching supply or PPR is insufficient.

Sources and maintenance

Maintained by EncoderCross, 6 November 2026. Numerical examples and diagrams are independently created comparison aids. Exact encoder and controller revisions determine the permitted connection. No generic resistor recommendation, stock promise or verified machine configuration is implied. About our supplier service.