
This is a voltage-controlled ring oscillator built from SKY130 1.8 V devices. It covers roughly 100 kHz to 100 MHz in four bands. Two digital inputs pick the band and an analog voltage on ua[0] tunes the frequency within it.
Ring core. Four differential delay cells in a ring. Each cell has a primary input from the previous stage and a secondary input from the stage before that, with a cross-coupled PMOS latch for regeneration. Each cell has a current-starved low-Vt NMOS tail. A replica branch (a copy of the tail current into a diode-connected PMOS) generates the second control voltage on chip, so only one tuning input is needed. The delay-cell devices use 0.6 µm channels instead of load capacitors. This sets the frequency range and keeps hot leakage from stopping the ring at low currents.
Voltage-to-current front end. Vin drives a low-Vt NMOS with a high-resistance poly resistor in its source. Its drain current is mirrored by a PMOS mirror and then an NMOS mirror into the ring tails.
Band switching. The two bits switch branches in the front end and in both current mirrors, with no extra logic:
bit1 = 1 adds a second, 10× stronger input branch (about 11× the current).bit0 = 1 divides the tail current by switching the mirror ratios on both the diode side and the client side. It also doubles the replica diode, which lowers the frequency further.Enable. ui[2] (EN) goes through a Schmitt trigger. With EN high the ring runs. With EN low the front-end bias is switched off and the ring nodes are held at fixed levels, so the oscillator stops and draws almost no current.
Output. The differential ring output is converted to a full-swing single-ended signal, buffered, and divided by 4 before it leaves the chip on uo[0]. The divider keeps the output below the speed limit of the Tiny Tapeout digital pads.
Simulated tuning ranges (typical corner, 27 °C, Vin 0.7 to 1.8 V, ring frequency before the ÷4 divider):
| bit1 | bit0 | Ring frequency | Frequency on uo[0] |
|---|---|---|---|
| 1 | 0 | 35 – 125 MHz | 8.7 – 31 MHz |
| 0 | 0 | 6.1 – 22 MHz | 1.5 – 5.6 MHz |
| 1 | 1 | 0.55 – 2.0 MHz | 140 – 500 kHz |
| 0 | 1 | 68 – 330 kHz | 17 – 83 kHz |
Tuning is roughly linear from about 0.7 to 1.3 V and flattens above that. Expect about ±10 to ±25 % spread across process corners and temperature, more in the lowest band. These are schematic-level numbers. Layout parasitics lower all frequencies: post-layout simulation gives about 24 MHz on uo[0] at Vin = 1.8 V with bit1 = 1, bit0 = 0 (31 MHz in the table).
ui[2] (EN) high. The VCO does not run while EN is low.ui[0] (bit0) and ui[1] (bit1) to choose a band from the table above. For the fastest band with EN on, use ui_in = 0b00000110.ua[0] (Vin). The pin must be driven: if it is left open it sits near 0 V (the demo board pulls the analog pins down) and the VCO does not oscillate. A lab supply or a potentiometer between 1.8 V and GND works. Keep the source quiet, since noise on Vin turns directly into frequency noise. A capacitor from ua[0] to ground on the board helps.uo[0] with a frequency counter or an oscilloscope on the output header, then multiply by 4 to get the ring frequency. The demo-board firmware only reads uo_out as a static value, so it cannot measure the frequency.Vin in each band to record the tuning curve. Where the board allows it, repeat at different temperatures and supply voltages to see the drift. With a spectrum analyser on uo[0] you can also look at phase noise and jitter.Do not drive ua[0] above 1.8 V or below 0 V. In particular, do not connect it to 3.3 V. A series resistor of about 10 kΩ between the source and ua[0] protects the input.
Vinbit0, bit1 and EN (the DIP switches on the demo board work, or set ui_in from the demo-board firmware)uo[0]; optionally a spectrum analyser| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | BIT0 (band select) | FOUT (VCO frequency / 4) | |
| 1 | BIT1 (band select) | ||
| 2 | EN (enable, active high; low stops the VCO) | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |
ua | PCB Pin | Internal index | Description |
|---|---|---|---|
| 0 | R | 10 | VIN (tuning voltage, 0-1.8 V) |