LM311 Square Triangle Oscillator for PWM

Advertise in delabs

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.

More delabs Schematic Diagrams

  • Normally Closed AC SSRNormally Closed AC SSR
    This is a Normally Closed PCB Mount SSR. That means when DC Control input is low, the triac is ON, the output passes the load [...]
  • Insulation Tester power supplyInsulation Tester power supply
    With these circuits you can make an insulation tester going upto one tera ohm (2 Tera ohm max). hence currents will be in pico amps, [...]
  • Running Lights with CD4017Running Lights with CD4017
    The 555 Astable generates a clock for this circuit, an oscillator giving a square wave output at pin 3 which is counted by 4017 to [...]
  • Thermocouple and Current Input ModuleThermocouple and Current Input Module
    This input module converts J, K Thermocouple and 4-20 mA Inputs to 0-2V Full Scale. These can be used for any voltage/current inputs too. The [...]
  • Interface ICL7135 Voltmeter to PCInterface ICL7135 Voltmeter to PC
    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 [...]
  • Two Op-Amp Differential AmplifierTwo Op-Amp Differential Amplifier
    The Input Impedance of this module is very high and is symmetric. This circuit can be used for strain gauges and for four wire measurements. [...]
  • 1 Hz or 1 PPS Crystal Clock Base1 Hz or 1 PPS Crystal Clock Base
    The CD4020BC, CD4060BC are 14-stage ripple carry binary counters, and the CD4040BC is a 12-stage ripple carry binary counter. The counters are advanced one count [...]
  • Millivolt Meter using a LM3914 LED Dot DisplayMillivolt Meter using a LM3914 LED Dot Display
    Here is a easy to read ‘Analog’ Millivoltmeter. Just like the Moving Coil Voltmeter, but does not have that resolution. This gives a easy indication [...]
About delabs 152 Articles
Product Design - Industrial Automation and Instrumentation. -

Be the first to comment

Leave a Reply