Sampling Time and oscillator
이전 댓글 표시
I have this system that it is sampled at every 2 us. It is a model that represent a FPGA implementation (which sampling time is 8ns). 2us was selected to speed up the simulation process. The model has got an oscillator that generates a ramp with period of (60*12)^(-1), where 60 is the AC frequency, and with a final peak value of 50/60, see below the ramp generated by the oscillator

This oscillator is supposed to intercept the point =50/60 at the end of its period ( = 1388.88 us), but this number is not multiple of the sampling frequency (2us) which then results in a small error that is amplified later in the system.

What Can I do in this case?. (so as to avoid this un-sync of the oscilaltor ramp and the clock frequency)
Thanks in advance for your comments
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

