Combinational Logic, Counters and Astables — video lesson
Digital circuits are built from logic gates. In combinational logic the output depends only on the present inputs; in sequential logic, such as counters, it also depends on what happened before, driven by clock pulses from an astable. It is part of Electronics, an AQA Paper 3 Section B option (spec 3.13.5.1 to 3.13.5.3).
Key points
- Electronics is one of the five options in AQA A Level Physics (7408). It is examined in Section B of Paper 3, so only study it if it is the option your school has chosen. The data and formulae booklet has a page of its equations.
- Boolean notation: NOT A is written $\bar{A}$, A AND B is $A \cdot B$ and A OR B is $A + B$. NAND and NOR are AND and OR followed by NOT. An exclusive OR (EOR) gate gives 1 only when its two inputs are different.
- To analyse a circuit, work out the output of each gate in its own truth-table column. To design one, find the rows where the output must be 1 and combine those conditions with AND and OR. Gates are treated as building blocks.
- A binary counter counts clock pulses in binary; a BCD counter counts 0 to 9 and then resets; a Johnson counter passes a pattern along its outputs, giving twice as many states as it has outputs. Counters have clock, reset and up or down inputs.
- A modulo-$n$ counter counts from 0 to $n - 1$: gates detect the count $n$ and drive the reset pin, so the counter returns to zero at once.
- An astable has no stable state, so it oscillates and provides a clock. The period is the mark time (output high) plus the space time (output low), and the frequency is $\frac{1}{T}$. The mark-to-space ratio is mark time divided by space time; the duty cycle is mark time divided by the period. An external resistor and capacitor set the frequency.