There are many, many threads on CD and the general internet about PID control. Try searching around.
Here’s some good resources from NI:
And here are some more resources:
And this page looks like it has some cool simulation resources, and some overviews about the theory behind the controller.