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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 09-30-2015, 06:40 PM   #2121 (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 MPaulHolmes View Post
Hey! We could have a contest to see which spins the motor post faster. The one that spins it the fastest is making better use of the fixed Id and Iq!

First, we need to determine your motor's stator and rotor inductance, and a stator coil resistance. In my case, it works fine to just use the same rotor inductance as stator inductance. To figure out the stator inductance, we have to run a test and measure the offset of 2 waveforms. I'll set it up, and make sure it's working on my end before sending it over to you so you don't get stuck with a crappy hex file.
Looking forward to it! Once the sensorless code is spinning the motor, I've GOT to get some video posted!

  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (09-30-2015)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 09-30-2015, 06:42 PM   #2122 (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 MPaulHolmes View Post
I'll get a hex file to you, and you can try out the sensorless code. although, I haven't actually used the sensorless to drive the motor yet. I was just trying to verify that I could obtain the rotor flux angle from the back emf angle somehow. It looks like you just subtract off like 20% of a period, but I think I remember someone saying that it's actually 90 degrees offset, so maybe my sensored rotor flux angle is off by a few %?
Is it time for me to couple the DC motor to the AC motor again?

I have a hand-held tachometer to check rpm, and you know what rpm the motor is turning .. so we should not overspeed the DC motor .. right?

Last edited by thingstodo; 09-30-2015 at 10:28 PM.. Reason: Correct Quote parentheses
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (09-30-2015)
Old 09-30-2015, 06:54 PM   #2123 (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
I'll set the RPM limit to 4000 like you were saying so you don't have to worry about the DC motor. We have a nonfunctioning encoder right? I'll make sure it can start up without using the encoder. If it can't we'll have to start up with some other way and once it gets to the blazing speed of 1.5 Hz we can switch over haha.
__________________
kits and boards
  Reply With Quote
Old 09-30-2015, 08:54 PM   #2124 (permalink)
Permanent Apprentice
 
Join Date: Jul 2010
Location: norcal oosae
Posts: 523
Thanks: 351
Thanked 314 Times in 215 Posts
Quote:
Originally Posted by MPaulHolmes View Post
I'll set the RPM limit to 4000 like you were saying so you don't have to worry about the DC motor. We have a nonfunctioning encoder right? I'll make sure it can start up without using the encoder. If it can't we'll have to start up with some other way and once it gets to the blazing speed of 1.5 Hz we can switch over haha.
LOL! When I made my first machine shop, in a garage w/ a friend, we had a phase converter that we "kick started."
  Reply With Quote
The Following User Says Thank You to e*clipse For This Useful Post:
MPaulHolmes (09-30-2015)
Old 10-01-2015, 12:23 AM   #2125 (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 MPaulHolmes View Post
I'll set the RPM limit to 4000 like you were saying so you don't have to worry about the DC motor. We have a nonfunctioning encoder right? I'll make sure it can start up without using the encoder. If it can't we'll have to start up with some other way and once it gets to the blazing speed of 1.5 Hz we can switch over haha.
I will work on getting the DC and AC motors coupled, aligned, etc.

If you need an encoder signal, I can use the 64 ppm encoder built into the AC motor.

And if that doesn't work, I'll boost the AC motor with the DC motor. The DC motor turns at about 300 rpm when connected to a 12V car battery.
  Reply With Quote
The Following 2 Users Say Thank You to thingstodo For This Useful Post:
e*clipse (10-01-2015), MPaulHolmes (10-01-2015)
Old 10-04-2015, 05:32 PM   #2126 (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
I had to abandon a particular approach for the sensorless, and now have a new way that is more direct, and eliminates the need for information about the rotor inductance and mutual inductance. The other way would work as long as the rotor flux angle was being set with the sensored code, but wouldn't work for very long when it would switch over to sensorless. I hope this approach works. It is much simpler, and I think it will work, and will be easy to tweak if necessary. I probably wont be able to test it today since my son has a fever and I'm getting him a regular supply of pedialytes. Once it's working I'll send over a hex file. One neat thing about it is the super fast __arctan() that I made. TI said this approach was not good since the arctan takes so long to compute. haha
__________________
kits and boards
  Reply With Quote
The Following 3 Users Say Thank You to MPaulHolmes For This Useful Post:
e*clipse (10-04-2015), mpgmike (02-16-2022), thingstodo (10-04-2015)
Old 10-04-2015, 08:59 PM   #2127 (permalink)
Modding for Eris
 
Thalass's Avatar
 
Join Date: Dec 2007
Location: North Bay, Ontario, Canada
Posts: 129

SilverCivic - '08 Honda Civic
90 day: 28.69 mpg (US)
Thanks: 39
Thanked 11 Times in 8 Posts
I hope your boy gets well soon!
__________________
Making do with a Honda Civic. Tesla Model 3 reserved. Still kinda want an SVX for fun, though.

  Reply With Quote
The Following User Says Thank You to Thalass For This Useful Post:
MPaulHolmes (10-04-2015)
Old 10-04-2015, 10:51 PM   #2128 (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
Thanks! Me too. Liquid tylenol is only helping a tiny bit. It just came out of nowhere. We went to the park yesterday, and there were a ton of fish in a lake, so we were feeding them to draw them to the surface, then I reached in really fast and scooped out 2 of them, but they all had back spikes, and it stabbed my hand and it was bleeding, but at least we got some extra protein for our chickens. haha. Oh all of that to say that I don't know why he's sick. haha
__________________
kits and boards
  Reply With Quote
Old 10-04-2015, 11:42 PM   #2129 (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 MPaulHolmes View Post
I had to abandon a particular approach for the sensorless, and now have a new way that is more direct, and eliminates the need for information about the rotor inductance and mutual inductance. The other way would work as long as the rotor flux angle was being set with the sensored code, but wouldn't work for very long when it would switch over to sensorless. I hope this approach works. It is much simpler, and I think it will work, and will be easy to tweak if necessary. I probably wont be able to test it today since my son has a fever and I'm getting him a regular supply of pedialytes. Once it's working I'll send over a hex file. One neat thing about it is the super fast __arctan() that I made. TI said this approach was not good since the arctan takes so long to compute. haha
Sorry to hear about your son ..

So you can figure out what voltage and what angle to use ... WITHOUT knowing rotor inductance or mutual inductance ...

And the method uses arctan ...

OK - where can I read about THIS method?

As for the new HEX file, I won't be set up for testing until I get the AC and DC motors mounted on a solid base. I got NOTHING done this weekend.
  Reply With Quote
Old 10-05-2015, 12:39 AM   #2130 (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
Make Field-oriented Motor Control Affordable | EE Times

__________________
kits and boards
  Reply With Quote
The Following 4 Users Say Thank You to MPaulHolmes For This Useful Post:
danibjor (10-05-2015), e*clipse (10-05-2015), mpgmike (02-16-2022), thingstodo (10-05-2015)
Reply  Post New Thread




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