Professional Documents
Culture Documents
A. Preparatory Notes:
i. Equip yourself with (a) the basic concept of an FPGA (b) the time response
characteristics of a series R-L-C circuit and (c) the basic theory of real time simulation.
ii. A particular student will be allowed to conduct the experiments only after she/he has
made a detailed survey of the working of the R-L-C circuit and made clear to himself /
herself certain pertinent points. As an example, the following points should be clear:
(a) What is an FPGA? Why is it being increasingly used as a digital controller?
(b) What is meant by ‘real time simulation’? Why is it important?
(c) What is the basic principle of a DAC? Why is it used with a digital simulation device?
(d) What is the time response characteristic of a series R-L-C circuit? In this connection,
what is rise time, settling time, peak overshoot, steady state error etc.?
1.
B. Objective:
i. To study and understand the working principle of the Cyclone IV EP4CE115F29 FPGA,
as used in this experiment.
ii. To study and understand the concept of ‘real time simulation’ and why an FPGA is
ideally suited for this.
iii. To study and understand how the Quartus software from Altera works and how it can
be used to program an FPGA using USB cable.
iv. To understand how the schematic file in Quartus (.bdf) represents the series RLC circuit
driven from a DC source.
v. To understand how the DAC card is used to convert the data output from the FPGA into
analog signal using I2C protocol.
vi. To observe the responses of current and capacitor voltage from the simulation using
DSO.
D. Apparatus:
(a) Digital Storage Oscilloscope
(b) Windows based PC (loaded with Quartus software for programming the FPGA)
E. Circuit Diagram:
Kindly refer to the figures below for the circuit diagram.
Caution: Plug in the power supply to the FPGA board only through the adaptor to a 230 V,
50 Hz, 1-ph socket.
g) The brown-black pair of wires carry the current output (0 – 5 V) and the green-black
pair carries the voltage output (0 – 3.3 V).
h) Note the waveforms at the outputs of the two DACs. (i) current in the R-L-C circuit (ii)
voltage across C in the same circuit
i) Measure the following parameters as mentioned in Table I below.
Table-I
G. Report:
i. Explain the working of R-L-C series circuit through the two linear differential equations
representing the current in the circuit (i) and the voltage across the capacitor (vc)
ii. Following from the equations above, develop an expression for the errors in current and
capacitor voltage (di and dvc).
iii. Deduce the per unitized values of the time constants L/R and RC.