-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for a new pinout #5
Comments
This thread on rcgroups describes a slightly different previous attempt (with Ac and Ap swapped for low-side PWM and a different pinout): https://www.rcgroups.com/forums/showthread.php?3532875-BLHeli_S-ESC-iteration-2 It includes scope shots that show how the generated 3-state PWM input looks when it's produced with open drain outputs and the pull-ups. |
Thanks, looks very informative. Should anyone be interested in new pinouts I will just note that the current implementation only supports when the pairwise ordering of pwmfets and comfets is the same for all 3 phases (topological ordering). I will try to make it work without this requirement but it remains the recommended pattern for efficiency reasons. @crteensy Would you by any chance happen to know why the O layout needs the comparator output inverted? Also, what is the Tx pin used for? |
Why O needs the comparator output inverted (educated guess): O: "like D, but low side PWM" When the high side FET is the com FET, all bemf signs are flipped - including the sign of its gradient. I'm on mobile now so I can't draw diagrams to illustrate, but that is the reason and I was able to verify this with totally different hardware. I interpret the existence of O this way: O was created for a 1S ESC with a high side PFET and a low side NFET. The high side gate output must be active low, and the low side gate output must be active high to drive them both directly. The MCU is powered directly from the battery, which fully utilizes the absolute maximum rating for its supply voltage (4V2). This makes the overall schematic extremely simple (-> fishpepper). |
Thanks a lot that makes sense, I hadn't thought of that possibility. |
No we don't need inverted bemf. The ESC will do "classic" high side pwm with the pinout and gate polarity described at the top |
Here is a capture of the pwm signals with a dead time of 90 (1.8us). |
This one is apparently rather special. We'd like to use the following pinout:
We use NCP81253 gate drivers, which accept 3-state PWM input. This is generated with pull-ups and the mentioned open drain outputs:
When Ac is low, the PWM input is low. When Ac is high-Z, Ap can either pull PWM to 2V5 (Ap low) or leave it at 5V (Ap high-Z). This has sort of worked with a different pinout, but we were forced to re-route the ESC to this pinout because of space constraints.
The text was updated successfully, but these errors were encountered: