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  Tue Nov 29 18:31:40 2011, Den, Update, digital noise, Foton error 
    Reply  Thu Dec 1 18:30:39 2011, Vladimir, Den, Update, digital noise, Foton error 
       Reply  Fri Dec 2 17:43:46 2011, rana, Update, digital noise, Foton error 
          Reply  Wed Dec 7 20:55:44 2011, Vladimir, Den, Update, digital noise, Matlab error gain_cmp.png
Message ID: 6041     Entry time: Tue Nov 29 18:31:40 2011     Reply to this: 6061
Author: Den 
Type: Update 
Category: digital noise 
Subject: Foton error 

 In the previous elog we've compared Matlab and Foton SOS representations using low-order filter. Now we move on to high order filters and see that Foton is pretty bad here.

We consider Chebyshev filter of the first type with cuf off frequency 12 Hz and ripple 1 dB. In the table below we summarize the GAINS obtained by Matlab and Foton for different digital filter orders.

Order Matlab Foton
2 5.1892960e-06 5.1892960e-06
4 6.8709377e-12 6.8709378e-12
6 5.4523201e-16 9.0950127e-18
8 5.3879305e-21 1.2038559e-23






We can see that for high orders the gains are completely different (ORDER of 2!!!). Interesting that besides of very bad GAIN, SOS-MATRIX Foton calculates pretty well. I checked up to 5 digit - full coincidence. Only GAIN is very bad.

The filter considered is cheby1("LowPass",6,1,12) and is a part of the bad Cheby filter where we loose coherence and see some other strange things.

ELOG V3.1.3-