TurboDodge.com MarketPlace Shelby Registry Contact Us

Advertisement - Remove these ads today by clicking here.
 

Go Back   TurboDodge.Com - Turbo Dodge forum for Turbo Mopars, Shelbys, Daytona, SRT-4, PT Cruiser, Omni and more! > Turbo specific > 16v Conversion

16v Conversion Converting to 16V status

Reply
 
LinkBack Thread Tools

Old 11-22-2007, 10:15 AM   #166
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Oct 2006
Location: whereIcan

1/4: 0.000

Posts: 426
Feedback: (0)
Quote:
Originally Posted by nolydi86conques View Post
ok well i would like one fore my 1985 conquest 2.6 pm me if u can help
Not sure what he coupld do and what you want to adapt? This is to use crank triggers with older distributor pickup technology for TD swaps. What would you use it to adapt in a 2.6 setup, which is the stock motor?

You would be better off doing a 2.0 4G63T swap and using turbo wiring that screwing around with that 2.6 POS motor. Lots of people have done that and it is a great swap. If you want the displacement just stroke it to 2.4l with a stroker kit.
turbo.shaft is offline  
Reply With Quote
Old 11-22-2007, 11:06 AM   #167
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Oct 2007
Location: southwest pa

My Ride: 1986 conquest turbo2
Engine: 2.6g54b
Induct: Turbo
1/4: 0.000

Posts: 143
Feedback: (0)
Images: 7
that is ok my conquest runs fine and i jest found an MSD6AL that will give me all the spark i need
nolydi86conques is offline  
Reply With Quote
Old 11-22-2007, 07:40 PM   #168
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
^
| ...?

I've narrowed the problem down to the crank trigger timing/synch area, stipped all the code except that out and I still get lost synch. I think I might write it in C and see if that makes a difference...
90TurboVan is offline  
Reply With Quote
Old 11-22-2007, 10:46 PM   #169
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: May 2003

1/4: 0.000

Posts: 1,280
Feedback: (0)
I hate to say it but stripping the code out will not solve anything. In order to do this complicated program you are going to have to do everything step by step, instead of writing 100's of lines of code. first make sure all of your variables are initialized correctly. Put test statements before and after each line of code to make sure each one is working. Make sure your variables are correct before and after. Make sure that your input and output will only deal with certain variable values. Eratic in/out data can crash any program. If you are connecting to something, make sure that the connection is working fine, and then make sure the initial variables are correct. If that is all fine, then you will have to dig down way deeper into the validity of the electronic signals and timing of them. Also, you would be better of starting with C and working your way down. Then you know for sure that logically everything is working smoothly.
cj011 is offline  
Reply With Quote
Old 11-22-2007, 10:48 PM   #170
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: May 2003

1/4: 0.000

Posts: 1,280
Feedback: (0)
Also it could be that your filepath for the program has been ****ed. I had that happen once to me. The program would not even print 'hello world', and everything was fine. Come to find out, that once in a blue moon a file will never work. It's a shot in the dark, but shit happens
cj011 is offline  
Reply With Quote
Old 11-22-2007, 11:01 PM   #171
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
Stripping out code lets me find out exactly where the problem is. I've verified operation of all the bits of code, several times. It works when I connect it to either the microcontroller that I programmed to output cam/crank signals, or when I use the MCU simulator in the development environment that I'm using. Once I connect it to a car, however, it seemingly randomly loses synch. It works when it's synched, but it'll just lose it. I have it programmed now to turn an LED on when it detects the long "key" tooth on the crank, works fine on the bench but doesn't on the car. It really isn't that complex of a program, but I can't find what's wrong with it. I use the exact same method that MegaSquirt does for detecting the "key" teeth, and it doesn't work. Moving to C would get rid of any math implementation errors as well as take care of variable initialization, but leads to slower/bigger code, and speed is critical for this type of application.

I don't think that it's a noise problem, because I don't see anything on the scope, and its the same inputs that I'm using for the hybrid adapter which I know works and have driven a car that it was running.

Also, this is nothing like a computer program. Filenames don't matter because you're compiling like 1k of code and it doesn't link to anything outside of that 1k. I don't know if you've done anything in assembly/with microcontrollers, but there is no method of debugging with test statements or other outputs. The only thing you can do is put something out on LED's.

Its just really frustrating to see it work on the bench with the exact output that you get from cam/crank sensors and then it doesn't work on a car.

Off to find a C compiler for PIC's...
90TurboVan is offline  
Reply With Quote
Old 11-23-2007, 05:06 PM   #172
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Oct 2006
Location: whereIcan

1/4: 0.000

