Skip to content
Maurício Gedrat
← All work

Gerador de funções com um único CD4069

Square, triangle and sine at once, from one six-inverter chip on 5 V

  • Electronics
Year
2026
Context
Lab assignment, Electronics Technician course — Fundação Liberato
Team
Maurício Gedrat, Leonardo Kohn

Illustrative background photo: Manuel / Unsplash

Overview

A three-output generator built from a single CMOS chip, the CD4069UB, on 5 V. We identified the topology, derived the frequency equation and checked the model on the oscilloscope.

The problem

Understand and document a circuit handed over only as a schematic. The formula usually quoted for inverter oscillators, f = 1/(2.2RC), does not apply to this circuit.

The approach

  1. 01Identify the topology: a Miller integrator (U1:A) and a hysteresis comparator made of two inverters (U1:B and U1:C) form a relaxation oscillator. U1:F shapes the sine.
  2. 02Derive the frequency by superposition: f = R2 / (4·R1·R·C). The supply voltage cancels out, so the frequency does not depend on VCC.
  3. 03Measure the real resistors (R1 = 9.97 kΩ and R2 = 27.4 kΩ) and use those values, not the nominal ones, in every calculation.
  4. 04Capture all three outputs at once on the oscilloscope and compare calculated against measured.

How the system works

  1. 01

    Integrator

    U1:A · triangle

  2. 02

    Comparator

    U1:B + C · square

  3. 03

    Shaper

    U1:F · sine

  4. 04

    Coupling

    limiter

  5. 05

    Oscilloscope

    3 channels

Implementation

  • Built on a breadboard with C1 = 1.5 nF. The low range (switch S1 and C2) is in the design but was not built.
  • RV1, RV2 and RV3 set the frequency, symmetry and sine distortion.

Result

All three outputs worked together from 6.39 kHz to 107.0 kHz, with frequencies consistent with the derived equation. The triangle's amplitude came out higher than predicted (+28.3 % at 6.39 kHz and +14.2 % at 107.0 kHz). The report records the deviation and lists three hypotheses for it instead of forcing one explanation.

1 CI
six inverters, three outputs
107.0 kHz
highest capture with all three outputs
5 V
single supply

What I learned

The triangle's amplitude was off, but the frequency wasn't: the wave's swing cancels out in the period derivation. Separating what the model predicts well from what it doesn't was more useful than trying to make every number match.

Technologies

  • CD4069UB
  • CMOS
  • Relaxation oscillator
  • Oscilloscope