Search found 856 matches

by mxlemming
May 16 2022 3:19am
Forum: Motor Technology
Topic: 20Kw motor and 300A ESC (ultralight aircraft propulsion system)
Replies: 100
Views: 5438

Re: 20Kw motor and 300A ESC (ultralight aircraft propulsion system)

Can you show exactly how you're taking these measurements? Switch node looks pretty good for 850A, there's some ringing but it's all over within a short time. The gates... It's really strange that there's more ringing on the gates than the switch node. Is it perhaps possible that this is being cause...
by mxlemming
May 14 2022 6:01am
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 204
Views: 13559

Re: New ground-up ESC - MESC_FOC_ESC

what is the HFI performance (I mean on your F303), I asked the same question to stancecoke before... can it work as good as hall sensor under load? any harsh noise for heavy load starting? what is your feeling for Lishui sensorless performance The sensorless branch works for an EBike with a geared ...
by mxlemming
May 13 2022 8:50pm
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 204
Views: 13559

Re: New ground-up ESC - MESC_FOC_ESC

https://www.youtube.com/watch?v=qFH7duzY3uM qFH7duzY3uM Just ported MESC to F401CC. Been running in the Easy DIY ESC from Badgineer, Casainho, Andre. Nice piece of kit. Cute size, better ADC readings than the MESC board, but significantly down on power. This is interesting, because 1) it can now be ...
by mxlemming
May 13 2022 8:44pm
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

Built, running MESC FOC firmware on F401CC black pill board. qFH7duzY3uM https://youtu.be/qFH7duzY3uM The current sense waveforms are really nice TBH, very clean for a low side shunt. Nicer than my MESC board for sure. Current trace with low inductance (5uH) motor EasyDIY ESC.png The switching in th...
by mxlemming
May 11 2022 8:41pm
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

Just built one of these (casainho sent me r1 board) Seems to switch nicely at very preliminary glance and is pretty small. Fsesc75100 for scale. the board looks really nice and neat! maybe you can try my comparison and verify the current consumption @ same rpm. Thanks. I was pretty pleased with how...
by mxlemming
May 11 2022 8:03pm
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

Just built one of these (casainho sent me r1 board)

Seems to switch nicely at very preliminary glance and is pretty small. Fsesc75100 for scale.
IMG_20220512_020105138.jpg
IMG_20220512_020105138.jpg (3.79 MiB) Viewed 182 times
I need to go to sleep so hopefully tomorrow we get some spinny spinny.
IMG_20220512_012615154_HDR.jpg
IMG_20220512_012615154_HDR.jpg (3.93 MiB) Viewed 182 times
by mxlemming
May 11 2022 7:58pm
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 204
Views: 13559

Re: New ground-up ESC - MESC_FOC_ESC

@mxlemming, can STM32f302CB do the same thing? happened to have two 302 chips on hand. It could but it would take porting and setup. Also you'd need external op amps or current sensors since f302 i recall only has 2 and I'm not going to deal with that nonsense. Just built up the easy DIY ESC from b...
by mxlemming
May 09 2022 10:16am
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

I'm not good at coding/reading the codes, just checked again, yes stancecoke's routine counts the first hall status changing position (entering the hall sensor) and ignore all the next until the status change again (leaving), which is not accurate. the accurate position shall be the center of betwe...
by mxlemming
May 09 2022 10:10am
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

Stator resistance and inductance should be used to tune the PI loop for the current controller I always tune the PI parameters by trial and error, not by the mathematical/physical theory :D it will be much less accurate since it relies on single point detection Yes that's right, the autodetct routi...
by mxlemming
May 09 2022 1:54am
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

The best way i found to do this is to run it very slowly in open loop with a high d axis current, integrate the angle and count the number of steps per every hall state. Then after a full revolution divide the integral by the count for each hall state. That gives you the centre angle of each hall s...
by mxlemming
May 08 2022 3:28pm
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

when shifting the rotor electrical angle Thank you for the feedback, but I can't follow your experiments :confused: The rotor angle is detected by the autodetect routine in v3. You have to run it once, otherwise the controller won't know the correct positions of the hall sensors. I don't know, how ...
by mxlemming
May 05 2022 1:37pm
Forum: EBike Build Threads
Topic: APL's V4 Cruiser Build.
Replies: 162
Views: 8548

Re: APL's V4 Cruiser Build.

1kW sounds very low for that setup. And that battery looks quite large. I don't know much about batteries but surely it can do more than that? That controller also looks very large for not so much power. 18 MOSFETs to push 1kW? Erm... You can do that with a controller 5x6cm. Might be an issue with j...
by mxlemming
May 01 2022 5:33pm
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 204
Views: 13559

Re: New ground-up ESC - MESC_FOC_ESC

Updates. Implemented tracking and switchover between pwm and no pwm and Implemented a crude 180 degree HFI disambiguation. It's now completely silent at standstill, little hiss as hfi starts and then smooth torque. Implemented max power limiter so I can set the max battery draw. It gets easier and f...
by mxlemming
May 01 2022 3:09pm
Forum: EBike Build Threads
Topic: Giant Trance Belt drive with MESC @ few kW
Replies: 39
Views: 2170

Re: Giant Trance Belt drive with MESC @ few kW

