View Single Post
Old 08-28-2015, 12:54 AM   #1899 (permalink)
thingstodo
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 thingstodo View Post
I can't get any lower than 1 ... and there is still some MEAN overshoot ... so how bad does using decimals mess up your code, Paul?
Umm ... dumb question ...

Can you test for a larger (much larger) current instead of the target 20 amps (I think that's what you said the target was)?

Like .. maybe .. 200 amps? Or 2000 amps? That's sorta like having on decimal place (200) or 2 decimal places (2000) on Kp and Ki, right?

The motor is rated for 400 amps continuous, so pushing 200 amps is no problem. 2000 may be a bit more of a challenge, depending on how much energy is stored in that big ring-cap .. instead of messing with your math code.

Let me know!
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (08-28-2015)