Hi sir, thank you for the video. I have one doubt sir, with the help of repeating sequence can we able to generate the delay in the PWM. Kindly clarify the doubt.
Thanks a lot Rajesh Sethuraman for your feedback. It means us a lot. No, we cannot add delay in the PWM with a repeating sequence block. For this, you can use delay block.
Thank you sir very nice video and explanation...also in future do upload video on simulation using effect on output waveforms using pulse width modulation...thanks 🙏👍🏻😊
Sir i am trying to make a sawtooth of 5khz frequency and write time values 0 1/5000 and output as 0 1 But in scope it's showing a straight line how to fix this sir?
Hello Swarup Das, It seems that the problem is with scope block. You can check sampling time and limit data point in scope block. If still problem is there you can share your simulation file or screens shot of scope setting to get insight of problem on info4eee@gmail.com (Before sharing your simulation file convert it to R2017b version of MATLAB.
Hello *Jannah,* If you are considering a 20kHz sawtooth career of amplitude from -1 to 1 then time value and output value will be [0 1/20000] and [-1 1] respectively.
Hello, While I am generating half-wave sawtooth, i am loosing peak value and taking some time to reach max to zero at end of half cycle... for 1000hz frreq, [0 0.6/1000 0.600001/1000 1/1000]_time [0 100 0 0]. any solution possible.....
Hello Zack Mado, I will try to create a random carrier frequency signal. But you are required to share the figure of desired signal through email on info4eee@gmail.com
Dear Zack Mado, You can create requested simulation by using following steps: 1) First create the simulation, We have discussed in 18th video of Basics of MATLAB Simulink series. 2) Replace the slope "10" of ramp block with "1". 3) Replace the constant value "2*pi" of constant block with "1". 4) Identify "Repeating Sequence Stair" Block under Sources section in Simulink Library Browser and drag it into simulation file. Now set vector of output values as "[1 2 3 4 3 2]" and sample time "1". Note: This sample time is different with the sample time we are using in other blocks. 5) Now drag "Product" block from simulink library browser and connect its first input with the output of Repeating Sequence Stair block. 6) Now disconnect the connecting wires between ramp block, scope block and Math Function Block. 7) Now connect the output of ramp block to the second input of Product block. 8) Now connect the output of Product block to the input of Math Function block. 9) Also connect the output of Repeating Sequence Stair to the first input of scope block. I Hope these steps will help you to create the logic for your problem.
hello sir if my connfiguration is time value [0 1 2 ] output value [0 1 0 ] its work normaly . . . but if its time value [0 0.1 0.2 ] output value [0 1 0 ] its dont work normaly how do i fixe that
Dear Zhenbin Huang, You can create requested simulation by using following steps: 1) First create the simulation, We have discussed in 18th video of Basics of MATLAB Simulink series. 2) Replace the slope "10" of ramp block with "1". 3) Replace the constant value "2*pi" of constant block with "1". 4) Identify "Repeating Sequence Stair" Block under Sources section in Simulink Library Browser and drag it into simulation file. Now set vector of output values as "[1 2 3 4 3 2]" and sample time "1". Note: This sample time is different with the sample time we are using in other blocks. 5) Now drag "Product" block from simulink library browser and connect its first input with the output of Repeating Sequence Stair block. 6) Now disconnect the connecting wires between ramp block, scope block and Math Function Block. 7) Now connect the output of ramp block to the second input of Product block. 8) Now connect the output of Product block to the input of Math Function block. 9) Also connect the output of Repeating Sequence Stair to the first input of scope block. I Hope these steps will help you to create the logic for your problem.
@@info4eeeHey Guy, I wanna state my problem in detail: I set a Ts global variable, Ts is a fixed value at the beginning, and the generated carrier is fixed, but now I want to use Ts as an input variable value, still generate a similar pulse waveform: ---------- This is my repeating sequence set Time Values: [0 0.5*Ts Ts] Output values: [0 0.5*Ts 0] ---------- Just want to use a input to change Ts, but don't change formula of Time values and Output values, how can realize this in Simulilnk❤?
Hi Thangpham504, if frequency is 0.1 Hz, then time will be 10. while amplitude is also 10. Hence you have to take both time values: [0 10] and Output Values: [0 10].
@@info4eee can u give ur whatsapp number ?? I m trying to make rectifier circuit by using thyristor. But when i applied repeatating sequence it shows some look up tabel error. So brother if u can help it would br ur thankfulness.
Hi sir, thank you for the video. I have one doubt sir, with the help of repeating sequence can we able to generate the delay in the PWM. Kindly clarify the doubt.
Thanks a lot Rajesh Sethuraman for your feedback. It means us a lot. No, we cannot add delay in the PWM with a repeating sequence block. For this, you can use delay block.
@@info4eee thank you sir.
One more doubt. Whether we can use SiC MOSFET in MATLAB from the simulink library.
In MATLAB MOSFET Switch have R_on and L_on. By changing these values, you can update its role.
@@info4eee ok sir. Thank you.
Thank you sir very nice video and explanation...also in future do upload video on simulation using effect on output waveforms using pulse width modulation...thanks 🙏👍🏻😊
Thanks T D for your appreciating words. We will consider your suggestions in the upcoming videos of Power Electronics Using MATLAB Simulink series.
Sir i am trying to make a sawtooth of 5khz frequency and write time values 0 1/5000 and output as 0 1
But in scope it's showing a straight line how to fix this sir?
Hello Swarup Das, It seems that the problem is with scope block. You can check sampling time and limit data point in scope block.
If still problem is there you can share your simulation file or screens shot of scope setting to get insight of problem on info4eee@gmail.com (Before sharing your simulation file convert it to R2017b version of MATLAB.
@@info4eee okay
hi sir. how to set for my switching freq is 20kHz. how to write for time values and output values?
Hello *Jannah,* If you are considering a 20kHz sawtooth career of amplitude from -1 to 1 then time value and output value will be [0 1/20000] and [-1 1] respectively.
@@info4eee thank you so much sir! really appreciate your help
Thanks *Jannah* for your appreciating words. It means us a lot.
Hello, While I am generating half-wave sawtooth, i am loosing peak value and taking some time to reach max to zero at end of half cycle... for 1000hz frreq, [0 0.6/1000 0.600001/1000 1/1000]_time [0 100 0 0]. any solution possible.....
Hello Venkatasubbareddy, Peak value loss depends upon the sampling time of the simulation. Please explain your query clearly for better understanding.
Hi sir can u Help me to create a random carrier frequency 20k with gaussien distribution !?
Hello Zack Mado, I will try to create a random carrier frequency signal. But you are required to share the figure of desired signal through email on info4eee@gmail.com
@@info4eee i want a signal with mean frequency 20khz the frequency for exemple varying between 16k and 24k
Dear Zack Mado, You can create requested simulation by using following steps:
1) First create the simulation, We have discussed in 18th video of Basics of MATLAB Simulink series.
2) Replace the slope "10" of ramp block with "1".
3) Replace the constant value "2*pi" of constant block with "1".
4) Identify "Repeating Sequence Stair" Block under Sources section in Simulink Library Browser and drag it into simulation file. Now set vector of output values as "[1 2 3 4 3 2]" and sample time "1". Note: This sample time is different with the sample time we are using in other blocks.
5) Now drag "Product" block from simulink library browser and connect its first input with the output of Repeating Sequence Stair block.
6) Now disconnect the connecting wires between ramp block, scope block and Math Function Block.
7) Now connect the output of ramp block to the second input of Product block.
8) Now connect the output of Product block to the input of Math Function block.
9) Also connect the output of Repeating Sequence Stair to the first input of scope block.
I Hope these steps will help you to create the logic for your problem.
@@info4eee Thank you for your Help sir can u send me the simulink model please in this e-mail zakar171717@gmail.com.
hello sir
if my connfiguration is
time value [0 1 2 ]
output value [0 1 0 ]
its work normaly
.
.
.
but if its
time value [0 0.1 0.2 ]
output value [0 1 0 ]
its dont work normaly
how do i fixe that
It may be because of sample time. Try after reducing the sample time.
@@info4eee thank you sir was helpfull
Your Welcome!
thanks.. 👏👏
Thanks a lot Ahmad Radhi for your appreciation. It means us a lot.
hello, How could I change a repeating sequence depend on an input action in Simulink? i want to use a input to change sequence frequency
Dear Zhenbin Huang, You can create requested simulation by using following steps:
1) First create the simulation, We have discussed in 18th video of Basics of MATLAB Simulink series.
2) Replace the slope "10" of ramp block with "1".
3) Replace the constant value "2*pi" of constant block with "1".
4) Identify "Repeating Sequence Stair" Block under Sources section in Simulink Library Browser and drag it into simulation file. Now set vector of output values as "[1 2 3 4 3 2]" and sample time "1". Note: This sample time is different with the sample time we are using in other blocks.
5) Now drag "Product" block from simulink library browser and connect its first input with the output of Repeating Sequence Stair block.
6) Now disconnect the connecting wires between ramp block, scope block and Math Function Block.
7) Now connect the output of ramp block to the second input of Product block.
8) Now connect the output of Product block to the input of Math Function block.
9) Also connect the output of Repeating Sequence Stair to the first input of scope block.
I Hope these steps will help you to create the logic for your problem.
@@info4eeeHey Guy, I wanna state my problem in detail:
I set a Ts global variable, Ts is a fixed value at the beginning, and the generated carrier is fixed, but now I want to use Ts as an input variable value, still generate a similar pulse waveform:
----------
This is my repeating sequence set
Time Values: [0 0.5*Ts Ts]
Output values: [0 0.5*Ts 0]
----------
Just want to use a input to change Ts, but don't change formula of Time values and Output values, how can realize this in Simulilnk❤?
@@info4eeeDear INFO4EEE, let me see if I can achieve the functions I want!
Okay Zhenbin Huang, Please try and let us know if any help is required from our side.
@@info4eee Hey INFO4EEE,do you know how to change the simullink sampletime in realtime?
thank you so much
Thanks, Akshay Bose, for your feedback!
Hi sir, frequency is 0.1 Hz. amplitude is 10 how to write
Hi Thangpham504, if frequency is 0.1 Hz, then time will be 10. while amplitude is also 10.
Hence you have to take both time values: [0 10] and Output Values: [0 10].
Why does it not require any look up table
That is the specialty of #RepeatingSequence block.
@@info4eee can u give ur whatsapp number ?? I m trying to make rectifier circuit by using thyristor. But when i applied repeatating sequence it shows some look up tabel error. So brother if u can help it would br ur thankfulness.
@@info4eee my whatsapp number +919687370818
Thanks for your faith on INFO4EEE, Our expert will contact with you shortly and try to resolve your query!!!
@@info4eee thanks sir
Thanks a lot
Thanks a lot Tarif Fuad for your kind feedback. It means us a lot.
Thank u sir
Thanks Mr. *Venugopal Reddy* for your feedback. It means us a lot.
thanks, sir
Thanks Md Rana for your kind feedback. It means us a lot.