01.06.2015 Views

A Performance Analysis System for the Sport of Bowling

A Performance Analysis System for the Sport of Bowling

A Performance Analysis System for the Sport of Bowling

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.9.5 Module Training<br />

Due to variations in bowler style and bowling<br />

equipment, and with inherent variations in <strong>the</strong><br />

ambient background light levels at various bowling<br />

establishments, it will probably be necessary to<br />

"train" <strong>the</strong> module <strong>for</strong> a given bowler, and <strong>for</strong> a<br />

given establishment. This can be easily<br />

accommodated at <strong>the</strong> beginning <strong>of</strong> each session <strong>of</strong><br />

bowling.<br />

The MASTER application would issue a command to<br />

<strong>the</strong> module to take samples without data<br />

compression. This data, collected from several<br />

"training" shots would <strong>the</strong>n be uploaded to <strong>the</strong><br />

MASTER program, which would scan <strong>the</strong> data and<br />

come up with <strong>the</strong> best-fit translation table, and<br />

download <strong>the</strong> table to <strong>the</strong> module. The module<br />

would <strong>the</strong>n use <strong>the</strong>se values in its data compression<br />

routines. If <strong>the</strong> module was not trained, it could use<br />

<strong>the</strong> last translation table downloaded to it as a<br />

default.<br />

The MASTER program could also determine <strong>the</strong><br />

average ball speed <strong>of</strong> <strong>the</strong> bowler and use this<br />

in<strong>for</strong>mation to decide whe<strong>the</strong>r <strong>the</strong>re was enough<br />

room to store uncompressed data (since <strong>the</strong> amount<br />

<strong>of</strong> space used is dependent on <strong>the</strong> wave<strong>for</strong>m sample<br />

time), or to use <strong>the</strong> data compression function.<br />

Stored<br />

Nibble<br />

Value<br />

Actual Sample Value<br />

(0) Range<br />

Bit<br />

(1) Range<br />

Bit<br />

0x0 < 5 28-29<br />

0x1 5-8 30-31<br />

0x2 9-12 32-33<br />

0x3 13-14 34-35<br />

0x4 15-16 36-37<br />

0x5 17 38-39<br />

0x6 18 40-41<br />

0x7 19 42-43<br />

0x8 20 44-45<br />

0x9 21 46-49<br />

0xA 22 50-54<br />

0xB 23 55-59<br />

0xC 24 60-79<br />

0xD 25 80-99<br />

0xE 26 100-127<br />

0xF 27 >127<br />

Figure 2-13: Data Compression<br />

Translation Table<br />

2.9.6 Adjustable Sampling Parameters<br />

Preliminary analysis <strong>of</strong> <strong>the</strong> data collected revealed that some type <strong>of</strong> digital filtering is<br />

required in order to extract useful data from <strong>the</strong> captured wave<strong>for</strong>m. However, <strong>the</strong> 120<br />

Hz sampling rate may not be high enough to accurately achieve <strong>the</strong> desired resolution in<br />

angular velocity (rpms). The 120 Hz rate is <strong>the</strong> minimum acceptable, but 240 Hz, or<br />

even 480 Hz, may be required. Of course, higher sampling rates increase <strong>the</strong> data storage<br />

requirements, and require faster EEPROM write times. Ramtron makes an appropriate<br />

density ferroelectric serial EEPROM with a write time equivalent to <strong>the</strong> data bus speed<br />

that fits <strong>the</strong> application, although <strong>the</strong> cost-per-bit is ∼50% higher than that <strong>for</strong> standard<br />

serial EEPROMs [22].<br />

The sampling rate could be adjusted based on <strong>the</strong> rate <strong>of</strong> rotation <strong>the</strong> bowler applies to <strong>the</strong><br />

ball and on <strong>the</strong> velocity that <strong>the</strong> bowler throws <strong>the</strong> ball. The higher <strong>the</strong> rate <strong>of</strong> rotation,<br />

and/or <strong>the</strong> velocity, <strong>the</strong> higher <strong>the</strong> sampling rate should be. But with a higher ball speed,<br />

less time is required to sample <strong>the</strong> full wave<strong>for</strong>m, so <strong>the</strong>re should be some <strong>of</strong>fset between<br />

<strong>the</strong> increased sample rate and <strong>the</strong> reduced sample time.<br />

Ano<strong>the</strong>r option is to interpolate between 120 Hz samples based on <strong>the</strong> rate <strong>of</strong> change <strong>of</strong><br />

<strong>the</strong> sample values surrounding <strong>the</strong> values to be interpolated. This interpolation would be<br />

handled by <strong>the</strong> MASTER application.<br />

38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!