This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/LM211: LM211

Part Number: LM211

Tool/software: TI C/C++ Compiler

Use LM211 to build a zero-crossing comparator. When the input signal frequency is 50Hz and the amplitude is 1V, the output waveform is distorted. The circuit is exactly the same as the twelfth page of the data sheet. I don’t know why. I hope the engineer can help me. Thank you
  • Hi,

    choose DC input of scope, not AC input.

    Kai

  • what?Are you kidding me?The signal input is a sine wave, how can it be set to DC input?

  • Hello,

    Kai is correct. You are monitoring a low-frequency square wave, but the scope set to AC coupling. The AC coupling capacitor creates a high-pass filter, which causes the square wave to loose the DC baseline levels and creates the "spikey", slanted appearance at low frequencies (depending on the internal coupling cap value). Set the scope to DC coupling to restore the baselines and make it "square" again.

    Can you please provide a schematic of your circuit. Are you using a single supply? What is the supply voltage?

    Looks like you are using a 24V supply.

    Please note that the LM211 is not a "ground sensing"  device, so that if you have V- pin grounded, then the input voltage cannot go to ground. The minimum input voltage is +0.3V - so under 300mV it may not work correctly.

  • No additional input has been provided for a while, so this post is being closed.  If further support is needed, please reply or open a new post.

    thanks, Chuck