Skip to content
Discussion options

You must be logged in to vote

Your physical intuition is correct: the real plant remains continuous. However, for sample-to-sample analysis of a digitally controlled loop, you still need a discrete equivalent of the plant.

That conversion does not mean the physical plant becomes discrete. c2d(Gp, Ts, method="zoh") represents the map from one sampling instant to the next under the assumption that the controller output is held constant between updates by a zero-order hold.

The construction in the question:

T_s = ct.feedback(Gp * Gc)
T_z = ct.c2d(T_s, Ts, method="zoh")

first creates a fully continuous closed loop, in which Gc acts continuously, and only then samples that closed loop. It therefore does not represent a dig…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by oneEclipseUser1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants