Page 1 of 1

CMOS gate as linear amp?

Posted: Sat Mar 30, 2024 9:33 pm
by KX4QC
Not ideal, but if one has a left-over logic gate and a small signal linear amp is needed, the temptation is great:

Microcontroller Group, Moorabbin, Melbourne
Ref: http://melbmcu.weebly.com/cmos-gate-as- ... ifier.html

CMOS gate as a linear amplifier
By David Stonier-Gibson

There are times when you are making an essentially all-digital circuit, but need a little bit of linear amplification. Examples of this would be a microphone pre-amp for a sound triggered switch, or a photodiode pulse pre-amplifier. I have used this several times throughout my career, when a left over gate can be used instead of having to add another chip to the design. It works with any inverting gate, meaning NAND, NOR or NOT (usually called inverter). NAND and NORs have more than one input. Use one of the inputs, then tie the others to ground for NORs and + supply for NANDs.

Note: This trick will only work with unbuffered CMOS gates or inverters. That means, for 4000-series chips, the ones with a U suffix, such as 4002UB. For 74 series chips it means ones with a single 'C' in the part number, such as 74C04 (but not 74HC04. It also won't work with Schmitt trigger parts such as 40106UB or 74C14. And it certainly won't work with TTL chips like 74LS04, 7404, 74S04).

The simplest circuit
I am illustrating my circuits with an inverter, but they will also work with NAND and NOR gates (see above).​

Oops, I forgot to draw the ground (power) connection!
​This circuit will work well with a fairly low impedance signal source (say an electret microphone). The voltage gain will depend on the specific chip you are using, and on the supply voltage. I used a 4069UB from Texas instruments, and recorded a gain of about 40 with a 5V suppy. You can go to higher supply voltages, up to 15V with 4xxx and 74Cxx chips - more on this below
cmos-gate-amp-schematic-1.jpg
cmos-gate-amp-1.jpg

The oscillograph shows the input (bottom, red) at 50mV/div, so we have about 50mVpp. The top/green trace is the output, about 2Vpp, which is about as much as I could get out of it before getting visible distortion. I am not sure what the "fuzz" is on the input trace. I used my nScope for this, and I am pretty sure it is simply noise in the nScope. The low frequency cutoff (-3dB) point will be the capacitor versus the sum of the source impedance and amplifier input impedance. If the source impedance is very low, we can just use the amplifier input impedance of 500K/40, or about 25K, giving a cutoff of about 65Hz.

The way this works is that the 1M resistor provides DC feedback, and ensures that the circuit will stabilise itself to a quiescent voltage of about half the supply voltage. The signal to be amplified has to be couple via a capacitor, to avoid disturbing the DC operating point. It's best to not use an electrolytic capacitor, because leakage currents will disturb the operating point.

The input impedance will be roughly the feedback resistor (1M) divided by the gain of the chip (in my case, 40), so about 25K.

A little fancier... click the reference above! -This kludge can be tidied up enough to make it usefu?

Re: CMOS gate as linear amp? Remember the ICL 76xx CMOS opamp?

Posted: Sat Mar 30, 2024 10:03 pm
by KX4QC
My old go-to small signal opamp was (is) ICL 7621 or other multiple variants 76xx. Maybe better to use this CMOS device than than trying to mis-use a logic gate.

The low input current <1pA makes them ideal for medical devices and where a huge input impedance is needed -in my case, ion-selective electrode potentiometry, ECG instrumentation amps, and audio preamp. The inputs are diode protected and the whole device is tough, with output impedance of a few kΩ, so not suitable for sourcing much current without something like an emitter-follower. Works well with single power supply, including phtovoltaic. Good for DC and AF up to a some 100kHz or so. Ah, and cheap!

The ICL761X–ICL764X family of monolithic CMOS op amps combine ultra-low input current with low-power operation over a wide supply voltage range. With pinselectable quiescent currents of 10µA, 100µA, or 1000µA per amplifier, these op amps will operate from ±1V to ±8V power supplies, or from single supplies from 2V to 16V. The CMOS outputs swing to within millivolts of the supply voltages.

The ultra-low bias current of 1pA makes this family of op amps ideal for long time constant integrators, picoammeters, low droop rate sample/hold amplifiers and other applications where input bias and offset currents are critical. A low noise current of 0.01pA and an input impedance of 1012Ω ensure optimum performance with very high source impedances in such applications as pH meters and photodiode amplifiers.


IMHO, an easy-to-use inexpensive device that doesn't deserve to be forgotten.

1555.gif