Pages: [1]
Author Topic: All things zwbas  (Read 4815 times)
phila_dot
Hero Member
*****

Karma: +170/-11
Offline Offline

Posts: 1709


« on: November 03, 2011, 11:09:27 AM »

Some notes that I have regarding zwbas.

In the FR (AZUE) the members of zwbas array are calculated as follows:
ZWBAS[0] = ZWGRU+DZWWL+Offset
ZWBAS[1] = ZWGRU+DZWWL+Offset[(i+1) MOD Number of cylinders]
ZWBAS[2] = ZWGRU+DZWWL+Offset[(i+2) MOD Number of cylinders]
ZWBAS[3] = ZWGRU+DZWWL+Offset[(i+3) MOD Number of cylinders]
i = 0...< Number of cylinders

I am assuming that Offset[] identifies the member of dwkrz(i).

Assuming i is 0-5, I get:

ZWBAS[0] = ZWGRU+DZWWL+Offset[0]
ZWBAS[1] = ZWGRU+DZWWL+Offset[1]
ZWBAS[2] = ZWGRU+DZWWL+Offset[2]
ZWBAS[3] = ZWGRU+DZWWL+Offset[3]

ZWBAS[0] = ZWGRU+DZWWL+Offset[1]
ZWBAS[1] = ZWGRU+DZWWL+Offset[2]
ZWBAS[2] = ZWGRU+DZWWL+Offset[3]
ZWBAS[3] = ZWGRU+DZWWL+Offset[4]

ZWBAS[0] = ZWGRU+DZWWL+Offset[2]
ZWBAS[1] = ZWGRU+DZWWL+Offset[3]
ZWBAS[2] = ZWGRU+DZWWL+Offset[4]
ZWBAS[3] = ZWGRU+DZWWL+Offset[0]

ZWBAS[0] = ZWGRU+DZWWL+Offset[3]
ZWBAS[1] = ZWGRU+DZWWL+Offset[4]
ZWBAS[2] = ZWGRU+DZWWL+Offset[0]
ZWBAS[3] = ZWGRU+DZWWL+Offset[1]

ZWBAS[0] = ZWGRU+DZWWL+Offset[4]
ZWBAS[1] = ZWGRU+DZWWL+Offset[0]
ZWBAS[2] = ZWGRU+DZWWL+Offset[1]
ZWBAS[3] = ZWGRU+DZWWL+Offset[2]

ZWBAS[0] = ZWGRU+DZWWL+Offset[5]
ZWBAS[1] = ZWGRU+DZWWL+Offset[1]
ZWBAS[2] = ZWGRU+DZWWL+Offset[2]
ZWBAS[3] = ZWGRU+DZWWL+Offset[3]

I think my calculations are off somehow though.

The reasoning listed for having a four member array is due to dwell time overlapping. There are three counters used with zwbas, counter j (0-3) identifies the member of zwbas array being written into, counter i (0-5) counts cylinder numbers for reading from cylinder specific knock offsets (dwkrz(i)?), and counter k identifies the array element out to zwist.

In the FR it looks like we should be able to log current zwbas output rather than the array members. I also saw this in the ME7L standard map file, but it didn't get output by ME7Info.

Any insight?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.012 seconds with 17 queries. (Pretty URLs adds 0s, 0q)