Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Welcome to the 2013 CTSS Summer Workshop at Rose- Hulman Institute of Technology Mario Simoni Rose-Hulman Maurice Aburdene Bucknell University Farrah.

Similar presentations


Presentation on theme: "1 Welcome to the 2013 CTSS Summer Workshop at Rose- Hulman Institute of Technology Mario Simoni Rose-Hulman Maurice Aburdene Bucknell University Farrah."— Presentation transcript:

1 1 Welcome to the 2013 CTSS Summer Workshop at Rose- Hulman Institute of Technology Mario Simoni Rose-Hulman Maurice Aburdene Bucknell University Farrah Fayyaz Purdue University Signals

2 This is an outline of the whole workshop 2 Day 1 I.Introduction (Mario) a)Collected Data b)What brought us to do this work II.Overview of conceptual learning (Farrah) a)What is a concept? b)Different theories III.Hands-on application-oriented activities (Mario and Maurice) a)Why do them? b)What’s happening at Bucknell and Rose-Hulman IV.Introduction to the technology (Mario) a)Analog circuits b)Portable measurement equipment Day 2 V.Hands-on activites with the equipment (Mario) a)Lab 1 – Linearity and time-invariance (Day 1) b)Lab 2 – Periodic signals and DTMF tones c)Lab 3 – Basic filtering and the ECG d)Lab 4 – Filtering with 6 th order circuits e)Lab 5 – Sampling VI.Development of new activities (Everyone) Day 3 VII.Presentation of new activities (Attendees) VIII.Review and assessment of the workshop (Everyone)

3 3 A special Thank You to all of our sponsors This workshop is supported by NSF Grant #1140995

4 An Introduction to how we got started in this project and eventually came to be here. Mario Simoni Rose-Hulman Institute of Techonogy Department of Electrical and Computer Engineering

5 By the end of the quarter, we expect the students to understand at least some of the fundamental concepts 5

6 Here are some examples that illustrate the difficulties and misconceptions that students are facing. “since I obviously can’t convolve a sgn very well, I decided to do the transforms” “Nevermind, I’m going to use sgn” [Got the transform correct to this point] 6

7 This is the result of the next problem on the same exam from the same student. Given the spectrum below, find the corresponding time function using standard transforms and properties. Successfully navigated Duality and solved a problem with more steps 7

8 Cumulative Withdraw and Fail data from 2000-2010 for Rose-Hulman ECE students shows that Emag I and CTSS courses are most difficult. 8 Cumulative data from Rose-Hulman Registrar 2000-2010 Freshman- Sophomore Junior

9 Discussion: What are the common threads between the introductory CTSS and EMAG courses? 9

10 We collected and are looking at a lot of other historical data in relation to ECE300 from Rose-Hulman during the time period of 2004 to 2012. Pre-RequisitesOther ECE CoursesOther Data Physics IIEMAG ITech Comm Physics IIIEMAG IIIntro Programming Diff Eq IDSPCum GPA Diff Eq IIComm SysCTSS Concept Inv Dynamical SystemsDigital SysGender 10

11 Certainly the mathematics background contributes, but it’s not the only issue. 11 As with n=218 in each groupBs with n=284 in each group

12 Students earning a C in ECE300 n=260 in each group 12

13 Students earning Ds and Fs in ECE300 13 Ds with n=104 in each group Fs with n=96 in each group

14 First approach to find sources of difficulty was student learning style preferences, the Felder-Silverman Model. 14 Converting to knowledge Active Doing Applying Discussing Reflective Thinking Reflecting Type of Information Sensing Facts/data Details Methods Intuitive Principles Generalizations Symbols Modality Preference Visual Pictures Diagrams Verbal Words Expression Progression of Thought Sequential Logical order Global Bits Intuitive leaps

15 Data from ILS for 732 Rose-Hulman ECE students from 2003-2012 Active Sensory Sequential Visual Reflective Intuitive Global Verbal 15

16 Learning theory can provide a vocabulary and framework for discussing learning of abstract concepts Bloom’s Cognitive Taxonomy J. Pilgreen. http://meandmylaptop.weebly.com/2/post/2012/07/simplified-blooms-taxonomy-visual.html, taken June, 2013http://meandmylaptop.weebly.com/2/post/2012/07/simplified-blooms-taxonomy-visual.html B. Chapman. http://www.businessballs.com/kolblearningstyles.htm, taken June, 2013http://www.businessballs.com/kolblearningstyles.htm 16

17 Deep ApproachSurface Approach Definition Examine new facts and ideas critically, tie them into existing cognitive structures, and make links between ideas. Accept new facts and ideas uncritically and attempt to store them as isolated, unconnected items. Character- istics Look for meaning and central concepts. Relate new and previous knowledge. Link course content to real life. Rote learning of formulas Can’t identify principles from examples. Learn only for the exam Encouraged by Students Curiosity Determination Mentally engaged Confidence Only for degree Lack of academic focus Lack sufficient background Too high workload Cynical View High anxiety Encouraged by Faculty Bring out structure Plenty of time for concepts Confront misconceptions Active learning Assessments require thought and combine ideas Relate new material to previous Allow mistakes and reward effort Present series of unrelated facts Allow passive students Assess independent facts Cover material at expense of depth Excessive workload Discourage questions Too short of assessment cycle Houghton, Warren (2004) Engineering Subject Centre Guide: Learning and Teaching Theory for Engineering Academics. Loughborough: HEA Engineering Subject Centre 17

