* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Exercise - Oklahoma State University
Survey
Document related concepts
Immunity-aware programming wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Electronic engineering wikipedia , lookup
Power inverter wikipedia , lookup
Mains electricity wikipedia , lookup
Chirp spectrum wikipedia , lookup
Zobel network wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Opto-isolator wikipedia , lookup
Regenerative circuit wikipedia , lookup
Ringing artifacts wikipedia , lookup
Rectiverter wikipedia , lookup
Transcript
ECEN 3021 Experimental Methods-II Lab 2 Hint: It is recommended that you calculate the transfer functions for all circuits first, as the MATLAB commands will be repeated for each. Writing an m-file with all commands that will be repeated could also speed things up. Question 1: 1 KΩ vin i) ii) iii) iv) v) vi) 100 mH vout Find the transfer function for this circuit. Use MATLAB to plot the impulse and step responses of the circuit. Use MATLAB to plot the square wave input response of the circuit at the frequency of 500Hz having peak to peak voltage of 10V. (Hint: type help square and use the square function to generate the input, then use lsim to find the response) Explain the relationship between the step response and the square wave response. Can you change the frequency of the square wave to get the two plots to match? How do the Matlab results compare to the results from PSpice? Solve analytically for the step response. Compare your results with the MATLAB plot. Compare your results with the guess you made in the Pspice laboratory (Question 1 iii.) for the form of the function. Electrical & Computer Engineering Oklahoma State University ECEN 3021 Experimental Methods-II Lab 2 Question 2: 1 KΩ vin i) ii) iii) iv) v) vi) 2 KΩ vout Find the transfer function for this circuit. Use MATLAB to plot the impulse and step responses of the circuit Use MATLAB to plot the square wave input response of the circuit at the frequency of 500 Hz having peak to peak voltage of 10V. Explain the relationship between the step response and the square wave response. Can you change the frequency of the square wave to get the two plots to match? How do the Matlab results compare to the results from PSpice? Solve analytically for the step response. Compare your results with the MATLAB plot. Compare your results with the guess you made in the Pspice laboratory (Question 2 iii.) for the form of the function. Question 3: 100 mH vin i) ii) iii) iv) 1 KΩ 10 nF vout Find the transfer function for this circuit. Use MATLAB to plot the impulse and step responses of the circuit Use MATLAB to plot the square wave input response of the circuit at the frequency of 250 Hz having peak to peak voltage of 10V. How do the Matlab results compare to the results from PSpice? Electrical & Computer Engineering Oklahoma State University