Scaling the Moates A/D
Moderators: Mangus, robertisaar, dex
Scaling the Moates A/D
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
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
LC-1 Scaling Values
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
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.
Re: Scaling the Moates A/D
Only remaining questions.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
TIA
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?
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?
These are the data "word" positions in the ALDL stream that the APU1 puts the extra channels hardwired to the AutoProm.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?
The standard $8D datastream has 64 items, these are numbered higher to avoid mixing data.
HTH
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?
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.
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.
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
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
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.
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.
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!
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI
GearHead-EFI.com EFI Conversions and Chip Tuners!