Showing posts with label Opamp-Circuits-5. Show all posts
Showing posts with label Opamp-Circuits-5. Show all posts

Friday, June 02, 2017

Using Thermocouple with DMM or DVM

In the circuit, use only metal film resistors (MFR) of 1 per cent tolerance, as this is an instrumentation application. Power supply should be a stable +5V, -5V supply, for which one can use 7805 and 7905 regulators.

The inputs TC+ and TC- terminals should go to a 4-way barrier terminal block, the 2 extra terminals are used to mount TH1 Cu thermistor. This forms an isothermal block, which is good enough.

A simple way to make a TH1 Cu thermistor, is to take a 1 Meg-ohm 2W resistor as a former and wind 2 meters of 46 SWG enameled copper (Cu) wire (5.91 ohm/meter) over it. This gives a 12-ohm value. Terminate wire ends on resistor leads.

Using Thermocouple with DMM or DVM

Thermocouple Temperature using DPM or DMM

Test and Calibration -

For calibration, you will need a DMM-DPM and a milli-volt source (as shown in the Fig.). First connect source to terminals TC+ and TC-, then set source to 0.00 mV (verify with DMM for zero). The output across +out and -out (use DMM) terminals must be mV representing the room temperature (RT). For example, if RT is 30° C (use a glass thermometer) then +out should be 30mV at 0mV input. Adjust VR1 till 30mV is read at +out terminal. This is 'zero cal'.

Tuesday, October 11, 2016

Resistance Measurement Analog LED Meter

This is a LED Analog Meter, This can be used as a Resistance Meter and Low Impedance Voltmeter for Battery Levels.

Resistance measurement Current Source

To measure battery voltage, the R5-R12-R17 etc. part of the Reference Resistor Divider Network can be modified to suit. Shown here is for 4 LEDs, Use Three LM324 for 12 or More LEDs and Cascade as shown.

Resistance Measurement Analog LED Meter

This cannot Measure Voltage levels from High Impedance Sources, will work for Battery Voltage Tests. To make it into a Continuity tester. R27 must be a short and R23 5 Ohms. The Black probe should have a Built in Resistance of 2 Ohms. If you want it to be a dedicated voltmeter, remove R3, The Probe has to be a 10X Attenuator with 10M Ohm and The Resistor Divider Steps in 100mV per Step. The R27, R23 etc. is 20K.

Simple Test Equipment

A Leakage Tester a Mains Voltage Monitor are other possibilities. Use LM3914 for a easier solution. A nice book for your Design Library - Measuring Circuits By Rudolf F. Graf

Thursday, May 12, 2016

Analog PID control using OpAmps

The Measured Value and The Setpoint are two inputs to a Control System. The Measured Value is the Amplified input of a Transducer or Sensor for some Parameter that needs to be controlled. It could be Pressure or Temperature...etc.

The Setpoint is the User Defined Input using a Potentiometer, Thumbwheel, EPROM or Flash Value. This is the value at which the process has to be maintained for that parameter.

Analog PID control using OpAmps

Industrial Process Control Circuits

The difference of these two is the Error, this is the input for this PID Analog Computation Stage. The three Opamps are configured as Proportional, Integrator and Differentiator Amps.  The Addition or Summation of these Values is the PID Control Output.(These days it is Math in the Firmware on a MCU, DSP or Software Application in SCADA)

This Analog PID Control Output can now be translated to a 4-20 mA Control Signal, that means 0-100% of power to the Actuator, which could be a Heater, Pump, Fan, Motor using AC/DC Drives. It could be a Steam Valve, Pneumatic or Hydraulic Motorized/Solenoids. The Actuator Size/Array must be right for the Process, a tiny fan cannot cool a Large Furnace, a small solenoid valve cannot fill a Big Tank. An effective Proportional or PID  control depends on choosing or designing the Sensor, Actuator and System Environment prudently.  

The Auto Reset is needed to ensure the Integrator does not dampen the Process so much that it fails to even raise to the Process value fast enough (Diffrentiator). So in the Proportional Band the Integrator is Active.

If the Setpoint is 1000 deg C, the proportional band is 10%. The Raise of temperature till 950 deg is Undampended. After that Integrator is called in by the Window Comparator made of two opamps, the integrator prevents OverShoot, Undershoot, Ringing and Oscillations.

The PID control output can also be a Time Proportional Output like PWM. With a large cycle time of 20 or More seconds. Like 2 Seconds on and 18 Seconds off for 10% Control.Fast Cycle times may be needed for small systems with less inertia.

Sunday, January 17, 2016

Voltage to Current Source 4-20 mA

Here is a circuit that is a voltage to current converter but with a current source. That means it supplies a current from a positive terminal and can drive a remote shunt in a Measuring Instrument. The other end of the shunt returns to gnd or low.

More than one instrument can be connected in series if the the sum of the voltage drops in the instrument shunts are much less than the voltage 12V of the current source.

The 0-1V to 4-20 mA Converter published earlier is a current sink,

Voltage to Current Source 4-20 mA

You can use a LM358 or LM324. The first opamp is a Voltage to Current with a sink output. That current creates a varying voltage w.r.t the 12V DC supply, this varying voltage is mirrored by the second opamp across the source output resistor. This way a constant current is obtained with a sourcing output. The control elements are small signal high gain transistors. Any suitable equivalent can be used. Even the opamp can be chosen by the precision and application you want.

Industrial Process Control Circuits

In this form of feedback. way to understand .... "Op-Amp drives the output to maintain both inputs at the same level" and also the "Output takes the polarity of the dominant input" and lastly "dominant means, more positive". +5 is more Dominant than +3 or 0 or -2. Then -3 is more dominant than -12. See which is more positive.

Long distance of current loop may need higher voltage and lower source resistor value. Then the output transistor needs to change, if you use 24V DC then that voltage should not reach opamp. Design needs to foresee all possibilities of I/O troubles, as these are wired by a customer, mistakes happen. Hence, Industrial Designs have to be rugged.

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)

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