140 likes | 304 Views
SE207: Modeling and Simulation. General instructions. Objectives. To be able to do Simulate systems of various types using analog computers Simulate systems of various types using digital computers( MATLAB +SIMULINK) Study and analyze responses of first and second order systems. Grades.
E N D
SE207: Modeling and Simulation General instructions
Objectives • To be able to do • Simulate systems of various types using analog computers • Simulate systems of various types using digital computers( MATLAB +SIMULINK) • Study and analyze responses of first and second order systems
Grades • Lab Reports 8% • Quizzes 7% --------- Total 15%
Attendance • -1% for each unexcused absence • You will not be able to submit the report if you are absent in that lab • All reports must be submitted within one week (Before the start of the next lab) • Food and drinks are not allowed in the lab
Format of the Report • Cover page: includes Name, ID#, title, date, Section • Introduction: • Objectives • Brief description of the experiment or the program • Hardware needed (for the experiments) • Procedure of things to be done • Solution of any problems mentioned in the lab handout • Program listing/ Simulation diagrams/plot of results • Conclusions/comments/observations
SE 207: Modeling and Simulation Lab # 1: Analog Computers
Analog signal • An analog signal are non quantized signals that are define on a time interval of interest. Analog signal Discrete-time signal
Analog computers • Analog computers are electronic devices that performs calculations on analog signals. • Main elements of Analog Computers • Resistors/potentiometers • Capacitors • Operational Amplifiers (Op-Amp)
Analog Computers • Can be used to solve differential equations • Heavily used in World War II for computing trajectories of bombs • Digital computers replace analog computers in simulating systems • analog computers are still used today in some applications • Advantages of analog computers over digital computers • Computation time • Prototyping • New technologies • Single chip analog computers • Digital computers with analog co-processors
Operation Amplifier (Op-Amp) • The op-amp is an electronic component • The op-amp output is K times the input • K is a very large number (typically 1000000) • Op-amps are used in different ways to make different computing elements (summers, integrators,…) K K
Amplifier Feedback resistance Rf Input resistance R1 K ei Equality is assumed when K is very large which will be the case here
Inverter Feedback resistance Rf Input resistance R1 K ei • When Rf=R1 then eo= ─ ei • The circuit acts as inverter ( signing the sign)
Summer Feedback resistance Rf Input resistance R1 K e1 R2 e2 R3 e3
Integrator Feedback Capacitor Cf Input resistance R1 K e1 R2 e2 When the feedback element is a capacitor then the circuit acts as an integrator. The initial condition is specified by the initial charge in capacitor