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).
- Check that the target logs do not contain any #INF entries by using a linux environment and running: cat mId*.txt | grep INF
- If #INF are found, run this from linux env in the test dir to replace the #INF instances with a large number: sed -i 's/#INF/1000000/g' *.txt
- Open up the matlab script targConvAnlys script in matlab (Dropbox\PFS_EM\SVN\MATLAB\targConvAnlys.m)
- Change the logdir to the one containing the msim target logs
- Update the config file to latest version or whatever is appropriate for this test run.
- Change save figures variable to whatever you want depending on if you want figures saved.
- 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
- 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: r4 - 2014-06-17 - ChazMorantz