Analog comparator 3.3V?

The only comaprator in the library seams to be a 5V part. Is there a way to change the comparator parameters? Thanks.

by ss
January 18, 2013

The CL CMP block has no editable parameters.

You could connect the CMP block output to a voltage controlled voltage source with a scaling factor of 3.3/5. That would multiply the 0V to 5V o/p swing by 3.3/5 so giving a 0v to 3.3V o/p swing.

Or use a behaviour voltage source to do the same thing.

Or connect the o/p of the CMP block to a voltage controlled switch to make an open collector/drain type of output then use a pullup resistor to 3.3V.

Or :

https://www.circuitlab.com/circuit/rhnavc/behavioural-opamp-01/

https://www.circuitlab.com/circuit/g5k727/behavioural-opamp-02/

https://www.circuitlab.com/circuit/k8ykj3/behavioural-open-collector_drain-comparator-01/

https://www.circuitlab.com/circuit/8s4t8v/open-collector-comparator-using-switch-02-adding-external/

by signality
January 18, 2013

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.