EEL 3705L-2024-Spring-Lab2-v1-0

pdf

School

Florida State University *

*We aren’t endorsed by this school

Course

3705L

Subject

Electrical Engineering

Date

Feb 20, 2024

Type

pdf

Pages

7

Uploaded by jjtgabc123

Report
FAMU- FSU College of Engineering Department of Electrical and Computer Engineering Spring 2024 Semester Jae Garland Page 1 of 7 EEL3705L Digital Logic Lab Report Section No: 02 Lab Instructor: Keertana Alugoti Lab No: 02 Lab Title: Smoke Alarm Controller Name: Jae Garland Partner’s Name: Nathan Gibbs Date Performed: January 25, 2024 Date Delivered: February 2, 2024
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 2 of 7 Contents 1 Introduction ............................................................................................................................................ 3 2 Requirements .......................................................................................................................................... 3 3 Theoretical Design ................................................................................................................................. 3 3.1 Design Narrative ................................................................................................................................ 3 3.2 Top-level design ................................................................................................................................ 4 3.3 Functional description of components ............................................................................................... 4 4 Synthesized Design ................................................................................................................................ 5 5 Simulation Results .................................................................................................................................. 5 6 Experimental Results .............................................................................................................................. 5 7 Summary ................................................................................................................................................ 6 8 Lessons Learned ..................................................................................................................................... 6 9 Pre-Lab Assignment ............................................................................................................................... 7
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 3 of 7 1 Introduction The objective of the lab is to design and implement a smoke alarm controller based on a customer’s specific requirements. The primary goal of the lab is to provide a hands-on introduction to the engineering design process. In turn, we were also exposed to simulating our design before testing it on the hardware, which encouraged troubleshooting and redesign. This report aims to provide a comprehensive analysis of the work performed, offering insight into the lessons and skills learned during this lab exercise. 2 Requirements Signal Name Direction Encoding Detector 0 (D0) Output Active-low Detector 1 (D1) Output Active-low Detector 2 (D2) Output Active-low Key Output Active-high Sprinkler (SPK) Input Active-low Alarm (ARM) Input Active-high Dial Input Active-low Table 1 Requirement table 3 Theoretical Design 3.1 Design Narrative The design involves four inputs and three outputs. All three detectors are active-low, whereas the key is active-high. In terms of the outputs, the sprinkler system and automatic telephone dialer are active-low while the alarm is active-high. To account for this, each active-low input was set to Ground (gnd) and there was an invertor put onto the key to ensure we were properly activating the desired input. With regards to meeting the client’s requirements , the sprinkler system could only activate when two smoke detectors were active. Moreover, the alarm and dialer were expected to activate when the key was active, or any detector was active. To achieve this, we had a four-way or gate connected to the alarm and dialer. This meant that if any of the four inputs were active then the alarm and dial would turn on. The sprinkler system was more complicated in the sense that we had to use three ‘and’ gates to account for any combination of the two detectors. Thos e ‘and’ gates then passed into a three- way ‘or’ gate which connected to the sprinkler output. This meant that if any two detectors were active the sprinklers would activate.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 4 of 7 3.2 Top-level design 3.3 Functional description of components Given the circuit schematic as seen in Figure 1, we can generate two sub-modules: inputs and outputs. The following truth table provides insight into how the components interact with one another. Key D0 D1 D2 SPK ARM DIAL 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 1 1 0 0 1 1 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 Table 2 Truth Table Figure 1 Top Level design schematic
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 5 of 7 4 Synthesized Design 5 Simulation Results 6 Experimental Results Figure 2 Schematic Figure 3 Waveform results Figure 5 Key and Detectors inactive Figure 4 Key active
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 6 of 7 7 Summary The objective of this lab was to design and implement a smoke alarm controller based on a customer’s specific requirements. As illustrated in Figure (), it is evident that my partner and I developed a circuit that successfully achieves this goal. Following the provided steps in the lab manual and implementing our circuit designed in the prelab, my partner and I were able to replicate the desired simulation. When it came to prototyping our design some issues didn’t align with the experimental results. As a result, my partner and I did have to revisit the conceptual design and make modifications to our circuit schematic. Once those modifications were completed, we ran the simulation once again and then we tested our modified hardware prototype. We had to complete that process another time, but we eventually got the desired results. Therefore, indication that our design and testing procedures were comprehensive enough to meet the specified requirements. 8 Lessons Learned One of the key takeaways from this lab was learning to go through the complete engineering design process. Prior to this lab, I did know of the engineering design process however I was never obligated to go through each step of the process. Given the complexity of the task and me still being new to Quartus, it was crucial to follow the design process otherwise the task would have been much harder. There were initial problems with the first design which was discovered during the prototype testing phase; however, after reviewing the project requirements and the conceptual design, my partner and I were able to fix our errors relatively quickly. In terms of approaching the lab differently, I would spend more time in the conceptual design phase. The reason is that if I had analyzed the initial design more, I could have easily Figure 6 Detector 0 active Figure 7 Detector 0 and 1 active Figure 8 Detector 0 and 2 active
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
EEL-3705L Digital Logic Laboratory Report Lab #2 Jae Garland Page 7 of 7 avoided the need to revisit that phase. This lab highlighted the importance of the engineering design process, which will be crucial moving forward. 9 Pre-Lab Assignment END OF DOCUMENT