Search found 15 matches

by machado88
Jul 24 2017 1:44pm
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

Nice video, good to understand how that mobile app works and the potential. That is new for me. On my OpenSource firmware for Kunteng/BMSBAttery controllers, I will need to implement PAS code and I think I will look at your code to learn more about PAS firmware as I never implemented such thing. Fo...
by machado88
Jul 24 2017 1:31pm
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

I don't know where I could help. Though I am very interested in this project. Once upon a time I received my BSEE, it is what we did before there were software degrees. I wrote software most of my adult life, hinging around internet applications; but then, mostly libraries for data access from DBMS...
by machado88
Jul 23 2017 11:03am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

Hi everyone, After some time doing other stuff, I'm coming back slowly to the new controller. But not all time was lost, I've being doing some bug correction in code and experimenting some other ports in the current controller. By the way, do never copy my use of PicoBlade connections for the cables...
by machado88
May 27 2017 5:23am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

You can probably reuse most of my controller if you want a high power version, it's built around STM32f4 and VESC firmware but it conforms to instaspin requirements, vbus + phase vsense and 3x current sense. While developing it I actually played around with instaspin extensively but I couldn't get ...
by machado88
May 27 2017 5:20am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

About the controller, I think before I do another PCB, it is better to run some tests using some of the LegStrong boards that I still have. I still have 7-8 boards without components. Now I have to re-think the pins connections and try to port some basic motor controller code for that STM32F334. I w...
by machado88
May 21 2017 5:12am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

You can probably reuse most of my controller if you want a high power version, it's built around STM32f4 and VESC firmware but it conforms to instaspin requirements, vbus + phase vsense and 3x current sense. While developing it I actually played around with instaspin extensively but I couldn't get ...
by machado88
May 21 2017 5:10am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

:facepalm: I totally forgot the High-res PWM when choosing the controller. I have to re-think that for a moment. Now the candidates are: - back to TI (really expensive and more pins to get better); - STM32F334C8 (48pins, best memory available: 64/16KB). - Go for a more powerful Cortex-M4 (might be t...
by machado88
May 21 2017 5:00am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3695
Views: 253311

Re: OpenSource firmware BMSBattery Sxxx motor controllers ST

Hummm... For sure looks a good controller for 22 bucks. But it is a bit far from FOC. Yes, by maintaining rotor wingdings orthogonal to the stator field you get maximum Torque production. However, what this enhanced controller does is that it is always trying to apply a correction to fix the angle i...
by machado88
May 18 2017 2:47pm
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

I haven't used the MP6534 specifically, I have used the MP6530 though, and I got it from Mouser, very cheap, only $6000 for a reel. If you wish to make small, efficient, cheap FOC controller, you don't need a very strong gate drive, you aren't driving huge FETs. Yeah, no way. The least amount that ...
by machado88
May 18 2017 9:05am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

I am an EE with a lot of experience in high power analog design. I can competently design a flexible discrete high power stage, with a decent high voltage regulator (isolated or not), to provide power to the drive and digital circuitry, high speed analog protection features, basically just leaving ...
by machado88
May 18 2017 4:26am
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

Are you planning on keeping this a low power controller? As the TI DRV8302 are very integrated similar 60v rated controllers are very common (see vedder esc). I would be interested in contributing to a 100v+ 100A+ controller project using a more discrete solution. @bamitsram, at the end, changing f...
by machado88
May 17 2017 2:41pm
Forum: E-Bike Technical
Topic: DIY Custom Conttroler Version 2
Replies: 26
Views: 3125

Re: DIY Custom Conttroler Version 2

Hi Glenn, In my project I decided to go with the TI DRV8301, it has the three mosfet drivers for up 60V, two amp/ops for current sense, a good buck converter and SPI communication for faults and some configs. But the way you want is actually the way to go, it can be cheaper and you can easily adapt...
by machado88
May 17 2017 2:30pm
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

Re: LegStrong - Open-Source HW/SW controller (FOC + Bluetoot

A new idea is taking shape: Re-spin the board with a new micro-controller! Reasons why: - The TMS320F28027 is running out of memory (and the code is growing), the best TMS320F2802x is 32K Flash / 6K SARAM - Texas Instruments chips are expensive - It is not easy/cheap to program, the JTAG is very har...
by machado88
May 14 2017 12:53pm
Forum: E-Bike Technical
Topic: DIY Custom Conttroler Version 2
Replies: 26
Views: 3125

Re: DIY Custom Conttroler Version 2

Hi Glenn, In my project I decided to go with the TI DRV8301, it has the three mosfet drivers for up 60V, two amp/ops for current sense, a good buck converter and SPI communication for faults and some configs. But the way you want is actually the way to go, it can be cheaper and you can easily adapt ...
by machado88
May 13 2017 2:49pm
Forum: E-Bike Technical
Topic: LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)
Replies: 35
Views: 7728

LegStrong - Open-Source HW/SW controller (FOC + Bluetooth)

There is being a while since I started this project and now that the first prototype is running, I felt the necessite to start sharing back everything that I've learned and the final result of it. The controller has a different concept from most controllers available, it uses OBD/ELM327 protocol to ...