Items tagged with bode


you write:

Hi dear friends. Recently, I am troubled by a question of how to draw an exictation-response diagram in Maplesoft.

I would like to draw an excitation-response diagram with following equation, Ω is greatrer or equal to 0:



But, when I would like to use Bode diagram in Maple to draw it, it looks very differently.

Maybe I use a wrong function to draw it.

In the book, the diagram takes the form:


Thanks a lot for taking a lookDiagram in book.

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)



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


Now if I do


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... 


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,

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?





> restart:
> 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