18 Wage et al. describe what students perceived as the difficult concepts in signals and systems courses With regard to convolution: “I think it was because of the…I don’t want to say double integral…but I always say the concept of flipping and shifting, integrating two terms because really in calculus we used to integrated one term or just a straight double integral…and this required actually conceptualizing the shifting... as soon as it put visually that you were flipping and shifting then the integral made sense.” With regard to Fourier Transforms: “All of these symbols doesn’t really…doesn’t mean anything…and then you’re like ok…you look at them and you’re like I can do this there are only a couple of times you use them and you’re scratching your head because it doesn’t it’s.. it’s harder than it looks…and not I mean we spent a lot of time on it but just basic conceptual questions I had just weren’t answered. I tried to ask [the professor] and [the professor] did get the point across to me like I had this like glimmer of understanding and I just lost it.” 18

19 Wage et al. also indicated that student perceptions of the importance of topics could be a motivational factor 19

20 An overview of conceptual learning and different theories of conceptual learning Farrah Fayyaz Purdue University School of Engineering Education

21 Discussion: What is a concept and what is conceptual learning? Why should we be concerned with conceptual learning? 21

22 A Few conceptual change theories that may give some insight into some of the learning hurdles Ontological categorization [Chi (1992; 2008] – Chi, M. T. H. (1992). Conceptual change within and across ontological categories: Examples from learning and discovery in science. Cognitive Models of Science Minnesota Studies in the Philosophy of Science, 15, 129-186. – Chi, M. T. H. (2008). Three types of conceptual change: Belief revision, mental model transformation, and categorical shift. International handbook of research on conceptual change, 61-82. p-prims, coordination classes, and knowledge in pieces [DiSessa (1993, 2008)] – DiSessa, A. A. (1993). Toward an epistemology of physics. Cognition and instruction, 10(2-3), 105-225. – DiSessa, A. A. (2008). A bird’s-eye view of the “pieces” vs.“coherence” controversy (from the “pieces” side of the fence). International handbook of research on conceptual change, 35-60. Framework theory [(Vosniadou & Vamvakoussi, 2006)] – Vosniadou, S., & Vamvakoussi, X. (2006). Examining mathematics learning from a conceptual change point of view: Implications for the design of learning environments. Instructional psychology: Past, present and future trends. Sixteen essays in honour of Erik De Corte, 55-70. Advanced mathematical thinking [Dreyfus (1991)] – Dreyfus, T. (1991). Advanced mathematical thinking processes. Advanced mathematical thinking, 25-41. 22

23 Ontological Categorization Conceptual change is the change in the categorical status of a concept Assigning correct conceptual category to a novel concept leads to conceptual change Assigning incorrect category (specially ontological) to a new concept leads to robust misconception 23

24 Is there a need to define categories in the subject matter? Continuous time or discrete time - Are the two ontological categories being mixed up in the presentation of various concepts Continuous frequency or discrete frequency – Hz represents cycles/sec or cycles/sample? Does this further any conceptual hurdles to understand discrete frequency Complex and real - Sinusoidal signals represented as complex exponentials, does that make them complex signals? 24

25 Discussion

26 diSessa describes the difference between experts and novices as the way we use phenomenological primitives (p-prims) Why is it hotter in the summer? 26

27 p-prims, coordination classes, and knowledge-in-pieces Student’s prior knowledge conflicting with expert’s knowledge is not a misconception, but a phenomenological primitive (p-prim) knowledge invoked in an inappropriate context Inappropriate contextual use of p-prims leads to robust misconception Knowledge structure of a learner is fragmented Conceptual change occurs when the individual’s p-prims are re- contextualized Learning involves development of knowledge structures that consist of isolated or loosely linked p-prims into more coherent and integrated knowledge structure called coordination classes – Readout strategy – Causal net 27

28 Student misconceptions in signals and systems and their origins – Part II (Nasr R., Hall S., and Garik P., 2005) 28

29 Are there any potential p-prims furthering hurdles in learning? Time (clock - always continuous) Hz – cycles/sample or cycles/sec Periodic signals – infinite in length (electric current). What about discrete frequency? 29

30 Discussion 30

31 Framework theory Knowledge system of a person is a complex integration of numerous beliefs developed by interaction with physical, social, and cultural worlds around a person Conceptual learning becomes a problem when the person lacks initial compatible framework to add new knowledge in mind and is not even aware of the missing appropriate framework To conceptually learn concepts that conflict with well acquired everyday knowledge, the learner needs to be actively aware of his/her existing knowledge structure and the learner must be able to reassess his/her existing knowledge structure whenever required – Example, radical re-structuring of the initial belief from everyday life about numbers is required to properly understand the concept of a rational number. 31

32 Discussion 32

33 Advanced mathematical thinking Students learn advanced mathematical concepts through reflection on mathematical activity Students’ failure to reflect on advanced mathematical concepts is the incomplete presentation of these concepts Abstract concepts can only be understood in terms of their relationship with other similar or different concepts, and hence, understanding these concepts require a mental ability to shift attention from the mathematical object themselves to the structure of their properties and relationships. A slight change in the structure of the problem or formula can completely block their mental processes In addition to creating a mental representation of a concept, learning an advanced mathematical concept requires an ability to mentally switch from one representation or formula of a concept to its other representation or formula. Learning an advanced mathematical concept requires an ability to mentally translate the mathematical concept in different contexts. This corresponds to the ability of a student to apply a mathematical concept to multiple problem statements. 33

34 Advanced mathematical thinking 34

35 Discussion Can the difficulties in understanding abstract mathematical concepts like, sampling, transforms, complex exponentials, s- and z- domain, etc. be explained from Dreyfus's description of advanced mathematical thinking? 35

36 Wrap up our discussion on learning theory and how it can be applied to the rest of the workshop Mario Simoni

37 Example: How can an understanding of the sources of difficulty and conceptual learning influence pedagogical practice? Nokes and Ross demonstrated that using examples to explain principles instead of principles to explain examples provided a more abstract understanding of a principle that could be applied to other contexts T. Nokes and B. Ross. Facilitating Conceptual Learning Through Analogy and Explanation. Physics Education Research Conference, Edited by L. Hsu, C. Henderson, and L. McCullough, pp. 7-12, 2007. 1 Explain why the square wave shown above does not contain even harmonics. 37

38 Using near-miss analogies can help students understand how the structure of a problem relates to variables. Using surface different problems helps students to determine which principle to apply. 2A Near-miss Analogy Example Determine the value of A and τ that will make the fundamental frequency cosine have the same amplitude for each square wave. 2 Surface Different Problem Example Write an expression for the Fourier series coefficients for each signal 38

39 Discussion: Given all of this background information, why is the CTSS content so difficult for students? “It’s not the just the graphing, it’s not the just the math, it’s not just the experience… It’s using them all together.” Ruth Streveler, June 25, 2013 What do you think? 39

40 Given that we are going to be looking at hands-on activities for the remainder of the workshop, how should we think about them in relation to all of this learning theory? 40

41 What are we currently doing and advocating with regards to hands-on application oriented activities Mario Simoni Maurice Aburdene Bucknell University Department of Electrical Engineering

42 42 Wow! Linear Systems and Signal Processing is fun!

43 Continuous-time signal processing is all about modeling what is happening in real systems. t=linspace(0,0.02,500); num1=cos(2*pi*1209*t)+cos(2*pi*697*t); nump=cos(2*pi*1477*t)+cos(2*pi*941*t); t=1000*t; plot(t,num1,t,nump+4,t,4*ones(1,length(t)),'k',t,zeros(1,length(t)),'k') xlabel('time (ms)') “#” button “1” button 43

44 We are advocating application-oriented hands-on activities to give students experiences with the actual systems. 44

45 The introductory CTSS course at Bucknell has the following format Two 14-week semesters per academic year Three 1-hour lectures plus one 3-hour lab session per week Course covers Basic signal modeling System properties Time domain analysis Laplace and Fourier Transforms and Fourier Series Filters and Sampling Discrete transforms and FFT 45

46 These were the series of labs used in ELEC320 in 2010 Lab 1: Introduction to MATLAB Lab 2: MATLAB Exercises Lab 3: Satellite Communications & MATLAB Exercises Lab 4: Tour of Powers Theatre and sound processing demos by Professor Heath Hansum Lab 4: Tour of Powers Theatre and sound processing demos by Professor Heath Hansum Lab 5: Fourier Series & Data Communications Lab 6: Computation of Fourier Series & Fourier Transforms Lab 7: Analog-to-digital converters, Digital-to-analog converters, Sampling, Nyquist's theorem, Shannon's theorem and Fourier transforms Lab 7: Analog-to-digital converters, Digital-to-analog converters, Sampling, Nyquist's theorem, Shannon's theorem and Fourier transforms Lab 8: Analog filter design- Lowpass, bandpass, high pass, frequency response, Bode plots, switched-capacitor filters, and Touch-tone. dialing circuits Lab 8: Analog filter design- Lowpass, bandpass, high pass, frequency response, Bode plots, switched-capacitor filters, and Touch-tone. dialing circuits Final Project ELEC 320 - Linear Systems and Signal Processing Fall 2010 46

47 Satellite Communications Project 47

48 After a certain number of sample delays (in this case about 1.675seconds), the output shows the effect of the interference of the reflected signal with ab=0.1. In this case, since the original signal and the reflected signals are both in phase, the output shows constructive interference. 48

49 Data Communications and Fourier Series Project Using sinusoidal analysis presented in the satellite communication earlier, this project introduces students to Fourier analysis of periodic signals and applications to data communications. In particular, we are interested in determining the harmonic content and the time-response of both the transmitted signal and received signal. We begin with a communication channel with capacity C bits/sec and data is transmitted over a communication channel with bandwidth B Hz. For this project, we consider the transmission of an 8-bit ASCII characters (the control signals are ignored) through our communication channel. 49

50 Bit rate = 9600 bits/sec. Frequency of 1 st harmonic = 9600/8 Hz=1200Hz. The highest harmonic number passed within the bandwidth= This means that the third harmonic is greater than the bandwidth of the filter. shows the original ASCII code at the input of the low-pass filter, the approximation of the signal using three harmonics and a stem plot showing the magnitudes of the first 3 harmonics of the signal. 50

51 51

52 A simple 3000 Hz bandwidth RC low pass-filter was used. The ASCII code for “a” i.e. x(t) is the first plot. The code was programmed in the Agilent 33120A Function Generator and sent to the filter from the LSB to the MSB. The second plot shows the output response of the filter. Since the highest harmonic number passed within the bandwidth is =10, the output of the filter shows a good representation of the input signal. 52

53 Bit rate = 24,000 bits/sec. Frequency of 1 st harmonic = 24000/8 Hz=3000Hz Since the highest harmonic number passed within the bandwidth is =1, the output of the filter is not a very good representation of the actual input. 53

54 Modeling and Control of a DC Motor. The purpose of this project was to build, test and characterize a speed control system. The primary objective of this lab was to model systems using differential equationsand Laplace transforms. Students were asked to use Laplace transforms to obtain the open-loop and closed loop transfer functions. The experiment used a DC motor with an AC tachometer. Using rectifiers, the students converted the tachometer signal to DC and using op-amps created a proportional feedback speed control system. 54

55 Touch-tone® Decoding and Filters In this project, we focused on analog filter design for the Touch-tone® telephone dialing system, using the MF10 (universal monolithic dual switched capacitor filter) chip, including a discussion of the history of the development and design issues 55

56 Fourier Transform 56

57 Fourier Series Coefficients 57

58 Fourier Series Coefficients 58

59 Fourier Series Coefficients 59

60 60

61 COMPARISON OF COURSE LEARNING GOALS FOR FALL 2008, 2009 AND 2010. 200820092010 Course Learning GoalMean Media n Std. DevMean Media n Std. DevMeanMedian Std. Dev Identify and use signal models 3.130.994.0440.624.1340.92 Develop models of engineering systems, physical systems, and social systems 2.72.51.163.6340.884.240.68 Analyze continuous-time system models by applying Fourier and frequency response methods 3.43.50.973.9640.694.1340.92 Analyze discrete-time systems2.930.883.9640.753.9340.96 Develop computer models using available software packages for analysis and design 3.230.793.7540.944.0741.1 Design a hardware or software system and formulate system specifications 2.621.353.5840.833.9341.03 61

62 The introductory CTSS course at Rose-Hulman, ECE300, has the following format and history Three 10-week quarters per academic year Three 1-hour lectures plus one 3-hour lab session per week Newest version only covers frequency domain. Starts with periodicity and Fourier series Ends with filters and sampling theory Original Version of ECE300 ECE300 is Split Winter 2009-2010 New Labs are Introduced Fall 2002-2003 Fall 2010-2011 62

63 The Signals Exploration Platform (SEP) was developed to facilitate a wide variety application-oriented hands-on activities Signal MIC ECG Inst Amp vy(t)vy(t) vz(t)vz(t)  Sampling Impulse Pulse ZOH Bypass 1 st order Up to 6 th order clock Speaker Driver To speaker To Scope/ Analyzer Inputs 63

64 Nine different labs were developed to cover various topics WeekLab Description 1 System linearity and time-invariance in the time domain 2 Intro to spectral measurement (cosine, square, musical instrument via microphone, dual-tone multi-frequency signals) 3 Filtering periodic signals (low duty-cycle pulse train, square, electrocardiogram (ECG), 1 st order filter) 4 Harmonic distortion and SNR (distortion of input amplifiers and noise added to signal) 5 Aperiodic signals (speech via microphone) 6 Modulation (cosines, square, sinc, multiplying, speech) 7 Laboratory Practical Exam 8 Filter characteristics (1 st vs. 6 th order, Chebyshev vs. Butterworth) 9 Real filters and distortion (Chebyshev vs. Butterworth, filtering speech signals) 10 Sampling (impulse, square, and zero-order hold) 64

65 Each of the activities that were developed for use with the SEP follows a similar format 1.Start with very simple example 2.Work to a more complicated but textbook-like example 3.Use a real-world example ? ? 65

66 Lab 3 is about filtering periodic signals and begins with filtering an impulse train with a first order filter. Unfiltered Filtered What frequencies are present in the unfiltered signal? How does the spectrum change when you change X in the input signal? Why are the spectral components below X Hz unaffected by the filter? By what amount is the component at X Hz attenuated? Explain. 66

67 The next step in lab 3 is to filter a 50% duty cycle square wave. Unfiltered Filtered Why is it more difficult to measure the change in each spectral component? 67

68 The final step in Lab 3 is that each student gets to measure and filter their own ECG. Unfiltered Filtered Which aspects of the ECG signal are affected by the filter and which are unaffected? Explain. 68

69 Survey results suggest that students have a much better sense of how the concepts are applicable. Questions with corresponding range of choices and associated values for each end of the range Mean Prior (n=36) Mean during (n=68) p- value 1 I think the concepts that I learned in ECE300 were (1) All theoretical - (5) All application oriented 2.22.650.0005 2 The labs in ECE300 helped to motivate the material and explain why it is important. (1) strongly agree - (5) strongly disagree 2.582.100.02 3 Please rate your confidence with using Fourier Series or Fourier Transforms and a system's impulse response to determine the system's output in the time and frequency domain (1) very confident - (4) very unconfident 1.722.010.04 69

70 Concept inventory results suggest that how the labs are performed can have a big impact on learning. ECE300 Subset All Questions Avg Class Grade/4.0 Original Version of ECE300 (n=680) Through Fall of 2009-2010 0.420.312.5 Year Prior to labs (n=25) Winter and Spring 2009-2010 0.38 (p=0.53) 0.28 (p=0.59) 2.75 1 st year of labs (n=75) All three quarters of 2010-2011 0.30 (p=0.00) 0.18 (p=0.00) 2.45 2 nd year of labs (n=81) All three quarters of 2011-2012 0.54 (p=0.00) 0.36 (p=0.13) 2.35 70

71 Mario has been doing a lot with tablet PCs and interactive examples in lecture Can x(t) be recovered at this sampling frequency? 71

72 Discussion: How should we design hands-on activities to help students overcome the sources of difficulty? 72

73 An overview of the technology that we will be working with for the rest of the workshop Mario Simoni

74 There are a couple of different technology options to facilitate CT hands-on application oriented activities Signals Exploration Platform 74

75 The Signals Exploration Platform (SEP) offers several types of inputs and processing paths that can be quickly and easily configured while minimizing debugging Signal MIC ECG Inst Amp YINZIN  Sampling Impulse Pulse ZOH Bypass 1 st order Up to 6 th order Speaker Driver To speaker To Scope/ Analyzer Inputs Pot -5 to 5 10 SHORT 75 vy(t)vy(t) vz(t)vz(t) SAMPLE v1(t)v1(t)

76 The power supply is sufficient to drive an 8  load, has less than 5mV ripple noise, and also protects the board. +12 DC input with at least 2A capability (5mm OD x 2.5mm ID adaptor) Reverse polarity protection 1A fuse protection  9V switching supplies with short circuit protection (CUI V7809-1000R)  -filters to reduce switching noise LED indicators for each rail The fuse can be replaced with a PTC self resetting device 76

77 The input stage enables you to choose from a variety of signals and then multiply or add to them. Instrumentation Amp INA827 for generic differential to single-ended conversion (gain =10)  9V supply posts provided for Wheatstone bridge applications ECG Input ECG is isolated to 5000V with optoisolator Three ports: ECG_POS (LH), ECG_NEG (RH), and RLD (RL) Requires a separate 9V battery and connector LED indicator for the 9V battery Microphone Input Omnidirectional 100Hz-20kHz electret microphone Gain of 90 and high-pass filter with -3dB at 40 Hz Generic voltage signal input 10k  input impedance for function generator and other general voltage signals Multiplier and Adder AD633 handles multiplication and addition of signals Multiplying signal can be selected by switch: 1) time varying input, 2) constant gain between  5, or 3) unity. Adding signal can nulled or set to time varying signal Signal MIC ECG Inst Amp YIN ZIN  Inputs Pot -5 to 5 10 vy(t)vy(t) vz(t)vz(t) vx(t)vx(t) v1(t)v1(t) 77

