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

From Embedded Systems Learning Academy
Jump to: navigation, search
(Abstract)
(Objectives & Introduction)
Line 33: Line 33:
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
+
Innovation with noval thought, practical idea and modern IoT technology. Project that can generate more revenue without harming environment and creating 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 sustainable environment for everyone. Solar and wind have been used in past but result is not that outstanding. Wind source in not constant on any given day and solar source is not equal throughout the year. Water is the solution and USA's fresh water source is 90% dependent on ground water 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 better solution. In our project work we will provide electricity to the farm and water pump in day time with the help of solar energy and in 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 server and through 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 environment. Batteries need to change after few years and that adds more cost to it. Clean and safe solution is what we are providing.
 +
Idea for future generations with sound foundation at the completion of this project will have more advanced and cleaned power generation solution for majority of this world. In future we can add fire preventation as a extra feature for safety against wild fires in and around the farm. By developing pump that can also work as a turbine in reverse direction will save more resources in future years.
  
 
=== Team Members & Responsibilities ===
 
=== Team Members & Responsibilities ===

Revision as of 02:32, 27 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 of today's environment. After generating this power, we store it in the batteries and 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 noval thought, practical idea and modern IoT technology. Project that can generate more revenue without harming environment and creating 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 sustainable environment for everyone. Solar and wind have been used in past but result is not that outstanding. Wind source in not constant on any given day and solar source is not equal throughout the year. Water is the solution and USA's fresh water source is 90% dependent on ground water 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 better solution. In our project work we will provide electricity to the farm and water pump in day time with the help of solar energy and in 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 server and through 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 environment. Batteries need to change after few years and that adds more cost to it. Clean and safe solution is what we are providing. Idea for future generations with sound foundation at the completion of this project will have more advanced and cleaned power generation solution for majority of this world. In future we can add fire preventation as a extra feature for safety against wild fires in and around the farm. By developing pump that can also work as a turbine in reverse direction will save more resources in future years.

Team Members & Responsibilities

  • Hardware Design and Software Architechture Embedded Systems
    • Rajul Gupta
    • Sagar Shah
  • IOT 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/23/2017
  • Decide roles for each team member
  • Read FY16 project reports and understand requirements
  • Setup Gitlab project readme
  • Team roles are decided and module owners are assigned
  • Gitlab project is set
Complete.
2 9/30/2016
  • Design software architecture for each module and design signal interfaces between modules
  • Setup Wiki Project Report template
  • Design Hardware layout of system components
  • 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
  • Wiki Project report setup is done
  • Ordered Embedded Boards(BeagleBone and SJOne Arm Controller) and Created Logins for Amazon Web Server
  • Initial commit of project base is done
Complete
3 10/14/2016
  • 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

Give a simple list of the cost of your project broken down by components. Do not write long stories here.

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.