NCO in simulink - 90 degree phase shift?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ryan G
el 25 de Sept. de 2012
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 comentarios
Ryan G
el 26 de Sept. de 2012
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.
Ver también
Categorías
Más información sobre Multirate and Multistage Filters en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!