A program to recognize and reward our most engaged community members
I’m using Altair Embed 2025.1 (Digital Power Designer) with an STM32G431 target. Can all the blocks available in REAL TIME section of DPD be used for code generation? for example there is SOGI-PLL block , internally it uses continuous integrator so it is not in z-domain , the docs also mention that all real time blocks can be used for code generation. Even though the docs mention it, I just wanted to make 100% sure it is correct. Does embed auto converts the real time blocks like SOGI-PLL block to z-domain during code generation? if not then do we need to take any action?
Yes, DPD real-time blocks can be used in codegen. The integration method set for the diagrams is Euler, which can run in real-time. You will get slightly better performance if you were to substitute the integrators with equivalent z-domain, but the results would be the same
Are you trying to do a grid-tie for sending power back to the grid? If so, single phase or 3 phase? What power and voltage?
Pete