Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-25-2018, 09:02 AM   #3261 (permalink)
Somewhat crazed
 
Piotrsko's Avatar
 
Join Date: Sep 2013
Location: 1826 miles WSW of Normal
Posts: 4,061
Thanks: 467
Thanked 1,111 Times in 980 Posts
Yes you can improve it by more voltage, to physical limits. On my dc series brush arc increases until the arc goes all around the commutator until it hits the opposite pole then it becomes a zorch.

On an induction motor eventually you either overheat or experience dielectric breakdown.

Also: most power motors have physical rpm limits. Series dc has the lowest for size due to all that wire mass in the armature

__________________
casual notes from the underground:There are some "experts" out there that in reality don't have a clue as to what they are doing.
  Reply With Quote
The Following User Says Thank You to Piotrsko For This Useful Post:
MPaulHolmes (05-25-2018)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-26-2018, 07:42 AM   #3262 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
My understanding is, for motors with buried permanent magnets (high saliency they call it for some reason), you get some torque from the steel in the rotor, near the edges of the magnets, almost like an induction motor, and you get some torque from the buried magnets. To get the torque from both, you have to do a maximum torque per amp correction so that Id is negative (by some amount dictated by some hideously ugly formula based on several things including the "lambda" of the magnets, whatever that is). The correction isn't very hard to implement in the software though. Once you have the Id, then you can find how much of the rest of the current goes to Iq, based on the throttle command (you use the pythagorean theorem at that point to solve for Iq, since throttleCommand^2 = IdCommand^2 + IqCommand^2).

For a nonsalient motor (magnets on the surface) you have your throttle command, and you have to divvy it up between Id and Iq. Usually Id = 0, and Iq = throttleCommand. If you run out of voltage, and you don't like how fast the motor is spinning, you want to fight against the permanent magnets, you make Id negative, but then you waste some of the torque of the motor. But it's a tradeoff when you want the motor to spin faster (at the cost of lower torque).
__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
freebeard (05-26-2018), thingstodo (05-26-2018)
Old 05-27-2018, 08:09 PM   #3263 (permalink)
EcoModding Lurker
 
Join Date: Feb 2018
Location: Argentina
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
This idea for a hub motor was apparently good because could be adapted to any rear drum brake (plug & play) , but , again the permanent magnets and reluctance have ruined the development:
"hub motors with permanent magnets are not the best technical solution " :

Green Energy Management (GEM) Updates | Middle Tennessee State University
  Reply With Quote
Old 05-28-2018, 12:01 PM   #3264 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by pablitosax View Post
This idea for a hub motor was apparently good because could be adapted to any rear drum brake (plug & play) , but , again the permanent magnets and reluctance have ruined the development:
"hub motors with permanent magnets are not the best technical solution " :

Green Energy Management (GEM) Updates | Middle Tennessee State University
I have read about many hub motors in the past. The hub motors on bicycles and motorcycles seem to be solid. They have bearings on both sides of the hub and this appears to make a difference to reliability. That said, there are not many bicycles or motorcycles with 100,000 miles on them.

So far, all the hub motors that I have read about or seen videos on ... that are supported on one side only ... when you can get details about reliability at all ... seem to experience catastrophic failure before the first set of tires is worn out. Most of the prototypes just seem to disappear and no one wants to talk about them .. or even admit that there was a prototype at all?

The clearances on the motor do not appear to allow for much bearing wear. The wider the motor, the further the rotor is from the bearing. Plus, of course, there is no suspension on the wheel. When the rotating part meets the stationary part ... bad things happen

I'd love to be proven wrong on this one - it's such a practical idea to move the motors out of the vehicle and contain them within the wheels, get rid of the transmission, the extra weight ... there are just so many positives!
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 06-13-2018, 06:18 AM   #3265 (permalink)
EcoModding Lurker
 
Join Date: Jul 2011
Location: Slovenia
Posts: 70
Thanks: 0
Thanked 20 Times in 13 Posts
Quote:
Originally Posted by MPaulHolmes View Post
The PI ratio was just a variable that was there for when the "auto" PI test was running. It gave a starting point for how to check a bunch of values. So, if you had the PI ratio be 100, the "run-pi-test" would do:
Kp = 100
Ki =1

Kp = 200
Ki = 2
.....

but it doesn't come into play when you are independently setting Kp and Ki. So, let's say you did this:

pi-ratio 50
kp 1000
ki 10

the variable named "pi-ratio" would still be 50, even though now Kp / Ki = 100.

The rotor time constant can vary a lot from one motor to another. The motor will run horribly if you are way off. It will run OK if you are a little off, and it will run the best if it's perfect. The "run-rotor-test" only works on an unloaded motor. I"ve only ever tested it on a bench with no transmission. If a transmission is hooked up, you man need to change the default commanded Id and Iq in the rotor test function "RunRotorTest" from
IdRefRef = 300
IqRefRef = 300
To something bigger. Those numbers just worked OK for me on a bench with a unloaded motor at maybe 60v or whatever it was I was using for the test.

If you can't get the run-rotor-test to work, you can just try guesses from 5 up to 150 (5mS up to 150mS for the rotor time constant):

rotor-time-constant 5
rotor-time-constant 6
...
rotor-time-constant 150


and see what gives the best acceleration.

Arber, does your ABZ encoder have a single index pulse per mechanical revolution, or is it 4 per mechanical revolution? That's the only difference from motor type 2 to motor type 3. One possibility is your encoder doesn't like one of the settings below:

I would try changing "DFLTCONbits.IMV = 0b00;" to
"DFLTCONbits.IMV = 0b01;", or DFLTCONbits.IMV = 0b10;, or DFLTCONbits.IMV = 0b11;
Those are the possible required states of A and B, when the index pulse happens, and I don't know what state A and B are in when the index pulse happens on your encoder, so you would just have to try them all. This is why companies pick a specific motor and specific position sensor and just make a specific controller for it. Everybody has their own standards.
Sorry i totaly missed your post there....
You just explained everything to me! My encoder has chip generated signal obtained from rotated magnet. That means signal is basicaly generic encoder AB phase shift with single pulse per circle. All signals are square weaves and at least 90deg of square is overlapped by next signal. Z signal is 1/4 of AB signal period, so is quite short pulse at the rising edge of A and falling edge of B.

This was the reason that Leaf motor wasnt willing even to start turning in mode 3. It just shook there and i could hear amps straining until inverter block was overheating.
In mode 2 it was turning good, but if i used U higher than 200V everything started downhill....

A
Attached Thumbnails
Click image for larger version

Name:	ABZ.jpg
Views:	89
Size:	32.0 KB
ID:	24385  
  Reply With Quote
Old 06-21-2018, 05:57 PM   #3266 (permalink)
EcoModding Lurker
 
Join Date: Mar 2018
Location: Sacramento, CA
Posts: 17
Thanks: 9
Thanked 4 Times in 4 Posts
Sorry for the delay, you know how life can be

I was able to get some probes on my three current sensor (L31S200S05FS) outputs and take some basic captures while attempting to throttle up.

These are taken right at the J8, J11, and J14 terminals, which explains the dirty signal. I also quickly checked the spectral contents of one of these signals, and it looks like the (relatively) high frequency is primarily at ~10kHz. I'm not sure where this is coming from, as the ATTiny should be either 62.5kHz or 100kHz; I'll have to do another FFT, this time up to around 200kHz. I'll also verify (again) the output of the ATTiny to make sure it's not acting funky.

I'll follow up with some pics of my setup as well in case there's anything obvious that I'm missing. Here's a link to a short clip I took of myself attempting tho throttle up a few times: https://streamable.com/a6heg

I've got too much invested in this not to see it though to the end
Attached Thumbnails
Click image for larger version

Name:	1_A.png
Views:	92
Size:	101.5 KB
ID:	24437   Click image for larger version

Name:	1_B.png
Views:	65
Size:	108.2 KB
ID:	24438   Click image for larger version

Name:	1_C.png
Views:	63
Size:	118.5 KB
ID:	24439   Click image for larger version

Name:	2_A.png
Views:	49
Size:	80.0 KB
ID:	24440   Click image for larger version

Name:	2_B.png
Views:	44
Size:	82.1 KB
ID:	24441  

Click image for larger version

Name:	2_C.png
Views:	38
Size:	22.4 KB
ID:	24442   Click image for larger version

Name:	3_A.png
Views:	22
Size:	69.6 KB
ID:	24443   Click image for larger version

Name:	3_B.png
Views:	73
Size:	85.5 KB
ID:	24444   Click image for larger version

Name:	3_C.png
Views:	45
Size:	85.7 KB
ID:	24445   Click image for larger version

Name:	3_D.png
Views:	48
Size:	89.4 KB
ID:	24446  

Click image for larger version

