Hi,
I am trying to develop a DAB using the model given in the demo version. But however when I change the inputs like Vo, Pin, fsw etc. program crashes.
I think its because of the transfer function given in the model. I think if I do a Bilinear transformation it will fix the issue. Can you please suggest how to implement this or if there is another work around ? I am trying to develop the Single phase shift controls
@Plexim_Support_Team can you please let me know how to get this model work for other input, output values ?
I think the issue is with the transfer function and if I do a Bilinear transform it should fix it. I am not aware how to do it on plecs.
There is not enough information here to assist you. The control parameters for the demo model were based upon that specific power converter. If you change the controller and/or DAB circuit, then the controls will need to be reworked. Your discrete transfer function potentially introducing an instability is a reasonable hypothesis, but without a model I cannot provide much guidance.
If you have a continuous transfer function for your controller you can directly perform a bilinear transform in the PLECS Standalone Model Initialization Commands using the c2d function.
I am trying to do a dual phase shift simulation and i am building it off of the Demo DAB. How would I do the Bilinear transformation in Plecs ?
Can you please provide an example for that ?
Attached is a simple example showing the discretization of a second order system using tustin and tustin with prewarp. The only slightly tricky aspect is the LTI dataclass in the Octave Control package returns cell arrays which have to be handled appropriately. c2d_example.plecs (7.7 KB)