OK guys, Sorry if I am still unclear, but again Bob, you are spot on with your "Another possibility..." Yes, to obtain just the glitches from the normal distorted sine wave (of course, any household current is going to be somewhat distorted, and that is exactly why I cant use an ideal sinewave generator). This is exactly what I want to do. Yes Bob, I want just the "Glitches"--whatever they may be from the distorted sinewave (whatever that may be). I do realize this is not a "normal" kind of project--yes this project is somewhat peculiar.
And Adam, you are funny-- I mean in a good way,.. your "I am lost, what the bloody hell do you want to do" let's me know you are now well on your way to understanding my meaning. It is as Bob said on his last explanation--to find just the glitches. (not the variation from an ideal waveform).
And if Hop's original suggestion (to do it in digital via a microcontroller) is the best way to do it, I accept the professionals' recommendation. But it seems like a lot of work to actually design and implement,.. and that is why I was hoping to find an elegant short-cut if one is possible. After all, theoretically it is simple-- Take the average waveform, subtract it from the real-time waveform, and presto. But I do understand often theory gets bogged down by practical considerations upon implementation. I am more just the mathematician type, and you are the actual engineers.
Many thanks to you all-- Adam, Hop, and especially to Bob for picking up on my meaning--however peculiar it is.
If anyone has another analog idea--that would be great, otherwise it looks like Bob's digital approach is what I will try.
Thanks again, and God bless,
David K