Design and build a simple intrusion detection and alarm

Assignment Help Electrical Engineering
Reference no: EM132238729

Lab 4: Alarm System
1033_Untitled picture.png

In this lab you will design and build a basic burglar alarm using a complex state machine. You will use several methods to reduce the complexity of the state machine and the associated combinational logic which reduces costs and also results in a design that can be solved using K-Maps.

You will undertake this project in groups of two.

The marking will be individual marking and
students may well get quite different marks depending on their log books, what they have personally done, and their ability to answer questions.

THE PROBLEM is to design and build a simple intrusion detection and alarm system.
The alarm system is required to activate a siren if an intruder is detected. The siren must run for a specified time and then stop. The siren output is a simple logic output.
A single momentary switch input is used to trigger the alarm, the period of the activation may be shorter than the period between clock edges.
The alarm system can be armed/disarmed by the user at any time using a latch switch.

DELIVERABLES include-
• A self assessment sheet.
• A block diagram of the main elements of the alarm and the signals that flow between them. This must include the counter, SR flip-flop, and state machine.
• A state diagram to explain the operation of the state machine.
• For each state machine flip-flop input a truth table, K-Map and boolean logic for the combinational logic which takes state plus inputs to create the flip-flop inputs.
• Boolean logic for the outputs.
• Complete schematic for the system.
• A complete working system on a breadboard (or two).

REQUIREMENTS & CONSTRAINTS include-
• When the alarm system is powered, but not armed, the green LED GLED will be active.
• Arming the alarm system will activate the red LED RLED and deactivate GLED.
• Arming/Disarming the alarm system will be controlled by a latch switch (DIP switch) named ARM, or arm. When active it will; case the alarm to be armed, when inactive it will disarm the alarm unless otherwise noted.
• If an intruder has been detected (momentary switch pushed) while the alarm system is

armed, then there must be an entry delay of at least one clock cycle delay before the active high Siren output will be activated for the clock periods identified in the table below.
• When the siren period ends it must go back to the armed state.
• The arm switch may not cause a siren output to be stopped while active but it must cause the entry delay period to abort such that the siren will not sound.
• Since the intruder detector (I) is activated by the momentary switch, you will need to use an SR latch to latch the output from the switch. The SR latch will need to be reset before the next armed state.
• The project is done in groups of two. Allocating tasks and work must start ASAP, if a group is not working see the tutor immediately.
• You must design the system using your kit of logic gates, use HC74 flip-flops for memory elements and the HC193 counter as a timer.
• For the purposes of marking (and debugging) all key signals and the flip-flop outputs should be shown on LEDs. It would be helpful to have the flip-flop inputs also shown on LEDs.
• All LEDs and switches must be clearly labeled.

STUDENT NUMBER REQUIREMENTS: look at the last digit of student number of the youngest team member. Below are the requirements you must satisfy.

Last digit

State Numbering Constraint Q1,Q0:Unarmed state, next state

Timer period in clock cycles.

6

01,10

2

7

00,10

3

8

01,00

4

9

01,11

2

0

11, 10

3

1

11,01

4

2

10,11

2

3

10,01

3

4

11,00

4

5

00, 11

2

If the younger student number is odd then the armed switch is active high (high = move from unarmed to armed). If the student number is even then the switch is active low.
Look at the student number of the older student. If it is odd then use the borrow output from the counter to indicate the timeout. If it is even use the carry output instead.

HINTS include-
• This is a long lab and you should start well before the nominated date to be sure of getting a good result. Try getting a partner early and starting work.
• In first week of Lab 4 the tutor will help you draw a block diagram of the system and define the signals that go between the blocks. You should also get your counter counting up and down and observe carry and overflow. The tutor will help you if you get stuck. This is an important help session.
• Make sure all your work is neatly written up in your log book and the book is signed every week.
• The tutor is happy to help you, providing you have a proper schematic circuit and relevant design work in your log book.
• Be very certain about whether signal are active high or low. Apart from requirements constraints you can choose which way you like in order to minimize the logic.
Adopt a naming convention to highlight active low and active high, perhaps the one in the notes (reset is active low, RESET is active high).
• Review all the methods you know of minimizing the logic.
• The reset on the SR flip-flop will need to be cleared at some point so the record of intrusion can be cleared.
• All outputs are shown by LEDs. You have the choice of connecting the LED and resistor from the output to +5v or 0v.
• How will your circuit be forced to the initial state?
• Split the work between partners and start ASAP. Think about how to connect your two breadboards.
• The HC193 is more complex than the chips you have used to date. Make sure you understand the behavior of all inputs and outputs and what inputs you need to make the counter load and count. One team member should build the timer circuit ASAP to ensure this is under control. Note the rule about whether you must use borrow or carry.

 

 

