Supressing Current Spike
When I first put my noisy model train motor on the track I find it creates a pattern of noise that causes my logic circuits to crash (see my post noise). What can I do to slowly ease that motor on? The circuit initially has no load, whenever a load is placed on it, I want to prevent it from suddenly powering up.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Lightfoot) : 4/6/2007 10:54:38 PM GMT
I am not sure on SX code, but you ge the idea, you start the duty at 0 and ramp it up so the motor des not get full power at the start. Think of it as turning a dial, only you are increasing the duty.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm not an SX programmer, but your programs look pretty trivial.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
.1uf caps across power pins
470uf cap across voltage regulator output
100uf cap across +5v and GND for logic power supply.
No cigar
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
To understand this better, you have a live track that you want to place the locomotive on and have the locomotive immediately start moving? The locomotive has the typical slides on the bottom that move over the surface of the track?
If that is the case, could you try a few tests and post the results. First, since the track is live, could you place a 220R and and LED across the track somehow so that you have LED status at all times showing power. Second, place an LED and resistor on both SX's on a spare pin, set the code to go high(LED on) on boot. Put an LED on the power rails for both supplies. Once you have visual indicators in the places described, try to get it to crash again and note any LED status changes.
Lastly, try sheilded cable on all inputs to the SX's, and even try some grounded aluminum foil or sheilded enclosure around all the logic and SX's.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (TChapman) : 4/7/2007 2:06:38 AM GMT
http://forums.parallax.com/forums/default.aspx?m=176778&f=25&p=1#m177647
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.