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.

  • Voltage Doubler
    This is a Simple Voltage Doubler to boost 3V battery voltage to power some low-power 5V circuits. In needs a Clock input with high fan-out. [...]
  • +5 to -5 using a 555 Astable Multivibrator+5 to -5 using a 555 Astable Multivibrator
    This is a very simple -5V supply using one 555, useful for analog blocks using FET Opamps using low power. This circuit came up when [...]
  • Battery Backup SupplyBattery Backup Supply
    This is a 9V power supply which will work even on power failure. It uses a rechargeable battery and regulators. A transformer with 15-0-15 AC [...]
  • Crystal Oscillator – Parallel ResonantCrystal Oscillator – Parallel Resonant
    74HCU04 is a chip that was made for this purpose, HCT may not work for such a circuit. C1 and C2 can go to upto [...]
  • Presettable Up-Down Counter Timer
    When i had put the near Obsolete digital circuits online in the late nineties. One person who works in a public institution in the usa, [...]
  • Solid-State Stabilizer Step up 110V ACSolid-State Stabilizer Step up 110V AC
    The circuit uses opto-coupler MOC3041 of Motorola and the Triac BTA16-600 of STMicro as a solid state switch or relay. Four Switches boost or buck [...]
  • Analog Blind Dial On Delay TimerAnalog Blind Dial On Delay Timer
    It is called analog dial timer as it has no digital display, but the chip is digital it is CD4541. It is Mains operated, you [...]
  • Battery Backup for SRAM or Microcontroller
    This circuit can be used as a low cost SRAM and Microcontroller-Microprocessor Battery Backup. All the diodes are 1N4148, The diodes prevent battery discharge back [...]
About delabs 160 Articles
Product Design - Industrial Automation and Instrumentation. -

Be the first to comment

Leave a Reply