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

  • Simple High speed data switchSimple High speed data switch
    This circuit is a small representation of a very low cost printer sharer. It has no Active Devices only diodes. Pot the product in epoxy [...]
  • Pulse width modulation using 555Pulse width modulation using 555
    IC1 astable gives a fixed square wave at pin 3, C1 and R1 derive uS trigger pulses from IC1 and this will trigger IC2 monostable [...]
  • Audio Visual User Interface with AckAudio Visual User Interface with Ack
    This circuit is an User Interface part of a Security Alertness Monitor that i designed decades ago. The circuits are here – Digital Circuits – Part 1 The RAM [...]
  • Linearizing Circuit for ThermocouplesLinearizing Circuit for Thermocouples
    This circuit changes the gain of opamp U1B in four steps or segments. It can be used to get a linear output from most transducers [...]
  • Digital 5V Power Supply using L296Digital 5V Power Supply using L296
    This circuit is derived from an application note of L296, It is a Power Switching Regulator from ST. The advantage of using a switching regulator [...]
  • Inverting Amplifier – Op-Amp CircuitsInverting Amplifier – Op-Amp Circuits
    Input Impedance of this module is Ri as pin 2 is at virtual ground, the opamp with feedback tries to maintain pin 2 and 3 [...]
  • DMM range and AC-DC mode LogicDMM range and AC-DC mode Logic
    This is the third circuit that you will need to build a Simple Benchtop DMM with no Microcontroller. Here the U1D and U1B 4093 acts [...]
  • Digital gain control of Opamp.Digital gain control of Opamp.
    The gain of U1 can be controlled by a digital binary 1248 nibble at ABC. The gain at digital 000 is unity or 1 and [...]
About delabs 152 Articles
Product Design - Industrial Automation and Instrumentation. -

Be the first to comment

Leave a Reply