cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

## bode plot transfer function? mathcad prime4  2-Guest

## bode plot transfer function? mathcad prime4 I'm trying to make a bode plot, what am I doing wrong? and how should I do?

7 REPLIES 7  23-Emerald I
(To:aingemarson)

Dunno!

Attached is your sheet redone in Prime 3.0, with results  (should be readable using 4.0)  24-Ruby V
(To:aingemarson)

@aingemarson wrote:
I'm trying to make a bode plot, what am I doing wrong? and how should I do?

Its hard to impossible to debug a picture. So you should provide your Prime sheet.

Chances are that you had defined omega somewhere above the calculations you show.

So you may decide to redefine omega as a range similar to what Fred had shown or use a differently named variable for plotting.  2-Guest
(To:Werner_E)  23-Emerald III
(To:aingemarson)

Ah, so you did type C1(... instead of C1*(...

Luc  24-Ruby V
(To:aingemarson)

Luc's guess was correct - you wrote a function call C1(rc+R1) instead of a multiplication C1*(rc+R1).

But there is a second error, too, which will make your phase plot fail. You typed square brackets [] instead of parentheses (). Square brackets mean that you create a matrix/vector!

Correcting these two errors, maybe adding a range variable  to select the frequency range for plotting and use a log scale should give you the plots you are looking for.

BTW, you can create a true omega if you type a w and then Type Ctrl G.   21-Topaz II
(To:Werner_E)

rc * C1 is a time constant, i.e. it has the dimension of a time (second). The complex variable s can be defined as a complex angular frequency (pulsation) with dimension second ^ (- 1).

So s * rc * C1 is dimensionless. This must also apply to the denominator. It does not have a physical meaning to add a resistance to a capacity ... so the denominator must be (C1 * (rc + R1) + C2 * R1) s + C1 * C2 * rc * R1 * (s ^ 2).   23-Emerald III
(To:aingemarson)

You've probably typed C1(rc+R1) instead of C1*(rc+R1). Now Prime tries to evaluate the function C1.

Or did you define w somwhere upwards? Success!
Luc Announcements
Top Tags