Firmware icon indicating copy to clipboard operation
Firmware copied to clipboard

Bidirectional DSHOT

Open bkleiner opened this issue 4 years ago • 24 comments

Hi, Is there a chance that bidirectional dshot will be supported eventually? Really like the hardware so far :+1:

bkleiner avatar Mar 12 '20 00:03 bkleiner

Bump. The only thing missing from this is support for RPM filtering. :-)

IB1387 avatar Apr 12 '20 10:04 IB1387

RPM filtering would be great

speurhond avatar May 17 '20 16:05 speurhond

I agree. It would not have to be bidirectional DShot though, it could also be implemented into Betaflight. While I don't have any clue on how much work it actually is to make Betaflight OneWire compatible, in my opinion the update speed should be enough to provide a 8kHz PID-Loop with sufficient RPM-data.

In general I have not flown an ESC that so finely controls motors like the Fettec 35A. It really makes a big difference on tight lines and difficult tracks. This weekend I had the chance to directly compare two identical setups (one Singularitum with a Fettec35A V1.0 and another with that 20x20 Hobbywing BLHeli32) on our training track and the difference is quite stunning. The Fettec runs way smoother all around and provides way more control especially on the lower side of the throttle curve and upps the efficiency quite a bit. The only thing missing is the RPM-Filter. With that enabled you'd have no vibration leaking into the gyro data whatsoever with minimal filter latencies and I can't imagine that there is anything comparable on the market at the moment. Right now, the Fettec ESC is slightly above my BLHElis32 in noise profiles, RPM-Filters would -I guess- catapult it way ahead.

wuzle avatar Jul 27 '20 08:07 wuzle

Bump

Can we get any update from the author on this?

stackola avatar Aug 06 '20 02:08 stackola

There is no plan to implement bidirectional DSHOT. The best is if Betaflight would directly support the Onewire protocol (which then would allow to get all telemetry data in real time (voltage/current/rpm).

lichtl avatar Oct 17 '20 16:10 lichtl

Are you guys working on getting Onewire into BTFL, or do you just hope someone from BTFL will do it them self?

stackola avatar Oct 18 '20 15:10 stackola

I guess Onewire integration into Betaflight would be even better. In the end for the consumer it doesn't really matter where the juice comes from :)

There is also additional functionalities like Battery compensation features that we could enable when there's fast enough telemetry data (normal telemetry is not fast enough)

wuzle avatar Oct 19 '20 08:10 wuzle

There is no plan to implement bidirectional DSHOT. The best is if Betaflight would directly support the Onewire protocol (which then would allow to get all telemetry data in real time (voltage/current/rpm).

Is there a specification document for OneWire (i guess its "just" serial?) to get the ball rolling on this.

bkleiner avatar Oct 19 '20 09:10 bkleiner

There's a (probably very old) document on rcgroups - unclear how much it fits the current onewire implementation on fettec escs: https://www.rcgroups.com/forums/showatt.php?attachmentid=8524039&d=1450424877

It mentions a PWM-based trigger to receive telemetry...

@lichtl: Would be great if the fettec devs could share some specs so that there's a chance to get it implemented in Betaflight. Currently stuck without RPM filter using a Betaflight FC and a Fettec 4in1 😖

rauar avatar Oct 20 '20 21:10 rauar

Hi @rauar

please find attached 2 implementations (one for Arduino and the one used in KISS FC firmware). They do contain some documentation as well. Hope this helps for the start.

FETtecOneWire.zip FEttecESC_arduino.zip

lichtl avatar Oct 21 '20 09:10 lichtl

@lichtl Are you guys actively working on getting this into BTFL, or are you just hoping and waiting for some community member to get around to that?

stackola avatar Oct 25 '20 15:10 stackola

@lichtl thanks a lot for the files. will check them out as soon as i find some spare time.

@stackola check out this betaflight issue - i tried to reactive the discussion on a former request and the betaflight and blheli devs plus Felix from Fettec were commenting: https://github.com/betaflight/betaflight/pull/7264#issuecomment-713170259

Unfortunately I seems like there are 2 ways how to implement this and there's no agreement yet on one of those options. One option is to implement it in DSHOT on the signal line (like BLHeli) and Mike prefers this (avoid multiple implementations of the same "thing") and Felix seems to promote Oneshot (using a dedicated telemetry wire).

Not sure if they will agree on one of those options (I doubt it atm) - but I see the points of both sides.

I think the more people ask for support for RPM filtering when using Kiss/Fettec ESCs the higher the chances they come to an agreement.

rauar avatar Oct 25 '20 18:10 rauar

@rauar Any news?

Linjieqiang avatar Jan 13 '21 02:01 Linjieqiang

@ronlix Any docs about the Fettec Onewire?

Linjieqiang avatar Jan 13 '21 02:01 Linjieqiang

It's been almost a year since you have claimed to be going into testing. @FETtec

Can your customers ever expect to get working RPM filters on betaflight or not?

stackola avatar Mar 21 '21 11:03 stackola

Bruh. Lol. Give it up.

On Sun, Mar 21, 2021, 7:55 AM Willi K. @.***> wrote:

It's been almost a year since you have claimed to be going into testing. @FETtec https://github.com/FETtec

Can your customers ever expect to get working RPM filters on betaflight or not?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FETtec/Firmware/issues/3#issuecomment-803563858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDU7JWOWRPT73GICVTS66LTEXNC3ANCNFSM4LGBFNYQ .

krunked-fpv avatar Mar 21 '21 12:03 krunked-fpv

Bruh. Lol. Give it up.

No!

Bump. Give me bidrectional dshot!!!

stackola avatar May 26 '21 22:05 stackola

Any day now!

stackola avatar Jun 29 '21 16:06 stackola

Give it up. Lol

On Tue, Jun 29, 2021, 12:20 PM Willi K. @.***> wrote:

Any day now!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FETtec/Firmware/issues/3#issuecomment-870738800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDU7JUN67JSVMEFKOOEHALTVHXDVANCNFSM4LGBFNYQ .

krunked-fpv avatar Jun 29 '21 16:06 krunked-fpv

Never gonna give you up, never gonna let you down, never gonna run around to D-shot!

VolkerGoeschl avatar Nov 26 '21 19:11 VolkerGoeschl

Never gonna give you up, never gonna let you down, never gonna run around to D-shot!

Found a fix: Sold my Fettec stuff and won't be buying any more.

stackola avatar Nov 26 '21 20:11 stackola

with or without bidirectional dshot - does it matter? perhaps no. if you test side by side BF with rpm filtering/bidi shot and FT would you see a big difference or any difference at all?

homepods avatar Nov 08 '23 21:11 homepods

@homepods It matters a lot. AFAIK, FT also uses some bidirectional protocol but it's homebrew and not compatible with BF.

stackola avatar Nov 09 '23 01:11 stackola

@homepods It matters a lot. AFAIK, FT also uses some bidirectional protocol but it's homebrew and not compatible with BF.

As I understand FT reads through the TLM the motor rpm and does the filtering accordingly.

  • BLheli 32 128K esc -> 24khz to ByRPM
  • Dshot 1200 or max supported
  • Fettech Alpha with G4 1.7 N

would you keep a fix pwm frequency or variable?

homepods avatar Nov 10 '23 06:11 homepods