Question: The maximum number of tablets per bottle is entered from the keypad, changed to a code by the Encoder, and stored in Register A.

The maximum number of tablets per bottle is entered from the keypad, changed to a code by the Encoder, and 

The maximum number of tablets per bottle is entered from the keypad, changed to a code by the Encoder, and stored in Register A. Decoder A changes the code stored in the register to a form appropriate for turning on the display. Code converter A changes the code to a binary number and applies it to the A input of the Comparator (Comp). An optical sensor in the neck of the hopper detects each tablet that passes and produces a pulse. This pulse goes to the Counter and advances it by one count; thus, any time during the filling of a bottle, the binary state of the counter represents the number of tablets in the bottle. The binary count is transferred from the counter to the B input of the comparator (Comp). The A input of the comparator is the binary number for the maximum tablets per bottle. Now, let's say that the present number of tablets per bottle is (b+d). [If, b+d>15 then consider '9'], When the binary number in the counter reaches decimal equivalent of (b+d), then A = B output of the comparator goes HIGH, indicating that the bottle is full. The HIGH output of the comparator causes the valve in the neck of the hopper to close and stop the flow of tablets. At the same time, the HIGH output of the comparator activates the conveyor, which moves the next empty bottle into place under the hopper. When the bottle is in place, the conveyor control issues a pulse that resets the counter to zero. As a result, the output of the comparator goes back LOW and causes the hopper valve to restart the flow of tablets. For each bottle filled, the maximum binary number in the counter is transferred to the A input of the dde The B input of the adder comes from Register B that stores the mber tablet bottled up through the last bottle filled. The adder produces a new cumulative sum that is then stored in register B, replacing the previous sum. This keeps a running total of the tablets bottled Digital Logic Circuits (EEE 3101) Summer 22-23 Semester during a given run. The cumulative sum stored in register B goes to Decoder B, which detects when Register B has reached its maximum capacity and enables the MUX, which converts the binary from parallel to serial form for transmission to the remote DEMUX. Let, the Keypad for entering the tablets into the bottle you press as a decimal value of = ((a+e)-c) [5] [5] 1. 2. 3000 Conveyor control 4 Valve Sensor From the keypad to the comparator A section in Fig-1, determine the truth-table. According to your entering number, show that the 7segment display is showing the same number of outputs using K- Map 9 6 2 3 [0]# Keypad Keypad for entering number of tablets per bottle Encoder Decimal to BCD 4 bits HIGH closes valve and advances conveyor. LOW keeps valve open. One from sensor for each tablet advances counter by 1. Counter 4 bits binary Binary code for actual number of tablets in bottle Pulse resets counter to zero when next bottle is in place. Register A 2-digit BCD Digital Logic Circuits (EEE 3101) Summer 22-23 Semester 4 bits Adder B Cout 4 bits 4 bits Decoder A Code converter BCD to 7-seg BCD to binary 4 bits HIGH causes new sum to be stored. Tablets/bottle 100 Binary code for preset number of tablets per bottle 4 bits Comp A B Register B 4 bits binary A = B Current total sum Figure 1: Block diagram of a tablet packaging system Code converter Binary to BCD MUX Switching sequence control input Total tablets bottled. 0000 Decoder B BCD to 7-seg

Step by Step Solution

3.37 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Step 1 Introduction The various components and their functionality as shown in the block diagram are as follows Decimal to BCD BinaryCoded Decimal The ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!