IMG_20220501_202033814.jpg Nice new printed wheel that should bea lot stronger. Better filament, extra wall layer and the cutouts force it to have lots of thick radial lines. Survived the first ride out at least. FLIR_20220501_080939.jpg Here's the motor and bike 5 mins after the ride. Had a bit of...
by mxlemming
Apr 28 2022 7:19pm
Forum: EBike Build Threads
Topic: Giant Trance Belt drive with MESC @ few kW
Replies: 39
Views: 2170

Re: Giant Trance Belt drive with MESC @ few kW

IMG_20220428_201050160.jpg This new motor is presenting all sorts of problems the previous one didn't, like I can run enough braking force to skid if I lean forwards a bit. And a few goes later it rewards me with a 20km pedal back home through the fields, reminding me that it is in fact very much s...
by mxlemming
Apr 26 2022 7:11pm
Forum: EBike Build Threads
Topic: Giant Trance Belt drive with MESC @ few kW
Replies: 39
Views: 2170

Re: Giant Trance Belt drive with MESC @ few kW

Of course you've considered the possible failure modes. Aluminum weldments can be susceptible to fine stress fractures that are not obvious, and those stay tubes are also usually pretty thin wall, so I'd be more comfortable bolting the drive to steel. It may just keep working fine indefinitely... T...
by mxlemming
Apr 25 2022 6:22pm
Forum: EBike Build Threads
Topic: Giant Trance Belt drive with MESC @ few kW
Replies: 39
Views: 2170

Re: Giant Trance Belt drive with MESC @ few kW

Hey mx- novel drivetrain you built yourself there. Seems like a big ask for the dropout and brake bosses, but since it's based off the axle it's workable. I'd keep an eye on the frame attachments. And congrats on the success with your own controller. An impressive feat... small club of guys capable...
by mxlemming
Apr 24 2022 2:35am
Forum: Motor Technology
Topic: AT12070 motor (similar to many 12070, 12090... motors)
Replies: 21
Views: 1194

Re: AT12070 motor (similar to many 12070, 12090... motors)

So with summer on the doorstep I've actually been using this motor in anger. It's better than I'd expected from initial testing. 1) under load it actually seems to generate less heat than on the bench which is weird. Even running 100A and going WOT up a hill it barely gets warm. 2) the noise is the ...
by mxlemming
Apr 23 2022 6:38pm
Forum: EBike Build Threads
Topic: Giant Trance Belt drive with MESC @ few kW
Replies: 39
Views: 2170

Re: Giant Trance Belt drive with MESC @ few kW

Reprinted the pulley. Added reinforcement holes, double checked the infill on the slicer, modified the tooth profile to better suit the newer parabolic belt teeth and increased the tooth count from 148 to 151. A minor change in ratio but brings the motor a cm lower which is more aesthetically pleasi...
by mxlemming
Apr 22 2022 9:32pm
Forum: EBike Build Threads
Topic: Neu 8057 6kW left hand drive hardtail with vesc and encoder
Replies: 76
Views: 17834

Re: Neu 8057 6kW left hand drive hardtail with vesc and encoder

I've also been playing with silent HFI for sensorless tracking at low/zero speed this week as this has recently been added to the vesc firmware. I have it configured to inject in d-axis at half the switching frequency so it isn't totally silent at 15kHz but not an issue on the road. It works really...
by mxlemming
Apr 19 2022 2:45am
Forum: Motor Technology
Topic: Figuring torque from kv and esc
Replies: 9
Views: 364

Re: Figuring torque from kv and esc

The ratings in table 48 are fairly close to the level I'm driving my current ebike at, and the belts seem fine (5mhp optibelt and contitech htd5m. I think they're ratings for a long life expectancy (50k hours from memory is usual for belt ratings), if your willing to accept while service life level...
by mxlemming
Apr 18 2022 4:44pm
Forum: Motor Technology
Topic: Figuring torque from kv and esc
Replies: 9
Views: 364

Re: Figuring torque from kv and esc

The ratings in table 48 are fairly close to the level I'm driving my current ebike at, and the belts seem fine (5mhp optibelt and contitech htd5m. I think they're ratings for a long life expectancy (50k hours from memory is usual for belt ratings), if your willing to accept ebike service life levels...
by mxlemming
Apr 18 2022 4:32pm
Forum: Motor Technology
Topic: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource
Replies: 160
Views: 6184

Re: Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

If this works well perhaps you can upgrade your name to goodgineer. Really excited about this. As badgineer notes, I've been helping a bit with his questions on telegram but it's 99% his. I've had just enough involvement that I really want to get one to try. The name of the project is a clear state...
by mxlemming
Apr 18 2022 3:11pm
Forum: Motor Technology
Topic: Figuring torque from kv and esc
Replies: 9
Views: 364

Re: Figuring torque from kv and esc

Short answer... Use SI units kV to rads-¹/V Invert it That's your Nm/A Multiply by amps E.g. 55rpm/V is 55x2pi/60 is 5.76rads-¹/V kT is 1/5.76 is 0.174Nm/A x140A is 24Nm That's it. If your motor saturates, the torque will be lower. Note... rads-¹/V = radians/(Vs) it just strangely feels more natural...