VT - VZ PCM Simulator

Ecu Hardware Modifications
User avatar
pman92
Posts: 577
Joined: Thu May 03, 2012 10:50 pm
Location: Castlemaine, Vic
Contact:

VT - VZ PCM Simulator

Post by pman92 »

I've been working on a bit of a spin-off of my ALDL/BCM simulator (viewtopic.php?t=6192).
This is designed to simulate VT-VY PCM data. The ALDL simulator already includes a mode to do that, but the data it can include is limited (basically only does warning lights).
PCM_sim_prototype.png
PCM_sim_prototype.png (490.78 KiB) Viewed 7368 times
It's intended to replace/simulate the PCM, as far as keeping the rest of the car working normally.
Think of it as a PIM (powertrain interface module), except instead of translating data from another network (CAN / VPW), it translates from discrete physical inputs/outputs.
This came about after someone requested something to do this. They have a VY and have replaced the PCM with a haltech, but want to keep the rest of the vehicle like factory.

This module (so far) does:
- VATS output (if you want to somehow prevent the car running if a valid key isn't inserted)
- MIL, OIL, power lamps
- Low speed fan request input (to send to BCM)
- AC Request output (to retain factory AC dash switch)
- Coolant temperature input
- Gear / selector position input

The big one that was requested is the coolant input. The factory cluster gets coolant temperature over ALDL, so without it you would need to use an aftermarket temperature gauge.
This module can basically read a 0-5v signal and has a lookup table to convert that to temperature. It has a built in 330 ohm pullup resistor, or the option for a custom pullup resistor you can solder in yourself, and it can switch between the 2 depending on how its configured. It also has 2 options for lookup table, the default/standard one which is designed to work with the 330 ohm resistor and an LS1 style coolant sensor (and from what I can tell, probably many other GM fluid temperature sensors), or a custom table you can configure over ALDL. In effect there's 3 ways you can use it:
- Wire an LS1 sensor to it and send it.
- Use some other sensor, with an appropriate pullup resistor, and configure the voltage/temperature relationship into the custom lookup table.
- Piggyback off an existing sensor (by not fitting a pullup), and configure the voltage/temperature relationship into the custom lookup table.
PCM_sim_prototype2.png
PCM_sim_prototype2.png (538.07 KiB) Viewed 7368 times

The gear /selector position input can also work in a couple of different ways:
1. Connect directly the the PRND A/B/C/P wires of the range switch, in parallel with the PCM or auto trans controller.
2. Use an analog 0-5v voltage (eg. from a pot mounted on the shifter somehow). You can configure custom voltage ranges (min / max values) for each gear.

The other big thing which isn't added yet is fuel usage. Not entirely sure which way to go about that yet. The ALDL data has 2 separate values, fuel used (sum of all fuel used this ignition cycle) and fuel flow (eg. instantaneous fuel usage). I need to determine how the cluster actually uses these to calculate l/100km etc. exactly. If it's using the vehicle speed data which also comes over ALDL, then I will need to add a speed input to the simulator as well. If it uses vehicle speed from the actual speed input to cluster, then probably not.
The idea is to have it so it can be connected to an injector, and will measure injector pulse widths. The flow rate / dead time will be programable like the other items so it can be dialed in. Then it can watch the injector to calculate and send fuel used/fuel flow data to the cluster. That's what I'm thinking at the moment anyway.

I've currently only got a couple of prototypes. I've sent one off to be tested in the real world this week.
Before I order any more PCB's or make any more changes, I thought I would post it up here.
If anyone has any ideas / requests / suggestions I would love to hear them now (before I order 50 of them and then work out I need a hardware change to implement a new feature)

I've attached the instructions PDF for more details.

For the configuration over ALDL: Ideally I would like to have a lightweight windows application that could work with an ALDL serial cable or J2534 device. Instead of having to manually send commands with something like the OSE flash tool. But that's a whole other project of its own (eg. when I get spare time and want to dip my feet into that kind of thing)
Attachments
Instructions_PCBV1.0_FWV1.0.pdf
(658.16 KiB) Downloaded 281 times
User avatar
Tre-Cool
Posts: 414
Joined: Tue Oct 16, 2012 12:17 pm
cars: VY SS UTE, VX Drag Car
Location: Perth
Contact:

Re: VT - VZ PCM Simulator

Post by Tre-Cool »

Looks the good. shame it doesnt have a CAN option though. Something like this would work well to send GM AC request to E38 when the ac button is pressed in my VY, could also use it for conversions.

Have you got anything on the horizon for CAN stuff? i'd looked at the lingenfelter CANR-002 units & went to 2 order a couple but the freight was more then the bloody hardware.
hjtrbo
Posts: 227
Joined: Tue Jul 06, 2021 6:57 pm
cars: VF2 R8 LSA
FG XR6T
HJ Ute w/RB25DET

Re: VT - VZ PCM Simulator

Post by hjtrbo »

Tangent question, I've always wanted to design and build a surface mount pcb. Are you putting these together yourself or getting an assembly service as part of the pcb fab? I'm using seeed studio but would like to hear which board house you use. Nice job by the way, it's got a bit going on.
Madchuska
Posts: 15
Joined: Sun Feb 07, 2021 11:20 pm
cars: Holden

Re: VT - VZ PCM Simulator

Post by Madchuska »

Very cool, I have a vx with an aftermarket pcm which id like to have comms with the bcm and ccm.
This pretty well meets all my requirements but I do need CAN also.
User avatar
pman92
Posts: 577
Joined: Thu May 03, 2012 10:50 pm
Location: Castlemaine, Vic
Contact:

Re: VT - VZ PCM Simulator

Post by pman92 »

Madchuska wrote: Fri Aug 09, 2024 12:23 am This pretty well meets all my requirements but I do need CAN also.
Tre-Cool wrote: Thu Aug 08, 2024 5:42 pm Looks the good. shame it doesnt have a CAN option though.
Nothing planned in the way of CAN just yet. I haven't really played with CAN stuff that much. I guess implementing the fuel usage data could potentially be easier over CAN than trying to do it discretely. Maybe when I get time I'll look more into CAN first
Madchuska wrote: Fri Aug 09, 2024 12:23 amI have a vx with an aftermarket pcm
What type of aftermarket PCM do you have?
hjtrbo wrote: Thu Aug 08, 2024 9:01 pmAre you putting these together yourself or getting an assembly service as part of the pcb fab?
These were put together by JLCPCB. PCBway is also another popular one for small volume that I've never used. If your ordering in higher volumes you can shop around and get better prices outside of these, but the prices really aren't that expensive if your prototyping. And they only take a couple of weeks to arrive.
I've pretty much given up on assembling my own PCBs. If I need some assembled I just order them and move on to something else for a couple of weeks, then come back to it when they arrive.
User avatar
Tazzi
Posts: 3546
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: VT - VZ PCM Simulator

Post by Tazzi »

pman92 wrote: Fri Aug 09, 2024 8:07 am These were put together by JLCPCB. PCBway is also another popular one for small volume that I've never used. If your ordering in higher volumes you can shop around and get better prices outside of these, but the prices really aren't that expensive if your prototyping. And they only take a couple of weeks to arrive.
I've pretty much given up on assembling my own PCBs. If I need some assembled I just order them and move on to something else for a couple of weeks, then come back to it when they arrive.
Its like Christmas every 2weeks, you get to remember what you made all that time ago :lol:

We also use JLC for protoype runs since its one of the only affordable places to get prototypes done.

Its still not 'cheap' for a hobbyist, since each run can be over $150aud to just have 2pcbs assembled, but its better then trying to hand solder absolutely everything.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Madchuska
Posts: 15
Joined: Sun Feb 07, 2021 11:20 pm
cars: Holden

Re: VT - VZ PCM Simulator

Post by Madchuska »

pman92 wrote: Fri Aug 09, 2024 8:07 am Nothing planned in the way of CAN just yet. I haven't really played with CAN stuff that much. I guess implementing the fuel usage data could potentially be easier over CAN than trying to do it discretely. Maybe when I get time I'll look more into CAN first
Sounds good to me.
pman92 wrote: Fri Aug 09, 2024 8:07 am What type of aftermarket PCM do you have?
Motec PCM and Motec Dash.

It wouldn't be a super neat solution but in the mean time I could potentially remove my PIM, use one of your modules and connect the I/O to the I/O on one of these
https://www.ptmotorsport.com.au/product ... er-mini-2/
Being Arduino based I could make some changes to the sketch to suit Motec.

With your module whats being transmitted in the 41 broadcast frame for A/C Pressure and A/C Status?
hjtrbo
Posts: 227
Joined: Tue Jul 06, 2021 6:57 pm
cars: VF2 R8 LSA
FG XR6T
HJ Ute w/RB25DET

Re: VT - VZ PCM Simulator

Post by hjtrbo »

pman92 wrote: Fri Aug 09, 2024 8:07 am Nothing planned in the way of CAN just yet. I haven't really played with CAN stuff that much. I guess implementing the fuel usage data could potentially be easier over CAN than trying to do it discretely. Maybe when I get time I'll look more into CAN first
There is a hungry US market in E38 LS swaps. The current offerings for A/C and vehicle speed are $300USD+ for a quality unit. Food for thought to expand your device with CAN?
User avatar
pman92
Posts: 577
Joined: Thu May 03, 2012 10:50 pm
Location: Castlemaine, Vic
Contact:

Re: VT - VZ PCM Simulator

Post by pman92 »

Madchuska wrote: Sat Aug 10, 2024 1:27 am With your module whats being transmitted in the 41 broadcast frame for A/C Pressure and A/C Status?
A/C status is on whenever the request from BCM is on.

A/C pressure is currently 0. Which doesn't seem to cause any problems. It seems the factory PCM monitors it itself and requests the low speed fan separately. Do you know of any reason to include it?
hjtrbo wrote: Sat Aug 10, 2024 7:45 am There is a hungry US market in E38 LS swaps. The current offerings for A/C and vehicle speed are $300USD+ for a quality unit. Food for thought to expand your device with CAN?
I'm definitely thinking about it
UCMatt
Posts: 86
Joined: Mon May 11, 2009 4:00 pm
cars: VX SS Hillclimb special
2023 Audi S5
LS1 V8 UC Torana Hatch

Re: VT - VZ PCM Simulator

Post by UCMatt »

If you are going to look at CAN, you may as well add VPW for the LS1 guys to bypass/replace dead PIM’s in VT/VY’s.
Post Reply