Beruflich Dokumente
Kultur Dokumente
Applications with external events Interrupt response, resumption management Enables rapid response to external events
Applications with network communications Handles thread-thread communications Handles Internet communications
FEARTURES OF RTOS:
The main features of RTOS are, i. ii. iii. iv. v. vi. Real time responsiveness Royalty free pricing Source code availability Tools integration Microprocessor coverage The necessary signaling functions between interrupt routines and task codes are handled by RTOS. vii. It works as an independent system with no internal or external interdependencies. viii. ix. There are no loop decisions in RTOS The RTOS can suspend one task code subroutine in the middle order to run another x. The time lag is very less compared to other systems
xi.
There are no random time variables; this is good for a direct relationship between instruction and process.
xii. xiii.
Tasks are simpler to write. Under most RTOS tasks are simply subroutines
FUNCTIONS OF RTOS:
Basic OS functions Process priorities management: priority allocation Process management: preemption Priority inheritance Process predictability Memory management: protection Memory allocation Scheduling and interrupt latency control functions Timer functions and time management Asynchronous IO functions IPC synchronization functions Spin locks Time slicing Hard and soft real time operability
An RTOS provides running the threads in kernel space so that they execute fast An RTOS provides effective handling of the IRSs, device drivers, ISTs, tasks or threads and the enabling and disabling of interrupts in the user mode critical section codes An RTOS provides memory allocation and de-allocation functions in fixed time and blocks of memory and restricting the memory access only for the stack and critical memory blocks An RTOS provides for effectively scheduling and running and blocking of the tasks in cases of many tasks I/O management with devices, files, mailboxes, pipes and sockets becomes simple using an RTOS Effective management of the multiple states of the CPU and internal and external physical or virtual devices.
A file creates after encoding and pixel co-processing as follows: the byte stream is preprocessed and then encoded in a standard format using a CODEC. The encoded picture file can be saved for permanent record. A memory stick saves the file The file is used for display of recorded picture using a display processor and can be copied or transferred to a memory stick and to a computer connected through a USB port. The LCD displays a picture file after it is decoded using the CODEC. Texts such as picture title, shooting date and time, and serial number are also displayed A USB port is used for transferring and storing pictures on a computer Alternatively, Bluetooth or IR port can be used for interfacing the computer DESIGN METRICES: Power dissipation: battery operation. Battery recharging after 400 pictures Resolution: high-resolution pictures with options of 2592x1944 pixels=5038848 pixels, 2592x1728=3.2M, 2048x1536=3M and 1280x960=1M Performance: shooting a 4M pixel still picture in .05s. 25 pictures per m Process deadlines: exposing camera process in a maximum of 0.1s. flash synchronous with shutter opening and closing. Picture display latency maximum of 0.5s
User interface: graphic at LCD or touch screen display on LCD and commands by the camera user through fingers on the touch screen, switches and buttons Engineering costs: US$ 50000 (assumed) Manufacturing costs: US$ 50 (assumed) TEST AND VALIDATION CONDITIONS: All user commands must function correctly All graphic displays and menus should appear as per the program Each task should be tested with test inputs Tested for 30 pictures per m
CLASS DIAGRAMS:
Digital camera file creation, display and transferring to printer, memory stick and USB port can be modeled by the class diagrams of abstract class Picture_FileCreation, Picture_FileDisplay, Picture_FileTransfer.
The DAC gets the input from pixel processor which gets the input from JPEG file for the saved images and also gets the input directly from CCDSP through pixel processor or the frame in present view USB controller Direct Memory Access controller LCD controller Battery and external charging unit Digital camera hardware architecture
LCD, USB and Bluetooth port device-drivers for port operation for display, printer and computer communication control
There are the following layers in the digital camera software architecture: System layer Application layer Function layer Presentation layer Control layer Base layer