Scaling the Moates A/D

Discuss anything TunerPro related.

Moderators: Mangus, robertisaar, dex

Post Reply
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Scaling the Moates A/D

Post by JP86SS »

I'm using the A/D channels on the extender and can't seem to get my head on straight with the settings to scale them correctly.
I see in your example $6E ADS that you have them setup for 16 bit but with a 1024 maximum range?
What would the counts/volt be for this?
( 5/1024= 0.0049 V per Count)
or
( 5/32767 =.00015 V per Count)

That doesn't add up to 16 bits, just 10. OK, more than 8 needs 16 setting.
When I connect channel 1, the file has channel 65-66, channel 2 = 66-67, channel 3 = 68-69.
When I log data the channels 1 and 3 "seem" reversed.
Are those channel #'s confirmed to be correct?

There is also a setup of the channels that appears on the display only view for these. They are listed as Channel 0, 1, 2 IIRC.
Do those it interact with the ADS settings at all?

Sorry to over do the question,
Baically I'm tring to read the 2 channels of my LC-1 and compare them to the datastream coming from the 730. Seems if I connect the signals to the 730 they are gone. Voltmeter reads them fine.
Input level is just not right when connected so I'm putting them in parallel.
Thanks,
JP
Image
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

LC-1 Scaling Values

Post by JP86SS »

I think I have most of it figured out (for the WB anyway)
Use 1024, YES.
Use 15.04 AFR span/1024 counts = 0.0146875 +7.35
Gives 0-5 volt range of 7.35 to 22.39:1 AFR

For doing an ECM input directly (8 bit) factor would be 0.05898039 +7.35

The Sim NB signal counts = (0.103 V = 21.09), (1.099 V = 225)
Difference in counts = 204.
1 AFR (15:1 - 14:1) divided by 204 = Factor 0.004902 +14.0
For ECM (8 bit) Factor 0.01969 +14.0 (if you wanted to do that)
That will give AFR of the Simulated output.

Would be better to show the mVolts so it relates better to the stock NB sensor for comparison.
5/1024 = 0.04883 V per count)
(0.103 = 21.09 Counts), (1.099 = 225 Counts)
0.996 Volts span between the values divided by difference in counts (204) Gives you ---> Factor 4.88235 +103

For the 8 bit version
(0.103 V = 5.23 Counts), (1.099 V = 56.05 Counts)
0.996 Volts span between the values divided by difference in counts (50.819) Gives you ---> Factor (at 8 bits) = 15.5999 +103
Can move the decimal if desired.

I think I got that right. I hope so because I will be referring back here to find it once I loose my notes :)
Last edited by JP86SS on Sat Jul 01, 2006 6:51 pm, edited 1 time in total.
Image
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Re: Scaling the Moates A/D

Post by JP86SS »

JP86SS wrote: When I log data the channels 1 and 3 "seem" reversed.
Are those channel #'s confirmed to be correct?

There is also a setup of the channels that appears on the display only view for these. They are listed as Channel 0, 1, 2 IIRC.
Do those it interact with the ADS settings at all?
JP
Only remaining questions.
TIA
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Yeah, they're reversed, but it's nomenclature. Simply reverse the order in the ADS, or on the A/D breakout. It doesn't really matter, as long as you know which is hooked up where.
***************************************
TunerPro Author
1989 Trans Am
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Post by JP86SS »

Had me ging in circles yesterday with that.
I do see on the Moates board that the lables are reversed but it goes slightly deeper than that.
(going by the terminal numbers)
Channel 1 = 67-68
Channel 2 = 65-66
Channel 3 = 69-70

Got that working good but my mV readings for the channel don't seem right. Seems like values are doubled at some points unless its just the output of the WB controller doing that.
Can anybody verify I did the numbers right on the mV, ch 3?
Image
julian537
Posts: 21
Joined: Tue Feb 08, 2011 7:24 am

Post by julian537 »

JP,

I am going in circles.
Channel 1 = 67-68
Channel 2 = 65-66
Channel 3 = 69-70


What are these channel numbers referring to?

I have an LC-1 and I would like to see it on my ALDL dash. Is this possible?
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

The AutoProm has 3 channels of analog-to-digital converting inputs. That's what the channel numbers correspond to - the input numbers on the APU1.
***************************************
TunerPro Author
1989 Trans Am
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Post by JP86SS »

julian537 wrote:JP,

I am going in circles.
Channel 1 = 67-68
Channel 2 = 65-66
Channel 3 = 69-70


What are these channel numbers referring to?

I have an LC-1 and I would like to see it on my ALDL dash. Is this possible?
These are the data "word" positions in the ALDL stream that the APU1 puts the extra channels hardwired to the AutoProm.
The standard $8D datastream has 64 items, these are numbered higher to avoid mixing data.
HTH
julian537
Posts: 21
Joined: Tue Feb 08, 2011 7:24 am

Post by julian537 »

I have the wide band hooked into channel 1 of the Autoprom. I have gone into "AUTOPROM A/D data interface" Is there where I would see the Wide band information, if I enter all the set up information or do I edit the ALDL definition. I have the 42 definition XDF file, and it already has the informations setup in it for the WB. In the 42 aldl definition, under Sensor data/ WB AFR under the byte number, is 65. Do I need to change this to another number to recognize the channel that the APU is outputting?
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Post by JP86SS »

As seen above, there could be a mixup in the channel numbers and addresses.
Channel 1 would be byte 67, not 65.
Make sure you are set for 16 bit values.

The A/D data window shows the data from the AutoProm at a high rate of speed (different from the ALDL data)
To include the dat from those displays into your logs you will use the channel numbers 67, 65, 69 for channels 1,2, and 3.
julian537
Posts: 21
Joined: Tue Feb 08, 2011 7:24 am

Post by julian537 »

Great, it all makes sense now.

The 42 ads file already has the ALDL definition set up in it. I will just change the byte from 65 to 67, and this should show my wideband in the ALDL Values.

Thanks for all your help.

This is all new to me. I am catching on though.
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

You're exactly correct. You'll get there!

Enjoy,

-Mark
***************************************
TunerPro Author
1989 Trans Am
julian537
Posts: 21
Joined: Tue Feb 08, 2011 7:24 am

Post by julian537 »

I went into the ALDL definition and renamed the Byte to 65, 67, and 69. The readout on the ALDL values for the WB AFR never changed from 10???

I have my LC-1 WB setup and wired just as the picture in this thread

Confused again. http://tunerpro.net/forum/viewtopic.php?t=2081
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Post by JP86SS »

OK, did some checking.
The $42 data stream only contains 20 items.
Change the values to be next inline after the original data.

Try this:
Channel 1 = 23-24
Channel 2 = 21-22
Channel 3 = 25-26

something should indicate with those values.
The only other thing I see within the definition would be to add 6 to the payload size (dec) in the edit definition, Commands, dialog box.
I do not believe that is needed and the AP appends the data out automatically.
Post up if that is needed or if it just works without.
julian537
Posts: 21
Joined: Tue Feb 08, 2011 7:24 am

Post by julian537 »

I got this to work on byte 21 on channel one in TPv4. I cannot get this to ouput anything in V5? Very confused.
JP86SS
Posts: 218
Joined: Thu Apr 22, 2004 5:49 pm
Location: Strongsville, Ohio
Contact:

Post by JP86SS »

Did you ever get this to work correctly in V5?
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
Post Reply