ECE 5041 Electric Machine Spring 2024 Homework 6Matlab

Java Python ECE 5041 Electric Machine Spring 2024

Homework 6: 12%

Read and initial.

      Submit one single pdf file to include all results.  Submit all simulation files too.

      SUBMIT ALL FILES INDIVIDUALLY.  NO ZIP FILES WILL BE ACCEPTED.

      All simulation plots need to use data stored in “ToWorkSpace”.  No credits will be given to screenshots of scopes.

A 3-phase IPM machine used on a hybrid electric vehicle has the following parameters.  You will use these machine parameters for your simulations in this homework.

Number of poles: 8

Peak value of maximum phase current Ipeak : 500 A

Peak value of maximum phase voltage V peak : 115 V

Phase winding dc resistance rs : 0.02 Ω

d-axis inductance Ld : 0.18 mH

q-axis inductance Lq : 0.25 mH

Flux linkage of permanent magnet λm : 0.05 V-s

Problem 1. (40’) IPM machine simulation using adc/ac power converter

1.1 (6’) Watch the Matlab tutorial video on using open-loop voltage control for an IPM machine driven by adc/ac converter and build your own IPM machine model following the tutorial.

Take a screenshot of your simulation model and include in the homework submission. Include the screenshots of subsystems too.

1.2 (7’) Set the dc bus voltage of the dc/ac converter to be 500 V.  When sine-triangle PWM algorithm is used to generate the switching signals for three phases, the reference sinusoidal voltages are compared to a high frequency triangle carrier wave.  Set the switching frequency to be 5 kHz,i.e., the frequency for the carrier triangle wave.

In your simulation, use p.u. values for both the reference voltage and carrier wave.  The peak value for the triangle carrier wave is - 1 and +1 p.u.  If mis used to represent the peak value of the reference voltage in p.u., the actual phase output voltage can be calculated using the following equation.

where miscalled modulation index, Vdc  is the voltage of the dc bus.  The range of modulation index is also between - 1 and +1 p.u.

Based on the above information, answer the following questions:

a)   (3’) If modulation index is 0.5, what is the actual peak value of the output phase voltage?

b)   (4’) If the desired actual peak value of the output phase voltage is 100 V, what should be the reference voltage value in p.u. for the simulation? What equation do you use to convert the desired actual output phase voltage to the reference voltage value in p.u.? (You will need to use this equation in your simulation)

1.3 (27’) Use the model you have built in 1.1 to make the machine run at 3000 rpm and produce

50 Nm.  The operating point should be on the maximum torque per amp curve.

a)   (3’) Comment on how to select the simulation step size for your simulation.

b)   (3’) Calculate the requiredid and iq to produce 50 Nm at 3000 rpm.

c)   (3’) Calculate the required Vd and Vq and apply these to your simulation.

(The Vd and Vq values I used in my simulation are for a different torque.  You need to calculate what Vd and Vq are needed!)

d)   (12’) Plot the following waveforms over two fundamental cycles when your simulation gets to steady state:

figudai 写ECE 5041 Electric Machine Spring 2024 Homework 6Matlab re (1)

subplot(411) rotor electrical angle vs time

subplot(412) three-phase currents vs time

subplot(413) machined-axis and q-axis currents vs time

subplot(414) d-axis voltage reference,q-axis voltage reference, and 3-phase reference voltages vs time (actual value, not p.u.)

figure (2)

subplot(411) rotor electrical angle vs time

subplot(412) phase A reference voltage in p.u. and carrier wave vs time subplot(413) switching signal for top switch of phase A vs time

subplot(414) the actual d-axis voltage and q-axis voltage of the machine vs time

e)   (3’) Explain why the three-phase currents and dq axis currents have ripples, which didn’t exist in the simulation in Homework 5.

f)    (3’) Explain why the actual machined-axis and q-axis voltages are pulse voltages instead of dc voltages like what you saw in Homework 5.

Problem 2. (40’) IPM machine simulation using current feedback control

2.1 (6’) Watch the Matlab tutorial video on current closed-loop control of an IPM machine simulation and buildup your own simulation model following the tutorial.  Set Kp to be 10 and Ki to be 5 for both current controllers. Set the speed to be 3000 rpm.

Take a screenshot of your simulation model and include in the homework submission.  Include the screenshots of subsystems too.

2.2 (4’) Read the Matlab help file of the “Matlab Function” block used in the simulation and

answer the following questions.  How do you declare inputs and outputs for a Matlab function?

2.3 (10’) Read the Matlab help file of the “stair generator” block and setup the d-axis and q-axis current commands following the requirements below.

d-axis current commands:

-20 A from 0 sec to 1 sec

- 100 A from 1 sec to 2 sec

-30 A from 2 sec to 3 sec

0 A from 3 sec to 4 sec

q-axis current commands:

-30 A from 0 sec to 1 sec

100 A from 1 sec to 2 sec

- 100 A from 2 sec to 3 sec

0 A from 3 sec to 4 sec

a)   (5’) Plot the waveforms of d-axis and q-axis current commands vs time. subplot(211) d-axis current command vs time

subplot(212) q-axis current command vs time

b)   (5’) Calculate the theoretical torque for the 4 time intervals above using the machine parameters and dq axis current commands.

2.4 Apply the dq axis current commands generated in 2.3 and run your simulation.  Generate the following plots:

(7’) figure (1) over 4 seconds

subplot(411) d-axis current command and actual d-axis current vs time

subplot(412) q-axis current command and actual q-axis current vs time

subplot(413) machine torque

subplot(414) d-axis voltage command and q-axis voltage command

(3’) Comment on if the simulated torque is consistent with the calculate torque in 2.3(b).

(7’) figure (2) show 1 to 2 fundamental cycles before 2 sec and 1 to 2 fundamental cycles after 2 sec to show the current transient response

subplot(411) d-axis current command and actual d-axis current vs time

subplot(412) q-axis current command and actual q-axis current vs time

subplot(413) machine torque

subplot(414) d-axis voltage command and q-axis voltage command

(3’) Check the three-phase current waveforms in problem 1 and zoom in at the very beginning. How long does it take the system to get to steady state?   Check the three-phase current waveforms in figure (2) above   Artificial intelligence Java or Java Python C++        WX:codehelp

  • 9
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: ece r151、ece r158 和 ece r159 都是欧洲经济委员会(ECE)发布的文件,涉及车辆相关的标准和规范。下面分别对这三个文件进行说明: ece r151:这是关于安装操纵杆操作装置的技术规则。该文件规定了操纵杆操纵装置的设计和安装要求,以确保车辆的操纵操作符合安全和人体工程学的标准。这包括操纵杆的位置、形状、尺寸和力度等方面的要求,以及操作装置的功能和安全性要求。ece r151 的标准适用于各种类型的车辆,包括汽车、摩托车以及其他类别的车辆。 ece r158:这是关于行人保护的技术规则。该文件旨在确保车辆在与行人相遇时具有一定的保护能力,减少行人受伤的风险。特别是,该规范要求车辆具备一定的能见度,以便驾驶员能够及时察觉行人和其他道路用户。此外,规范还涉及车辆的前部保护装置的设计和性能要求,以减少行人遭受的冲击和撞击。 ece r159:这是关于传动装置的技术规则。该文件规定了车辆传动装置的构建和性能要求。传动装置是车辆的重要组成部分,负责将发动机的功率传递到车辆的驱动轮上。ece r159 为传动装置的设计、材料、制造和安装提供了技术指导,以确保其在使用过程中具备良好的性能和安全性。这些规范适用于各种类型的车辆,如乘用车、商用车和摩托车。 总结来说,ece r151、ece r158 和 ece r159 这三个文件分别规定了车辆操纵杆操纵装置、行人保护和传动装置的设计要求和性能要求。这些规范的目的是确保车辆的安全性、人体工程学和环保性能得到符合标准的保证。 ### 回答2: ece r151、ece r158和ece r159是三个欧洲经济委员会(ECE)发布的文件,用于规范和指导汽车行业的相关安全和环境标准。 ece r151是关于汽车前方和侧面对撞试验的规定。该文件详细规定了汽车在前方和侧面对撞中应满足的安全标准。它包括了撞击测试方法、保护结构要求、安全气囊等相关内容。该标准的目的是确保汽车在发生事故时能够提供足够的保护,减少乘员受伤的风险。 ece r158是关于车辆运输时排放的规定。它规定了车辆在运行过程中的排放标准。这些标准包括排放氧化物、颗粒物、一氧化碳和游离碳氢化合物等重要污染物的限制。该标准的目的是保护环境,减少交通运输对空气质量的负面影响,并促进可持续发展。 ece r159是关于车辆型号批准的规定。它规定了车辆制造商必须遵守的程序和要求,以确保他们的汽车型号符合相关的安全和环境标准。该文件描述了型号批准的程序、测试要求和技术文件的要求。这些要求旨在确保汽车在销售和使用过程中的安全性和合规性。 这三个文件都是通过对汽车进行测试和检验,以确保其满足特定的安全和环境要求。它们是规范和指导汽车行业的关键文件,对于保护乘员安全、减少交通运输对环境的影响至关重要。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值