Budapest University of Technology and Economics, Faculty of Electrical Engineering and Informatics

    címtáras azonosítással

    vissza a tantárgylistához   nyomtatható verzió    

    Microcontroller Based Systems

    A tantárgy neve magyarul / Name of the subject in Hungarian: Mikrokontroller alapú rendszerek

    Last updated: 2018. február 24.

    Budapest University of Technology and Economics
    Faculty of Electrical Engineering and Informatics
    Electrical Engineering B.Sc.         
    Embedded and Control Systems Specialization         
    Course ID Semester Assessment Credit Tantárgyfélév
    VIAUAC06 5 2/1/0/v 4  
    3. Course coordinator and department Dr. Tevesz Gábor,
    4. Instructors
    Name: Title: Department:
    Dr. Gábor Tevesz assoc. prof. Automation and Applied Informatics
    Domokos Kiss assistant lect. Automation and Applied Informatics
    Zoltán Szabó assistant lect.
    Automation and Applied Informatics
    5. Required knowledge
    6. Pre-requisites
    ((Szakirany("AVINbeagy", _) VAGY
    Szakirany("AVINirrend", _) VAGY
    Szakirany("AVINszgepalrend", _) VAGY
    Szakirany("AVIbeágy", _) VAGY
    Szakirany("AVIirány", _) VAGY
    Szakirany("AVIszgalr", _) VAGY
    Szakirany("VIABV-EMBCS", _) )

    VAGY Training.code=("5NAA7") )

    ÉS NEM ( TárgyEredmény( "BMEVIAUA348" , "jegy" , _ ) >= 2
    TárgyEredmény("BMEVIAUA348", "FELVETEL", AktualisFelev()) > 0)

    A fenti forma a Neptun sajátja, ezen technikai okokból nem változtattunk.

    A kötelező előtanulmányi rend az adott szak honlapján és képzési programjában található.

    7. Objectives, learning outcomes and obtained knowledge The course describes the most widespread microcontroller architectures and gives guidance for their selection for the given application. The course provides competences to design and implement the hardware components of microcontroller based systems and to implement the associated low level software system. Design phases are demonstrated by case studies.
    8. Synopsis

    Architectural basics (3 weeks)
    Central units of digital systems: architectural comparison of microprocessors and microcontrollers, basic rules for architecture selection. 8/16/32 bit systems, CISC/RISC architecture. Importance of architecture selection, and its effect on system-wide properties (speed, bit handling, fractional numbers, internal memory, register banks). Examples showing how to select the proper architecture. Detailed description of microcontroller architectures through concrete microcontrollers (8051, Cortex M4). Programming model, interrupt subsystem and priority handling.

    Low level software development (4,5 weeks)
    Low level programming using assembly and C languages. The process of software development. Programming languages, development for desktop PC-s and embedded systems. Software development model, the properties of the instruction set. Typical development environments (SiLabs, Keil, STM), the structure of the firmware (configuration, startup code, interrupt handling.) Assembly inserts and subroutines. Handling integer and fractional numbers, standards, conversions. ASM and C code snippets for solving simple tasks. Case study:  software planning for a real-time control system, using microcontrollers (SiLabs C8051F04x, STM32F407 Cortex-M4).

    Integrated peripherals of microcontrollers (3 weeks)
    Clock generators (internal, external, PLL circuits), reset and watchdog circuits. Memories (OTP ROM, flash, RAM, EEPROM). Timer and counter units (working modes, QEP, capture module, PWM). Integrated asynchronous and synchronous communication units and protocols (SCI, SPI, I2C, CAN). Digital input and output modules, the internal design of microcontroller ports. Analog input and output modules. 
    Connecting external peripherals to microcontrollers, typical connections (2,5 weeks)
    External clock generators, external memory connections (serial, parallel, using internal CSUNIT-s, wait cycle problems). Analog and digital IO connection problems, special peripherals(RTC, programmed logic, ASIC circuits). Signal conversion for physical levels (RS232, RS485, CAN). EMC and decoupling. Case study: design a concrete hardware from task description to circuit schematic.

    Basic concepts and steps of hardware development (1 week)
    Using CAD systems for hardware development: schematic, simulation, PCB design systems and the most important features of them. Form and content of a hardware plan, technology considerations (through hole and surface mounted parts, number of PCB layers, soldering technology, etc.). EMC considerations. Wakeup, programmer and test interfaces. Importance of in-circuit programming. Custom and standardized (JTAG) interfaces. Internal and external bootloaders, firmware update.

    9. Method of instruction The course consists of lectures and seminars, which are alternating during the semester. The lectures mainly contain the theoretical background and case studies are presented in practices.
    10. Assessment
    In lecture term:
    An in-class term test and a homework
    In examination period:
    Written exam
    Pre-exam:upon request

    The requisite of the mid-term signature is to attend at the in-class term test and have at least satisfactory result. The requisite of attending at an exam is having the mid-term signature. The credits can be obtained by reaching at least satisfactory result at the exam. The grade consists of two parts: the grade of the mid-term test (25%) and the grade of the exam (75%).

    11. Recaps The in-class term test can be repeated once during the semester and once during the repeat period in accordance with the Code of Studies and Exams (CSE). The homework must be presented until the end of repeat period.
    12. Consultations Before and after lectures, or upon request, appointed with the lecturer.
    13. References, textbooks and resources

    Tevesz G.: Mikrokontroller alapú rendszerek (Electronic textbook - in Hungarian). BME AUT, 2017.

    Ganssle, J. et al.: Embedded Hardware: Know It All. Elsevier/Newnes, 2007.

    Labrosse, J.J. et al.: Embedded Software: Know It All. Elsevier/Newnes, 2007.

    14. Required learning hours and assignment
    Contact hours 42
    Preparation for lectures 7
    Preparation for practices 7
    Preparation for in-class test
    Preparing the homework 20
    Preparation for the exam 32
    15. Syllabus prepared by
    Name: Title: Department:
    Dr. Gábor Tevesz assoc. prof. Automation and Applied Informatics
     Zoltán Szabó assistant lect.Automation and Applied Informatics