Tuesday, 28 February 2012

6. Testing and Evaluation

Mobile Home Security System was tested in many areas for getting a error free version. This project was developed by using a TDD life cycle, so software and hardware were tested, from the beginning of the project. In the first testing event electronic components were checked by using multi meter for the accuracy of components. The next test event was light up LED from data port. Then it was passed and next text event was getting input from parallel port. Input is controlling by lower down the voltage in particular status port. This functionality is performing by connecting particular pin with the ground pin (25 pin is ground pin). So there is no any voltage threat for input function. In output voltage, 0.7 is lower value and 3.3 is highest values, that are coming out from the port. Then circuit board was tested each and every voltage flow in the circuit by using the multi meter. In software development also tested each function until completely passed the main functions like read parallel port/ read database, write parallel port / write database. Before deploying whole system was tested for each test case (you may find test cases in Appendix). Then system`s features was evaluated by peoples who was participated to requirements gathering stage by supplying the answers for questionnaires. 

System evaluation is performing by checking the quality of system using Composite Feature Diagram (CFD) and Kiviat Diagram. CFDs and Kiviat are using for evaluate the quality of the system`s features or can be used to compare two products which have same quality attributes. The main features of the Mobile Home Security management System are availability, security, Interoperability and Scalability. Availability was measured as down time of the system. So this type of system may affect software downtime, electricity downtime and circuit board failure. Then security also consists of software security and home security. Interoperability may consist of mainly communication with SMS gateway, parallel port and sensor input to the circuit board. Then scalability may have the how circuit works for different alternate current. Based on these features, CFD was constructed.


Then I asked three IT people to rate the sub branches for calculated the threshold value for each main branch by evaluating the sub branches. The values are based on a scale of 0 to 5 (1 = Poor, 2 = Fair, 3 = Good, 4 = Very Good and 5 = Excellent). Take Optimizing main branch as example.




Manjula
Lahiru
Gayan
Total
Average
Software
4
3
3
10
3.3
Home
5
5
4
14
4.6

Security Branch Threshold Value = (3.3+4.6)/2 = 3.95


Manjula
Lahiru
Gayan
Total
Average
SMS gateway
5
4
4
13
4.3
Parallel Port
2
3
4
9
3
Sensor Input
3
3
3
9
3
Circuit Board
3
4
5
12
4

Interoperability Branch Threshold Value = (4.3+3+3+4)/4 = 3.57


Manjula
Lahiru
Gayan
Total
Average
Software Down time
1
2
1
4
1.3
Electricity Down time
4
3
4
10
3.3
Circuit Board failure
3
2
2
7
2.3

Availability Branch Threshold Value = (1.3+3.3+2.3)/3 = 2.3


Manjula
Lahiru
Gayan
Total
Average
230V or below 230V
5
4
5
14
4.6
Above 230V
1
2
1
4
1.3

Scalability Branch Threshold Value = (4.6+1.3)/2 = 2.95 

Then distributed the rating sheet for main branches in CDF diagram and those findings are as below.


Threshold-Area

=0.5{(3.95 X 3.57) + (3.57 X 2.3) + (2.3 X 2.95) + (2.95 X 3.95)}

=0.5 X 40.75

=20.375

Maximum Possible-Area is 50

MHSM System – Area

=0.5{(4.3X 4.1) + (4.1 X 3.1) + (3.1 X 3.7) + (3.7 X 4.3)}

=0.5 X 57.72

=28.86


Value
MHSM System
Threshold
Maximum
Actual Area X 5
Maximum
28.86X5
50
20.357X5
50
50X5
50
Answer
2.9
2.03
5


According to the Kiviat representation, Mobile Home Security Management System has satisfied the threshold criteria as all four attributes are above to the minimum threshold values. It can be seen in the table final calculation results that, MHSMS value of 2.9 is greater than the threshold value of 2.03, so developed system is achieved the customer satisfaction according to above calculations.

7. Conclusion

This project developed for targeted challenges of home security and mobile automation facility for controlling the home`s electronic appliances and providing competent security system. There is a great positional in home security with mobile automation facility in the market. This project had presented the relevant theory that comes under information technology and electronics. Security requirements were achieved throughout the project and each objective also completed. This project has been conducted in fields of Home Security Management, Electronic hardware engineering, Software Engineering, Sensor networking, Mobile programming with SMS facility, Wireless voice communication, Database design, and developing and software and electronic testing. Moreover literature survey, product in the market, experience in software developing and knowledge about the electronic were help to complete this project successfully. In this development project software development and electronic circuit development concepts have discussed and implemented. It is concluded that this project is achieved significant improvement on Home security and automation of homes electronic appliances, most respected feature is voice communication with visitor over the phone. Throughout the development project and report writing, I learnt about time management, dissertation writing and knowledge about electronic and software programming. So I would like to say that I have achieved the task within given deadline and project was successfully deployed in live environment. 

There are lot of areas that can be improved in this system by enhancing the scope and objective of the project. The improvement of this system, it is capable of developing electronic device instead of computer, MMS facility and email facility can be add to the system. This system can be integrated with home security agent by using a web service. Finally it is better to have good sensor architecture for home. So we can improve these areas to get a good service from the system.

8. References

Alarm.com, 2011.Protect the place that matters most. [online] Available at:< http://www.alarm.com/customer/for_your_home.aspx>[Accessed 10 November 2011 ].


Ambler, S.,W., 2011. Introduction to Test Driven Development (TDD)[Text] Available at: <http://www.agiledata.org/essays/tdd.html>. [Accessed 12 January 2012].


Dolloff, M.,2008, Home Monitoring and Control System.[pdf] Cleveland : Department of Electrical and Computer Engineering. Available at: < http://academic.csuohio.edu/simond/courses/DolloffReport.pdf.> [Accessed 10 January 2012].


Gadget-Spot, 2005, Network /IP Camera,[pdf] United Kingdom: Gadget-Spot Available at: < http://www.gadget-spot.co.uk/Downloads/800UM.pdf >. [Accessed 10 January 2012].


Made in china.com, 2011. Touch Screen Wireless GSM Home Alarm Systems With Auto-Dialer / SMS Alert (TY1109-G1E). [online] Available at:< http://home-alarm-system.en.made-in-china.com/product/hqjEaOMxZNkT/China-Touch-Screen-Wireless-GSM-Home-Alarm-Systems-With-Auto-Dialer-SMS-Alert-TY1109-G1E-.html>[Accessed 10 November 2011 ].


Orbyx Electronics, 2009. HWS100 Wireless Home Security System, ,[pdf] Canada : Orbyx Electronics. Available at: < http://downloads.thesource.ca/490/4902000/Manuals/manual.pdf.> [Accessed 10 January 2012].


Ozeki Informatics Ltd, 2012. SMS Gateway - Users and applications, Database user . [ONLINE] Available at:<http://ozekisms.com/index.php?owpn=164>. [Accessed 03 January 2012].


Ozeki NG SMS Gateway software. 2010. Ozeki NG SMS Gateway software. [ONLINE] Available at: <http://www.sms-integration.com/p_24-ozeki-sms-gateway-sms.html. >[Accessed 03 January 2012].


Saltuklaroglu, L., 2003. I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port. [Text] (28 Sep 2003) Available at: <http://www.codeproject.com/KB/cs/csppleds.aspx>. [Accessed 10 January 2012].


Security System, 2010. Why Are Home Security Systems So Important. [online] Available at:< http://www.securitysystems.org/why-are-home-security-systems-so-important/> [Accessed 10 November 2011 ]. {( Security System, 2010)}


Singh, N., Gupta, A.and Bishnoi,P.,K., 2011. SELF INITIATED SMS/MMS ENABLED


HOME SECURITY SYSTEM(SISME-HSS). [pdf] Available at: <http://www.ijest.info/docs/IJEST11-03-03-220.pdf>. [Accessed 10 January 2012].


Storr, P., 1998. The more common I/O address assignments. [Text] (26th December 1998) Available at: <http://www.philipstorr.id.au/pcbook/book2/ioassign.htm>. [Accessed 10 January 2012].

9. Appendixes

Appendix A: User Manual


Installation of Ozeki NG SMS gateway you can find from the web from following link.http://www.ozekisms.com/index.php?owpn=131&info=installation-guide/installation-steps . Then Installation of IP camera will associate with its product manual and user manual. The developed home management software`s installation can be found in below.
Double click on the setup file. Then you may see the welcome screen.
Then click on next. Then select everyone from the options.
Then click next. You may see the confirmation message. Then click on next.
After installation finished. Click on close button.
There will be a folder created in program files and short cut will be created to each and every user`s desktop of the computer.

By double clicking on the shortcut you can run the system. Then plug the serial cable by connecting circuit board and computer then power up the circuit board. Then you can use adapter and holder with wire (length according to your requirement) for bulbs and then you have to use the second jack base for sensor input, first jack base for switch that is connected to the gate bell, third jack base for siren switch. 

Appendix B: Questionnaire




Appendix C: Test Cases



Functions Message Type Reply Status
Help




HELP Received Not Received

help Received Not Received

HeLp Received Not Received
Add Number




ADD<space><+94Number>
Added
Not Added

Add<space><+94Number>
Added
Not Added

AdD<space><+94Number>
Added
Not Added

ADD,<+94Number>
Added
Not Added

Add<space><0094Number>
Added
Not Added

Add<space><Number>
Added
Not Added
Active Number




AC<space><+94Number>
Activated
Not Activated

Ac<space><+94Number>
Activated
Not Activated

ac<space><+94Number>
Activated
Not Activated

AC,<+94Number>
Activated
Not Activated

AC<space><0094Number>
Activated
Not Activated

Ac<space><Number>
Activated
Not Activated
Inactive Number




IN<space><+94Number>
Inactivated
Not Inactivated

In<space><+94Number>
Inactivated
Not Inactivated

in<space><+94Number>
Inactivated
Not Inactivated

IN,<+94Number>
Inactivated
Not Inactivated

IN<space><0094Number>
Inactivated
Not Inactivated

In<space><Number>
Inactivated
Not Inactivated
Light/Siren  Controlling




LF<space>ON
Works
Not works

LL<space>ON
Works
Not works

LB<space>ON
Works
Not works

LR<space>ON
Works
Not works

SI<space>ON
Works
Not works

LF<space>ON,LL<space>ON
Works
Not works

LF<space>ON,LR<space>ON
Works
Not works

LF<space>ON,LB<space>ON
Works
Not works

LF<space>ON,SI<space>ON
Works
Not works

LF<space>ON,LL<space>ON,LB<space>ON
Works
Not works

LF<space>ON,LL<space>ON,LR<space>ON
Works
Not works

LF<space>ON,LL<space>ON,SI<space>ON
Works
Not works

LF<space>ON,LL<space>ON,LR<space>ON,LB<space>ON
Works
Not works

LF<space>ON,LL<space>ON,LR<space>ON,LB<space>ON,SI<space>ON
Works
Not works

LF<space>OFF
Works
Not works

LL<space>OFF
Works
Not works

LB<space>OFF
Works
Not works

LR<space>OFF
Works
Not works

SI<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF
Works
Not works

LF<space>OFF,LR<space>OFF
Works
Not works

LF<space>OFF,LB<space>OFF
Works
Not works

LF<space>OFF,SI<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF,LB<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF,LR<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF,SI<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF,LR<space>OFF,LB<space>OFF
Works
Not works

LF<space>OFF,LL<space>OFF,LR<space>OFF,LB<space>OFF,SI<space>OFF
Works
Not works
Sensor Input




Motion detction/SMS
Works
Not works

Gate Bell / SMS
Works
Not works

Sensor / Gate Bell / SMS
Works
Not works
Prediction testing

Light Status


Predict
Actual

LF ON,LF OFF
LF OFF
LF OFF

LF ON,LL ON,LB ON,LR ON
ALL ON
ALL ON

LF ON,LL ON,LF OFF,LR ON,LF ON,LB ON
ALL ON
LFOFF, Others ON

LL OFF,LL OFF
LF OFF,LL OFF, Others ON
LF OFF,LL OFF, Others ON