Please, can someone make a foc bldc driver board for 3D printers?... A standard one with step/dir input, to install in place of current TMC drivers? Seems so easy, but can't find any to buy.
Hi, great video. Could you explain the hardware setup (connections)? I can't figure out about PWM signal - do I have to connect it to J3 pins, to run the motor as in this video? Thank you
When I control using closeloop, I set the velocity to 5 rad/s, then change the PID parameters. Initially I gave I = 0 then changed P. I realized at motor.PID_velocity.P = 0.2; The motor started to accelerate but I noticed on the serial screen that the voltage gradually increased to 1 value and the wheel stopped rotating. When tested with higher P values, the wheel rotates unevenly. It seems like it only rotates for a while and then spins again, causing the wheel to jerk. Below is a picture of the voltage in the second column. When the voltage is < 0.8, the wheel still rotates, but when it is greater than 0.8V, the wheel stops.
Any tips on if the motor doesn't spin at all using your exact same code for velocity open loop? Hall sensors work fine and I think I can connect ok to SimpleFOCStudio, too, but it doesn't work as simply as I thought it would. I'm in such a rut, it feels like I've tried everything. My motor is 170KV, 36.1mΩ phase resistance, ~40A, 24V.
Thank you for this amazing tutorial on foc. I really appreciate your work One thing I am not clear about is the command format you are entering to set the speed. Can you please help me out?
Hello, I was trying to run the code without any sensors, but I have a powerful motor i.e., KDE Direct 5215XF. The upload was always a success but whenever I tried to run, I always get an error that: "Unable to match requested speed 2000 kHz, using 1800 kHz". Can someone help me with this, what needed to be fixed in terms of clock speed
Here's a few things that I had to do with the g431b to start programming. Delete the build flag in the ini file for USB FULL speed and use serial 2 vs 1 ie. Serial2.begin(115200);
Si escribes ebook tutorial aunque sea pequeño y lo pones en venta sin dudarlo te lo compraria, ( Muchos comparten el codigo pero no explican nada del funcionamiento del algoritmo y se hace inservible )
Hay muchos videos en RUclips sobre el algoritmo de FOC. Además, aquí puedes encontrar una explicación sobre nuestra implementación: docs.simplefoc.com/foc_implementation
Thank you so much for all the hard work! Not only for this awesome library but also for all these videos. Keep us updated!
Please, can someone make a foc bldc driver board for 3D printers?... A standard one with step/dir input, to install in place of current TMC drivers?
Seems so easy, but can't find any to buy.
Thanks so much.
Hi, great video.
Could you explain the hardware setup (connections)?
I can't figure out about PWM signal - do I have to connect it to J3 pins, to run the motor as in this video?
Thank you
When I control using closeloop, I set the velocity to 5 rad/s, then change the PID parameters. Initially I gave I = 0 then changed P. I realized at motor.PID_velocity.P = 0.2; The motor started to accelerate but I noticed on the serial screen that the voltage gradually increased to 1 value and the wheel stopped rotating.
When tested with higher P values, the wheel rotates unevenly. It seems like it only rotates for a while and then spins again, causing the wheel to jerk.
Below is a picture of the voltage in the second column. When the voltage is < 0.8, the wheel still rotates, but when it is greater than 0.8V, the wheel stops.
Any tips on if the motor doesn't spin at all using your exact same code for velocity open loop? Hall sensors work fine and I think I can connect ok to SimpleFOCStudio, too, but it doesn't work as simply as I thought it would. I'm in such a rut, it feels like I've tried everything. My motor is 170KV, 36.1mΩ phase resistance, ~40A, 24V.
Do we need to do enable_cdc?
Brilliant Video thank you. Problem for me was could not load disco_b_g431_esc1, not found on PIO 5.0.1!
Thank you for this amazing tutorial on foc. I really appreciate your work
One thing I am not clear about is the command format you are entering to set the speed. Can you please help me out?
Are the hall sensors and motor driver integrated into the hub motor, or did you have to add those?
Ghe halls are integrated into the motor. this is one of the cheap hoverboard motors :)
Hero
Hello, I was trying to run the code without any sensors, but I have a powerful motor i.e., KDE Direct 5215XF. The upload was always a success but whenever I tried to run, I always get an error that:
"Unable to match requested speed 2000 kHz, using 1800 kHz".
Can someone help me with this, what needed to be fixed in terms of clock speed
Here's a few things that I had to do with the g431b to start programming. Delete the build flag in the ini file for USB FULL speed and use serial 2 vs 1 ie. Serial2.begin(115200);
Si escribes ebook tutorial aunque sea pequeño y lo pones en venta sin dudarlo te lo compraria, ( Muchos comparten el codigo pero no explican nada del funcionamiento del algoritmo y se hace inservible )
Hay muchos videos en RUclips sobre el algoritmo de FOC. Además, aquí puedes encontrar una explicación sobre nuestra implementación: docs.simplefoc.com/foc_implementation
@@theskura sir, how about the program for FOC of Induction Machine? would you please to give me a program:)