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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 01-05-2019, 10:06 AM   #3291 (permalink)
Ale Madeo
 
ale0502's Avatar
 
Join Date: Jan 2016
Location: Bariloche Patagonia Argentina
Posts: 32
Thanks: 22
Thanked 7 Times in 5 Posts
Question run-rotor-test

Hi!
I need help with the run-pi-test and run-rotor-test commands.
I have my controller, batteries and motor connected. When I send run-pi-test or run-rotor-test nothing happend, never tell me nothing on terminal, the motor doesnt spin.

Hopefull for someone can help me
thanks!

__________________
Los que dicen que es imposible, no deberían molestar a los que lo están intentando...
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 01-05-2019, 06:31 PM   #3292 (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: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by ale0502 View Post
Hi!
I need help with the run-pi-test and run-rotor-test commands.
I have my controller, batteries and motor connected. When I send run-pi-test or run-rotor-test nothing happend, never tell me nothing on terminal, the motor doesnt spin.

Hopefull for someone can help me
thanks!
The rotor-test does not spin the motor. It sends some pulses into the motor and measures the voltage and current. I think Paul calculates the inductance, reactance, and resistance values he needs for his torque formulas using the rotor-test

If I remember, you need to have a throttle connected for that test to run properly. The throttle signal does not need to be moving, but the signal needs to be in range so that the test will run.

You can log the raw throttle value with this

stream-time 1
stream-raw-throttle 1
stream-throttle 1
data-stream-period 1000

If your raw throttle is above your fault-throttle-position value I think you are OK.

I think the throttle needs to be there for run-rotor-test as well.

Run-rotor-test did not work well for me. My motor is large enough, and the signals were noisy enough, that the system never 'converged'. The idea is to try a bunch of values for KP and KI and use the values that give you the fastest response of the motor without having the motor current go OVER the commanded current.

You can try run-pi-test, but if it does not work try set KP and KI then run-pi-test2 and it will print out a string of numbers. If it gets down to 0 within about 10 lines and does not go below 0, those numbers for Kp and Ki will work OK. It's not an exact science. And the number change with the pack voltage. So if you have numbers that work OK for a 48V pack they will not be very fast for 144V pack, even with everything else the same.

This is my config for my siemens AC motor
Code:
config
p=04000 i=00064
current-sensor-amps-per-volt=0480
max-regen-position=0025
min-regen-position=0400
min-throttle-position=0624
max-throttle-position=0972
fault-throttle-position=0005
max-battery-amps=0400 amps
max-battery-amps-regen=0400 amps
max-motor-amps=400 amps
max-motor-amps-regen=400 amps
precharge-time=0050 tenths of a sec
rotor-time-constant=018 ms
pole-pairs=002
max-rpm=06000 rev/min
throttle-type=0
encoder-ticks=1000 ticks/rev
stator-resistance=01024 mOhm
stator-inductance=00030 mHenry
rotor-inductance=00030 mHenry
pack-voltage=124 volts
pi-ratio=062
raw-throttle=0000
I think Paul starts out with

P=2500
I=100

Or something like that. He sets P and divides by 25 ... or was it 40? ... to get I

Hope this ... sort of meandering description .. helped a bit. That's all I can remember for problems so far. Let us know when you've confirmed the throttle is OK and we'll see if we can help from there. My poor memory is often triggered by descriptions of things that I know I saw ... but can't remember until someone mentions it!
__________________
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 (01-05-2019)
Old 01-05-2019, 07:03 PM   #3293 (permalink)
Ale Madeo
 
ale0502's Avatar
 
Join Date: Jan 2016
Location: Bariloche Patagonia Argentina
Posts: 32
Thanks: 22
Thanked 7 Times in 5 Posts
Question

Hi, thanks for your reply!

My throttle is ok, I have a potentiometer connected and can move the values between 140 to 700.
I can see I have a different code of you. I dont have "stator-resistance", "stator-inductance" and "rotor-inductance" on my config, where can I get that code? I am running version of github:
https://github.com/MPaulHolmes/AC-Controller

thanks a lot
__________________
Los que dicen que es imposible, no deberían molestar a los que lo están intentando...
  Reply With Quote
Old 01-05-2019, 08:45 PM   #3294 (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: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by ale0502 View Post
Hi, thanks for your reply!