78 78

79 79

80 The sampling stage is a loaded switch controlled by a clock. The type of clock and load determine the form of sampling. How to control the sampling switch If the switch is set to SHORT the switch is always closed and the signal passes through unsampled If the switch is set to SAMPLE, then an applied CLK signal will periodically open and close the switch. OPEN switch when CLK = -9V, CLOSED switch when CLK = +9V Low duty-cycle pulses will simulate impulse sampling 50% duty-cycle pulses implements square wave Loading the switch Round fuse holder is for the loading element Load with a 1-5k  resistor for regular sampling Load with a 10-100nF capacitor for ZOH type sampling Do not use polarized capacitors load CTL IN OUT 80

81 81

82 The filter stage can implement 1 st through 6 th order filters. OpAmps are pre-wired on board Passive elements go straight across sockets for standard filters Nodes are labeled on the board Stayed with lowpass topologies in order to keep things simple 6 th order path has 3 MFB 2 nd order stages, can easily bypass a stage load V- V+ Vin Vout load V+ Vin Vout load V- Vx 1 st Order Path Single Stage of 6 th Order Path 82

83 83

84 The output stage can drive both a high and low-impedance load simultaneously with low distortion. V_OUT is before the driver and can only drive high-impedance loads such as oscilloscope SPK_POS and SPK_NEG come from a darlington push-pull output that can drive low-impedance loads The output stage has thermal runaway protection Output voltage saturates at  5V Into an 8  load, the current shouldn’t be greater than 625mA DC The supplies can drive up to 1A in either direction so the load should not be less than 5  or the protection will shut down the board 84

