Search found 3328 matches

by Lebowski
Feb 24 2021 2:46pm
Forum: Motor Technology
Topic: Another attempt at building a motor controller
Replies: 92
Views: 2171

Re: Another attempt at building a motor controller

Say it like it is, The only thing more impressive than getting this to work is that it's only taken you a few days to code and it's literally a few weeks since I was first making comments on your schematic. Really impressive. It took me a bit longer, but I started from complete scratch (with no exa...
by Lebowski
Feb 23 2021 4:05pm
Forum: Motor Technology
Topic: Another attempt at building a motor controller
Replies: 92
Views: 2171

Re: Another attempt at building a motor controller

You have roughly 40 times more samples and 1 extra bit, which equates to only 22 dB or 3.5 bit better performance than the ADC I use. The analog amplification and filtering will get you way more than that. With analog you can really bring down the main motor powering signals and have a lot of amplif...
by Lebowski
Feb 23 2021 4:07am
Forum: Motor Technology
Topic: Another attempt at building a motor controller
Replies: 92
Views: 2171

Re: Another attempt at building a motor controller

For the 0 or 180 determination, I did not want to assume the rotor could actually move. What if it is locked solid with no movement, but you still want to generate a force in the coreect direction ? The 2nd order signal needs quite some current to see, though proper complex analog filtering (so one ...
by Lebowski
Feb 22 2021 3:12pm
Forum: Motor Technology
Topic: Another attempt at building a motor controller
Replies: 92
Views: 2171

Re: Another attempt at building a motor controller

The paper had quite a bit of math in it that I didn't fully understand. However, I understood enough of it to implement an improved sensorless FOC algorithm that could reliably determine the motor's position, including the leading 180 degrees, from standstill. Instead of varying the PWM amplitude o...
by Lebowski
Jan 09 2021 3:10pm
Forum: Motor Technology
Topic: Lebowski controller IC 2.B0 source code and (short) explanation
Replies: 48
Views: 4250

Re: Lebowski controller IC 2.B0 source code and (short) explanation

Sorry, I am not adding any new code. The whole reason for publishing the source code is that I dont need to continue with it. I broke down my hobby table where I did all my development, so cannot run any tests anymore. Its my home office table now...
by Lebowski
Dec 16 2020 11:43am
Forum: Motor Technology
Topic: Ampera/Volt inverter with Lebowski brain
Replies: 157
Views: 14546

Re: Ampera/Volt inverter with Lebowski brain

I got some time to play with motor settings some more. So i figured something that is quite obvious, but it diddnt occure to me before. Lebowski inverter has option to save hall sensor position in case of errors and ovrcurrent events. Also manual position saving is performed for sensor calibration....
by Lebowski
Nov 24 2020 11:02am
Forum: EBike Non-hub Motor Drives
Topic: BBSHD issue with 48v battery
Replies: 8
Views: 427

Re: BBSHD issue with 48v battery

Chalo wrote:
Nov 23 2020 9:10pm
E-HP wrote:
Nov 23 2020 9:01pm
Welcome back!
Thanks!
Welcome !!!
by Lebowski
Nov 17 2020 5:04am
Forum: Motor Technology
Topic: APL's DIY axial-flux motor
Replies: 1427
Views: 126402

Re: APL's DIY axial-flux motor

If you make the winding basically a big circle around the axle, wont you induce eddy currents and losses in the axle iron ?
by Lebowski
Nov 17 2020 1:54am
Forum: Motor Technology
Topic: Another SMD lebowski PCB
Replies: 150
Views: 21562

Re: Another SMD lebowski PCB

Right, RS232 can go down to -15V, and requires at least -3V for logic high. What I'm wondering is why the signals are called RS232 in the schematic. They look to me like just 0 to 5V signals, albeit inverted with NPN inverters. Old school 9 pin RS232 give out inverted signals wrt the microcontrolle...
by Lebowski
Nov 15 2020 2:21pm
Forum: Motor Technology
Topic: True FOC: definition and examples
Replies: 77
Views: 5562

Re: True FOC: definition and examples

In a hypothetical situation the motor could always rotate faster during one part of the electrical cycle and slower during the other. Then v_alpha would not necessarily integrate to zero. But I think the observer would still work because of the additional terms in the update equation. Not the case....
by Lebowski
Oct 08 2020 10:31am
Forum: EBike Technical
Topic: Analysis of regen on an ebike
Replies: 151
Views: 54971

Re: Analysis of regen on an ebike

What you want is as much power into the recipient of this power with minimum losses. This means that for the recipient the voltage and current vector have to be in phase (cos phi = 1). When powering the motor this means FOC, or, the current vector must line up with the BEMF vector. In regen this mea...
by Lebowski
Oct 06 2020 2:13am
Forum: Motor Technology
Topic: FOC for power and SOC (Stator Oriented Control) for regen?
Replies: 6
Views: 607

Re: FOC for power and SOC (Stator Oriented Control) for regen?

Maybe you can convince Justin to talk yo ASI to change the regen mode ?
by Lebowski
Oct 05 2020 2:29pm
Forum: Motor Technology
Topic: FOC for power and SOC (Stator Oriented Control) for regen?
Replies: 6
Views: 607

Re: FOC for power and SOC (Stator Oriented Control) for regen?

Simply put, for highest efficiency cos(phi) has to be 1 for the device receiving the power. So during accelleration this means FOC (as the motor receives the power) and during regen it has to be SOC (as the battery receives the power). The (now open source) Lebowski controller has FOC for powering a...
by Lebowski
Sep 24 2020 1:21pm
Forum: EBike Technical
Topic: Analysis of regen on an ebike
Replies: 151
Views: 54971

Re: Analysis of regen on an ebike

good chance that the regen is not implemented correctly for max efficiency... regen should be done with Stator Oriented Control for max energy recuperation, not with Field Oriented Control.
by Lebowski
Sep 22 2020 3:14pm
Forum: EV Business World
Topic: EV's on The Long Way Up
Replies: 14
Views: 1004

EV's on The Long Way Up

Have you guys seen the first few episodes of 'the long way up' ?

McGregor and Boorman are travelling on 2 HD lifewires from Ushuaia to LA. They are supported by Revian EV pickups.

And a diesel generator :?



P.s. bought a HD a few days ago, can post pictures if anyone interested.
by Lebowski
Aug 11 2020 9:28am
Forum: Motor Technology
Topic: I'm looking for developers/engineers interested in high current (+1kA) controller development
Replies: 13
Views: 1136

Re: I'm looking for developers/engineers interested in high current (+1kA) controller development

I started something like this in 2016 but stopped for 2 reasons. First one was that it was a project to work on while I was unemployed, once I found a new job it got benched. And then I never restarted because, well, I have no use for a 1kA motor controller and was more interested in Sensorless From...
by Lebowski
Jun 13 2020 2:32am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 483
Views: 116156

Re: Axiom: a 100kW+ motor controller

With the rotation in the error signals you have the 45 degree rotation in the control loop (giving you the stability) but not in the wanted Id and Iq (so you remain FOC). I have this 45 degree rotation in the error signals for both sensored and sensorless modes Lebowski, are you saying the 45 deg r...
by Lebowski
Jun 13 2020 2:31am
Forum: Motor Technology
Topic: Lebowski controller IC 2.B0 source code and (short) explanation
Replies: 48
Views: 4250

Re: Lebowski controller IC 2.B0 source code and (short) explanation

To explain the 45 degree thing further, controlling real and imaginary current at the same time is basically a 2 dimensional control problem. To reach the steady state your updates need to 'walk' straight to the steady state point. However, the information telling your in which direction to walk is ...
by Lebowski
May 24 2020 12:53am
Forum: Motor Technology
Topic: Ampera/Volt inverter with Lebowski brain
Replies: 157
Views: 14546

Re: Ampera/Volt inverter with Lebowski brain

Does it now run good, also with the fieldweakening etc ? Did you try at higher speeds ?
by Lebowski
May 23 2020 2:11pm
Forum: Motor Technology
Topic: Ampera/Volt inverter with Lebowski brain
Replies: 157
Views: 14546

Re: Ampera/Volt inverter with Lebowski brain

Cars are Greek to me .... but looks like something a setting in the controller will not fix :roll:
by Lebowski
May 20 2020 2:43pm
Forum: E-Scooter and Motorcycle General Discussion
Topic: What Strange Build do YOU have Bubbling inside?
Replies: 12
Views: 844

Re: What Strange Build do YOU have Bubbling inside?

I have a 10kW hubmotor with no hub but with holes and threads for a disk brake lying around. An me602 I believe. I also have a 8kW Honda Wave 110 scooter in which the motor is not a load bearing member... replacing the 110cc unit with the hubmotor and a sprocket (attached using the threaded holes) c...
by Lebowski
May 17 2020 3:19pm
Forum: EBike General Discussion
Topic: INCREASE EBIKE SPEED WITH DC BOOST CONVERTER
Replies: 12
Views: 601

Re: INCREASE EBIKE SPEED WITH DC BOOST CONVERTER

How about using fieldweakening, where the motor inductors kind of perform the job of the boost inductors ?
by Lebowski
May 16 2020 11:34pm
Forum: Motor Technology
Topic: Ampera/Volt inverter with Lebowski brain
Replies: 157
Views: 14546

Re: Ampera/Volt inverter with Lebowski brain

I still have rubbering shakes when i drive at speed. I tried to rebuild my speedo sensor and it is now out of the way of magnet collar. Feeling is kind of like you would drive on tiles. But when i investigated further it seems this only happens when i have the steering wheel centered or to the righ...
by Lebowski
May 15 2020 12:33pm
Forum: E-Scooter and Motorcycle General Discussion
Topic: 50KW controller with field weakening
Replies: 10
Views: 549

Re: 50KW controller with field weakening

And, if I say so myself, the Lebowski setup has good field weakening. :wink:
by Lebowski
May 13 2020 1:41pm
Forum: Motor Technology
Topic: APL's DIY axial-flux motor
Replies: 1427
Views: 126402

Re: APL's DIY axial-flux motor

You can run a SRM sensorless from start with full torque... the tech is what I uploaded here on ES. With a SRM everything is based on the wire inductances varying a lot with the rotor angle. The most difficult bit about a 5 phase controller is finding the appropriate micro processor, one that has 5 ...