Page 1 of 4

Ford Ranger Inverter board Support Thread

Posted: Thu Jul 11, 2019 1:25 pm
by joromy
Welcome to the ford Ranger inverter board support.

Will update this first post with relevant information.
Please read all post in the Ranger section, before click "buy now"
There is also lots of general info about the openinverter in the rest of the forum and Wiki

Files listed at end of this post.
Link to shop:
https://openinverter.org/shop/index.php ... duct_id=59


This is the first rev. Note that you have to reuse old connectors!!
First_rev_board.jpg
Out with the old, in with the new :)
new_and_old.jpg
Schematic:
joromy_tim_w_GND_fill_15b - Schematic.pdf
(245.97 KiB) Downloaded 508 times

Diagram of TIM connectors:
TIM_connections_ver1.pdf
(252.37 KiB) Downloaded 289 times

Complete diagram with Simp BMS, inverter, Tesla charger, battery, IAA and more.... updated 11-May-20:
Ranger_setup_new_8 - Schematic.pdf
(153.89 KiB) Downloaded 248 times

Parameter setting:
Will change this, if I find better settings, stay tuned.
viewtopic.php?f=16&t=186&p=16373#p16373

Re: Ford Ranger Inverter board Support Thread

Posted: Thu Jul 11, 2019 5:02 pm
by johu
Very nice design! And again a nice size and BOM cut :)

Just a note in general: when using the openinverter design put my name (Johannes Huebner) and "openinverter.org" on there. And don't forget your own name 8-)

Re: Ford Ranger Inverter board Support Thread

Posted: Thu Jul 11, 2019 7:13 pm
by joromy
Yes will do that, this is only first prototype. Have only made 5.
We are five people testing this out now.
I'm currently out of stock.
So I will order more boards very soon.
I guess there will be enormous demand for this fantastic product :o

Re: Ford Ranger Inverter board Support Thread

Posted: Thu Jul 11, 2019 7:27 pm
by joromy
Here is schematic of the board ver. 15a

Files moved to first post!!!!!

Re: Ford Ranger Inverter board Support Thread

Posted: Sun Jul 14, 2019 7:55 am
by johu
Wow, nicely drawn!
Could you use one of the existing temp sensors in software?

Re: Ford Ranger Inverter board Support Thread

Posted: Sun Jul 14, 2019 12:13 pm
by joromy
Thank you, I'm a little old school, and like to have everything in one drawing......

The motor temp sensor is KTY84, it's about 5C to high. Don't know why. But the temp sensors on the Ford (Siemens) motor often read to high temp. But the Ranger EV is 20 years now.

The temp sensor in the inverter must be changed, to the type you use. BTW what type is that, it is sealed and has a ring terminal. And does it have polarity, I see one lead has a fade orange color?
EDIT: It does not have polarity, its an NTC!

I will need to order some of them.

The only change is the PWM out, that goes to servo steering and speedometer. I dont know if this is a feature that is kept in newer versions?

Still using the version you made with speed PWM.

Re: Ford Ranger Inverter board Support Thread

Posted: Fri Jul 19, 2019 10:02 pm
by joromy
For next boards sent out, the temperature sensor is included!
You must remove old temperature sensors, use the two wires to solder on the new temperature sensor:
Temp_sens_mod.jpg
New sensor mounted:
Temp_sens_mod_2.jpg

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Jul 23, 2019 8:13 pm
by johu
The part number of the sensor is NTCALUG02A103G

Re: Ford Ranger Inverter board Support Thread

Posted: Fri Aug 09, 2019 4:47 pm
by joromy
Mounting the new inverter brain board.
You must remove the cable clamp and mount it again.
IMG_20190724_140307_7.jpg

Nice!!!
IMG_20190724_142055_7.jpg

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Sep 17, 2019 8:31 am
by joromy
:D :D :D
I now have boards and all parts.
Will start assembling and send packages, this week.

First orders in is first out!

Buy now link:
https://openinverter.org/shop/index.php ... duct_id=59

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Sep 17, 2019 10:51 am
by johu
Wow, that looks really slick :) Are those inverters out there in larger quantities?

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Sep 17, 2019 2:40 pm
by joromy
There are probably more inverters than there is trucks, but don't know.
The Yahoo ranger group did just buy a lot of 25 Ranger EV's, and spare parts.
The Yahoo Ranger folks are really nice people, until you use Ranger EV parts, for other cars :)

Re: Ford Ranger Inverter board Support Thread