85 The SEP can be quickly and easily set up and configured to do… 1.Labs 2.In-class demos 3.Homework assignments While minimizing… 1.Debugging time 2.Variability between students 85

86 In addition to the standard lab equipment, there are several different options for portable lab equipment. 86

87 87

88 At this point, let’s stop and install the software for the Digilent Equipment on your laptop Locate on the USB drive the following file and click on it Software\digilent.waveforms_v2.4.4.exe 88

89 Now lets talk about the user interface for the Digilent equipment. 89

90 90

91 91

92 92

93 These are the labs that we’ll be working on to familiarize you with the technology

94 Lab 1 focuses on signal modeling and LTI system properties to determine the limitations of the board. Materials2 function generators and 3-channel scope Mini LabStepsQuestions for students Linearity of amplifiers (Homogeneity) 1.Set the input stage to have a gain of 1. 2.Apply a triangle wave input with a 1V amplitude to the SEP. 3.Double the input amplitude and see if output doubles but doesn’t change shape 4.Continue to increase input amplitude until the output changes shape. Record this amplitude. 5.Change the gain of the input stage on the SEP to 3. 6.Change the amplitude of the input signal until the output just begins to saturate. Compare this amplitude to the value recorded previously 1.How would you describe the boundaries under which the system behaves linearly? 2.How does the gain affect the linearity of the system? 3.Why is it easier to work with linear systems? Linearity of amplifiers (Additive) 1.Reset the gain of the board to 1. 2.Apply two equal-amplitude triangle waves with 2x frequency difference to the board such that the board adds them together. 3.Change amplitudes of the two inputs to observe both linear and nonlinear operation. Record the amplitude limitations for which the system behaves linearly. 1.How do the amplitude limitations change when adding signals together? Time Invariance1.Set the SEP’s gain to be controlled by the potentiometer. 2.Apply a square wave with very short duty-cycle pulses to the signal input. (acts like impulses) 3.Observe that the impulse response is always the same. 4.Set the multiplying signal to by YIN. 5.Set YIN to be a sinusoid (time-varying gain). 6.Observe that the impulse response is now different depending on when it is applied. 1. Explain how this experiment relates to the definition of time invariance “A delay in the input causes an equal delay in the output, but otherwise the output is unchanged.” 94

