LABORATORY REPORT Subject of the exercise: Basic Logic Circuits (Exercise 9.) Date: <year>. <month>. <day> Location: BME, lab.: Q. BP.109 Students name: <name 1> <name 2> Group, Desk No. Group: <No.>, Desk: <No.> Supervisor: <name> Measurement instruments Digital multimeter (3½ digit) METEX ME-22T Power supply Agilent E3630 Oscilloscope Agilent 54622A Function generator Agilent 332220A Test board VIK-07 Laboratory exercises 1. Measurement of voltage transfer characteristic for several inverter IC type 1.1. Make the evaluation board ready for the measurement: connect a 5V power (to Vcc) and GND (to GND) to the Evaluation board using the Agilent E3630 power supply (Measure the supply voltage before connecting it !!!). 1 Figure 9–1.: Measurement setup of exercise 1. 1.2. Place a TTL inverter to the inverter socket (bottom left). Use the Agilent 332220 function generator to create a 0V to 5V triangle wave at the frequency of 350 Hz. Measure the generated signal before connecting it, because the improper selection of function generator’s load could cause problems!!! Connect the stimulus to the input of the inverter chain. Measure the voltage transfer characteristic of the first inverter using the XY mode of the oscilloscope (Figure 9.4). Do not connect load to the inverters output. <your comments> 1.3. Connect a 10 gate load (“10 kapu terhelés”) to the output of the first inverter. Measure the effect of this modification! <your comments> 1.4. Perform the following measurements for at least 2 TTL and 2 CMOS circuits! Measure the logic High and Low voltage levels, measure the High-to-Low, and Low-to-High switching points. Make conclusions on differences. <your comments> Measurement results: Type of IC SN7404N 74LS04N DM74LS14N MM74HC04N 2 Switching point UL UH Exercise 9. 2. Measure the power consumption of several inverters. Repeat this measurement for different input signal frequencies. Figure 9–2.: Measurement setup of exercise 2. 2.1. Use the Agilent 332220 function generator to create a 0V to 5V square wave at the frequency of 100 Hz. Measure the generated signal before connecting it! Connect a multimeter in current measurement mode between the power supply and the evaluation board. Measure the static power consumption of the evaluation board (unlock and remove the inverter IC). Place the inverter circuit back, and make the power consumption measurement. Repeat the measurement at 1kHz, 10KHz, 100Khz, 1MHz. I_cc [mA] TTL ICs: 1,20 1,00 0,80 0,60 0,40 0,20 0,00 SN7404N SN74LS04 1 10 100 1000 10000 100000 1000000 f_be [Hz] . CMOS ICs: 3 1,2 I_cc [mA] 1 0,8 MM74HC04 0,6 0,4 0,2 0 1 10 1000 100 10000 100000 1E+06 f_be [Hz] . 2.2. Make conclusions on the power consumption change of TTL inverters! <your comments> 2.3. Make conclusions on the power consumption change of CMOS inverters! <your comments> 3. Measurement of delays 3.1. The measurement setup is the same as the previous exercise, except connect a 10 gate load to the last (6th) inverter. Use the Agilent 332220 function generator to create a 0V to 5V square wave at the frequency of 100 Hz. Measure the generated signal before connecting it! Measure the delay at the 6th inverter, and calculate the average delay of one inverter. 3.1.1. Connect a capacitive load to the first inverter and perform the above measurement for several IC type. What are the effects of the capacitive load on the first inverter? Type of IC L-H delay H-L delay fall time rise time MM74HC04 SN7404N SN74LS04N DM74LS14N Type of IC MM74HC04 SN7404N 4 Exercise 9. SN74LS04N DM74LS14N <your comments> 4. Measurements on Flip-flops (SN7474) 4.1. Insert a flip-flop IC to the flip-flop socket on the middle of the evaluation board. Identify the pins of the flip-flop by using the pin setup diagram at the back of this paper! 4.2. Design and implement measurement setups for setup time, hold time, and propagation time measurements by using the embedded pulse generator block of the evaluation board! <your comments> Auxiliary measurement exercises 5. Measure the load and supply voltage dependence of the power consumption of logic circuits. (Auxiliary for exercise two) 5.1. Connect a capacitive load to the first inverter and perform the power consumption measurement described at exercise 2. type of IC 100 Hz 1 kHz 10 kHz 100 kHz 500 kHz SN7404N MM74HC04 <your comments> 5.2. Measure the power supply voltage dependence of CMOS logic circuits. Use the measurement setup described at exercise 2, with the input signal frequency of 1MHz. Reduce the power supply voltage from 5V to 4.5V, 4V, 3.5V and measure the power consumption of the logic circuit. Do not forget the measure the base power consumption of the Evaluation board each time before calculating the inverter circuit power consumption! Do not raise the power supply voltage above 5V! Type of IC 5V 4.5V 4V 3.5V 3V MM74C04N 5