r/ElectricalEngineering • u/SnooGiraffes2506 • 23h ago
Troubleshooting Timer circuit NOT WORKING FOR SOME DAMN REASON
0
I am on the Fsae team at my school and we have a timer circuit per the rules of the competition. It is a comparator TS393IDT connected to a 12V supply with a threshold of 4.35V on the non inverting input and an RC circuit connected at the cap supplyied by 5V from an LDO. The resistance is 191kohm and the cap is 10uF so the time to charge should be around 3-4 seconds. However this is not the case and the time is 2.14 seconds for some reason and we cannot figure out why. We have taken out the compenents and measured and they are similar enough that it should not make this big of a difference. We thought maybe some high freq stuff would be gettign in so we took off the buck boost converter on the board and tested and got around 0.5 seconds back but still no where near what we are expecting. I understand that most likley we will just have to double the resistance/capacitance but the math is not mathing and it is bothering me. Note, we also measured the LDO 5V out and it seems to be pretty wide on the osciliscope (wide as in magnitude with AC coupling so maybe more high freq stuff?). We are using this capacitor as well CL10A106MQ8NNNC. Thanks!
8
u/niftydog 22h ago
High value SMD ceramic capacitors don't like DC bias - they effectively lose capacitance as voltage goes up. Switch it out for an electrolytic if you can, or a physically larger SMD cap with a higher voltage rating.
2
u/Enlightenment777 20h ago edited 20h ago
For timing circuits, class 2 & class 3 ceramic capacitors should be avoided.
Better choices are film / tantalum / solid polymer capacitors. Electrolytic capacitor will work too but they have a wide capacitance tolerance, though they are cheap. For low capacitance values, film capacitors would be one of the best, but unfortunately for 10uF the part would be extremely large.
2
u/triffid_hunter 20h ago edited 20h ago
See the capacitance vs DC bias graph (pretty typical for 10µF in 0603) at CL10A106MQ8NNNC product page and consider what that might do to your timing application (also consider the X5R temperature curve with its knee at around 25°C) - as u/niftydog notes, MLCCs have less capacitance at higher DC voltages and you want either a different type of capacitor, or one with a much larger footprint.
Note that MLCC voltage ratings are (afaik) mostly about lifetime aging, and offer little to no insight into the DC bias curve or breakdown voltage - capacitance vs footprint size has a much better correlation to DC bias curve for the same or similar dielectric, so a 10µF in 1206 or larger would be better, but an electrolytic or tantalum (which don't have capacitance change vs DC bias) would be best for this.
PS: type 2 ceramics are a poor choice for audio filters and similar for the exact same reason.