95 Lab 2 focusses on periodic signals with DTMF signals and musical instruments as realistic applications Materials 2 function generators, 3-channel scope, spectrum/frequency analyzer, DTMF generator, musical instrument Mini LabStepsQuestions for students Frequency, amplitude, phase, and power 1.Apply a sinusoid to the primary input of the SEP 2.Measure the output of the board with both a scope and spectrum analyzer 3.Verify that the power and frequency measured on the spectrum analyzer correspond to the scope. 4.Adjust the phase, frequency, and amplitude of the sinusoid and observe how the time and freq measurements change 5.Connect the speaker. Increase the amplitude of the sinusoid until the system no longer behaves linearly. Observe what happens in the time and frequency domains and the sound. 1.Why is the power of the sinusoid not affected by phase or frequency? 2.What happens to the frequency domain measurements and the sound when the system behaves nonlinearly? Sums of sinusoids and periodicity 1.Apply sinusoids to the primary and summing inputs of the SEP and set frequency, amplitude, and phase to be same. 2.Measure the SEP output with the spectrum analyzer and scope and the two inputs with the scope and connect the output to a speaker. 3.Observe what happens to the measurements and sounds as you adjust the phase of one of the sinusoids. 4.Increase the frequency of one of the sinusoids to be 1.1x greater than the other. Change its phase and amplitude. 5. Increase the frequency of one of the sinusoids to be 2x greater than the other. Change its phase and amplitude. 6.Use the DTMF tones of 697Hz and 1209Hz for the number 1. Change the phase and amplitude of one of the signals. 1.Why does phase affect the power level only when the signals have the same frequency? 2.Why does the scope have difficulty capturing the output signal for the DTMF frequencies but the spectrum analyzer does not? 3.Why is the waveform stable on the scope when the frequencies are 2x different but not for the DTMF frequencies? 95

