Learning Targets
- Situation: Repeated capacitor charging between two switching thresholds.
- Targets: RC timing, one-shots, sinusoidal feedback, clock synthesis and jitter.
- Convention: Return at 0 V; angles in radians in time-domain equations.
Threshold Timing
t=−RCln(V0−VfVT−Vf)
- Symbols: Initial voltage V0, final asymptote Vf, crossing threshold VT.
- Validity: Logarithm argument between zero and one for a finite positive crossing time.
- Schmitt trigger: Separate rising and falling thresholds; hysteresis against repeated noisy switching.
- Relaxation model: 0/5 V output; capacitor moving between one-third and two-thirds supply.
- Steady period: T=2RCln2.
- Example: 10 kΩ and 100 nF → 1.386 ms, 721.3 Hz.
- Startup: Initial 0 V to upper threshold → RCln3=1.099 ms; different from steady half-cycle.
Figure 1. A capacitor charging between one-third and two-thirds supply thresholds, square-wave output, and an amplifier/filter feedback loop.
Timers and Oscillation
- Monostable: One timed interval per accepted trigger; retrigger behavior explicitly defined.
- One-shot example: 100 kΩ, 100 nF, zero to two-thirds supply → 10.99 ms.
- Classic two-resistor timer: tH≈0.693(RA+RB)C, tL≈0.693RBC for that specific charge/discharge topology.
- Counter timing: N full periods → N/fclk; synchronization and edge-count conventions.
- Sine-loop startup: Positive-real loop gain above one near the desired frequency.
- Sustained amplitude: Effective loop gain reduced to one by amplitude control; unity loop gain alone insufficient to guarantee startup.
- Wien bridge: Equal R/C network at 1/(2πRC) with attenuation 1/3; startup gain above three, controlled steady gain near three.
- LC/crystal: Resonant energy exchange; loss, loading and crystal drive/load-capacitance limits.
- Quadrature: Two signals separated by 90°; separate phase/amplitude verification.
Clock Synthesis and Variation
- DDS: fo=(M/2N)fclk; N-bit phase accumulator and tuning word M.
- Example: 1 MHz, N = 16, M = 655 → 9994.51 Hz; 15.259 Hz frequency step.
- Analog output: DAC images and quantization; reconstruction filtering.
- PLL: Phase comparison, loop filter and controlled oscillator; integer-divider locked ratio fo=Nfref.
- Lock conditions: Capture, sustained lock and settling as separate properties.
- Jitter: Event-time variation under a defined reference and observation interval.
- Small-jitter relation: σϕ=2πfσt; 1 ns at 1 MHz → 0.36°.
- Drift: Slower change with temperature or aging.
Practice
- Preparation: Ideal behavioral Schmitt model, 10 kΩ, 100 nF; initial capacitor 0 V and output 5 V.
- Prediction: Startup 1.099 ms; steady half-cycle 0.6931 ms.
- Execution: 20 ms simulation with maximum step 1 µs; output low at upper threshold and high at lower threshold.
- Observation: Startup interval, steady period and duty separately.
| Condition | Calculated period / interval | Simulation |
|---|
| Startup | 1.099 ms | — |
| Steady | 1.386 ms | — |
| C = 110 nF | 1.525 ms | — |
- Optional extension: Added comparator delay or nearest DDS tuning word.
- Carry forward: Timing sensitivity for noise analysis.
Exercises
- Period: Relaxation period at RC = 2 ms.
- One-shot: Time to two-thirds supply from zero at RC = 2 ms.
- Counter: 2000 full periods of a 1 MHz clock.
- DDS: Output for M = 256, N = 16 and clock 1 MHz.
- Jitter: Phase variation from 2 ns at 1 MHz.
Answers and reasoning
- Answer: 2.773 ms.
- Answer: 2.197 ms.
- Answer: 2 ms, excluding synchronization.
- Answer: 3906.25 Hz.
- Answer: 0.72° under the small-jitter model.
Continue
Reference
- Reading: Paul Horowitz and Winfield Hill, The Art of Electronics, third edition, Chapter 7.
- Lesson material: Original explanations, calculation examples and exercises; reference sections for further study.