delabs (Page 11)

Product Design - Industrial Automation and Instrumentation. -

A PC based Analog Voltmeter. The Printer Port or Parallel Port Interface is used to acquire high resolution analog data using ICL7135. This is a method of getting analog data into your PC. This is only of Educational Value. Applications include Data Loggers and PC based Process Monitors, chart recorders. (USB, Wireless Interfaces and Tablet Computers are in vogue today

ICL7135 to Printer port Interface

The four Digit Drive outputs and four BCD outputs of the Multiplexed Display Driver of 7135, along with A-D status output which is also four, are routed to four input pins on printer port via three 74HCT373 Digital Switches. This is because we have less Input pins on Port and 4 are shared by making one 74HCT373 transparent and others High Impedance when PC takes a reading. So the three sets of four outputs of 7135 can be read sequentially.

ICL7135 to Printer port Interface

74HCT139 U9A which is controlled by the PC program can select U3, U4 or U5 for sending data to 4 pins on printer port. Data sent on the eight output pins of printer port can be latched by U10B into U6. This eight outputs of U6 can drive relays or lamps.

The ICL7135 details can be seen here 41/2 A/D with BCD ICL7135 . This Mixed device was far ahead of its times, a product of Intersil.

Learn how to use the AD590 to measure environment temperatures for display, logging or cold junction compensation.

The voltage at the point 1 of R4 will be :Vo=( 1+ ( 10K/22K)) * Vref = 3.63V as nominal Vref is
2.5V.AD590 is a current source which gives 1 uA / kelvin, It is independent of the voltage across the device. you can treat it like a current source or sink or impedance. total voltage across AD590 is 5V as opamp pin 2 is at virtual ground.

Analog Circuits – OpAmp, Signal Condition, Mixed Signal.

AD590 based Temperature Sensor

This is the way you try to understand the design.

The AD590, here is a constant current sink as cathode goes to -5. The current it sucks away or drains from node pin 2 of OP07 is 1uA/ kelvin. at 0 deg C the current drained is 273 uA at 26 deg C it is 300uA.

You know according to theory that the amount of current entering the node, is equal to the amount of current leaving the node. do not look at voltages now, look at the currents. the AD590 drinks 273uA from Node pin 2 of OP07 at 0 deg C. Now no current can come from opamp OP07 pin 2 as resistance is in giga ohms and leakage in pico amps. now the pot R5 and resistor R4 are just in series and connected to 3.63 V as established earlier. The TL431 is a shunt regulator with reference and has a low impedence. Now the R5 + R4 combination should not load the TL431, that is not the case as 3.6 / 10K = 360uA .

By varying R5 pot you can pump 3.6 / 10K = 360uA down to 130uA when R5 is max into node pin 2 of OP07. This pot will be calibrated with AD590 in ICE to give a 0 mV output of the Op07. When calibrated R5+R4 pump 273 uA into node pin 2 of op07. this is sucked away by the AD590 which is draining 273uA at 0 deg C. This leaves the pin 2 at zero potential as currents leaving = currents entering.

Now to understand the opamp functioning.

The pin 2 of opamp is a 0 potential as calculated above and pin 3 also is at zero pulled down by R7. Now as both inputs are at same potential the output of opamp also is zero. The feedback resistors R1 and R2 will carry no current as both their ends are at 0. the Vout is now 0 mV and AD590 is on a block of ICE and opamp is stable.

If pin 2 (-) becomes more dominant or positive than pin 3 (+) the output swings negative. If pin 3 (+) becomes more dominant or positive than pin 2 (-) the output swings positive. The opamp on feedback tries to maintain both the inputs at the same potential. This thumb rule can be used to make opamp oscillate, amplify or compute.

Now what happens when the AD590 is removed from the block of ICE. It comes to room temperature say 26 deg C which means 300uA. Now the AD590 demands to draw 300uA from node pin 2 of OP07. The R4 + R5 from 3.6 V can give 273uA as it is fixed, not a uA more. The rest which is 300 – 273 = 27uA leads to a drop in potential at pin 2 and it turns negative. as demand is greater than supply. which makes pin 3 which is at zero more positive than pin 2. ( theory : 0 is positive compared to -1) as pin 3 is more dominant opamp swings positive as per thumb rule. and a current starts flowing thru R1 + R2 till the current reaches 27uA. at this point the extra current 27uA drawn by AD590 is supplied by opamp thru R1+R2. The Pin 2 now comes to 0 as currents leaving = currents entering.

Test & Measurement, Instrumentation

At this point the voltage at opamp output is given by ( R1 + R2 ) * 27uA = 270mV (assume R1+R2 is 10K after calibration) now opamp gives 10mV per deg C.as opamp now is a closed loop control the rise and fall in temperature, results in AD590 current variation which produces a proportional OP07 output.

Now the explanation above is in steps but all that happens in real time in an instant.

When the microcontroller hangs due to a spike, EMI or RFI etc. the 7555 will reset the uC, if proper power supply design is done above circuit can also give a clean power on reset, the above circuit you should modify to suit your design.

80C39-8749 MCS-48 Examples and code

Better still use a uC with watchdog built in like some atmel chips, or use the watchdog chips from maxim which can also do RAM battery management.

The circuit was developed over a old TI application note, 7555 i think fairchild may be making it, 7555 is CMOS version of 555 timer, advantage of 7555 is that it can go to higher frequency, low power consumption, the disadvantage is its output drive mA is not as good as 555. now why i put it here was that you can see how charge and discharge paths are separated with diodes.

555 watchdog for uC and uP systems

See Larger Circuit. 555 Watchdog
Edit the circuit eagle cad file del00013.zip,

CD4046 is a PLL or phase lock loop, it mainly consists of a VCO and phase comparators. This is a component in FM demodulation and modulation.

Mixed and Interface Circuits

PLL using 4046

It is used in a closed loop control to maintain a stable frequency. The Circuit above is good for learning the full use of a small Dual Trace Scope. The Circuit has both Analog and Digital areas and is a part of communication.

Read the pages above for building more Knowledge on PLL

This circuit uses a PNP Power Transistor TIP2955, you can use any other according to your current and voltage requirement.

Look at R2 a 10 Ohm resistor, when the current in your load to the power supply is less than 70mA the voltage across R2 is less than 10E * 70mA = 700mV right. The base emitter junction of Q1 will be biased or turned on around 700mV, less than 700mV the transistor just does nothing.

Single Polarity Power Supply

When the current in your load goes over 70mA the voltage across R2 goes above 700mV and a small base current Ib flows from emitter to base of Q1 turning on the transistor. Now a collector current Ic flows from emitter to collector and then to your load supplying the excess demand. The Ic = Ib * hfe where hfe or beta is the DC gain value.

From my Power Electronic Circuits

Some transistors will have only AC gain specified which is lower than DC gain. TIP2955 has a gain of 20 so for an Ib of 50mA the Ic will be 1 Amp which saves the regulator from heating up or shutting down as the main current flows thru the transistor. Q1 should be provided with a good heatsink.

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 or single shot, the voltage at pin 5 of IC2 will change the pulse width output of IC2, to get it working all the three RC combinations have to be figured out.

Optical Obstacle Switch.

You can even build a small SMPS with this or even control the temperature of your soldering iron using the SSR solid state relay circuits in power section, then you need to think and design the cycle time of a soldering iron heat control system, it will be in seconds but then above circuit is running at audio frequencies, then you have to work that out yourself..

Pulse width modulation using 555

This is a mains 230V AC voltage indicator and is a LIVE CIRCUIT, so take care. The Resistor has to be a fusible ceramic wire wound and the capacitor 630V AC or higher capacity.

More at my Home Made Circuits.

Mains Voltage LED Indicator

This circuit has been drawn from my memory and i have not tried it out again, just see if it is ok and then try. You should use the fuse of 100mA a slow blow if you want but it is very important. This circuit has to be enclosed in a plastic sealed enclosure to avoid contact.