PID tuning without transfer function
PID controller are not bounded to any specific application, you can use them for what ever you want. 
If you don't have an analytical model for your system you can use an experimental method like Ziegler-Nichols, which is based on the step response, to adjust the controller gain.