Table of Contents

lab_electrical_engineering:namingtitle.svg

Lab Documents

Download the Lab documents here!

Experiment 2: Capacitors

Objectives of the experiment

Getting to know the following components

  • Digital multimeter
  • Function generator
  • Oscilloscope
  • Breadboard

electrical-engineering learning outcome in

  • generating and displaying periodic signals
  • determining capacitances
  • measuring the characteristic curve of a diode and a Zener diode

Display of periodic signals on the oscilloscope

Build the following circuit in figure 1 with the function generator and the oscilloscope.

lab_electrical_engineering:2_capacitors:fig-6_v2-periodic-signals.svg
Fig. 1: Periodic signals on the oscilloscope


Set the signals listed in table 1 on the function generator and draw the corresponding oscilloscope screen images. The signal display on the oscilloscope should optimally fill the screen

lab_electrical_engineering:2_capacitors:table-1-signals_v2.svg

Tab. 1: Signals




Also document the settings of the used channels, the time base, and the GND line on the left side of the screen drawings.

lab_electrical_engineering:2_capacitors:fig-7_v2-sine-1khz-u-1_8v.svg Fig. 2: Sine, f = 1 kHz, U = 1.8V

Channel 1: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $


lab_electrical_engineering:2_capacitors:fig-8_v2-triangle-4khz-u-3v.svg Fig. 3: Triangle, f = 4 kHz, U = 3 V

Channel 1: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $














lab_electrical_engineering:2_capacitors:fig-9_v2-rectangle-unipolar-2khz-u-5v.svg Fig. 4: Rectangle, unipolar, f = 2 kHz, U = 5 V Channel 1: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $


lab_electrical_engineering:2_capacitors:fig-10_v2-rectangle-bipolar-5khz-u-2v.svg Fig. 5: Rectangle, bipolar, f = 5 kHz, U = 2 V

Channel 1: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $


lab_electrical_engineering:2_capacitors:fig-11_v2-sine-dc-offset-2_5khz-u-4v-udc-2v.svg Fig. 6: Sine DC Offset, f = 2.5 kHz, U = 4 V, UDC = 2 V

Channel 1: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $


Capacitors

Direct capacitance measurement

Capacitors are components that allow the storage of electrical energy. In the charged state an electrical charge is present. This charge causes a voltage at the electrical terminals of the capacitor.
Build the following circuit on the breadboard with three capacitors, s. figure 7:

lab_electrical_engineering:2_capacitors:fig-7_v2-capacitor.svg Fig. 7: Capacitors

Measure the capacitance of capacitors $C_{\rm 1}$, $~C_{\rm 2}$, $~C_{\rm 3}$ with the multimeter and enter the measured values in table 2.

lab_electrical_engineering:2_capacitors:table-2-capacitor-values_v2.svg

Tab. 2: Capacitors


Capacitors can be connected in series and/or in parallel. The total capacitance of two or more capacitors in parallel is calculated as:

$$C_{\rm total} = C_{\rm 1} + C_{\rm 2} + ... + C_{\rm n}$$

The total capacitance of capacitors connected in series is calculated as:

$$ \frac{1}{C_{\rm total}} = \frac{1}{C_{\rm 1}} + \frac{1}{C_{\rm 2}} + ... + \frac{1}{C_{\rm n}}$$

Series connection:

Parallel connection:

Series/parallel connection:



Enter the measured and calculated values in table 3.

lab_electrical_engineering:2_capacitors:table-3-capacitor-meas-calc_v2.svg

Tab. 3: Capacitor meas. vs. calc.



The built-in capacitors have values from the E6 series. The E6 series for capacities is shown below. For the measured capacities from table 2, determine the matching value from the E6 series and calculate the respective measurement deviation from the nominal value in %.

$$ \text{Deviation} = \frac{C_{\rm meas}-C_{\rm nom, E6 series}}{C_{\rm nom, E6 series}}\cdot 100% $$
Enter your results in the spaces provided below.


$C_{\rm 1~} (E6)~=~ {\rm ....................~} ({\rm Deviation ............}{\%})$

$C_{\rm 2~} (E6)~=~ {\rm ....................~} ({\rm Deviation ............}{\%})$

$C_{\rm 3~} (E6)~=~ {\rm ....................~} ({\rm Deviation ............}{\%})$


The E6 series for capacities in table 4:

lab_electrical_engineering:2_capacitors:table-6-e6-series-cap_v2.svg

