SimpleFOC 2.0 Tuning Guide - Part 1

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 18

  • @FB-vi4ep
    @FB-vi4ep 4 года назад +6

    Thank you so much for all the hard work! Not only for this awesome library but also for all these videos. Keep us updated!

  • @eIektrinis
    @eIektrinis Год назад +1

    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.

  • @georgeoneal5644
    @georgeoneal5644 Год назад

    Thanks so much.

  • @gnioco
    @gnioco 2 года назад

    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

  • @khoabach2042
    @khoabach2042 Год назад

    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.

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    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.

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    Do we need to do enable_cdc?

  • @lenskinner2832
    @lenskinner2832 4 года назад

    Brilliant Video thank you. Problem for me was could not load disco_b_g431_esc1, not found on PIO 5.0.1!

  • @masifamu
    @masifamu 3 года назад

    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?

  • @patrickwasp
    @patrickwasp 4 года назад

    Are the hall sensors and motor driver integrated into the hub motor, or did you have to add those?

    • @theskura
      @theskura  4 года назад

      Ghe halls are integrated into the motor. this is one of the cheap hoverboard motors :)

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    Hero

  • @abdulhai2503
    @abdulhai2503 Год назад

    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

  • @JohnMcKennan
    @JohnMcKennan Год назад

    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);

  • @celestinoazcaratevanacloch6181
    @celestinoazcaratevanacloch6181 4 года назад

    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 )

    • @theskura
      @theskura  4 года назад +1

      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

    • @usmanagani7496
      @usmanagani7496 2 года назад

      @@theskura sir, how about the program for FOC of Induction Machine? would you please to give me a program:)