Reunion 11/13/2012

Invited: Armando Vega, José Fernández, Julián Ramos and Luis Angel Lugo
Attended: Armando Vega, José Fernández, Julián Ramos and Luis Angel Lugo

Items discussed:

  • Things to do  week

Outcomes:

  • Hardware
    • Software Logic
      • Implement logic and calculate threshold
      • Send Emergency
      • Wait for android app acknowledgement
        • If it does not receive the acknowledgement in X seconds, re-send
    • Weld components in PCB
    • Buy enclosure and assemble the final product
  • Android App
    • Fix some bugs
      • Emergency protocol
    • User Interface tweaking
      • Aesthetics
      • Usability
  • Web Application
    • Web Service
      • Insert Fall
      • Update Fall

 

 

Reunion 11/2/2012

Invited: Julián Ramos, Armando Vega, José Fernández, Luis Angel Lugo and Professor Luis Jimenez
Attended: Julián Ramos, Armando Vega, José Fernández, Luis Angel Lugo and Professor Luis Jimenez

Reunion with professor Luis Jimenez 

Outcome
Analizing the data gathered from the sensors, the professor determined that it would be a matter of setting a threshold to determine that a person fell.

Data would have to be an average of aproximately 30-50 readings per data point.

The threshold will be determined as an average of averages. A lineal classifier will have to be implemented

Action Plan

  • Gather data from different people
  • Determine threshold needed

Reunion – 10/25/2012

Report Madness Status

Android App Status – Luis Angel

– Options for configurable text message (Emergency and false alarm)
– Alarm sound
– Cell phone location
– Send Email with google maps link
– Emergency call to contact configured in settings
– Test Web Service set up in amazon server and service consumption from android device

Hardware – Armando and Julian


Julian estuvo trabajando con la calibracion del gyro
Armando estuvo bregando en hacer que los botones sean manejados por medio de interrupciones y empece a programar los timers para hacer las lecturas a 60 Hz aunque no se ha terminado

10/17/2012

Until this moment, this is what has been done:

Armando and Julián

  • Accelerometer interfacing and calibration
  • Bluetooth interfacing
  • Designed method for fall data recolection. Julian made the MCU code and Armando a Java PC program (bluetooth dongle communication)

Because there were some problems with the chips, a new gyroscope is on the way to start the process of recolecting the data to be used to determine the detection algorithm and later, train the classifier.

José

  • Web page with a CSS layout
  • User management (Security) [Use of ASP.NET’s  membership service to create user, Use of ASP.NET’s  roles service to control the allowed content to the Patients and to the employees]
  • Web portal navegation
  • Database creation (with previous report design)
  • Users profile management (tables Patient and Medical_Staff manipulation)
  • Web pages to search patients and to insert emergency contacts.
  • Research and implementation of a dummy report
  • The first version of the web portal uploaded at falldetection.fernandezj.com

Luis Angel

  • Local database with SQLite for emergency contacts storage and personalized text messages
  • Emergency contacts manipulation to the database with a list view (Add, remove and edit)
  • Data validation in text boxes.
  • Options to add a False alarm and real alarm text message and store them (IN PROGRESS)
  • Send text messages to database emergency contacts
  • Stop emergency protocol (implemented, not tested yet)
  • View creation and navigation between them
  • Web service research to manipulate web DB from cell phone (IN PROGRESS)

Android’s target version was downgraded for better compatibility.

Reunion – 10/3/2012

Invited: Armando Vega, Luis Angel Lugo, Jose Fernández and Julián Ramos
Attended: Armando Vega, Luis Angel Lugo, Jose Fernández and Julián Ramos

José

CSS Template seleccionado
Default Page
Login link works
Page to create users (Register medical staff, register patient)
There are roles implemented

Luis
Emergency contacts list implemented
Text messages implemented – send messages to contact list
Navigation between views

Julian and Armando
Example code uploaded to the maple mini
Battery connected to the maple – it worked

——————————————
A digital accelerometer was ordered.

Se pidió el acelerometro por sparkfun
Happy Hour was monday – went well

Reunion – 9/26/2012

Reunion with Professor Luis Jimenez

Invited:
Professor Luis Jimenez
Armando Vega, Luis Angel Lugo, Jose Fernández and Julián Ramos
Attended:
Professor Luis Jimenez
Armando Vega, Luis Angel Lugo, Jose Fernández and Julián Ramos

