NCO in simulink - 90 degree phase shift?
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello folks,
I'm trying to simulate a quadrature Digital Down Converter (DDC). For now, I'm using a sine wave and a cosine wave for the NCO from the DSP toolbox. If I want to use a single clock source to yield the I/Q signals, I need to shift the I signal (cosine) by 90 degrees. What is the best way to implement this for sample-based systems?
Also, any guidance on how to make this quadrature DDC model more realistic would be appreciated. Thanks!
댓글 수: 0
답변 (1개)
Ryan G
2012년 9월 25일
You can utilize a sine wave function block. This block has a dialog to input the phase shift (in radians) and you can use 2 of them hooked to the same digital input signal.
댓글 수: 2
Ryan G
2012년 9월 26일
There are actually 2 sine wave blocks in base simulink, the one I linked has an input attached so you can hook up the clock. I did not see an equivalent one to that in DSP.
You could use the trigonometric function block as well since it also has sine and cosine. I was under the impression that the Xilinx blocks (if used in Simulink) should be friendly with the Simulink blocks which should be friendly with HDL coder. That's not really my field but I didn't think this would be an issue.
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate and Multistage Filters에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!