Jump to content
Electronics-Lab.com Community

Recommended Posts

Posted

Hi,
i am designing a closed loop capacitive accelrometer in Simulink, in which iam planning to use a pulse width modulator in the feedback loop. as my whole circuit in simulink is a mathematical approximation of the physical model.... iam kind of confused how to use the PWM block given in the SImulink library directly( since it is a time domain block, if iam correct!!) so i was planning to impliment the PWm block by using its Transfer function, so that the whole circuit would be in one form. but to my ignorance... i dont know how to write a transfer function for a PWM block. So can you please help me out with this.
Thank you in advance
Vishu


Posted

I think u can not write a transfer function for a PWM block. But u can create one easily. Create a counter which runs perpetually. (In the diagram i have not limited it's output but it is essential or u will get very large pulse width ;) )Then compare it's output with incoming signal thats all!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...