1 / 61

Remote Measurement station for fishes detection

Master thesis in EISLAB Author : Romain SERIZEL Director : Jerry LINDBLOM. Remote Measurement station for fishes detection. Summary. Introduction System purpose Hardware Overview of the previous software Problems to solve Conclusion. Introduction. Master thesis on « SLU » project

shika
Download Presentation

Remote Measurement station for fishes detection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Master thesis in EISLAB Author : Romain SERIZEL Director : Jerry LINDBLOM Remote Measurement station for fishes detection

  2. Summary • Introduction • System purpose • Hardware • Overview of the previous software • Problems to solve • Conclusion

  3. Introduction • Master thesis on « SLU » project • Remote Measurement station for fishes detection • Based on an already working project

  4. Introduction : Goals • Find the « bugs » and solve them • Improve system stability • Make sure the system can work « alone » • Provide some information on the system status • Avoid collisions on I²C bus

  5. System purpose Based on Imanol Beguiristáin’s work

  6. System purpose Stages in the sampling techniques carried out by SLU: 1st Stage: Manual System • Radio-Receiver mounted in an aeroplane.

  7. System purpose Stages in the sampling techniques carried out by SLU: 1st Stage: Manual System • Radio-Receiver mounted in an aeroplane. 2nd Stage: Automatic System • Radio-Receiver + Data Collection Computer

  8. System purpose Stages in the sampling techniques carried out by SLU: 1st Stage: Manual System • Radio-Receiver mounted in an aeroplane. 2nd Stage: Automatic System • Radio-Receiver + Data Collection Computer 3rd Stage: Remote Measurement Station • Advance in the sampling process

  9. System purpose 1) Specific Embedded Internet System 2) R.MS. data User 3)Change station’s parameters.

  10. System purpose User (SLU) GPRS Network Internet R.M.S Advantages : Less displacements Less time and money spent

  11. Hardware Based on Imanol Beguiristáin’s work

  12. Hardware Hardware within R.M.S. GEIC Board of communications The biotelemetry equipment

  13. Hardware : GEIC

  14. Hardware : GEIC • 2 PIC 18F452 (32KB rom 1,5KB ram) • 1 LCD screen • EEPROM 24LC256 (256K) • Temperature sensor lm75 • Connector DB9 • Connector euro50

  15. Hardware : GEIC

  16. Hardware : Communication board

  17. Hardware : Communication board Module Falcom C2D-SI: • GPS receiver • GSM / GPRS module • SIM card reader • 2 inputs for antennas • 60 pins connector

  18. Hardware : Biotelemetry equipment

  19. Hardware : Biotelemetry equipment Data Collection Computer (DCC) • It includes a configuration program • Process data and save it into memory • Data registered: • Date - time • Frequency, nº of pulses, signal strength Radio-Receiver (RR): • Scan the frequencies programmed in DCC • Detect pulses emitted by salmons’ transmitters • Frequency range: 151.000 MHz - 151.999 MHz

  20. Hardware : Biotelemetry equipment Transmitters: • Light (12 grams) and small (40x19x9 mm) • Emit pulses at a certain frequency • External attached

  21. Hardware

  22. Existing software Based on Imanol Beguiristáin’s work

  23. Existing software : Overview Software embedded within the PICs RMC, salmon data PIC2 PIC1 nº salmons GPS Fish detections Web Server Download WebPages to EEPROM

  24. Existing software : PIC1 - GPS GPS receiver configuration: Serial transmission baudrate 38400 bps Protocol NMEA Output messages format RMC Allow to obtain: • Date and time fish detection • Location station’s location • GPS status valid / invalid

  25. Existing software : PIC2 - protocols Application HTTP Transport TCP Network IP Data link PPP Physical GPRS

  26. Existing software : Communication between PICs Communication through I²C bus : PIC1 : • Read fish information (master) • Send data to the PIC2 (master) PIC2 : • Read temperature (master) • Access EEPROM (master) • Receive data from PIC1 (slave)

  27. Existing software : Communication between PICs Communication through I²C bus : PIC1 : • Read fish information (master) • Send data to the PIC2 (master) PIC2 : • Read temperature (master) • Access EEPROM (master) • Receive data from PIC1 (slave) Need a protocol to avoid collisions !!!

  28. Existing software : Communication with R.M.S Telia assigns private IP to R.M.S within GPRS network: • User can not access directly to webserver EISLAB server: • Public IP • Application responsible of: • Accept TCP connections from R.M.S and user • Redirect frames

  29. Existing software : Communication with R.M.S Public Server (EISLAB) data.htm data.htm GET data.htm GET data.htm PPP GPRS Network Internet User (SLU) R.M.S. EISLAB server • Public IP address: 130.240.26.132 • Port of communication with user: 8180 • Port of communication with R.M.S: 4000

  30. Existing software : Sitemap

  31. Problems to solve

  32. problems to solve : PIC1 • Add a time backup to know the last good GPS time • Add methods to print information on the LCD through PIC2 • Send a « dummy-fish » to indicate that a fish is leaving area • Synchronize all I²C access to reduce risk of collisions

  33. problems to solve : PIC2 • Display status on LCD • Receive PIC1 status and display it on LCD • Restart the microcontroller if there is too long inactivity on I²C • Introduce fish status flag (1 = in, 2 = left, 0 = no new information)

  34. problems to solve : PIC2 - PPP • PPP is using escape character • To avoid misunderstanding, replace these if use in upper layers

  35. problems to solve : PIC2 - PPP • PPP is using escape character • To avoid misunderstanding, replace these if use in upper layers It was not the case for some headers (tcp, ip) Almost 1 frame/5 was not received by the server

  36. problems to solve : PIC2 - PPP • PPP is using escape character • To avoid misunderstanding, replace these if use in upper layers It was not the case for some headers (tcp, ip) Almost 1 frame/5 was not received by the server The solution : Replace the escape characters in the headers (tcp, ip) also.

  37. problems to solve : PIC2 - TCP No action when the server receive a frame : • 04 (reset) • 11 (end)

  38. problems to solve : PIC2 - TCP No action when the server receive a frame : • 04 (reset) • 11 (end) Solution : restart the connection when it happen

  39. problems to solve : PIC2 - TCP No action when the server receive a frame : • 04 (reset) • 11 (end) Solution : restart the connection when it happen If a frame is not arriving to EISLAB server, it keep asking for it « for ever ». It can lock the server.

  40. problems to solve : PIC2 - TCP No action when the server receive a frame : • 04 (reset) • 11 (end) Solution : restart the connection when it happen If a frame is not arriving to EISLAB server, it keep asking for it « for ever ». It can lock the server. Solution : fix a timeout, if we receive no acknowledgement after that time, restart the connection.

  41. problems to solve : PIC2 - HTTP Problems with the authentication : • Sometimes the password is good but get rejected by server • Once someone is connected, every can connect without authentication

  42. problems to solve : PIC2 - HTTP Problems with the authentication : • Sometimes the password is good but get rejected by server • Once someone is connected, every can connect without authentication The solution : Remove the authentication. As the IP is private every users have to go through EISLAB server and authenticate there.

  43. problems to solve : PIC2 - HTTP

  44. problems to solve : PIC2 - HTTP

  45. problems to solve : Web site Light version of the Web site to reduce data flow : 662B 463B

  46. problems to solve : Web site • Include fish status flag management : • To reduce useless data flow • To allow increasing the number of fishes displayed

  47. problems to solve : Web site

  48. problems to solve : Web site

  49. problems to solve : Web site • The R.M.S is now connected to a system which include : • The “forwarding server” as used before • Digester (Web browser emulator) • Database • Personal home pages

  50. problems to solve : Web site • The R.M.S is now connected to a system which include : • The “forwarding server” as used before • Digester (Web browser emulator) • Database • Personal home pages • Need to respect format so digester can parse data.

More Related