{"id":50,"date":"2022-04-20T11:26:47","date_gmt":"2022-04-20T14:26:47","guid":{"rendered":"https:\/\/projects.upei.ca\/towtankcontrol\/?page_id=50"},"modified":"2022-04-20T16:55:26","modified_gmt":"2022-04-20T19:55:26","slug":"control-system","status":"publish","type":"page","link":"https:\/\/projects.upei.ca\/towtankcontrol\/control-system\/","title":{"rendered":"Control System"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited.jpg\" alt=\"\" class=\"wp-image-233\" width=\"415\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited.jpg 1078w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited-300x300.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited-1022x1024.jpg 1022w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited-150x150.jpg 150w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-dyno-1-edited-768x769.jpg 768w\" sizes=\"(max-width: 1078px) 100vw, 1078px\" \/><figcaption>Mounted dynamometer and model hull preparing for test run<\/figcaption><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1024x768.jpg\" alt=\"\" class=\"wp-image-17\" width=\"551\" height=\"413\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1024x768.jpg 1024w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-300x225.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-768x576.jpg 768w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1536x1152.jpg 1536w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-2048x1536.jpg 2048w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-400x300.jpg 400w\" sizes=\"(max-width: 551px) 100vw, 551px\" \/><figcaption>PLC control panel mounted on tank<\/figcaption><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>The final design for the project was a Siemens Programmable Logic Controller (PLC) system. This is a small industrial automation device, commonly used to control large electrical systems such as lighting and air control in department stores or large piping networks. The controller is fully programmable and adaptable to countless applications. Our system required that the controller collect data continuously from the dynamometer sensors, while still prioritizing the user commands recognized by the external  touch screen. This means that the user can simply set the test velocity and start the test and the controller program will automatically conduct the test and collect data unless the test is interrupted by a user input or a safety switch. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using the Tow Tank<\/h2>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still-1024x576.jpg\" alt=\"\" class=\"wp-image-228 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still-1024x576.jpg 1024w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still-300x169.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still-768x432.jpg 768w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still-1536x864.jpg 1536w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-still.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>The tow tank begins each test from the home position at the bottom end of the tank.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving-1024x576.jpg\" alt=\"\" class=\"wp-image-229 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving-1024x576.jpg 1024w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving-300x169.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving-768x432.jpg 768w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving-1536x864.jpg 1536w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-moving.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">Once the user starts the test from the system touch screen, the motor then tows the dynamometer down the tank. The dynamometer sensors begin collecting data once the model hull reaches a steady, constant speed.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped-1024x576.jpg\" alt=\"\" class=\"wp-image-230 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped-1024x576.jpg 1024w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped-300x169.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped-768x432.jpg 768w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped-1536x864.jpg 1536w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/hull-end-view-stopped.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">Once the model boat reaches a specified distance from the end of the tank, the motor is stopped and the boat is brought to a halt. The data from the test is then exported from the system and the motor automatically tows the model hull back to the starting position, ready for another test.<\/p>\n<\/div><\/div>\n\n\n\n<p><a>&nbsp;<\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 33%\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1024x768.jpg\" alt=\"\" class=\"wp-image-17 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1024x768.jpg 1024w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-300x225.jpg 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-768x576.jpg 768w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-1536x1152.jpg 1536w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-2048x1536.jpg 2048w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/Wave-Tank-Image-400x300.jpg 400w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-text-align-center has-large-font-size\">The PLC Cabinet<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"468\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-31.png\" alt=\"\" class=\"wp-image-217 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-31.png 627w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-31-300x224.png 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">Inside the PLC cabinet you can see the vital components of the control system.<\/p>\n\n\n\n<ul><li>The S7-1200 CPU is the systems PLC. This is where the whole system is controlled from, where the program is uploaded and stored, and where test data is read and transmitted.<\/li><li>The analog input module: allows the system to read measurements in a range of values instead of 1 or 0. This includes the pitch, yaw, heave, and sway of the model hull.<\/li><li>The safety circuit terminal blocks allow for easy power cutoff to the system is the emergency stop is pressed or one of the emergency limit switches is triggered.<\/li><\/ul>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The Limit Switches<\/h2>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-media-text is-stacked-on-mobile\" style=\"grid-template-columns:39% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"173\" height=\"232\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-2.jpg\" alt=\"\" class=\"wp-image-215 size-full\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">To allow the program controller to know where the model boat hull is in the tank, four limit switches were installed in the system. Limit switches are switches that detect contact. When a force is applied to the wheel, the switch stops power flow through it. <\/p>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:56% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"310\" height=\"229\" src=\"http:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-1.jpg\" alt=\"\" class=\"wp-image-204 size-full\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-1.jpg 310w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/image-1-300x222.jpg 300w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">The motor carriage moves along a beam. the four limit switches are positioned on the beam so that the arm is tripped by the carriage when it reaches it.<\/p>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Bringing the System Together<\/h2>\n\n\n\n<p>Bellow is a diagram which shows the roles and relationships of all of the components of this project.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"601\" src=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/PLC-Schematic-Page-1.png\" alt=\"\" class=\"wp-image-196\" srcset=\"https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/PLC-Schematic-Page-1.png 837w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/PLC-Schematic-Page-1-300x215.png 300w, https:\/\/projects.upei.ca\/towtankcontrol\/files\/2022\/04\/PLC-Schematic-Page-1-768x551.png 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The final design for the project was a Siemens Programmable Logic Controller (PLC) system. This is a small industrial automation device, commonly used to control large electrical systems such as lighting and air control in department stores or large piping networks. The controller is fully programmable and adaptable to countless [&hellip;]<\/p>\n","protected":false},"author":306,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"_links":{"self":[{"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/pages\/50"}],"collection":[{"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/users\/306"}],"replies":[{"embeddable":true,"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":8,"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/pages\/50\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projects.upei.ca\/towtankcontrol\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}