Course code ETeh5008

Credit points 4.50

Embedded Programming for Engineers

Total Hours in Course120

Number of hours for lectures16

Number of hours for seminars and practical classes32

Independent study hours72

Date of course confirmation06.01.2015

Responsible UnitInstitute of Engineering and Energetics

Course developer

author prof.

Vitālijs Osadčuks

Dr. sc. ing.

Replaced course

EeTkM001 [GEIKM001] Embedded Programming for Engineers

Course abstract

The aim of the course is to introduce students with application of embedded control devices in technological processes in industry, agriculture, mobile equipment consumer electronics. Knowledge is given about specific principles of programming used in development of such devices, development of local and remote control and telemetry interfaces is covered. Topics are included regarding preprocessing of realtime and logged data using PC. In practical part students work on software development for control of mechatronics elements: switches, sensors of electrical and non-electrical parameters, relays, electrical motors.

Learning outcomes and their assessment

1. Knowledge - about microcontroller based embedded control systems and their architecture, design, main software development principles and application in control of technological processes – assesment form – tests;
2. Skills - to design complicated open and closed loop digital control systems of various topologies with data interchange feture with user and other systems, and to apply them in research and development – assesment form – laboratory works;

3. Competence – to choose the best control system architecture for control of the given technological process – assesment form - homework.

Course Content(Calendar)

1. Introduction to digital control systems. (2h)
2. Types and architectures of embedded control systems. (3h)
3. Embedded software development tools and environments. (3h)
4. Basics of embedded device programming, programming in machine languages ​​and language C. (4h)
5. The main elements of the C language and data structures. Test 1. (6h)
6. Development of simple open-loop real-time control programs, microcontroller input and output ports. (2h)
7. Debugging in the stimulator and using in-circuit debugger. (2h)
8. Peripheral modules, their use for control of external equipment and data exchange. (2h)
9. Configuring and using analog-to-digital converter for reading analog sensors. (3h)
10. Control of DC motor and standard sevo motor. (3h)
11. Control stepper motor. (2h)
12. Test 2. (2h)
13. Closed loop control system programming, imlementation of PID. (6h)
14. Industrial interprocessor communication networks and sensor networks. (2h)
15. Configuring serial port and data exchange with computer for remote control and telemetry. (2h)

16. Real-time telemetry and data pre-processing on PC, Test 3. (4h)

Requirements for awarding credit points

10 laboratory works completed and defended, one homework completed and defended, 3 tests successfully written.

Description of the organization and tasks of students’ independent work

Analysis of literature and completion of homework, preparation for defense of laboratory works.

Criteria for Evaluating Learning Outcomes

Percentages of the total assessment:
1. completion of laboratory works - 40%,
2. tests - 30%,

3. homework - 30%.

Compulsory reading

1. Noergaard T. Embedded Systems Architecture: A Comprehensive Guide for Engineers and Programmers. Burlington: Elsevier, 2005. 640 p. ISBN 0-7506-7792-9.

2. Di Jasio L. Programming 16-bit microcontrollers in C. Learning to fly the PIC24. Burlington: Elsevier, 2007. 380 p. ISBN-13: 978-0-7506-8292-3. ISBN-10: 0-7506-8292-2

Further reading

1. Bunžs Z. Mikrokontrolileri. Rīga: Drukātava, 2013. 192 lpp.
2. Mikroelektronikas komponentes un pamatshēmas. A. Galiņš , A. Kaķītis, A. Vārna tehn. red. Valmiera: VPIC, 2003. 512 lpp.

3. Greivulis J., Raņķis I. Iekārtu vadības elektroniskie elementi un mezgli. Rīga: Avots, 1996. 288 lpp.

Periodicals and other sources

1. Современные технологии автоматизации. [tiešsaiste]. ISSN 0206-975Х. [skatīts: 03.02.2015.]. Pieejams: http://www.cta.ru/

Notes

The study course is included in the compulsory elective part of the TF academic master's study program "Agricultural Engineering".