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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-16-2015, 11:37 PM   #1801 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Quote:
Originally Posted by thingstodo View Post
What would you suggest as a 'foot off the pedal' value for the accelerator?

I think Paul said the range was 0.5 - 4.5V ... so maybe 0.6V? I'll try that and see if anything changes.
I tried 0.50V, power up, run, config, didn't bother to change the Kp and Ki and did run-pi-test. It never comes back

I tried 0.60V.

I tried 2.50V,

And that's it for tonight.

Lastly, I checked the 3 phase motor to make sure that it was still connected correctly to the controller. It is.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-16-2015, 11:40 PM   #1802 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Zero is actually about 2.5v, since the throttle was configured as a wig wag. But I don't know what the state of the code is on the instructable. It may still be filler that I was going to get to.
Um .. I should have remembered that ...

And if I didn't remember it, I should have looked in the code.

I'm not using the code from the instructable, I'm still running the code that you/we loaded at your place. But I can't build it
  Reply With Quote
Old 04-16-2015, 11:54 PM   #1803 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 210 Times in 150 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Zero is actually about 2.5v, since the throttle was configured as a wig wag. But I don't know what the state of the code is on the instructable. It may still be filler that I was going to get to.
Not sure about the instructables code but the code i have has :
while (ADThrottle < savedValues.minRegenPosition || ADThrottle > savedValues.minThrottlePosition)

I remembered the minThrottlePosition but forgot about the minRegenPosition.
For testing i can see that wig wag type setup would work well.
For in vehicle use though holding the throttle at that mid point (2.5v) may be tricky.

I have been meaning to ask for a while about how the regen behaves.
When the throttle is in the regen zone if the car is rolling then the regen slows the motor and charges the battery.
But what if the car is stationary. If the throttle is in the regen zone then does it do nothing? Or will it cause a reversal of the motor direction?
  Reply With Quote
Old 04-18-2015, 01:55 PM   #1804 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Quote:
Originally Posted by Astro View Post
I have been meaning to ask for a while about how the regen behaves.
When the throttle is in the regen zone if the car is rolling then the regen slows the motor and charges the battery.
But what if the car is stationary. If the throttle is in the regen zone then does it do nothing? Or will it cause a reversal of the motor direction?
I do not have code snippets to back this up, but watching the video that Paul posted implies that the absolute value of the speed reduces. The regen will not reverse the direction.

Full regen at zero speed should do nothing.
  Reply With Quote
Old 04-18-2015, 01:59 PM   #1805 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Paul - I'm going to work on the larger motor (siemens AC motor) coupled to the warp9 with the built-in encoder on the AC motor. Let me know when you get the new combined code tested - hopefully on MPlab X - so I can do a built and use debug to see what is holding me out from continuing my testing.

Did you get a BOM written up for the new DC board? I can get parts ordered and start playing with that between working on the AC controller testing.
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (04-19-2015)
Old 04-19-2015, 01:09 AM   #1806 (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,119 Times in 734 Posts
OK, I'll install mplab x tomorrow. Which new DC board? Do you mean the driver boards?

At the moment, the throttle is configured so that the middle is zero throttle, and twisting the throttle one way makes the motor spin clockwise, and then twisting the throttle the other way makes the motor spin the other way. If the motor is spinning in any particular direction, and you twist the throttle to fight against the direction it wants to spin, it goes into regen mode. I need to add a couple lines of code so that you don't come to a stop at a stop light, and start driving backwards. haha.
__________________
kits and boards
  Reply With Quote
Old 04-19-2015, 09:45 AM   #1807 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Quote:
Originally Posted by MPaulHolmes View Post
OK, I'll install mplab x tomorrow. Which new DC board? Do you mean the driver boards?
If you have the time to install MPlab X, that would be great. If you check out your code on the older MPlab, I'll muddle around trying to get it to compile on MPlab X

I guess I meant the BOM for the driver boards. I think of them as a 'DC' board because that's what I was going to test them on first
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (04-19-2015)
Old 04-19-2015, 09:27 PM   #1808 (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,119 Times in 734 Posts
242 Meg out of 369Meg so far on MPLab X. Hopefully the install goes smoothly.

edit: Now installing compiler... I'm bored, so I figure I'd type here...20% done.. haha
__________________
kits and boards

Last edited by MPaulHolmes; 04-19-2015 at 09:34 PM..
  Reply With Quote
Old 04-19-2015, 09:59 PM   #1809 (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,119 Times in 734 Posts
The "combined PI Loop tuning & AC controller code" compiled when I installed mplab X and the XC16 compiler. I didn't have to make any changes.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
P-hack (04-19-2015)
Old 04-19-2015, 11:36 PM   #1810 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,478

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 745
Thanked 543 Times in 438 Posts
Quote:
Originally Posted by MPaulHolmes View Post
The "combined PI Loop tuning & AC controller code" compiled when I installed mplab X and the XC16 compiler. I didn't have to make any changes.
Great! Where can I grab a copy?

  Reply With Quote
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 7350 07-28-2021 05:32 AM
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 - 2021, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com