# GENERAL ELECTRONICS LABORATORY

Academic year and teacher

If you can't find the course description that you're looking for in the above list,
please see the following instructions >>

- Versione italiana
- Academic year
- 2021/2022
- Teacher
- MIRCO ANDREOTTI
- Credits
- 12
- Didactic period
- Annualità Singola
- SSD
- FIS/01

#### Training objectives

- To provide students with the basic knowledge of digital and analog electronics, operation of microcontrollers, transducers and provide the tools for the design of measurement and data acquisition systems.

Students will acquire the skills to understand and design all the parts that make up an experimental test setup, starting from the measurement of physical quantities with transducers and / or detectors of specific physical events to arrive at the acquisition of data on a PC.

Students will acquire basic knowledge on the physical principle of operation of simple transducers for measuring a physical quantity in an analog electrical signal.

Students will be able to design simple analog circuits for analog signal processing, for example noise cancellation, signal amplification, electrical coupling with other devices.

Students will know how to digitize an analog signal and will therefore be able to design simple digital circuits for processing the digital signal. In this phase they will be able to manage signal sorters, counters and shift registers.

In the context of microcontroller programming and with knowledge of digital electronics, they will learn to design firmware for digital signal processing with microcontrollers instead of digital circuits.

As part of the data acquisition topic, students will be able to define and use standard communication protocols (serial, udp etc etc) in order to transfer information from microcontrollers, or commercial electronic devices, to the PC for analysis and data storage. #### Prerequisites

- Basic skills of analysis.

Numbering systems, complex numbers, trigonometric functions, derivatives, integrals, study of functions. #### Course programme

- MODULE: Electronics Laboratory (60 hours)

Digital electronics. 30 hours

6 hours of theory + 3 hours of laboratory

Boolean algebra. Fundamental logic gates. Truth tables, variables and logic functions. Simplification of logic functions with Karnaugh maps. Universal doors and their applications.

6 hours of theory + 3 hours of laboratory

Combinatorial logic: enabling circuit, TRUE / FALSE, MUX, DEMUX, comparators, encoders and converters.

6 hours of theory + 3 hours of laboratory

Sequential logic. Memory Cell, Flip Flop Set Reset, JK, Counters and Shift Registers.

3 hours theory

Totem Pole, Open Collector and Three state releases. Communication bus.

Application examples: keyboard data input, sum and difference circuits, data communication via bus, time and frequency measurements of TTL signals.

Analog Electronics. 30 hours

3 hours theory

Analog quantities, Fourier transform, complex numbers.

6 hours of theory + 3 hours of laboratory

Analog blocks, main ideal and real bipoles, Ohm's law.

Continuous regime electric networks: Kirchhoff's and Thevenin's theorems, superposition principle.

6 hours of theory + 3 hours of laboratory

The reactive elements: capacitor and inductance and their operation in response to a step.

Electrical networks in sinusoidal regime, impedance, representation of sinusoidal quantities with Fresnel vectors.

Filters, transfer functions, the compensated divider.

6 hours of theory + 3 hours of laboratory

The amplification, the operational amplifiers, the feedback. AO in inverting and non-inverting connection, AO as a voltage follower and their main applications.

MODULE: Laboratory of electronic measurement systems (60 hours)

3 hours theory

Overview of experimental setups and their composition.

Notes on transducers, overview of analogue signal processing, digital conversion, digital information processing, acquisition with microcontrollers and data transmission on PC.

15 hours of theory + 6 hours of laboratory

Microcontroller programming with Arduino IDE.

How to write an efficient user program.

Debugging a program on a microcontroller.

High and low level commands.

Use of interrupt functions and timers / counters.

15 hours of theory + 6 hours of laboratory

Python software to interface PCs to microcontrollers or other commercial measuring devices with standard communications.

Structure of a control and data acquisition software.

serial and network communication protocols. Practical examples of serial communication and udp.

15 hours laboratory

Design of a simple experimental setup consisting of: measurement of magnitude, digital measurement acquisition with microcontroller and software for control system, data acquisition, analysis and storage. #### Didactic methods

- Theoretical/practical lessons.
#### Learning assessment procedures

- Understanding of contents of the course will be evaluated during experiences done in laboratory.

Knowledge of theory and understanding of real circuits will be evaluated with an oral exam. #### Reference texts

- J. Millman, "Circuiti e sistemi microelettronici"

Horowitz & Hill, "The Art of Electronics"

Dispense date dal Docente