Friday, February 20, 2009

Analog Level by BCD Thumbwheel Switch

BCD Thumbwheel Switch is used to input-set data in digital form, this can be read by digital circuits, uC and uP systems and PLC-SCADA Interfaces.

In the early transition of analog to digital, before uP became acceptable, Digital systems without uP were made, it even had printers, RAM and displays. The uP systems were coming in, uC had not yet come and uP systems had to still win the confidence of the Prudent Industrial Design Engineer.

The drawbacks of uP based systems used in Computers, in those days were.

  • Power Consumption was very high, needed SMPS.
  • Many chips, a CPU had a Retinue of many chips.
  • Large Board, Double or Multi Sided due to Bus.
  • Fussy, Hangs on minor Power Glitches or Resets.
  • Needs Firmware Development and Tight Testing.
  • Investment in all these areas, Tools and Manpower.

These made Industrial Automation with uP a challenge. CMOS digital and mixed devices and custom application devices were more easy to implement and affordable.

The coming of Low power CMOS uC changed everything and embedded systems became smaller and robust. These were packable in DIN standard and DIN Rail Mounting enclosures.

Coming back to inputting digital data. CMOS uC and Ni-Cd Battery backed up RAM with keyboards made thumb-wheels and other methods less attractive for digital data inputs. Then the Li-Ion Battery, Flash Memory in Combination with Application Specific uC and SOC have made inputting, retaining digital data very easy and affordable.

Thumbwheels are mechanical memory like DIP switches, but have limited number of operations. Flash is Mechanical Noise immune, vibration will not shake the bits out of it. Thumbwheels are Electrical Noise Immune, data will not be corrupted due to Spikes, Glitches, EMI, RFI and Power Supply Failures. Yet thumbwheels cannot input or store an entire page of data.

Here is a Circuit that will help you understand or learn practically Digital to Analog Conversion. Practical Learning is very important for Technical Education. So you can easily wire this up and learn. This is an Inverting Op-Amp where Ri is varied using TWS. Vref can be from LM336 (-2.5V).

Analog Level by BCD Thumbwheel Switch

Ignore the DIP Switch part, When a 10 Turn Bourns Pot is used in place of Thumbwheel for Setting the Value, the DIP switch settings are changed.

(Information above is presented for edutainment purpose only, to create an appetite for learning - Cross Verify your learning acquired, from other Sources - delabs)

Thursday, February 19, 2009

Opamp Supply on Buffered Virtual Ground

When a Inverting Opamp Configuration is at a steady state, we say the Inverting Input is at a Virtual Ground. That means it is at 0V w.r.t to the dual power supply ground, but it cannot drive or draw any current. It is at a high impedance, but still at 0V. When you buffer this 0 V, you get a low signal ground for a opamp supply.

Analog Buffer and Inverter Switching with logic - del20016

Opamp Supply on Buffered Virtual Ground

This gnd. can sink and source in a couple of mA. You can use it with low power opamp circuits for portable battery operated devices. This creates a virtual +/- 6 V dual supply from a 12V battery. This may be needed in cases where some instrumentation opamps need the negative supply or your design demands a measurement around zero.

You may get a more loadable ground using a Power Opamp, i have not tried. The above circuit gnd cannot be used as a return path for LED's or Relays. You can drive these, between VCC-VDD, but translate levels to drive them.

Voltage to Frequency Converter ICL8038

This was a small circuit made for driving an Impact counter. The heart being ICL8038. It must have been a Motor driving a Conveyor, the motor has a feedback attachment called Tachogenerator.

Voltage to Frequency Converter ICL8038

Only part of the circuit is shown here. See the image of product here Tacho Counter. The configuration is derived from the Application Notes of Intersil. The Voltage from Tachogenerator is Measured on a DPM-DVM and also fed to this circuit after attenuation and filtering. The square pulses of 8038 is used to derive a Logic pulse train for a CD4040. The CD4040 works of 0 and 12V. The above circuit is on +12 and -12. That is the reason R10-R15-Q1 are used. The pulses are 0-12V pulses. The Zero is Virtual like the Virtual Ground in low current power supplies.

Tuesday, February 17, 2009

Ohmmeter - Simple Resistance Measurement

Measurement of resistor values in circuit configurations are required to be made often, as these might have changed in value due to various tolerance ranges, and hence could be the cause of faults. Likewise the resistance of components used in a circuit, may need to be known. In such cases the measurement of resistance is a must.

Simple Resistance Measurement

The circuit used for measurement of voltage can be modified to measure the value of the unknown resistance. The principle followed is the measurement of voltage drop across the resistance when a constant current flows through it. In the voltage measuring circuit, the unknown resistance is connected to the same input terminals and the switch SR is operated. Then a constant d.c. current from the collector of transistor T I is passed through resistor R16 to the unknown resistance which is grounded. The voltage drop across the unknown resistor is proportional to the value of the resistance as current is maintained constant. This d.c. voltage drop is measured after proper calibration.

For the constant current source a high gain, low leakage, pnp silicon transistor (T1) is required. The range selector switch Rs, which connects the positive voltage to the constant current source enables measurement of resistances in 5 decades i.e. 200 ohms, 2 kilo-ohms, 20 kilo-ohms, 200 kilo-ohms and 2 mega-ohms.

According to the range of resistance being measured the switch Rs also selects the decimal point of the displays in the DPM. A resistor R limits the current to the decimal point of the LED displays. Transistor T I is biased by resistor R17 and variable present VR5. As this preset sets the value of current in transistor T1, it has to be adjusted for calibrating the resistance range. Once the calibration is over, the resistance value is directly read on the DPM.

(This is scanned-ocr from my earlier file, some mistakes corrected - delabs)

Monday, February 16, 2009

Ammeter and Precision Rectifier

Studying current measurement is a prerequisite for many of the measuring techniques. The current parameter mainly specifies the power consumption in a circuit, given the value of resistance. It is found convenient to measure current rather than voltage for knowing power output and determining efficiency. It may be required to measure leakages in circuits at certain times. Hence the measurement of current constitutes a priority.

Ammeter and Precision Rectifier

Measurement of DC Current -

The circuit diagram for the measurement of current (d.c. and a.c. modes) is shown aside. For measurement of current switch SI is operated. The switch S-ad is kept in d.c. mode. This enables the current to pass through a shunt circuit consisting of resistors R26, R27, R28, R29 and R 30. The current ranges are provided in 5 decades i.e. 200 micro-amps, 2 milli-amps, 20 milli-amps, 200 milli-amps and 2 amps. An additional current range that can be read upto 20 Amps is also provided. However, for measuring this high current the green terminal provided on the meter should be used. When a current to be measured is fed to the input terminals of the instrument appropriately, a voltage proportional to the current through the shunt resistor is fed into the DPM which measures the d.c. voltage which in turn indicates the d.c. current being fed.

Measurement of AC Current -

In case of a.c. measurement, the switch S-ad is kept in a.c. mode. The a.c. current path is similar to the d.c. current path in the shunt resistor. However the voltage tapped across the shunt resistor is fed into IC2 which is a buffer. The output of IC2 is fed to IC3 through capacitors C10 and C11. This IC is an operational amplifier acting as a precision rectifier. The output of IC3 is fed to the input of the DPM for measuring the a.c. current being fed to the input terminals. It can be seen that the current measurement is similar to the voltage measurement except that the attenuator chain is replaced by the shunt resistor circuit.

(This is scanned-ocr from my earlier file, some mistakes corrected - delabs)

Circuits by Application

Analog Circuits

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector