ROCK IT ROCKE FULL MISSION SIMULATION TEST REPORT

  • Slides: 16
Download presentation
ROCK IT ROCKE FULL MISSION SIMULATION TEST REPORT Temple University Advisors: Dr. John Helferty

ROCK IT ROCKE FULL MISSION SIMULATION TEST REPORT Temple University Advisors: Dr. John Helferty Charles Wright Jinyan Chen Billy Cheng Brittany Gray May 12, 2010 1

Mission Overview Design, Build, And Test A Vibration Suppression System To Counteract Launch Vehicle

Mission Overview Design, Build, And Test A Vibration Suppression System To Counteract Launch Vehicle Vibrations Measure The Vibration Environment Inside The Terrier-Orion Rocket Will Use Two Identical Vibration Measurement Systems ○ A Custom Built Passive Damping System ○ Rigidly Attached System 2

Changes Since Subsystem Integration Changed Microcontroller To Basic Stamp 2 (BS 2) Programming Language

Changes Since Subsystem Integration Changed Microcontroller To Basic Stamp 2 (BS 2) Programming Language – Basic High And Low Z-Axis and Low X-Y Monitored Same Flash, Level Shifter, and Power Supply -- With G-Switch And RBF External Analog To Digital Converters ADC 0831 Used For Each Accelerometer 3

Pictures Schematic Including The BS 2 Microcontroller 4

Pictures Schematic Including The BS 2 Microcontroller 4

Pictures Up-Close Of BS 2, ADC 0831, Z-Accelerometers, And RS 232 Interface 5

Pictures Up-Close Of BS 2, ADC 0831, Z-Accelerometers, And RS 232 Interface 5

Pictures Z-Axis Accelerometer Board 6

Pictures Z-Axis Accelerometer Board 6

Pictures Prototype 7

Pictures Prototype 7

Test Description Electrical Integrating New Microcontroller With Existing Components Read Accelerometer Data Through ADC

Test Description Electrical Integrating New Microcontroller With Existing Components Read Accelerometer Data Through ADC 0831 Erase Flash Memory Write Acc. Data To Flash Memory We Were Able To Log The Required Data ○ Our Test Duration Was For Short Periods ○ Ensured That Data Was Being Logged 8

Test Results Debug Pictures Of Data Out From Z-Axis Acceleromete rs 9

Test Results Debug Pictures Of Data Out From Z-Axis Acceleromete rs 9

Test Results Using Vref(5 V)/256 * Acc. Data = Outcoming Volts Calibration of Z-Axis

Test Results Using Vref(5 V)/256 * Acc. Data = Outcoming Volts Calibration of Z-Axis Accelerometers 10

Overall Analysis Currently Not Ready For Launch And Collectively, We Are Some Busy, Unhappy

Overall Analysis Currently Not Ready For Launch And Collectively, We Are Some Busy, Unhappy Students We Still Must Complete PCB Printing – Order Should Be Out By This Week ○ Soldering And Mounting Of Components With PCB Board And Plates 11

Lessons Learned We Must Have A Backup Plan Don’t Be Scared To Resort To

Lessons Learned We Must Have A Backup Plan Don’t Be Scared To Resort To It Work In Parallel With Other Group Members Our Major Problem “Bottlenecked” All Progress Everyone Was Focused On Immediate Issue Difficult To Decipher Someone’s Code 12

Conclusions Initializing Memory (Chip Erase) Takes Too Long Attempt To Erase Memory Block By

Conclusions Initializing Memory (Chip Erase) Takes Too Long Attempt To Erase Memory Block By Block (64 kb Sectors) Can Log Data To Lower Order Address (000000 h-00 FFFFh) Will try to log data to higher order address More Mechanical Tests Need To Be Done

Thank you Questions? 14

Thank you Questions? 14

Appendix: Code ' {$STAMP BS 2} ' {$PBASIC 2. 5} '---------Variables-------------------------addhi VAR Byte 'high

