Chrysler 42RE Transmission Controller Brainstorming

Free and Open Source Engine Management discussions excluding more specific things on this board.
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

Starting to do some visualisations. Note that it is 35 C here today. I spent all day pulling wire and bending conduit in a mechanical room. Yuck.
42re.png
Keith MacDonald
Control Engineering (Systems) Technologist
Peter
LQFP144 - On Top Of The Game
Posts: 268
Joined: Tue Dec 27, 2011 5:37 am

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by Peter »

I like though hole stuff better also. I do use quite a few breakout boards for things that don't come in diy type packages.

As far as the fets go it's pretty much 6 of one half a dozen of the other.

I'm also not a fan of the LM1815. viewtopic.php?f=5&t=1531

Just out of curiosity have you used the PropellerGCC yet?
:-p
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

Firmware tasks

The following tasks have to be performed by the processor. The load can be spread out across 8 x 20 MIPS cores and 16 hardware timers.
  • Monitor ignition power
  • Track statistics and save in EEPROM (more on this later)
  • Monitor 2 pulse input channels for engine speed and output shaft speed
  • Poll 2 ADC channels via SPI
  • Switch 4 digital outputs (3-4, TCC, Relay, OD light)
  • Modulate 1 PWM output (governor)
  • Communicate via serial (USB)
  • Convert raw input values into useful units
  • Perform logic decisions and set flags
  • Perform table lookups
  • Flash SCAN led
Keith MacDonald
Control Engineering (Systems) Technologist
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by Fred »

Peter wrote:Just out of curiosity have you used the PropellerGCC yet?
Propeller just got WAY more attractive! Cool :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

Peter wrote:I like though hole stuff better also. I do use quite a few breakout boards for things that don't come in diy type packages.

As far as the fets go it's pretty much 6 of one half a dozen of the other.

I'm also not a fan of the LM1815. viewtopic.php?f=5&t=1531

Just out of curiosity have you used the PropellerGCC yet?
I get much better than short spikes from my twin LM1815s, but it did take some circuit tweaking.

No I haven't used PropellerGCC. To be honest I like the simplicity of SPIN and PASM. I'm more of a Python and assembler guy than C. I was going to mention it though, as it does make the product more attractive to a larger user base.
Keith MacDonald
Control Engineering (Systems) Technologist
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

Fred wrote:
Peter wrote:Just out of curiosity have you used the PropellerGCC yet?
Propeller just got WAY more attractive! Cool :-)
The best part is it has standard C libraries, so it acts more like Linux than just a plain old microprocessor.

http://propgcc.googlecode.com/hg/doc/Library.html
Keith MacDonald
Control Engineering (Systems) Technologist
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

Basic Coding Milestones
(Somewhat in order of precedence)

#1 Boot/Debug
  • Dump predefined variables via serial <- basic testing interface
  • Reboot microprocessor on demand (trivial)
  • Respond via VGA/NTSC terminal to serial commands <- reduces need for a laptop later
  • Generate constant data stream when prompted, and stop when prompted <- datalogging framework
  • Set/unset flags via serial
  • Write fixed and floating point values to variables via serial
#2 Data Acquisition
  • Read and dump states of digital inputs: Ignition Power, Park/Neutral, OD Switch
  • Read and dump raw values from DAC: Transmission Pressure, Transmission Temp, Throttle Position, [Baro?] (Need an MCP3204 after all)
  • Calculate frequency of pulse inputs: Tachometer, Output Shaft Sensor
#3 Output Generation
  • Turn OD, SCAN LEDs on and off
  • Switch transmission solenoids on and off: Transmission Relay, 3-4 Shift, TCC Lockup
  • Generate PWM for Governor Solenoid
#4 Math
  • Convert analogue inputs to either fixed or floating point in Metric automotive units via table lookup or scaling
  • Convert Tach and OSS frequencies to RPM
  • Set/unset flags via value comparison <- for shift mode logic
#5 Logic
  • Boolean compare flags to set shift modes
  • Write mode-specific values to PWM and digital outputs
  • Profit?
Keith MacDonald
Control Engineering (Systems) Technologist
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

The output shaft speed sensor tone ring has 24 teeth.
Keith MacDonald
Control Engineering (Systems) Technologist
User avatar
russian
LQFP112 - Up with the play
Posts: 154
Joined: Fri Feb 01, 2013 4:18 pm
Location: Jersey City, USA

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by russian »

thebigmacd wrote: #3 Output Generation
  • Turn OD, SCAN LEDs on and off
  • Switch transmission solenoids on and off: Transmission Relay, 3-4 Shift, TCC Lockup
  • Generate PWM for Governor Solenoid
So, how would 1-2-3 shift be controlled then? Is it all taken care by the single PWM for Governor Solenoid?
Last edited by russian on Tue Jun 10, 2014 1:50 am, edited 1 time in total.
thebigmacd
LQFP112 - Up with the play
Posts: 205
Joined: Thu Apr 10, 2008 5:51 pm

Re: Chrysler 42RE Transmission Controller Brainstorming

Post by thebigmacd »

russian wrote:
thebigmacd wrote: #3 Output Generation
  • Turn OD, SCAN LEDs on and off
  • Switch transmission solenoids on and off: Transmission Relay, 3-4 Shift, TCC Lockup
  • Generate PWM for Governor Solenoid
So, how would 1-2-3 shift be controlled them? Is it all taken care by the single PWM for Governor Solenoid?
Yes sir, it is. It simulates the old mechanical pressure control in non-electronic version of the transmission.
Keith MacDonald
Control Engineering (Systems) Technologist
Post Reply