(Luận văn) thiết kế và xây dựng hệ thống định vị dẫn đường tàu cá chi phí thấp

26 0 0
(Luận văn) thiết kế và xây dựng hệ thống định vị dẫn đường tàu cá chi phí thấp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[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  lu ĐỀ TÀI NGHIÊN CỨU KHOA HỌC HỢP TÁC an n va Co-operative research project between BVU and UBO to gh tn TÊN ĐỀ TÀI: p ie 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”) nl w d oa 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) an lu nf va 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 z at nh oi lm ul z Bà Rịa-Vũng Tàu, năm 2018 m co l gm @ an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an The training of the professional license Marine Electronic Systems (SEME) includes a training period of 490 hours n va to p ie gh tn 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 d oa nl w 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 nf va an lu z at nh oi lm ul z m co l gm @ an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] 2017-2018 Summary lu an 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 n va I Presentation of the project to 7 8 9 p ie gh tn Opencpn GE2KAP Google Earth Openseamap PuTTY VncViewer oa nl w d IV The realization an lu 10-20 10-13 14 15-16 16-17 17-20 V Conclusion 21 nf va 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 z 22 gm @ VII Appendices z at nh oi lm ul VI Bibliography m co l 23-25 an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] I 2017-2018 Presentation of the project The interest of this project lu an n va 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 p ie gh tn to w d oa nl They also have no weather systems and the price for a navigation system is very elevated compared to the average budgets of the Vietnamese nf va an lu The project team z at nh oi lm ul UBO Manager : Claude VO BVU BVU z @ Supervisor and Manager : Than Le VIET m an Lu Student : Sylvain MAREST co UBO l gm Supervisor and Manager : Tran LE NGOC va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va Monday Tuesday Wednesday Thursday Friday Week 1-2 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 9h-16h30 gh tn to Weeks p ie Week 3-4 Week 7-9 9h-16h30 d Week 10-11 oa nl w Week 5-6 nf va an lu 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 » Create a map of the east coast of Vietnam in kap format with the software GE2KAP and Google Earth z Tests in real condition on a boat m co l gm @ Week 10-11) z at nh oi Week 7-9) lm ul Week 1-2) an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu Broadcom BCM2837 64 bit Quad Core CPU at 1.2GHz, 1GB RAM LAN Port (RJ45) an n va to CSI Camera Port Composite Video and Audio Output Jack Full Size HDMI Video Output p ie gh tn Micro USB Power Input w d oa nl 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 lu nf va an 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 z at nh oi lm ul The GPS mouse z @ m co l gm 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 an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] The module NEO-6M 2017-2018 GPS_NEO-6M VCC GND GPS RXD GPS TXD GPS PPS UART EEPROM 24C32 lu an n va 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 p ie gh tn to inch screen pi d oa nl w nf va an lu z at nh oi lm ul z 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 m co l gm @ an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] 2017-2018 III Computer part Opencpn lu an n va 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 gh tn to p ie 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 d oa nl w GE2KAP nf va an lu z at nh oi lm ul z m co l gm @ 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 an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] 2017-2018 Google Earth lu an n va ie gh tn to p Google Earth is a software, owned by Google Company, allowing a visualization of the earth with an assembly of aerial or satellite photographs d oa nl w Openseamap nf va an lu z at nh oi lm ul z @ m co l gm 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 an Lu va n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu VncViewer an n va p ie gh tn to d oa nl w nf va an lu z at nh oi lm ul 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 z m co l gm @ an Lu va 10 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an 4) Capture exactly the window rectangle, save and give a name to the JPEG file (eg VietNam jpg) n va gh tn to 5) Open the template gpx file with Notepad Type the latitude and longitude in both lines p ie GPX File d oa nl w latitude and longitude nf va an lu z at nh oi lm ul 6) Save and give the same name as the image (eg VietNam.jpx) m co l gm @ GE2KAP by double-clicking z 7) Place the jpg image of the card and the jpx file in the KAP folder and start an Lu va 12 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va p ie gh tn to d oa nl w nf va an lu z at nh oi lm ul z m co l gm @ an Lu va 13 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu 4°) Download free map on Openseamap an n va 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 to p ie gh tn Then in Opencpn, open the toolbox and go to "cards / data" then add the folder.kap where is the file unzip d oa nl w Here is the result : nf va an lu z at nh oi lm ul z m co l gm @ an Lu va 14 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an I can finally control the screen of my raspberry with my laptop n va p ie gh tn to d oa nl w nf va an lu z at nh oi lm ul z m co l gm @ an Lu va 15 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va ie gh tn to p To check if the connection is established, check "open the NMEA data display window" NMEA data appears which confirms that the connection is established d oa nl w nf va an lu z at nh oi lm ul z m co l gm @ an Lu va 16 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va p ie gh tn to nl w Installation the module NEO-6M d oa 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 an lu nf va 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 z at nh oi lm ul Cable TTL REV 232 3V3 z m co l gm @ an Lu va 17 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [Professional License-Project of the central navigation low-cost] 2017-2018 lu an va RXD n TXD ie gh tn to p VCC w d oa nl PPS an lu nf va GND lm ul Three possible technical solutions with price estimation z at nh oi Not knowing how the boat is equipped for system installation I propose to make a cost estimate for possible technical solutions z m co l 3) By replacing the GPS mouse with the NEO-6M gm @ 1) If the boat has 220 volts AC 50 Hz 2) If the boat has not 220 volts AC 50 Hz an Lu va 18 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu 220V AC an n va tn to Estimated cost : p ie gh References Quantities Price (Euros) Price (Dong) d oa nl w Components 001435 Raspberry pi 3+HDMI cable+16G micro SD card+5 Volts Power charger Model B+ 67,72€ 1828754.36 14,84€ 400748.89 2,51€ 67695.88 15,37€ 414536.11 nf va an lu Television E&M The GPS mouse BT-708 U-G7020-KT z at nh oi lm ul The USB mouse z gm @ Total 100,44€ 2712346.25 m co l an Lu va 19 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va p ie gh tn to 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 References Quantities Price (Euros) Price (Dong) d oa nl Components w Estimated cost : 42,00€ 3,31€ 89272.25 14,84€ 400748.89 2,51€ 67695.88 15,37€ 414536.11 D8739 Raspberry pi 3+16G micro SD card Model B+ The USB mouse BT-708 U-G7020-KT z The GPS mouse z at nh oi Converter DC-DC nf va an lm ul lu 7-inch pi display 1132759.69 78,03€ 2107172.22 m co l gm @ Total an Lu va 20 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 Câble TTL 232 R3V3 Module NEO-6M Raspberry pi USB mouse 7-inch pi display lu an n va Converter 12V to 5V to gh tn Estimated cost : References Quantities Price (Euros) Price (Dong) p ie Components 8,77€ 236830.71 NE0-6M 8,71€ 235210.43 42,00€ 1132759.69 3,31€ 89272.25 14,84€ 400748.89 2,51€ 67695.88 7,51€ 200 132,86 d oa nl Case of proctection PL2303TA lm ul w TTL 232 R3V3 cable D8739 Raspberry pi 3+16G micro SD card Model B+ The USB mouse NEO-6M z The module z at nh oi Converter DC-DC nf va an lu 7-inch pi display m co l gm @ an Lu va 21 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va This internship was a unique experience for me This allowed me to familiarize myself with a country that I already knew tn to p ie gh 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 d oa nl w 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 lu nf va an 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 z at nh oi lm ul z m co l gm @ an Lu va 22 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu Link an va n https://deusyss.developpez.com/tutoriels/RaspberryPi/Pyt honEtLeGpio/ p ie gh tn to w Link d oa nl https://www.ublox.com/sites/default/files/products/documents/NEO6_DataSheet_%28GPS.G6-HW-09005%29.pdf nf va an lu Link Link z at nh oi lm ul https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ z https://www.tyboat.com/achat/P-42963-mc-marine_antennegps-active-mc-marine-gp-01-usb-167-canaux-sky-traq-venus8.html m co l gm @ an Lu va 23 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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 lu an n va 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 to p ie gh tn 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 d oa nl w 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: nf va an lu Traditional z at nh oi z Journeyman Flat lm ul Journeyman gm @ m co l 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 an Lu va 24 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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) : lu an Zoom In (Zooming ) n va tn to Zoom Out (Zooming) p ie gh Scale Next Chart Down (Scaling Charts)1 nl w Scale Next Chart Up (Scaling Charts)1 d oa Create Route (Create Route) nf va an lu Find/Follow Boat Toggles on/off (Auto Follow and Display Orientation) Launch Toolbox (Options Setting) lm ul Show/Hide Text Labels on Vector Chart (Vector Display) z at nh oi Show/(Attenuate less critical Targets3 )/Hide AIS Targets2 (AIS) z Show/Hide Currents On Chart (Tides and Currents) m co l gm @ Show/Hide Tides On Chart (Tides and Currents) an Lu va 25 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si [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//) lu Show/Hide the Grib Overlay Plugin (Grib Weather//) an va World Magnetic Model (WMM) n ie gh tn to Drop Man Over Board marker (Man OverBoard) Always the far right Button p 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 w d oa nl Course Up/North Up2 (Display Orientation) an lu GPS status2 (GPS Status) nf va No GPS data or position not available lm ul GPS fix, GPS position known and good for navigation Sat count not available z at nh oi Active/Valid GPS data + GPS reporting - satellites Active/Valid GPS data + GPS reporting - satellites z m co l gm @ Active/Valid GPS data + GPS reporting 10+ satellites an Lu va 26 n ac th University of Baria Vung Tau, 80 Truong Cong Dinh, Campus 3, Vietnam MAREST Sylvain si

Ngày đăng: 17/07/2023, 09:44