Appendix: Code ' {$STAMP BS 2} ' {$PBASIC 2. 5} '---------Variables-------------------------addhi VAR Byte 'high byte of address location addlomi VAR Word 'low 16 bits of address location cmd VAR Byte ' command, to be sent by the Stamp adrs VAR Byte ' which byte on page dat VAR Byte 'data in stat. One VAR Byte stat VAR Byte 'status register result VAR Byte ' ADC 8031 Result result. One VAR Byte volts VAR Word ' Volts (0. 01 Increments) ix VAR Byte ' general purpose index x VAR Byte ' general purpose byte '-------------------------------------------'------Connection Lines---------------------Adc 0831 PIN 0 ' ADC 0831 Chip Select Adc 0832 PIN 10 Adc. Clock PIN 2 ' ADC 0831 Clock Adc. Clock. One PIN 11 Adc. Data PIN 1 ' ADC 0831 Data Adc. Data. One PIN 12 cs CON 8 ' chip SELECT line clk CON 5 ' clock line so CON 7 ' data output line si CON 6 ' data input line '------------------------'--------Variable Initializing------addhi = $00 addlomi = $0000 '------------------------ '-----------Main Program-------GOSUB counter END counter: '--------------'DEBUG CR, DEC addhi 'GOSUB erase 'GOSUB echip GOSUB unprotect GOSUB erase DEBUG "write sensor 1 read sensor 1 write sensor 2 read sensor 2", CR DO WHILE (addhi < $20) addlomi = addlomi +$8 IF (addlomi = $0000)THEN addhi = addhi + $1 ENDIF DEBUG HEX addhi, " ", HEX addlomi, CR GOSUB prgm GOSUB rd addlomi=addlomi+$8 IF(addlomi=$0000)THEN addhi=addhi+$1 ' GOSUB erase ENDIF GOSUB prgm. One GOSUB rd DEBUG CR LOOP RETURN

enable: '-----------'write enable cmd = $06 'opcode for write enable LOW cs 'CS low

enable: '-----------'write enable cmd = $06 'opcode for write enable LOW cs 'CS low SHIFTOUT so, clk, MSBFIRST, [cmd8] 'sets WEL bit to 1 in status register HIGH cs 'CS high RETURN rd: '--------'read from memory cmd = $0 B LOW cs SHIFTOUT so, clk, MSBFIRST, [cmd8, addhi8, addlomi16, 08] SHIFTIN si, clk, MSBPRE, [stat8] HIGH cs disable: '--------'disable write cmd = $04 LOW cs SHIFTOUT so, clk, MSBFIRST, [cmd8] HIGH cs RETURN DEBUG " unprotect: '-------------------'performing a global unprotect of flash GOSUB accel GOSUB log GOSUB disable GOSUB enable cmd = $01 'opcode for global unprotect dat = $00 'sets the status at unprotect LOW cs SHIFTOUT so, clk, MSBFIRST, [cmd8, dat8] HIGH cs RETURN ", DEC stat, " " log: '-----------------------'writing commands to the flash GOSUB enable cmd = $02 LOW cs SHIFTOUT so, clk, MSBFIRST, [cmd8, addhi8, addlomi16, result8] HIGH cs DEBUG " ", DEC result, " " RETURN prgm: '---------------------'_____________________ _ prgm. One: '---------------------'_____________________ _ GOSUB accel. One GOSUB log. One GOSUB disable RETURN log. One: GOSUB enable cmd = $02 LOW cs SHIFTOUT so, clk, MSBFIRST, [cmd8, addhi8, addlomi16, result. One8] HIGH cs DEBUG DEC result. One, " " RETURN accel: '---------------------'logging accelerometer data into memory HIGH Adc 0831 result = 0 LOW Adc 0831 SHIFTIN Adc. Data, Adc. Clock, MSBPOST, [result9] HIGH Adc 0831 RETURN accel. One: '---------------------'logging accelerometer data into memory HIGH Adc 0832 result. One = 0 LOW Adc 0832 SHIFTIN Adc. Data. One, Adc. Clock. One, MSBPOST, [result. One9] HIGH Adc 0832 RETURN