Go Back   Third Generation F-Body Message Boards > Tech Boards > DIY PROM
Sign in using an external account
Register Forgot Password?

DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Welcome to ThirdGen.org!
Welcome to ThirdGen.org.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join the ThirdGen.org community today!


Reply
 
Thread Tools Search this Thread
Old 11-27-2006, 10:13 PM   #1
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Bench calcs

Well all this talk about it finally broke me down to actually doing it!
Should have done this long ago but all good things...
Anyway, in thinking on how to do the VSS and DRPs I want to check some math with others who have done it. After going over all the info I could find, none of the drawn diagrams seemed right for the calculation as found for the chip. I made up a spreadsheet and diligently plucked numbers until I came up with these.

The RPM & Speed chart is figured on using a flip-flop for 50% DC but that also is at the cost of 1/2 the frequency. I have also added the ability to switch in a larger capacitor to reduce the ranges to get slow speed and cranking speeds.

Parts should be in in a week or so and I want to dive right into building.
just going to breadboard it and use jumper wires everywhere. Will post more info on what I'm doing, just don't want to make this post a book.

Does my math look right?
I keep thinking I got the freq wrong on the DRP. (factor of 4, div by 4 ??)

Edit: "Rb" has a bias resistor to set min control range.
Attached Images
File Type: jpg 555 RPM chart.jpg (75.1 KB, 68 views)
File Type: jpg 555 SPEED chart.jpg (76.9 KB, 54 views)
File Type: jpg 555 pic.jpg (63.3 KB, 63 views)
__________________
EarthBound Misfit
http://www.wideopenwest.com/~Johnand...eWeb/photo.htm

Last edited by JP86SS; 11-27-2006 at 10:16 PM.
JP86SS is offline vBGarage Page   Reply With Quote
Old 11-28-2006, 12:48 PM   #2
TGO Supporter
 
Join Date: Aug 2001
Location: NJ/PA
Posts: 1,006
Car: Yes
Engine: Many
Transmission: Quite a few

Classifieds Rating: (0)
I'll have to look back at my notes and see what I did. I'll reply sometime this evening.

in the meantime, I'll PM you to try and send you an .xls file I have that has some rpm/frequency calcs in it.
jwscab is offline vBGarage Page   Reply With Quote
Old 11-28-2006, 08:35 PM   #3
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Thanks Joe,
You did send me a schematic a while ago that I referenced but found some things that didn't look like they were actually built/finished/tested so I figured to start from the begining and research from there.
The FF has no output as I discovered. Q2 nada. I added that and then started recalculating the frequencies but my head is swirling from the "how many per RPM" thing.
I made a sheet with the formula shown. Hz cut in half by flip/flop and should be right for 4 pulse per rev.
JP86SS is offline vBGarage Page   Reply With Quote
Old 11-29-2006, 01:29 AM   #4
Supreme Member
 
Join Date: Jan 2002
Location: garage
Posts: 3,918
Engine: 305ci DIY twin T3 50 trim
Transmission: 199x DIY 4L60E

Classifieds Rating: (1)
JP,
Take a look at the Megasquirt Stimulator schematic. It sounds like the RPM simulator is very close to what you are building. It doesn't use a digital flip-flop though.

EDIT: It sounds like you are building a bench or something. One thing I tend to do sometimes is not use external hardware and do it with the code. For example, when I was testing the WBO2 to NBO2 code I simply would load the NBO2 RAM with a toggling value after the ECM did the actual A/D read. The rest of the code would think the NBO2 was toggling from the actual A/D value that was read. I could tune the NBO2 to varying AFRs and see how the code was responding. I would adjust the mV value and the rate at which it toggled by changing a counter value for the toggle rate.

Last edited by junkcltr; 11-29-2006 at 01:35 AM.
junkcltr is offline vBGarage Page   Reply With Quote
Old 11-29-2006, 12:16 PM   #5
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Quote:
Originally Posted by junkcltr View Post
JP,
It sounds like you are building a bench or something.
Yep, finally building one.
Quote:
Originally Posted by junkcltr View Post
One thing I tend to do sometimes is not use external hardware and do it with the code. For example, when I was testing the WBO2 to NBO2 code I simply would load the NBO2 RAM with a toggling value after the ECM did the actual A/D read. The rest of the code would think the NBO2 was toggling from the actual A/D value that was read. I could tune the NBO2 to varying AFRs and see how the code was responding. I would adjust the mV value and the rate at which it toggled by changing a counter value for the toggle rate.
Excellent idea, thanks for that.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-04-2007, 11:05 PM   #6
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Since there was another request for info I figured I'd update this post and get some info out there on what I'm doing.
The schematics are PDFs.
The RPM is confirmed to work but is not fully debugged yet.
Could just be my kluge board at the moment but when getting to 3K RPM my scanner stops logging. not sure what to make of that yet but the signals do work.
The VSS has not been connected to the optical input yet. hope to do that this weekend. Might need to add the flip-flop to that circuit as well.
I believe I did on my board but it is not shown on the schematic. Just do it the same as on the RPM one. The signals are cut in half by the FF, the values that are listed on the chart for the VSS are correct when using the FF.

The MAX232 circuit was built using a "MAX232ACPE" chip but did not work properly.
I think because the ALDL schematics show 10uf caps but the ACPE datasheet says I should be using 0.1 uf, still working that out and drawing pin lables need to be updated. Have been using the cable from my car to do my logging.

I have a nice little box with all my switches and pots mounted in and just beginning to wire it up. Will post pics as I go.
Main power supply is mounted in a 19" rack computer case that I put a wood plank in to mount termonal strip onto. ECM is all prewired to the terminals so making changes and connections will be easy in the future.
Terminals give nice test points for every ECM pin too.
Here's what I have so far. The pot values may change as I go along once they are all powered up. I also need to add resistors to them to set min/max ranges so codes are set unless you want to go there.
Thanks to Jwscab for some info to get me moving on this.
Jp
Attached Files
File Type: pdf ECM BENCH VSS.pdf (13.6 KB, 66 views)
File Type: pdf ECM BENCH RPM.pdf (18.0 KB, 49 views)
File Type: pdf ECM BENCH 02 JP86SS.pdf (62.9 KB, 58 views)

Last edited by JP86SS; 01-04-2007 at 11:25 PM.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-04-2007, 11:15 PM   #7
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
RPM Board start

Here is a pic of the board arrangement I was planning for individual RPM or VSS controls. Am figuring on making the boards modular so the can be stacked into a box or something. Rather than all on one board for now.
This way they can be put in a main box and have a small remote box with indicator and adjustment (on a cable) sit on the table next to the laptop.
Attached Images
File Type: jpg RPM Boards.jpg (145.7 KB, 68 views)

Last edited by JP86SS; 01-04-2007 at 11:30 PM.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-04-2007, 11:37 PM   #8
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
BTW, This is taking allot more effort to build that I first thought but I know it will be worth the effot. I'm learning a great deal about chips and crap just doing it. A nice learning experience and a hobby at the same time.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 12:25 AM   #9
Supreme Member
 
Join Date: Jan 2002
Location: garage
Posts: 3,918
Engine: 305ci DIY twin T3 50 trim
Transmission: 199x DIY 4L60E

Classifieds Rating: (1)
Great work JP. That is the best part of this hobby....learning new stuff and getting your hands dirty all in the DIY way(non-commercial). I like the fact that you are building it all from scratch. I copped out on the bench and most of it is run from a Megastimulator. If I ever get done putting turbos on everything I am going to look into doing a software driven testbech with DACs & ADCs. At the rate I fab turbo setups, I should have the programmable bench done in about 3 years.

You'll love the bench once you have it running. It sheds light on so many unknowns. All for infinite MPG.
junkcltr is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 12:33 AM   #10
Senior Member
 
89 Iroc Z's Avatar
 
Join Date: Aug 2001
Location: Nothern VA
Posts: 2,125
Car: 1989 Iroc-Z
Engine: 350, ZZ4 equivalent
Transmission: Pro-Built Road Race 700R4
Axle/Gears: 3.23 Dana 44

Classifieds Rating: (0)
I am confused, I am coming up with different numbers for the Hz, and this is how I worked through it.

- The distributor rotates at 1/2 the engine speed so it outputs 4 pulses per engine revolution (V8)
- Since Hz is cycles per second if the engine where rotating at 1 RPS or 60RPM, the distributor would output 4Hz
- So that’s a ratio of 4Hz per 60 RPM
- working out the ratio with 9000RPM as you listed in your calculation -> (4 x 9000) / 60 = 600Hz
- At 9000RPM as listed in your table it should be 600Hz not 1200Hz???

Another way:
- 9000RPM / 60 = 150RPS
- 150RPS x 4 pulses per revolution = 600Hz

Edit: I totally forgot how the flip flop divides the frequency in half, it just clicked, ignore this post.. opps

Last edited by 89 Iroc Z; 01-05-2007 at 12:53 AM.
89 Iroc Z is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 11:29 AM   #11
Senior Member
 
MonteCarSlow's Avatar
 
Join Date: Jun 2001
Location: Eh?
Posts: 389
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73

Classifieds Rating: (0)
Quote:
Originally Posted by junkcltr View Post
If I ever get done putting turbos on everything I am going to look into doing a software driven testbech with DACs & ADCs. At the rate I fab turbo setups, I should have the programmable bench done in about 3 years.
Phew... that gives me some time to beat you to it then...
MonteCarSlow is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 12:11 PM   #12
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Quote:
Originally Posted by MonteCarSlow View Post
Phew... that gives me some time to beat you to it then...
I had dreams of that too but have to get through about 3 iterations before that will happen.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 12:18 PM   #13
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Quote:
Originally Posted by junkcltr View Post
Great work JP. That is the best part of this hobby....learning new stuff and getting your hands dirty all in the DIY way(non-commercial).
Thanks, mostly because of available info is sketchy and I'm trying to do it right. Obviously that is costing more. I already have about $150 invested but should come out nice.
I'm at the point that I don't care about being secretive about the design.
If somebody is going to steal it for $, I think it will be obvious where the info came from. B & G have put all the stuff out there for the Stimulator and I have also referenced how they did things.
Hopefully this will provide feedback on what works and what doesn't. By the time several people have built some circuits the stuff will be clean enough for any DIY project.
If a commercial version comes out I doubt the cost will be as good as a DIY effort using the info here. Kinda kills the profit margin before it even happens.
JP86SS is offline vBGarage Page   Reply With Quote
Old 01-05-2007, 12:23 PM   #14
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Quote:
Originally Posted by 89 Iroc Z View Post
Edit: I totally forgot how the flip flop divides the frequency in half, it just clicked, ignore this post.. opps
Thanks,
You did confirm my math for me.
JP86SS is offline vBGarage Page   Reply With Quote
Old 02-09-2007, 07:29 PM   #15
Senior Member
 
89 Iroc Z's Avatar
 
Join Date: Aug 2001
Location: Nothern VA
Posts: 2,125
Car: 1989 Iroc-Z
Engine: 350, ZZ4 equivalent
Transmission: Pro-Built Road Race 700R4
Axle/Gears: 3.23 Dana 44

Classifieds Rating: (0)
I am in the process of building my bench right now and have come up with a better way to generate the square waves for the speed and RPM input. I did some searching for some VCO (voltage controlled oscillators) and found the CMOS CD4046. The IC is a phase-locked loop with VCO. You can ignore the PLL stuff and tie it's inputs to ground and just use the VCO part of the IC.

I built a circuit with this IC that generates 0-1200Mhz (running through a FF) without the need for a Hi and Lo switch. I used 120k ohm on R1 input, R2 left open, 0.01uF between C1a & C1b, and a 10k pot inputting the voltage into VCOin. The IC generates a 50% duty cycle but I used a FF because it's CMOS and can only drive very small currents on it's outputs. You can also run the output through a TTL buffer IC or inverter IC and lower the output frequency range of the VCO by half but since I have tons of FF laying around I used that for now. I will post a schematic once I finalize the design for the RPM and VSS.

Also I wanted to confirm that the optical VSS is 2000PPM and the 4000RRM for the magnetic VSS.

Last edited by 89 Iroc Z; 02-09-2007 at 07:34 PM.
89 Iroc Z is offline vBGarage Page   Reply With Quote
Old 02-09-2007, 08:05 PM   #16
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Sounds cool!
I'd be interested in seeing that range of adjustment. I'm having difficulty making the VSS work on mine. I think the level is not high enough
(or I burned up the chip soldering it in)
I belive you are correct on the VSS pulses, mag for sure is right at 4K and am 99% sure the optical is 2K.
I did end up using an ignition module (7 pin) from an old HEI I had. Never got to try the little circuit to provide the "test" pulse at startup.
JP86SS is offline vBGarage Page   Reply With Quote
Old 02-09-2007, 08:22 PM   #17
Senior Member
 
