40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  Coating Ring-down Measurement Lab elog  Not logged in ELOG logo
Message ID: 375     Entry time: Mon Jul 24 09:13:45 2017
Author: Zach 
Type: Electronics 
Category: Modeling 
Subject: Parametric Sweep 


  • I wrote a MATLAB script that is capable of sweeping parameters, the code is attached. The next step is to create nested loops so that I can sweep multiple parameters in a single run. I also should add a function in the script to eliminate the modes that cannot be measured by the experimental setup.
  • My first sweep was for the gap between electrodes and swept from 1 to 2 mm. In the plot the gap grows from steps 1 to 6 and the only obvious effect in the plot is a decrease in force from the highest mode. Intuitively it makes sense that a wider gap would decrease the force because the electric field is diminished by spreading out the electrodes.
  • I would like to add a parameter for the overlap of the electrodes, but this would require substantial redesigning of the COMSOL model due to the multilevel dependency on parameters. 

Attachment 2: forcesweep.m  174 Bytes  | Hide | Hide all
fpro = zeros(6, 27);
no = 1;
for count = 1:.2:2
    gap = strcat(num2str(count), ' [mm]')
    model = fst2(gap);
    fpro(no, :)= product(:);
    no = no + 1;
ELOG V3.1.3-