Name:	4_A.png
Views:	41
Size:	70.6 KB
ID:	24447   Click image for larger version

Name:	4_B.png
Views:	15
Size:	73.3 KB
ID:	24448   Click image for larger version

Name:	5_A.png
Views:	18
Size:	79.1 KB
ID:	24449   Click image for larger version

Name:	5_B.png
Views:	36
Size:	84.2 KB
ID:	24450   Click image for larger version

Name:	5_C.png
Views:	15
Size:	67.0 KB
ID:	24451  

Click image for larger version

Name:	FFT_and_500HzLPF.jpg
Views:	53
Size:	90.9 KB
ID:	24452  
  Reply With Quote
Old 06-21-2018, 10:40 PM   #3267 (permalink)
EcoModding Lurker
 
Join Date: Mar 2018
Location: Sacramento, CA
Posts: 17
Thanks: 9
Thanked 4 Times in 4 Posts
Here are some pics of my setup. I'm not sure if the method I'm using for the motor phase connections is okay. From what I can tell, the EM57 has the inverter mounted directly above the motor with bars going down into it. This doesn't use cables, so I ordered and cut some copper bars myself.

Once things are more functional, I'll put together an enclosure and mount things which should let me shorten a lot of those wires. Maybe I'll consolidate them into a connector(s).

Paul's encoder-resolver board seems to be wired up and working properly. I believe I've verified this, due to seeing one mechanical revolution cause poscnt to go up to 512 four times
Attached Thumbnails
Click image for larger version

Name:	IMG_20180618_225222.jpg
Views:	136
Size:	40.5 KB
ID:	24470   Click image for larger version

Name:	IMG_20180618_225259.jpg
Views:	113
Size:	40.1 KB
ID:	24471   Click image for larger version

Name:	IMG_20180618_225311.jpg
Views:	152
Size:	109.6 KB
ID:	24472   Click image for larger version

Name:	IMG_20180618_225321.jpg
Views:	95
Size:	111.8 KB
ID:	24473   Click image for larger version

Name:	IMG_20180618_225613.jpg
Views:	96
Size:	51.6 KB
ID:	24474  

Click image for larger version

Name:	IMG_20180618_225623.jpg
Views:	131
Size:	84.4 KB
ID:	24475   Click image for larger version

Name:	IMG_20180618_225635.jpg
Views:	101
Size:	76.1 KB
ID:	24476   Click image for larger version

Name:	IMG_20180618_225645.jpg
Views:	118
Size:	45.3 KB
ID:	24477  
  Reply With Quote
Old 06-22-2018, 02:00 PM   #3268 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Have you checked that the 6 isolated supplies are all getting about 23.5v or whatever? Also, have you loaded the .hex file with the #define DEBUG uncommented? That's a good way to verify that the PWM signals from all 6 drivers are making it through to the other side. Make sure the current sensors are also facing the arrow pointing away from the IGBTs. I'll check your picture in a sec to check that if I can.
__________________
kits and boards
  Reply With Quote
Old 07-05-2018, 10:11 PM   #3269 (permalink)
Ale Madeo
 
ale0502's Avatar
 
Join Date: Jan 2016
Location: Bariloche Patagonia Argentina
Posts: 32
Thanks: 22
Thanked 7 Times in 5 Posts
pwm frecuency

Hi,
I understand that the pwm frecuency must be 10KHz, but on my board is about 3KHz.
My crystal is 8MHz.
What could be wrong?
Thanks
__________________
Los que dicen que es imposible, no deberían molestar a los que lo están intentando...
  Reply With Quote
Old 07-07-2018, 11:49 AM   #3270 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by ale0502 View Post
Hi,
I understand that the pwm frecuency must be 10KHz, but on my board is about 3KHz.
My crystal is 8MHz.
What could be wrong?
Thanks
The AC Controller had an upgrade a while ago that changed the PWM frequency from constant to a sort of 'white noise' signal that makes a 'SHHHH' sound. I think the frequency varies from 2 KHz to 10 KHz to do that. But I don't know what triggers the change in PWM frequency.

Why do you think that 3 Khz is wrong? Is it not working? The PWM frequency has some effect on efficiency and motor speed control ... but as far as moving your car it should make no difference at all.

Is the noise bothering you? Does it stay at 3 KHz while you drive?

And, is it connected to a motor and driving your car, or are you still testing and it is on your work bench?

__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
ale0502 (07-07-2018)
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 01:59 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com