We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

The Department of Electrical and Computer Systems Engineering at The University of Auckland Essay Sample

essay
The whole doc is available only for registered users OPEN DOC

Get Full Essay

Get access to this section to get all the help you need with your essay and educational goals.

Get Access

The Department of Electrical and Computer Systems Engineering at The University of Auckland Essay Sample

During the learning process as an electrical engineering student, it is a requirement for students to participant in different practical laboratory experiments. It is often that students are unable to complete the experiment in a satisfactorily level. This may due to time, locations and resource (equipment and staff) constraints. To solve these issues, it is necessarily to introduce a web-based laboratory that students are able to access anytime in any locations. In this report, a proposed web-based control laboratory will be discussed.

1. Introduction

Web-based laboratories have already been developed in universities around the world, because of its advantages of being able to conduct the real experiment at any time with unlimited access in any locations. It will also save a lot of equipment being use at a time and laboratory instructors.

With all these benefits from the web-based laboratory, the Department of Electrical and Computer Engineering at the University of Auckland has decided to propose a research project which develops a web-based control laboratory. The developed web-based control laboratory will benefit the undergraduate students within the department.

During the development of the web-based control laboratory, it has been considered that both software and hardware designs are necessarily. This report will discuss the background of traditional laboratory versus web-based laboratory in Section 2; Section 3 will define the project objectives and requirements. Section 4 will address the proposed solution with brief descriptions of the software and hardware implementations. Section 5 will discuss the results that have been achieved up to the current stage. In Section 6 will outline the future work that needs to be untaken over the next couple of weeks and finally a conclusions will finish off in Section 7.

2. Background

For traditional laboratory experiments, students required to attend in a scheduled time slot and location where multiple sets of instruments and instructors are require. Students very often are unable to complete their experiment satisfactorily within the time period. The reasons being may due to different ability level of students, or lack of instruments and instructors in the laboratory [1].

Introducing a web-based laboratory will resolve these issues. This will enable students an unlimited access to the experiment in any location with a computer connected to the internet.

Since a web-based laboratory has so many benefits over the traditional laboratory experiment. Different web-based laboratories have already been developed by universities over the world.

In general, a web-based laboratory allows users to conduct the experiment by connecting to the server through the internet, which the server is controlling the real experiment in the laboratory.

In Figure 1 below illustrates the block diagram of a general web-based laboratory. Users are students who conduct the experiment. They are connected to the server through the internet. The server hosts the web page of the experiment with a GUI (Graphical User Interface) that allows users to control the experiment. The physical experiment in the laboratory is connected to the server depending on the server’s interfacing hardware’s capability. The video camera connected to the server enables users to observe the real time experiment in the laboratory while operating them.

Figure 1: General web-based laboratory

3. Project objectives

The aim of this project is to develop a web-based control laboratory to serve undergraduate students in the Department of Electrical and Computer Systems Engineering at The University of Auckland. The developed web-based control laboratory should meet the following requirements:

* During the web-based laboratory experiment, the physical instruments inside the laboratory should not need any personnel’s operation.

* The experiment should be able to conduct using any web browser.

* Students should be able to gain unlimited access to the experiment at any time.

* Students should be able to gain full control to the real experiment instruments.

* Students should be able to observe the real time experiment as it operates.

* Inside the web page, it should contain a detailed list of instructions of how to operate the experiment.

* User friendly with extensive GUI.

* To be able to output correct results in the GUI.

* The web-based laboratory has to be reliable.

4. Proposed web-based laboratory

The proposed solution of the web-based control laboratory is similar to the other general developed web-based laboratory; except for the control hardware we will be using the Altera DE2 Development and Education board. Figure 2 below shows the block diagram of the proposed solution and the details of each component will be explained in the following subsections.

Figure 2: Proposed design of the web-based control laboratory

4.1. Client and server

To implement a web-based control laboratory, the most important element is to establish a communication between the user (client) and the host (server). To achieve this task, socket programming for computer network is essential. Socket programming involves designs of computer programs that can communicate with other programs across a computer network [2].

