• Tech Ads

VCO with LM331

This Circuit is a simple Analog to Digital Interface with a capability of 10 to 12 bits resolution. 10 bits means 1024 counts or parts of a full scale FS which is close to 3-1/2 1999 counts.

VCO with LM331

In this 1 V can be read as 1.000 V that means even 1mV can be resolved for FS of 1V. The Caps C6 and others must be plastic multilayer low-leakage types for accuracy of reading. Use all 1% MFR 100ppm or better resistors, Design gain of U1B for the Full Scale you want.

Mixed Circuits Analog with Digital

The Output Fout is a Frequency which is directly proportional to the measured voltage Vin. The pulses can be isolated using opto-couplers to avoid ground loops or electric hazard. An additional protection and scaling circuit at the input may be required for some sensors.

Milli Volt Source for Printer Port

This circuit uses a R-2R Ladder Resistor Network to convert digital data from PC Printer Port to Analog. This can be used as a Millivolt Source or Programmable Power Supply.

This circuit is a R-2R, Digital to Analog Converter. You can replace the R2R with a D-A Chip for better performance. This circuit is just to understand the Concept, for learning and Experimenting.

Milli Volt Source for Printer Port

Milli Volt Source for Printer Port

The MFR resistors are 1%, hence the precision of this Conversion is not very good. It is ok for servo applications or closed loop conversion along with the ICL7135. That can be tried with software.

A 4053 Analog Switch controlled by PC software will give you a negative or positive output. R41 trimpot is to calibrate or scale output. If you modify this circuit, you could output data at a fast rate, then you have a staircase generator. You can write software for a waveform generator or function generator too.

You can design a dual tracking power supply over this. You can loop it with the DVM circuit shown earlier and make a 12 bit accuracy millivolt or milliamp source. It will depend more on the software and little addons to circuit.

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.

Sample and Hold with Standby CD4053

A, B, and C are the Digital Control for x, y and z input and output pairs.The voltage at Vinx is stored in C1 when A goes high, when A is low the voltage stored in C1 is read by buffer U2A.

It could be used in DMM circuits as Analog Memory DMM range, AC-DC mode, logic control

Sample and Hold with Standby CD4053

Another application of  Mux 8 Channel 4-20mA Analog Multiplexer

The stby or standby input should be low when sample and hold is operating. If stby is taken high then C1 Cap is isolated and leakage is minimum. The supply of +/- 7.5V is chosen as OFF resistance of 4053 is high at this supply.

Simple Sample and Hold with CD4066

A sample and hold is like an analog memory. If The digital control A is low 4066 switch is open, and when A is high switch is closed. U2B is a buffer so as to ensure quick charging of C1 thru 4066 on resistance of 100E.

Simple Sample and Hold with CD4066

Mixed and Interface Circuits

U2A is a FET input opamp buffer which does not load or drain the cap C1. When A goes high the input analog sample is stored in C1. A has to be high for say 10*1uF*100E = 1mS, so that a proper stable sample is stored. When A is low C1 undergoes very slow discharge as opamp input resistance and 4066 off resistance is in giga ohms. The accuracy of reading Vout falls with respect to time due to leakage currents.

PLL using 4046 – Phase Locked Loop

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

LM311 Square Triangle Oscillator for PWM

LM311 is a comparator, It operates from single 5V supply or dual supplies,input current 150 nA, 50 V-50 mA output drive capability. TTL-CMOS compatible output.

Even LM324  used as a  comparator Water Level Indicator with Reed Relays

The Output is open collector so it can sink current but cannot source, a totem pole output can source and sink. In this Circuit R2 is the source or pull-up.

LM311 Square Triangle Oscillator for PWM

The Output being high or low depends on which input is more dominant or positive. If + or non-inverting input is more positive than the – inverting input then output of LM311 is high impedance or high Z as output transistor of LM311 is turned off, but output goes high due to R2 pull-up 1K, so you can apply a load of 10K and above for source. When the – input or inverting input is more positive, output goes Low as transistor turns on, now a current of upto 50mA can sink here, a LED or Relay can be driven.

Mixed Circuits Analog with Digital

On turn on C2 capacitor is discharged and pin 3 the inverting input is at a lower potential than pin 2 the non-inverting which is at 2.5V. Hence output goes high and C2 starts charging thru R5, When C2 charges a little beyond 2.5V pin 3 is more dominant and output goes low now, this slowly discharges the C2 bringing the voltage at pin 3 again below 2.5V so output goes high again. This process goes on, hence it oscillates. The charging and discharging is at the rate of R5 * C2 approx. , R3 serves as hysteresis or feedback to ensure clean turn on and off.