Re: plls and simulink
I'm trying to use a pll to get the positon of DC servo motor.
The pll is used to get higher resolution.Caz the sensor can just generate 8pulses/revolution, so I have to use the pll to increase the resolution to 500 pulses/revolution.Then change the frequency to the angle velocity.
My idea is to measure the time period between the tow pulses come in.Then use an integrator to get the time interval(the integrator is reset every pulse comes in).multily 8 to get the time needed for one revolution,then divided by 500 to get the new resolution.Use this new signal as the input of a saw tooth generator to get the posion theta of the motor.
does anyone have better idea?Pls tell me .I have to build the correct model up by Tue. 30th, August .
Thanks a lot!!
I have attached my mdl
P.S.:I just figure out the right result for the calculation of the angle velocity, but still haven't found the way to increase the resolution, could someone help me?