StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Circuit to Control a Traffic Signal - Assignment Example

Cite this document
Summary
The aim of the paper “Circuit to Control a Traffic Signal” is to design and implement a sequential circuit using JK flip flops and control the working of a traffic signal having the following characteristics. The given question asks us to implement a circuit for monitoring a traffic signal…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER95% of users find it useful
Circuit to Control a Traffic Signal
Read Text Preview

Extract of sample "Circuit to Control a Traffic Signal"

Circuit to control a traffic signal Aim: To design and implement a sequential circuit using JK flip flops and control the working of a traffic signalhaving the following characteristics The given clock pulse is of period 10s: a) Green glows for 40s b) Amber glows for 20s c) Red glows for 40s d) Red and Amber glows for 20s Introduction: The given question asks us to implement a circuit for monitoring a traffic signal. Since the application is time dependant, we use a sequential circuit. We design and implement a counter which resets to zero after counting to 11. After designing the counter using the desired flip flop, we design a combinational circuit for the light outputs. Once we connect the counter output values to the traffic light sequence, we get the desired, complete circuit. For solving the given problem, we use a synchronous sequential circuit. In synchronous sequential logic, there is a clock signal, the internal state changes only on a clock edge. The basic storage element in a sequential logic is called the flip-flop. The primary advantage of synchronous logic is its simplicity. Also, the hardware required in sequential circuits is considerably lesser when compared to a combinational circuit undertaking the same task. Synchronous logic also has two main disadvantages: 1. The clock pulse should be distributed to every flip-flop in the circuit. Since the clock is usually a high-frequency signal, this arrangement consumes large amounts of power and dissipates considerable amounts of heat. Even the flip-flops that are not involved in the current operation consume a small amount of power, thereby dissipating heat in the chip. 2. The maximum possible clock frequency is determined by the slowest logic path in the circuit (critical path). To design such a circuit, We undertake the following steps 1) Form a state table showing present state, next state and excitation needed. 2) Decide on the hardware required( JKFF for this question), and compute the JK excitations. 3) Simplify the JK inputs obtained using karnaugh maps 4) Form the circuit from the equations obtained. To design the circuit for the light outputs, we draw a truth table showing the times at which the green, amber and red lights are turned ON. The individual flip flop outputs of the counter are used to denote the variation in time. We then simplify the obtained equation using the karnaugh maps, and hence obtain the final circuit. Theory: JK Flip Flop: The flip flop is an edge triggered device. Its working and characteristics is similar to that of an RS flip flop, but the feedback lines provided ensure that the 1, 1 uncertainty condition of the RS flip flop is avoided. The input 1, 1 operates the JKFF in toggle mode. The 7476 IC is a dual JKFF. It is positive edge triggered. Information is loaded on to the master when the clock pulse is high, and transferred to the slave during transition of the clock state. IC 74LS76 is a negative edge triggered JKFF. The SET and RESET inputs are active low asynchronous terminals. They are used to bring the FF to a desired state, irrespective of the clock and the JK values. The characteristic equation of a JK flip flop is: Counters: Synchronous counters are used to count binary sequences using minimum hardware. They can be designed using any type of flip flop. The number up to which the circuit can count depends on the number of flip flops used. A counter can count from 0 to 2n-1, where n is the number of flip flops used. Extra numbers can be in the counting sequence can be avoided by using proper hardware. The states that are not being used are considered as don’t care conditions when the truth table is constructed. Hardware used: IC 7408(Quad 2 input AND gate): IC 7411(Triple 3 input AND gate): IC 7432 (Quad 2 input OR gate): IC 7476 (JK flip flop) Design: For designing the counter which resets after 11: A truth table containing the present state of a flip flop, next state, and excitation flip flop is drawn. The J,K excitation values are obtained from the present and next states and the characteristic table of JK flip flops The obtained J, K values of each flip flop is then simplified using Karnaugh maps. A circuit can now be constructed using four J K flip flops, and corresponding AND, OR gates. The connections are given to the IC’s according to the circuit diagram. The truth tables for the given conditions are drawn (amber, green, red) with the varying condition as time. By considering the individual flip flop outputs of the counter as denoting the increase in time, the functions for the traffic lights are obtained in terms of the flip flop outputs. These functions are then simplified using karnaugh maps. The output is checked and verified by connecting the input clock to a 100 mHz signal Present State Next State Change A B C D A* B* C* D* Xa Xb Xc Xd 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 1 0 0 0 1 1 1 0 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 1 1 0 0 X X X X X X X X 1 1 0 1 X X X X X X X X 1 1 1 0 X X X X X X X X 1 1 1 1 X X X X X X X X Table showing the current and next states and the J, K values (obtained from JK excitation table) Q(a) Q(b) Q(c) Q(d) Green Amber Red 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 Truth Table for Green, Amber and Red output signals KARNAUGH MAPS FOR JK EXCITATIONS: Xa= A.B.C.D + A.C.D Xb= A.B.C.D + B.C.D Ja= B.C.D Jb= A.C.D Ka= C.D Kb= C.D Xc= C.D + C.D Xd= C.D +D + C.D Jc= D = D + D Kc= D Jd = Kd = 1 Circuit Diagram : Counter Using JK Flip Flops Counter that counts to 11 and then resets to 0 KARNAUGH MAPS FOR OUTPUT FUNCTIONS (RED, GREEN, AMBER): Green= A . B Amber= B.C + A.C Red=A +B.C Circuit diagram Traffic Control Signal: Result and Conclusion: The given problem is solved using sequential logic analysis techniques. The circuit obtained gives the required output when a signal of frequency 100 mHz is given at the input. The sequential logic is used since the application is a mainly a function of time. Flip flops are memory elements which can be used to store data, create delays, construct counters, registers etc. By applying the designed counter in combination with a combinational circuit that controls the traffic light signals, we are able to construct the desired circuit. The assignment helps us to understand and implement flip flops and combinational circuits in practical applications. It further helps us understand the basic steps required in designing any synchronous sequential circuit. References: Mano, Morris. M and Ciletti, Michael, D. Digital Design. 4th Ed. 2006 Floyd, Thomas. L. Digital Fundamentals, 10th Ed. 2008. elektropage.com, 2005, 74xx series TTL integrated Circuits Pin diagrams index, accessed on12th November 2008 from http://www.elektropage.com/ic/74xxpin.asp?id=7 Read More
Tags
Cite this document
  • APA
  • MLA
  • CHICAGO