Posted: Fri Sep 20, 2019 12:49 pm
by joromy
Reuse of the TIM connector
This is one of the most challenging task, with building the inverter.


Re: Ford Ranger Inverter board Support Thread

Posted: Tue Sep 24, 2019 7:13 am
by joromy
This is the config I use for testing the motor in "free wheel" mode.
If you have it on the bench you may have to lower the Boost setting, so it don't jump.

Remember that inverter PWM polarity must be neg. on the Ranger inverter!!!!
"Actual" is the column that' is relevant for Ranger!

It's a very good idea to use a powersupply with first test, at about 50-100V and low amp (<10A), the you avoid blowing something up :(
Don't run the motor/inveter very long (30sec max) if the water cooling is off, and follow the inverter temp closely!

Try to understand what the different parameters mean, I know it could be difficult if you haven't worked with motors of this kind. But you will benefit from it in the long run.
It's much easier to "play" with the settings when you have free wheels, then on the road.

Re: Ford Ranger Inverter board Support Thread

Posted: Mon Sep 30, 2019 3:57 pm
by joromy
Mod J1850 bus to CAN bus.
Cut the J1850 wires, connector C136 (big 40 pin just over the parking brake pedal)
and connect to OBD and CAN bus display.
If you cut it here you can access/diagnose IAA module from the OBD (DLC) port and from your new BMS.
J1850_CAN_mod2.jpg
Ranger_J1850_CAN_MOD.JPG
OBD2-Connector-Pinout.png

Re: Ford Ranger Inverter board Support Thread

Posted: Mon Sep 30, 2019 5:59 pm
by joromy
Mod to the accelerator.
The new TIM only use one pot for the accelerator.
This way you can use the other wires for the new functions, no need to route new wires.
These wires go directly from TIM to C2995 and are easily accessed.
Mod_C2995_2.jpg
Edit: "Power limit to BMS" is actually "Power limit from the BMS", to set the inverter in low amp draw/regen.
Mod_C2995.JPG

Re: Ford Ranger Inverter board Support Thread

Posted: Wed Oct 09, 2019 2:00 am
by joromy
riii wrote: Wed Oct 09, 2019 1:36 am You beat me to the punch! Sorry, what pins should the wifi interface plug into?
Using wifi interface:

pin 4 and 14
pin 13 and 23 is 3.3V GND
I guess you are testing it on the bench, or have you mounted it inside the TIM?

When mounted in the truck, the wifi is plugged into the "SIADIS" connector (was used for diagnostic/programming on the original TIM)
Will take a picture of the "SIADIS" plug

Re: Ford Ranger Inverter board Support Thread

Posted: Wed Oct 09, 2019 5:09 pm
by joromy
Connecting the olimex wifi module.
Connector C409 has a dummy plug, use a plug salvaged from the battery box, and connect like this:
Save the dummy plug, for water protection.
SIADIS_connector.JPG
Connector C409 is placed on cable coming from the TIM connector C4998
SIADIS_2.JPG

Re: Ford Ranger Inverter board Support Thread

Posted: Wed Oct 09, 2019 6:05 pm
by joromy
riii wrote: Wed Oct 09, 2019 1:13 am Looks like you're using the wifi interface on the browser. I bought an Olimex MOD-wifi-ESP8266, and that might be easier to use. Which pins on the board should that pug into? Does the wifi interface need tot be configured before hand?
If you got it from the openiverter shop, it's already programmed.

If not you must do like this:
viewtopic.php?f=5&t=8

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Jan 21, 2020 6:24 pm
by ajbessinger
Very useful thread. I've been thinking about getting one of these boards for my ranger project (a 2000 with less than 7000 original miles). I haven't yet decided what direction I want to go pack wise, but I've been looking at an i3 pack that i can get for a pretty good deal. I'm wondering what the max pack voltage that anyone has run in a Ranger with this board?
I know that when "spoofing" to original BCM that the pack voltage pretty much has to be kept below 370v (about 90s)to keep the truck working reliably. But with the BCM removed could I run a 96s (390-400v) pack without running into issues? Or some the components not set up to take that kind of voltage?

Re: Ford Ranger Inverter board Support Thread

Posted: Tue Jan 21, 2020 8:42 pm
by joromy
ajbessinger wrote: Tue Jan 21, 2020 6:24 pm But with the BCM removed could I run a 96s (390-400v) pack without running into issues? Or some the components not set up to take that kind of voltage?
Hi, and welcome!!
According to Siemens specs (Ballard) it can handle up to 385V.
The IGBT's are 600V and the capasitors are 450V
The voltage sensor will be able to read 400V or more.
Siemens_inv_mot.JPG
Tom has made my favorite BMS for Tesla battery, looks like it will be available for i3 pack:

viewtopic.php?f=13&t=131&p=5578#p5578

Re: Ford Ranger Inverter board Support Thread

Posted: Wed Jan 22, 2020 5:52 pm
by ajbessinger
joromy wrote: Tue Jan 21, 2020 8:42 pm
ajbessinger wrote: Tue Jan 21, 2020 6:24 pm But with the BCM removed could I run a 96s (390-400v) pack without running into issues? Or some the components not set up to take that kind of voltage?
Hi, and welcome!!
According to Siemens specs (Ballard) it can handle up to 385V.
The IGBT's are 600V and the capasitors are 450V
The voltage sensor will be able to read 400V or more.

Siemens_inv_mot.JPG

Tom has made my favorite BMS for Tesla battery, looks like it will be available for i3 pack:

viewtopic.php?f=13&t=131&p=5578#p5578
That's some very useful info! So in that case, theoretically it looks like the max number of cells in series I would want to go if charging to full (4.15-4.2v) would be 92s. But I suppose that by only charging to 4.0v per cell then 96s would work.

Re: Ford Ranger Inverter board Support Thread

Posted: Wed Jan 22, 2020 6:47 pm
by joromy
ajbessinger wrote: Wed Jan 22, 2020 5:52 pm That's some very useful info! So in that case, theoretically it looks like the max number of cells in series I would want to go if charging to full (4.15-4.2v) would be 92s. But I suppose that by only charging to 4.0v per cell then 96s would work.
It's good practice to have some slack up to 100% SOC. But that depends on what range you want as "daily drive"
I have "daily drive" set to 80% SOC, and "extended range" set to 95% SOC (about 4.1V)

The Ranger is rather power hungry, about 200-250W/h kM
Compared to a Bolt 120-200W/h kM

Then it should be easy to find the range of your new pack.

Re: Ford Ranger Inverter board Support Thread

Posted: Sat Feb 15, 2020 9:37 pm
by riii
Hi Johannes,

Do you have an interest in chatting with us tmrw (today) preferably facetime? We have your board installed on two different trucks and are attempting to spin the motor using an external power supply 300v current limited at 1.5a. We have the new thermister installed and the 4.7k resisters installed and followed all your suggested parameter configurations. We are curious though about what is meant the following direction:
Cut one wire going to the gear shift switch, use for 5V to the oil pressure sensor.

We are getting a HW over current error after ignition is started and the brake is released.

Do we actually need more amperage? Any other suggestions?

Thanks kindly,

Re: Ford Ranger Inverter board Support Thread

Posted: Sat Feb 15, 2020 9:38 pm
by riii
Hi Johannes,

Just wanted to add some details about our setup and the problem we're having:
- We've modified the ranger's contact box and verified that the TIM can control all the relays properly. Our power supply is connected to the contactor box and we've tried up to 300V limited at up to 1.5A. The TIM is able to successfully precharge. If we switch ignition to "start", the TIM will go into the "RUN" opmode and close the main DC contactor.
- With the brake depressed, we can shift into drive and see that the inverter begins switching and delivering some current to the motor. This was visible in the web interface and we verified using current meters on an oscilloscope (the 8.8kHz switching frequency was visible).
- As soon as we let go of the brake, the TIM will error out and open the DC contactors. The error is hardware overcurrent. Oscilloscope shows that switching stops suddenly, with no spikes in motor AC current or DC current to inverter.
- Both trucks are experiencing the same issue.

TIM telemetry notes (web interface screenshots attached):
- DC voltage measurement is working.
- Motor speed sensor is working.
- pot measures accelerator pedal correctly (ranges from ~830 at minimum to ~3600 at maximum).
- pot2 measures brake pressure correctly. Your documentation specifies pot2min and pot2max to both be 4095. Should we change this to reflect the actual min and max values?
- "dir" indicator reflects gear selector position accurately (NEUTRAL, FWD, or REV).
- tmphs reads inverter temperature correctly.
- "tmpm" reads motor temperature correctly.
- "din_brake" is 1 when brake is depressed, 0 if not
- "dout_prec" and "dout_dcsw" always seem to show 0 even though the contactors are being controlled correctly.

Additionally the motor oil pump doesn't seem to be running. As I understand, the oil pump relay is controlled by the same signal that controls the main contactor, which is working. Is there a harness or other modification we need to make for the oil pump to run?

Thanks,
-Johnny