Documente Academic
Documente Profesional
Documente Cultură
Introduction
For our Control System Design Project we used National Instruments myDaq
integrated with myStem Board and LabView. NI myDAQ provides analog input (AI), analog
output (AO), digital input and output (DIO), audio, power supplies, and digital multimeter
(DMM) functions in a compact USB device. Integrated circuits supplied by Texas Instruments
form the power and analog I/O subsystems of NI myDAQ. The NI myDaq kit contains NI
myDAQ Student Instrumentation Device, NI myDAQ Software Suite DVD, USB Cable,
Screw-Terminal Connector, Digital Multimeter (DMM) Probes, 3.5 mm Audio Cable and a NI
Screwdriver. After you install the NI myDAQ software Suite DVD in the computer now you
can do the hardware setup. For the hardware setup, you are supposed to connect one end of
the USB cable to your NI myDAQ and the other end to the computer. Also make sure the
Blue LED lights up, which indicates that the myDAQ is being powered. The windows will
take few minutes or seconds depending on the CPU power to install the driver for myDaq
but after that you can continue with the setup and install LabView and additional programs.
Such as Digital Multi-Meter (DMM) or Digital Writer to help you through the process of
checking connect with the device and with myStem Board. Figure 1.0 depicts the
arrangement and function of the NI myDAQ subsystems.
LabView
One key component in getting started with the NI myDaq is LabVIEW. LabView is an
integrated development environment designed specifically for engineers and scientists
building measurement and control systems. With a native graphical programming language,
built-in IP for data analysis and signal processing, and an open architecture that enables
integration of any hardware device and any software approach, LabVIEW is the software you
need to build the optimal solution that can meet your custom requirements and solve the
challenges at hand.
myStem Board
The Studica mySTEM Project Board for myDAQ is an essential tool for the introduction
of control systems. It is ideal for teaching and learning science, technology, engineering, and
mathematics (STEM). The mySTEM Project Board features learning resources that any
beginner in the STEM field can use to gather data, make decisions, and control output
devices. Students can use the board to control the state and direction of four output channels
that support a wide range of field devices.
System Designs
1. Stair Case Lighting with a Fan
-
Then we wired the switches with the LED and also dedicated a single switch for the
fan. This reticular design did not needed any assistance from LabView and StemBoard, So
we used MyDAQ as the power supply for the whole system. In the picture when the left
switch is turned on the Fan powers up and when the right switched is pressed it powers up
the LED.
through wires, and was also connected with the MyDAQ which was the power supply for
the control system. When the gears move the switch turns either the red light or green light
ON. This system is related to traffic street lights. Each of the colours (Green,Yellow,Red) are
timed controlled. What that means is the green light will stay green for a certain amount of
time then it will switch to yellow and then red. In real life situation their are many
additional sensors that detect the amount of cars and changes the lights based on that,
making sure that their are no traffic jams. Our system also represents the same idea. When
one LED is ON the other one stays of and vice versa.
-
The switch is used as a main power breaker. When turned on it power ups the motor
3. Alarm System
-
Again, all the parts for the alarm system are from the FisherTechnik kit. However, in
First using the building material, we made a small house with a door to represent
how home security system works or alarm sounds when the door opens. Then we used
two (2) LEDs to represent whether the Security system is armed or disarmed. Red LED
lights up when the alarm is armed and activates the door sensors and buzzers. Now while
the alarm is armed if the door opens, it sounds the alarm.
-
However when the alarm is not armed, Green LED lights up and the door can be
We used myStem Board to wire each element of the alarm system with the myDaq,
After wiring myStemBoard, we used LabView to write our code which activates and
4. Temperature Converter
-
In this Program, their is a Toggle Switch, Boolean Indicator, 2 Displays (one fore
temperature in Fahrenheit and one fore temperature in Celsius) and a stop button to
terminate the program.
-
First we use the toggle switch to tell the program whether we want to convert the
temperature to Celsius or not. If we turn the switch on, the green indicator lights up.
-
Now we can use the slider on the left (light blue colour) to enter the amount of
Temperature in Fahrenheit and will can see the results on the right side (red thermometer).
If we keep the toggle switch on OFF then the Thermometer will show the temperature in
Fahrenheit. It wont convert the temperature.
-
in addition to that, we have a 100 millisecond break inner program which improves
the efficiency and the performance of both the CPU and the program.
5. LabView Calculator
-
At last, we used LabView to make a Calculator that can Add, Subtract, Multiply and
Divide at the same time with one click on the google switch.
-
calculator their are two (2) displays. One at the top and one at the bottom. The toggle
switches represent Addition, Subtraction and Multiplication respectively. But, when the
user wants to divide a function they will have to turn both addition and subtraction toggle
switches on and they will get that result on the second display (the one at the bottom of
the calculator)
~ Calculator
FINAL EVALUATION- RAVKIRAN & SAKSHAM
10