|
1.INTRODUCTIONIn many cases students, who are coming in the CTU in Prague, Faculty of Electrical Engineering, have only a vague idea of electronics despite they use electronic devices every day. It concerns especially school-leavers of secondary schools (high schools in the USA). Of course, they gain all the necessary knowledge in the first 2 years of their bachelor study, but mostly on the theoretical level only. Thanks to this fact, later they are afraid of bachelor projects, which are pointed at developing and realization of an electronic device, and therefore they prefer modeling or software projects. However, it is not in line with the needs of industrial partners, whose will employ them in the future. The situation could be slightly better now thanks to the opening of a laboratory course concerning applied electronics. Nevertheless, a worry about development and realization of even simple electronic devices persists. From the reason mentioned above the short but intensive preparatory course “Practical Electronics” focused on measurement and instrumentation was designed and realized at the Department of Measurement. It is intended for starting students and it is organized before the 1st semester. Only the basic secondary education in physics is supposed. Its aim is not to teach students fundamentals of electronics, but to get them interested in it and overcome their fear of connection of electronic components in circuits. The main goal is to motivate them and to inspire them for their following self-study and work. The course was inspired by number publications from this area, e.g. [1], [2], [3], [4]. Some basic electronic components are shown at the beginning of the course. Subsequently, a small, but powerful microcontroller and its application for voltage measurement and square wave signal generation are introduced. Finally, it is shown that even with minimal basic knowledge and several electronic components some simple electronic devices can be easily created. The similar approach can be found e.g. in [5], [6], [7]. 2.COURSE STRUCTUREThe course is divided between a theoretical part and laboratory work. Each day starts with two hours lecture. The content of following laboratory work (tasks, the necessary theory and a way of solving) is presented. The following activities run in laboratories under the guidance of one teacher and one student’s instructor for 10 students in each laboratory room. A set of necessary components, solderless breadboard, connecting wires, and a low-cost multimeter are prepared for each student. The following components are used:
The laboratory tasks are designed from the simplest tasks to the more complicated ones. While the 1st day is devoted to the connection of the simplest electric circuits (voltage divider, LED connection) and measuring on them using a low-cost multimeter, the 2nd day starts connecting of the virtual measuring instrument (VI) F0-Lab (see below) based on microcontroller. This is used in all following tasks for voltage measurement and recording, for displaying of examined signals and pulse signal generation. The content of lectures and following laboratory tasks are presented in table 1. Table 1.The content of lectures and following laboratory tasks.
3.F0-LAB – THE SIMPLE VIRTUAL MEASURING INSTRUMENT WITH EMBEDDED MICROCONTROLLERThe realization of the virtual measuring instrument F0-Lab using the solderless breadboard is the main task for the 2nd day of the course. F0-Lab can be used as a simple DC voltmeter, a digitizing oscilloscope (3-channels in both cases) and a pulse generator. It is based on microcontroller STM32F042F6P6 [8]. Its basic structure is shown in figure 1. It includes a 32-bit processor with ARM Cortex – M0 core, FLASH programme memory, RAM, I/O gates, timers/counters, and 12-bit ADC. The ADC range is determined by a supply voltage of the analog part (VDDA). The resolution is about 0.8 mV for VDDA = 3.3 V, it corresponds to low-cost digital multimeters. The technology CMOS is used for STM32F042 (like as the most of microcontrollers). It follows that there are some restrictions concerning especially supplying and the maximum input voltage of ADC, which must be lower than the supply voltage VDDA. The basic connection of F0-Lab and its realization is presented in figure 2. The microcontroller is supplied by 3.3 V using a USB interface and a voltage stabilizer (5 V -> 3.3 V). The button “reset” connected between the pin RNST and the switch “BOOT/RUN” makes it possible to load programme into FLASH programme memory. The LED connected to the pin marked PA4 serves for checking of a correct function of the microcontroller. If the switch “BOOT/RUN” is set to “RUN” (the pin BOOT0 connected to GND) and the connection is OK, the LED winks due to a programme placed in the FLASH memory. The firmware for F0-Lab, which is placed in PCs in the laboratory, can be loaded now. The VI F0-lab enables 2 function modes: “PWM output + Voltmeter” and “PWM output + Oscilloscope”. The PWM output (pin PB1) can generate a square wave signal with amplitude 3.3 V in the frequency range to 100 kHz and duty cycle 0 – 100 % (resolution 1 %). The voltage range of 3-channel voltmeter (pins PA5, PA6, PA7) is 3.3 V unipolar. The virtual 3-channel digitizing scope (the same pins) can be used as the stand-alone scope, but also with the 3.3 V unipolar input voltage range only. Its sampling rate is 500 kSa/s and memory dept is 768 pts for the 1-channel mode. These parameters must be divided for more channel by 2 or 3 (only one ADC is used, and input channels are multiplexed). The software of the VI F0-lab was developed in pursuance of diploma work [9]. 4.SOME SELECTED LABORATORY TASKS IN DETAILThe overview of all laboratory tasks solved in the course was presented in table 1 (see above). The examples mentioned below were selected from the whole range of the tasks solved in the course to show, how to design and realize a simple, but functional measuring circuits using low-cost components. 4.1Resistive voltage divider (RVD)
4.2V-A characteristics of diodes
The following tasks apply the virtual instrument F0-lab both for measuring and recording of voltage, a multimeter is used only in the case of some problem. 4.3Experiments using PWM and RC circuit
4.4Optical gate and its application
5.CONCLUSIONThe one-week intensive preparatory course “Practical electronics” was organized already for the third time. About 40 students (in two runs, each for 20 persons) took part in it. The course is very popular with coming students because the aim is not only to teach them the basic knowledge of electronics but also to familiarise them with a manner of study at the university and to prepare them for it. The course included theoretical lectures as well as laboratory experiments where each participant assembled a simple microprocessor-based laboratory measuring instrument F0-Lab. By means of it, each participant learns practically apply his/her theoretical knowledge during the work with electronic circuits and sensors. A part of the course is also dedicated to a brief introduction concerning the programming of the STM32F042 microcontrollers contained in the F0-Lab using the C / C++ language. C++ is available for this purpose in on-line IDE mbed [10]. Using C++ makes it possible to apply the programme also for other microcontrollers with ARM Cortex M core used in different modules supported by mbed. Students, who successfully finish the course, obtain (free of charge) the microcontroller with other used components and the firmware of the virtual instrument. The approach used in the described course corresponds to the up-to-date trend switching from teaching knowledge to teaching competencies. The attention to competences rather than knowledge is certainly due to the transformation speed of the current production system, in the context of Industry 4.0. Competencies are defined here as a combination of knowledge, skills, and attitudes appropriate to the context [11], [12]. ACKNOWLEDGMENTThe preparatory courses “Practical Electronics” were supported by the company STMicroelectronics. REFERENCESSamsuri, N. S., Mohd-Yusof, K., Aziz, A. A.,
“Enhancing the First Year Engineering Student Motivation through an Introductory Engineering Course,”
in Proc. of 7th World Engineering Education Forum,
(2016). Google Scholar
Rodriguez-Sanchez, M. C., Torrado-Carvajal, A., Vaquero, J., Borromeo, S.,
“An Embedded Systems Course for Engineering Students Using Open-Source Platforms in Wireless Scenarios,”
IEEE Transactions on Education, 59
(4), 248
–254
(2016). https://doi.org/10.1109/TE.2016.2526676 Google Scholar
Becker, J. P., Plumb, C., Revia, R. A.,
“Project Circuits in a Basic Electric Circuits Course,”
IEEE Transactions on Education, 57
(2), 75
–82
(2014). https://doi.org/10.1109/TE.2013.2273311 Google Scholar
Oliveira, L. B., Paulino, N., Oliveira, J. P., Santos-Tavares, R., Pereira, N., Goes, J.,
“Undergraduate Electronics Projects Based on the Design of an Optical Wireless Audio Transmission System,”
IEEE Transactions on Education, 60
(2), 105
–111
(2017). https://doi.org/10.1109/TE.2016.2590999 Google Scholar
Scherz P and Monk, S., Practical Electronics for Inventors, McGraw-Hill Education, (2016). Google Scholar
Platt, Ch., Make: Electronics, 2ndMaker Media, Inc., San Francisco
(2015). Google Scholar
Platt, Ch., Make:More Electronics, Maker Media, Inc., San Francisco
(2014). Google Scholar
, “STMicroelectronics, STM32F042K6,”
STMicroelectronics,
(2019) https://www.st.com/en/microcontrollers/stm32f042k6.html July ). 2019). Google Scholar
Berlinger, A.,
“Implementation of instrument functions using STM32 microcontrollers,”
Diploma thesis CTU-FEE, Prague
(2016). Google Scholar
, “Arm Limited, Mbed OS5,”
Arm Limited,
(2019) https://os.mbed.com/ July ). 2019). Google Scholar
Angrisani, L., Arpaia, P., Bonavolonta, F., Moriello, R. S. L.,
“Academic Fablabs for Industry 4.0: Experience at University of Naples Federico II,”
IEEE Instrumentation & Measurement Magazine, 21
(1), 6
–13
(2018). https://doi.org/10.1109/MIM.2018.8278802 Google Scholar
E. Council,
“Recommendation of the European Parliament and the Council of 18 December 2006 on key competencies for lifelong learning,”
Official Journal of the European Union, 30
(12),
(2006). Google Scholar
|