There are two types of network socket, TCP/IP (Transmission Control Protocol/Internet Protocol) and UDP (User Datagram Protocol).

TCP/IP uses acknowledgement format which ensure all data transmissions from a program on one computer to another program on another computer over the network are reliable and in ordered delivery [3].

UDP does not use acknowledgement format where it focus on speed than reliability, therefore it is unable to provide guarantee of delivery for data transmissions [3].

To operate a web-based control laboratory, it is more critical to have reliable data transmission rather than speed, hence TCP/IP has been chosen for the method of socket programming. Figure 3 below illustrates how a client sends data to the server using the TCP/IP acknowledgement format.

Figure 3: TCP/IP acknowledgement format

The TCP/IP socket application has been implemented using the computer programming language C++ with Windows Socket API (Application Programming Interface) specifications that includes a library with inbuilt definitions and functions.

4.1.1. Server

A server is the host which hosts the web-based control laboratory, in our case is the University of Auckland web server.

The server first creates a socket using the socket() function. After a socket is being created, the server binds the socket to an IP (Internet Protocol) address along with the specified port number using the bind() function. The server then listens for any connection attempts on the socket using the listen() function. When there is a connection attempt from any particular client, the server will accept the connection using the accept() and hence established a TCP/IP socket connection [4].

4.1.2. Client

Basically, a client is the user who conducts the web-based control laboratory. Similar to the server side, the client first requires to create a socket using the socket() function. The client then establish a connection to the server by the connect() function along with the server’s IP address and the port number.

Now that a connection has been established, both client and server can start sending and receiving data within this connection.

4.2. Web page

The web-based control laboratory will be conduct inside a web page host by the University of Auckland web server. The web page will develop mainly using the web page language HTML (Hyper Text Markup Language) in Microsoft Visual Studio 2010.

Within the web page, it will contain a GUI that allows user’s input, displays the result and graph plots from the physical experiment. For student’s observation purposes, it will also display the real time experiment inside the laboratory from a live video camera. A similar web page with extensive GUI will be created as in Figure 4.

Figure 4: The GUI that displays the real time experiment with control panel and results [5].

4.3. Control hardware

To control the physical experiment in the laboratory, it is essential that the control hardware is capable to read an analog input from the experiment and convert it into a digital signal. From the converted digital signal, we can design different computer algorithms to gain full control to the experiment.

To perform this task, the Altera DE2 Development and Education board (Figure 5) has been chosen as the control hardware. The Altera DE2 board comes with the Cyclone II EP2C35F672C6 FPGA (Field-programmable Gate Array) which is programmable to different hardware and software designs. Depending on specify tasks, hardware and software designs are programmed using the Quartus II and Nios II IDE software packages. The Altera DE2 board also has an analog to digital converter and various I/O (Input/Output) interfaces which are capable for connecting the physical experiment.

Figure 5: Altera DE2 Development and Education board

When the user wants to control the physical experiment, it will process through the following sequences:

1. User sends a control command in the web page host by the server through the internet.

2. The server receives the command and sends it to the DE2 board through its local network.

3. DE2 board receives the command and executes the control to the physical experiment.

4.4. Video Camera

A video camera will be mounted in the laboratory connecting to the server. This allows students to observe the physical experiment in real time as they operate them. Depending on project’s time constraint, the video camera may include functions which are able to zoom in, zoom out, pan and tilt. The students can operate these functions in the web page’s GUI while conducting the experiment.

5. Results and discussions

At the current development stage, a TCP/IP socket connection has been successfully established between PC to PC through the computer network. This enables sending and receiving data between the client and the server. Also, the TCP/IP client application has been implemented in GUI using Microsoft Visual Studio 2010. The GUI is able to read the user’s input as an integer and sends it to the server for a simple mathematics functions. The server then sends the result back to the client and outputs the result as a graph inside the GUI.

6. Future Work

In the coming weeks, there are two major components remaining for the project. First is being able to control the physical experiment in the laboratory using the DE2 board and the second would be developing the web page with extensive GUI. To implement the project efficiently and on time, the following tasks will be divided equally between partners:

* Establish a bi-directional communication between a PC and the DE2 board using the RS-232 serial interface. This will enable sending and receiving data between a PC and the DE2 board.

* Investigation on how to setup the serial to Ethernet adapter as this will enable send and receive data over the computer network.

* Design the algorithms in computer programming language to control the physical experiment.

* Development of the webpage for conducting the experiment with extensive GUI.

* Investigate how to connect a video camera to the server for live video observation of the real time experiment.

* Test the prototype web-based laboratory over the internet in different locations to ensure the system will operate properly.

* Depending on time constraint, investigations on how to connect the DE2 board to the computer network using the Ethernet interface rather the serial interface. This can eliminate the use of extra hardware (the adapter).

7. Conclusions

The main objective of this project is to develop a web-based control laboratory.

Although at the current stage, we have only successfully established a TCP/IP connection between a PC to PC. However, a conceptual design plan for the web-based laboratory has been proposed. It is believed that with more research and investigations, a fully functional web-based laboratory will be developed and therefore benefits to the undergraduate student in the Department of Electrical and Computer Systems Engineering at the University of Auckland.

Acknowledgements

I would like to thank my supervisor Assoc. Prof. Sing-Kiong Nguang, second examiner Dr. Nitish Patel and Master student Mr. Yu Sun for providing the support and guidelines throughout the project.

I would also like to thank my project partner Mr. Rashid Hossain for all the work that he has been contributed throughout the project so far.

We can write a custom essay

According to Your Specific Requirements

Order an essay

You May Also Find These Documents Helpful

Peculiarities of various assignment types

The educational process is diverse and full of interesting writing tasks which help students develop their academic abilities. Different assignments types are created by professionals in order to enhance students’ level of analytical, critical and writing skills and to vary the learning process. As a student, you will encounter numerous tasks of diverse complexities throughout your student life. Sometimes, maybe, too complicated! They have different peculiarities, structural...

Making decisions in health and social care

Critically analyses the concepts, features, and importance of costs and accounting in making decisions in health and social care Cost accounting is a method used in accounting to capture a company’s or organisation’s production costs. It assesses the input costs of every step in production, fixed costs like depreciation of capital equipment. Cost accounting measures and records costs individually then compare the input results via...

Сhildren development

Physical development 7-12 years By the age of 7 a child enjoys things such as bike riding and rollerblading they are now able to tie and untie shoelaces without adult help, they are now starting to understand what rules are and are able to follow simple rules. At 8-12 years a child improves the physical skills that they have already developed and start to see...

Forex international trading market

Introduction Forex exchange is on the rise in Namibia; resulting in more people wanting to learn how to trade to try to increase their income so that they can enhance their standard of living. Forex Foreign exchange identifies the process of converting domestic currency into international banknotes at particular exchange rates (Bofah, 2017, para.1). As the number of foreigners in Namibia is increasing, more Namibians...

Aristotelian idea of God

This image produced in 1544 shows emerging's of the Judeo-Christians and Aristotelian's traditions. Aristotle was very interested in the idea of motion and said “The world is in a constant state of motion and change”. An example of how the world is changing is the growth of trees and plants. Aristotle believed in a prime mover, which is the being which creates change in the...

Get Access To The Full Essay
icon
300+
Materials Daily
icon
100,000+ Subjects
2000+ Topics
icon
Free Plagiarism
Checker
icon
All Materials
are Cataloged Well

Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email.

By clicking "SEND", you agree to our terms of service and privacy policy. We'll occasionally send you account related and promo emails.
Sorry, but only registered users have full access

How about getting this access
immediately?

Become a member

Your Answer Is Very Helpful For Us
Thank You A Lot!

logo

Emma Taylor

online

Hi there!
Would you like to get such a paper?
How about getting a customized one?

Can't find What you were Looking for?

Get access to our huge, continuously updated knowledge base

The next update will be in:
14 : 59 : 59
Become a Member