Difference between revisions of "User:SJSU MSEE Team CLEAN-TECH"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Parts List & Cost)
(Team Members & Responsibilities)
Line 42: Line 42:
 
|-
 
|-
 
! scope="row"| 1
 
! scope="row"| 1
| 9/23/2017
+
| 9/16/2017
 
|
 
|
 
* Decide roles for each team member
 
* Decide roles for each team member
* Read FY16 project reports and understand requirements
+
* Search IEEE Papers to compute feasibility and implementation of project.
* Setup Gitlab project readme
+
* Schedule Market research and survey to compute customer requirements and demands.
 
|  
 
|  
* Team roles are decided and module owners are assigned
+
*  
* Gitlab project is set
 
 
| Complete.
 
| Complete.
 
|-
 
|-
 
! scope="row"| 2
 
! scope="row"| 2
| 9/30/2016
+
| 9/30/2017
 
|
 
|
* Design software architecture for each module and design signal interfaces between modules
+
* Component selection like Solar Pump, Motor, Drives etc.
* Setup Wiki Project Report template
+
* Finalize Embedded Controllers to interface.
* Design Hardware layout of system components
+
* Prepare Abstract
* Create component checklist and order required components for individual modules.
 
* Setup Gitlab project code for each modules
 
* Order Embedded Boards and Create Logins for Amazon Web Server
 
 
|  
 
|  
* Overall project requirements are understood
+
* Decided Roles for each team member
* Wiki Project report setup is done
+
* Searched and finalized IEEE Papers to compute feasibility and implementation of project.
* Ordered Embedded Boards(BeagleBone and SJOne Arm Controller) and Created Logins for Amazon Web Server
+
* Scheduled and done Market research and survey to compute customer requirements and demands.
* Initial commit of project base is done
 
 
| Complete
 
| Complete
 
|-
 
|-
 
! scope="row"| 3
 
! scope="row"| 3
| 10/14/2016
+
| 10/14/2017
 
|
 
|
 
* <font color="Black"> Major Feature: Implement Free run mode <br></font>  
 
* <font color="Black"> Major Feature: Implement Free run mode <br></font>  

Revision as of 03:33, 29 October 2017

Grading Criteria

  • How well is Software & Hardware Design described?
  • How well can this report be used to reproduce this project?
  • Code Quality
  • Overall Report Quality:
    • Software Block Diagrams
    • Hardware Block Diagrams
      Schematic Quality
    • Quality of technical challenges and solutions adopted.

Project Title

IOT Applications in Hybrid Power Generation and Solar Pump Operation

Abstract

Generation of free electric power is very important and timely need oftoday's environment. After generating this power, we store it in the batteries an use it later for different applications. If we talk about agriculture area and amount of money involved, then batteries are not a good option. Batteries are expensive and loss with leakage of power is also more. By using water, we can save money and can generate free power. In the day time with solar pumps we will give water to farm and water tank. In the night time using the saved water from the water tank will generate the free energy using turbines. If we generate more energy, we can save in spare batteries. This project can give new dimension, strength and hope to the agriculture and country side areas and can save lots of money and we can go towards sustainable environment within years. Generation of data will take place with the help of many sensors and these data will be saved in servers for real time action on land. We can control pump, flow of water, generation of power etc. With the help of developed application, we can control every operation from our very own devices. This project has potential to change the way of living within the span of few years.

Objectives & Introduction

