I wanted to make this system so that there is zero steady-state error when there is a ramp input.
As far as I know there is no steady-state error in a type 2 system so to turn G(s), a type 1 system to type 2 system I add an integrator (1/s) so that there will be 2 poles at the origin thus making the system type 2 but by doing this the system become unstable and no matter how I adjust the gain it is still unstable because there will always be a positive pole.
And as far as i know to fix this, i have to add a lead or lag compensator but the problem is i dont know how to design one. I watch a lot of videos in youtube regarding designing a lead/lag compensator but i still dont understand. Hopefully someone can help me with the design of this compensator.
I think that is how and what i am suppose to do to ^