Timer and Counter Modules

U1 CD4541 is a Timer with Long Duration Ability. This timer is started by a low pulse from earlier circuit, when the temperature goes above setpoint, a low state is at U2A inputs, this starts the timer. The timer output goes high after a preset time. U2C-D Flip flop is power on reset via cap C7. Even a manual ‘reset’ is used if required. This alarm toggle is ‘set’ when The temperature remains high even after the preset time period of U1.

Timer and Counter Modules – del90002

Timer and Counter Modules

A digital counter monitors the number of times a process goes beyond a certain temperature limit over a long cycle of time. This circuit has a Analog Timer and Digital Counter. The Analog timer turns on an Alarm if the Temperature Limit transition is very long.

RTD Pt-100 Four Point Alarm

Here 4052 is used as an analog multiplexer, U3A TL062 opamp is wired as a 1mA Constant Current Source. It pumps 1mA into U2 4052 pin 13 X . Depending on BCD code on inputs A, B of 4052 the current is routed to any one of the four RTD 100E, whose one end is connected to X0-X3. The current then flows to GND thru the Platinum 100E resistance. The Y0-Y3 monitors the mV developed on RTD in tandem with X0-X3 positions. Like a ganged rotary switch. The Output mV at Y is the mV of Active Channel as selected by the BCD of 4029.

RTD Pt-100 Four Point Alarm – del90001

The BCD is provided by 4029 counter which is clocked by a 555. U5A cancels out the 100E mV (1mA * 100E) of a cold RTD and Amplifies the differential mV. This output of U5A is in proportion with measured temperature. U5B compares the mV that was obtained with a preset mV of POT1, which is a user setting called setpoint. The difference is amplified by U5B which is saturated by U3B comparator which adds a little hysteresis too. R7-C2 further dampen and slow the response. This finally drives Q2 to provide a Logic Signal indicating if temperature is below or above setpoint.

RTD Pt-100 Four Point AlarmFour points in a Closed Loop Temperature Control System is Monitored and a Alarm set to go off when the temperature goes beyond the set limit.

Precision Attenuator for Digital uC Control

When Instruments are designed a analog front end is essential and also as most equipment have digital or microcontroller interface the analog circuit needs to have digital access. The Circuits DACT0008 and DACT0009 are both useful in building instruments which have digital control.

Precision Attenuator with Digital Control

The Circuit DACT0008 is a programmable attenuator and the digital control can be a remote dip switch, a CMOS Logic Output like the A-B-C-D outputs of a decade counter, or an I/O port of a uC like 80C31.

The heart of the circuit is the popular OP07 OpAmp with Ultra Low Offset in the inverting configuration, 4052 a CMOS analog multiplexer switch enables the gain change, the innovation of the circuit is that the on resistance ( around 100 ohms) of 4052 switch is bypassed so that no error is introduced by its use.

The resistors used R1 to R6 can be 0.1% 50ppm if you will use a 3 ½ DPM i.e. + /- 1999 counts ( approx. 11 bit ), but for 4 ½ DPM ( approx. 14 bit ) you may need to have trimpots2 in place of R3, R4, R5 & R6 gain selection resistors to properly calibrate to required accuracy but for testing or trials use 1% 100ppm MFR resistors but the errors will be around 1%.

Precision Attenuator with digital control

b. Output

Output connect to DPM 7107/7135 or any other A/D Convertor or OpAmp Stage. Use a buffer at output if output has to be loaded by a value less than 1Meg. Use an inverting buffer if input leads have to have polarity where gnd is -In. See DACT0009 for details.

c. 4052 CMOS Switch

The 4052/51/53 Analog Multiplexers have an on Resistance of around 100E the highlight of the circuit is that the CMOS on resistance comes in series with the opamp output source resistance, which produces no error at output.

Digital Control Options

A and B can be controlled by I/O port of uC, like 80C31 so that the uC can Control gain. A and B can be given to Counters like 4029/4518 to scroll gain digitally. A and B can be connected to DIP switch or thumbwheel switch.

Precision Amplifier with Digital uC Control

When Instruments are designed a analog front end is essential and also as most equipment have digital or microcontroller interface the analog circuit needs to have digital access. The Circuits DACT0008 and DACT0009 are both useful in building instruments which have digital control.
This circuit DACT0009 is similar to DACT0008 but gains of upto 100 can be realized in this configuration, this is useful for signal conditioning of low mV outputs of transducers. The gain selection resistors R3 to R6 can be selected by the user and can be anywhere from 1K to 1M and can also be trimpots for obtaining gains as required by user, the resistor values shown are for decade gains e.g. for an auto ranging DPM.

Precision Amplifier with Digital Control

