ImageVerifierCode 换一换
格式:DOCX , 页数:7 ,大小:86.47KB ,
资源ID:17302433      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/17302433.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(BallandBeamDynamics文档格式.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

BallandBeamDynamics文档格式.docx

1、a.Model of the angle process with respect to the motor voltage H (s)b.Model of the ball position with respect to the beam angle Hx(s)The total transfer function from the input voltage to the voltage that indicates the ball position is then3.Mathematical Model Derivationa.Model of beam angle vs. inpu

2、t voltageThe relationship between the input voltage and the angle of the beam is defined by the DC motor transfer function. The DC motor, used for angle control application may be thought of as the dirty integrator or the integrator with a filter action as shown in figure 1 on the next page.Figure 1

3、: General DC motor block diagram for angle control applicationThe K is the motor constant and the tau is the motor time constant. The actual model of the motor used for the project is shown in figure 2.Figure 2: Actual block diagram of the DC motor usedThe measured constants are summarized below:The

4、refore the DC motor transfer function becomesModel of ball position vs. beam angleConsider the following sketchFigure 3: Rolling ball free-body diagramThe inclination is considered the x-coordinate. Let acceleration of the ball be denoted as The force due to translational motion is thenThe torque de

5、veloped through ball rotation is determined by the force at the edge of the ball multiplied by the radius which can be further expressed as:whereJ = moment of inertia (for solid ball defined by J=2/5*mR2)Wb=angular velocity of the ballVb= speed of the ball along x axisThe equation is arranged such t

6、hat the final result is expressed solely in terms of position or its derivatives as well as variables associated with the ball.We now obtain the rotational force by dividing torque of the ball by its radiussubstituting the moment of inertia into the equation we getIn order to make the system indepen

7、dent of the mass of the ball we further express the above equations asrearranging for x giveswe utilize approximation , since the angle of the beam will not exceed 20-30 degree inclination. This means that in radians, sine of the angle is approximately the angle itself, so the equation is further ap

8、proximated astaking Laplace transform of position with respect to angle (details omitted) givesThe constant in the numerator is a theoretical constant that neglects surface imperfections and friction. The measured constant is approximately 0.91 thereforeNow the overall transfer function of the syste

9、m becomeswhere, 10.5 is an approximated constant.The block diagram of the overall system isFigure 4: Entire system block diagramThe MATLAB provides easy conversion of the system into state space. num=0 0 0 0 10.5; den=0.4 1 0 0 0; A, B, C, D=tf2ss(num, den)The LQR control can be implemented by choos

10、ing Q and R values. The controllability is verified first as follows: rank(ctrb(A, B)ans = 4This indicates that the ball and beam system is completely state controllable. Next we select Q and R and calculate for controller gains in MATLAB. We get Q=10 0 0 0; 0 10 0 0; 0 0 10 0; 0 0 0 10; R=1; K,S,E=

11、lqr(A,B,Q,R)K = 3.6048 10.5091 8.7444 3.1623S = 10.5091 55.4111 50.2205 19.3050 8.7444 50.2205 72.5913 33.2327 3.1623 19.3050 33.2327 27.6524E = -3.9559 -0.9059 -0.6215 + 0.7044i -0.6215 - 0.7044iWe can see that the gain values are reasonable and therefore the actual system may perform well. The sim

12、ulation in simulink is done using the following block diagram:Figure 5: Simulink state space modelThe Scope measures the output while the Scope1 monitors the control effort. The snapshots are as shown in figures 6 and 7.Figure 6: Output converging from ICFigure 7: Control effortThe initial condition

13、 was set to 10cm from the centre at an angle of 5.7 degrees. It is can be seen that the system converges very slowly. The state variables are: - angular acceleration - angle of the beam - ball acceleration - position of the ballThe position and the angle can be measured directly with sensors while the angular acceleration and the ball acceleration will have to be mathematically estimated. The control voltage V is then (注:可编辑下载,若有不当之处,请指正,谢谢!)

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1