# Electronics with Music BEng/MEng

## Electronic Engineering 1X ENG1021

**Academic Session:**2020-21**School:**School of Engineering**Credits:**20**Level:**Level 1 (SCQF level 7)**Typically Offered:**Semester 1**Available to Visiting Students:**No**Available to Erasmus Students:**No

### Short Description

You will study methods for calculating the behaviour of analogue and digital electronic circuits. Analogue topics include Ohm's Law, Kirchhoff's Laws; voltage and current generators both ideal and practical; Thèvenin and Norton Theorems; superposition; nodal analysis, AC circuit analysis using complex numbers; while digital topics include basic logic functions, Boolean algebra, De Morgan's theorem, binary mathematics, Karnaugh maps, simplification of expressions, flip-flops, and state machines.

### Timetable

4 lectures per week

1 lab per week (3 hours)

### Requirements of Entry

Mandatory Entry Requirements

None

Recommended Entry Requirements

None

### Excluded Courses

None

### Co-requisites

None

### Assessment

70% Written Exam

20% Practical Skills Assessment (Laboratories)

10% Set Exercise (Online Class tutorials)

**Main Assessment In:** December

**Are reassessment opportunities available for all summative assessments?** No

Reassessments are normally available for all courses, except those which contribute to the Honours classification. For non Honours courses, students are offered reassessment in all or any of the components of assessment if the satisfactory (threshold) grade for the overall course is not achieved at the first attempt. This is normally grade D3 for undergraduate students and grade C3 for postgraduate students. Exceptionally it may not be possible to offer reassessment of some coursework items, in which case the mark achieved at the first attempt will be counted towards the final course grade. Any such exceptions for this course are described below:

Assessed tutorials are automated and completed online with staged hints. They are subsequently re-opened to students as revision exercises, with answers, before the final exam. They cannot therefore be reassessed.

### Course Aims

The aims of this course are to:

■ introduce key analogue electronic circuit analysis concepts and develop confidence in applying them to simple networks of passive components (resistors, capacitors, inductors);

■ introduce key digital electronic design and analysis concepts and develop confidence in applying them to simple combinational and sequential logic circuits;

■ give practical experience of designing, building and measuring analogue circuits based on passive components, and digital circuits based on standard logic gates;

■ give practical experience of constructing electronic circuits using printed circuit boards and integrated circuits;

■ develop skills in systematic design and documentation.

### Intended Learning Outcomes of Course

By the end of this course students will be able to:

Digital electronics

■ explain the concept of the binary abstraction to analogue signals, and calculate the noise immunity (voltage) of a logic family given the voltages that define the states 0 and 1;

■ explain the concept of binary, octal and hexadecimal number systems for unsigned integers and convert between them, and to/from decimal, stating the advantages and disadvantages of each system as they apply to electronic computation and human readability;

■ explain the representation of positive and negative integers and positive and negative real numbers in binary, using two's complement where necessary, and demonstrate conversion to/from decimal, as well as explaining the source of any conversion errors and showing how to quantify it;

■ explain addition, subtraction and multiplication of signed and unsigned binary numbers and demonstrate this by calculating simple examples, including identifying overflow conditions when they arise;

■ recognise, name and describe, via truth tables and Boolean algebra, the operation of standard logic gates from their circuit symbol, including AND, OR, NOT, NAND, NOR, XOR, and XNOR;

■ construct a truth table from an English language statement of function of a circuit;

■ Given a truth table, write Boolean algebra in sum of products and product of sums form, explaining the advantage of each approach depending on the number of 1s or 0s in the output column;

■ use Boolean algebra and De Morgan's theorem to show how a circuit can be implemented with different gates, and in particular show how simple example circuits can be made entirely in NAND or NOR logic gates;

■ state how a NAND (or a NOR) gate can be wired up to act as a single input NOT gate;

■ state the advantage of using Karnaugh maps to minimise digital logic circuits, and demonstrate their use for circuits with up to five inputs;

■ show how to apply minimisation techniques to circuits with multiple inputs and outputs (treat circuits for each output separately, even if inputs are shared);

■ show how two cross coupled NAND gates can be used to create a primitive memory cell;

■ state the problems with a cross-coupled NAND gate memory cell and show how to improve it with additional circuitry;

■ recognise and describe the operation of Data (D), Toggle (T), Set-Reset (SR) and JK flip flops, by using circuit symbols and truth tables;

■ distinguish between positive and negative edge triggered flip flops from the circuit symbol, and state the advantage of edge-triggered systems over active-when-high (or low) logic; explain the term 'latch transparency';

■ explain the operation of state machines based on D-type flip flops and demonstrate the design of simple state machines with up to 8 states;

■ explain the difference between Mealy and Moore state machines;

■ use digital logic training boxes to build and verify basic circuit operation;

■ fault find circuits built using digital logic training boxes to correct wiring errors;

■ state the consequence of leaving an input unconnected on a digital logic training box, and how this differs from leaving a CMOS chip input unconnected (oscillation leading to radiated noise, excessive power use leading to possible damage);

■ design, analyse, implement and verify the operation of simple combinational logic circuits for addition, subtraction, and testing the equality of binary numbers, showing how to implement the functions using different types of gate via De Morgan's theorem;

■ design, analyse, implement and verify the operation of simple sequential logic circuits including oscillators, dividers, up/down counters with and without reset, and a reaction timer;

■ plot the expected output waveforms for sequential circuits, observe signal traces on an oscilloscope and compare. Identify any non-idealities in the signal and explain how this limits performance in terms of maximum clock speed;

Analogue electronics

■ describe the fundamental electrical properties of charge, current, voltage, potential, and power in terms familiar to each Engineering Discipline, and be able to translate between units of these properties;

■ define Ohm's Law and Kirchhoff's Current and Voltage Laws;

■ apply these laws to obtain unknown currents and voltages in networks of resistors, inductors, capacitors, current and voltage sources;

■ demonstrate how these laws can be applied to devise more powerful analysis tools such as Nodal Analysis;

■ calculate unknown currents and voltages in general networks through Nodal Analysis;

■ state Thévenin's and Norton's Theorems;

■ calculate the values of the Thévenin Voltage, Thévenin Resistance, Norton Current and Norton Resistance for any two port network;

■ apply Norton's and Thevenin's Theorems to the simplification of circuit analysis problems for two port networks;

■ discuss the importance of complex numbers in the representation of impedance for circuits subject to alternating currents or voltages and containing resistors, inductors, capacitors and describe their use in simplifying a.c. circuit problems;

■ analyse general a.c. networks using the complex representation of impedance;

■ design simple filter circuits;

■ define the fundamental properties of ideal op-amps;

■ calculate the voltage gain of common and novel amplification circuits built around ideal op-amps;

■ keep a useful log of activities in a hard backed lab book as per future professional practice.

### Minimum Requirement for Award of Credits

Students must attend the degree examination and submit at least 75% by weight of the other components of the course's summative assessment.

Students must attend the timetabled laboratory classes.