0% found this document useful (0 votes)
13 views6 pages

TUTORIAL embedded system

Uploaded by

Awal Mamane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
13 views6 pages

TUTORIAL embedded system

Uploaded by

Awal Mamane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

PART A: GENERAL KNOWLEDGE QUESTIONS

1) Describe the architecture of a typical micro controller with a neat diagram


2) Explain the basic processors and hardware units in the embedded system
3) Explain the serial communication using I2C, CAN, USB in detail
4) List The hardware units that must be present in the embedded systems
5) Explain Round Robin (RR) process scheduling with interrupts
6) Give the basic functions and features of VxWorks

The figure 1. below represents the circuit of a full adder, where and are the
variable inputs. is the carry while and are the sum and the reminder
respectively.

Figure 1.

7) Complete the truth table below

8) Give the equation of the outputs and


9) Simplify the expressions of and using the Boolean algebra method
10) Simplify the expressions of and using k-maps
11) Using the logic gates, draw the logic diagram of this full adder
12) Explain the design concept of an Elevator control mechanism
using a sequential model.

Page 1 sur 6
13) Write the steps involved in describing a system’s behavior as a
state Machine.

Describe the
architecture of a
typical micro controller
with a
neat diagram.
6 . Explain the basic
processors and
hardware units in the
embedded system
7. Explain how software
is embedded into a
system

Page 2 sur 6
8 . Explain the methods
used in the embedded
system on a chip
9 . List the hard ware
units that must be
present in the
embedded syste
PART B : PRACTICAL SCENARIO
I- General presentation and working of the system
The automated system studied is given at the figure 4. It consists of an oil tank, a
dispenser ferry and a reservoir, all equipped of level sensors intended to monitor the level of
liquid in each. The filling of oil in the oil tank is achieved by another system which is not
studied within the framework of this problem.

Figure 4: Lubricant fabrication system

The functioning of the system is summarized as follows:


 The system is powered on/off by the start/stop switch and the automatism starts only
when the oil tank is full (NBH), the dispenser ferry and the reservoir are empty.

Page 3 sur 6
 When the above three conditions are satisfied, the pump firstly starts automatically and
fill 4 L of oil in the dispenser ferry.
 After the oil level is reached, 80L of water is filled in the reservoir.
 After the reservoir is filled, the mixing starts while the oil previously filled in the
dispenser is added to the water in the reservoir. This process automatically stops after 5
minutes.
 At the end of the mixing, the emptying valve opens automatically allowing another
system (not studied here) to bottle the product. A new cycle will start only when the
reservoir will be empty and the system switched on once again.
 To ensure the safety of the equipment, the mixing motor and the pump are equipped of a
thermal protector THM and THP respectively whose role is to generate an automatic
emergency stop signal anytime there is overheating in one of them.

II- Technological specifications


The following table gives the lists of components used to achieve the main actions of the
system.

S/N Actions Component S/N Actions Component


Command of the motor Contactor KM1 06 Start/Stop push MA/AR
01 pump button
Command of the Contactor KM2 Monitoring of the N4L
02 Mixing 07 oil level in the
dispenser ferry
Filling the oil in the Electro vane EV1 Monitoring of the NB and NH
03 reservoir 08 water level in the
reservoir
04 Filling the water in the Electro vane EV2
reservoir 09 Monitoring of the NBH
emptying the water in Electro vane EV3 oil level in the tank
05 the reservoir

III- Work required for the computer control


1. Viewed from the command part of the system, observe the diagram then identify and name
the various inputs and outputs of this system.
2. You are instructed by the Technical Director to carry out the feasibility study of the
implementation of the command part of this automatism using the parallel port of a personal
computer equipped of a C/C++ compiler.
2-1. Can this system be commanded using the parallel port of the personal computer? Justify.
2-2. Give two advantages and two major drawbacks of computer control using the parallel
port.
3. After received your report, the control engineer has decided to use a PIA card of base
address 0288H, precisely in its mode 0 to implement the command part of the automatism.
3-1. What are the main criteria of choice of a computer control card?
3-2. Copy and fill the following table by indicating both the selecting code (A 1A0), the PIA
port selected and its address.

Port Hexadecimal address of the


CS selected port selected
A1 A0
1
0

Page 4 sur 6
0
0
0
3-3. What are the functional specifications offered by this mode?
4. To facilitate the programming, you are instructed by the control engineer to use only two
registers of the PIA in mode 0 notably, the portA register as output and the portB register
as input.

4-1. Propose a configuration word (binary and hexadecimal) to be written in the configuration
register of the PIA to obtain the above functioning.
4-2. Draft a wiring plan indicating to which pin of your portA and portB the different sensing
circuits and output control interfaces of the system will be connected respectively.
4-3. Copy and fill the following table with the command word to be sent at the portA to
perform the following actions:

Action Binary and hexadecimal command word in


reference to your wiring of the question 4-b).
Filling of the oil in the dispenser ferry
Filling of the water in the reservoir
Starting the mixing while the oil
previously filled in the dispenser is being
added to the water in the reservoir.
Emptying the reservoir after the mixing is
completed.

-5. Without take into consideration the automatic stop due to overheating of motors, develop
the flowchart of the computer program intended to manage the sequence of actions of this
system.
Part C: PLC
Assume that the PLC used here is a microprocessor based system built around the
microprocessor 6809 of Motorola. The memory space of this PLC is given at the figure below

Page 5 sur 6
1. Define microprocessor then give its main criteria of choice
2. Draw the block diagram of a standard microprocessor based system then give the main
functions of each element of the system
3. From which technology should belongs the program memory of the system if it is the PLC?
Justify.
4. Give the role played by each of the following registers in the functioning of the
microprocessor:
a) The program counter
b) The stack pointer
5. Which type of memory are MEM1 and MEM2? Justify.
6. Determine the capacity of each chip of the map then the total capacity of the memory space
of this PLC.
7. Determine the binary address selecting each chip then draw the table showing the binary
and hexadecimal address ranges used for each chip
8. Determine the hexadecimal address of the 10592nd memory word then indicate the chip
where that word is stored.
9. Now assume that the addressing of the16 address lines address bus memory system is
modified in such a way that the most significant byte of the address represents the reference
number of memory pages.
a) How many memory pages are there in this system?
b) How many memory words can be stored on each page? Deduce the total capacity of the
new space.
c) Determine the rank of the page to which belongs the memory word of address 3465H.

Page 6 sur 6

You might also like