Hello everyone,
My final year project is Swithed reluctance motor Constant speed drive(the speed should remain constant even if loaded). For this I need to sense the speed of the motor, find the error between the REF speed and actual speed. All that control system stuff. The thing is I need to give this error to a PI controller to a pWM varying ckt. I was planning to implement the PI controller by keep on adding the errors calculated in each cycle. But the problem is I jus dunno what the max and min limits of this addition process will be and unfortunately there are max and min limits for the CCPR1l and two bits put together in CCP1CON which control the duty cycle of the PWM output. I jus dunno if this is called PI tuning.
Please do help me.
My final year project is Swithed reluctance motor Constant speed drive(the speed should remain constant even if loaded). For this I need to sense the speed of the motor, find the error between the REF speed and actual speed. All that control system stuff. The thing is I need to give this error to a PI controller to a pWM varying ckt. I was planning to implement the PI controller by keep on adding the errors calculated in each cycle. But the problem is I jus dunno what the max and min limits of this addition process will be and unfortunately there are max and min limits for the CCPR1l and two bits put together in CCP1CON which control the duty cycle of the PWM output. I jus dunno if this is called PI tuning.
Please do help me.