MATLAB Designing a Transfer Function in MATLAB for Servo Motor Control

Click For Summary
The discussion centers on using MATLAB to design a transfer function for controlling a servo motor through the Polynomial Equations Approach, specifically utilizing the Sylvester Matrix E. The user is attempting to create a controller (M) based on the relationship defined by the Diophantine equation D = a(z)A(z) + b(z)B(z), where B(z) is the plant transfer function and A(z) is another transfer function. The user notes that while the plant transfer function is controllable, the relevant lines are not included in the MATLAB code shared via a link. The user expresses frustration over difficulties in debugging the code and seeks assistance from others in the forum.
Ethers0n
Messages
27
Reaction score
0
This post is cross listed at the below url
https://www.physicsforums.com/showthread.php?t=73985

I'm attempting to use MATLAB to solve an electrical engineering problem dealing with controls...

I'm trying to design a transfer function which will control a servo motor using what is often referred to as the Polynomial Equations Aproach.

The approach uses the Sylvester Matrix E to produce a controller for a transfer function.

M = desired controller
E = Sylvester Matrix
D = Diophantine Value = a(z)A(z) + b(z)B(z)
where
PLant Transfer function = B(z)
------
A(z)
a(z) and b(z) are unique polynomials which you multiply A(z) and B(z) by to get your desired state...

To keep from getting everything congested, I'll not post the code here. It is at the link above. (is there a better way to display the code next time?)

Basically, I've been over the MATLAB code so many times my eyes are bleeding and I still can't figure it out...if anyone could I take a look, I'd appreciate it...

The plant transfer functin is controllable, but I didn't include those lines in the MATLAB code.

Thank you.
 
Physics news on Phys.org
sorry, that's suppossed to be
B(z)/A(z) = D

darn formatting...
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
526
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K