• AF Waveform Generator (RS)

    From G8MNY@21:5/101 to WW on Sun Aug 25 23:02:31 2019
    G8MNY TECH 25.08.19 04:46l 109 Lines 5054 Bytes #365 (0) @ WW
    BID : 18858_GB7CIP
    Subj: AF Waveform Generator (RS)
    Path: OK0NBR IR2UBX DB0RES DB0EEO DB0GOS ON0AR GB7CIP
    Sent: 190825/0743Z @:GB7CIP.#32.GBR.EURO #:18858 [Caterham Surrey GBR]
    From: G8MNY@GB7CIP.#32.GBR.EURO
    To : TECH@WW

    By G8MNY (Updated Apr 17)
    (8 Bit ASCII graphics use code page 437 or 850, Terminal Font)
    These devices are usually based around the ICL 8038CC or ICL 8038BC waveform generator ICs. If a frequency ratio of 1000:1 for 20Hz to 20kHz on 1 scale are used (max possible!), there can be problems with set square 1:1 ratio at the LF end. I found a simple bodge was very effective at solving this.

    1N4002
    +ve──┬──┤ ├──┬──┬───┬───┬────100k─┬─ -ve
    Set│ │ │ │ │ /│\ │ Sine
    20Hz└─1kPot─┘ │ │u1 ├─100k─)──┘ Clippers
    /│\ │ === │+ /│\ │
    ┌──┬──┴┬───┐ │ │ ┌─┴───┴──┴────┐ Sine
    │ │ Freq 2k7 │ │ │ 6 1 12 2├────────o ────┐ +ve
    │ 2k7 Pot ─┴──)──┬┴─┤7 Tri3├───15k──o │ │
    Freq │ 25k │ │ │ 9├──┬150k┬o Level 3│\│7 TL081
    Pot ┴───┘ │ 100k│ 4 5 10 11 │Sq│ │ 25k ───────┤+ \
    25k │ *│ └─┬──┬──┬───┬─┘ │ │ Log │ 6 ─┬─220─o)
    │ │ └────┤ │ ===C │- 15k │ ├──15k─┬─┤-1/ │ Output
    1k │ 4k7 │ │4n7│ │ ├o ────┤ │2│/│4 │
    Preset │ Set │ 4k7 │ │ +ve └o _│_ │ -ve │
    │set 20kHz └───── 1k │ │ │ o ├─39k────┤
    _│_ 1:1 pot │ │ │ └─────┤├─┘
    └──┘ │ │ PSU = +/-15V regulated. 3p3
    -ve──────┴───┘

    I put in 100k (* select on test for your circuit) from the frequency pot slider to pin 4 "set square". This keeps the square wave ratio very close to 1:1 over the 1000:1 frequency range, which is needed to keep the sine wave even harmonic distortion low. My circuit was on a modifed R.S. PCB.

    INSIDE THE IC
    The ramp currents into the cap on pin 10 are controlled by the voltage on pin 7 with up & down currents balanced by the set square current inputs on pin 4 & 5. The ramp voltage on the capacitor is buffered to become the triangle output. The charge up down level threshold toggle becomes the square wave output. The sine wave output uses triangle wave & 2 clippers, thresholds set on pin 1 & 12 to produce it.

    FREQUENCY SCALE
    I changed the linear frequency scale (that was a decade scale) to a log scale over the 3 decades. This is done by using a ganged 25k linear pot, instead of the single 10k lin, a good near square law scale results & with 2k7 loads on each, makes a pseudo log scale resulting 700 Hz in the middle & a usable LF end. This is better than using a log pot as the are not very log actually!

    ┌────────────────────────────────────────┐
    │ 500 1k │
    │ 300 /~~\ 5k _ _ │
    │ ! 100 (Freq) 10k (_) (_) (·) │
    │on 20 \__/ 20k Si Tr Sq Level Out │ └────────────────────────────────────────┘

    N.B. the 20Hz LF frequency setting preset is very critical & temperature sensitive as the offset of few 100mV above the +ve rail used by the IC with the +ve rail diode is used.

    PIMPLES
    Another problem I fixed was the pulse on top of the Sine & Triangle waveforms due to crosstalk from the large square wave edge. I used an earthing contact on a spare mode switch to short out this signal (after 150k) then the problem goes away. In the circuit all the waveforms are about the same peak level with the level pot at max.

    _n_ Crosstalk n
    / \ Pimples / \
    ▐ ▌ ▐ / \ /
    ▐ ▌ \ /
    \_ _/ \ /
    u u

    SLEW RATES
    Here the buffer OpAmp is a fast slew rate one, not the original 741. The 3.3pF on the NFB arm is another select on test, for perfect non ringing 20kHz square wave at 7V RMS (20V P-P).

    741 Internal Untamed Ringing 400kHz Bandwidth
    Compensation & Fast OpAmp Limited OpAmp
    Low Slew Rate Good Slew Rate Good Slew Rate
    ___ !▄____ _____
    / \ 20kHz │▀~ │ 20kHz │ │ 20kHz
    / \ / │ │ │ │ │ │
    \___/ │▄____│ │_____│
    Square Wave! !▀~
    400kHz ringing

    SINE DISTORTION
    These Waveform ICs are not the lowest of distortion, but figures as low as 0.5% (-46dB) can be achieved at 1kHz & 7V RMS, sometimes with the more stable BC IC, but for the whole 20Hz - 20kHz only about 2% (-34dB) is possable. But with some care is needed to achieve this with the 2 sine clipper preset pots & the frequency sensitive 1:1 set square pot.

    The main advantage of these oscillators is their level flatness, typically ±0.01dB (1%) & no bounce of the Wien Bridge types. Also as they are DC controlled & can be used for sweeping tests locked to a scope/chart recorder etc.


    Also see my bul on "Simple 1kHz AF test osc" for details on waveform structure.


    Why don't U send an interesting bul?

    --- Mystic BBS v1.12 A43 (Linux/32)
    * Origin: HAMRADIO telnet slacko.kozow.com (21:5/101)