Tab. 4: E6 series for capacitors








RC network

The capacitance of a capacitor is defined as the quotient of charge by voltage: $$ C=\frac{Q}{U} $$

Capacitors must be charged via an electrical source figure 8.

lab_electrical_engineering:2_capacitors:fig-8_v2-capacitor-charging.svg Fig. 8: Capacitor charging

A capacitor charges the faster the smaller the series resistor $R$ is. During charging, the voltage $u_{\rm C}$ results from a differential equation as: $$ u_{\rm C}({\rm t})=U\cdot ({\rm 1}-e^{-\frac{t}{\tau}}), {\rm with~~} \tau = R\cdot C $$

The constant $\tau$ is called the time constant. After this time, the capacitor is charged to approx. ${\rm 63}~{\rm\%}$. The fundamental equation for the relation between current and voltage at a capacitor is:

$$ i_{\rm C}({\rm t})=C\cdot \frac{{\rm d}u_{\rm C}}{{\rm dt}} $$

From the two equations, the current through the capacitor is: $$ i_{\rm C}({\rm t})=\frac{U}{R}\cdot e^{-\frac{t}{\tau}} $$

The graphical representation of voltage and current during the charging of a capacitor over time is shown in figure 9.

lab_electrical_engineering:2_capacitors:fig-9_v2-capacitor-voltage-current.svg Fig. 9: Voltage/Current in case of charging capacitor

Because of the exponential function, charging is theoretically only complete after an infinitely long time. The capacitor voltage equals ${\rm 63}~{\rm\%~} U$ after ${\rm 1}\cdot \tau$, ${\rm 86}~{\rm\%~} U$ after ${\rm 2}\cdot \tau$, ${\rm 95}~{\rm\%~} U$ after ${\rm 3}\cdot \tau$, ${\rm 98}~{\rm\%~} U$ after ${\rm 4}\cdot \tau$, and ${\rm 99}~{\rm\%~} U$ after ${\rm 5}\cdot \tau$. It is assumed that the capacitor is fully charged after a time span $T = {\rm 5}\cdot \tau$ and the voltage across the capacitor has reached $U$. If the charged capacitor $C$ is discharged through a resistor $R$, the solution of the differential equation for the voltage is:

$$ u_{\rm C}({\rm t})=U\cdot e^{-\frac{t}{\tau}} $$

For the current accordingly:

$$ i_{\rm C}({\rm t})=- \frac{U}{R}\cdot e^{-\frac{t}{\tau}} $$

Now build the following circuit. Connect the function generator and the oscilloscope to the circuit as shown in figure 10.

lab_electrical_engineering:2_capacitors:fig-10_v2-osci-function-gen.svg Fig. 10: Circuit with oscilloscope + function generator

Connect the function generator’s ground (black) to point 2 and the signal lead to point 1. For the oscilloscope connection use the BNC‑banana adapter; the red socket is the signal input and the black socket is the ground connection to the oscilloscope. Connect Channel 1 to point 3, Channel 2 to point 4, and ground to point 5. You only need to make the ground connection to the oscilloscope once, since the ground lines are connected inside the oscilloscope.

Enter in table 5 both the measured values of the components used and the calculated time constant $\tau$.

lab_electrical_engineering:2_capacitors:table-4-time-constant-meas_v2.svg

Tab. 5: Capacitor meas. + time constant $\tau$


Set the voltage $u_{\rm F}$ generated by the function generator to a unipolar square with amplitude 5 $V$ (i.e., no negative signal voltages occur!). The frequency on the function generator must be chosen so that the capacitor just fully charges and then fully discharges again.
Calculate the frequency to be set:


$f_{\rm 1} =~{\rm ...............}$



Sketch the voltages measured with the oscilloscope for $u_{\rm F}$, $u_{\rm C}$, and $u_{\rm R}$ in the following screen diagram. Also enter alongside the screen drawings the set $\frac{V}{\rm DIV}$ of the channels and the $\frac{T}{\rm DIV}$ of the time base.

lab_electrical_engineering:2_capacitors:fig-10_v2-rectangle-bipolar-5khz-u-2v.svg Fig. 11: u_F, u_C, u_R

Channel 1: $ \frac{V}{\rm DIV} = $

Channel 2: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $


Draw tangents in the screen diagram for the start of charging and the start of discharging.
What is the charging current or discharging current at the beginning?



${\rm ........................................................................................}$

${\rm ........................................................................................}$


