Thanks Mr. Santosh Kumar for the information about fcn block. Please find the program for sin(2*pi*u(1)*u(2)) as follow: function y = fcn(f,t) y = sin(2*pi*f*t); end This program will create two input terminals. In first terminal, you can use constant/ramp block to fed constant/varying frequency. In second terminal, you can use clock block to fed time.
Hello sir, I need a help from you. I want to make a variable frequency control isolated dc-dc converter. I have to design a process block that will take response from PI controller and then gemerate PWM signal to provide variable switching frequency for three phase inverter. How to do that? How I can generate the PWM signal of variable frequrncy so that it always remain in between a minimum amd maximum frequency? I would be grateful to you if you could help me. 😓
I hope 20th video of this playlist which was on relational operator block will be helpful to understand pulse width modulation in MATLAB Simulink. Are you talking about dc-dc converter or three-phase inverter?
Hello Rephah, you can use ramp block to generate ramp signal having "slope: 0.05" and "initial output: 1". Use this ramp block in place of step and two constant block to generate u(1) signal as frequency of sine wave. Note: Detailed discussion about ramp block is already given in 16 video of this series.
Hello Sir. Thank you for your video. It helps me a lot. What if I want to make variable input freq and voltage. Can I use ramp block? Because I need to make sure v/f constant with changing voltage and frequency
Hello @sirtufillaila9781, Thanks for finding time to comment your kind feedback. Yes, you are right. You can use ramp block to variable input frequency and voltage by making v/f ratio constant.
Hello Sir, Thank you so much for this useful video! Can we increase the values of the frequency in a linear manner or a logarithmic manner instead of selecting a specfing values (for example every 5 seconds like your video) ?
Thanks Mhmoud Khadija for your appreciating words. Yes, we can increase the values of the frequency in a linear or logarithmic manner. For this, we need to use ramp or math function (log option) block instead of step block.