Innovation with a novel thought, practical idea and modern IoT technology. The project that can generate more revenue without harming the environment and create a win-win situation for both the sides. Free power with less computation and real-time operation in hand. Imagine our world with this global warming in near future and you will realize the need of time and by this thought, we got this idea of hybrid power generation with use of modern technology that can create a sustainable environment for everyone. Solar and wind have been used in past but the result is not that outstanding. Wind source is not constant on any given day and a solar source is not equal throughout the year. Water is the solution and USA's fresh water source is 90% dependent on groundwater so more scope for development and success of our idea. In agriculture land and countryside we have resources but lack of work with technology that can create a better solution. In our project work we will provide electricity to the farm and water pump in the daytime with the help of solar energy and in the night we will use water as a medium to generate electricity. With the help of solar pump will give water to farm and once we are done with farm water requirement we will throw water to one water tank and this tank will save the sufficient water for half day. In night time with the help of turbine will generate electricity and give it to the entire farm and small house around it. IoT will be driving force behind this project and with the help of different sensors will create lots of data set for different parameters of water, pump and power generation. This data will be saved on the server and through the Android application, we can control each operation of our project in real-time. Data will give strength for future machine learning expansion in our project. Yes, you are thinking about batteries I guess, but batteries are not good for environment and decomposition of batteries is hazardous to the environment. Batteries need to change after few years and that adds more cost to it. The clean and safe solution is what we are providing. The idea for future generations with the sound foundation at the completion of this project will have more advanced and cleaner power generation solution for the majority of this world. In future, we can add fire prevention as an extra feature for safety against wildfires in and around the farm. By developing the pump that can also work as a turbine in reverse direction will save more resources in future years.

Team Members & Responsibilities

  • Hardware Design, Software Architechture, Embedded Systems and Android Application Development
    • Rajul Gupta
    • Sagar Shah
  • IOT Control, AWS Server Management and Data Analytics
    • Aman Shaikh
    • Mayuri Phansalkar

Legend:

Major Feature milestone , Master Controller , Sensor & IO Controller , Android Controller, Solar Motor Drive Controller , Hardware Design Integration , Team Goal

Week# Date Planned Task Actual Status
1 9/16/2017
  • Decide roles for each team member
  • Search IEEE Papers to compute feasibility and implementation of project.
  • Schedule Market research and survey to compute customer requirements and demands.
Complete.
2 9/30/2017
  • Component selection like Solar Pump, Motor, Drives etc.
  • Finalize Embedded Controllers to interface.
  • Prepare Abstract
  • Decided Roles for each team member
  • Searched and finalized IEEE Papers to compute feasibility and implementation of project.
  • Scheduled and done Market research and survey to compute customer requirements and demands.
Complete
3 10/14/2017
  • Major Feature: Implement Free run mode
    • Implement heartbeat messages and initial system bootup sync between modules
    • Inerface the SIM900 Module for DataLogging to SJ board using UART communication
    • Test SIM900 Module Interface on SJOne to receive data from it
    • Study of Android Toolkit for Bluetooth Adapter connections and APIs
    • Study of HC-05 Bluetooth Module
    • Creating APIs for Start/ STOP button requests to write to output-Stream buffers
    • Creating RFComm SPP Connection socket and the rest of UI for basic operation of Pairing, Connection
    • Checking the AT Command sequence for Bluetooth Operation and Pairing
    • Automating the AT Command sequence for Bluetooth HC-05 operation and Android App
    • Design and Order PCB
  • Added hearbeat messages from all controllers to master in can_db and implemented the handling functions in master controller


  • Implemented speed steer command CAN msg transmission and handling in Master controller. Master-Drive integration phase-I


  • Motor: ESC Traxxas XL-5 (Electronic Speed Control) interfaced to SJOne board;
  • Tested and identified duty cycles for different speeds required; Callibration and testing of ESC is over exteral switch at P0.1
    • Ordered RPM sensor
