Page 1 of 1

PID with a dynamic set point

PostPosted: Fri Jan 25, 2019 1:20 pm
by bRitch022
I am looking to apply a PID loop to a launch control system that I am working on for a formula electric car team. The motor is so powerful, we want to use all the juice we can for traction, and so we want to modulate a pwm signal to a motor. The process value will be the rear axle motor speed (captured with a hall effect sensor), and the set point would be the front axle speed (motorless).

When the accelerator pedal is floored, the rear axle spins dramatically faster than the front axle. I want the rear axle, however, to match that of the front to achieve maximum traction, but the front axle will obviously be a moving target. Is it possible to do this with a changing set point?