### Develop mathematical equations for the motor system

Assignment Help MATLAB Programming
##### Reference no: EM131266817

Assignment: Modelling and Simulation with MATLAB

Question 1 DC Motor System

Modelling a Brushed DC Motor System

DC motors are widely used in control of marine vehicles (ROVs/AUVs) in maritime industry and in design and control of robots in robotics as well as applications in other industries. Attached datasheet is for several Maxon dc (direct current) motors (permanent magnet dc motors). Select one motor from the datasheet, one tachometer or encoder and gearbox. A motor servo amplifier is used to control the motor and has a gain of K. of which value you should select and its input is in the range of 0 to 10 V.

- Develop mathematical equations for the motor system to relate the input voltage to armature current, shaft speeds (including main shaft's speed and gearbox's speed) and angular displacement/s;

- Write the transfer function 1) between the shaft speed and input voltage, 2) between the shaft angle and the input voltage;

- Write a state space model; and

- Draw a block diagram model.

1.2 MATLAB Programming

Make MATLAB programs to solve the above developed mathematical equations and to plot the following variables vs time: input voltage, armature current, speed/s and shaft angle/s.

Question 2 Ship Manoeurving System

1 Modelling of Ship's Hull Manoeuvring Dynamics

The model scaled vessel named Hoorn is shown in Figure 2. The vessel has twin propellers driven by two separate motors, and a rudder driven by a servo motor. The vessel turns in three ways: 1) by rudder only, 2) by twin propellers only, and 3) by both rudder and twin propellers.

(1) Develop a mathematical model for the ship hull manoeuvring dynamics (turning motion) to relate the ship course (yaw, Iv), yaw rate (r), rudder angle (8) and propeller speeds (n i and n2). The vessel goes forward when the port propeller runs counter-clockwise and the starboard propeller runs clockwise, and the vessel reverses when the port propeller runs clockwise and the starboard propeller runs counter-clockwise. Figure 2 Model scaled vessel Hoorn with twin propellers and rudder (SV = servo motor)

Use the following numerical values:
- Moment of inertia about z-axis (Jr): 22.5 [kgm2];

- Distance from the rudder to G: 1085 [mm];

- Distance between twin propellers: 118 [mm];

- The mass of vessel: 63.4 [kg];

- The maximum speed of propeller: 1000 [RPM];

- The maximum drag force generated by each propeller is assumed to be 50 N;

- The water resistance torque coefficient between the hull and water is Kδ = 6.5 Nm/rad/s;

- The rudder moment constant is Kδ = 2.0 Nm/rad (the rudder turning torque is assumed to be proportional to the rudder angle, i.e. To = Kδδ Nm);

- The equations for trajectory (assume a value of the ship speed) are = usinΨ + vcosΨ
St = u cosy/ - v sin NJ (where u is surge velocity [m/s], and v is sway velocity [m/s], x and y are positions in x-axis and y-axis, respectively).

(2) Represent the derived equation's in the following forms:

- Transfer function R(s)/A(s) when the vessel turns by the rudder only;
- Transfer function R(s)/N(s) when the vessel turns by the propellers only, running at the same speeds (8 = 0, n1 = n2 = n);
- A state space model; and
- A block diagram model.

2.2 MATLAB Programming

Make MATLAB program/s to solve the differential equations you developed in 2.1 by
- MATLAB built-in solver;
- A numerical integration method
In your program, write codes to plot the following variables:
- The yaw rate r(t) vs time t;
- The yaw angle w(t) vs time t;
- The trajectory of the vessel.

#### Generate a sample of the exponential distribution

MS455/MS555 Project - Simulation in Finance. Use the inverse transforms method to generate a sample of the exponential distribution with parameter θ, which is given by its de

#### Create a script that creates a random vector

Create a function called "hollowSphere" that calculates the volume using the formula shown in Problem I. Then write a script that prompts the user for the value of the inner

#### Write mass balance equations for the remaining reactors

Write mass balance equations for the remaining 4 reactors. Put the known values in the 5 equations and convert each equation into a form where left hand side contains all th

#### Fit the exponential function to the relaxation data

Fit the exponential function to the relaxation data and report the filename as well as the A, tau and B values and run all 3 functions in sequence to analyze ALL data

#### Discuss how you will obtain the bode plot

A typical industrial robot has degrees of freedom. A unity feedback position control system for a force -sensing joint has the following transfer function. Discuss how you w

#### Derive and solve a model of an insulated water tank

Determine the steady state conditions at t

#### What is the minimum snr for a sinusoid in white noise

What is the minimum SNR for a sinusoid in white noise to be detectable using frequency domain techniques (Periodogram and Blackman-Tukey)? Do the results depend on frequency?

#### Matlab program which will determine your vehicle fuel usage

Create a MATLAB program which will determine your vehicle fuel usage (MPG, miles/gallon) rating for a user defined number of trips ('for' repetition structure).

### Reviews

#### len1266817

11/5/2016 2:45:40 AM

Please Confirm the task with appropriate price quote Please check requirements Comments Hello, assignment2 is my actual problem of assignment. assignment1 and assignment1ans is reference assignments from which you may get some clue. Please add theory as well. The due date is at and before 20:00 hours as per AETZ. Refrencing shoulb be done as per harvard style Also want .m and .smk file I need you to solve all questions of assignment2. I have equation for question 1 means model

### Write a Review 