Using resolver encoder block to calculate motor position
11 次查看(过去 30 天)
显示 更早的评论
Hello ,
I have a pmsm motor with sine cosine encoder . How do i measure the rotor angle using the resolver encoder block. it has sine and cosine inputs. From the help documentation , it said the primary sine signal should be sampled and normaslised, what exactly is meant by this . The encoder in my motor will give sine and cosine values within the ( -1,1) range . How do i sample this signal in real time.
Thanks
0 个评论
回答(1 个)
Joel Van Sickel
2022-11-7
Normalized means you divide the signal by it's magnitude so that it varies between -1 and 1. For instance, a signal from 5 to -5 is divided by 5 to normalize it. Sampling the signal in real time is accompished based on the embedded system you attatch to the system. You can simulate the sample time by using the zero order hold block in Simulink and set it to the sample time you want. This is very similar to how resovlers work. Here is an example of a resolver:
Regards,
Joel
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!