The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
The attached files contain the Phase Locked Loop I have developed. But the debug mode does not produce the expected output from the PLL
Unable to find an attachment - read this blog
Hello Vishaka,
Can you please provide with some details of what you are expecting to get and what you are getting? Also, have you tried to simulate the diagram and if yes, is it working as expected there?
Kind regards,
Isi
A ramp signal must come from monitor buffer 4 in the debug mode. However the expected ramp comes when directly plotted in the code mode. the following is the type of ramp i am expecting
It looks to me that your diagram is too demanding for your microcontroller and the algorithm loop doesn't complete in time. Plot the trigger on the _d diagram and you will see that it is flat at 0. Now if you just keep monitor buffer blocks 0 and 1 and recompile you will see that the trigger is up again and running.
Try to make your algorithm more efficient. I am not sure if that would works fine for you but if you replace the integrators with correctly time unitdelay blocks you will have significantly improved the efficiency of your algorithm.
Thank you I will try and let you know
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…