Guys, I'm having an issue with noise generated from a pump. The pump is a small EDP(electric diaphram pump), the type commonly used in beverage dispensers or motorhomes. This pump operates on 115VAC or so it says. It's actually a brush DC motor. I've taken them apart to find the AC rectified to DC. Either way, I have a controller that is used to swicth the pump on/off. The controller basically switches the hot line through a relay, therefore supplying power. Problem is, when the pump is switched on, it creates alot of noise on the board, which disrupts the +5VDC for the microcontroller as well as the +5VDC used for the input signals(all input pins are pulled up to +5VDC, same as the suuply). What is actually happening, or at least what the o-scope indicates, is that the pin designated for a start signal, which in this case is a toggle switch, is actuated and pulls the pin low. This initiates a sequence of time based events. During the sequence, the start signal pin is monitored, if it goes high for any duration of time before the end of the sequence, the sequence is stopped, then re-starts once the pin goes low again. Well, the noise generated from the pumps hot line through the onboard relay, spikes just enough to take it over the threshhold for that pin to consider it a high condition, which stops a re-starts the sequence, when in truth it hasn't truly been put in that state, but only by the noise.
All of the wiring carrying DC is in sheilded cable to try and avoid any cross talk or interference from the AC lines. I was also thinking of looking into the debounce time of that pin in the software or putting in some sort of "qualifying" time on that pin for it to be considered a true signal. Is it possible to place a cap across the motor to clean up the AC? I am not the software or electrical engineer, but am responsible for making all the decisions on how it is suppose to function and the software guy makes all the changes for me. Any suggestions or ideas are greatly appreciated. This is a prototype unit that is being put into the field the first week of March, so I have until then to de-bug in the lab until then.
Sorry for the long question, but I'm trying to give as much info as I can think of at the moment. I know how you guys hate vague information. If you need more info, please specify and I will do my best to inform you. Thank you.
"Almost" Good Answers: