Versatile comparator ( revised). Works with wid v range from 5 to 60v. The (untested) current control makes a close constant 1 ma regardless of drive v. The 900 ohm uses this 1 ma to short the out transistor. Edit the tiny volt source input and watch the output switch hard when you add a difference of about 10 to 20 mv. I couldn't figure out how to make a mv ac siurce in this program srry.