Hello all, I am trying to learn simulink and currently trying to find out the functionality of the capacitor by taking a sine wave as the input for a continous signal. Can anyone suggest me how to proceed with this. Thanking you Jyothsna
Yahoo! India Insurance Special: Be informed on the best policies, services,
tools and more. |
|
functionality of the capacitor
Started by ●February 17, 2004
Reply by ●February 17, 20042004-02-17
Jyothsna- > I am trying to learn simulink and currently trying to find out the functionality > of the capacitor by taking a sine wave as the input for a continous signal. > > Can anyone suggest me how to proceed with this. For circuit that looks like this: sine wave ___/\/\/\_______ <---output | __|__ ----- | __|__ --- - Write this difference equation: y[n] = a*x[n] + b*y[n-1] where a + b = 1 to maintain unity gain and b/a is the time-constant. -Jeff |
Reply by ●February 17, 20042004-02-17
Jyothsna- > I am trying to learn simulink and currently trying to find out the functionality > of the capacitor by taking a sine wave as the input for a continous signal. > > Can anyone suggest me how to proceed with this. For circuit that looks like this: sine wave ___/\/\/\_______ <---output | __|__ ----- | __|__ --- - Write this difference equation: y[n] = a*x[n] + b*y[n-1] where a + b = 1 to maintain unity gain and b/a is the time-constant. -Jeff |
Reply by ●February 17, 20042004-02-17
Dmitry- > it seems that capasitor should be connected to the output pin, not to the > source The cap is connected to the output pin, not the source. The resistor is connected to the source. The diagram shows a lowpass filter -- switch the R and C and it becomes a highpass filter. I assumed that Jyothsna could use a lowpass filter in her studies. -Jeff > ----- Original Message ----- > From: "Jeff Brower" <> > To: "Jyothsna Gandham" <> > Cc: <> > Sent: Monday, February 16, 2004 8:37 PM > Subject: Re: [matlab] functionality of the capacitor > > > Jyothsna- > > > > > I am trying to learn simulink and currently trying to find out the > functionality > > > of the capacitor by taking a sine wave as the input for a continous > signal. > > > > > > Can anyone suggest me how to proceed with this. > > > > For circuit that looks like this: > > > > sine wave ___/\/\/\_______ <---output > > | > > __|__ > > ----- > > | > > __|__ > > --- > > - > > > > Write this difference equation: > > > > y[n] = a*x[n] + b*y[n-1] > > > > where a + b = 1 to maintain unity gain and b/a is the time-constant. > > > > -Jeff |
Reply by ●February 17, 20042004-02-17
Hello Everybody, The question is that Jyothsna wants to model the functionality in Simulink with continuous states. In that case it might be a good idea to solve the system transfer function using Laplace Transforms and then use the Transfer Function block in the Simulink-->Continuous library. I am attaching a model of a resistor and capacitor in series loop with a source of 3V, frequency 10 Hz, V/R = 1 and 1/RC = 1. The scope shows the plot of input voltage (magenta colour) and the current (white colour) in the circuit. You may change the transfer function as you wish. This is just to give a hint and the values taken are hypothetical. Cheers, -Snehamoy ----- Original Message ----- From: Jeff Brower To: Dmitry Kelbas Cc: Sent: Tuesday, February 17, 2004 10:42 AM Subject: Re: [matlab] functionality of the capacitor Dmitry- > it seems that capasitor should be connected to the output pin, not to the > source The cap is connected to the output pin, not the source. The resistor is connected to the source. The diagram shows a lowpass filter -- switch the R and C and it becomes a highpass filter. I assumed that Jyothsna could use a lowpass filter in her studies. -Jeff > ----- Original Message ----- > From: "Jeff Brower" <> > To: "Jyothsna Gandham" <> > Cc: <> > Sent: Monday, February 16, 2004 8:37 PM > Subject: Re: [matlab] functionality of the capacitor > > > Jyothsna- > > > > > I am trying to learn simulink and currently trying to find out the > functionality > > > of the capacitor by taking a sine wave as the input for a continous > signal. > > > > > > Can anyone suggest me how to proceed with this. > > > > For circuit that looks like this: > > > > sine wave ___/\/\/\_______ <---output > > | > > __|__ > > ----- > > | > > __|__ > > --- > > - > > > > Write this difference equation: > > > > y[n] = a*x[n] + b*y[n-1] > > > > where a + b = 1 to maintain unity gain and b/a is the time-constant. > > > > -Jeff _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/matlab More DSP-Related Groups: http://www.dsprelated.com/groups.php3 --------------------------------- Yahoo! Groups Links To --------------------------------- Type: application/octet-stream |