Tuesday, October 11, 2016
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.
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
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.
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
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.
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
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).
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)