Nội dung đề tài nghiên cứu khoa học hợp tác trình bày thiết kế và xây dựng hệ thống định vị dẫn đường tàu cá chi phí thấp. Để hiểu rõ hơn, mời các bạn tham khảo chi tiết nội dung đề tài.
[Professional License-Project of the central navigation low-cost] 2017-2018 BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC BÀ RỊA-VŨNG TÀU ĐỀ TÀI NGHIÊN CỨU KHOA HỌC HỢP TÁC Co-operative research project between BVU and UBO TÊN ĐỀ TÀI: Thiết kế xây dựng hệ thống định vị dẫn đường tàu cá chi phí thấp (Design and Development of a central navigation “Low – cost”) Trình độ đào tạo: Chương trình trao đổi sinh viên với trường UBO -Université de Bretagne Occidentale (Pháp) Giảng viên hướng dẫn: Ts LÊ NGỌC TRÂN Sinh viên thực hiện : Sylvain Marest Lớp : Digital System Niên khóa : 2016-2018 Bà Rịa-Vũng Tàu, năm 2018 University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 Thanks I would like to begin by thanking the University of Baria Vung Tau (BVU) for having welcomed me to their school and their campuses for this period of training, and for giving me the keys to live in Vietnam I thank Mr Le Ngoc and Mr Le Viet, professors in electronics at the university, for their availability and for the quality of the exchanges we had during this internship, allowing me to enrich myself and to evolve professionally Introduction The training of the professional license Marine Electronic Systems (SEME) includes a training period of 490 hours In the training course of the SEME professional license, the internship is necessary to discover several technological facets of marine electronics It allows you to acquire skills and know-how specific to each company I chose the internship in Vietnam at the University of BVU with the purpose of the realization of a central navigation "low-cost" because it was mainly found an internship in France and the opportunity presented through Mr Vo, that represented for me a chance to discover a unique know-how and culture in the world University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 Summary I Presentation of the project 3-4 The interest of this project The project team Our solution My schedules and my tasks 3 4 II Electronic part 5-6 The raspberry pi The GPS mouse The module NEO-6M inch screen pi 5 6 III Computer part 7-9 Opencpn GE2KAP Google Earth Openseamap PuTTY VncViewer 7 8 9 IV The realization 10-20 Creating the map Remote control of the raspberry pi Installing the GPS mouse Installing the module NEO-6M Three possible technical solutions with price estimation 10-13 14 15-16 16-17 17-20 V Conclusion 21 VI Bibliography 22 VII Appendices 23-25 University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] I 2017-2018 Presentation of the project The interest of this project The interest of the project is to come and give navigational tools to Vietnamese navigators Indeed, on 300 000 Vietnamese boats, none have systems to navigate from point A to point B, they can not follow any road where even to locate to access an area they already knew, which could be very convenient for fishermen who want to find their fishing zone They also have no weather systems and the price for a navigation system is very elevated compared to the average budgets of the Vietnamese The project team UBO Manager : Claude VO BVU BVU Supervisor and Manager : Than Le VIET Supervisor and Manager : Tran LE NGOC UBO Student : Sylvain MAREST University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 Our solution To avoid this problem, we will create a central navigation low-cost by connecting to a Raspberry PI card, an LCD display, a radio module and a GPS mouse for displaying and information of satellite data, and then for installing a system operating system and navigation software to allow Vietnamese navigators to navigate serenely on the waters As there are no nautical charts for Vietnamese waters, free and downloadable on the Internet, we will have to create a map of the east coast of Vietnam with the software " Opencpn ", " GE2KAP " and " Google Earth " which will allow to use image overlay skills to capture, calibrate and use it by the navigation software My schedules and my tasks Weeks Monday Tuesday Wednesday Thursday Friday Week 1-2 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 Week 3-4 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 Week 5-6 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 Week 7-9 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 Week 10-11 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 Week 1-2) Installation of the radio module to receive satellite data Week 3-4) Installing a GPS mouse for the transmission of GPS data Week 5-6) Set up the navigation software « Opencpn » Week 7-9) Week 10-11) Create a map of the east coast of Vietnam in kap format with the software GE2KAP and Google Earth Tests in real condition on a boat University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 II Electronic part The raspberry pi 40 pin extended GPIO RAM On Board Bluetooth 4.1 WI-FI x USB ports MicroSD Card Slot DSI Display port Broadcom BCM2837 64 bit Quad Core CPU at 1.2GHz, 1GB RAM Micro USB Power Input LAN Port (RJ45) CSI Camera Port Composite Video and Audio Output Jack Full Size HDMI Video Output The Raspberry Pi is an ARM processor single-card nano-computer designed by video game creator David Braben as part of its Raspberry Pi Foundation The Raspberry Pi is equipped with a broadcom BCM2837 ARM Cortex A53 SoC 64-bit processor with four cores at 1.2 GHz, for an increase in performance in the order of 50% compared to Pi and a WiFi chip and low-power bluetooth The GPS mouse The active GPS antenna is the easiest way to acquire a GPS position It can be used for both land and sea navigation Its simplicity of installation and its powerful material characteristics will make this antenna the perfect tool for navigation University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] The module NEO-6M UART 2017-2018 GPS_NEO-6M VCC GND GPS RXD GPS TXD GPS PPS EEPROM 24C32 The Neo-6 series of modules is a family of stand-alone GPS receivers with high performance U-Blox positioning engine The dedicated acquisition engine, is able to search for space in parallel time/mass frequency, allowing it to instantly find satellites Innovative design and technology removes interference sources, giving neo-6 GPS receivers excellent navigation performance, even in the most challenging environments inch screen pi The "touch screen for Raspberry Pi gives users the ability to create integrated projects such as tablets, infotainment systems and integrated projects The 800 x 480 display connects via an adapter card that manages the conversion It is really interactive, the latest drivers will support a virtual keyboard "on the screen", so there is no need to connect a keyboard and a mouse University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 III Computer part Opencpn OpenCPN (open Chart Plotter Navigator) is a free navigation software It can be used to edit maps, to plan a route and to view its position in real time, if it is associated with a GPS OpenCPN uses the GPS to determine the position of the boat and the data from an AIS to trace the positions of the boats in the vicinity GE2KAP Paul Higgins and his trusty sidekick Whitey authored the program GE2KAP This free software allows you to make charts with Google Earth overlays The result is an amazing combination of photo-real land detail and waterways that are navigation charts University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 Google Earth Google Earth is a software, owned by Google Company, allowing a visualization of the earth with an assembly of aerial or satellite photographs Openseamap OpenSeaMap is a project whose objective is to collect freely usable nautical information, and to couple them with geo-localized information with the aim of creating a world nautical chart University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain [Professional License-Project of the central navigation low-cost] 2017-2018 PuTTY PuTTY is a terminal emulator coupled with a client for SSH, Telnet, rlogin, and raw TCP protocols It also allows direct connections via RS-232 serial link VncViewer In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer (RFB) protocol to remotely control another computer It transmits keyboard and mouse events from one computer to another, relaying updates from the graphics screen in the other direction over a network University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 10 [Professional License-Project of the central navigation low-cost] 2017-2018 3°) Calibrating a JPEG image This method consists of capturing an image on Openstreetmap and then coming to calibrate it with GE2KAP to be readable by OPENCPN I followed the following method : 1) Open Openstreetmap World 2) Choose a piece of card 3) Place the cursor in the left corner at the top and note the latitude and the longitude, same thing for the right corner at the bottom 4) Capture exactly the window rectangle, save and give a name to the JPEG file (eg VietNam jpg) 5) Open the template gpx file with Notepad Type the latitude and longitude in both lines GPX File latitude and longitude 6) Save and give the same name as the image (eg VietNam.jpx) 7) Place the jpg image of the card and the jpx file in the KAP folder and start GE2KAP by double-clicking University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 12 [Professional License-Project of the central navigation low-cost] 2017-2018 8) In the window that opens Press the button (1) >> and in the window, navigate to open the folder and type in the 'File name' box the name that will be given to the card (for example VietNam.kap), Save , and close the window The path and name appear in (2) 9) With the button (3) >>, navigate to search the KAP folder of GE2KAP, and click on the image (for example VietNam.jpg), open, close the window The path and the name are displayed in (4) Type Meters in (5) Mark the box (6) and click on 'Create KAP' (7) 10) When the window announces 'Successfully created ', open OpenCpn, in the Toolbox / Maps, 'add directory' which contains the new map University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 13 [Professional License-Project of the central navigation low-cost] 2017-2018 After having tested these solutions, none of them worked, most of the time, the card does not register in kap format readable by Opencpn or so I had this error code Error: GE KML Copy Failed! Error: Can not find on Google Earth the image overlay edit window Error: Unable to add the merge file: C: \ DUMMY \ OPENCPN_DMY.KAP Being blocked with these solutions, I found a much simpler solution on openseamap which offers free kap maps for most of the world's maritime zones 4°) Download free map on Openseamap You have to open Openseamap and go to "download the map", then you have to unzip the file and send it to a folder.kap that Opencpn knows Then in Opencpn, open the toolbox and go to "cards / data" then add the folder.kap where is the file unzip Here is the result : University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 14 [Professional License-Project of the central navigation low-cost] 2017-2018 Remote control of the Raspberry pi I decided to control the Raspberry pi with my laptop using the software "puTTY" and "VncViewer" This choice is optional and is not necessary, but it is useful because it avoids using too much material, like the mouse and the keyboard For this, simply go to the terminal of the raspberry and type "ipconfig" to find the IP address Then, you must install the software on your computer and establish the connection by activating the SSH link on the raspberry and then physically connecting it via an ethernet cable on the laptop When all this is done, open VncViewer and establish a new connection When you have typed the IP address of the raspberry who is “169.254.14.132”, it's over I can finally control the screen of my raspberry with my laptop University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 15 [Professional License-Project of the central navigation low-cost] 2017-2018 Installation the GPS mouse To install the GPS mouse, just install the driver and then connect it to the raspberry Then, you have to configure the connection in Opencpn, in the menu options >> menu connections Just click on "add connection", choose the "serial" mode, select the com port and choose the connection speed which is "4800 baud" Cheksum control is optional To check if the connection is established, check "open the NMEA data display window" NMEA data appears which confirms that the connection is established University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 16 [Professional License-Project of the central navigation low-cost] 2017-2018 We also have the position of the GPS which is automatically displayed in Opencpn Installation the module NEO-6M Installation of the NEO-6M module is completely optional It all depends on the technical solution you want to choose The module works like the GPS mouse but it is cheaper We connect it to the GPIO pins of the raspberry to test it but if we really wanted to implement it, it would have been necessary to convert the signal to USB with a cable TTL REV 232 3V3 to configure it with the Opencpn software Cable TTL REV 232 3V3 University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 17 [Professional License-Project of the central navigation low-cost] 2017-2018 RXD TXD VCC PPS GND Three possible technical solutions with price estimation Not knowing how the boat is equipped for system installation I propose to make a cost estimate for possible technical solutions 1) If the boat has 220 volts AC 50 Hz 2) If the boat has not 220 volts AC 50 Hz 3) By replacing the GPS mouse with the NEO-6M University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 18 [Professional License-Project of the central navigation low-cost] 2017-2018 1/ The first solution if the boat has 220 volts AC 50 Hz HDMI cable GPS mouse Raspberry pi USB mouse Charger 5V 220V AC Estimated cost : Components References Television E&M 001435 67,72€ 1828754.36 Raspberry pi 3+HDMI cable+16G micro SD card+5 Volts Power charger Model B+ 14,84€ 400748.89 2,51€ 67695.88 15,37€ 414536.11 100,44€ 2712346.25 The USB mouse The GPS mouse Total BT-708 U-G7020-KT Quantities Price (Euros) University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain Price (Dong) 19 [Professional License-Project of the central navigation low-cost] 2017-2018 2/ The second solution if the boat has not 220 volts AC 50 Hz 7-inch pi display GPS mouse Raspberry pi USB mouse Converter 12V to 5V The 220v AC-5v charger is replaced with a 12v-5v DC-DC converter and the 15-inch HDMI display by a 7-inch pi display Estimated cost : Components References 7-inch pi display Quantities Price (Euros) 42,00€ Price (Dong) 1132759.69 Converter DC-DC D8739 3,31€ 89272.25 Raspberry pi 3+16G micro SD card Model B+ 14,84€ 400748.89 2,51€ 67695.88 15,37€ 414536.11 78,03€ 2107172.22 The USB mouse The GPS mouse Total BT-708 U-G7020-KT University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 20 [Professional License-Project of the central navigation low-cost] 2017-2018 3/ The third solution, the fully integrated GPS module is replaced by the NEO GPS module and a TTL 232 3V3 cable Module NEO-6M Câble TTL 232 R3V3 Raspberry pi USB mouse 7-inch pi display Converter 12V to 5V Estimated cost : Components References TTL 232 R3V3 cable PL2303TA 8,77€ 236830.71 Case of proctection NE0-6M 8,71€ 235210.43 42,00€ 1132759.69 7-inch pi display Quantities Price (Euros) Price (Dong) Converter DC-DC D8739 3,31€ 89272.25 Raspberry pi 3+16G micro SD card Model B+ 14,84€ 400748.89 2,51€ 67695.88 7,51€ 200 132,86 The USB mouse The module NEO-6M University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 21 [Professional License-Project of the central navigation low-cost] 2017-2018 V Conclusion Finally, we have chosen the first solution that is easier to implement, the television will make much more readable data reading than on the LCD raspberry It will only remain to install the system on the boat All in all, all the tests went well I managed to display the map of Vietnam on Opencpn software, control the raspberry pi via my portable computer to avoid hardware clutter and display the GPS position of the boat with the GPS mouse I also learned to use Opencpn to create navigational routes and memorable geographic coordinate points This internship was a unique experience for me This allowed me to familiarize myself with a country that I already knew Since my visit last year, I discovered a new facet of Vietnam thanks to the internship, because for the realization of my project, I did not think to have so many difficulties It also allowed me to overcome my apprehension of traveling to a country completely different from mine and adapting to new situations I was also able to increase my curiosity both culturally and technically A very good atmosphere reigns at the university and all the people I met were very cooperative and attentive to our questions For me, it has been a very rewarding experience Finally, I would like to thank all the professors and students I worked with during this internship University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 22 [Professional License-Project of the central navigation low-cost] 2017-2018 VI Bibliography Link http://www.shoreline.fr/PHiggins/GE2KAP/Franỗais/OpenC PN.html#overlaying Link http://daria-edel600.blogspot.com/2012/10/synthese.html Link https://deusyss.developpez.com/tutoriels/RaspberryPi/Pyt honEtLeGpio/ Link https://www.ublox.com/sites/default/files/products/documents/NEO6_DataSheet_%28GPS.G6-HW-09005%29.pdf Link https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ Link https://www.tyboat.com/achat/P-42963-mc-marine_antennegps-active-mc-marine-gp-01-usb-167-canaux-sky-traq-venus8.html University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 23 [Professional License-Project of the central navigation low-cost] 2017-2018 VII Appendices VIII The Toolbar is floating and can be placed anywhere on the screen, vertical or horizontal Note the “grabber” symbol at the far right side of the toolbar Use this handle to drag the toolbar wherever you want it The default position is horizontal and docked top left It snaps to the edges Right click on the grabber and a cross will appear Left click on the cross and the toolbar shifts its orientation, to vertical or horizontal format Right click on the cross to return to the grabber On Windows (at least), unless in OpenGL display mode, the toolbar dims down transparently until you roll over it There are three different styles of Toolbars to choose from Go to the ToolBox→“User interface”→ “Toolbar and Window Style” and select one of the following styles: Traditional Journeyman Journeyman Flat Only the buttons with a ticked box will be displayed The available shortcuts are also shown in parenthesis to the right of the button description University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 24 [Professional License-Project of the central navigation low-cost] 2017-2018 When a toggle button is pressed, it changes and becomes darker, Traditional style also adds a stronger outer frame For example, tracking off , tracking on A brief explanation of the use of each button is available by just hovering with the cursor over a button Traditional Style (from left to right) : Zoom In (Zooming ) Zoom Out (Zooming) Scale Next Chart Down (Scaling Charts)1 Scale Next Chart Up (Scaling Charts)1 Create Route (Create Route) Find/Follow Boat Toggles on/off (Auto Follow and Display Orientation) Launch Toolbox (Options Setting) Show/Hide Text Labels on Vector Chart (Vector Display) Show/(Attenuate less critical Targets3 )/Hide AIS Targets2 (AIS) Show/Hide Currents On Chart (Tides and Currents) Show/Hide Tides On Chart (Tides and Currents) University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 25 [Professional License-Project of the central navigation low-cost] 2017-2018 Print Prints your current view, using a simple dialog Route/Track/Waypoints/Layer- Manager (Route & Mark Manager) Toggle Track On/Off (Ship Track) About OpenCPN and Help File (Helpand Getting Started) Adjust Screen Brightness for Dawn/Dusk and Night viewing (Night Navigation) Show/Hide the Dashboard Plugin (Dashboard//) Show/Hide the Grib Overlay Plugin (Grib Weather//) World Magnetic Model (WMM) Drop Man Over Board marker (Man OverBoard) Always the far right Button A separate GPS status and Chart Orientation Status is normally in the upper right corner of the display, unless the floating ToolBar covers this position Course Up/North Up2 (Display Orientation) GPS status2 (GPS Status) No GPS data or position not available GPS fix, GPS position known and good for navigation Sat count not available Active/Valid GPS data + GPS reporting - satellites Active/Valid GPS data + GPS reporting - satellites Active/Valid GPS data + GPS reporting 10+ satellites University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain 26 ... cores at 1.2 GHz, for an increase in performance in the order of 50% compared to Pi and a WiFi chip and low-power bluetooth The GPS mouse The active GPS antenna is the easiest way to acquire