Items tagged with bode bode Tagged Items Feed

I have been having problems with using the BodePlot function with units:

 

R1 := 18.2*10^3*Unit('Omega');

R2 := 10^3*Unit('Omega');

C1 := 470*10^(-12)*Unit('F');

C2 := 4.7*10^(-9)*Unit('F');

# wo is in hertz

wo := 1/sqrt(R1*R2*C1*C2);

# Q is unitless

Q := wo*R1*R2*C2/(R1+R2)

 

with(DynamicSystems);

sys := TransferFunction(wo^2/(s^2+wo*s/Q+wo^2));

 

This is the error message I got:

Error, (in Units:-Standard:-+) the units `1` and `Hz` have incompatible dimensions

 

I think the problem is that the BodePlot function doesn't expect 'wo' to have units.  

So I tried to work around the issue by using the loglogplot but it doesn't seem to like 

complex function even when I used abs to find the magnitude (with or without units).

 

 Any workaround is appreciated.

How does one adjust the aspect ratio for Maple plot? I actually searched for aspect ratio for Maple on google and not able to find much of anything. Help does not have such phrase. May be it called something else in Maple? The reason I ask, is that when I change the size of bode plot, the aspect ratio become bad. So I need a way to adjust that. Here is an example

restart:
alias(DS=DynamicSystems):
sys:=DS:-TransferFunction(5*s/(s^2+4*s+25)):
DS:-BodePlot(sys,range=0.1..100);

Now if I do

DS:-BodePlot(sys,range=0.1..100,size=[300,"default"]);

I am finding so many problems with Bodeplot in Maple, but this is for another time. I think it needs much more polishing

Maple 18, windows 7

Hi Guys,

I am trying to do the following and here is the issue:

> System*Transfer*Functions;
Power Stage Transfer Function:
> He := s^2/`ωn`^2+s/(`ωn`*Qn)+1;
>
Compensation Netwrok Transfer Function:
> Av := gm*(1+s/`ωcz1`)(1+s/`ωcz2`)/((Cc+Rc)*s*(1+s/`ωcp`));

>
Loop Transfer Function:
> Loop := Vref*RL*(1+s/`ωesr`)*Av/(Vout*Ri*(1+s/`ωp1`)*He);

> sys3 := TransferFunction(Loop);

Warning, transfer-function(s) are not rational-polynomial(s) in s

 

I want to do the TF and Bode Plot for this complex system... 

Hello,

I use the module DynamicSystem to transform a state system in transfer functions. Next, i can plot Bode diagram with this module.

However, i have a little problem. I don't manage to extract only one transfer function from a dynamic system when i have several transfer functions (see example below)


I'd like to plot the first transfer function alone in fact. How can i extract y1(s) ?

Hi all,

There is a state space system as follows:

X_dot = A.X + B.U

Y = C. X

The transfer function of this system is

H(s) = C. (sI-A)-1.B                 (1)

H(s), that is calculated in Maple by using the formula (1), is very complex (please see the attached file).

Would you please show me how to find the transfer function of the system? 

In addition, how to plot its bode plot?

Hi all,

I am trying to plot multiple ODE plots in Maple 16. I can do them all separately, but cannot figure out how to make to solutions appear in the same plot. I have numeric solutions for sol1 and sol2, and I want to plot A(t), t for each one (together).

Thanks for the help!

Hi there,

I am using the bodeplot function to plot three transfer functions, and for this I need to specify each one with a different color set. I can use the color="blue", but that assigns all the transfer functions to blue. How can I differiante between them?

Impedance_plots_afte.mw

 

 

 

 

> restart:
with(DynamicSystems):
> sys := TransferFunction(1/((1+0.1*s)(1+0.002*s+0.0001*s^2)));
> BodePlot(sys,range=10^(-1)..10^(3));

I get the following warning:
 
             Warning, transfer-function(s) are not rational-polynomial(s) in s



Why?.. How can I make it work without any warning?

Thanks everybody for help!
 
 
Page 1 of 1