Search results

  1. mxlemming

    Seeking Help: BLDC Motor Control Board Development (FOC Technique)

    My foc code is currently using about 100k but it's got usb and can stack and options for all kinds of sensors and sensorless.... About half of it is for the terminal netzpfuscher added (i think but not sure). Squeezing it onto a C6 micro sounds like no fun atall.
  2. mxlemming

    Seeking Help: BLDC Motor Control Board Development (FOC Technique)

    Just saw you use the C6 version of chip. This will run out of memory and ram very quickly for running FOC... I think you can barely fit the stm32 initialisation code on it. Should use the CB version at least with 128kB.
  3. mxlemming

    Modular, Multi-Platform, 300A ESC

    Well done on getting this to work. I have no idea how i got it to work without the variables being in the terminal, can only guess that some commit/merge erased them. I'll add them back. Just got to the end of a very exhausting European tour visiting various factories and colleagues and...
  4. mxlemming

    Seeking Help: BLDC Motor Control Board Development (FOC Technique)

    Your phase voltage only measures 2 phases... Surely you need 3. How bright do you need the debug led? Why so many test points? Why only measure 2 phase current? You sure pb12 is adc? I didn't check g431but none of the other stm32 has adc on pb12. Some strange choices here ...
  5. mxlemming

    Seeking Help: BLDC Motor Control Board Development (FOC Technique)

    Use the MCU that's native to the code base you want to run... Ebics? Stm32f1 VESC? Stm32f405rg Mine? Stm32f405, l431, f411... Writing your own? Pick something with a floating point unit and at least 10adc inputs. If you can, get an ABI encoder and wire it into a timer on the stm (timer2,3 or...
  6. mxlemming

    Modular, Multi-Platform, 300A ESC

    Sorry, its been a long time since I wrote the speed controller and i rarely use it. From looking at the code, it seems there's another parameter for speed req that needs setting and its not connected to the UART req. I'm away for a few weeks... You can try adding the speed req parameter to the...
  7. mxlemming

    Modular, Multi-Platform, 300A ESC

    Congrats on getting it running. Unfortunately it's virtually impossible to debug bad solder joints and broken ICs over the web so starting afresh with a new board was probably the best idea. Most issues with all types of board and firmware unfortunately come down to build quality and...
  8. mxlemming

    FOC questions

    Yes i forgot about this new hardware. Might still have to much dead time i don't know. 230mohm sounds like a lot for a motor. Have you verified this number? Remember the value you use for foc is half the phase to phase value. Battery adds resistance but thats why you have a cap bank. It all...
  9. mxlemming

    FOC questions

    Your issue is most likely dead time and switching abheration. They look like resistance in reality so you need to tweak the resistance to unrealistic values to compensate it. I recall in the other thread I was saying over and over to stop solving problems by applying massive gate resistance...
  10. mxlemming

    Axial flux motors

    There's a lot of companies making absurd claims to take in investment dollars. The reality is that PCBs have a lot of fibreglass and not much copper. Good motors get as much copper iron and magnets in as possible with the least non torque generating stuff possible... So PCB stators are a crap...
  11. mxlemming

    FOC questions

    M MESC has the ability to save parameters so this is only important the first time you set it up.
  12. mxlemming

    FOC questions

    The resistance is the key parameter. Higher resistance looks like the flux is lower and so it tends towards the observed flux reaching zero.
  13. mxlemming

    FOC questions

    FOC assumes star winding, even if it is delta. Therefore you simply divide the answer the lcr meter gives by two.
  14. mxlemming

    Modular, Multi-Platform, 300A ESC

    Hi, Your flux linkage is definitely wrong...a small RC outrunner will be nearer 0.001. the value you have is correct for something like a surron motor. Make Ld and Lq nearer to 10 micro and R nearer to 30mohm if you didn't actually measure it. Your should be setting these through the...
  15. mxlemming

    Zapper Trumoto - new controller from EM&C for 2025

    Indeed if it worked with VESC 5 it will work with any later version. I think what happened is that a Chinese company called cyc made a locked out version of VESC 5 with a simple app and then started selling it to various... Ebmx etc... possible that its the same firmware as with the torp which...
  16. mxlemming

    Voltage Boost (and Z-source inverters) versus Flux Weakening

    The zsi is using the controlled shoot through state of the h bridge with series inductance in the supply bus to generate a higher bus voltage. There's two obvious huge issues here... 1) this is effectively giving the DC link a huge inductance (many probably hundreds of uH) where normally the...
  17. mxlemming

    Inventive "Donut Motor" 15.KW @ 8.KG scooter motor?

    Shall we break this motor down for what it really is, succinctly... Its a hub motor like any other but with an enormous bearing and a lot of outright marketing lies. In the end, it's a hub motor and will hit the same reality as every other hub motor. There, done. It might be an srm so avoid...
  18. mxlemming

    FOC questions

    If you write a new value to the timer, it will only update the duty at the next update event - top or bottom. So if you write it in the "top" interrupt, it will get applied at "bottom". If you are reading every "bottom" of timer, you then get the injection you want... it you are reading at top...
  19. mxlemming

    Robotics Project: Snuggles, The Wolf

    You have to remember when using this that it's just machine generated code and there's little point saving it. It just fills your thread with garbage. It becomes valuable only once you've tested it, debugged it, integrated...
  20. mxlemming

    Robotics Project: Snuggles, The Wolf

    RPi is some other higher end MCU that is hideously complex to use at this level, so we end up using them with an operating system on top. There is the Rpi pico, but it is really quite low power. It's nice that they made their own MCU, but as far as I can see, it is far worse than the f405RG I...
  21. mxlemming

    Robotics Project: Snuggles, The Wolf

    Hi, you pointed me to this thread... 5 pages I have skimmed but probably missed a lot. If I was to embark on this, I would probably be following a similar architecture - ESP camera, control board and link to higher level processing board. However, I would probably be pushing for something...
  22. mxlemming

    Axial flux motors

    Also you need cores or very thin traces. Wide PCB traces will get huge Eddie losses.
  23. mxlemming

    About Mosfet Matching / Paralelling

    You won't catch me using NXP, Toshiba, vishay, AOsemi and others any more. This link you just made... Better current sharing in ASFET... Seems like something infineon did for years. I had an 18 fet power stage on my desk the other day, I'd used AOTL66518 since they're the best rated 150V toll...
  24. mxlemming

    About Mosfet Matching / Paralelling

    Interesting idea but if you consider where GaN is in the development cycle, the problems are still being solved. I think I built the only documented GaN stage on endless sphere. It worked fine but I couldn't see any compelling reason to use the GaN over silicon MOS. The switching waveforms were...
  25. mxlemming

    About Mosfet Matching / Paralelling

    I advise you to use modern MOSFETs from good brands. This matching business is not sensible, not indicative of state of the art and not suitable for serious production. If you're facing issues with one fet of 3 being hotter than the others, just ask yourself if you really want this hassle in...
Back
Top