Skip to content
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

Documentation for porting to other boards. #63

Open
karu2003 opened this issue Nov 4, 2023 · 3 comments
Open

Documentation for porting to other boards. #63

karu2003 opened this issue Nov 4, 2023 · 3 comments

Comments

@karu2003
Copy link

karu2003 commented Nov 4, 2023

where you can read how to make an identification of the motor? There are GUI or CLI Tools for your project.
Is there a control of CAN BUS? DroneCan or so? You write that MESC work to 100 kHz.
I am interested in this now. I have controllers working with the VESC. VESC does not work more than 45 kHz PWM.

@davidmolony
Copy link
Owner

There's no documentation for porting to another controller. If you have f405 you can pretty much just copy one of the existing projects and modify the bits you see in the header like dividers and shunt values. The biggest issues are supporting different crystals to 8MHz and supporting hardware without BRK INPUT ON PB12.

You can measure resistance inductance and flux linkage from the terminal by typing measure. I haven't invested much time in it because it's generally better to just use an inductance meter to get L and a current limited PSU/multimeter to get R.

Lambda is easy if you have an oscilloscope.

Yes it can run 100khz, by the way VESC counts it. However most hardware cannot do that frequency due to current measurement and gate driver limitations.

@karu2003
Copy link
Author

karu2003 commented Nov 5, 2023

I have several EPC KITs to try. I have experience measuring inductance with VESC. For example, the RLC measures 36uH and VESC 18uH. :(

@Elump
Copy link

Elump commented Aug 26, 2024

If you measure with RLC, you get phase to phase values since you are measuring on two wires of the motor. A division by 2 is needed to get the right value per phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants