예제 #1
0
 public void setCapacitance(double cap) {
   this.capacitance = cap;
   this.timeConstant = cap * this.resistance;
   this.calcPolesZerosS();
   super.sDenom = ComplexPoly.rootsToPoly(this.sPoles);
   super.addDeadTimeExtras();
   this.setC = true;
 }
예제 #2
0
 // Constructor
 // Sets time constant to unity and the order to unity
 public LowPassPassive() {
   super("Passive Low Pass Filter");
   super.setSnumer(new ComplexPoly(1.0D));
   super.setSdenom(new ComplexPoly(1.0D, 1.0D));
   super.setZtransformMethod(1);
   super.addDeadTimeExtras();
   this.timeConstant = 1.0D;
 }
예제 #3
0
 public void setTimeConstant(double tau) {
   this.timeConstant = tau;
   this.calcPolesZerosS();
   super.sDenom = ComplexPoly.rootsToPoly(this.sPoles);
   super.addDeadTimeExtras();
 }