(Circuit to Control a Traffic Signal Assignment Example | Topics and Well Written Essays - 1500 words, n.d.)
Circuit to Control a Traffic Signal Assignment Example | Topics and Well Written Essays - 1500 words. https://studentshare.org/engineering-and-construction/1717589-electronic-systems-digital
(Circuit to Control a Traffic Signal Assignment Example | Topics and Well Written Essays - 1500 Words)
Circuit to Control a Traffic Signal Assignment Example | Topics and Well Written Essays - 1500 Words. https://studentshare.org/engineering-and-construction/1717589-electronic-systems-digital.
“Circuit to Control a Traffic Signal Assignment Example | Topics and Well Written Essays - 1500 Words”. https://studentshare.org/engineering-and-construction/1717589-electronic-systems-digital.
  • Cited: 0 times

CHECK THESE SAMPLES OF Circuit to Control a Traffic Signal

VoFR, VoIP and ATM

verview of the technologiesA general background of these technologies and the basic principles and features are given one by one in this section below:-Voice over Frame Relay (VoFR)Definition VoFR uses a router to carry voice traffic like telephone calls and faxes over a frame relay network.... Also, more efficient network control and management is achieved.... 'Finally, packet based voice systems offer access to newly enhanced services such as unified messaging and application control....
11 Pages (2750 words) Essay

Issues Concerning Optical networking and Equipment

The major difference in optical and other communication models is the additional requirement of a source (for conversion of signal from electrical to optical domain), receiver (for conversion from optical to electrical domain) and use of fibre as media in place of conventional copper wire or microwave.... There are practically insignificant radiations from fibre which enhance security of signal in a communication system....
12 Pages (3000 words) Essay

Also related to Electronic Engineering

 The reasons as to why reliability is important as follows: (b) (i) The oxygen control… At any one time only one out of the two control systems is being used and the other will be switched on only if the first malfunctioned.... Assuming that the switching process is ideal and that both systems If the average mission time for the vehicle to go submerged and returned to surface is 1 day and 12 hours, compute the reliability of this control system for the mission....
3 Pages (750 words) Essay

Evaluate Wide Area Network (WAN) technologies

It acts as a filter thus reduces the amount of traffic on a network.... It acts as a storing and forwarding device and has unique hardware addresses to filter traffic.... Its installed in the available PCI ports inside the computers and consist of a unique Media control Access address.... circuit switching on the other hand allow the data connection Evaluate Wide Area Network (WAN) technologies.... WAN uses two technologies namely; packet switching and circuit switching....
2 Pages (500 words) Essay

Telecommunications and Networking

The author examines various elements of network performance within the scope of Quality of Service such as reliability measures can be divided into many factors such as source node communicating with the end or terminal node for every origin-destination, delay, jitter, bandwidth, and scheduling.... hellip; The scheduling algorithm helps in regulating interactions across flows and is highly dependent on the techniques associated with buffer management....
10 Pages (2500 words) Assignment

Role of Human Operators in CCTV Systems

… Role of human operators in CCTV surveillance systemsIntroductionCCT stands for closed circuit television which basically refers to the use of video cameras in signal transmission to particular places (Bogard 1996).... The difference between broadcast Role of human operators in CCTV surveillance systemsIntroductionCCT stands for closed circuit television which basically refers to the use of video cameras in signal transmission to particular places (Bogard 1996)....
10 Pages (2500 words) Essay

Telecommunications and Networking - Reliability and Quality of Service

… The paper "Telecommunications and Networking - Reliability and Quality of Service" is a wonderful example of an assignment on information technology.... As the paper outlines, the overall effectiveness of a communication network or channel can be measured in terms of its Quality of Service requirements and specifications....
10 Pages (2500 words) Assignment

Development of a Program for Control of a Home Alarm System

igure 1: State diagram that shows control of the traffic lights.... This term paper "Development of a Program for control of a Home Alarm System" discusses the design of an alarm system for homes that will use PIC18f2520 that has 3 ports that are used for LCD and the alarm system.... Portb) = 0b00100001 // that means bit (0) and a bit(5) ON and the other bits OFFIn this case, the LED is placed across the circuit when there is no intrusion then voltage = 0 in the reading then the alarm is off and there is no current....
7 Pages (1750 words) Term Paper
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us