Learning Targets
- Situation: A valid simulated bit connected to another voltage domain or real load.
- Targets: Level margins, pull-up limits, drivers, isolation and cable reflections.
- Reference: Shared return except across explicitly isolated boundaries.
Electrical Compatibility
- Guaranteed levels: Output limits at the intended current compared with input thresholds.
- Example: 2.9 V minimum high adequate for a 2.0 V threshold; inadequate for a 3.5 V threshold.
- Input rating: Separate from threshold; TTL-compatible input not automatically 5 V tolerant.
- Power-off state: Possible back-power through protection diodes.
- Open drain/collector: Active low only; external pull-up for high.
- Push–pull: Active high and low; no direct tying of competing outputs.
Worked Pull-Up Window
- Assumptions: 3.3 V, total capacitance 100 pF, low level 0.2 V, sink capability 1 mA.
- Rise time: tr≈2.2RC for 10–90% of the transition.
- Current: IL=(3.3−0.2)/R.
- 1 µs rise target: R no greater than approximately 4.55 kΩ.
- 1 mA sink target: R at least 3.1 kΩ.
- Nominal choice: 3.9 kΩ → 0.858 µs and 0.795 mA; tolerance/leakage still excluded.
Figure 1. Open-drain bus with pull-up and capacitance, low-side load driver, optocoupler isolation barrier, and source-terminated cable.
Thresholds, Loads and Light
- Comparator: Decision element with specified common-mode range, output type and delay.
- Hysteresis: Separate thresholds; rising 2.4 V and falling 2.0 V → 0.4 V band.
- Op-amp distinction: Linear amplifier not automatically suitable as a comparator.
- LED current: Supply minus LED/output drops divided by series resistance.
- Larger load: Transistor driver, defined off-state and inductive freewheel path.
- Photodiode: Light-dependent current; transimpedance conversion and capacitance/leakage limits.
- Optocoupler: Optical transfer across an isolation barrier; current transfer ratio under specified conditions.
- CTR example: Minimum 20% at 2 mA input → 0.4 mA output; 5 V pull-up to 0.4 V requires at least 11.5 kΩ.
- Isolation: No bypass through ordinary scope ground clips.
- Fiber: Nonconductive signal path with transmitter/receiver and bandwidth limits.
Cable Behavior
ΓL=RL+Z0RL−Z0
- Symbols: Load resistance RL, characteristic impedance Z0, voltage reflection coefficient ΓL.
- Endpoints: Open +1; short −1; matched zero.
- Criterion: Propagation delay relative to edge time; repetition rate alone insufficient.
- Source termination example: 3.3 V step, total source resistance 50 Ω, 50 Ω line, open receiver → launched 1.65 V and receiver 3.3 V after one delay.
- Loading: 3.3 V across a far-end 50 Ω resistor → 66 mA.
- Differential link: Common-mode range and termination still required.
Practice
- Preparation: Calculation or open-drain simulation using the stated model.
- Prediction: Rise time and sink current for three resistances.
- Execution: 10 kHz release/pull-low command; ten cycles; maximum time step 10 ns.
- Observation: Rise time relative to actual low/high levels and receiver crossing time.
| Pull-up | Rise time | Sink current | Simulation |
|---|
| 3.3 kΩ | 0.726 µs | 0.939 mA | — |
| 3.9 kΩ | 0.858 µs | 0.795 mA | — |
| 4.7 kΩ | 1.034 µs | 0.660 mA | — |
- Optional extension: Doubled capacitance or transmission-line simulation.
- Carry forward: Interface and settling limits for conversion.
Exercises
- Rise: 10–90% time for 2 kΩ and 100 pF.
- Sink: Current at 3.3 V, low 0.3 V and 3 kΩ.
- Hysteresis: Band between 2.2 V rising and 1.8 V falling.
- Reflection: Coefficient for 100 Ω load on a 50 Ω line.
- Optical current: Minimum output at 25% CTR and 2 mA LED current.
Answers and reasoning
- Answer: 0.440 µs.
- Answer: 1 mA.
- Answer: 0.4 V.
- Answer: 1/3.
- Answer: 0.5 mA under the stated CTR conditions.
Continue
Reference
- Reading: Paul Horowitz and Winfield Hill, The Art of Electronics, third edition, Chapter 12.
- Lesson material: Original explanations, calculation examples and exercises; reference sections for further study.