The circuit is now to be operated at higher frequencies. Set the frequency to:


Measure the waveforms for $u_{\rm F}$, $u_{\rm C}$ and document the results in the following table 6:

lab_electrical_engineering:2_capacitors:table-5-voltage-curves_v2.svg

Tab. 6: Voltage curve u_F u_C


Explain your observations for the measurements with $f_{\rm 2}$, $f_{\rm 3}$:


${\rm ........................................................................................}$

${\rm ........................................................................................}$

${\rm ........................................................................................}$

${\rm ........................................................................................}$



General information on diodes

The diode (also called rectifier diode) is a semiconductor device with two terminals that has a nonlinear current-voltage-characteristic. It can be regarded as a voltage‑dependent switch. The function of a rectifier diode in normal operation can most easily be imagined as a check valve, s. figure 12. If pressure (voltage) is applied to this valve (diode) in the blocking direction, the current flow is blocked. In the opposite direction the pressure must become large enough to overcome the spring pressure of the valve (blocking voltage). Then the valve opens and current can flow. The voltage needed in this mechanical model to overcome the spring pressure corresponds to the so‑called forward voltage. A certain forward‑direction voltage must first be present for the diode to go into the conducting state. For ordinary silicon diodes this necessary forward voltage is approx. 0.7 V for currents in the mA range.

lab_electrical_engineering:2_capacitors:fig-14_v2-comparison-valve-pics.svg Fig. 12: Valve characterization

Z‑diode

Often, the voltage across a load is to be constant; for example in microelectronics, where the allowable operating voltage is mostly between 4.75 V and 5.25 V. This rather narrow range cannot be achieved with simple power supplies. A reference voltage source (regulated voltage) is needed. Z‑diodes can be used well for small powers. The Zener effect was discovered in 1934 by Clarence Malvin Zener. Normal diodes are destroyed in reverse operation if a certain voltage threshold is exceeded — one speaks of the diode’s breakdown. Zener found that specially doped diodes (Z‑diodes) operated in reverse can withstand this breakdown voltage. Since the breakdown voltage (also called Zener voltage) is nearly constant, Z‑diodes are suitable as a voltage reference when operated in breakdown. When operated in forward direction or in reverse with voltages below the Zener voltage, Z‑diodes behave like normal diodes.

lab_electrical_engineering:2_capacitors:fig-15_v2-zener-diode-symbol.svg Fig. 13: Circuit symbol for a Z-diode


Inform yourself about Z‑diodes and their circuit.

The function generator is to feed a rippled voltage into a circuit consisting of a Z‑diode and series resistor. The generator voltage and the voltage at the Z‑diode are to be measured with the oscilloscope. Draw the circuit with generator, Z‑diode and series resistor as well as oscilloscope with the given values:















Determine the required resistor for current limiting of the Zener diode under the above condition (document your calculation below!).

Which resistors from the E‑series can be used?


${\rm ........................................................................................}$

Is it better to choose a higher or lower resistor? Why?


${\rm ........................................................................................}$

${\rm ........................................................................................}$

${\rm ........................................................................................}$

Build the circuit and set the generator voltage accordingly. Now measure with the oscilloscope the voltage after the generator with Channel 1 and after the Zener diode with Channel 2. Enter the oscilloscope traces in the figure 14 shown below. Label the traces of the corresponding voltages.


lab_electrical_engineering:2_capacitors:lab_electrical_engineering:2_capacitors:fig-7_v2-sine-1khz-u-1_8v.svg Fig. 14: Screen diagram

Channel 1: $ \frac{V}{\rm DIV} = $

Channel 2: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $



Recording a diode characteristic curve with the oscilloscope in X–Y mode

The representation of a diode characteristic on the oscilloscope is done using the circuit in figure 15. As an AC source for recording the characteristic, the function generator is used, which feeds a sine signal with a frequency of 20 Hz into the circuit. This sine signal must not contain any DC component (no offset), otherwise the characteristic cannot be displayed correctly on the oscilloscope. The diode voltage $u_{\rm D}$ must be applied to Channel 1. The voltage drop across the resistor $u_{\rm R}$ is proportional to the current through the diode and is applied to Channel 2. The necessary ground connection for the oscilloscope lies between the resistor and the diode. For this reason, Channel 1 must also be inverted for the measurement.

lab_electrical_engineering:2_capacitors:fig-11_v2-diode-osci.svg Fig. 15: Diode characteristic with oscilloscope

