I have designed CPT system with some parameters, I also designed LQR controller for this system to modify the swetching frequency to fix the output voltage based on the mathematical model... Now, I want to design the controller by using circuit components in Simscape Simulink... Could anyone give me some guidelines..The circiut that I need circuit it's output frequency is changing according to the erorr between the output and the reference.
you will need to design a variable frequency oscillator. Here is an example of a triangle wave genertor implemented in simscape, https://www.mathworks.com/help/physmod/sps/examples/triangle-wave-generator.html This isn't actually necessarily the best design for you to use, just an example. I highly recommend researching the various methods for implementing variable frequency oscillators and picking one that suits your particular needs, especially if you will actually be building this circuit. Alternatively, you could implement a digital system with variable switching frequency with simulink. In that case, I would recommend using a resetable integrator and feed the error value into it.