suram Posted July 29, 2004 Report Share Posted July 29, 2004 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 advanceVishu Quote Link to comment Share on other sites More sharing options...
surajbarkale Posted August 5, 2004 Report Share Posted August 5, 2004 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.