California State University, Northerner ECHOES Summer 2014 Automatic Depth Control System For A Robot Submarine Background: Robot An automatic depth control system for a robot submarine is shown below. When the gain of the stern plane actuator is one, the vertical velocity is mom/s. Part One: transfer function of system in terms of the gain K. H(S) =Y(S)/R(S) = When K=l Part Two: differential equation relating input and output.

Part Three: The transfer function of this system contains the constant K (gain) as one of its parameters. In this project we are simulating the step response for K=O. I, K=II and K=OHIO.The effects of the varying gains will be analyzed by plotting the input, output and error of the system for each of the three different gains.

When K=O. I This transfer function is modeled by the following Smiling diagram. Graph of Input and Output for K=O. I Graph of Error signal When K=II Graph of Input and Output when K=II. Graph of error signal when K=II When K=OHIO Graph of input and output when K= 100. Graph of error signal when K=OHIO Part Four: In this section of the project we determine if the system reaches the desired steady state and if so how long does it take.

We will also determine poles for and specify which systems are stable.Then I will make a recommendation of which K value to use. The poles of this system and the graph are found using the following MUTUAL code: 0. 2 0. 5 1.

4 0. 1]); pizza(H); . 2 0. 5 1. 4 0.

1]) poles ? -0. 1718+ 1. Iii -0. 1718- 1. 05451 -0.

0730 + 0. 00001 Since all the poles are on the left hand side, this system is stable. Based on the graph generated by the Smiling model the system takes at least 10 seconds to reach the desired steady state. The poles and graph of this system are found by using the following MUTUAL code: 20 5041 10]); 5041 10]) Poles= -0. 9783 + 0.

40621 -0. 783 - 0. 40621 -0. 244 + 0. 00001 Since all the poles are in the left hand plane this system is stable.

Based on the graph of the Smiling model this system reaches its desired steady state around 5. 5 seconds. When K=OHIO 200 500401 100]); 500 401 100]) -0. 9996 + 0. 13951 -0.

9996 - 0. 13951 -0. 4884 + 0. 00001 Since all the poles are in the left hand plane, the system is stable. Based on the graph of the Smiling model the system reaches its desired steady state after 4.

5 seconds. Conclusion: I would recommend a gain of 100 (k=100) because it reaches its desired steady state the quickest during the step response.