??? 04/01/08 15:45 Read: times |
#152840 - What does the oscilloscope tell you? Responding to: ???'s previous message |
Have you ever looked at the input signal with a 'scope?
That can tell you what the nature of the noise is. If, for example, it has a major component synchronized with line voltage, then sampling at a harmonic of the line frequency will average out that component. If there's some other annoying content, e.g. switching noise from a switching power supply, you can choose your sample rate accordingly, provided, of course, that the average contribution from the noise source is, on average, zero. Since the switcher-generated noise, or the AC line noise, is typically synchronous, you can even go further down the logical sequence and choose a sample rate that allows you to make some assumptions about that noise and correct for it, if you're that daring. Those things tend to keep on going no matter what you do. It means that you may have to generate some initialization code that allows you to sniff-out and synchronize-with the incoming noise in order to discern its phase and magnitude. Empirical observation of that signal may make it possible to do a good deal of filtering in firmware. RE |
Topic | Author | Date |
Adding hysteresis on top of my sampling | 01/01/70 00:00 | |
my method | 01/01/70 00:00 | |
For this to work... | 01/01/70 00:00 | |
adaptive delta ... ? | 01/01/70 00:00 | |
All data is keep in eeprom | 01/01/70 00:00 | |
What does the oscilloscope tell you? | 01/01/70 00:00 | |
not a good ides | 01/01/70 00:00 | |
Median filter ? | 01/01/70 00:00 | |
are you using an RC low pass before the ADC? | 01/01/70 00:00 | |
check here | 01/01/70 00:00 | |
Found a minor issue in hardware...not dealbreaker![]() | 01/01/70 00:00 | |
Low Pass Filter in Software | 01/01/70 00:00 |