40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Wed Feb 24 22:13:47 2021, Jon, Update, CDS, Planning document for front-end testing 
    Reply  Fri Mar 5 17:48:25 2021, Jon, Update, CDS, Front-end testing image_67203585.JPGimage_67216641.JPGimage_17185537.JPG
       Reply  Tue Mar 9 16:52:47 2021, Jon, Update, CDS, Front-end testing image_72192707.JPG
          Reply  Tue Mar 16 16:27:22 2021, Jon, Update, CDS, Front-end testing 
             Reply  Tue Mar 16 19:04:20 2021, gautam, Update, CDS, Front-end testing 
             Reply  Fri Mar 19 18:14:56 2021, Jon, Update, CDS, Front-end testing image_72192707_(1).JPGimage_50412545.JPG
                Reply  Wed Mar 24 19:02:21 2021, Jon, Update, CDS, Front-end testing 
                   Reply  Mon Mar 29 17:55:50 2021, Jon, Update, CDS, Front-end testing 
                      Reply  Tue Mar 30 18:21:34 2021, Jon, Update, CDS, Front-end testing 
                      Reply  Tue Apr 6 07:19:11 2021, Jon, Update, CDS, New SimPlant cymac 
                         Reply  Tue Apr 6 11:13:01 2021, Jon, Update, CDS, FE testing 
                            Reply  Sat Apr 10 08:51:32 2021, Jon, Update, CDS, I/O Chassis Assembly 
                               Reply  Thu Apr 29 10:51:35 2021, Jon, Update, CDS, I/O Chassis Assembly 
                                  Reply  Tue May 4 07:38:36 2021, Jon, Update, CDS, I/O Chassis Assembly Screen_Shot_2021-05-03_at_4.16.06_PM.png
                                     Reply  Tue May 11 16:29:55 2021, Jon, Update, CDS, I/O Chassis Assembly Screen_Shot_2021-05-11_at_3.03.42_PM.png
                                        Reply  Tue May 11 17:43:09 2021, Koji, Update, CDS, I/O Chassis Assembly 
                                           Reply  Fri May 28 11:16:21 2021, Jon, Update, CDS, Front-End Assembly and Testing c1bhd.pnggds_tp.pngteststand.jpegbench_supply.jpeg
                                              Reply  Sun Jun 6 08:42:05 2021, Jon, Update, CDS, Front-End Assembly and Testing c1bhd.png16bit_dacs.pngmyricom.png
                                                 Reply  Tue Jun 22 16:53:01 2021, Ian MacMillan, Update, CDS, Front-End Assembly and Testing 
                                                    Reply  Thu Jun 24 17:32:52 2021, Ian MacMillan, Update, CDS, Front-End Assembly and Testing C1-SU2_Channel_Responses.pdfC1-BHD_Channel_Responses.pdfCDS_Channel_Test.zip
                                                       Reply  Fri Jun 25 14:06:10 2021, Jon, Update, CDS, Front-End Assembly and Testing test_stand.JPG
                         Reply  Sat Apr 10 11:56:14 2021, Jon, Update, CDS, 40m LSC simPlant model x1lsp_main.png
                            Reply  Tue Apr 13 16:24:38 2021, Ian MacMillan, Update, CDS, 40m LSC simPlant model 
                               Reply  Mon Apr 19 13:15:20 2021, Ian MacMillan, Update, CDS, 40m LSC simPlant model 
                                  Reply  Wed Apr 21 10:03:01 2021, Ian MacMillan, Update, CDS, 40m LSC simPlant model Overview.png
                                     Reply  Wed Apr 21 11:01:37 2021, Rana, Update, CDS, 40m LSC simPlant model 
                                     Reply  Fri Apr 23 15:52:19 2021, Ian MacMillan, Update, CDS, 40m LSC simPlant model Plant_framework.pdfSimple_Plant.pdfControls.pdf
                                        Reply  Sun Apr 25 21:21:02 2021, rana, Update, CDS, SUS simPlant model 
                                           Reply  Tue Apr 27 15:15:17 2021, Ian MacMillan, Update, CDS, SUS simPlant model x1sus_single_plant.pdfx1sup.pdf
                                              Reply  Thu Apr 29 13:41:40 2021, Ian MacMillan, Update, CDS, SUS simPlant model Non-IPC_Plant.pdf
                                                 Reply  Fri Apr 30 12:52:14 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                    Reply  Mon May 3 13:35:12 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                       Reply  Tue May 4 14:55:38 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                          Reply  Wed May 5 15:11:54 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                             Reply  Thu May 6 16:13:24 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                                Reply  Fri May 7 11:19:29 2021, Ian MacMillan, Update, CDS, SUS simPlant model 
                                                                   Reply  Wed May 12 13:06:15 2021, Ian MacMillan, Update, CDS, SUS simPlant model SimplePlant_SingleContr.pdfx1sup_isolated.pdfX1SUP_ISOLATED_GDS_TP.pngX1SUP_ISOLATED_C1_SUS_SINGLE_PLANT_Plant_POS_Mod.png
                                                                      Reply  Fri May 21 09:44:52 2021, Ian MacMillan, Update, CDS, SUS simPlant model Transfer_Function_of_Damped_Harmonic_Oscillator.pdf
                                                                         Reply  Fri May 21 14:36:20 2021, Ian MacMillan, Update, CDS, SUS simPlant model Plant_Mod_TF.pdf
                                                                            Reply  Thu Jun 3 13:06:47 2021, Ian MacMillan, Update, CDS, SUS simPlant model SingleSusPlantTF.pdfSUS_PLANT_TF.zip
                                                                               Reply  Mon Jun 7 17:49:19 2021, Ian MacMillan, Update, CDS, SUS simPlant model SingleSusPlantTF.pdfTF_Graph_Code.zip
                                                                                  Reply  Wed Jun 9 13:50:48 2021, Ian MacMillan, Update, CDS, SUS simPlant model SingleSusPlantTF.pdf
                                                                                     Reply  Tue Jun 15 11:46:40 2021, Ian MacMillan, Update, CDS, SUS simPlant model x1sup_isolated-6-15-v1.pdfC1_SUS_SINGLE_PLANT-6-15-v1.pdf
                                                                                     Reply  Wed Jun 30 14:09:26 2021, Ian MacMillan, Update, CDS, SUS simPlant model SingleSusPlantTF.pdfPlant_TF_Test.zip
                                                                                        Reply  Mon Aug 23 15:25:59 2021, Ian MacMillan, Update, CDS, SUS simPlant model SimPlantStateSpace.zip
Message ID: 16230     Entry time: Wed Jun 30 14:09:26 2021     In reply to: 16195     Reply to this: 16289
Author: Ian MacMillan 
Type: Update 
Category: CDS 
Subject: SUS simPlant model 

I have looked at my code from the previous plot of the transfer function and realized that there is a slight error that must be fixed before we can analyze the difference between the theoretical transfer function and the measured transfer function.

The theoretical transfer function, which was generated from Photon has approximately 1000 data points while the measured one has about 120. There are no points between the two datasets that have the same frequency values, so they are not directly comparable. In order to compare them I must infer the data between the points. In the previous post [16195] I expanded the measured dataset. In other words: I filled in the space between points linearly so that I could compare the two data sets. Using this code:

#make values for the comparison
tck_mag = splrep(tst_f, tst_mag) # get bspline representation given (x,y) values
gen_mag = splev(sim_f, tck_mag) # generate intermediate values
dif_mag=[]
for x in range(len(gen_mag)):
    dif_mag.append(gen_mag[x]-sim_mag[x]) # measured minus predicted

tck_ph = splrep(tst_f, tst_ph) # get bspline representation given (x,y) values
gen_ph = splev(sim_f, tck_ph) # generate intermediate values
dif_ph=[]
for x in range(len(gen_ph)):
    dif_ph.append(gen_ph[x]-sim_ph[x])

At points like a sharp peak where the measured data set was sparse compared to the peak, the difference would see the difference between the intermediate “measured” values and the theoretical ones, which would make the difference much higher than it really was.

To fix this I changed the code to generate the intermediate values for the theoretical data set. Using the code here:

tck_mag = splrep(sim_f, sim_mag) # get bspline representation given (x,y) values
gen_mag = splev(tst_f, tck_mag) # generate intermediate values
dif_mag=[]
for x in range(len(tst_mag)):
    dif_mag.append(tst_mag[x]-gen_mag[x])#measured minus predicted

tck_ph = splrep(sim_f, sim_ph) # get bspline representation given (x,y) values
gen_ph = splev(tst_f, tck_ph) # generate intermediate values
dif_ph=[]
for x in range(len(tst_ph)):
    dif_ph.append(tst_ph[x]-gen_ph[x])

Because this dataset has far more values (about 10 times more) the previous problem is not such an issue. In addition, there is never an inferred measured value used. That makes it more representative of the true accuracy of the real transfer function.

This is an update to a previous plot, so I am still using the same data just changing the way it is coded. This plot/data does not have a Q of 1000. That plot will be in a later post along with the error estimation that we talked about in this week’s meeting.

The new plot is shown below in attachment 1. Data and code are contained in attachment 2

Attachment 1: SingleSusPlantTF.pdf  21 kB  | Show | Hide all | Show all
Attachment 2: Plant_TF_Test.zip  36 kB  Uploaded Wed Jun 30 15:09:31 2021
ELOG V3.1.3-