PHYS 217: Digital Electronics -- Spring 2008 HH = Horowitz and Hill: The Art of Electronics S = Scherz: Practical Electronics for Inventors B = Barnaal: Digital and Microprocessor Electronics for Scientific Application Note: "thru" and "-" mean through and including, so a reading assignment of "12.2-12.3" means read all of both sections, including, for example, section 12.3.9 Basic stuff: on-line handout: http://www.physics.csbsju.edu/217/electric_measurement.pdf do the pre-lab exercise described on p.7 (same as problem 18, p. 14): turn it in before the first lab! HH: thru 1.03 + Appendix A S: thru 2.3 (also skim 14.3-5 on lab instruments, which is a bit more than we will immediately need) Binary/octal/hex bases and conversion: HH: 8.03; Exercises: 8.1, 8.2, 8.3 S: 12.1.2 - 12.1.3 Basic Gates and Truth Tables: HH: 8.01-8.02, 8.04, p.482-8.08 S: 12.2-12.2.3 Boolean Algebra HH: 8.12; Exercise: 8.12 S: 12.2.4 Some chip details for lab: S: 12.4.3-12.4.6 HH: p.475, Figures: 9.2, 9.3b, 9.4, Table 9.2 on-line problem set: http://www.physics.csbsju.edu/217/problems.pdf: 1-5 Note: this set of problems may evolve as the course unfolds... Make sure you use the current version! --end of cycle 1 assignments-- Problem: given a truth table, express it as a simple boolean expression. minterm=SOP, maxterm=POS simplify the expression! Karnaugh maps HH: 8.13; Exercise: 8.13, 8.14 (p.493) S: 12.2.5 print out the file: http://www.physics.csbsju.edu/217/7segs.pdf which shows 7 K-maps (for driving each segment a-g of a 7 segment display, see 7-segments.html or S Fig 12.38 for further info) from an inputted 4-bit binary number: ABCD. In 7segs.pdf the don't care states are shaded green (FYI: they correspond to unneeded binary numbers beyond 9, like 10=1010). Directly on your hardcopy label/report what Boolean expression is represented by each circled block of 1s. old exam problems 2,4b http://www.physics.csbsju.edu/217/217t1_06b.pdf problems.pdf: 13 standard packaged functions: (HH 8.14, S 12.3) decoders, (priority) encoder multiplexers, demultiplexers analog switches (CMOS) arithmetic chips: adders, comparators, floating point processors sequencial logic (HH 8.16-8.17, S 12.6) Flip FLops: SR, D, JK edge and level triggering problems.pdf: 15-18, 20 Some chip details for lab: tri-state, open-collector S: 12.4.7 HH: 8.11 --end of cycle 2 assignments-- Problem: design a circuit that follows any given state diagram HH: 8.18-8.19 HW: HH: 8.24, 8.25, old exam: #5, #6, #7 sequential logic: standard packaged functions: (HH 8.24-8.28, S 12.6.7-12.9) registers, counters, shift registers problems.pdf: 8,21-25 tricky truth tables: HH 8.15 misc practical chip details: HH 8.07-8.08, 8.10, 8.33-8.35, 9-9.04, 9.08, 9.10-p.595 S 12.4-12.5 (much of this was already assigned), 12.11 (skim) --end of cycle 3 assignments-- The midterm is scheduled for Monday 11-Feb. Help: Friday 4:45 Note: you may use a single-side 8.5"x11" sheet of paper as a formula sheet. programmable logic: RAM, ROM, PLA, etc S: 12.12 HH: p.501-504, 8.27 (skim) http://en.wikipedia.org/wiki/Field-programmable_gate_array microprocessors HH 10-10.3, 11-11.03 (super skim) S: 12.13 (super skim) Problem: analog meets digital comparators, Schmitt triggers HH 9.05-9.07, 4.23-4.24 S 7.12-7.16, 12.4.8 monostables, one-shots HH 8.20-8.23 S 12.6.9 The 555, the classic oscillator, is really an analog device Skim the following sections to get some idea of how it works Make sure you can describe its operation given a block diagram of its innards HH 5.14 S 9.1-9.2 No homework for cycle 4 --end of cycle 4 assignments-- problems.pdf: #27-34 VCO HH 5.15 quartz clocks HH 5.19 S 9.6 frequency and period meters HH 15.09-15.10 DMM ADC single+dual slope H p.625-627 DAC+ADC: successive approx, flash, etc HH 9.15-9.23 (skim 9.16-9.17) S 12.10.6 transducers skim HH ch.15 thru 15.11 to get an overview of available transducers --end of cycle 5 assignments-- Digital Signal Processing and the frequency domain S 2.35 review Fourier series (but our application is sampled rather than continuous data) S 8-8.7 (skim) basic analog filter design: definition of types HH 5.04-5.05 (skim) characteristics of analog filters: definition of types links in: DSP.filter.design.html Wiki: Discrete Fourier transform (skim: a bit too detailed/mathematical for our needs) Digital signal processing Digital filter Finite impulse response Infinite impulse response The Mathematica code in DSP.filter.m displays the behavior of a for a Butterworth, 5th order, corner=1000, sampling=10000 filter using the resursion relation found from http://www-users.cs.york.ac.uk/~fisher/mkfilter/ (#3 in the jump page: DSP.filter.design.html) HW: Use http://www-users.cs.york.ac.uk/~fisher/mkfilter/ to design a filter (you choose the parameters--but record them with your homework!). Use Mathematica code similar to that above to display the properties of your filter. Print out a copy of your Mathematica code and add (by hand) comments that explain what the code is doing. You shoud make a Bode plot, plots that show the response to a sinusoidal input (both a "passed" frequency and a "blocked" frequency), and the response to a step. Proper plots have axes labels (which you may put in by hand). --end of cycle 6 assignments--(Due Day 3) Help Monday 4:15 In class Final Exam: Day 5 (Tuesday)