89 Iroc Z's Avatar
 
Join Date: Aug 2001
Location: Nothern VA
Posts: 2,125
Car: 1989 Iroc-Z
Engine: 350, ZZ4 equivalent
Transmission: Pro-Built Road Race 700R4
Axle/Gears: 3.23 Dana 44

Classifieds Rating: (0)
One more question when wiring up the RPM signal generator circuit do you connect it to the P & N terminals of the ignition module or the reference input to the ECM?
89 Iroc Z is offline vBGarage Page   Reply With Quote
Old 02-09-2007, 08:50 PM   #18
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Can be done either way IIRC but if you don't use the module there is a problem with the ECM "bumping" it on powerup to see a reaction from it.
There was a PNP transidtor circuit that one of theguys came up with that would give the reaction so the fault would not be set.
Using the module, I have it connected at the pickup coil connecions.
Works fine.
Don't forget to ground the module if using the 7 pin
That had me going for a while till I looked at what I was doing.
JP86SS is offline vBGarage Page   Reply With Quote
Old 02-04-2008, 07:57 PM   #19
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Re: Bench calcs

Quote:
Originally Posted by 89 Iroc Z View Post
I built a circuit with this IC that generates 0-1200Mhz ...I will post a schematic once I finalize the design for the RPM and VSS.
Did you get this to work properly?
I'm still trying to make mine work with the magnetic input.
Works great on the optical, just has something "electrical" wrong with the signal strength I think for the mag setting.
In any case, I'd like to get the full range adjustment out of a single device.
JP86SS is offline vBGarage Page   Reply With Quote
Old 02-05-2008, 08:24 AM   #20
TGO Supporter
 
Join Date: Aug 2001
Location: NJ/PA
Posts: 1,006
Car: Yes
Engine: Many
Transmission: Quite a few

Classifieds Rating: (0)
Re: Bench calcs

the magnetic pickup is a reluctor right? The optical one is most likely a square wave opto transistor in the sending unit, so it requires 5 or 12 volts on one side, and gnd on the other. so the signal goes high to low, or more or less 0 to 5 or 12 volts(depending).

the reluctor is looking for a zero crossing, that is, the signal might vary from -1 to +1 volt over each passing over the iron finger on the sensor, so the ecm looks for the '0'.

you have a couple of options. you might get away with AC coupling the signal, try something like....47uF or so...this should be non-polarized, so you can take 2 polarized caps back to back, they should go + - - +. that will drop average voltage of the waveform to allow the buffer to trigger in the ecm.

the other option is to feed the signal through an op-amp with a dc offset. the nice this about this is you can adjust the dc offset, for another level of flexibility.
jwscab is offline vBGarage Page   Reply With Quote
Old 02-05-2008, 08:41 PM   #21
Supreme Member
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 2,933
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller
Transmission: 700R4 HomeBrew, 3.8K stall 3 diskLU
Axle/Gears: 3:73 Posi, 7.5 Soon to break

Classifieds Rating: (0)
Re: Bench calcs

Quote:
Originally Posted by jwscab View Post
the reluctor is looking for a zero crossing
Absolutly right!
Don't know why that slipped my mind. Wants AC sine wave.
Thanks for the mental jog
JP86SS is offline vBGarage Page   Reply With Quote
Old 02-05-2008, 08:41 PM
ThirdGen
1992 Camaro




Paid Advertisement


Reply

Go Back   Third Generation F-Body Message Boards > Tech Boards > DIY PROM

Tags
breadboard, circuit, diy, megasquirt, rpm, schematic, simulator, stimulator
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 


1982 Camaro '82 || 1983 Camaro '83 || 1984 Camaro '84 || 1985 Camaro '85 || 1986 Camaro '86 || 1987 Camaro '87 || 1988 Camaro '88 || 1989 Camaro '89 || 1990 Camaro '90 || 1991 Camaro '91 || 1992 Camaro '92


All times are GMT -5. The time now is 02:07 PM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
All content copyright © 1997 - 2012 ThirdGen.org. All rights reserved. No part of this website may be reproduced without the expressed, documented, and written consent of ThirdGen.org's Administrators.

Emails & Contact Details