Corrected the problem with the pid controller algorithm.Had mistakenly initialized the ki and kd values as int when they were fractions. So the processor took them as 0 and it acted as a simple P controller. Hence there was a constant steady state error..Because of this we had wasted a whole afternoon trying different ki,kp and kd values to get the correct output.
Then experimented with different values of the constants and observed the step response of the system.Using the data collected we were able to choose appropriate values for kp , ki and kd of optimum response with minimum overshoot, rise time and settling time.
Experimented with a tactile switch array giving different switch inputs and observing the output.Then worked on the algorithm to accecpt user input from keyboard using the switch array.
Then experimented with different values of the constants and observed the step response of the system.Using the data collected we were able to choose appropriate values for kp , ki and kd of optimum response with minimum overshoot, rise time and settling time.
Experimented with a tactile switch array giving different switch inputs and observing the output.Then worked on the algorithm to accecpt user input from keyboard using the switch array.
No comments:
Post a Comment