ei anyone can help me with the algorithm on how to control a servomotor... cause we are gonna use it on our thesis... by the it's called "FPGA based intravenous infusion monitoring and control system"
can anyone help us out on how to control a servomotor...will be using the servomotor to clamp the tube of an I.V.(intravenous) tube... the flow of the algorithm will bw this... first a personnel will input how many dosage a patient gets and then the servomotor will clamp the I.V. tube so that the desired dosage is achive... by the way will be using optical sensors to monitor the drops of the I.V. fluid i will be placed at the outside of the drip chamber...
but we have a problem what if the drip of the fluid change how will the servomotor adjust it so that the dosage will be maintained...will use a feedback but how are we gonna implement it on FPGA..
got any suggestion on the algorithm... or any sites that can help us solve this problem