Posts: 426
Feedback: (0)
The problems discussed above is why I can't program. It drives me batty. Good luck on the debugging. The TD world and my Omni thanks you for the effort.
turbo.shaft is offline  
Reply With Quote
Old 11-23-2007, 06:09 PM   #173
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
It amazing how much easier it is to work with C. Then you look at how it compiles to assembly and see why it isn't good for small devices like this. I implemented a synch to #1 flashing LED, and it works fine. No lost synch that I can see on the LED or scope. I'm pretty sure the problem was in the math routines I had written; not handling >8 bit operations properly would cause that kind of a problem. Working on adding in the rest of it to test out and then migrating back to assembly...
90TurboVan is offline  
Reply With Quote
Old 11-24-2007, 03:34 AM   #174
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: May 2003

1/4: 0.000

Posts: 1,280
Feedback: (0)
Your probally dead on about the 8 bit deal. The only thing though is that are you dealing with anything greater than 8 bits? If have an open window of data going into a 8 bit field, the shit will hit the fan. If you are recieving more than 8 bits, the problem could be on that end. Another thing I will throw out there is how or what type of signed/unsigned numbers your using. It could be that your numbers are being trucinated(sp) becuase of decibels that never end. You may want to head over to the CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions site. they have a pretty good assembly section, that can take alittle while to get back, but usually have good answers.
cj011 is offline  
Reply With Quote
Old 11-24-2007, 03:39 AM   #175
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: May 2003

1/4: 0.000

Posts: 1,280
Feedback: (0)
Is it the input going into the program what is cauing the problems or is it your program acting up? Is there anyway you can watch the data coming in to see if there are any problems on that side?
cj011 is offline  
Reply With Quote
Old 11-24-2007, 03:59 AM   #176
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
It times the time of a high or low pulse on the crank sensor (used to detect the long "key" tooth, as well as the time between successive high->low transistions (equal to 20 crank degrees as long as its the second tooth in a series). Since those are measured in time units of 1/2000000 seconds, I need 24 bits to time the high and low pulsewidths at 300 rpm, everything else is 16 bits. Signed/unsigned don't really mean anything unless you write the code such that they do (i.e. you still use the same commands, the output just means a different thing), and the only place I used signed numbers was during the delta calculations. Everything is calculated so that I can't overflow any of the variables even at maximum period/acceleration. The synching still acted up after I removed those parts of code. The problem with debugging something like this is that it all has to happen in real time. I'd have to have a way of getting each time measurment before the next crank event, which is really fast. Even then, how do you even start analyzing the data from even a minute of running...

I'd say that since the problem seems to have gone away now that I'm in C, I'll just have to test my addition/subraction/compare routines in assembly and find out why they don't work right for 16 or 24 bits.
90TurboVan is offline  
Reply With Quote
Old 11-27-2007, 02:15 AM   #177
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
Ran my Neon with it in both C and Assembly. I guess the Neon computers actually control dwell based on current through the coil, because the coil drivers got really hot during a short run time and the rev limiter cut in a 4000 rpm... I have to get the HEP outputs coded in and we should be good.
90TurboVan is offline  
Reply With Quote
Old 11-27-2007, 11:49 AM   #178
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: May 2006
Location: Middle TN

Induct: Turbo
1/4: 0.000

Posts: 81
Feedback: (0)
For the Neon coil ~4.5mS of dwell charges a coil. The time varies with supply voltage. Longer than that, the VB921 will be in current limit mode and dissipate significant energy.

You will need to overlap coil drives for high rpm operation. This means coil A and B could be both charging at the same time. I found it the easiest to use two timer channels.

Last edited by KitCarlson; 11-27-2007 at 11:53 AM. Reason: clarity
KitCarlson is offline  
Reply With Quote
Old 11-27-2007, 06:20 PM   #179
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Oct 2006
Location: whereIcan

1/4: 0.000

Posts: 426
Feedback: (0)
Quote:
Originally Posted by KitCarlson View Post
For the Neon coil ~4.5mS of dwell charges a coil. The time varies with supply voltage. Longer than that, the VB921 will be in current limit mode and dissipate significant energy.

You will need to overlap coil drives for high rpm operation. This means coil A and B could be both charging at the same time. I found it the easiest to use two timer channels.
Is this a new problem to address?

Or will the module as configured be maxed out at 4K RPM?
turbo.shaft is offline  
Reply With Quote
Old 11-27-2007, 09:54 PM   #180
Re: Electronic Distributor Adapter  
Naturally Aspirated
 
Join Date: Jun 2005
Location: Allentown

My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000

Posts: 428
Feedback: (0)
No, no, the Neon computer sensed that the coils weren't charging because they weren't hooked up to the Neon harness and rev limited at 4k.

I'm not setting dwell in the adapter, leaving that up to the stock computer. I also noticed no misfires up to 7k.
90TurboVan is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Pingbacks are On
Refbacks are On

» Quick Nav
- Home
- Classifieds
- Timeslips
- Gallery
- Vendors
-- Directory
- Tech Articles
- Donate
Sponsors
remove ads

Powered by vBadvanced CMPS v3.0.1
Fast Loans | Advertising | Share Prices | Short Bowel Syndrome | Find Local Jobs


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

All times are GMT -5. The time now is 12:52 AM.