On Track
4 10/21/2016
  • Major Feature: Implement Basic Obstacle Avoidance without maneuver
    • Add all modules CAN messages to DBC file
    • Test steer and speed CAN commands between Master and Motor
    • Implement Obstacle avoidance algorithm
    • Unit Test the obstacle distance and angle obtained and Fine tune the algorithm for minimum error
    • Test whether PWM signal is given to Motor control pin of Lidar before starting scan
    • Configure the CAN communication of sensor readings to the master and other nodes
    • Interface compass module to SJOne board and calibrate the errors
    • find the heading and bearing angle based on mocked checkpoint
    • Test and verify GPS module outdoor to receive valid data and check for errors
    • Calibrate the GPS module error
    • Design and implement the DRIVE_CONTROLLER STEER/SPEED interface with Master (TDD)
    • Install the new RPM sensor module for the Drive Controller
    • Operating motors based on the CAN messages from the Master
  • Added all modules basic CAN messages in can_db
  • Implemented interface files in master controller to handle CAN messages from all nodes to master
  • Implemented Master-Drive controller Integration
  • Implemented Master-Bluetooth controller integration
  • Added all modules basic CAN messages in can_db
  • GPS integrated to SJONE board
  • Added all modules basic CAN messages in can_db
  • MASTER_SPEED_STEER_CMD was defined to use 8-bits for speed control (neutral, forward, and reverse); 9-bits for steer control (straight, left, and right)
  • Designed glue code: DriveManager and hardware interface code: DriveController using TDD (test code in _MOTOR/_cgreen_test/)
  • Got the Traxxas #6520 RPM sensor; installed the same with the slipper clutch; Observed the RPM sensor trigger over an oscilloscope and found the minimum distance of magnet to RPM sensor is not achievable with the stock slipper clutch. Ordered Traxxas #6878 new slipper clutch and ball-bearings
  • Master - Drive Controller Interface implemented and tested over CAN; Check "drive" terminal command on Master controller

Planned
5 10/28/2016
  • Major Feature: Implement maneuvering with Android app data
    • Implement maneuvering algorithm to drive steering angle of the servo
    • Implement maneuvering algorithm to control ESC speed
    • Identify the basic speed(s) at which the car shall move; the min, max and normal forward speeds, and the min and normal reverse speeds
    • Interface the RPM sensor over ADC and validate the readings
    • Writing PID Algorithm for Motor Control
    • Calibrating PID constants according to the Motors
    • Testing the Bluetooth Range and multiple pairing option to establish security of the Master device
    • Test the logic of heading and bearing angle
    • Testing the accuracy of GPS while moving
      |
Planned
6 11/04/2016
  • Major Feature: Implement maneuvering with Android app data
Planned.
7 11/11/2016
  • Major Feature: Implement I/O controls and display
Planned.
8 11/18/2016
  • Major Feature: Implement disgnostics indicators
    • Test when Sensor module is corrupting the CAN bus communication
Planned.
9 11/25/2016
  • Major Feature: Implement advanced design features
Planned.
10 12/1/2016
  • Major Feature: Full feature integration test
Planned
11 12/8/2016
  • Major Feature: Full feature integration test
Planned
12 12/15/2016
  • Update Wiki Complete Report
Planned

Parts List & Cost

SR NO Name Cost Quntity Link
1 12 V PUMP
  • 70$
  • 1
https://www.amazon.com/gp/product/B016VX8XBW/ref=ox_sc_act_title_1?smid=A1QBFNU8WH93ZY&psc=1
2 PUMP DRIVE
  • 20$
  • 1
https://www.amazon.com/gp/product/B018ICLC3K/ref=ox_sc_act_title_2?smid=A3FV4MIBE1RGSA&psc=1
3 100W 12V Solar Panel
  • 110$
  • 1
https://www.amazon.com/gp/product/B018BOK9WU/ref=ox_sc_act_title_3?smid=A2D22KZJD14Y8Y&psc=1
4 Current Sensor
  • 25$
  • 2
5 Voltage Sensor
  • 10$
  • 2
6 Batteries
  • Will Use Power Bank
7 Embedded System
  • 100$
  • 1
8 Controller
  • 200$
  • 3
9 Web Service
  • 100$ (For Two Months)
  • 1
10 Sim Card
  • 40$ (For Two Months)
  • 1
11 Turbine
  • 180$
  • 1
http://a.co/77Ike20
12 Other Expenses
  • 150$

Design & Implementation

The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.

Hardware Design

Discuss your hardware design here. Show detailed schematics, and the interface here.

Hardware Interface

In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.

Software Design

Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.

Implementation

This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.

Testing & Technical Challenges

Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.

Include sub-sections that list out a problem and solution, such as:

<Bug/issue name>

Discuss the issue and resolution.

Conclusion

Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?

Project Video

Upload a video of your project and post the link here.

Project Source Code

References

Acknowledgement

Any acknowledgement that you may wish to provide can be included here.

References Used

List any references used in project.

Appendix

You can list the references you used.