Reference no: EM132238729

Questions Cloud

Cognitive framework we develop through experience is called : A cognitive framework we develop through experience is called. A(n) ________ is sign that relates to product by either conventional or agreed-on associations.
The silent language of tattoos-self expression on the job : The silent language of tattoos: How much self-expression on the job? Tattoos and piercings have gained popularity among young Americans over last two decades.
Who are the two parties to a lease transaction : Who are the two parties to a lease transaction? What are the five primary types of leases, and what are their characteristics?
Analyze the implications for brand equity management : Analyze the implications for brand equity management in the category. Explain how it effects positioning for example.
Design and build a simple intrusion detection and alarm : THE PROBLEM is to design and build a simple intrusion detection and alarm system. The alarm system is required to activate a siren if an intruder is detected. The siren must run for a specified time and then stop. The siren output is a simple logic o..
Describe principles of retrieval for instructional settings : Memory and knowledge are especially important in the retrieval of academic subject content. The book lists several general principles of retrieval.
What would be johns average return per year for that : John had kept the stock, and at the end of the second year that stock's price jumped to $100. What was his second year's return?
What key features your applications going to provide : ISYS40151 Mobile Interactive Systems - Nottingham trent university - What key features your applications going to provide including those that go beyond
What is the central tenant of project portfolio management : What is the central tenant of project portfolio management? What are the similarities and differences among the methods?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  How many line pairs per mm will camera be able to resolve

A CCD camera chip of dimensions 7x7 mm, and having 1024x1024 elements, is focused on a square, flat area, located 0.5m away. How many line pairs per mm will this camera be able to resolve. The camera is equipped with a 35-mm lens.

  Find what is the quality factor q of the coil

purchase an inductor coil for a resonance circuit resonating at 1500 kHz; the operating bandwidth is 10 kHz. What is the quality factor Q of the coil

  Calculate line and phase values of voltages

Calculate line and phase values of voltages and currents in each part of the circuit, and the turns ratio of each transformer.

  Compute average power of fundamental frequency component

A signal has a fundamental frequency of 1000 Hz. What is its period? Assume the signal has a peak amplitude of 1 Volt and that the instantaneous power is equal to the square of the voltage, then compute the average power of the fundamental frequen..

  Write a verilog model of a flip-flop with a negative-logic

Write a Verilog model of a flip-flop with a negative-logic synchronous clock-enable input, positive-logic asynchronous preset and reset inputs, and both positive- and negative-logic data outputs.

  Find out the input resistance offered for voltage series

An amplifier without feedback is having a voltage gain of 80 and a current gain of 100 and an input resistance of 600-ohm. Find out the input resistance offered when voltage series feedback is employed with a feedback factor of 5%.

  Derive an expression for confined energies of an electron

Use the Schroedinger wave equation to derive an expression for the confined energies of an electron trapped between two barriers separated by a distance, a. Hint: Take the potential to be constant and equal to zero between 0 and a

  Draw a state transition diagram for this machine

Say that we want the output value to remain stable (constant) during the computations, with the current value replaced only when a new value is ready. How can that be done? (Suggestion: see section 3.11.)

  What happens when an ac supply is given to a dc machine

1) Which has greater efficiency DC Machine operating as MOTOR or GENERATOR  2) What happens when an AC supply is given to a DC Machine

  Explain how to divide the amount of the project goal

The project has been broken down into the following modules: Power supply, Processor and motherboard with RAM, I/O circuit board, CD-ROM drive, Floppy drive LCD display, Keypad, Enclosure and all mechanical parts, Final assembly.

  Select values of r and c to locate a zero

Find and express ZEQ(s) as a rational function and locate its poles and zeroes.-  Select values of R and C to locate a zero at s = -330 krad/s.

  What is the height of the spectral line at zero frequency

What is the height of the spectral line at zero frequency? How is this related to the DC level of the m-sequence?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd