A.R.I.S.E.

Amusement Ride Intelligent Safety Enhacement System

The Measurement Units

The Accelerometer and Load Cell of the A.R.I.S.E. system.

Light Show

Light Show Enhancement and Warning Display of A.R.I.S.E system

Power Source Units

Power Source Unit of A.R.I.S.E. system

Communication Units

Communication Unit of A.R.I.S.E. System

Friday 12 April 2013

Measurement Unit Presentation


Measurement Units

  • Two measurement devices used in A.R.I.S.E. system
  • Load cell is used to measure the weight of riders
  • Accelerometer is used to detect when the ride is in motion and the speed of the ride

Load Cell



  • Strain Gauges are mounted on the part of the device that will bend the most





  • Change in length of Resistance affects Voltage






  • The measured voltage of the strain gauge is proportional to the mass bending the beam however it is not linear


  • Bridge circuit is developed due to the very small changes in resistance that needs the be measured
  • This configuration allows it be less affected by the changes in temperature




  • To amplify the small signal, an Instrumentation Amplifier (AD620AN) is used



  • Diode configuration is used to limit the input voltage of the micro-controller


  • Zeroing circuit is used to calibrate the Load Cell



  • Two load cell devices will be placed at both ends of the seat to detect the weight of each rider


  • This is the algorithm that is used to detect when a rider is not properly seated
  • large safety margin is used to compensate for the rider's body shifting during the ride operation
  • Once warning has triggered, it will remain on until the person has returned to their seat or the ride has come to a complete stop

Implementing The Load Cell

  • AD1PCFG is a mask used to determine which pins will be configured as analog or digital (0=digital, 1= analog)
  • AD1CON1 is a register that sets the conversion start automatically
  • AD1CSSL determines if a scanning function is required
  • AD1CON2 uses MUXA and connects the AVdd and AVss pins to the ADC reference inputs
  • AD1CON3 is a register that is used to configure the clock

Steps to setting up the ADC Controller

  1. Select the Input Channel (AD1CHS)
  2. Start the sampling and the conversion (AD1CON1bits.SAMP)
  3. Wait for the conversion to complete
  4. read the value from the buffer (ADC1BUF0)

Accelerometer


  • Accelerometer used is the MEMSIC 2125 dual axis accelerometer
  • capable of measuring the force along the x and y axis
  • allows tilt angle, g force, and speed to be measured by manipulating the data and performing calculations

  • Accelerometer produces a pulse width modulated signal which is read by detecting the rising and falling edges of the signal
  • Two interrupt service routines are required to measure on both x and y axis
  • The time between the rising edges is the period and the time between the rising and falling edge is the duty cycle
  • The duty cycle is used to determine the amount for that is experienced by the accelerometer

  • The ride speed is determined by measuring the time difference between two peaks in G force
  • On a hypocycloid type ride this will be equal to one rotation






Wireless Presentation


Application

Features
  • Establish link between measurement unit and data collection unit
  • Transmit RPM speed, measurement data









Hardware Operations

Universal Asynchronous Receiver/Transmitter (UART)

  • Transmit data in 8 bits, Low start bit, High stop bit, High Idle

Internal XBee data flow diagram
  • Flow control with CTS pin (high to stop when buffer less than 34 bytes of memory)
  • Possible to eliminate flow control to simplified programming scheme





XBee configuration

  • X-CTU program
  • Modem configuration

XBee #1
XBee #1
Channel
13
Channel
13
PAN ID
8788
PAN ID
8788
DH
0
DH
0
DL
10
DL
11
MY
11
MY
10
Baud (BD)
9600
Baud (BD)
9600








Implementation


PIC24 configuration

UART baud rate with BRGH = 0 (16 clock per bit period)



UART baud rate with BRGH = 1 (4 clock per bit period)


Both equation based on FCY = FOSC/2; Doze mode and PLL are disabled. 


PIC24 clock diagram

External Oscillator


  • Baud rate requires steady oscillating frequency
  • Stabilize clock frequency
  • Invariant due to temperature 


  • Compose of resistor and capacitor
  •  The frequency is calculated by 1/T, where T is the time constant is given by multiplying the resistance and capacitance together. 


 External Clock (EC mode)






External Oscillator (LP, XT or HS)




Ceramic Resonators









UART Operation

Arduino Connections

  • Serial communication interface
  • Arduino can direct translate the message using input/output ports