R1 and C1 reduce ripple in input and also snubs transients, ZD1 and ZD2 Zeners clamp input to +/- 4.7V the input current is limited by R1 lastly C1 and C2 are decoupling capacitors. The OpAmp U3 is used to increase the input impedance so that very low mV inputs are not loaded on measurement, the user can terminate the inputs with a resistor of his choice like 10M or 1M to avoid floating of the inputs when no measurement is being made. U5 is used as an Inverting buffer to restore polarity of the input and U4 is used as a buffer on the output of 4052 because loading it by resistance of value less than 1M will cause an error. An alternative is use R7 = R8 =1M and remove U4 but this may not be ideal. Gains of greeter than 100 may not be practical because at 100 gain itself a 100uV offset will be around 10mV at the output (100uV*100) this can be trimmed using the offset null option in the OP07, connect a trimpot between 1 and 8 and connect wiper to +5.

Precision Amplifier with Digital Control

For better performance use ICL7650 ( not pin compatible ) instead of OP07 and use +/- 7.5V instead of +/-5V supply.

Eight steps for gain or attenuation can be added by using two 4051 and by using Pin 6 Inhibit on 4051/52 limitless steps can be added by cascading many 4051,52,53 as Pin 6 works like a chip select.

Some extended applications of this circuits are……. Error correction in Transducer amplifiers by correcting gain. Auto ranging in DMM. Sensor selection or Input type selection in Process control. Digitally Preset power supplies or electronic loads. Programmable Precision mV or mA sources. PC or uC or uP based instruments. Data loggers and Scanners.

Voltage to Current Convertor using LM723

his Circuit converts a voltage control output from a Process Controller to be converted into a Current Control if the AC-Drive or Valve needs a Current Control Signal.

Significance of Current Loop 4 to 20 mA Standard

Voltage to Current Convertor using LM723

This is a three wire voltage to current loop converter. The 1-5 V DC is attenuated and fed to pin 5 LM723 opamp section which tries to maintain the same voltage at pin 10 across the 10 E, thereby producing a open collector constant current sink proportional to the 1-5V input. By trimming the attenuator you can scale-calibrate 1-5V input to 4-20mA output for looping many instruments in series, like a controller, recorder or PLC. With a supply voltage upto 24V, three instruments can be looped. The connection to pin 6 is required to convert 0-1 input to 4-20mA.

All the transmitter circuits can be seen here. Industrial Process Control Circuits

This circuit was designed by me in the eighties, the 555 was for negative supply, The whole thing went into the anodized cast aluminuim head of a sensor.

How 4-20mA Works

InfraRed LED Flasher for Optical Switch

This circuit is used to detect objects by reflected infrared light. It can be built into a cylindrical enclosure just like an inductive proximity switch.

Part of – InfraRed Detector for Proximity Switch

This is also useful as a level detector for colored liquids like oil. This has some immunity to ambient sunlight as it detects ac pulses.

Infrared Optical Proximity Switch

IC 555 is used as an astable oscillator and it flashes the Infra red LED D1 at a high speed, The object close to this LED reflects the light along with the ambient light which may also be sunlight.

Infra Red LED 555 Flasher

IR Led’s and Diodes

The types available are various and polarity hard to detect even photo IR transistors can be used. The IR Led can be tested in diode mode of a DMM (battery should be in good condition) it should give around 1.1V drop in proper polarity.

Se a Related circuit here Optical Obstacle Switch.

An IR detector diode or photo diode can be tested in the same way the drop will be 0.5V at 1 feet from a 60W lamp (no sunlight), closing the IR photo diode with your hand will be an over range on DMM this will happen on proper polarity. the photo diode shows around 10k ohm resistance in daylight and in Mega ohms when covered also the photo diode detects light on reverse bias and used like that.

LED Voltage Level Indicator

This circuit is derived from a Siemens Application Note 1974. This circuit uses common components of today.

The circuit is here as it is of high educational value. I have not tested it. You can ‘simulate and test’ or ‘wire it up and try’ and let me know how it worked. The Circuit is also a simple analog to digital converter. You can use optos in place of LEDs.

Battery Level Indicator

T1 and T2 make a differential amplifier. T3, T4 and T5 driving the LEDs are comparators.  When input voltage is increased T1 is turned on which leads to more base current for T3 which Lights LED1. When input voltage is less T2 turns on as it gets a better base current from P3 which turns on LED2 via T4. When both LEDs are off T5 gets biased as no drop across R5 which lights the LED3 thru T5 hopefully.

LED Voltage Level Indicator

What you need to know is a small current Ib thru the base-emitter path in the direction of the emitter arrow will lead to a large Current Ic thru the emitter-collector path in direction of arrow. Ic = B * Ib where B – beta is the DC current gain, it could be 100-400

Fluid or Water Level with Reed Relays 

Beta is different in each transistor you buy and varies with the test conditions and even with temperature and age. The LED1 and LED2 will indicate above or below Limits set by P2 and P1. The Limit Threshold itself is set at P3 i think. LED3 will light when Hi LED and Lo LED both are off.

The applications of this circuit are FM tuning indicator, Stereo Balance Indicator (Wire T2 like T1 then we get two channel inputs) and battery level indicator.