Precision Attenuator for Digital uC Control

Advertise in delabs

When Instruments are designed a analog front end is essential and also as most equipment have digital or microcontroller interface the analog circuit needs to have digital access. The Circuits DACT0008 and DACT0009 are both useful in building instruments which have digital control.

Precision Attenuator with Digital Control

The Circuit DACT0008 is a programmable attenuator and the digital control can be a remote dip switch, a CMOS Logic Output like the A-B-C-D outputs of a decade counter, or an I/O port of a uC like 80C31.

The heart of the circuit is the popular OP07 OpAmp with Ultra Low Offset in the inverting configuration, 4052 a CMOS analog multiplexer switch enables the gain change, the innovation of the circuit is that the on resistance ( around 100 ohms) of 4052 switch is bypassed so that no error is introduced by its use.

The resistors used R1 to R6 can be 0.1% 50ppm if you will use a 3 ½ DPM i.e. + /- 1999 counts ( approx. 11 bit ), but for 4 ½ DPM ( approx. 14 bit ) you may need to have trimpots2 in place of R3, R4, R5 & R6 gain selection resistors to properly calibrate to required accuracy but for testing or trials use 1% 100ppm MFR resistors but the errors will be around 1%.

Precision Attenuator with digital control

b. Output

Output connect to DPM 7107/7135 or any other A/D Convertor or OpAmp Stage. Use a buffer at output if output has to be loaded by a value less than 1Meg. Use an inverting buffer if input leads have to have polarity where gnd is -In. See DACT0009 for details.

c. 4052 CMOS Switch

The 4052/51/53 Analog Multiplexers have an on Resistance of around 100E the highlight of the circuit is that the CMOS on resistance comes in series with the opamp output source resistance, which produces no error at output.

Digital Control Options

A and B can be controlled by I/O port of uC, like 80C31 so that the uC can Control gain. A and B can be given to Counters like 4029/4518 to scroll gain digitally. A and B can be connected to DIP switch or thumbwheel switch.

More delabs Schematic Diagrams

  • Display ICL7107 – Temperature controllerDisplay ICL7107 – Temperature controller
    This is the Display Circuit and PCB part of of section Temperature Control. The above circuit is powered by +5 and -5 from a LM7805 [...]
  • High Resistance MeterHigh Resistance Meter
    I don’t remember if this circuit worked properly. But a few were made and i might not have shown the modifications that were done to [...]
  • Two Op-Amp Differential AmplifierTwo Op-Amp Differential Amplifier
    The Input Impedance of this module is very high and is symmetric. This circuit can be used for strain gauges and for four wire measurements. [...]
  • 555 based Reset Generator555 based Reset Generator
    You must have read all the circuits and explanation on the other pages at delabs to understand this, as i cannot repeat the same thing [...]
  • Millivolt Meter using a LM3914 LED Dot DisplayMillivolt Meter using a LM3914 LED Dot Display
    Here is a easy to read ‘Analog’ Millivoltmeter. Just like the Moving Coil Voltmeter, but does not have that resolution. This gives a easy indication [...]
  • Digital to Analog Converter with uC WatchdogDigital to Analog Converter with uC Watchdog
    This is the continuation of the earlier post. Part of 80C39 based Process Controller. In this schematic you can see the Watchdog and D/A Converter. [...]
  • Thermocouple and Current Input ModuleThermocouple and Current Input Module
    This input module converts J, K Thermocouple and 4-20 mA Inputs to 0-2V Full Scale. These can be used for any voltage/current inputs too. The [...]
  • DC-DC SSR Solid State RelayDC-DC SSR Solid State Relay
    This is a DC Input DC Output SSR Solid State Relay. It was made for Printing or Photo Processing Equipment. It has an optical isolation [...]
About delabs 152 Articles
Product Design - Industrial Automation and Instrumentation. -

Be the first to comment

Leave a Reply