MATLAB SETUP
- Make sure to be connected to JPL VPN if not on JPL network already when opening matlab.
On-Time Tuning
- Manually move all cobras (not just the ones of interest) to home positions (make sure you have gloves on)
- Generate ROM Scripts using Matlab function:
Dropbox\PFS_EM\SVN\MATLAB\ontimeTuning.m
- ROM Script filenames shall follow the convention: YYYY_MM_DD_(theta/phi)(Fwd/Rev)_onTimeTuning.lst (Example: 2014_06_09_thetaFwd_onTimeTuning.lst)
- Execute ROM Scripts with MSIM
- Change names of test directories to follow convention: MM_DD_YY_HH_MM_SS_(theta/phi)(Fwd/Rev)_onTimeTuning
- Start the Cobra ROM check script
- All 9 positioners should move to +HS with assumed on-time settings
- At the first pause in the script, check that theta and phi are in +HS
- Resume script
- When script is complete, check that theta and phi are in their -HS (home pos)
- If theta and phi did not reach their hard-stops then on-time values assumed by on-time tuning script may need to be adjusted.
Target Convergence Analysis
- Copy MSIM target log dir on testbed computer (eg: D:\PfsTests\06_16_14_10_36_21_TargetRun\Log) to the drobox test results target convergence folder (Dropbox\PFS_EM\TEST_RESULTS\TargetConvergence\). Rename the log directory in dropbox to have the same name as the mother directory on testbed computer (eg: 06_16_14_10_36_21_TargetRun). This directory will now be referred to as the test directory here.
- Copy (DON'T MOVE) the following script into the test directory from step 1: Dropbox\PFS_EM\TEST_RESULTS\TargetConvergence\analyzeTargetRun.m
- Move the appropriate CobraConfig xml used by MSIM into the test directory. Note that this file must begin with "CobraConfig"
- Make the test directory the current working directory in Matlab
- Run analyzeTargetRun from Matlab.
- When prompted, select the appropriate xml which was used for the MSIM test. The one you moved into test directory.
- Run the script and the figures and mat files will be saved to the same log directory as the log txt files are in.
Target Convergence Comparisons
- Run the target convergence analysis on data you wish to compare. The mat files from that script are needed for this comparison.
- Open the matlab script: Dropbox\PFS_EM\SVN\MATLAB\convCompare.m
-
Motor Map Damping Analysis
This topic: Subaru/PFS
> WebHome >
POSitionerEM > POSEM_PROC
Topic revision: r6 - 2014-06-18 - ChazMorantz