Electrical Engineering Department
Faculty of Engineering
                                               Alexandria University
                                               Egypt
       Year: 4th Communications          SEMESTER: I, 2023/2024
     Course: Automatic Control Systems           Code: EE 391
                    Lab Assignment 01: hybrid electric vehicles (HEV)
Objectives
  To learn to use MATLAB to represent transfer functions
  To learn to use MATLAB for system reduction
  To learn to use Simulink to represent transfer functions
Assignment
The Figure shows the block diagram of a possible cascade control scheme for an HEV driven by a
dc motor with the following parameters:
 Parameter name                                       Parameter symbol and value
                                                                             40
 speed controller                                             𝐺𝑆𝐶(𝑠) = 100 +
                                                                               𝑠
 torque controller and power
                                                                                   6
 amp                                                         𝐾𝐴𝐺𝑇𝐶(𝑠) = 10 +
                                                                                   𝑠
 current sensor sensitivity                                    𝐾𝐶𝑆 = 0.5
 Speed sensor sensitivity                                    𝐾𝑆𝑆 = 0.0433
 motor inertia                                                𝐽𝑡𝑜𝑡 = 7.226
Motor resistor                                                              𝑅𝑎 = 1
viscous friction                                                            𝑘𝑓 = 0.1
Back emf constant                                                             𝑘𝑏 = 2
Vehicle dynamics                                                        𝑟     = 0.0615
                                                                       𝑖𝑡𝑜𝑡
                                                                               𝑟
                                                               𝜌𝑐𝑤𝐴𝑣𝑜                = 0.6154
                                                                              𝑖𝑡𝑜𝑡
Motor torque                                                     𝜂𝑡𝑜𝑡𝐾𝑡 = 1.8
  1. Part 1: Simulink
          - Develop a Simulink model for the original system.
          - Set the reference signal input using the waveform generator block
          according to the first digit of your ID as will be explained later.
          - Use X-Y graphs to display (over the period from 0 to 8 seconds)
          the response of the following variables to the input:
               car speed (m/s)
               motor armature current (A)
          - Use the Simulink model to obtain the transfer function.
  2. Part 2: MATLAB
          -       Use MATLAB to obtain the transfer function   𝑉(𝑠)
                                                               𝑅𝑠(𝑠)
  3- Reference signal
          - Choose the reference signal according to the first digit of your ID from the right
          (XXX)
              X         Signal          Parameters
                        type
              0         Unit step       Step Time=0, Initial value=0, Final Value=2
              1         Sin             Amplitude=2, Frequency=300, Phase=0
              2         Sawtooth        Amplitude=5, Frequency=1
              3         Square          Amplitude=1, Frequency=10, Phase=0, Duty Cycle=50
              4         Pulse           Amplitude=1, Trigger Time=1, Duration=2
              5         Unit step       Step Time=1, Initial value=0, Final Value=4
              6         Sin             Amplitude=4, Frequency=200, Phase=Pi/2
7   Sawtooth   Amplitude=2.5, Frequency=10
8   Square     Amplitude=5, Frequency=5, Phase=0, Duty Cycle=80
9   Pulse      Amplitude=4, Trigger Time=2, Duration=5
Submission
Deadline Date    23rd October 2023
                 23:59
Submission files -     MATLAB (.m file)
                 -     Simulink (.slx file)
                 -     A Report that includes screenshots of all
                       the requirements
Submission        control.sys2023@gmail.com
e-mail            -Email subject: ID_Lab1
                  -Write your full name in ARABIC in the body of
                  your email and your ID.
                  -Please attach your files in a compressed folder.