Not sure how to answer this. Evaluating from the mathematical perspective, you can probably understand the following and implement that in your work. I'll start with a general improper rational function:
which can be rewritten as follow:
.I'll go with
first and perform the long division to obtain
.Next, perform the same procedure on 
.Now, they can summed up and simplified as
where
Example:
G1 = (7*s^2 + 5*s + 3)/(2*s + 1)
G1 =
7 s^2 + 5 s + 3
---------------
2 s + 1
Continuous-time transfer function.
kf = (a*q^2)/p^2 - b*q/p + c;
G2 = kp + kf/(p*s + q) + kd*s
G2 =
7 s^2 + 5 s + 3
---------------
2 s + 1
Continuous-time transfer function.
In this form,
, you isolate them and know what each term does. Edit: If you want to implement this improper transfer function in Simulink, then this is one of the ways to do it.
kf = (a*q^2)/p^2 - b*q/p + c;