96 Spectra of other signals 1.Apply a 50% duty-cycle square wave to the primary input of the SEP. 2.Adjust the amplitude, frequency, delay, and duty cycle of the square and measure how the spectrum changes. 3.Increase the amplitude of the square wave so that the system no longer behaves linearly. Measure the spectrum again. 4.Apply a triangle wave to the primary input of the SEP and record the spectrum. 5.Adjust the amplitude, frequency, delay, and symmetry of the triangle wave. Record the spectrum again. 6.Increase the amplitude of the triangle wave until the system no longer behaves nonlinearly. Record the spectrum again. 1.Both the square and triangle waves have multiple frequencies. What is the relationship between these frequencies? 2.Why do the nonlinearities of the system change the spectrum of the triangle wave more than the square wave? 3.Why does the time-delay not affect the power spectrum of the signal? 4.Why does the number of harmonics present change with duty-cycle? Explain this mathematically. Realistic periodic signals1.Switch to the microphone input on the SEP 2.Connect the scope and the spectrum analyzer to measure the SEP output. 3.Play an instrument into the microphone and record the measurements. (a straw flute or empty water bottle work well, also online keyboard synthesizer http://www.bgfl.org/custom/resources_ftp/client_ftp/ks2/ music/piano/guitar.htm ) http://www.bgfl.org/custom/resources_ftp/client_ftp/ks2/ music/piano/guitar.htm 1.Determine the fundamental frequency of the signal in both the time and frequency domains. Are they the same? 2.Using a note/frequency chart, determine what note is being played by using the time and frequency domain measurements. 96

97 Lab 3 introduces filtering and the uses the ECG and DTMF signals as the realistic applications Materials 2 function generators, 3-channel scope, ECG electrodes, DTMF generator, passive parts for filtering Mini LabStepsQuestions for students Using an impulse train to measure the frequency response of a filter 1.Set the input stage to have a gain of 1. 2.Apply a very small duty-cycle square wave to the primary input (behaves like impulse train). 3.Observe the input signal in the time and frequency domain. Measure the power level of the harmonics. 4.Insert passives to make a first-order lowpass filter that has a -3dB frequency equal to the 4 th harmonic of the impulse train. Set the jumpers to filter the signal. 5.Measure the power levels of the first 10 harmonics at the output of the filter, and record the time and frequency plots. 6.Change the passive elements to be a highpass filter. 7.Record the power levels of the first 10 harmonics and the output of the filter in the time domain. 1.What does the output of the filter in the time domain represent? 2.How do the different filters affect the harmonics differently? 3.Using the mathematical model of the filters, estimate how each harmonic of the input signal should change and compare this to the measured values. Filtering Single Sinusoid1.Reset the gain of the board to 1. 2.Insert passives to make a first-order lowpass filter with a - 3dB frequency of 500Hz. 3.Apply a sinusoid to the primary input of the filter with a 1V amplitude and frequency of 50Hz. 4.Sweep the frequency of the sinusoid to 5kHz, taking regular measurements of phase shift and amplitude. 5.Reset the frequency to 50Hz, set the gain and amplitude so that the nonlinearities of the system are very evident. 6.Sweep the frequency of the input signal again over the same range and measure the output in time and frequency. 1.Predict what the output of the filter will be at several different frequencies and verify it with measurements. 2.When the system behaves linearly, what are the only properties of the input that can change? 3.When the system behaves nonlinearly, how does the filter affect each of the harmonics of the signal? 97

98 Filtering a square wave 1.Apply a 50% duty-cycle square wave to the primary input. 2.Insert passives to create a first-order lowpass filter with a - 3dB frequency that is approximately equal to the 3 rd harmonic of the square wave. 3.Measure the power at each of the first 10 harmonics of the square wave with and without filtering. 4.Record the output of the filter in the time domain. 5.Change the capacitor value of the filter. Then measure the harmonics and record the time domain again. 1.Using the mathematical modeling, predict how each of the harmonics of the square wave will change due to the filter and verify with measurements. 2. Filtering a DTMF signal 1.Set the primary input to be the DTMF signal for the number 3. 2.Insert passives to make a first-order lowpass filter with a -3dB frequency of 700Hz and a highpass filter with a -3dB frequency of 1400Hz. 3.Record the input signal in both the time and frequency domains. 4.Record the output signals of each filter in both the time and frequency domains. 5.Compare the input recordings to the output recordings. 1.For each of the filters, why is one frequency approximately -6dB below the other frequency? 2.Does the larger amplitude frequency at the output of each filter correspond to the number 3 in the DTMF code? 3.Why are the filters unable to completely eliminate the second tone? 4.Design a continuous-time system that would be able to completely decode the full range of DTMF signals. Looking at an ECG Signal1.Set up the SEP to measure ECG signals. 2.Insert passives to create a first-order lowpass filter with a - 3dB frequency of 100Hz. 3.Record the ECG signal both with and without filtering. 4.Change the -3dB frequency of the filter to be 10Hz. 5.Record the output of the filter again. 1.With the 100Hz filter, at what frequency was most of the “noise” in the signal? 2.Why does the 10Hz filter eliminate most of the noise but not significantly affect the “shape” of the ECG signal? 98

99 Lab 4 compares the 6 th order to 1 st order filter and introduces the different types of filters with the real application of filtering a speech signal Materials 2 function generators, 3-channel scope, spectrum/frequency analyzer, passive parts for a 1 st order lowpass filter and 6 th order Butterworth, Chebychev, and Bessel lowpass filters. Mini LabStepsQuestions for students For each of the types of filters, perform the following steps 1.Apply a very low duty cycle pulse wave to the input signal and adjust the scope to capture just a single impulse response of the filter. 2.Use the spectrum analyzer to display the power spectrum of the impulse response. 3.Change the input signal to be a sinusoid with 1V amplitude 4.Plot the input and output signals on the scope and measure the change in amplitude and phase as you sweep the frequency of the input signal 1.Why is the power spectrum of the impulse response similar to the plot of the gain that you measured from the sinusoids at different frequencies? 2.Explain why the phase shift jumps from negative to positive between adjacent frequency steps for the 6 th order filter. Why doesn’t it jump like this for the first order filter? Filtering a speech signal1.Apply the “these” waveform to the input signal 2.Using each of the three filter pathways in turn: unfiltered, 1 st order, and 6 th order, listen to the output of the filter on the speaker. 3.Working with a partner, switch to the microphone input and have one partner speak into the microphone while the other listens to the speaker 1.Why do the 1 st order and 6 th order filters make the speech sound different even though they have the same cutoff frequency? 2.What sounds from the word “these” are eliminated by the filters and which remain? Explain. 3.When speaking into the microphone, which consonant and vowel sounds pass through the filter mostly unaltered? Explain. 99

100 FilterPro from Texas Instruments is an excellent piece of software for designing op-amp based filters. 100 http://www.ti.com/tool/filterpro

101 Here is the circuit schematic for the filters and the table that is used to collect data. 1st order filter NameValue R1 (Stage 1)6.2K R2 (Stage 1)6.2K C1 (Stage 1)100nF 3 stage cascade of 2 nd order MFB circuits for 6 th order Chebychev Type I lowpass filter with fc=250Hz and 2dB of ripple in the stopband. 101

102 102

103 This is what the unfiltered speech signal should look like for the word “these”. 103

104 Lab 5 introduces sampling and filtering to recover a sampled signal with speech as the realistic example Materials 2 function generators, 2-channel scope, and passive for a 1 st order and 3 rd order filter, a 1k  resistor and 10nF capacitor for sampling Mini LabStepsQuestions for students Sample and recover a COS4 waveform using impulse sampling 1.Install a 1k  resistor into the sampling -switch load socket 2.Apply a 100  s pulse signal at 1kHz to the CLK input 3.Apply the COS4 signal to the input signal at 50Hz 4.Observe the input and output signals on the scope in both time and frequency for the following conditions: 1.Unfiltered 2.1 st order filter 3.6 th order filter 5.Repeat the experiment with sampling frequencies of 500Hz and then 200Hz 1.Why does the 1 st order filter create a better recovered signal for the ZOH sampling than the other forms of sampling? 2.Explain how aliasing can occur even if the sampling frequency is higher than the Nyquist rate. 3.Explain why the 6 th order filter does a better job of recovering the signal than the 1 st order filter. 4.Explain how and why the copies of the original spectrum are different for the three different forms of sampling. 5. Explain why you can recover the signal with a lower order filter when using ZOH sampling. Sample and recover a COS4 waveform using square wave sampling 1.Repeat the same series of experiments but change the CLK signal to be a 50% duty cycle square wave. Sample and recover a COS4 waveform using ZOH sampling 1.Replace the 1k  resistor in the sampling -switch load socket with the 10nF capacitor. 2.Repeat the same series of experiments but change the CLK signal back to the 100  s pulse at 1kHz. Sampling a speech signal 1.Go back to the setup for the impulse sampling, but change the input signal from COS4 to “these” 2.Design a first order filter to recover the speech signal. 3.Starting at 500Hz, increase the sampling frequency until the word sounds normal. 1.Explain why the sampling frequency had to be increased in order for the word to sound normal. 2.Explain the relationship of the necessary sampling frequency to the spectrum of the word “These” 104

105 Now it’s up to you to develop an activity using this technology that is grounded in our original discussion of learning difficulties

106 Where do we go from here?

107 We are still working out how to make the boards available to everyone. You can build your own by following these steps… 1.Find a PCB manufacturer a)Silver Circuits (www.custompcb.com) $8/board for 30 boardswww.custompcb.com b)Advanced Circuits (www.4pcb.com) 2.Send them the following files for production a)TOP.art b)BOTTOM.art c)SST.art d)SMT.art e)SMB.art f)ece300_board_2013-1-2.drl 3.Order parts a)ECE300_BOARD_2013_BOM.xlsx has all of the components from Digikey b)Also need 12V DC power supply with greater than 3A. Nothing special, can get anywhere. 4.Assemble the boards a)Surface mount and through-hole parts b)Reasonable for experienced technician to build 10 in one week while doing other things.

108 There are many possible ways to continue this discussion and collaborate further… 1.Gather similar historical data at your schools 2.Publishing new activities that we develop and test together 3.Eventually develop and submit a Type II TUES proposal together 4.Order PCBs together to reduce cost


Download ppt "1 Welcome to the 2013 CTSS Summer Workshop at Rose- Hulman Institute of Technology Mario Simoni Rose-Hulman Maurice Aburdene Bucknell University Farrah."

Similar presentations


Ads by Google