Arduino Brushless DC Motor (BLDC) FOC Control Part 3 - Closed Loop Control servomotor

Поділитися
Вставка

КОМЕНТАРІ • 32

  • @valerys.219
    @valerys.219 2 роки тому +3

    Just read all the 3 parts, would like to thank you for all of this ; very clear, lot of time saved.

  • @Bigman74066
    @Bigman74066 2 роки тому +1

    So we'll explained! It's almost therapeutic! Pitty that you haven't posted anything for over a year now. Hope to see you soon again cuz I really enjoyed this.

  • @ridebeer
    @ridebeer Рік тому +1

    Brilliant videos, I have watched all 4 parts. Thank you for a very clear and detailed explanations. Cheers!

    • @ashkananali8571
      @ashkananali8571 9 місяців тому +1

      Where can I find the control code for the Arduino?

  • @reality655
    @reality655 Рік тому +3

    Simple foc

  • @botak333
    @botak333 3 роки тому +1

    How to control servo pmsm sir with 46v and 5-10amper

  • @friedtofu5309
    @friedtofu5309 Рік тому +1

    actually, we can change the direct by changing the value of phaseB to phaseC and C to B.

  • @slapcitykustomz1658
    @slapcitykustomz1658 Рік тому +1

    3:26 Is there a link to the spread sheet and software used to fill in spreadsheet? looked through patreon and videos

  • @Flieger135
    @Flieger135 4 роки тому +1

    Hello, i have one of these cheap aluminium gimbals with 2208 motors and cant get them to smoothly rotate. it locks in their magnetic position while rotation, do i have to buy another motor?

  • @lochlanbogaers3291
    @lochlanbogaers3291 4 роки тому +4

    instead of manually finding the offset could you have the arduino calculate the correct offset because you know at the start of the code the electrical revolution is at zero so you could measure the mechanical offset from the encoder and the difference between the two would be the offset, or have i got something wrong?

    • @juanpablocanguro
      @juanpablocanguro  4 роки тому +3

      Lochlan bogaers yes! You can :) you can energize the coils at index = 0 and capture the value of the sensor and then apply it as offset or something similar, if you make this “automatic offseting” can you post it on the arduino forum for this thread? Link in description, would be awesome to have the community add to this project :) thanks for your great comment

    • @lochlanbogaers3291
      @lochlanbogaers3291 4 роки тому +1

      @@juanpablocanguro will do, thanks for this awesome resource

  • @keshavkushwah4750
    @keshavkushwah4750 3 роки тому +1

    Can you please help me to make a code for DMX stapper motor with encoder

  • @jeffreyberces8005
    @jeffreyberces8005 8 місяців тому

    How about Bldc with hall sensor??

  • @NepYope
    @NepYope 3 роки тому +1

    Why doesnt the motor heat up or burn when you hold it still? I burned my arduino earlier by stalling my dc motor lol

  • @sivansriman4012
    @sivansriman4012 2 роки тому

    hey thanks for the super informative series! i just noticed that in your code for the synchronizing part, if u add 18 as your offset, doesnt that add up to your phase A step count always? my question is, since you put the 18 as offset, for each loop, instead of moving one step in the sin table wouldnt you be moving 18 steps?

    • @juanpablocanguro
      @juanpablocanguro  2 роки тому

      Correct! But it wraps around the maximum value of 48 so it is an offset that is consistent, as it makes up for the physical offset between the rotor and the sensor’s absolute zero. What I mean is that when the motor is assembled, the sensor used for providing shaft position feedback is not synced with a consistent position of the rotor, thus you need to account for that using a unique offset for each motor. Hope this is clear now :)

  • @neelparab8928
    @neelparab8928 4 роки тому +1

    Is it gimbal 80kv motor

  • @antonioclaudio8599
    @antonioclaudio8599 4 роки тому +1

    Hello I would like to know if I can control a brushless motor of about 2000kv at the same speed as you did or a speed close to that with this L6234 board?

    • @juanpablocanguro
      @juanpablocanguro  4 роки тому +1

      Antonio Claudio I would think so, but im not too sure, you could try using the board we recommend on the link (see it in the latests videos), uses higher current MOSFETS, check the item on our ebay link...

  • @juanmartincarcagno2143
    @juanmartincarcagno2143 3 роки тому

    Hello! One question. Can I know the exact position of the bldc motor shaft and give instructions of movement just with hall sensors? Or do I need an encoder?

    • @nostamine2567
      @nostamine2567 3 роки тому +1

      well , i dont own any of the hardware , nor have i ever built something like in this video , but based on my few years of experience i can tell u that at least for slow precision movements a hall sensor would kinda be useless , at least cheap ones , because most of them only show u the N S pole and not really the intensity of the magnetic field such that u could measure the rotor position at weird angles between its magnets ... Soo...u could do something with it , but it makes more sense to have a live feed of the exact mechanical position of the shaft , without implementing , i dont know, some crazy ''counting the magnets ' function that ensures not skipping steps or something . U could actually use one for lets say rougher angle rotations , like if u control it kinda step by step (it is called trapezoidal control) and for example if u have a 6 pole rotor it will move 60 degrees per step and u could then count the steps or something with a hall sensor rather then spending money on an encoder , but an encoder can be used at a lot more things , so thats that .. and sorry for the long response :))

  • @M3rmigas
    @M3rmigas 4 роки тому +1

    Hello, how did you manage the DaQ on excell?

    • @juanpablocanguro
      @juanpablocanguro  4 роки тому +1

      Christoforos Rekatsinas its a macro developed by Parallax, google it: PLX DAQ ;)

  • @LiliumJSN
    @LiliumJSN 4 роки тому +1

    Beautiful work. What's the sampling rate of the position?

    • @juanpablocanguro
      @juanpablocanguro  4 роки тому +1

      Dimitris Karapatis im not sure, i guess its affected by whether or not im reporting data to the debug terminal... how would you measure it?

    • @LiliumJSN
      @LiliumJSN 4 роки тому +1

      @@juanpablocanguro You are reading Angle sensor's PWM output through PulseIn function which is interrupt driven, I think. So I expect it to be pretty fast. In my experiment the sample rate from the SPI angle sensor was too low so the motor was oscillating. The speed of the motor was greater than the sampling speed in other words.

    • @juanpablocanguro
      @juanpablocanguro  4 роки тому

      Dimitris Karapatis ill try to monitor it!

    • @osmanpasha_diy
      @osmanpasha_diy 3 роки тому

      @@LiliumJSN hi. pulseIn() is not interrupt driven and will take as long as the pulse itself is. So, depending on the sensor, it may also be terribly slow

  • @JohnJohn-gy2st
    @JohnJohn-gy2st Рік тому +1

    Hello 600

  • @SalimsWorkshop
    @SalimsWorkshop 18 днів тому

    Your electrical angle is not shown correctly. Mechanical and electrical angle should have the same height.
    I built my own field oriented control from scratch
    Good video though!