Download presentation
Presentation is loading. Please wait.
Published byOswin Young Modified over 9 years ago
1
Hardverski orijentisani kursevi na SI svrha: formalna i akademska: ETF master diploma MSc ECE akademska i praktična: efikasnije pisanje SW praktična: dizajn računara i procesora (? ? ?) praktična: dizajn embedded sistema (£ € $) Embedded sistemi Embedded system je računarski sistem sa unapred predefinisanom funkcijom unutar složenijeg elektromehaničkog sistema (suprotno računaru opšte namene) Pored standardnih računarskih resursa postoji interakcija SW sa periferijama, senzorima i aktuatorima u sistemu ili objektu koji SW kontroliše
4
Koncepcija embedded sistema Centralizovano merenje i kontrola –industrijski PC –PLC –… Distribuirano merenje i kontrola –Mreža mikrokontrolera A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and PROGRAMMABLE input/output peripherals Input/output peripherals: analog, digital, mix-signal
5
Microcontrollers (MCU) Market by Transparency Market Research www.transparencymarketresearch.com/microcontrollers-market.html www.transparencymarketresearch.com/microcontrollers-market.html According to a new market report published by Transparency Market Research “Microcontrollers (MCU) Market by Product (8-bit, 16-bit, 32-bit) – Global Industry Analysis, Size, Share, Growth and Forecast, 2012 – 2018″, the demand for microcontrollers was 10.64 billion units in 2011, and is expected to reach over 29 billion units in 2018, growing at a CAGR of 16.0% from 2012 to 2018. In terms of revenue, the market was valued at USD 15.7 billion in 2011, and is expected to reach USD 28.49 billion in 2018, growing at a CAGR of 9.0% from 2012 to 2018.
7
Part NumberCostNotes MSP430F2101TI$1.17 Very powerful 16 bit microcontroller, with low cost development tools, Has an on board comparator which can be used to simulate an ADC, and a software UART. This is a great part! PIC16F630Microchip$1.26 Decent processor and easy to use tools. 14 pin packages PIC16F676Microchip$1.47 Similar to the PIC16F630, but with ADCs. PIC10F200Microchip$0.61 Very cheep, and very small with 8 pin SOIC and 6 pin SOT-23 packages. AT89C2051Atmel$1.05 20 pin package. ATTiny11LAtmel$0.35 8 pin package. Has low cost development tools.
8
Organizacija mikrokontrolera
9
Aplikacija mikrokontrolera
10
Hardware/software codesign - incorrect assumptions Hardware and software can be acquired separately and independently, with successful and easy integration of the two later Hardware problems can be fixed with simple software modifications Once operational, software rarely needs modification or maintenance Valid and complete software requirements are easy to state and implement in code
11
Abstract Hardware-Software Modeling Some kind of unified abstract system representation can be used for early performance analysis
12
Specification + Modeling High-level modeling: FSM State Charts Data Flow Petri Nets UML VHDL, Verilog SpecC, SystemC, SystemVerilog
13
Classical automata - Finite state machines (FSM) Provides a mathematical foundation for verifying system correctness, simulation, hardware/software partitioning, and synthesis Specification and modeling of control dominated applications such as a real-time, reactive control systems FSM Transducers Transducers generate output based on a given input and/or a state using actions Moore machine: output depends only on the state. The advantage of the Moore model is a simplification of the behavior. Mealy machine: output depends on input and state. The use of a Mealy FSM leads often to a reduction of the number of states.
14
Šema za obradu binarnih signala // definicije i deklaracije #define UlazP3_1 #define Izlaz1P3_2 #define Izlaz2P3_3 bdata char ShReg;// bit adresib. bajt sbit Q4=ShReg^7; sbit Q3=ShReg^6; sbit Q2=ShReg^5; sbit Q1=ShReg^4; sbit Q0=ShReg^3; bit BitA,Tmp; // deo C programa koji realizuje // jedan korak pomeranja Tmp=(BitA|Q3)&(Ulaz|Q0); ShReg >>=1;
15
Coke Machine Version 1.0 When turned on, the machine waits for money When a quarter is deposited, the machine waits for another quarter When a second quarter is deposited, the machine waits for a selection When the user presses “COKE,” “SPRITE” or “DIET COKE,” an appropriate item is dispensed When the user takes the bottle, the machine waits again Bottles can get stuck in the machine An automatic indicator will notify the system when a bottle is stuck When this occurs, the machine will not accept any money or issue any bottles until the bottle is cleared When the bottle is cleared, the machine will wait for money again
18
UML Statechart –Developed by Object Management Group (OMG). –Extend the properties of Harel’s statecharts with some new features.
20
Hardverski orijentisani kursevi na SI I godina –OE1 –ORT1 II godina –ORT2 –ODE –SI2AR III godina SI3AR1 SI3AR2 IV godina SI4MS SI4VLS SI4MPS Si4PAR
23
Deo diskusije sa IT formuma “Potreban je samo jedan covek koji zna da osmisli i dokumentuje system do tancina, a posle 50 programera razvija software na osnovu specifikacija ovog arhitekte. Tako da je to sasvim normalno, a i nije nista IT specificno. Isto je i u masinstvu, npr u BMW-u - Chief Designer ima mnogo vecu platu od Fied Designera…”
25
Formiranje ocene 3 x 20 bodova po kolokvijumu 3 domaća zadatka ukupno 20 bodova 2 x 10 bodova po projektu Ukupno 100 bodova Integralni ispit, max 80 bodova Domaći zadaci nisu nadoknadivi Kolokvijumi i projekti jesu nadoknadivi Lab vežbe obavezne, ne nose bodove
26
Sadržaj kursa Dinamičke karakteristike prekidačkih elemenata i LK Električne i eksploatacione karakteristike KM i SM. Disipacija, faktor grananja, kašnjenje, margine šuma. SW interakcija i kompenzacija karakteristika. Relaksacioni oscilatori i analogni tajmeri. Havrijski i WD tajmer. Pouzdanost embedded SW Linearne vremenske baze Memorije, CPLD i FPGA SW: upravljanje displejima i tastaturom Programabilni tajmeri i brojači. Sinhronizacija asinhronih signala na sinhrone sekvencijalne mreže. SW: akvizicija i generisanje frekvencije i perioda. Kvantizacija. AD i DA konverzija. Analogni front-end, diferencijalni i jednostruki. Naponske reference. Optokapleri, PWM i galvansko razdvajanje. Optički enkoderi, merenje brzine i ugla. SW: Generisanje i akvizicija kontinualnih signala SW: integracija sistema
27
Poluprovodničke komponente u prekidačkom režimu rada. ( Kako tranzistori pune i prazne parazitne kapacitivnosti... ) Statičke i dinamičke karakteristike idealnih i realnih logičkih kola. (Kako izlazni stepeni logičkih kola pune i prazne parazitne kapacitivnosti, kako to utiče na rad kola...
30
Realizacija logičkih kola sa tranzistorima. CMOS, ECL, TTL, BiCMOS, logička kola. Analiza statičkih i dinamičkih karakteristika realnih logičkih kola sa stanovišta korisnika. Komparatori i Šmitovo kolo.
31
XOR
32
Pojava lažnih stanja
33
Bistabilna, monostabilna kola, rlaksacioni ocilatori. Astabilni generatori linearnih vremenskih baza. Primena za generisanje taktnih signala, time-out logiku, watch-dog tajmer, mikroprocesorska supervizorska kola.
36
A/D D/A konvertori I prateće komponente Realizacija konvertora. Povezivanje na procesorsku magistralu.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.