Steering System Prototype
Steering System Prototype
Abstract: This paper deals with development of an autopilot system for leisure yacht based on NMEA 2000 network and android
platform. The developed system can operate both for manual steering and automatic navigation mode. In automatic steering mode,
after manipulation of commands which are NMEA 0183 sentences by android platform, the developed system translates and sends
the packets through NMEA 2000 network. Then the controller which is connected to NMEA 2000 network receives the commands
and controls the boat’s rudder system automatically. The automatic steering mode is achieved by cooperation of two controllers; one
for controlling the rudder system, and the other for controlling the vessel’s heading. To control the vessel’s rudder and heading angle
two PID controllers are developed with an adjustable dead-band gain. Also, in order to eliminate the steady-state error occurred by
applying dead-band, an integral controller which specifically supervises the system’s behavior inside the dead-band area is developed.
In this paper, at the first stage, simulations are accomplished using computer in order to examine the feasibility of the proposed based
on simulation results. In the next step, the system on a real hydraulic steering model is implemented and at the end the performance
examination by implementing it on a real boat and doing test navigation is executed.
Keywords: Autopilot system for leisure yacht, Rudder control, Ship heading control, PID control with dead-band
Auto steering operation refers to controlling the vessel’s to implement their ideas. In our proposed method, the mariner
movement automatically without pilot’s involvement, and is can navigate the leisure vessel using tablet, smartphone, PDA
being accomplished by controlling the rudder angle based on or any other types of embedded systems which have android
the vessel’s heading angle. Referring to the statistics [1], each operating system installed. Also in this paper, besides having
year the demand to possess recreational marine crafts is auto-steering application on the android system, several
dramatically increasing, which has made this industry to be a navigational applications such as ECDIS, AIS and Radar can
stable, profitable and attractive market considered by be installed on the same platform which results in cut back on
governments worldwide. According to this, South Korea, as expenses by not buying separate monitoring systems. In large
world’s second largest merchant ship developer country [2] has vessels, the rudder controller is a continuous system
decided to enter to this market and help Korean small and while in small boats including leisure crafts, it is an on/off
medium-size businesses compete with companies around the controller due to the power saving purpose. The rudder system
globe. In recent years, the dramatic improvements in in a ship is usually based on hydraulic systems. The idea of
technology have had profound impacts on maritime industry auto-steering is that the controller receives the desired heading
which has resulted in development of intelligent systems for angle and forces the hydraulic actuators to perform in a way
vessels. As the use of tablets and smartphones has become rife, which the desired track being fulfilled and keep the vessel on
more companies are interested in introducing their product the course [4][5]. Since the controllers’ performance depends
converged with this new technology. For sure Android on sea environment, the vessel may have different responses
operating system, which is the most popular operating system under different circumstances. In order to prove the stability of
the proposed controllers under such circumstances, an
† Corresponding Author (ORCID: http://orcid.org/0000-0001-8305-268X): Division of Information Technology Engineering, Korea Maritime and
Ocean University, 727, Taejong-ro, Yeongdo-gu, Busan 606-791, Korea, E-mail: [email protected], Tel: 051-410-4345
1 Division of Control Engineering, Graduate School of Korea Maritime and Ocean University, E-mail: [email protected], Tel: 051-410-4923
2 Chief of R&D center, KUMHO Marine Tech. company, Email: [email protected] Tel:051-410-4345
This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/3.0), which permits unrestricted
non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
accomplishment of simulations and tests of the whole system in The sentences used in this study are as follows:
computer is of great importance. In the paper at first, the whole HTC: Heading Track Control (HTC) is the order to the
idea is implemented and tested in Simulink/Matlab software. In heading controller unit to set values, and control the heading of
the second stage a similar hydraulic rudder system is designed, the vessel.
connected to a NMEA 2000 network with a heading sensor and HTD: Heading Track Control Data (HTD) is the response from
examined by the proposed method on it. Third, the designed heading controller unit containing information about values,
system is installed on a leisure boat and the effectiveness of our modes and current status of the system.
proposed method is proved. At last, the results of onboard test THS: True Heading and Status (THS) provides information
is discussed. about actual vessel heading in degrees.
ROR: Rudder Order Status (ROR) is the order to the rudder
2. NMEA Network controller to control the rudder system of the vessel.
NMEA 2000 is a plug and play means of communication RSA: Rudder Sensor Angle Sentence (RSA) indicates the
between the electrical instruments in a vessel. Today, almost all rudder angle, measured by rudder angle sensor.
the pleasure vessels worldwide are using this network as a way
to connect vessels’ instruments together. In this study, we have 2.2 NMEA 2000
used both NMEA 0183 and NMEA 2000 network. As shown in
Figure 1, the Android platform sends and receives the data in Table 1: Used PGN numbers in this study
NMEA 0183 format and NMEA 2000 stack board translates PGN PGN Categor
Detail
Name Number y
them into NMEA 2000 format.
Rudder order command in
Rudder 127245 Steering direction or angle with
current rudder angle reading
Sends commands to, and
receives data from,
Heading heading control systems.
/Track 127237 Steering Allows for navigational
Control (remote) control of a
heading control system
and direct rudder control.
Heading sensor value with a
Figure 1: Data exchange between Android and NMEA network flag for True or Magnetic. If
the sensor value is Magnetic,
the deviation field can be
2.1 NMEA 0183 Vessel
127250 Steering used to produce a Magnetic
Heading
NMEA 0183 is a combined electrical and data specification, heading, and the variation
which through specific sentence formats makes it possible for field can be used to correct
the Magnetic heading to
marine electronic instruments to exchange data between each
produce a True heading.
other [7]. In NMEA 0183, only printable ASCII characters are
allowed and all settings and orders should be expressed by this
NMEA 2000 is a Plug and Play Communication which is
format. Figure 2 shows an example of a NMEA 0183 sentence.
being used to connect electronic instruments (Sensors, Displays,
It should be noted that the length of sentences varies based on
etc.) to each other within vessels. The NMEA 2000 packets are
different types of packets.
being transmitted through Controller Area Network (CAN Bus).
The NMEA 2000 messages are followed by a header file,
which specify the device which data should be transmitted to,
the priority field and PGN number. The PGN number indicates
the characteristics of the destination device and the protocol in
which the transmitted data should be interpreted. Table 1 is the
Figure 2: NMEA 0183 sentence example for GPS sentence list and description of the PGN numbers used in this study.
Journal of the Korean Society of Marine Engineering, Vol. 39, No.5, 2015. 6 578
Mohammadamin Beirami · Hee Yong Lee . Yung-Ho Yu
3. Overall schema of the system 8. Rudder angle sensor is connected to the rudder controller
Figure 3 illustrates the idea of whole auto-steering system. and rudder angle is converted by ADC and being reported
The orders will be collected from Android platform in NMEA to NMEA 2000 Network with PGN 127245.
0183 format and will be translated to NMEA 2000 PGN 9. NMEA 2000 Stack board receives the rudder angle sensor
numbers by NMEA 2000 Stack board. reports from NMEA 2000 network, and interprets them to
NMEA 0183 RSA Sentences.
10. In manual mode, the orders should be sent directly to the
rudder controller by android platform. In that case heading
controller is bypassed. Therefore, the android platform
sends ROR sentences to the NMEA 2000 stack board and
that unit translates them to PGN 127245 for NMEA 2000
network.
11. The rudder controller receives PGN 127245 commands
and urges the hydraulic unit to fulfill the orders.
Journal of the Korean Society of Marine Engineering, Vol. 39, No. 5, 2015. 6 579
Implementation of an Auto-Steering System for Recreational Marine Crafts Using Android Platform and NMEA 2000 Network
inside control valve directs the oil flow to the cylinder. Qiu, et
al. [11] described a hydraulic system from mathematical point
of view. In that paper it has been stated that the whole steering
system can be represented as a third order transfer function for
velocity control:
(1)
where is the rudder angular velocity, is the rudder angle, As Tzeng et al. described the Nomoto model [4], in vessel’s
U is input signal, T is time constant for the steering linkage maneuvering problem, only the horizontal motion is considered,
subsystem, is damping ratio for the valve subsystem, is which results in considering only surge, sway and heave
natural frequency for the valve subsystem and K is overall gain. movements. Therefore we have
The aforementioned equations for further simplification can be
(6)
written as a first-order equation for velocity control and a
second-order system for position control as follows: (7)
(8)
(3)
Where X,Y and N are surge, sway and yaw motions, m is the
(4) mass of the ship, Iz is the moment of inertia to the Z axis, u, v
1
and r are the surge, sway and yaw speed, and , , are surge,
As said before, in small pleasure boat, hydraulic system is sway and yaw acceleration. In considering only the steering
on/off by rudder controller, so when the system is off and turns motion, surge motion is separated from steering motion and
on again, there is a delay time to start set up and pumping again especially, by neglecting the sway motion in Equation (7)
which means each time there will be a delay time which should and (8) and by taking the Laplace Transform of yaw and surge
be considered. In this case the Equation (3) can be rewritten by: with considering a constant speed, a second order system is
modeled as
(5)
(9)
Journal of the Korean Society of Marine Engineering, Vol. 39, No.5, 2015. 6 580
Mohammadamin Beirami · Hee Yong Lee . Yung-Ho Yu
which is sometimes being called a three-term control, three controller must be implemented as a supervisory control to
separate constants are working together to minimize the error control the Vessel’s rudder and heading’s behavior in the dead-
between desired commands and the actual system response. band Zone. Supervisory controller or Ramadge-Wonham
In digital control, algebraically, digital PID control algorithm framework is a method in which the behavior of the system is
can be implemented using equation below: being restricted by a controller. In this work, we implemented a
separate integral controller to do the job. This idea has been
1 1 2 1 shown in Figure 8.
1 (11)
2
Journal of the Korean Society of Marine Engineering, Vol. 39, No. 5, 2015. 6 581
Implementation of an Auto-Steering System for Recreational Marine Crafts Using Android Platform and NMEA 2000 Network
cooperate together to fulfill the heading orders. The heading As mentioned earlier in order to design a suitable controller
degree commands are specified by the mariner. The heading for our work, we have simulated mathematical model of our
controller unit receives the heading commands and based on system which we described previously, in Matlab/Simulink
the current heading angle, manipulates rudder angle commands software. In this chapter we will discuss about the system’s
automatically to decrease the error between desired heading response under different circumstances.
angle and current heading angle. Heading sensor and rudder Figure 11 shows the computer simulation block diagram for
degree sensor also send their information to the controllers to rudder control in manual steering mode. Figure 12, illustrates
indicate the current rudder and heading position. This idea has the responses of the rudder in manual mode, where only the
been represented in Figure 10. rudder actuator is being controlled.
As seen in Figure 12, the gray boundary indicates the dead-
band zone, where the error must be disregarded. Therefore, the
system response in presence of dead-band block and without
supervisory controller inside dead-band is experiencing a huge
steady-state error. On the other hand, if we apply an integral
controller as a supervisory controller inside dead-band, the
system response would be same as the stretch line in Figure 12.
Figure 13 depicts the computer simulation in automatic
steering mode, or heading control where the integral
Figure 10: Block diagram of automatic steering mode
supervisory controller is added inside dead-band. In automatic-
steering mode, the rudder system’s response is shown in
7. Computer Simulation and Experiment
Figure 14. Figure 15 also shows the heading behavior under
7.1 Computer Simulation
different conditions. Figure 15 shows that the heading
behavior in presence of dead-band zone with integral
supervisory controller is similar to its behavior in absence of
the dead-band zone, however in absence of dead-band zone, in
order to have this performance, the rudder fluctuates severely
as shown by red line in Figure 14. When there is no dead-band
in heading controller, if there is even a little error, the
Figure 11: Computer simulation for manual steering mode controller tries to overcome with that error , however most of
the time the system response will not be error-free. In this case,
chattering occurs to make heading to be error-free. To solve
this problem, the dead-band was added which the blue line in
Figure 14 is the rudder response after applying dead-band
block. As it could be seen, steady-state error is still a big
problem which could be solved by an integral supervisory
controller. The green line in Figure 14 is the response of the
Figure 12: Rudder response in manual mode rudder when an integral controller is applied inside the dead-
Journal of the Korean Society of Marine Engineering, Vol. 39, No.5, 2015. 6 582
Mohammadamin Beirami · Hee Yong Lee . Yung-Ho Yu
Figure 14: Rudder response in automatic-steering mode Figure 16: Rudder model connected to NMEA 2000
From system responses, it could be concluded that the Figure 17: Controller on an embedded system
satisfactory method would be having a dead-band block for
both heading and rudder controller with an integral supervisory
controller inside the dead-band zone.
7.2 Experiment
As described before, in this study we also developed a
hydraulic rudder actuation system to take a HIL (Hardware
Figure 18: NMEA 2000 stack board
in Loop) test the whole system and check the possible
problems before installing it on a real boat. The designed
rudder model was previously shown in Figure 4. We
designed a real NMEA 2000 network and connected our
model to that as shown in Figure 16.We also implemented
our control algorithm on an embedded system (Figure 17)
and designed NMEA 2000 Stack board (Figure 18) to
translate NMEA 0183 to NMEA 2000 and Vice versa. Also
for manipulating rudder commands or heading commands,
we designed software (Figure 19) on computer, which
simulates the responsibilities of an android platform. After
operation and witnessing the data flow in the system, we
implemented our system on a real pleasure boat. Figure 19: Android software simulator
Journal of the Korean Society of Marine Engineering, Vol. 39, No. 5, 2015. 6 583
Implementation of an Auto-Steering System for Recreational Marine Crafts Using Android Platform and NMEA 2000 Network
Journal of the Korean Society of Marine Engineering, Vol. 39, No.5, 2015. 6 584
Mohammadamin Beirami · Hee Yong Lee . Yung-Ho Yu
implement a dead-band block inside the controllers. Conference on Systems, Man and Cybernetics, vol. 1, pp.
Nevertheless, the PID controller with dead-band block was not 669-674, 2006.
a complete solution, as it had a huge steady state error inside. [5] R. Fraga and L. Sheng, “Non-linear and intelligent
Thus, the final decision for the controller was 2 PID controllers, controllers for the ship rudder control,” Proceedings of the
each with a dead-band zone and supervisory integral controllers IEEE Electronics, Communications and Photonics
which control the system’s behavior inside the dead-band and Conference, pp. 1-5, 2011.
reject errors as much as possible. Due to the power saving [6] D. Gerr, Boat Mechanical Systems Handbook: How to
issues, it was decided that the rudder controller to be an on/off Design, Install, and Recognize Proper Systems in Boats,
controller. After successful results in computer simulation, we McGraw Hill companies, 2009.
implemented the proposed controller on an embedded system [7] Magellan satellite access technology, “ Data Transmission
and we did testing on a steering system model described in Protocol Specification for Magellan Products-Version
earlier chapters and after the test on real steering model was 2.11,” Online: http://www.gpsinformation.org/mag-proto-
successful, the system was installed on a real pleasure boat. 2-11.pdf , Acessed March 19, 2003.
The navigation data also were gathered during the test [8] T. Perez, Ship Motion Control: Course Keeping and Roll
navigation. By comparing sent orders with data collected Stabilisation Using Rudder and Fins, Springer Books,
during the navigation, we concluded that the designed Auto- 2005.
steering system is working properly both in manual and [9] J. E. Woo and J. H. Kim, “A study on translational motion
automatic steering modes and it is able to be commercialized. control in integrated control system for ship steering
motion,” Journal of the Korean Society of Marine
Acknowledgement Engineering, vol. 39, no. 1, pp. 32-44, 2015.
This paper is written based on the project titled [10] H. Qiu, Q. Zhang, J. F. Reid, and D. Wu, Modeling and
“development of an intelligent autopilot system based on Simulation of an Electrohudraulic Steering System, Paper
NMEA 2000, capable of protecting small fishing and leisure number: 993076, ASAE/CSAE-SCGR Annual
vessels from collision and standing”, supported by ministry of International Meeting, Toronto, 1999.
science, ICT and future planning of republic of Korea. The [11] G. F. Franklin, J. D. Powell, and M. L. Workman., Digital
companies dealt with this project were Kumho Marine Control and Dynamic Systems, 3rd Edition, World Student
Technology, Korea Maritime and Ocean University R&D Series, 1997.
foundation and Korea Marine Equipment Research Institute
(KOMERI).
References
[1] National Marine Manufacturers Association. “Top 20
Markets by FAS Value.”, Pleasure Boat International
Resource Guide, A Reference for U.S. Exporters Journal,
p. 5, 2014.
[2] Barry Rogliano Group, “Shipbuilding in South Korea”,
2015 Annual Review - Shipping and Shipbuilding
Markets Journal, p. 18, 2015.
[3] I. Lunden , Tech Crunch Website Crunch, Accessed 23,
February, 2014. http://techcrunch.com/2014/02/23/kantar-
smartphone-sales-android/.
[4] C. Y. Tzeng, S. D. Lee., Y. L Ho, and W. L. Lin,
“Autopilot design for Track-keeping and Berthing of
small boat.” Proceedings of the IEEE International
Journal of the Korean Society of Marine Engineering, Vol. 39, No. 5, 2015. 6 585