Record the screen image of the diode characteristic in figure 16 and determine the forward voltage of the diode by placing a straight line in the screen diagram.

lab_electrical_engineering:2_capacitors:fig-7_v2-sine-1khz-u-1_8v.svg Fig. 16: Screen image diode characteristic

Channel 1: $ \frac{V}{\rm DIV} = $

Channel 2: $ \frac{V}{\rm DIV} = $

Time basis: $ \frac{T}{\rm DIV} = $

Give the determined forward voltage of the diode 1N4005P:



${\rm ........................................................................................}$

Details on the lab equipment

Function generator

Fig. 17: Function generator HM8030-5
lab_electrical_engineering:funktionsgenerator_hm8030_5.png

A function generator provides a variable voltage source. In general, these signals can be generated with different waveform shapes, frequencies, and amplitudes. These values can be adjusted on real function generators. In contrast to an ideal function generator, the output current of a real system is limited. As with a real voltage source, an output impedance is specified here.

In figure 17 the function generator used in the lab is shown. It has an output impedance of $50~\rm \Omega$. In the following, the settings are briefly described:

  1. The waveform can be selected using the FUNCTION button. Pressing the button selects the next waveform. At start-up, the sine waveform (∿) is selected; the following waveforms are: triangle and square or pulse. The waveforms can be seen in the simulation below; a sawtooth signal is not possible with this function generator.
  2. The frequency can be changed via two inputs
    1. The potentiometer under FREQUENCY allows precise adjustment. Turning clockwise increases the frequency.
    2. Using the buttons under the potentiometer, the frequency can be changed by one decade—i.e., by a power of ten—down (button with arrow to the left) or up (button with arrow to the right). The limits are $50~\rm mHz$ and $5~\rm MHz$.
  3. There are also several controls for the voltage
    1. The potentiometer OFFSET allows precise selection of the DC component. To enable a DC component, press the ON button.
    2. At the output jack, two attenuations of $-20~\rm dB$ can be switched on. This reduces the peak-to-peak voltage range from [$0~\rm V$, $10~\rm V$] to [$0~\rm V$ , $1~\rm V$ ] or [$0~\rm V$ , $0,1~\rm V$ ].
    3. The AMPLITUDE, i.e. the peak-to-peak voltage, can be finely adjusted using a potentiometer.

Oscilloscope

Even before the digital multimeter, the oscilloscope is the most important measuring instrument in electrical engineering and electronics. It makes it possible to display a voltage waveform u(t) over time t, observe it in “real time,” and measure it. In many experiments and analyses, it is a central component because it can make electrical processes visible. In addition to quantitative statements (how high is the voltage and when?), it is also helpful for qualitative results (for example: Is there a fault in the circuit?).

Fig. 18: Display and control panel of the oscilloscope DS1052E
lab_electrical_engineering:oszilloskop_rigol_ds1052e_small.png

Good knowledge of the oscilloscope is necessary for this experiment. In figure 18 you can see the control panel of the DS1052E used, which is briefly described here.

Please use the buttons marked with “ ” to learn more about the individual functions

General operation

  1. On/off switch (1.)
  2. Display area (2.)
  3. Selection of operating modes (3.)
  4. Menu selection buttons (4.)

Signal display and input

Scaling

Trigger

On the left you will find a nice introductory video. Note that the specific operation often depends on the manufacturer and model. However, the concepts are the same for all devices.

Virtual oscilloscopes

A virtual oscilloscope can be found on the pages of Aachen University. Try there to “oscilloscope” various function generator settings, e.g.:

What happens if the trigger level is set too high?

further virtual oscilloscopes

Preparation for the oral short test

For this experiment you should

  1. be able to apply and explain the following concepts:
    1. periodic signal
    2. characteristic quantities in the signal-time waveform
      1. peak value (amplitude)
      2. peak-to-peak value
      3. arithmetic mean value
      4. RMS value (quadratic mean)
      5. rectified mean value
      6. period duration
      7. frequency
    3. creating the time waveform of a periodic signal
    4. graphical determination of the above quantities from the time waveform of a signal
    5. capacitance $C$
    6. behavior of current $i$ and voltage $u$ across $R$ and $C$ with a rectangular input voltage for $t=[0; \infty]$
    7. $i_{C,stat}$ and $u_{C,\rm stat}$ in steady state
    8. time constant $\tau$
    9. determination of $R$, $C$, $\tau$, $i_{C,\rm stat}$ and $u_{C,\rm stat}$ from the time waveform