| 
            Last change
 on this file since 408 was             394, checked in by ansari, 26 years ago           | 
        
        
          | 
             
Integration detecteur d'etoiles DY 
 
           | 
        
        
          | 
            File size:
            1001 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #include "transfelec.h"
 | 
|---|
| 2 | 
 | 
|---|
| 3 | 
 | 
|---|
| 4 | // Parametres du circuit electrique de lecture SST
 | 
|---|
| 5 | // Valeurs Importantes du circuit electrique: 4 filtres
 | 
|---|
| 6 | 
 | 
|---|
| 7 | static double T1=0.15;          static double C1=1.5e-9;        // Farad
 | 
|---|
| 8 | static double T2=5.e-4;                                                                 // secondes
 | 
|---|
| 9 | static double R2=1.E9;                                                                  // Ohm
 | 
|---|
| 10 | static double T3=4.7e-3;                                                                // secondes
 | 
|---|
| 11 | static double R4=1.e5;          static double R3=1.8e3;         // Ohm
 | 
|---|
| 12 | static double T4=4.84e-3;
 | 
|---|
| 13 | 
 | 
|---|
| 14 | 
 | 
|---|
| 15 | Dcomplex TransFuncElec::TsFunc(double w){
 | 
|---|
| 16 |         Dcomplex tempComp= H1(w)*H2(w)*H3(w)*H4(w);                     // Omega en radian/s
 | 
|---|
| 17 |         return tempComp;
 | 
|---|
| 18 | }
 | 
|---|
| 19 | 
 | 
|---|
| 20 | Dcomplex TransFuncElec::H1(double w) {
 | 
|---|
| 21 |         Dcomplex tempComp=jImagPur*T1*w/(1.+jImagPur*T1*w);     // passe haut
 | 
|---|
| 22 |         return tempComp;
 | 
|---|
| 23 | }
 | 
|---|
| 24 | 
 | 
|---|
| 25 | Dcomplex TransFuncElec::H2(double w) {
 | 
|---|
| 26 |         return R2/(1.+jImagPur*T2*w);           // passe bas leger
 | 
|---|
| 27 | }
 | 
|---|
| 28 |                 
 | 
|---|
| 29 | Dcomplex TransFuncElec::H3(double w) {
 | 
|---|
| 30 |         return 1.+ R4/(R3*(1.+jImagPur*T3*w));  // passe bas dominant n°1
 | 
|---|
| 31 | }
 | 
|---|
| 32 |                 
 | 
|---|
| 33 | Dcomplex TransFuncElec::H4(double w) {
 | 
|---|
| 34 |         if (w==0.) return 0.;
 | 
|---|
| 35 |         else return 1./(1.+jImagPur*T4*w);              // passe bas dominant n°2
 | 
|---|
| 36 | }
 | 
|---|
| 37 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.