I see two elements to what you're asking here :
a) We have no idea about the system transfer function of the plant. How could we find it?
b) We know the strucure of the plant. How do we determine the parameters?
(the plant being the thing you're trying to control).
The difference between a) and b) is that for b) we know the model or can derive the model from the circuit or system, but for a) we do not.
So, a) needs a system model that we can then find the parameters of. For a) we understand that all linear systems can be modelled as MA (Moving Average, Zeros only), or AR (Auto-regressive, poles only). Yes, an MA system can be approximated by and AR and vice versa. So a very common model to fit all linear systems is an ARMAX model which incorporate AR, MA and an eXogenous input (i.e. disturbance, offset etc.).
Now we have an appropriate model that brings us to b). How to find the parameters. That can be done using system identification.
See the diagram below (source). Once you've chosen the appropriate model type, then an adaptive system like this can ID the parameters of that model. The idea is that the adaptive model adjusts so that it matches the unknown system, driving e to zero.
Now if you want to go further and use this in a control system; this is an adaptive controller. Basically a system ID block and a controller designer. This Model Identification Adaptive Controller is very typical (source).