Thursday, 28 January 2016

Optimized server access for vehicle automation using ANDROID

Optimized server access for vehicle automation using ANDROID
G. Anand,
Email id- anandg.embedd@gmail.com,
Mobile No- +91 9994879483



ABSTRACT:
            With the development of technology and the continuous improvement of people's living standard, people are in pursuit of automated, intelligent and convenient control systems. Automation or automatic control is the use of various control systems for operating equipment such as machinery, processes in factories, boilers and heat treating ovens, switching on telephone networks, steering and stabilization of ships, aircraft and other applications with minimal or reduced human intervention. Automation is not completed without wireless communication. Wireless communication is the transfer of information between two or more points that are not connected by an electrical conductor. Nowadays server based remote car control system plays an important role in day-to-day life. In this paper advancement is introduced in remote controlled car using ANDROID mobile phone. Remote control involves controlling the car and tracking the car’s position. The new idea introduced is used to reduce the workload of a server and to reduce the time required. In this method server workloads is reduced by making a communication between user’s mobile phone and the module in the vehicle through internet.
 
INTRODUCTION:
               Nowadays smart phones are becoming more powerful with reinforced processors, larger storage capacities, richer entertainment function and more communication methods. In recent years, an open-source platform Android has been widely used in smart phones. Android has complete software package consisting of an operating system, middleware layer and core applications. Different from other existing platform like iOS (iPhone OS), it comes with software development kit (SDK), which provides essential tools and Application. Android is a mobile operating system (OS), based on Linux kernel and designed primarily for touchscreen mobile devices.
               The Internet is a massive network of networks, a networking infrastructure. It connects millions of computers together globally, forming a network in which any computer can communicate with any other computer as long as they are both connected to the Internet. The World Wide Web, is a way of accessing information over the medium of the Internet. It is an information-sharing model that is built on top of the Internet. An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing. Its role has been characterized as follows: "A name indicates what we seek. An address indicates where it is. A route indicates how to get there.
   With the help of internet, vehicle can be tracked and controlled using android mobile. A vehicle tracking system combines the use of automatic vehicle location in individual vehicles with software that collects these fleet data for a comprehensive picture of vehicle locations. Modern vehicle tracking systems commonly use GPS technology for locating the vehicle, but other types of automatic vehicle location technology can also be used. Vehicle information can be viewed on electronic maps via the Internet or specialized software. Urban public transit authorities are an increasingly common user of vehicle tracking systems, particularly in large cities.
   Consider the system which consists of vehicle module, server, and mobile phone. In order to track the vehicle’s position remotely, communication between mobile phone and vehicle module is essential. Vehicle module consists of GPRS unit for communication and GPS unit for location identification. Mobile phone should have GPRS facility for the purpose of communication. If the user wants to track the location of the vehicle or to control the peripherals, the communication between mobile and the module in the vehicle is needed. In conventional method every second, mobile communicates with the vehicle module through server. Vehicle unit registers its IP address in the server and mobile phone gets the information from the vehicle unit through server using IP address of the vehicle unit.
PROPOSED SYSTEM
               In this proposed method, there are 2 modules. They are mobile module (i.e.) android app and hardware module. First, the user needs to install the android app in mobile phone. Android app consists of 4 tabs such as vehicle control page, Map view, Registration page, Factors settings to configure the I/O devices to the hardware module.

Fig.1 General Purpose vehicle hardware module
Control tab is used to control peripherals of the vehicle. Map view tab is used to view the vehicle’s current location in map view. Registration page is used to register IP address and port number of the vehicle module in the server. Hardware module consists of GPS, GPRS, ARM processor, and analog input output pins. In order to connect android app and hardware module user should configure the device using TCP/IP protocol. 16 digital I/O and 8 analog inputs in the hardware module are used to establish connection between android app and hardware module. These digital I/O includes door control, engine control, parking lamp control etc. 8 analog input includes fuel level monitoring, air level monitoring, oil level monitoring, etc. User should configure these analog and digital pins by using TCP/IP protocol. The processes involved in the proposed system are classified into 3 stages:
First stage: Registration

Second stage:  (Connection Request)
User (mobile phone) should receive the IP address and port number of the vehicle module through server.

Third stage:  (Connection Establishment)
After getting the IP address, Mobile phone will start to establish connection with the vehicle unit directly without the help of server.


First, vehicle unit register its IP address and port number for the very first time in the server. Mobile phone gets the IP address and port number of vehicle unit through server only once. After getting this IP address and port number from the server, mobile phone truncates the communication with the server and starts to communicate with the vehicle unit directly. Vehicle’s peripheral unit can also be controlled through communication. For example door can closed or opened and AC in car can be switched ON or OFF remotely.  Port number is used for the purpose of simultaneous communication (i.e) more than one user can communicate with the vehicle unit at the same time through different port number. IP address is the one which changes with respect to time. If the IP address of the vehicle changed due to any interruption, then vehicle unit disconnects communication with the mobile phone. Now mobile phone cannot track the location information of the vehicle. To track the location information, again the vehicle unit should register the IP address in the server and the mobile phone must get the IP address and port number again for the purpose of communication between them.
EXPERIMENTAL RESULTS
The developed android app is used to control and track the vehicle remotely. These actions are shown in the figures which have been given below.

Fig.2 Location of a car in map view


Fig.3 Locking the door using android app in mobile phone

Fig.4 Unlocking the door using android app in mobile   phone

CONCLUSION
In this paper, advancement is introduced in android based controlling and tracking the car. This can be implemented to improve the efficiency of the system compared with the conventional system. Surely this method reduces the workload of the server and the time required to do operations.






No comments:

Post a Comment