Chrysler 42RE Transmission Controller Brainstorming
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
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.
Keith MacDonald
Control Engineering (Systems) Technologist
Control Engineering (Systems) Technologist
Re: Chrysler 42RE Transmission Controller Brainstorming
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?
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
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
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.
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
Control Engineering (Systems) Technologist
Re: Chrysler 42RE Transmission Controller Brainstorming
Propeller just got WAY more attractive! Cool :-)Peter wrote:Just out of curiosity have you used the PropellerGCC yet?
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!
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!
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
I get much better than short spikes from my twin LM1815s, but it did take some circuit tweaking.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?
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
Control Engineering (Systems) Technologist
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
The best part is it has standard C libraries, so it acts more like Linux than just a plain old microprocessor.Fred wrote:Propeller just got WAY more attractive! CoolPeter wrote:Just out of curiosity have you used the PropellerGCC yet?
http://propgcc.googlecode.com/hg/doc/Library.html
Keith MacDonald
Control Engineering (Systems) Technologist
Control Engineering (Systems) Technologist
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
Basic Coding Milestones
(Somewhat in order of precedence)
#1 Boot/Debug
(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
- 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
- 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
- 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
- Boolean compare flags to set shift modes
- Write mode-specific values to PWM and digital outputs
- Profit?
Keith MacDonald
Control Engineering (Systems) Technologist
Control Engineering (Systems) Technologist
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
The output shaft speed sensor tone ring has 24 teeth.
Keith MacDonald
Control Engineering (Systems) Technologist
Control Engineering (Systems) Technologist
- 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
So, how would 1-2-3 shift be controlled then? Is it all taken care by the single PWM for Governor Solenoid?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
Last edited by russian on Tue Jun 10, 2014 1:50 am, edited 1 time in total.
-
- LQFP112 - Up with the play
- Posts: 205
- Joined: Thu Apr 10, 2008 5:51 pm
Re: Chrysler 42RE Transmission Controller Brainstorming
Yes sir, it is. It simulates the old mechanical pressure control in non-electronic version of the transmission.russian wrote:So, how would 1-2-3 shift be controlled them? Is it all taken care by the single PWM for Governor Solenoid?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
Keith MacDonald
Control Engineering (Systems) Technologist
Control Engineering (Systems) Technologist