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.5.2 Hardware Operation Overview<br />

Figure 2-3 depicts a combination block diagram and pseudo-schematic detailing <strong>the</strong><br />

physical connectivity <strong>of</strong> <strong>the</strong> SMARTDOT module's hardware components. The following<br />

discussion presents <strong>the</strong> <strong>the</strong>ory <strong>of</strong> operation <strong>of</strong> <strong>the</strong> module's hardware, and refers to <strong>the</strong><br />

components shown in <strong>the</strong> block diagram.<br />

The piezoelectric film sensor (T1) serves as both <strong>the</strong> "wake-up" sensor and impact<br />

detector, and is connected to <strong>the</strong> negative input (-) <strong>of</strong> an ultra-low power comparator<br />

(MAX931). Bias <strong>for</strong> <strong>the</strong> positive (+) input is provided by a voltage divider connected to<br />

<strong>the</strong> MAX931's internal 1.18V reference, with hysteresis provided through connection to<br />

<strong>the</strong> '931's "hyst" pin.<br />

The MAX931's output is connected to <strong>the</strong> asynchronous preset <strong>of</strong> a single, low-power<br />

CMOS D flip-flop (D-FF). Pressure applied to <strong>the</strong> insert is transferred to T1, generating<br />

a voltage spike that triggers <strong>the</strong> comparator, <strong>for</strong>cing <strong>the</strong> state <strong>of</strong> <strong>the</strong> D-FF to a logical '1'.<br />

The Q output <strong>of</strong> <strong>the</strong> D-FF transitions to <strong>the</strong> low (0) state, providing ground to <strong>the</strong><br />

remainder <strong>of</strong> <strong>the</strong> module, which causes <strong>the</strong> Philips 87C752 microprocessor to "wake-up"<br />

and begin executing its program. The comparator output is also connected to an external<br />

interrupt on <strong>the</strong> '752 (labeled IMPACT_PIN) so that <strong>the</strong> microprocessor can record any<br />

subsequent activity (additional finger pressure, impact with <strong>the</strong> lane, impact with <strong>the</strong><br />

pins, etc.) sensed by T1.<br />

With a 3.6864 MHz crystal, <strong>the</strong> 87C752 draws ~3 mAmps while running, but through use<br />

<strong>of</strong> <strong>the</strong> '752's IDLE mode between light samples, <strong>the</strong> average current drawn is reduced to<br />

less than 2 mAmps. When <strong>the</strong> '752 reaches <strong>the</strong> point where it is time to shutdown, it<br />

clocks a logical '0' into <strong>the</strong> D-FF (<strong>the</strong> 'D' input is tied to ground and <strong>the</strong> CLK pin is<br />

positive edge triggered), <strong>the</strong> Q output returns to <strong>the</strong> high (1) state, which removes ground<br />

from <strong>the</strong> microprocessor portion <strong>of</strong> <strong>the</strong> circuit, putting <strong>the</strong> module back to "sleep". The<br />

powered portion <strong>of</strong> <strong>the</strong> module (<strong>the</strong> comparator and <strong>the</strong> D-FF) draws less than 1 µA<br />

while <strong>the</strong> module is in sleep mode.<br />

The output <strong>of</strong> <strong>the</strong> TSL251 light-to-voltage converter is connected to <strong>the</strong> '752's on-board<br />

ADC (at LITE_INPUT_PIN) and <strong>the</strong> '251's ground is controlled by <strong>the</strong> microprocessor<br />

through LITE_PWR_PIN. The TSL251 draws about 800 µA when powered, and since<br />

<strong>the</strong> light wave<strong>for</strong>m is sampled, ra<strong>the</strong>r than continuously monitored, <strong>the</strong> '752 turns <strong>of</strong>f<br />

(removes ground from) <strong>the</strong> TSL251 between samples and <strong>the</strong>n enters a power-reducing<br />

IDLE mode until <strong>the</strong> next sample time.<br />

The TSL251 also serves as <strong>the</strong> receiver portion <strong>of</strong> <strong>the</strong> IR communications transceiver.<br />

The transmit portion <strong>of</strong> <strong>the</strong> IR transceiver is comprised <strong>of</strong> two LED's and a resistor that<br />

limits <strong>the</strong> LED current to ~500 µA, driven by TRX_PIN. Since <strong>the</strong> transmit LEDs are<br />

only lit during a '0' pulse, and <strong>the</strong>re is generally an equal distribution <strong>of</strong> 0's and 1's in a<br />

transmission, <strong>the</strong> average transmit current is ~250 µA.<br />

The 24C04 serial EEPROM stores <strong>the</strong> configurable parameters and <strong>the</strong> collected sensor<br />

data (impacts and light wave<strong>for</strong>m samples) in nonvolatile memory. It draws<br />

approximately 1 mA during a write operation, and ~300 µA during a read operation. The<br />

24C04 draws negligible current while idle (not being accessed).<br />

18

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

Saved successfully!

Ooh no, something went wrong!