Euclidean Distance is faster
Fisher linear discriminant
Mahalanobis distance
Gaussian

Have training data in memory
Research when data is going to be recolected
Do some tests and take the data to the proffesor for analysis.

Reunion – 9/25/2012

Reunion with capstone proffesors

Invited:
Nayda Santiago, Fernando Vega
Luis Angel Lugo, Armando Vega, José Fernández and Julián Ramos

Attended:
Nayda Santiago, Fernando Vega
Luis Angel Lugo, Armando Vega, José Fernández and Julián Ramos

Pattern Recognition

Is Mahalanobis distance justified?
Euclidean distance

Try 3 things:
1) Try to see if 2 variables are linearly (coordinate transform)
2) Calculate Mahalanobis with matlab (mahal) (Square root isn’t needed in the calculation)
3) Precalculated matrix

Problem detected:
Because signals are dependant on time, maybe mahalanobis isn’t the best choice.

Maybe Kalman filter is the best choice? Accelerometer helps the gyroscope and viceversa.
Maybe a match filter (needs DSP)
Neural Networks

Reunion 9/19/2012

Invited: Luis Angel Lugo, Jose Fernandez, Armando Vega, Julian Ramos
Attended:Luis Angel Lugo, Jose Fernandez, Armando Vega, Julian Ramos

Purpose: Design Report Status Meeting

Luis Angel

80% Android/system flow charts
75% Android Mock ups
90% Block Diagram with explanation
90% General Diagram with explanation
5% Android Class Diagram
60% Gannt Update (Still to do: Update dates and completion %’s)

Part Ordering: A Maple Mini and battery charger were ordered. (TO DO: Order Gyroscope)
Consulting: An email was sent to professor Luis Jimenez asking for consulting time in the Pattern Recognition subject.

Julian Ramos
Has been doing some research on the Pattern recognition subject.
5% on report

Jose Fernandez
90% ER Diagram
50% Mock ups
5% Sequence/Interaction diagrams

Armando Vega
80% Schematic
60% MCU Selection criteria

We talked to Professor Nayda Santiago on the Pattern Recognition subject. She talked to us about some methods in particular, clustering.

Reunion – 9/14/2012

Invited: Luis Angel Lugo, Armando Vega, Julian Ramos and Jose Fernandez
Attended: Luis Angel Lugo, Armando Vega, Julian Ramos and Jose Fernandez

Change Request accepted!

Jose informs that the Azure web report trial expired.
Action to take:
– Research how to make reports without a reporting service.
– Evaluate azure costs
– Make reports without charts.

Armando showed us different microcontroller options to evaluate.
– As a group, we chose the Maple MCU.

We approached by email proffesor Luis jimenez (specialty in pattern recognition) and he agreed to let us know when he had free time.

We consulted proffesor Nayda Santiago about a signal processing overview.
– Create a sorter
– Variable samples
– look for specific features that define a fall.
– The final product will be programmed as a series of thresholds
– She will lend us a pattern recognition book.

Next in the queue: Work with the Design Report

-published by: LAL

Reunion – 9/7/2012

Invited: Luis Angel Lugo, Jose Fernandez, Julian Ramos and Armando Vega
Attended: Luis Angel Lugo, Jose Fernandez, Julian Ramos and Armando Vega
10:30 am

Weekly Status Meeting:

  • We have clients for our project!
  • Jose created a trial account with “Azure”. He setted a DB and ran a Hello World.
  • We got our proposal accepted today!

Things to take into account for the design report:

  • ER diagram
  • Class diagram
  • Sequence diagram
  • High level diagram
  • Schematics
  • Part list
  • Flow charts

Immediate action to take: Talk to proffesor Nayda Santiago about a change in design that we’re thinking. Eliminate the “Alert device” and use an android device instead to communicate with the portable design. We came up with the following PROS and CONS:

Pros Cons
Portability Some areas may not have cel phone signal coverage.
low cost Cell phone availability.
Internet and text messages are included in the cel phone. Increases the cell phone’s battery consumption (bluetooth communication)
Advantage over competitors.
The client liked the idea.
Angel Perez (Rock Solid Technologies VP) suggested the same idea.