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.
Temperature Measurement and Control
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.
Continue reading “Analog Level by BCD Thumbwheel Switch”
The 0-1V to 4-20 mA Converter published earlier is a current sink, Here is a circuit that is a voltage to current converter but with a current source.
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.
This two opamp circuit converts analog voltage signals to current (sink) signals in a proportional manner. Current signals are more immune to noise and cross talk, hence long wires can be used. Voltage Signal to Current Signal Analog Converter.
Ensure +5/-5 dual supply for chip TL062 IC3. Gnd is common ps ground, let grounds radiate from ground plane in one side of PCB. R3-R8 is an attenuator that may need to be designed or modified.
In output R23 is for protection from shorting of +5V supply, R23 can also go to an unregulated or external. supply upto 24V DC which is referenced to this circuits gnd. More voltage more distance.
Q2 is the current control device, and R22 50E is the shunt for taking a sample of current. 4-20mA in the output (provided suitable load is connected) means 200mV- 1000mV across 50E shunt. This is fed to close loop control system of IC3a inverting pin.
An opamp on this type of feedback tries to drive the output in such a way, so as to maintain both the inputs at same level.
Mini RTD Pt-100 Three Wire Transmitter
If there is 1V at pin 3 and no current is flowing pin 2 is at 0V so output goes positive and drives Q2. this results in a flow of current till a 1V builds across shunt, if it exceeds then output of opamp falls This reduces drive to transistor and hence current reduces. That is the part of V to I conversion with open collector output.
Now we need 200mV to 1000mV to get 4-20mA 4mA is good for 0 as low level measurements are more noise prone. that is the reason 4mA and not 0mA.
Now we need to convert 0-2 V to 0.2 – 1.0 V using IC3B. R14 is a representation of that 200mV offset set by R16 pot. the opamp IC3B adds both the input and this offset to get 200mV to 1000mV. for that the opamp IC3B is an analog computer, summer, subtracter. Try to now calculate the values for that.