12.07.2015 Views

Laboratory assignments based on LabVIEW and NI ... - TechTeach

Laboratory assignments based on LabVIEW and NI ... - TechTeach

Laboratory assignments based on LabVIEW and NI ... - TechTeach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Telemark University College (Norway) / Finn Haugen (finn.haugen@hit.no)5. December 2009<str<strong>on</strong>g>Laboratory</str<strong>on</strong>g> <str<strong>on</strong>g>assignments</str<strong>on</strong>g><str<strong>on</strong>g>based</str<strong>on</strong>g> <strong>on</strong><strong>LabVIEW</strong> <strong>and</strong> <strong>NI</strong> USB6008 I/O deviceWe believe that students get a much deeper underst<strong>and</strong>ing of theoretical methods by implementing themethods in practical applicati<strong>on</strong>s. To this end, we have developed a number of laboratory <str<strong>on</strong>g>assignments</str<strong>on</strong>g>which are a part of different courses in our master study at Telemark University College. We havest<strong>and</strong>ardized the implementati<strong>on</strong> tools as PCs (laptops or desktops) with Nati<strong>on</strong>al Instruments <strong>LabVIEW</strong><strong>and</strong> the inexpensive <strong>NI</strong> USB 6008 I/O device, but MATLAB <strong>and</strong> SIMULINK are also used to someextent [1] [2] [3] [4]. As lab stati<strong>on</strong>s we use air heaters (7 copies) [7] <strong>and</strong> water tanks (6 copies) [8],which are “desktop” lab stati<strong>on</strong>s. Due the large number of lab stati<strong>on</strong>s, we can run labs in parallel, <strong>and</strong>with small student groups. Although the final aim in the <str<strong>on</strong>g>assignments</str<strong>on</strong>g> is to apply the soluti<strong>on</strong>s developedby the students to the physical system, the students are required to apply their soluti<strong>on</strong>s to simulatedprocesses first. The feedback from the students <strong>on</strong> these <str<strong>on</strong>g>assignments</str<strong>on</strong>g> is very positive.The following laboratory <str<strong>on</strong>g>assignments</str<strong>on</strong>g> have been designed:• Temperature c<strong>on</strong>trol system where the students download an almost complete <strong>LabVIEW</strong>program <strong>and</strong> then add a few blocks to the program to obtain a complete progam for temperaturec<strong>on</strong>trol of an air heater. [14] [7]• Level c<strong>on</strong>trol system where the students download an almost complete <strong>LabVIEW</strong> program <strong>and</strong>then add a few blocks to the program to obtain a complete progam for level c<strong>on</strong>trol of a watertank. [15] [8]• Implementing an industrial PID c<strong>on</strong>troller <strong>and</strong> a measurement filter from scratch in C codewith practical features as bumpless transfer, anti integral windup, <strong>and</strong> reverse/direct acti<strong>on</strong>. Thec<strong>on</strong>troller is applied to either the water tank or the air heater. [5] [6] [9]• Hardware-in-the-loop simulator <str<strong>on</strong>g>based</str<strong>on</strong>g> <strong>on</strong> an industrial PID c<strong>on</strong>troller (Fuji PGX) c<strong>on</strong>trolling asimulated process. [6] [10]• Soft-sensor (state estimator) for estimating an unknown outflow from water tank usingalternative various methods: “Direct estimator” (solving the model for the unknown variable), aLuenberger observer, <strong>and</strong> a Kalman filter. The flow estimate is used in feedforward c<strong>on</strong>trol ofwater level. [6] [11]• System identificati<strong>on</strong> of air heater in the form of a discrete-time transfer functi<strong>on</strong> using asubspace identificati<strong>on</strong> method (n4sid in MATLAB). A temperature c<strong>on</strong>troller for the simulatedprocess is then tuned in SIMULINK, <strong>and</strong> a practical temperature c<strong>on</strong>trol system is thenimplemented in <strong>LabVIEW</strong>. [6] [12]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!