-Lorenz
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@Robert, I still owe you a response to this question:
Q: "If a given ESC doesn't need the signal ground connected to work with other brand of controllers, but it is required for Pixhawk, what is different with the Pixhawk?”
The answer is plain simple: There is no such thing as an ESC NOT requiring signal ground to be connected. It doesn’t exist.
The difference between “getting lucky” and having a seemingly working setup might be due to resistance on the GND path being slightly different with these setups, leading to different zero levels. With their APM setup it might be “just enough”, with Pixhawk it might be “just not enough”. Its in the same way unsafe in both cases and mostly depends on the wiring / resistances along those paths. If its not working with Pixhawk it means that the GND levels are different by over one Volt, which is totally unsafe - and if this is already the case while the system is disarmed on the bench, there is no guarantee the ground levels won’t swing by much more during operation. Just increasing the voltage level of the signal doesn’t make it any safer - which is why Spektrum, Futaba and FrSky are operating on 3.3V levels.
Not connecting signal GND is somewhere between unsafe and reckless, because you don’t control the signal zero level any more (so any noise or fluctuation in the system might render the motor control line useless for some time). There is no guarantee that the autopilot can talk to the ESC throughout the entire flight and you start to bet on the total plug resistance from the ESC. In addition, because there is no GND parallel to the signal line you’re much more subject to RF noise.
It is actually a good sign if it ends up on the "doesn’t work” side on the bench with Pixhawk. It may just end up there with APM during the flight, with unexplained flips or crashes as consequence.
Any guides / documentation / comments indicating that signal ground is not required would need to be revised. You need signal ground. If ground loops are a problem on a particular setup because the power ground fluctuates strongly the widely available Opto-isolated ESCs should be used.
-Lorenz
On 25 Apr 2014, at 21:50, Lorenz Meier <l...@inf.ethz.ch<mailto:l...@inf.ethz.ch>> wrote:
Just to be clear: I’m not using that approach for airplanes at all. On the multicopter side I frankly don’t think any ESC doing throttle auto cal is suitable at all. Its impossible to get an even throttle response that way and you can end up with attitude offsets after high-throttle events on one of the motors.
-Lorenz
Am 25.04.2014 um 21:03 schrieb Jason Short <jason...@gmail.com<mailto:jason...@gmail.com>>:
This is especially true on airplane ESCs. I ran into this on the first Ardupilot hardware. Almost all multicopter ESCs now are calibrated ranges which is why the 900us pulse works.
Jason
On Apr 25, 2014, at 10:59 AM, john...@gmail.com<mailto:johnar...@gmail.com> wrote:
Lorenz, a heads up.
I just remembered that some ESC's have a automatic throttle calibration feature. Meaning they start with a default 1100-1900 range, and automatically adjust the end-points to the lovest/higest value received during flight.
The problem with this, is that such an ESC would arm on the 900us pre pulse and set the throttle end-point to 900 as a result, and then spin up the motors when the 1100 pulse starts.
- JAB
On Friday, April 25, 2014 1:43:39 PM UTC+2, Lorenz Meier wrote:
Hi all,
I have seen quite some cargo cult (http://en.wikipedia.org/wiki/Cargo_cult_science) when it comes to interfacing PWM based motor controllers.
I feel I can contribute by helping people to focus on the right aspects during troubleshooting. After having tried all ESCs reported as “not working” myself successfully, I did a little write up to be referenced in the future. It tries to be a helpful troubleshooting resource but also serve as reference. Note that you can register yourself on the page and edit it if you feel parts of it need updating.
http://pixhawk.org/users/esc_motor_controllers
The executive summary of this is:
1) Pixhawk works with every ESC out there that works with a normal RC receiver. Really. Because it sends the same type of signal.
2) The flight stack has to ensure that initialisation requirements for the ESC are met. The two most popular: 1) requiring a low pulse, e.g. 900 us or 2) timing out after a few seconds without signal. The native stack eliminates both by sending a 900 us pulse at boot and raises this to about 1100/1200 when armed. It does this only for multicopters.
3) People need to get their wiring right. Always connect signal and ground. Check your ESC type to decide how to connect the +5V line. Pixhawk will never mind how you connect it, but your ESCs might kill each other if wired incorrectly.
I therefore also strongly advise against “compatibility lists”. There is 100% compatibility (unless the flight stack needs fixing, but the hardware and driver layers will work with every ESC and there are no known issues with the native flight stack). The only useful user resource would be pages that explain how to wire up and configure a particular ESC type.
-Lorenz
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
@Robert, I still owe you a response to this question:
Q: "If a given ESC doesn't need the signal ground connected to work with other brand of controllers, but it is required for Pixhawk, what is different with the Pixhawk?”
The answer is plain simple: There is no such thing as an ESC NOT requiring signal ground to be connected. It doesn’t exist.
The difference between “getting lucky” and having a seemingly working setup might be due to resistance on the GND path being slightly different with these setups, leading to different zero levels. With their APM setup it might be “just enough”, with Pixhawk it might be “just not enough”. Its in the same way unsafe in both cases and mostly depends on the wiring / resistances along those paths. If its not working with Pixhawk it means that the GND levels are different by over one Volt, which is totally unsafe - and if this is already the case while the system is disarmed on the bench, there is no guarantee the ground levels won’t swing by much more during operation. Just increasing the voltage level of the signal doesn’t make it any safer - which is why Spektrum, Futaba and FrSky are operating on 3.3V levels.
Not connecting signal GND is somewhere between unsafe and reckless, because you don’t control the signal zero level any more (so any noise or fluctuation in the system might render the motor control line useless for some time). There is no guarantee that the autopilot can talk to the ESC throughout the entire flight and you start to bet on the total plug resistance from the ESC. In addition, because there is no GND parallel to the signal line you’re much more subject to RF noise.
It is actually a good sign if it ends up on the "doesn’t work” side on the bench with Pixhawk. It may just end up there with APM during the flight, with unexplained flips or crashes as consequence.
Any guides / documentation / comments indicating that signal ground is not required would need to be revised. You need signal ground. If ground loops are a problem on a particular setup because the power ground fluctuates strongly the widely available Opto-isolated ESCs should be used.
-Lorenz
On 25 Apr 2014, at 21:50, Lorenz Meier <l...@inf.ethz.ch<mailto:l...@inf.ethz.ch>> wrote:
Just to be clear: I’m not using that approach for airplanes at all. On the multicopter side I frankly don’t think any ESC doing throttle auto cal is suitable at all. Its impossible to get an even throttle response that way and you can end up with attitude offsets after high-throttle events on one of the motors.
-Lorenz
Am 25.04.2014 um 21:03 schrieb Jason Short <jason...@gmail.com<mailto:jason...@gmail.com>>:
This is especially true on airplane ESCs. I ran into this on the first Ardupilot hardware. Almost all multicopter ESCs now are calibrated ranges which is why the 900us pulse works.
Jason
On Apr 25, 2014, at 10:59 AM, john...@gmail.com<mailto:johnar...@gmail.com> wrote:
Lorenz, a heads up.
I just remembered that some ESC's have a automatic throttle calibration feature. Meaning they start with a default 1100-1900 range, and automatically adjust the end-points to the lovest/higest value received during flight.
The problem with this, is that such an ESC would arm on the 900us pre pulse and set the throttle end-point to 900 as a result, and then spin up the motors when the 1100 pulse starts.
- JAB
On Friday, April 25, 2014 1:43:39 PM UTC+2, Lorenz Meier wrote:
Hi all,
I have seen quite some cargo cult (http://en.wikipedia.org/wiki/Cargo_cult_science) when it comes to interfacing PWM based motor controllers.
I feel I can contribute by helping people to focus on the right aspects during troubleshooting. After having tried all ESCs reported as “not working” myself successfully, I did a little write up to be referenced in the future. It tries to be a helpful troubleshooting resource but also serve as reference. Note that you can register yourself on the page and edit it if you feel parts of it need updating.
http://pixhawk.org/users/esc_motor_controllers
The executive summary of this is:
1) Pixhawk works with every ESC out there that works with a normal RC receiver. Really. Because it sends the same type of signal.
2) The flight stack has to ensure that initialisation requirements for the ESC are met. The two most popular: 1) requiring a low pulse, e.g. 900 us or 2) timing out after a few seconds without signal. The native stack eliminates both by sending a 900 us pulse at boot and raises this to about 1100/1200 when armed. It does this only for multicopters.
3) People need to get their wiring right. Always connect signal and ground. Check your ESC type to decide how to connect the +5V line. Pixhawk will never mind how you connect it, but your ESCs might kill each other if wired incorrectly.
I therefore also strongly advise against “compatibility lists”. There is 100% compatibility (unless the flight stack needs fixing, but the hardware and driver layers will work with every ESC and there are no known issues with the native flight stack). The only useful user resource would be pages that explain how to wire up and configure a particular ESC type.
-Lorenz
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsub...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsub...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsub...@googlegroups.com>.
Thanks Lorenz for this information.
This is perfect:
" The answer is plain simple: There is no such thing as an ESC NOT requiring signal ground to be connected. It doesn't exist."
Well said Lorenz.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
Basically you can get away with using the power ground as the signal return with the APM but you cannot do that with the Pixhawk. You must connect both the signal and the signal ground in order to make the ESC work, otherwise the PWM signal looks like this.
Video Here. http://youtu.be/6C1YG1e2aTo
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
However when the ESC is connected, the Pk-Pk voltage drops to 2.2V:
Do you have any insight into what is causing the issue and how to remedy it?
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Sync.wav>
The driver is 50mA, with 100mA peak. what sort of ESC would be requiring any where near 50mA to drive or sink a signal line?Philip RowseElectronics Engineering Dept3DRoboticsBallaratAustralia
On Sat, Jun 28, 2014 at 7:15 AM, James Overington <jim...@gmail.com> wrote:
Hmmmm... Voltage sag under load... I'm not sure what sort of a load your typical ESC presents to the PWM output, or even if there is any sort of standard, but if there is any significant variation then there may well be a possibility that the voltage is pulled down below the threshold causing problems. It seems an obvious potential issue now that it is pointed out. Perhaps the outputs on the Pixhawk are not quite strong enough in some instances? I would say that 2.2v is definitely in the region where you might expect problems. Perhaps the title of this post may yet prove inaccurate...
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The driver is 50mA, with 100mA peak. what sort of ESC would be requiring any where near 50mA to drive or sink a signal line?
Philip RowseElectronics Engineering Dept3DRoboticsBallaratAustralia
On Sat, Jun 28, 2014 at 7:15 AM, James Overington <jim...@gmail.com> wrote:
Hmmmm... Voltage sag under load... I'm not sure what sort of a load your typical ESC presents to the PWM output, or even if there is any sort of standard, but if there is any significant variation then there may well be a possibility that the voltage is pulled down below the threshold causing problems. It seems an obvious potential issue now that it is pointed out. Perhaps the outputs on the Pixhawk are not quite strong enough in some instances? I would say that 2.2v is definitely in the region where you might expect problems. Perhaps the title of this post may yet prove inaccurate...
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com<mailto:drones-discuss+unsubscribe@googlegroups.com>.