I have noticed in the forum a number of people advising the connection of ground (negative power) of all their ESCs to the APM. In some cases some people are also connecting multiple 5 volt lines to the APM in the hope of providing redundancy of the 5 volt line. In my opinion both these practices can lead to intermittant issues that could cause your copter to occassionly behave erratically, and at worse damage your APM (as connecting multiple ESC grounds to the APM can create ground loops). Ground loops will create a noisy and unstable ground for the APM, which is the last thing you want with sensitive gyros and accels. The random issues that ground loops/bad power can lead people to incorrectly assume that there is something buggy with the software, causing unnecessary work for the developers and testers.
Ideally a seperate, single BEC (5 volt regulator) should be used to power the APM as the 5 volt line from an ESC that is also powering a motor will get very hot, causing the 5 volt line to become noisy and possibly brown-out/shut-down in flight. The BEC should not get so hot that it is uncomfortable for you to keep your finger on it for more than a couple of minutes with APM+GPS+Xbee etc connected. If so, a BEC with a larger heatsink or a switch-mode BEC should be used. In addition using a seperate BEC also ensures that the APM does not share a noisy ground return of an ESC.
I think a lot of the intermittant and unexplainable issues people have had can be resolved by ensuring the power supply and powering wiring topology is sound to begin with.
Does anyone know who contact about having documentation updated to reflect the above?
Notice ferrite toroidal choke on outputs? hint hint wink nudge. Switching supplies are usually much better in overall efficiency, but can be noisier- hence the choke acting as a low-pass filter.
I'm using the CC BEC (the pro version is overkill and too heavy) and it work very well. In my case I did this because when I switched to 4S LIPO, my ESC#1 would overheat after about 15mins of flight. ESC #1 was the one powering the APM, receiver and tememetry with its BEC. A full charge 4S LIPO is at 16.8V and if you use a 5V linear BEC it doesn't take long before it really start to dissipate a lot of heat because the regulator has to dissipate 11,8V * APM current. All this power is overheat the ESC board.
With the CC BEC, I do not use any of the integrated BEC of my ESCs.
Thanks Michael- glad to offer whatever I have, and hopefully save others some time and frustration.
Noise in these types of systems is important enough that maybe 'clean, streamlined power system' should be part of the initial setup for APM to get it out there to folks during their build. Maybe some funny reactions could easily be avoided.
L805? same as 7805? Vin,Gnd,Vout style? Linear?
From what I understand,(correct me if I'm wrong) linear reg's (78xx) are very inefficient. They burn off- as heat- the difference in voltage times the current flowing through them. Running a 1A load from a 12v battery through a 7805 passes 5W and wastes 7W as heat These units are undoubtedly reliable, tough, almost ESD proof, but inefficent. I stay away from them whenever efficiency matters- which is always for me- I live off of solar power.
The oscillations you mention are what cause so much issue. The rule I always heard was one large regulator is better than competing parallel smaller reg's due to the fact that voltage will never be perfectly matched and one will work itself to death, followed by the next one- OR they will try to compensate for each other and end up with voltage spikes killing the reg's or the circuits they drive.
As a side note- I have an 8A switching BEC I just bought, but will not be needing. Turnigy MegaBEC if anyone wants it... Its brand new- tested @ 4.98V or 5.97V (5v or 6v jumper select) <.2mv AC @ 4A. I considered it to be more noise I don't want to deal with.
FYI, the MegaBEC 8 is linear, not switching.
I'm using an L7805, but I've got well more than enough battery power so I'm not too concerned with the inefficiency. I like it's simplicity and reported reliability.
Yup- Hobbyking says its linear. If it is linear, they went way overboard in circuit design. I just opened it up to satisfy my own curiosity, and its got a 16 pin controller IC operating a couple of FETS with their tabs cut off. Looking at the traces and component arrangement, I'd say its a pretty standard buck converter circuit. Glad I opened it up too- one of the FET's almost fell off the board cuz it was barely soldered on. The only thing holding it on was the heatsink- sheesh! I'll get the FET soldered back on and put a fat load on it with ammeters on in and out and see what the Pin vs Pout is. @ 4A out I noticed no heat indicating its fairly efficient.
And yes the 78xx series regulators have built-in short circuit, reverse polarity, overtemp and over current protection- in other words electrically bulletproof. 78xx series regulators date back to the early 70's(?) and have been used almost religiously since then. Most 78xx circuit designs encourage filter caps out to ground from both input and output since they will react to noise from either end.
I have done just that, connected with two diodes that block if one power blow
I measured a lot of noise at altitude sonar/baro, I disconnected the wire for measuring at apm (volt divider), thus all the noise was gone. I put on a feritt core and plugged the cable into apm again, the problem is solved.
Theres a good link for a power line filter for the Maxbotix sonar using a 100 ohm resistor in series and a 100mfd cap right at the sonar unit- somewhere... Seemed like a good idea to me, so I did it. A choke works equally well usually. Just don't include your output signal from the sonar in the choke- you may filter out the signal you want fed into the APM. Or did you put the ferrite on the V.divider cables?
The battery + BEC with diode protection is a cool idea. Weight being a major concern, has anyone used a big cap instead of a battery? I have one that is rated 1fd @5.5v that I had pondered soldering to the APM as a backup. Still pondering...
I put the ferrite on the volt divider cables, because it seems that is a lot of noise at this wire. I have also choked power line to sonar with ferrite, not the signal wire. I have made separate cable for +5v for sonar stright from the bec. The filter you mention 100ohm/100mf, works best with 10ohm and 50 mf, this is also debated here in the forum.
Thats the one Michael. The point is that you can't filter DC too much- until the weight of ferrites, caps and resistors drag your craft back to earth. Without exception, pure clean DC is crucial. The cleaner the better. Even a couple millivolt ripple (AC component) has caused me issues with some circuits- I built a tachometer driver circuit for my Cummins diesel and alternator noise was making the tach twitchy- same s#*t different circuit... filter filter filter...