AC quality detection - Page 1
Forum section: electronics / projects

author: german77
author_rank: Regular Contributor
timestamp: December 04, 2017, 02:36:07 pm
content: Were I work, usually thunder storms and industrial equipment cause voltage spikes very often on the mains. Making the power supply fail and even burning the devices connected to the power supply.Of curse you need to put input protection to protect your devices, but since all my equipment has an auxiliary battery. It will be safer to use the battery and wait till the signal is more stable.In other words I need to check in a safe way, if the quality of the mains AC is good enough for use. I have been thinking that a zero-crossing circuit will help, but industrial equipment are usually AC phased.Using an op-amp with an ADC seems like a good idea but unless I can ensure they will have no problems with voltage spikes. I will avoid them.

author: Jeroen3
author_rank: Super Contributor
timestamp: December 04, 2017, 02:45:56 pm
content: Measuring thequalityof mains is not easy. You can buy several thousand dollar power quality analyzers that measure various parameters. Swell or dip of voltage or frequency, waveshape distortion, harmonics sometimes even transients.You're not going to do this with "just an op-amp and an ADC". It involves some number crunching DSP.In the end, for your equipment to survive, the best course of action would be to buy an online UPS. One with permanent conversion.

author: german77
author_rank: Regular Contributor
timestamp: December 04, 2017, 03:05:36 pm
content: I don't need a high quality measurement nor to detect every aspect of the signal. Just a way to detect harmful voltages like 200v and above on a 127VAC.UPS are used on the most important equipment. But they are also expensive making them not suitable for all equipment.

author: Tomorokoshi
author_rank: Super Contributor
timestamp: December 04, 2017, 06:22:50 pm
content: I used an energy meter:https://www.digikey.com/products/en/integrated-circuits-ics/pmic-energy-metering/765?k=energy+meter&k=&pkeyword=energy+meter&pv7=2&FV=1f140000%2Cffe002fd%2C12440001&mnonly=0&ColumnSort=0&page=1&stock=1&quantity=0&ptm=0&fid=0&pageSize=25to make measurements such as frequency, current, voltage, etc. All sorts of other parameters were available through SPI. I could do things like measure system current before and after an AC motor was turned on using a Triac to validate that it's using current in the right range, etc.I used this for the current sense transformer:https://catalog.triadmagnetics.com/item/current-sense-transformers/series-low-frequency-current-sense-transformers/cse187l

author: David Hess
author_rank: Super Contributor
timestamp: December 04, 2017, 08:25:28 pm
content: The simplest thing I would try is a fault protected high impedance high voltage input similar to an oscilloscope input which feeds either a sampling ADC or positive and negative peak detectors. With care in the design, such an input can be fault protected and return good measurements to thousands of volts.

author: CopperCone
author_rank: Super Contributor
timestamp: December 04, 2017, 10:35:49 pm
content: well, graphing the data and using excell could probably give you some stats. Other stuff probably requires a high pass filter to detect transients etc.You need two channel measurements to add AA filters. You don't wanna be measuring a 60 hertz signal and a 500KHz transient on the same ADC. At least in my opinion the data would be alot easier to sort.