inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Creating a warning regarding low DSHOT reliability

Open digitalentity opened this issue 7 years ago • 23 comments

Per issue title. Summoning @DzikuVx @fiam @stronnag @shellixyz for discussing this

digitalentity avatar Jan 11 '19 10:01 digitalentity

I would not go that far, but I would add a HUGE red notification in Configurator saying "You are doing this on your own responsibility and probably should not do it if you are not ready to accept the potential consequences"

DzikuVx avatar Jan 11 '19 10:01 DzikuVx

Agreed, and in the release notes (I added the target list already). We are in for a lot of these I think.

stronnag avatar Jan 11 '19 10:01 stronnag

If we disable it, users will keep demanding it to be enabled. Better to keep it with a warning. Then, when issues come in (which we know they will) we'll just redirect them to the warning.

With that said, it seems that most of the problems with DSHOT are on the F7. @DzikuVx were you testing DSHOT on the F7?

teckel12 avatar Jan 11 '19 21:01 teckel12

Agreed. Let's make a warning in Configurator then. Moving the issue there.

digitalentity avatar Jan 12 '19 08:01 digitalentity

I wonder if we should add the same warning regarding high looptime frequencies. 4-8KHz looptime is unsustainable if you want navigation capabilities.

digitalentity avatar Jan 12 '19 09:01 digitalentity

@teckel12 yes, DSHOT600, Matek F722-STD, looptime 4K and everything was fine.

DzikuVx avatar Jan 12 '19 09:01 DzikuVx

@digitalentity I think something can be arranged for high looptime as well

DzikuVx avatar Jan 12 '19 09:01 DzikuVx

Matek F722-STD DSHOT1200 died Matek FCHUB-6S. As soon as I put the DSHOT1200 and saved the settings right there instead of 5 and 10 volts, it became 3 volts everywhere. I do not know what it is connected with, but before that I flew on multishot everything worked normally.

Vlad1384 avatar Jan 12 '19 11:01 Vlad1384

@Vlad1384 Motor protocol or any other setting can't kill the voltage regulators. It's a hardware issue or unfortunate coincidence.

digitalentity avatar Jan 12 '19 11:01 digitalentity

Well, if so. I will recover ...

Vlad1384 avatar Jan 12 '19 11:01 Vlad1384

@digitalentity,

So, 4khz loop time is "unsustainable if you want navigation", even on an F7? So...basically...I'm going to end up running the same settings I was on the F3 I spent $50 to replace with this craptastic F722-SE. Unless of course I want to risk trying DSHOT 150 or 300, which are both significantly slower than MultiShot. All I gain is not having to calibrate ESC's, An option to mount a 2nd camera there's not much room or sense to put on a 5" quad I can switch to (if it works), and the ability to turn on/off a VTX wired to the VBAT pin with a switch (if it works). I usually avoid early adopting, but that board sounded so good on paper, and I love my F405-CTR. Was really expecting the F7 to be significantly faster...instead it's actually SLOWER...and has less flash ram to write to, apparently...or my board is loaded with bloatware or something else that shouldn't be there.

Nihilistic avatar Jan 12 '19 23:01 Nihilistic

@Nihilistic I'm running multishot on my F722SE for at least the next year. I see no advantage of using DSHOT and only potential catastrophic failures. If you use DSHOT, fully expect a problem, hence the warning.

teckel12 avatar Jan 12 '19 23:01 teckel12

@teckel12,

So, are we looking at hardware issues with this board? Or is there...shall we say...vast room for improvement with the iNAV target for this board?

Nihilistic avatar Jan 12 '19 23:01 Nihilistic

@teckel12,

I may give DSHOT 150 and/or 300 a try, and just stay in close and below 50 feet. And if I can get through a dozen flights or so without incident...it might build some confidence in it. I don't blame you for not wanting to risk smashing or losing your babies ;)

But, the devs seem to think there's nothing wrong, because they've been flying DSHOT for a while (probably not on F7's). So, if nobody is willing to test and report their results, how is it going to improve?

Nihilistic avatar Jan 13 '19 00:01 Nihilistic

@Nihilistic There's vast room for improvement in the DSHOT protocol.

teckel12 avatar Jan 13 '19 03:01 teckel12

This issue is not about F3 vs F4 vs F7 targets or any specific boards. It's about inherent unsafety of DSHOT protocol. For fundamental reasons the requirements for wiring quality for DSHOT150 are roughly the same as for Multishot. This means that if you want to use DSHOT and have similar reliability you have to invest into better wiring.

DSHOT has some room for improvement, but until people understand that it requires much higher quality builds than a bunch of tangled wires we need to warn them about it's reduced reliability.

digitalentity avatar Jan 13 '19 11:01 digitalentity

I'm using individual ESC's on the arms, and the signal wires are directly soldered to the signal pads at the corners of the F722-SE. They're twisted around the ground wires, which are soldered to the same pad as the big ground pad for each ESC respectively. The wire length is maybe 2 inches. The solders are good clean shiny joints. The very same ESCs were soldered to a Realacc PDB in the same way, with short signal wires soldered to it, which were in turn soldered to the Omnibus F3, loaded with BetaFlight 3.5.X, and ran DSHOT600 successfully for many flights, without incident. I really don't think it's my wiring or soldering.

Nihilistic avatar Jan 13 '19 12:01 Nihilistic

The wires are about as short as they can be. You don't want them to be taut, because they'll be more likely to transmit vibrations to the board's gyro, and that would moot the use of vibration dampening bobbins the board is mounted on.

Nihilistic avatar Jan 13 '19 12:01 Nihilistic

I'll try DSHOT300 and see what happens, but there's snow on the ground here now, and probably will be for a while. My quads aren't water proofed, so I don't want crash landings into the snow.

Nihilistic avatar Jan 13 '19 12:01 Nihilistic

There are people who have made a lot of flights with DSHOT on INAV as well, also without issue. Until we have logging (or at least error reporting) capabilities on ESC side we can't conclude anything.

It's not about wire length. Bandwidth required for DSHOT 600 is about 6-7 MHz, which is well into radio frequency range. Without external noise a telecom-grade twisted pair (cat3+) could be used for those kinds of signals, but in noisy systems to get anywhere near being reliable you need a coaxial cable.

digitalentity avatar Jan 13 '19 12:01 digitalentity