My throttle is ok, I have a potentiometer connected and can move the values between 140 to 700.
I can see I have a different code of you. I dont have "stator-resistance", "stator-inductance" and "rotor-inductance" on my config, where can I get that code? I am running version of github:
https://github.com/MPaulHolmes/AC-Controller

thanks a lot
Your code is at least 2 years newer than mine. There are likely a bunch of reasons to keep running the newer code.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 01-11-2019, 01:54 AM   #3295 (permalink)
EcoModding Lurker
 
Join Date: Apr 2018
Location: UK
Posts: 7
Thanks: 0
Thanked 3 Times in 1 Post
I am assembling the AC controller, can anyone just confirm that connection PIN 1 (Vref (IN/OUT) on the current sensor ( HASS 200-S) is NOT used:

does it matter on the thickness of the cable ( I have some 3core 0.2mm signal wire I can use)

Thanks
  Reply With Quote
Old 01-13-2019, 11:25 AM   #3296 (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: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by 02BMW02 View Post
I am assembling the AC controller, can anyone just confirm that connection PIN 1 (Vref (IN/OUT) on the current sensor ( HASS 200-S) is NOT used:

does it matter on the thickness of the cable ( I have some 3core 0.2mm signal wire I can use)

Thanks
The polarized connector has 4 pins, and only 3 of them are used. With the tab at the top, and me facing the current sensor, it is the one on the right that is not used. I can't read the sensor when it is mounted ... but it's likely pin 1.

You are correct that the size (gauge) of the cable is not an issue. Voltage signal only, no current flow. As long as you can crimp the female connector pins onto your wire you should be good.

Sorry it took so long for me to notice that you posted. I must have acknowledged the ecomodder 'new message' notification and not had time to investigate right away.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 01-13-2019, 01:26 PM   #3297 (permalink)
EcoModding Lurker
 
Join Date: Apr 2018
Location: UK
Posts: 7
Thanks: 0
Thanked 3 Times in 1 Post
Many Thanks thingstodo,

I so hope this controller works for me, Ive had a run of back luck with controllers, have gone through two can bus controllers and Pauls drop in leaf board controller nothing worked, Paul has told me that there must a fault on the leaf main circuit board.

Ironically the board that I'm building was the first board I bought from Paul.

What version board to you have ? I have Ver 0.4

What setup are you running any pictures ?

I know you build your system a while ago.

I don't understand how to connect J43 & J44 "high voltage DC monitoring", do I need to wire resistors in series here ? eventually I will be using a Leaf pack 360V
  Reply With Quote
Old 01-14-2019, 01:25 PM   #3298 (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: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by 02BMW02 View Post
What version board to you have ? I have Ver 0.4
Where do I look for the version on the board? I'm running one of the very early versions.

I bought a couple of control boards to do 'brain transplants' into older industrial controllers as well ... but they are just the control boards and have not been installed as yet. Too many projects! Or .. maybe not enough spare time?

Quote:
What setup are you running any pictures ?
I killed the controller .. or at least the IGBTs .. by connecting the battery up backwards and Paul believes that the built-in diodes on the IGBTs just melted. I have not gotten back to the project ... I have a SEVCON controller mostly working in my Polaris Ranger EV. But it needs other TLC ... and I'm slow
Quote:
I know you build your system a while ago.

I don't understand how to connect J43 & J44 "high voltage DC monitoring", do I need to wire resistors in series here ? eventually I will be using a Leaf pack 360V
I don't have J43 and J4, that I can see. The only controller that I have dealt with that monitors the high voltage pack is the Netgain Industrial controller. It has one connection on the pack side (+) and one connection on the negative side of the pre-charge resistor so that it knows when it is safe to close the main contactor. That way, you don't really have to configure the controller for a particular voltage ... it's just looking for the voltage across the resistor to be low and not changing fast before it closes the main contactor and opens the pre-charge contactor.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 01-16-2019, 01:45 PM   #3299 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Would anyone have the designspark files for V0.4? Thanks.
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Old 01-17-2019, 08:58 AM   #3300 (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: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by jackbauer View Post
Would anyone have the designspark files for V0.4? Thanks.
Paul sent me a zip file (kind of like 'off site backups') a while ago. I honestly have not even opened it to see what is inside.

I'll check tonight.

__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
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