exp2oracion

Embed Size (px)

Citation preview

[Type the document title]Group No.:__________________________________

Rating:__________________________ Date Performed: _________________________ __________________

Date

Submitted:

Feedback and Control Systems GETTING FAMILIAR WITH LABVIEW (PART I) Machine Problem No. 1 I. OBJECTIVES 1. To modify existing activities: act02-02.vi and act02-03.vi. 2. To establish an interactive and working VI that exhibits an appealing structure and provides functional elements. 3. To provide user-defined input for the frequency and gain of a signal. 4. To make the output waveform graph responsive to changes in inputs such as the frequency and gain. 5. To vary an output signal based on the type of signal chosen by the user (e.g. sine, sawtooth, etc.) 6. To display two signals in one waveform graph (original and amplified)

II. MACHINE PROBLEMS1. Modify act02-02.vi to make it interactive, that is the frequency of the

input signal, and the gain of the amplifier can be changed by the user. Refer to the FP below as an example. Design a more appealing and functional FP. Name the VI as macropro02-01.vi.2. Modify act02-03.vi to make it interactive. The frequency, gain and the

signal type of the input signal must be user-defined. Refer to the FP below as example. Design a more appealing and functional FP. Name the VI for this case study as micropro02-02.vi.Activity No. 1 Getting Familiar with Labview(part 1) Page 1

[Type the document title]

III. METHODOLOGY Machine Problem 1 with Frequency only

Machine Problem 1 with frequency and gain

Activity No. 1 Getting Familiar with Labview(part 1)

Page 2

[Type the document title]

Block Diagram of Macpro 1

Activity No. 1 Getting Familiar with Labview(part 1)

Page 3

[Type the document title]

Machine Problem 2 without adjustment

Activity No. 1 Getting Familiar with Labview(part 1)

Page 4

[Type the document title]

Machine Problem 2 without adjustment

Activity No. 1 Getting Familiar with Labview(part 1)

Page 5

[Type the document title]

IV. RESULTS AND INTERPRETATIONActivity No. 1 Getting Familiar with Labview(part 1) Page 6

[Type the document title]Machine Problem 1 with frequency and gain

Machine Problem 1 with Frequency only

Block Diagram of Macpro 1Activity No. 1 Getting Familiar with Labview(part 1) Page 7

[Type the document title]

Machine Problem 2 without adjustment

Activity No. 1 Getting Familiar with Labview(part 1)

Page 8

[Type the document title]

Machine Problem 2 without adjustment

Activity No. 1 Getting Familiar with Labview(part 1)

Page 9

[Type the document title]

V. CONCLUSIONS AND RECOMMENDATIONSActivity No. 1 Getting Familiar with Labview(part 1) Page 10

[Type the document title]Based on the conducted activity, we came up with the following inferrences:

The fundamental frequency of the input signal and the gain of the amplifier are user-defined which provides flexibility of the VI. The output waveform graph is responsive to changes in input parameters Various types of the output signal namely: sine, sawtooth, square, and triangle waves, can be selected by the user. Two signals are displayed in a single waveform graph which shows the original input signal and its amplified form. The VI is functional, interactive, and exhibits an appealing configuration. The VI should have an organized front panel. The control functions should be placed in the FP separated from the indicator or output functions. Block diagrams should be comprehensible and logical so that in case an error occurs, debugging would be easier. The block diagram should be free from unwired connections and unmatched data types A Time Delay function should be used so that the reading in the waveform graph display will not run too fast. The input and output signals should be distinguished from each other in the waveform graph by changing their display characteristics such as their respective colors. The input signal and the resulting output signal should be bounded by the X and Y scales of the graph display thus, the limits of both axes should be adjusted in the options of the graph. The Loose Fit option should be disabled for both the X and Y scales in order to maximize the space provided by the waveform graph. To avoid aliasing, the sampling rate should be at least two times the frequency of the input signal.

VI. REFERENCESActivity No. 1 Getting Familiar with Labview(part 1) Page 11

[Type the document title]

Kehtarnavaz, N. & Kim, N. (2005).Digital Signal Processing System-Level Design Using LabVIEW. Oxford, United Kingdom: Elsevier, Inc. http://k12lab-support-pages.s3.amazonaws.com/lvbasichome5.html

Activity No. 1 Getting Familiar with Labview(part 1)

Page 12