DAQ Record
DAQ Record
DAQ Record
SIGNAL CONDITIONING
(Laboratory Record)
SUBMITTED BY
ARUNKUMAR B
REGD. NO.-14MMT1001
M.TECH MECHATRONICS
ARUNKUMAR B (14MMT1001)
INDEX
SI
no
Experiment
DATE
29-5-2015
30-5-2015
5-6-2015
5-6-2015
6-6-2015
6-6-2015
11
19-6-2015
13
19-6-2015
16
19-6-2015
19
19-6-2015
21
19-6-2015
23
Page
Number
ARUNKUMAR B (14MMT1001)
27-6-2015
24
27-6-2015
26
LEDs.
Experiment No. 1
Aim: Design of the Lab-View circuits for Arithmetic operations.
Requirements: VI Lab-View software.
Procedure:
1. Open the Lab-View software. Create new file, press Ctrl+T to get two panels of it.
2. For performing the arithmetic operations take the inputs and outputs from the
numeric controllers and indicators as shown in left window in figs below.
3. In the right window we can view the respected symbols of numeric indicators and
controllers.
4. Take arithmetic operators from mathematics numeric - ADD, SUBSTRACT,
MULTIPLY & DIVIDE symbols.
5. Do the required connections as shown in fig.1
6. For designing even or odd checking program take arithmetic operators from
mathematics numeric QUOTIENT AND REMAINDER. Take logic operation
from programming-comparison-EQEAL AND NOT EQUAL.
7. Do the required connections as shown in fig.2
8. And give the input constants to the corresponding arithmetic operations.
9. Click on run button to get the output.
Simulation Output:
ARUNKUMAR B (14MMT1001)
ARUNKUMAR B (14MMT1001)
Experiment No. 2
Aim: Design of the Lab-View circuits for square wave and random wave generation.
Requirements: NI Lab-View software.
Procedure:
1. Open the Lab-View software. Create new file, press Crl+T to get two panels of it.
2. For taking While-loop, press Right click-programing- structures- While loop. And
draw the required size of While-loop, as shown in right window.
3. Give a stop switch for stop the while operation.
4. Take the essential functional blocks from the proper menu to fulfill the logic.
5. Do the required connections as shown in fig.
6. Click on run button to get the output.
Simulation Output:
ARUNKUMAR B (14MMT1001)
Inference:
1. When the first program runs the wave form chart shows a square wave.
2. When the second program runs the chart shows a random wave.
3. The loop number can visible on the front panel.
6
ARUNKUMAR B (14MMT1001)
Conclusion:
Thus we have studied the square wave generation and random wave generations in Lab-View.
Experiment No. 3
Aim: Design of a LabVIEW circuit for Amplitude Modulation and verify the wave forms.
Requirements: NI Lab-View software.
Procedure:
1. Open the LabVIEW software. Create new file, press Ctrl+T to get the block diagram
and front panel.
2. For taking While-loop, press Right click-programming- structures- While loop. And
draw the required size of While-loop, as shown in right window.
3. Give a stop switch to the While-loop for executing it that continuously.
4. Take the essential functional blocks from the proper menu to fulfill the logic.
5. Do the required connections as shown in fig.
6. Run the program and we will get the output.
Simulation Output:
ARUNKUMAR B (14MMT1001)
Inference:
1. The example used here is a amplitude modulation.
2. When the program is run, the waveform chart shows the amplitude modulated sine
wave output.
3. The program is stopped when the stop of while is clicked.
Conclusion:
Thus we have studied to perform AM modulation and wave forms studied.
Experiment No. 4
Aim: Design of the Lab-View circuits for LED flashing operation.
Requirements: NI Lab-View software.
Procedure:
1.
2.
3.
4.
Open the Lab-View software. Create new file, press Ctrl+T to get two panels of it.
Go to system containers tab control and make a tab.
Take and place four LED indicators on tab for flashing operation.
For taking Flat sequence, press Right click-programming- structures- Flat sequence. and
draw the required size of Flat sequence, as shown in right window.
5. For controlling one indictor in different positions right click on the indicator --create -local variable.
6. For taking While-loop, press Right click-programming- structures- While loop. And draw
the required size of While-loop, as shown in right window.
7. Give a stop switch to the While-loop for executing it that continuously.
8
ARUNKUMAR B (14MMT1001)
8. Take the essential functional blocks from the proper menu to fulfill the logic.
Do the required connections as shown in fig. Run the program and we will get the
output
Simulation Output:
Inference:
1. The example used here is a LED flashing operation.
2. When the program is run, the LED starts sequentially on and off
3. The program is stopped when the stop switch of while is clicked.
Conclusion:
Thus the LED flashing operation by using flat sequencing is carried out in LabVIEW.
Experiment No. 5
Aim: Design of the Lab-View circuits for tank control using flat sequence.
Requirements: NI Lab-View software.
Procedure:
1. Open the LabVIEW software. Create new file, press Ctrl+T to get the block diagram
and front panel.
2. For simulating tank, press right click -- Modern numerical vertical fill slide.
3. For taking Flat sequence, press Right click-programming- structures- Flat sequence.
And draw the required size of Flat sequence, as shown in right window.
4. For controlling one indictor in different positions right click on the indicator --create
-- local variable.
5. For taking case structure, press Right click-programming- structures- case structure.
And draw the required size of case structure, as shown in right window.
6. For taking While-loop, press Right click-programming- structures- While loop. And
draw the required size of While-loop, as shown in right window.
7. Give a stop switch to the While-loop for executing it that continuously.
9
ARUNKUMAR B (14MMT1001)
8. Take the essential functional blocks from the proper menu to fulfill the logic.
9. Do the required connections as shown in fig.
10. Run the program and we will get the output.
Simulation Output:
Inference:
1. As per the above picture, it shows the adjusting of tank level.
2. If the input is greater than or equal to 8. The program makes the level of tank as same
and it shows that tank is full and LED glows green.
3. If the input is lesser than 8. The program makes the level of tank as same and it shows
that tank is not full and LED goes red.
Conclusion:
Thus we have studied the design of tank control circuit using LabVIEW.
10
ARUNKUMAR B (14MMT1001)
Experiment No. 6
Aim: Design of the Lab-View circuits circuit to design a password protected screen and
check different conditions.
Requirements: NI Lab-View software.
Procedure:
1.
2.
3.
4.
5.
6.
Open the Lab-View software. Create new file, press Crl+T to get two panels of it.
Go to system containers tab control and make a tab.
Drag and drop pictures as you like.
Comment by double clicking on front panel and adjust font and colour.
Add one LED indictor and one string indicator.
Add 2 string controls and name it as user ID and Password. Right click on the
password named string controls and tick password display.
7. Go to block diagram panel and take the essential functional blocks from the
proper menu to fulfill the logic.
8. Do the required connections as shown in fig.
9. Run the program and we will get the output..
Simulation Output:
11
ARUNKUMAR B (14MMT1001)
12
ARUNKUMAR B (14MMT1001)
Inference:
1. Whenever you are giving right password as well as password it will show valid
password and LED glows green.
2. Whenever you are giving wrong password as well as username, it shows wrong
password and LED goes red.
3. If the password is correct with a non-correct username invalid username will shows
as output and LED shows red.
Conclusion:
Thus we have studied the how create a password protected screen using LabVIEW .
13
ARUNKUMAR B (14MMT1001)
Experiment No. 7
Aim: Design an inverting and non-inverting amplifier using Multisim software and check the
output waveforms with respect to input..
Requirements: NI Multisim
Procedure:
1. Open the Multisim software and create new file.
2. Draw the circuits as given below.
3. Connect the function generator to the inverting input of the 741
opamp for first and non-inverting terminal for the second.
4. Measure the output voltage in the oscilloscope by running the
program
Simulation Output:
14
ARUNKUMAR B (14MMT1001)
15
ARUNKUMAR B (14MMT1001)
Inference:
1.
2.
3.
4.
Conclusion:
Thus the inverting and non-inverting amplifier are simulated and studied using Multisim.
Experiment No. 8
16
ARUNKUMAR B (14MMT1001)
Simulation Output:
Fig.differentiator
17
741
ARUNKUMAR B (14MMT1001)
Fig. integrator
18
ARUNKUMAR B (14MMT1001)
Inference:
1. The differentiation of a triangular wave gives a square wave output.
2. The integration of the square wave gives a triangular wave output.
Conclusion:
Thus the differentiator as well as integrator circuits are simulated and output waveforms
studied using Multisim.
Experiment No. 9
19
ARUNKUMAR B (14MMT1001)
Aim: Design and study wheatstone bridge pick up circuit using Multisim.
Requirements: NI Multisim
Procedure:
1. Open the Multisim software and create new file
2. Draw the circuit as given below
3. Change the value of the resistor R 5 measure the voltage for a increment of 100 from
0-1000.
4. Run the program
5. Draw graphs between resistance vs output voltage
Simulation Output:
20
ARUNKUMAR B (14MMT1001)
Inference:
1. From the circuit we see that, as the value of R4 is increased a considerable decrease in
the output voltage is seen.
2. Current will increased with respect to increase in resistance.
Conclusion:
Thus the Wheatstone bridge is simulated and the output is verified using Multisim software.
Experiment No. 10
Aim: R-2R ladder network using Multisim.
21
ARUNKUMAR B (14MMT1001)
Requirements: NI Multisim
Procedure:
1.
2.
3.
4.
22
ARUNKUMAR B (14MMT1001)
Inference:
1. Based on the digital combination that is input to the opamp, the corresponding voltage
can be seen
2. The feedback resistance is equal to the R value to obtain the corresponding output
gain
Result:
Thus the design of a R-2R ladder network to convert 3-bit digital word was studied
and the output voltage between the calculated and measured were compared.
23
ARUNKUMAR B (14MMT1001)
Experiment No. 11
Aim: Transistorized amplitude modulation using Multisim
Requirements: Multisim software.
Procedure:
1.
2.
3.
4.
5.
Simulation Output:
Inference:
1. The modulated output can be seen.
2. According to the carrier frequency the modulated output frequency will vary.
Conclusion:
Thus the amplitude modulation using transistors is simulated and output verified.
24
ARUNKUMAR B (14MMT1001)
Experiment No. 12
Aim:
Design of a LabVIEW circuit to interface the hardware LED ON or OFF with respect
to the Odd or Even nature of the given number.
Requirements:
VI LabVIEW software and DAQ card NI USB-6211
Procedure:
1. Open LabVIEW and create a while loop.
2. A timer is included in while loop.
3. Add a DAQ assistant and generate an analog signal of voltage once the DAQ card is
connected to the LEDs.
4. Give a text control and implement the even or odd checking logic in it.
5. Take the logic output of above and supply to a case structure.
6. In the two windows of case structure, make a DAQ assistant as like in step 2. Give a
constant of 5 to true case and constant 0 to false case.
7. A timer is included in both the case structured loop.
8. For analyzing the output v/s input we can connect it to a waveform chart.
9. Run the program
Simulation Output:
25
ARUNKUMAR B (14MMT1001)
Hardware Connection:
Inference:
1. The LED will be ON when t he value given is ODD and LED will be off when the
value given is EVEN.
2. The input v/s output waveform can be seen in the waveform chart.
3. The intensity of light produced from the LED can be controlled by changing the
analog value of 5 to smaller one.
Conclusion:
Thus the Design of a LabVIEW circuit to interface the hardware LED ON or OFF
with respect to the Oddness or Evenness of the given number was obtained. And the wave
form was observed.
26
ARUNKUMAR B (14MMT1001)
Experiment No. 13
Aim:
Design of a LabVIEW circuit to interface the hardware to blink 2 LEDs which are
connected in two different analog output pins in a DAQ card.
Requirements:
VI LabVIEW software and DAQ card NI USB-6211
Procedure:
1. Open LabVIEW software and create a while loop
2. Inside the while loop, create a flat sequence and add 2 LEDs in the 2 different flat
sequence as in the figure
3. Create a local variable for the 2 different LEDs and place them on opposite flat
sequence
4. Add a timer of 5 seconds
5. Add a DAQ assistant and generate an analog signal of voltage once the DAQ card is
connected to the LEDs as in the hardware connection figure
6. Select the AO0 port of 5V to generate signal to light up the first LED keeping AO1 as
a constant 0 voltage value in the first flat sequence in two different DAQ assistant
7. Repeat step 6 keeping AO0 to 0V and AO1 to 5V
8. Run the simulation
Simulation Output:
27
ARUNKUMAR B (14MMT1001)
Hardware circuit
Inference:
1. The LED will get toggled with respect to a delay of the given time.
2. The timing of the LED ON and OFF can be controlled.
3. The intensity of light produced from the LED can be controlled by changing the
analog value of 5 to smaller one.
Conclusion:
Thus the software to hardware interface was studied by blinking 2 LEDs
*********
28