UNSW Sydney · FACULTY OF ELECTRICAL ENGINEERING

ELEC4602 Chap.5 Compensation, Comparators and Sampling

- one subject, every graph, every model, every mark
6 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 5 of 10 · ELEC4602

Compensation, Comparators and Sampling

Week 5 links amplifier stability to decision circuits and sampled signals. Compensation deliberately reshapes dynamic behaviour so a feedback amplifier can settle rather than oscillate. Continuous and latched comparators then turn analogue differences into decisions, with offset and regeneration affecting the boundary between outcomes.

Sampling introduces a switch, storage node and clocked event, so charge injection and timing become part of accuracy. Revise these topics as one question: what state is stored or decided, what unwanted mechanism perturbs it, and what circuit or timing choice reduces the error?

In this chapter

What this chapter covers

  • 01

    Operational-amplifier compensation

  • 02

    Sizing and output-stage choices

  • 03

    Continuous comparator paths

  • 04

    Latched comparator regeneration

  • 05

    Sampling and held-state accuracy

  • 06

    Charge injection and offset control

Worked example · free

Diagnose a sampled decision error

Q [4 marks]. A comparator makes inconsistent decisions only immediately after its input sampler opens. Give a diagnostic sequence that separates sampling disturbance from comparator offset. This weighting is an original AskSia exercise, not an official mark allocation.
Timing separates mechanisms.Timing separates mechanisms. The vertical guide marks the sampling event, the red point is a clock-correlated disturbance on the held value, and the later decision transition belongs to comparator regeneration rather than acquisition.clockhelddecisionswitch opensinjected stepregeneration
Timing separates mechanisms. The vertical guide marks the sampling event, the red point is a clock-correlated disturbance on the held value, and the later decision transition belongs to comparator regeneration rather than acquisition.
  • +1Observe the sampled node around the switching event to see whether a clock-correlated step appears before the comparator decides.
  • +1Change sampling-switch or clock conditions and look for a corresponding change in the disturbance, which points to charge injection or feedthrough.
  • +1Test the comparator with a stable direct input to characterise its decision offset independently of the sampler.
  • +1Compare both error contributions and revise the sampler, offset-control method or decision timing according to the dominant evidence.
The clock relationship is the first clue. Measure the held node through the sampling transition, vary the switch or clock condition and determine whether the decision error follows that disturbance. Then bypass or stabilise the sampler to measure comparator offset separately. The repair should target the mechanism supported by the tests and should be followed by an end-to-end sampled decision check. The points used in this sampler exercise are independently authored practice marks, not a university scheme.
Sia tip — Use timing as evidence. An error locked to the sampling edge suggests a different mechanism from a stable decision threshold shift.
Glossary

Key terms

Compensation
Compensation reshapes an amplifier's dynamic response to improve stability in its intended feedback condition.
Comparator
A comparator converts the sign of an analogue input difference into a discrete decision.
Latched comparator
A latched comparator uses clocked positive feedback to regenerate a small input difference into a full decision.
Offset
Offset is an input-referred imbalance that shifts the practical decision boundary away from the ideal one.
Sampling
Sampling captures a signal value at a selected time so it can be held and processed later.
Charge injection
Charge injection is unwanted switching charge transferred into a sampled node when a device changes state.
FAQ

Compensation, Comparators and Sampling FAQ

Why does compensation trade speed for stability?

Compensation changes where the amplifier's dynamic response loses gain and accumulates phase shift. Making the closed-loop system more tolerant of feedback can reduce the speed available for a given transition. A good answer states the intended feedback condition and verifies both settling behaviour and the performance cost.

How is a latched comparator different from a continuous comparator?

A continuous comparator produces a decision from an always-active signal path, while a latched comparator uses a clocked regenerative event. Regeneration can make the decision fast and decisive, but it introduces timing, kickback and reset concerns that must be checked around the clock phases.

How can I distinguish charge injection from comparator offset?

Charge injection is tied to a switching event and appears as a disturbance on the sampled node. Comparator offset shifts the decision boundary even with a stable input. Observe timing, vary the sampling conditions and then test the comparator independently so the two mechanisms are not collapsed into one generic error.

Study strategy

Exam move

Study this week with timing diagrams beside circuit blocks. For compensation, sketch the feedback path and state the dynamic failure the compensation is intended to prevent. For each comparator, mark when the input is observed, when regeneration begins and when the output becomes valid. For the sampler, trace the source, switch, storage node and load across acquisition and hold.

Next, build an error table with mechanism, observable symptom, timing signature and possible control. Include amplifier instability, comparator offset, kickback, charge injection and incomplete settling. Practise diagnosis rather than definition recall: if an error follows the clock edge, if it remains with a direct input, or if it grows under a different load, explain which mechanism becomes more plausible.

End every response with a verification pair that isolates the suspected block and then retests the complete path. This mirrors good engineering practice and the rubric's emphasis on measured evidence rather than unsupported claims. Rehearse three controlled changes: move the decision instant, change the sampling transition and replace the sampled input with a stable direct value.

Predict which trace should move before running or interpreting the test. For compensation, hold the feedback configuration constant while comparing load and command size, because ringing, settling and slew limitations require different explanations. Annotate every waveform with acquisition, isolation, regeneration and observation intervals.

Then write a bounded conclusion that names the implicated block and the evidence still needed to exclude the nearest alternative mechanism.

Working through Compensation, Comparators and Sampling in ELEC4602? Sia is AskSia’s AI Electrical Engineering tutor — ask any ELEC4602 Compensation, Comparators and Sampling question and get a clear, step-by-step explanation grounded in how ELEC4602 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 103 of your UNSW Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your ELEC4602 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
ELEC4602 · Microelectronic Design & Tech - independent study guide on the AskSia Library. More UNSW Sydney subjects · Microeconomics across all universities