FOC Driver Controller PCB - Slow Brushless Control

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2024
  • High quality PCB prototypes: www.pcbway.com
    3D & CNC service: www.pcbway.com/rapid-prototyp...
    PCB & project: www.pcbway.com/project/sharep...
    🔥Tutorial on how to make a homemade FOC controller PCB with L6234PD driver for brushless triple phase motors BLDC with closed loop control and AS5048A magnetic encoder.
    🔀LINKS
    -------------------------------------
    Tutorial Website: electronoobs.com/eng_arduino_...
    Get my PCB: electronoobs.com/eng_arduino_...
    Brushless Motor: s.click.aliexpress.com/e/_Dl8...
    My tools: electronoobs.com/eng_afiliate...
    False/True T-Shirt: teespring.com/it-s-funny-beca...
    🤝SUPPORT
    -------------------------------------
    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    ELECTRONOOBS.io: electronoobs.io
    Donate on PayPal: www.paypal.com/donate?hosted_...
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.io/forum/index.php
    Facebook page: / electronoobs
    Canal en Español: / @electronoobsenespanol
    00:00 Intro
    01:45
    04:50
    07:08
    08:05
    10:08
    11:18
    12:58 Thank you
    Like share and subscribe to motivate me. Thank you
    #arduino
    #FOC
    #robotics
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 177

  • @ELECTRONOOBS
    @ELECTRONOOBS  ปีที่แล้ว +5

    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    My Tools: bit.ly/3uv8bc3
    Help me on Patreon: www.patreon.com/ELECTRONOOBS

    • @christopherleveck6835
      @christopherleveck6835 ปีที่แล้ว +1

      Can you please finish this with the encoder working? I had the pcbs made. I soldered everything up and it all looks fine. But I'm ready to integrate the positioning......

    • @mahershhab3824
      @mahershhab3824 7 หลายเดือนก่อน

      ممكن المساعده بمقابل مادي لو سمحت

  • @power-max
    @power-max ปีที่แล้ว +78

    The way this works (open loop) is the rotor basically snaps so that the permanent field from the magnets aligns with the generated magnetic field and in this state there is zero toque despite a high current. It is not efficient. This is simple though, and pretty stable. As you bump the motor out of alignment it naturally wants to snap back, and if you plot the torque vs angle you get a sinusoidal torque and when allowed to rotate freely it will snap to any of the points that cross zero.
    In a real FOC controller, the position is detected and the current in the stator is generated to always be 90 degrees ahead or behind where the rotor is. Since at these points you get the most "bang for your buck" and the most torque for the given current. Assume the controller is working, and always generates a field exactly 90 degrees. When the rotor is where it is supposed to be, the field flux vector stays at 90 degrees but the current is decreased basically to zero so the rotor does not rotate. As the rotor is displaced from where it is supposed to be according to the FOC controller, the magnitude of the flux vector is increased to provide a corrective torque and oppose the offset. A PI controller is what is often used.
    Another small nit-pick detail is that you are providing a VOLTAGE to the coils and not a CURRENT. The magnetic field depends on CURRENT not VOLTAGE. This can very approximately be estimated by understanding the relationship between voltage from the FOC controller, the inductance of the coils, the back EMF that works against the supplied voltage when the motor is rotating, etc. I think this problem is also solved by that same PI loop. Essentially it does technically control the voltage to the phases but due to PI loop action it is the current that is being controlled.
    You used SPWM. Which is OK, it is the most naive way to do it. The maximum phase-to-phase voltage (this is what matters, not phase to neutral) is limited to I think about 86% of the DC supply voltage. It is fine, but you can do better if you throw out the need for phase-neutral voltage needing to be AC sine wave centered at half the DC supply voltage and optimize by maximizing the phase-phase voltage (which does need to be sinusoidal or trapezoidal... a whole other can of worms)
    Finally, the long debate of PMSMs vs BLDCs and the back EMF and how they are supposed to be driven with either trapezoidal SVM or sinusoidal SVM... most motors kinda fall somewhere in between in practice so really it is never going to be a perfect match.

    • @marcobassini3576
      @marcobassini3576 ปีที่แล้ว +3

      Yes, the video does NOT show FOC, it simply uses a brushless motor as a poor man permanent magnet stepper motor (with 60° per step). Totally misleading title. Of course a true NEMA 17 hybrid stepper motor would perform much better and cost much less.
      And, if driven with FOC, would be also much more efficient than this BLDC motor operated at short circuit current.

    • @08acbest
      @08acbest ปีที่แล้ว +1

      Exactly, very misleading title, it is not FOC control

    • @donaldwright2426
      @donaldwright2426 ปีที่แล้ว

      I agree with Power Max. You already have in part, accomplish a FOC, or a very simplified FOC with your ESC projects using the 6-step commutation scheme for a BLDC. Now you need to identify the rotor position (estimator or sensored) to apply a voltage 90° in advance of the rotor position.
      This can only be performed unsign the PARK and CLARK Transformers and in inverse form also. FOC can be performed using SPWM but you loose in voltage, does in current. You are better of with a Space Vector PWM (SVPWM).
      Can't wait to see the rest of your video(s).😉

  • @marciogomesdossantos9481
    @marciogomesdossantos9481 ปีที่แล้ว +3

    Very nice. Great explanation. I watched some videos about it before but i had not understand how this FOC worked. But now i get it. We don't need servo motors for robotics anymore.

  • @mvadu
    @mvadu ปีที่แล้ว

    This is the best intro to FOC I have seen.. Thank you..

    • @candas1
      @candas1 ปีที่แล้ว

      Because it's not FOC lol

  • @DanChase84
    @DanChase84 ปีที่แล้ว

    Thank you for teaching me something new about stepper motors!

  • @dmitrytyugin6261
    @dmitrytyugin6261 ปีที่แล้ว

    Thanks for code explanation, it's simple and clear as well as the code. Good job!

  • @mecatronicsforeveryone9565
    @mecatronicsforeveryone9565 ปีที่แล้ว +1

    thank you very much. I love your videos and I've learned a lot.

  • @papablopapapablo8123
    @papablopapapablo8123 ปีที่แล้ว

    Muy bien explicado, como todos tus vídeos. Me he aguantado 2 anuncios para compensar 👏

  • @harikamalakarreddydarapu7410
    @harikamalakarreddydarapu7410 ปีที่แล้ว +2

    Excellent project and very well explained

  • @didu888able
    @didu888able ปีที่แล้ว +21

    Nice video, but for sake of accuracy:
    The described method in this video is basic sinusoidal commutation. On the other hand FOC includes relatively complex current transformations, rotor flux linkage vector calculation, multiple other complex transformations and is a closed loop control scheme.

    • @fakulol0186
      @fakulol0186 ปีที่แล้ว

      excactly. *commutation

    • @dstvs
      @dstvs ปีที่แล้ว +1

      I was about to comment about this too. This not FOC if the algorithm is not using d and q field components

  • @ziad_jkhan
    @ziad_jkhan ปีที่แล้ว

    Thanks for such a clear demystificaion of FOC while I just sit and watch

    • @ELECTRONOOBS
      @ELECTRONOOBS  ปีที่แล้ว +1

      Thank you! There is still a lot more about FOC for future episodes :)

  • @MartinBgelund
    @MartinBgelund ปีที่แล้ว

    Awesome project! Thanks!
    I hope you get the encoder part sorted out.

  • @Hackinside
    @Hackinside ปีที่แล้ว +1

    You can make a nice analogue clock that shows several time zones with this project. Nice video.

  • @ratbagley
    @ratbagley ปีที่แล้ว

    Like a micro VFD. Sweet!

  • @PhG1961
    @PhG1961 ปีที่แล้ว +2

    This is really very VERY awesome !

  • @fbtlwns07
    @fbtlwns07 8 หลายเดือนก่อน

    Thanks for knowledge!

  • @ariaabdi9979
    @ariaabdi9979 ปีที่แล้ว

    that's sooooooooo great. thanks for your best Expression

  • @simplecad7462
    @simplecad7462 ปีที่แล้ว +6

    Cool project! If you add encoder support, you could change code to create magnetic field 90 degrees from rotor magnetic field. It will apply magnetic field in Q Axis and creates much better torque and higher efficiency. Currently motor is using only D Axis, D Axis is usually used only for field weakening and it doesn't make torque.

  • @Pawe-mx9wc
    @Pawe-mx9wc ปีที่แล้ว

    This is awesome thanks for sharing!

  • @prathameshraikar5428
    @prathameshraikar5428 ปีที่แล้ว +1

    Excellent💯👍 explanation

  • @YouGenom
    @YouGenom ปีที่แล้ว

    This is super nice and great video!

  • @leonk.b.fernandes244
    @leonk.b.fernandes244 ปีที่แล้ว +3

    To make it work in closed loop, you must consider the number of poles of the motor. I used svpwm in a 4-pole bldc motor once and got a behavior similar to yours, where the rotor is locked in specific positions. In my case, I noticed that the motor was always stuck in 4 specific positions, so I soon made the association with the number of poles of the motor. That said, I could observe that a full cycle of the svpwm was equivalent to only a quarter of the full rotation of the rotor. To solve this problem I made this consideration and the motor ran in closed loop.
    Consider the number of poles in your motor and do the math, one full rotation of the motor should be equivalent to the number of poles * spwm cycle.

  • @sidamarali3030
    @sidamarali3030 ปีที่แล้ว

    Great work. So as such the bldc will have a static tork as well. Just like stepper motors.

  • @sammflynn405
    @sammflynn405 ปีที่แล้ว

    You deserve 100 million sub

  • @danilolattaro
    @danilolattaro ปีที่แล้ว

    Very cool and minimalistic project!
    If the sensorless implementation without motor current sensing can be classified as FOC or just a sine wave inverter is questionable.
    But as soon as you wire up the encoder and can identify q and d axis a little better, then it's more like it

  • @jeganvivekanandhan1351
    @jeganvivekanandhan1351 ปีที่แล้ว

    Great work!

  • @Korystuwatch42
    @Korystuwatch42 ปีที่แล้ว

    Brilliant bro

  • @PauloSergioDiasCarmo
    @PauloSergioDiasCarmo ปีที่แล้ว

    Ótimo projeto

  • @sandeepbabbu1447
    @sandeepbabbu1447 ปีที่แล้ว +1

    Hello sir thanks for your information and many times i don't understand how bldc motor in gimbals and robot dogs etc get such presize angle control and speed,but now i able to understand how they work.
    I am from india and i am studying electronics and communication engineering in govt polytechnic and I am very much interested in electronics.
    Thanks for your information and teaching us in practical way and all the best for your future projects .

    • @johnfarris6152
      @johnfarris6152 ปีที่แล้ว

      I don't know either but I know one magnetic field doesn't overlap another.

  • @j________k
    @j________k ปีที่แล้ว

    This is frickin awesome!

    • @j________k
      @j________k ปีที่แล้ว

      Please never stop

  • @rabiraju9414
    @rabiraju9414 ปีที่แล้ว

    Great work

  • @adelashour3253
    @adelashour3253 ปีที่แล้ว

    thanks nice work

  • @Drxxx
    @Drxxx ปีที่แล้ว

    Amazing channel!!

  • @stefanguiton
    @stefanguiton ปีที่แล้ว +46

    Great work! Could you make a higher current version? It would be super useful, as commercial controllers are quite expensive. This could be used with the SimpleFOC arduino library which is free and easy to use

    • @evanbarnes9984
      @evanbarnes9984 ปีที่แล้ว +3

      This is EXACTLY what I've been looking for, I'd love to see this integrated with SimpleFOC

    • @moses5407
      @moses5407 ปีที่แล้ว

      Ditto on this request for simplefoc and high power compatible design!

    • @faultboy
      @faultboy 15 วันที่ผ่านมา

      @Electronoobs Is anything like this planned? :)

  • @chome564
    @chome564 ปีที่แล้ว

    Thank for the great video.
    Is there any benefit of using FOC over using a stepper motor?

  • @Bondarev-Y
    @Bondarev-Y ปีที่แล้ว +1

    a great example. Can I change the direction of rotation of the rotor in speed mode?

  • @ranganatennakoon
    @ranganatennakoon ปีที่แล้ว

    i love it very useful

  • @sinancetin2376
    @sinancetin2376 7 หลายเดือนก่อน

    We are still waiting the closed loop. Thanks a lot it is good video

  • @cesarmuttio506
    @cesarmuttio506 ปีที่แล้ว

    muchas gracias

  • @prcell959
    @prcell959 ปีที่แล้ว

    It is príncipe gimbal great!!

  • @rays14ful
    @rays14ful 3 หลายเดือนก่อน

    Best video that I have seen. I was having lot of trouble understanding how this worked. This video made it clear. So you can do open loop control just by creating three PWM signals 120degrees apart. I had a question. We can do all the clarks/parks transforms to figure out how the pwm have to be modulated but what if we have a look-up-table instead with the rotor positions specifed and the pwm values for those positions so the field is always 90 degrees to the rotor? Is that a viable option?

  • @CKILBY-zu7fq
    @CKILBY-zu7fq ปีที่แล้ว +1

    Very cool 😎 👌

  • @bikefarmtaiwan1800
    @bikefarmtaiwan1800 ปีที่แล้ว +1

    What a phenomenal video! You have explained the full workings of an industrial servo motor. The industrial ones use a quadrature encoder but otherwise are identical

  • @danfish95
    @danfish95 ปีที่แล้ว

    Hi I think it would be really cool if you took of the bldc rotor off, then use the field visualizer to show the actual change in real time

  • @chimpera1
    @chimpera1 ปีที่แล้ว

    more power!!!

  • @Avnish-sk4ll
    @Avnish-sk4ll ปีที่แล้ว

    That's Great 😍😍😍😍

  • @lalogarcia6686
    @lalogarcia6686 ปีที่แล้ว

    great video

  • @myhobbies5965
    @myhobbies5965 ปีที่แล้ว

    Closed loop with hall sensor and with BEMF also please. Very nice explanation.

  • @yaswanthreddyb
    @yaswanthreddyb ปีที่แล้ว

    Wow great

  • @brendanmccabe8769
    @brendanmccabe8769 7 หลายเดือนก่อน

    I'm interested in this to control a car speedometer, only thing I'm not sure of is while this obviously allows for low RPM would it allow the motor to spin at high RPM? I need to be able to spin from 150-3000RPM, torque loading would be negligible. Being car based I need to be able to run from 12V supply.

  • @james2749
    @james2749 8 หลายเดือนก่อน

    Did yoy ever make a follow up video with closed loop?

  • @tarushsingh1108
    @tarushsingh1108 ปีที่แล้ว

    I had a question regarding the logic for the MOSFET switching so as a sine wave is applied to all 3 phases at the same time is the signal provided to the two MOSFETs for the same phase the same or inverted.

  • @sudheerkumar5966
    @sudheerkumar5966 ปีที่แล้ว

    Great 👍

  • @philohan95
    @philohan95 ปีที่แล้ว

    Would it be sufficient if I take an axial magnet and rotate it so the poles are parallel with the encoder? Or is the radial magnet truly required?

  • @ThingEngineer
    @ThingEngineer ปีที่แล้ว

    Nice! What kind of torque are you getting from this with no gear box?

  • @souravghosh7903
    @souravghosh7903 ปีที่แล้ว +3

    Hi electronoobs, thank you for this wonderful topic. I am curious about the black motor with hollow shaft used in the video. Can you share it's make and other relevant information?
    Also, I request you to add a few points for your next video on closed loop control.
    1. Use the encoder in all modes, i.e. ABI, SPI and pwm.
    2. Using a lookup table for sinewave generation, as the signals are repeating with an phase shift of 120 deg. This would lead to lesser computation load for microcontroller.
    3. Use a smart driver like ti's DRV8353 for fault protection for larger version.
    4. I have worked with AS5048A, they are somewhat prone to get damaged (I don't know how). Always keep spare.
    Wish you all the best for your upcoming videos.

    • @ELECTRONOOBS
      @ELECTRONOOBS  ปีที่แล้ว +1

      I will add more details in the description in a few hours. I'm working on the tutorial website. I will share everything!

    • @souravghosh7903
      @souravghosh7903 ปีที่แล้ว +1

      @@ELECTRONOOBS I have also requested to add a few points in the closed loop control, please take a look at the suggestions.

    • @ABaumstumpf
      @ABaumstumpf ปีที่แล้ว

      The controller really has nothing else to do so it does not matter at all, yet still the first think i thought was that he should use a lookup.
      But also the "analogRead" and "analogWrite" as well as "delay". The inbuild-functions are nice and simple to use, but knowing what they actually do can be very important as "delay" can royally mess with the analog-functions, even worse if you use anything else that uses the timers.
      And the difference can be astonishingly gigantic:
      A friend and me tried creating a sender/receiver for audio-encoded data (to be hooked up to walkietalkies) using the good old dual tone multi frequency (old phone-number encoding). Turns out that is not possible with "normal" inbuild arduino functions - it is too slow - but using the ADC and timers directly it was no problem.
      Here we are dealing with a very simple sin-wave - they are great for lookups as the computation is a lot more complex than the result, and due to the nice symetrical nature only a small part needs to be actually stored. For bonus-points you could go way deeper than needed, storing the PWM-wave as a bit-pattern. For this simple motor-control a 64-entry lookup should be plenty (~1.5° resolution).

    • @souravghosh7903
      @souravghosh7903 ปีที่แล้ว

      @@ABaumstumpf you are absolutely right. If anyone wants efficient way to control, have to get hands "dirty" with register and asm codes.
      Similarly ADC could be freerunning. Just collect the data whenever needed.
      Lookup table is a must to reduce computation time. Makes dramatic change in time.

  • @CAPTINKING
    @CAPTINKING หลายเดือนก่อน +1

    nice

  • @winn_video
    @winn_video หลายเดือนก่อน

    your video really helped me learn, I watched all your videos especially about ESC, I hope you can make a detailed explanation video about VESC - Open Source ESC from vesc benjamin vedder, I want to make something like that because if you buy it from abroad the shipping costs very expensive, I know there are other people who have explained it about vesc, I think if you explain it, it will be easier to understand, thank you

  • @andymuzzo8568
    @andymuzzo8568 ปีที่แล้ว

    Ooooo. I like it.

  • @sri198904
    @sri198904 ปีที่แล้ว

    could you show us plots of the threephase voltages and currents ? idk without proper feedback for the phase currents, it is hard to maximise the quadature component of the resulting phasor sum to maximize the torque. I dont think arduino's pwm has enough resolution to create a decent enough sinusoidal phase currents. Could you tell us what is the switching frequency ?
    This is a good project for beginners but might have issues when you scale it up for larger applications...

  • @eduardodacosta4670
    @eduardodacosta4670 9 หลายเดือนก่อน

    Hey man, great video!
    Would it be possible to drive a 22V BLDC motor from a much higher voltage source by simply controlling the voltage going into the motor via the PWM signal? Or is this too much to ask? This would save me on having to get a VERY powerful DC to DC converter, 3kW or so...
    In reality I just need very high speeds, so FOC might be overkill.
    Thanks!

  • @Poult100
    @Poult100 ปีที่แล้ว +1

    Thanks for posting a well explained video and tutorial. With the motor you have used, how do we calculate the maximum resolution of control in degrees? Ie, what would be the maximum number of steps per revolution?
    Thanks again and nice PCB by the way!
    Simon

    • @ELECTRONOOBS
      @ELECTRONOOBS  ปีที่แล้ว +1

      The resolution is given actually by the PWM resolution witch is quite low for Arduino, only 8 bits. The sine signal repeates every 360 degrees so it goes from 0 to 359. But for a full rotation we need repeat the 360 degree sine wave "X" times where X is affected by the amount of poles the motor has.

  • @ivanalexis11
    @ivanalexis11 ปีที่แล้ว

    Saludos desde chile

  • @cassillayen-pon1504
    @cassillayen-pon1504 ปีที่แล้ว

    Hello, is the L6234PD driver only used to add the radial magnet sensor ? If we don't need this option, can we ignore it ? Thank you for your video.

  • @brandenchristiansen8529
    @brandenchristiansen8529 ปีที่แล้ว +2

    Hey does any one know what a practical RPM limitation is when using the Open Loop Code "Speed Control" method? Obviously this controller is designed for slow and precise rotation which is largely why I want to use it but I am very curious to know the practical upper limit? Of course it will also depend on how many poles the motor has so maybe a more appropriate question is how many full phase changes per minute is this capable of?

  • @arandarosalesdaniel7222
    @arandarosalesdaniel7222 5 วันที่ผ่านมา

    Hello friend, I have a cuestion, the signal you measure in min 10:54 is in the input of the motor, or in the output of arduino?
    I have doubt if the driver you used also has the function of transforming the pwm signal into a real sinosoidal wave. Thank you. Great video.

  • @ernieprevost6555
    @ernieprevost6555 2 หลายเดือนก่อน

    Hi Andrei , thank you for making these very interesting videos. I recently watched your video on “FOC Driver Controller”. FOC is new to me but it looks like what I need for a robot project. In your video you pointed out that in V1.0 you had missed 2 connections on D9 & D10, has this now been corrected? Also I have not used PCBWAY before, I created an account on PCBWAY from your link and noticed 2 options, “Only PCB” and “PCB+Assembly”, if I opt “PCB+Assembly” and select a quantity of upto 20 it quotes $35 including shipping. This seems very cheap, what does it mean by assembly? How much of the board is populated? Do I need to add any other components when I receive the board? Thank you for a very informative video.
    Ernie

  • @GHILLIESARCADEANDMORE
    @GHILLIESARCADEANDMORE ปีที่แล้ว

    Cool

  • @mercedeszevallos5042
    @mercedeszevallos5042 ปีที่แล้ว

    Hola, Excelente proyecto. Tengo una consulta, Deseo trabajar con un motor Brushless DJI E200 - 6010, 130 Kv, los componentes utilizados en la placa que mostraste en el video, ¿Cuanto es lo maximo de voltaje y corriente que puede soportar ? ¿Podría funcionar con el motor que te comente?

  • @chrisalexthomas
    @chrisalexthomas ปีที่แล้ว

    I'm learning so much from your channel. I want to create a arduino robot which drives around, but the motors are too loud and annoying. So I was thinking, drone motors? but holy shit it would disintegrate into the nearest wall if they span that fast, but this actually looks like a really great way to rotate the wheels with a quiet motor with great precision. Amazing!

  • @utube521
    @utube521 3 หลายเดือนก่อน

    I'm thinking of 2804 BLDC motor. I understand that I need to supply 3 wires (phases) to it from the miniFOC driver and nothing else. My q. is : how long can these wires be? I need some 2 meters. thanx

  • @Lucas_sGarage
    @Lucas_sGarage ปีที่แล้ว

    I challenge you to make a Odrive killer, that would be over the top (even if I have to pay a dollar or two to get the design)

  • @user-dz5df8wh5l
    @user-dz5df8wh5l ปีที่แล้ว

    أنت الاذكى

  • @andymuzzo8568
    @andymuzzo8568 ปีที่แล้ว +2

    Maybe the next step on from this would be a DSLR gimbal?

  • @rifqial-wafi5135
    @rifqial-wafi5135 ปีที่แล้ว +2

    you can make the pulse vector modulation FOC based on the open source simpleFOC group from MIT

    • @Th3_Gael
      @Th3_Gael ปีที่แล้ว

      Any links?

    • @pratheeps3287
      @pratheeps3287 ปีที่แล้ว

      Sir you are using SimpleFoc?

  • @larrys_truth
    @larrys_truth 2 หลายเดือนก่อน

    when ordering the board Will they populate with all parts?

  • @rahulkushwaha9500
    @rahulkushwaha9500 ปีที่แล้ว

    IDK why you need power resistors to limit current, haven't read the datasheet of your 3phase H bridge driver chip. But I have used DRV8313 in past when i was working on a gimbal. It did not require a power resistor and it is available in smaller package, and goes up to 60V VIN, I guess. Also you can check ST's STSPIN series of H bridge drivers, they come in QFN package but have low input voltage. For the board design, you can make it in a circle shape and give all the mounting holes and place the encoder right at the center and mount the PCB with some spacer depending on the clearance available between magnet and encoder, 1mm is a sweet spot, anything above 2mm will give errors/glitches in the PWM signal, this was true when I ran the tests, yours might differ.

    • @ELECTRONOOBS
      @ELECTRONOOBS  ปีที่แล้ว

      Thank you so much for your feedback :))))

    • @danilolattaro
      @danilolattaro ปีที่แล้ว

      Some sort of current limiting is required, because he's not adjusting the PWM duty cycle to limit that. Just connecting the motor to Vbus with a random duty cycle would lead to uncontrolled current through the motor windings due to the extremely low winding resistance and inductance

    • @sri198904
      @sri198904 ปีที่แล้ว

      dont think it is so easy to solder an QFN package at home without using hot air and with less soldering experience by someone...

  • @diylifetv105
    @diylifetv105 ปีที่แล้ว

    hi. I would like to know if you can customize a FOC controller but with high voltage and high amperage? Thank you!

  • @paulhimle3102
    @paulhimle3102 ปีที่แล้ว

    Is this the same technology ODrive boards use for control?

  • @literally_british_544
    @literally_british_544 3 หลายเดือนก่อน +1

    in future projects could you break out the ICSP pins? they aren't connected to anything and this makes the controller nigh impossible to bootload. If you have any tips on bootloading the chip, please tell me because i've found it impossible to connect anything to the tiny ICSP connections.

    • @grantkeefe9866
      @grantkeefe9866 3 หลายเดือนก่อน

      I am having a similar issue, how did you resolve

    • @literally_british_544
      @literally_british_544 19 วันที่ผ่านมา

      @@grantkeefe9866 I had to create a separate PCB to burn a bootloader to the chip. Only then could I solder that chip to the main board and have it work.

  • @Telectronics
    @Telectronics ปีที่แล้ว

    I would get further away from your motor to only pick up that magnetic field from your magnet otherwise it´s possible that your hall effect sensor could pick up the motor stray fields and this could get a irregular response like you see in your video.

  • @earielflare2203
    @earielflare2203 ปีที่แล้ว

    Hi and thanks for the video! 10:08 10:48 These moments show that the rotor shaft rotates irregularly, accelerating and decelerating. What can be the reason for this?

    • @Taygetea
      @Taygetea 6 หลายเดือนก่อน +1

      that's called cogging, as it moves between being oriented to each permanent magnet inside the stator in turn. its possible to compensate for it in software (anti-cogging).

  • @user-zg1si3wc5m
    @user-zg1si3wc5m 2 หลายเดือนก่อน

    Does this controller allow you to stop the motor at the right place?

  • @carlosarthurpetry3674
    @carlosarthurpetry3674 ปีที่แล้ว

    What is the relation between this foc controller to a stepper motor driver like the ones that are used in 3d printers? Is it the same thing?

    • @sfalvarezg
      @sfalvarezg ปีที่แล้ว

      They are different. Stepper motors don't have magnets

  • @johnfarris6152
    @johnfarris6152 ปีที่แล้ว

    👍

  • @wesselkooijman5268
    @wesselkooijman5268 2 หลายเดือนก่อน

    it looks like your encoder does work but you apply a constant torque

  • @nielsdaemen
    @nielsdaemen ปีที่แล้ว +2

    Can't this be combined with regular speed controllers so that you can have smoother motion at low speed but high torque and efficiency at higher speed?

    • @arcmchair_roboticist
      @arcmchair_roboticist ปีที่แล้ว

      yes, but it's more expensive. A fancy motor controller usually will do this for exactly that reason.

    • @nielsdaemen
      @nielsdaemen ปีที่แล้ว

      @@arcmchair_roboticist Okay, makes sense if it's with feedback. But without feedback it would be simple to implement in software without hardware changes

  • @velialiyev3689
    @velialiyev3689 ปีที่แล้ว

    I WONDER HOW CAN I CONNECT MY Globisens LabDisc TO ARDUINO VIA USB CABLE? ARDUINO HAS TX AND RX PINS, LabDisc SUPPORTS UART PROTOCOL. BUT I DON'T KNOW HOW TO READ SIGNALS FROM LabDisc OUTPUT CABLE WHICH IS FOR CONNECTING TO LAPTOP.
    IT WOULD BE FANTASTIC IF YOU SHARE A VIDEO ABOUT IT.
    THANKS IN ADVANCE.

  • @Krishna_25
    @Krishna_25 ปีที่แล้ว

    Sir how to connect multiple MOSFET in dc to dc boost converter

  • @christopherross8358
    @christopherross8358 ปีที่แล้ว

    You have something I can use with a 2 phase motor?

  • @hanelyp1
    @hanelyp1 ปีที่แล้ว

    Using a brushless DC motor as a stepper, and microstepping.

  • @Ben-ls2ho
    @Ben-ls2ho ปีที่แล้ว

    Gosh, I didn't watch this video cause I have no idea what it's about! Btw, what's foc?

  • @stevensondsilva9003
    @stevensondsilva9003 ปีที่แล้ว

    Bro make laser light show I been wait a lot

  • @bambumbambu
    @bambumbambu 6 หลายเดือนก่อน

    is there a cheaper L6234PD alternative?

  • @sudipdas7987
    @sudipdas7987 ปีที่แล้ว

    #electronoobs plz make a very low cost esc driver for 24v bldc celling fan...there is no proper videos on whole TH-cam..also the readymade circuit purchased from market are stopped working within few months...plz keep my request... waiting for this type of videos... Thank u so much #Escmakerking #Electronoobs...😁😁😁

  • @inventorkr1
    @inventorkr1 ปีที่แล้ว

    Like 👉✅

  • @hellyesOo
    @hellyesOo ปีที่แล้ว

    Nice work! , but what you have done is SINPWM, not FOC

  • @ejonesss
    @ejonesss ปีที่แล้ว

    1. couldnt you just omit the sensor and if the motor gets out of sync then do a 360 spin to re orient the motor?
    it is like in the old days when you would turn on dot matrix printers the print head would move over and back and todays computer optical drives do the same thing when turned on.
    2. use the motor windings to detect position via the kickback that makes sensorless escs and ebike controllers work.

  • @williamgates97
    @williamgates97 ปีที่แล้ว

    the AS5048A is for SPI. the AS5048B is for I2C

  • @prerupa
    @prerupa 3 หลายเดือนก่อน

    I wanted an ESC that could control the speed with more precision, the minimum speed is fast and the maximum is faster.