Voltage comparator?
lairdt
Posts: 36
Anybody have a very simple voltage comparator circuit?
I need to know if an input goes below 0.40 volts (3.3v source) and I don't have much board space left.
Thanks
I need to know if an input goes below 0.40 volts (3.3v source) and I don't have much board space left.
Thanks
Comments
If going below 0.6V is close enough, then any NPN transistor with that level tied to the base thru a 10K resistor and a 10K pullup on the collector as an output (emitter to ground)
Unfortunately, the voltage is too low for the Propeller to directly detect it.
Was hoping there was a simpler way to get results other than adding another chip, oh well.
www.ortodoxism.ro/datasheets/stmicroelectronics/2164.pdf The Texas Instruments data sheet gives also many applications...
The threshold voltage of a PropPin is 1.42 Volt (measured). If the Voltage at the Input goes under 0.4V the Voltage at the resistor divider goes under 1.42V. You can make one of the resistors adjustable if you need a very exact threshold.
Andy
Now I'm having a stupid moment getting my 5v relay to energize... it *was* working, but something changed.
If the driver is driving at 0.4 V, then the input to the prop would be at the threshold, which means any power supply noise might kick it into the opposite state. Ie, your input becomes a noise sensor and quite unreliable.
I am eager to hear what issues you have experienced!
Parallax could probably answer this or the fab house as to what specific characteristics the input has. All the parts from a run will have similar characteristics, but from run to run that threshold will shift.
If you are making general comparisons between different CMOS chips, then I would say yes, that the input threshold would vary widely. But if you are only looking at one CMOS family (i.e. the Propeller) then yes, you will see some process variations typically in the 10's of millivolt range from one Propeller Chip to the next. That said, Chip Gracey has spent many long hours with specific attention to how the I/O's behave, so that any process variation, temperature variation, etc. has a minimal impact on the desired result.
Edit
VT can vary due to·changes in oxide thickness,·substrate, polysilicon and implant impurity levels and·surface charge. Accurate control of VT is very important. In the past, it varied up to 50% while today it is controlled within 25-50 mV.
The main cause of variations in process transconductance are due·to changes in oxide thickness.· Variations in W and L are caused by the lithographic process.· These variations are not correlated because W is determined in the field oxide step while L is defined in the poly and src/drain diffusion steps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 10/22/2007 6:04:56 AM GMT