Mohammad Aqeil 0061012769 ELE1502 ASSIGNMENT 2Circuit 1: Power Supply Development Analysis: Range of output voltage It is given that: Power Supply Plug is providing the voltage of 14 VAC and the value of capacitor ๐ฑ is 100 uF. Potentiometer connected to the LM317 can vary its resistance from 0 k๏— to 10 k๏—. So, when potentiometer resistance is = 0 k๏—, the voltage is calculated as; ๐ต๐ต = ๐ต๐ต (1 + 0๐ 1.+ 2๐ 5๐ฉ + ๐ต๐ต(5๐ฉ For LM317, ๐ต๐ต = 1.25 V and ๐ต๐ต = 50 uA ๐ต๐ต = 1.25 (1 + 0๐ 1.+ 2๐ 5๐ฉ + 50๐จ5๐ฉ = 6.46 + 0.25 = 6.71 ๐ And when potentiometer resistance is = 10 k๏—, the voltage is calculated as; ๐ต๐ต = ๐ต๐ต (1 + 101 ๐ฎ2 + ๐ต๐ฉ + ๐ต๐ต(15๐ฉ ๐ต๐ต = 1.25 (1 + 1 15 .2๐ ๐ฉ + 50๐จ15๐ฉ = 16.88 + 0.75 = 17.63 ๐ So, maximum possible achievable output voltage after the adjustment of potentiometer connected with LM317 is from 6.71 V to 17.63 V.Further Analysis for suitability of Capacitor ๐ต: The following data is obtained to validate the suitability of the capacitor ๐ฑ; Potentiometer Setting Value of Capacitor ๐ต Output Voltage Ripple Voltage 0 k๏— 100 uF 6.71 V 0V 10 k๏— 100 uF 12V to 16V 4V 0 k๏— 470 uF 6.71 V 0V 10 k๏— 470 uF 15.2 V to 16.0V 0.8 V Table 1 When potentiometer is set to 0 k๏—, the output voltage is exactly 6.71 V without any ripple for ๐ฑ as 100 uF. So we can say that this value of the capacitor is suitable for this output voltage. When potentiometer is set to 10 k๏—, the output voltage is fluctuating between 12V to 16V for ๐ฑ as 100 uF. So, we are having ripple voltage of 4V. So it is concluded that ๐ฑ = 100 uF is not suitable choice when potentiometer is set to 10 k๏—. The value of ripple voltage can be reduced by increasing the value of the capacitor ๐ฑ. The same analysis is repeated for ๐ฑ = 470 uF, it is clear from the table 1 that the output ripple voltage is reduced from 4V to 0.8V .Building and Testing: The circuit is implemented on breadboard as shown below and measurements are taken by the DMM. Fig 1Part a: Potentiometer Setting ๐ต Current Output Input Measured Voltage Output Measured Voltage 0 k๏— 100 uF 0 mA 14 VAC 7.19 V 0 k๏— 100 uF 100 mA 14 VAC 6.89V to 7.19 V 10 k๏— 100 uF 0 mA 14 VAC 12.13 V to 16.2 V 10 k๏— 100 uF 100 mA 14 VAC 8.0V to 16.0 V Table 2 Part b: Potentiometer Setting ๐ต Current Output Output Measured Voltage Ripple V Measured oltage 0 k๏— 100 uF 0 mA 7.19 V 0 V 0 k๏— 100 uF 100 mA 6.89V to 7.19 V 0.16 V 10 k๏— 100 uF 0 mA 12.13 V to 16.2 V 3.8 V 10 k๏— 100 uF 100 mA 8.0V to 16.0 V 8 V Table 2 Part c: Observation: It is clear from Part (a) and Part (b) that as the output current and output voltage increases the amount of ripple voltage increases. Recommendation: To reduce the output ripple voltage, the first we need to increase the value of capacitor ๐ฑ. The following data is obtained by selecting the value of ๐ฑ = 470 uF.Potentiometer Setting ๐ต Current Output Output Measured Voltage Ripple V Measured oltage 0 k๏— 470 uF 0 mA 7.19 V 0 V 0 k๏— 470 uF 100 mA 7.19 V 0 V 10 k๏— 470 uF 0 mA 15.2 V to 16.2 V 1 V 10 k๏— 470 uF 100 mA 13.6 V to 16.1 V 2.5 V Table 3 Verification: By comparing Table 2 and Table 3 it can be concluded that when capacitor ๐ฑ value is increased from 100uF to 470uF the ripple voltage is considerably reduced. This ripple voltage can further be reduces by increasing more the value of capacitor ๐ฑ. Complete Circuit Diagram: The complete circuit diagram with modified value of capacitor is shown belowCircuit 2: Sample and Hold Peak Detector Circuit Analysis: Calculating Expected Voltages at A and B Points As ๐ต๐ = 12๐ฌ which is applied to all the active components 555 timer, 741 op amp and LM339 op amp. When switch SW is closed momentarily, the voltage at point A and B is given by the following expression. ๐ต = (๐ต10 + ๐ 10๐ฉ ๐ ๐ต ๐ต = ๐ ๐ โˆ’ ๐ต = ๐ ๐ โˆ’ 0.7 When ๐ต = 100 ๏— = 0.1 k๏— ๐ต = (0.1๐ 10 +๐ฑ0๐ฉ 12 = (10 10 .1 ๐ต) 12 โ‰… 11.88 ๐ ๐ต = ๐ ๐ โˆ’ 0.7 = 11.88 โˆ’ 0.7 = 11.22๐ When ๐ต = 5.6 ๐‘— ๐ต = (5.6๐ 10 +๐ฑ0๐ฉ 12 = (15 10 .6 ๐ต) 12 โ‰… 7.70 ๐ ๐ต = ๐ ๐ โˆ’ 0.7 = 7.70 โˆ’ 0.7 = 7๐ When ๐ต = 33 ๐‘— ๐ต = (33๐ฑ0 +๐ 10๐ฉ 12 = (10 43๐ ๐ฉ 12 โ‰… 2.79 ๐ ๐ต = ๐ ๐ โˆ’ 0.7 = 2.79 โˆ’ 0.7 = 2.09 ๐ Determining the expected timing at the output of 555 timer, 741 and 339 Width of the 555 timer output is calculated for the given circuit is calculated using the following formula;๐ ๐ต๐ต๐ = 1.1 ร— 100๐ ร— 0.22๐ = 24.2 ๐ต When momentary switch is pressed, the 555 timer has positive output, the diode becomes forward biased and the capacitor is charged to the voltage ๐ ๐ โˆ’ 0.7. Now 741 op amp is connected in non-inverting mode with unity feedback, so the input voltage (๐ ๐ โˆ’ 0.7) of 741 op amp becomes equal to the output voltage ๐ต. Now as switch is opened and the diode is reverse biased. So the capacitor starts discharging, and hence ๐ต also starts decreasing. Discharging Time Constant of 741 op-amp circuit is calculated as; ๐ต๐ต๐”Ž๐ต๐ต741 = 220๐ ร— 100๐ = 22 ๐ So, ๐ต decreases to its 63.6% value in 22 seconds. LM339 is working as comparator, its negative terminal is fixed at 3.41 using the resistor divider network. When value of ๐ต is more than 3.41 V, LM339 has the output voltage of 12V, while when ๐ต become less than 3.41 V the output of LM339 reduces to zero and Green LED turns ON. So from above discussion the following table is obtained. Value of Capacitor ๐ Resistance Time Constant Discharging 10 uF 220 k๏— 2.2 s 100 uF 220 k๏— 22 s Table 4The waveforms are; Fig 3Building and Testing: The circuit is implemented on breadboard as shown below and measurements are taken by the DMM. Fig 4Part a: Detecting the Peak Voltage at A and B using DMM Resistance Value ๐ต ๐ต ๐ต 100 ๏— 11.88 V 11.22 V 5.6 k๏— 7.70 V 7.0 V 33 k๏— 2.79 V 2.0 V Table 5 Part b: Detecting the Peak Voltage at A and B using DMM Capacitor ๐ Time Taken by Green LED to change its state 10 uF 2.5 sec 100 uF 25.5 sec Table 6 Part c: Observations and Recommendations From Part (a) and (b) the following observations are made and accordingly recommendation is suggested. 1. As value of ๐ต resistance is increased, the voltage at point A and B decreases and hence the time required to change the state of Green LED decreases. To make the circuit operation faster minimum value of ๐ต should be made zero. 2. As the value of capacitor ๐ is reduces, the discharging time constant of 741 op amp reduces and hence voltage at point B reduces at faster rate and hence the time required to change the state of Green LED reduces. Hence to make the circuit operation faster minimum value of ๐ is desirable and vice versa. The complete circuit diagram is given below.Fig 5