In circuit camparator_Fails? I have ac source on one side of capacitor And dc offset on other side, but circuits sees ac with no offset. I want to run 0.5 V AC into either comparator or logic with threshold at 2.5 V to get output timed at zero crossings. |
by detector
March 18, 2016 |
When asking for help about a particular circuit in CL, it is good practice to include a link to a public copy of that circuit so that others can see and therefore offer suggestions on it. Like this: https://www.circuitlab.com/circuit/8dervk/comparator_fails/ It saves everyone having to find it from your own workbench. :) Unless you have edited your circuit since you posted this question, the simulation appears to be doing exactly what you would expect. Both comparator inputs are at 2.5V one through V2 directly, the other through R2. If you set If you set If you run the sim for long enough (or make C1 smaller: try 10nF) you will see the mean DC level of the signal at the non-inverting input of the comparator (NODE3) climbing towards 2.5V with an RC exponetial time constant of C1R2. |
by signality
March 18, 2016 |
Thanks, I was not paying attention to the skip initial. |
by detector
March 18, 2016 |
Please sign in or create an account to comment.
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.