首页 新闻 聚焦 科技 财经 创业 综合 图片 视频

IT界

旗下栏目: 行业 生态 IT界 创新

7CCSMRTS语言编程代写、C++

来源:互联网 发布时间:2021-03-21
7CCSMRTS语言编程代写、C++
6CCS3RSC/7CCSMRTS
Assignment: Linear Systems Control
16th March 2021
For this assignment, you will need the template code assignment.m. Download this from the module’s
KEATS page and save it to your computer. When you are ready to submit your assignment, you will need
to upload this file so bear this in mind while completing the assignment (further instructions on how to
submit your assignment are given below). Open the file using Matlab, and complete the following exercises.-L-C circuit.
A series resistor-inductor-capacitor circuit (see Figure 1) can be described as a linear system, in whichthe
current across the components follows the equation
d
where I is the current, R the resistance, L the inductance, C the capacitance and dV /dt the rate of change
of the voltage at the power source.
1. Write (1) in state space formulation, as a continuous time, linear time invariant system. You may
assume that the rate of change of the voltage is the control input (i.e., u = dV /dt) and the system
state is the current and its first time derivative1
(i.e., x = (I, dI/dt)
>). Using the template code
implement the matrices A and B assuming that L = 20 H, C = 0.1 F, R = 4 Ω.
[5 marks]
2. Derive the equations for the System in discrete time, such that you can compute xt+1 as a function
of xt and ut
. Using the template file, implement a simulation of the system, such that you can
compute the current for 0 ≤ t ≤ 20 s if the voltage increases at a constant rate of 1 V /s. Assume
that the current is zero and constant at t = 0 s and use sampling rate δt = 2 ms.
[10 marks]
1Throughout the assignment, treat the state and its derivatives as a column vector.
Dr M. Howard Department of Engineering
King’s College London
3. Consider the case that the circuit is equipped with a multimeter that enables measurement of current
at the same sampling rate. Using the template file, implement the observer matrix C and the
observability matrix H using your answer to Question 2. Derive the transfer function for this system
and solve for the poles to four decimal places. Implement a vector z in the template file that contains
the poles.
[15 marks]
Completed assignments should be submitted to KEATS on 5pm, 5th April 2021.
To submit your assignment, please follow the following steps:
1. Complete the following lines of the source code by adding your name and student number:
1 % Please complete the following With your details
2 firstname = ’ ’;
3 surname = ’ ’;
4 number = ’ ’; % this should be your ’k ’ number , e . g . , ’k1234567’
2. Upload the resultant source code as a single .m file on KEATS.
Important notes on submitting:
1. Please ensure that your Code runs cleanly prior to submission. Marks will be deducted from
submissions that do not run without errors or warnings.
2. Please do not change the variable names in the template.
This assignment is worth 15% of the module mark.
Dr M. Howard 2 Department Of Engineering
King’s College London
 
请加QQ:99515681 或邮箱:99515681@qq.com   WX:codehelp
  免责声明:珠穆朗玛网对于有关本网站的任何内容、信息或广告,不声明或保证其正确性或可靠性,用户自行承担使用网站信息发布内容的真假风险。
责任编辑:珠穆朗玛网