How to tune two different PID controllers in a same model?

  • Thread starter Gauzi
  • Start date
  • Tags Tags
    Model Pid
1 reply · 2K views · last reply
Gauzi
Messages
13
Reaction score
0
My target is to make a Adaptive cruise controller(ACC) for a car model. So i divided the task into two parts, first--- I made a speed following model, tuned a PID controller for it.
Second---- I made a distance following model, tuned a PID for this.
Now i integrated the two models into a single model so that i could switch between Distance follower or speed follower based on distance between the car under consideration and the car ahead of it. My problem is individually the two controller models work fine, but when i combined these two models to get a total ACC model, its no more working, can someone please guide me as to what might be wrong, or how to tune PID's in this model.?

Thanks in advance.
 
can you show us block diagrams of the 2 systems independently and how you combined them?

It sounds like you might have coupled the 2 systems in some way