DOI QR코드

DOI QR Code

Design and Implementation of Wireless Lighting LED Controller using Modbus TCP for a Ship

Modbus TCP를 이용한 선박용 무선 LED 제어기의 설계 및 구현

  • Jeong, Jeong-Soo (Division of Electronics and Communication Engineering, Graduate school of National Korea Maritime and Ocean University) ;
  • Lee, Sang-Bae (Division of Electronics and Communication Engineering, National Korea Maritime and Ocean University)
  • 정정수 (한국해양대학교 전자통신공학과 대학원) ;
  • 이상배 (한국해양대학교 전자통신공학과)
  • Received : 2017.09.11
  • Accepted : 2017.12.20
  • Published : 2017.12.31

Abstract

As a serial communications protocol, Modbus has become a practically standard communication protocol and is now a commonly available means of connecting industrial electronic devices. Therefore, all devices can be connected using the Modbus protocol with the measurement and remote control on ships, buildings, trains, airplanes and more. The existing Modbus that has been used is based on serial communication. Modbus TCP uses Ethernet communication based on TCP / IP which is the most widely used Internet protocol today; so, it is faster than serial communication and can be connected to the Internet of Things. In this paper, we designed an algorithm to control LED lighting in a wireless Wi-Fi environment using the Modbus TCP communication protocol, and designed and implemented a LED controller circuit that can check external environmental factors and control remotely through the integrated management system of a ship. Temperature, humidity, current and illuminance values, which are external environmental factors, are received by the controller through the sensors, and these values are communicated to the ship's integrated management system via the Modbus protocol. The Modbus can be connected to Master devices via TCP communication to monitor temperature, humidity, current, illuminance status and LED output values, and also users can change the RGB value remotely in order to change to the desired color. In addition, in order to confirm the implementation of the controller, we developed a simulated ship management system to monitor the temperature, humidity, current and illumination conditions, and change the LED color of the controller by changing the RGB value remotely.

Modbus는 각종 자동화 장비 감시 및 제어에 전 세계적으로 널리 사용되고 있는 자발적 산업표준 통신 프로토콜이다. 그러므로 선박, 빌딩, 기차, 비행기 등 Modbus를 이용하는 모든 장비들과 연결이 가능하여 환경변수의 측정 및 원격제어가 가능하게 된다. 기존의 Modbus는 Serial 통신을 기반으로 사용되어 왔으며, Modbus TCP는 오늘날 인터넷 프로토콜로 가장 많이 쓰이는 TCP/IP를 기반인 Ethernet 통신을 이용하므로 Serial 통신에 비해 빠르고 사물인터넷(Internet of Things) 환경에 연결이 가능하다. 본 논문에서는 Modbus TCP 통신 프로토콜을 이용하여 무선 Wi-Fi 환경에서 LED 조명을 제어하기 위한 알고리즘을 설계하고, 선박의 통합관리 시스템에서 외부 환경요인 확인 및 원격제어가 가능한 LED 제어기 회로를 설계 및 구현 하였다. 외부 환경요소인 온도, 습도, 전류, 조도 값들은 센서를 통해 제어기로 받아들이며 이 값들은 Modbus 프로토콜을 통해 선박의 통합관리 시스템에 알리게 된다. Modbus는 TCP 통신으로 Master 기기와 연결 되어 온도, 습도, 전류, 조도 상태 모니터링 및 LED 출력 값 확인이 가능하고 또한 사용자가 원격으로 RGB 값을 변경할 수 있기 때문에 원하는 색으로 변경이 가능하게 된다. 제작한 제어기의 구현 확인을 위해 모의 선박 관리 시스템을 만들어 온도, 습도, 전류, 조도 상태를 모니터링 하고, 원격으로 RGB 값을 변경 하여 제어기의 LED 조명색상이 변화 되는 것을 확인 하였다.

Keywords

References

  1. Comfile Technology(2015), "Manual of CUBLOC BASIC LANGUAGE", pp. 203-204.
  2. Espressif Systems IOT Team(2015), "ESP8266EX Data sheet", pp. 6. "http://bbs.espressif.com"
  3. Holler et al.(2014), From Machine-to-Machine to the Internet of Things: Introduction to a New Age of Intelligence, Elsevier, pp. 3-5.
  4. IT tips.(2013), "Modbus (Modbus) 프로토콜의 이해". "http://ymkimit.blogspot.kr"
  5. Jeong, J. S.(2015), "Design and Implementation of Sensibilities Lighting LED Controller using Modbus for a Ship", Journal of Navigation & Port Research, Vol. 39, No. 4, pp. 299-305. https://doi.org/10.5394/KINPR.2015.39.4.299
  6. Jung, Y. H.(2009), "A Basic Study on the R. G. B LEDs for the Natural Color Realization", The Korea Institute of Illuminating and Electrical Installation Engineers, 2009 Autumn Annual Conference, pp. 3-6.
  7. Kim, J. S and Kim, K. S.(2013), "An Analysis on the Policy Trends of LED-Lighting Policy in Major Countries", 2013 Electronics and Telecommunications Trends, Vol. 28, No. 6, pp. 192-205.
  8. Klaus Schwab.(2016), "The Fourth Industrial Revolution: what it means, how to respond", World Economic Forum, "https://www.weforum.org"
  9. Modbus.org.(1996), "Modicon Modbus Protocol Peference Guide", "http://modbus.org"
  10. ProtoConvert(2011), Modbus Tutorial, "http://www.protoconvert.com"
  11. Seol, I. S.(2013), "Design of modbus protocol converter for national protocol in lighting control", Graduate School of Chosun University.