Simulink sample time with external sample clock?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Brian Tremaine
el 17 de Jul. de 2019
Comentada: Brian Tremaine
el 20 de Jul. de 2019
Hi,
I want to run a S&H block with an external sample pulse. I am simulating a mixed signal digital PLL for a motor control. The phase detector is using boolean logic elements and is run from a 5Mhz pulse generator. The phase detector generates a phase count and a sample pulse about every 360Hz. I need this to drive a digital filter but am unclear how to use my boolean 360Hz sample pulse to act as the sample time for my z-domain digital filter.
Thanks ~
0 comentarios
Respuesta aceptada
Jonas
el 18 de Jul. de 2019
I would suggest to put the digital filter in a triggered subsystem and use the 360 Hz signal as trigger.
Más respuestas (0)
Ver también
Categorías
Más información sobre Sources 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!