05-08-2020, 08:08 PM
|
#3411 (permalink)
|
Master EcoModder
Join Date: Aug 2012
Location: northwest of normal
Posts: 28,492
Thanks: 8,059
Thanked 8,859 Times in 7,313 Posts
|
I'm no help, but I hope you get your answer. My best guess would be it needs a DC-DC up-converter to 120+ volts.
Here's a question I posed in another thread*:
Quote:
Do you know if the GS450h/LS600h uses the Interchange Part Number: 300-65002?
|
I've got one of these sitting on a bench.
* ecomodder.com/forum: Hot-rodding the Toyota MGR
__________________
.
.Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster
____________________
.
.Three conspiracy theorists walk into a bar --You can't say that is a coincidence.
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
05-08-2020, 08:16 PM
|
#3412 (permalink)
|
EcoModding Lurker
Join Date: May 2020
Location: UK
Posts: 5
Thanks: 0
Thanked 5 Times in 4 Posts
|
Thanks for the reply!
I've seen Damien (aka: jack bauer) run this motor on 40-odd volts, so voltage isn't the issue (feel free to prove me wrong!). Also, in test mode, the motor runs. So unless i'm missing someting, this must either be a tuning or setup issue.
Sorry, can't help with your question
|
|
|
The Following User Says Thank You to sparkey For This Useful Post:
|
|
05-08-2020, 10:20 PM
|
#3413 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
That looks great!! My goodness, I haven't looked at the code in quite a while. Could you type "config" and post that here?
Do you have max-regen-position < min-regen-position < min-throttle-position < max-throttle-position?
Here's a sample that would be good if your range of throttle was
0 throttle == 315
max throttle == 800
Try this:
max-regen-position 320
min-regen-position 400
min-throttle-position 450
max-throttle-position 800
Last edited by MPaulHolmes; 05-08-2020 at 10:28 PM..
|
|
|
The Following User Says Thank You to MPaulHolmes For This Useful Post:
|
|
05-08-2020, 10:32 PM
|
#3414 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
I'm getting super close to driving my Nissan Leaf around my yard with no mechanical brakes (only regen) and controlling it by the cell phone. Don't worry, it's a big yard. This is going to be fun!! It will be like in Back to the Future. A giant remote controlled car. Well, I don't have the steering hooked up to the phone, so I'll have to turn that myself. It's shocking how much stuff in there isn't needed. I took an angle grinder to the whole wiring system.
|
|
|
05-09-2020, 07:06 AM
|
#3415 (permalink)
|
EcoModding Lurker
Join Date: May 2020
Location: UK
Posts: 5
Thanks: 0
Thanked 5 Times in 4 Posts
|
Thanks for the reply! I've updated my throttle settings to what you suggested, but still no movement.
Here is my current config. I've put in comments to show where I got the values from where approproate
motor-type=4 // from the code...
kp=11284 ki=00182 // from a comment in the code for MGR motors at 48V
current-sensor-amps-per-volt=0320 // hass 200 current sensors
max-regen-position=0320
min-regen-position=0400
min-throttle-position=0450
max-throttle-position=0800
fault-throttle-position=0005
max-battery-amps=0015 amps
max-battery-amps-regen=0015 amps
max-motor-amps=025 amps
max-motor-amps-regen=025 amps
precharge-time=0050 tenths of a sec
angle-offset=167 // based on the angle-offset test
saliency=0000 // not sure what this is
pole-pairs=004 // from the motor's specificatoins
max-rpm=06000 rev/min
throttle-type=0
encoder-ticks=0256 ticks/rev // not sure what this should be for my current motor mode
pi-ratio=062
raw-throttle=0316
Below shows the stream of throlttle and poscnt, first when i'm pressing the throttle, then ween i'm turning the motor by hand. Notice how the position isn't between 0-511. This is my current focus of debugging, but I'm not sure what behavior should be given I'm using the motor-mode 4
rawThrottle,poscnt,
...pressing the throttle
0316,13209,
0316,13209,
0325,13208,
0422,13209,
0475,13208,
0535,13209,
0604,13208,
0681,13208,
0754,13208,
0796,13208,
0499,13208,
0316,13209,
...now turning the motor by hand
0316,13208,
0317,13209,
0317,13209,
0316,12083,
0315,11446,
0316,10662,
|
|
|
05-11-2020, 10:29 PM
|
#3416 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Could you try increasing the max motor amps? I can't tell what's happening from your comments, but 25amp may not be enough to get it rolling.
|
|
|
05-17-2020, 04:46 PM
|
#3417 (permalink)
|
EcoModding Lurker
Join Date: May 2020
Location: UK
Posts: 5
Thanks: 0
Thanked 5 Times in 4 Posts
|
Success!
After a number of days of trial and error, I discovered that the lack of throttle response was caused by the temperature not being sensed correctly. My thermistor or my wiring is buggered, so it was reading much higher than reality, causing the inverter logic to think that the plate was too hot, and hence stopping the throttle from responding.
I've got a new thermistor on order, but while that's waiting to arrive, I've just set the max temperature threshold to as high as I can, and presto! The motor spins like a dream!
Thanks so much for the quick responses, Paul. I really appreciate it.
|
|
|
The Following User Says Thank You to sparkey For This Useful Post:
|
|
05-27-2020, 05:47 PM
|
#3418 (permalink)
|
EcoModding Lurker
Join Date: May 2020
Location: UK
Posts: 5
Thanks: 0
Thanked 5 Times in 4 Posts
|
New Wiki
Paul,
Do you have any objection to me putting your assembly instructions and photos on a github wiki for future reference? The wiki is here:
github.com/knoxsp/AC-Controller/wiki
Currently it is just a compilation of all the instructions copy-pasted into a vague structure, but before I continue I'd like to make sure I'm not treading on any toes.
Once done, I propose to merge this into your own AC-Controller repository wiki, so it's available at the official location.
Also, are thesch and pcb files on github? I'm interested in redesigning the board so that it can be ordered from jlcpcb, which in theory it would mean it arrives with all surface mount components in place. Is there any interest in facilitating this?
|
|
|
The Following 2 Users Say Thank You to sparkey For This Useful Post:
|
|
05-29-2020, 01:58 AM
|
#3419 (permalink)
|
Master EcoModder
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488
Thanks: 746
Thanked 565 Times in 447 Posts
|
Quote:
Originally Posted by sparkey
Paul,
Do you have any objection to me putting your assembly instructions and photos on a github wiki for future reference? The wiki is here:
github.com/knoxsp/AC-Controller/wiki
|
I have a bunch of files for the AC controller that Paul sent me during my various tests. I have some files for the IGBT DC controller as well.
I can forward or upload somewhere if you like. It will take me a bit to collect stuff (I'm not exactly organized) ... but it would be great to get this collected and make it available to anyone interested!
I won't speak for Paul .. but in the past he has been enthusiastic about anyone who was setting up a repo.
Let me know!
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
|
|
|
05-29-2020, 03:23 PM
|
#3420 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Ya you can do that if you like! I have some documentation I could email you too.
Quick poll:
If you were going to re-use a nissan leaf motor controller, would you want to go to the extra possible expense of having the stock external 15 pin connector that goes with the motor controller, or would you prefer something like a waterproof cable gland with the 15 wires coming out of it (all shrink wrapped so that the cable gland could grip tightly around it, and then a 15 wire pigtail, with something like insulated quick disconnects? Or some other alternative?
|
|
|
|