From: Prashant Sandhi on
Hi,

I would like to know how can I generate a PWM signal in Simulink?
Duty cycle=90%
Amplitude = 5V
Frequency= 15KHz
From: Arnaud Miege on

"Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message
news:hacql4$7a1$1(a)fred.mathworks.com...
> Hi,
>
> I would like to know how can I generate a PWM signal in Simulink?
> Duty cycle=90%
> Amplitude = 5V
> Frequency= 15KHz
>

use the pulse generator block
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/pulsegenerator.html

HTH,

Arnaud


From: Prashant Sandhi on
Hi,
I am trying with pulse generator box but the output is not PWM.
Can you tell me the values I can set for the block.




"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hacs59$frf$1(a)fred.mathworks.com>...
>
> "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message
> news:hacql4$7a1$1(a)fred.mathworks.com...
> > Hi,
> >
> > I would like to know how can I generate a PWM signal in Simulink?
> > Duty cycle=90%
> > Amplitude = 5V
> > Frequency= 15KHz
> >
>
> use the pulse generator block
> http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/pulsegenerator.html
>
> HTH,
>
> Arnaud
>
From: Sinem on
Eventhough it's pretty self expressing... Here you go
amplitude: 5V
period: 1/15KHz
pulse width: 90%


"Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message <hacv33$7uo$1(a)fred.mathworks.com>...
> Hi,
> I am trying with pulse generator box but the output is not PWM.
> Can you tell me the values I can set for the block.
>
>
>
>
> "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hacs59$frf$1(a)fred.mathworks.com>...
> >
> > "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message
> > news:hacql4$7a1$1(a)fred.mathworks.com...
> > > Hi,
> > >
> > > I would like to know how can I generate a PWM signal in Simulink?
> > > Duty cycle=90%
> > > Amplitude = 5V
> > > Frequency= 15KHz
> > >
> >
> > use the pulse generator block
> > http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/pulsegenerator.html
> >
> > HTH,
> >
> > Arnaud
> >
From: Prashant Sandhi on
Well That is were I have problem in entering the value for period.
1/1500 = 0.0000636 number of samples it is giving error How can I give a 2D matrix value for this?

90% of pulse width means?

"Sinem " <sinem.karakas(a)gmail.com> wrote in message <had04r$igt$1(a)fred.mathworks.com>...
> Eventhough it's pretty self expressing... Here you go
> amplitude: 5V
> period: 1/15KHz
> pulse width: 90%
>
>
> "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message <hacv33$7uo$1(a)fred.mathworks.com>...
> > Hi,
> > I am trying with pulse generator box but the output is not PWM.
> > Can you tell me the values I can set for the block.
> >
> >
> >
> >
> > "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hacs59$frf$1(a)fred.mathworks.com>...
> > >
> > > "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message
> > > news:hacql4$7a1$1(a)fred.mathworks.com...
> > > > Hi,
> > > >
> > > > I would like to know how can I generate a PWM signal in Simulink?
> > > > Duty cycle=90%
> > > > Amplitude = 5V
> > > > Frequency= 15KHz
> > > >
> > >
> > > use the pulse generator block
> > > http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/pulsegenerator.html
> > >
> > > HTH,
> > >
> > > Arnaud
> > >