合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代寫MEC 302、代做python編程設計
        代寫MEC 302、代做python編程設計

        時間:2025-04-10  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        MEC 302: Embedded Computer Systems
        Tutorial
        Week 6 - SS 2024/2025
        1 Cartpole System Analysis
        The cartpole system (Fig. 1) consists of a cart of mass M moving along a frictionless track, and a
        pendulum of mass m and length l pivoting around the cart. The mass of the pendulum is assumed
        to be equally distributed along the rigid rod. The system is actuated by a horizontal force F applied
        to the cart.
        Figure 1: Cart-pole as the combination of a cart and a pendulum.
        1.1 Tasks
        1. Draw the free-body diagram of the pendulum and cart, showing all forces acting on them.
        Note: Point the reaction force Fx as the coupling force between the pendulum and the cart in
        positive x-direction in the free-body diagram of the pendulum.
        2. Formulate Newton’s second law for the horizontal motion of the cart. The motion of the
        pendulum is described by

        ¨ = mglsin θ − ml(lθ
        ¨− x¨ cos θ) (1)
        Fx =m(¨x − lθ
        ¨cos θ + lθ
        ˙2
        sin θ) (2)
        3. Derive the state-space representation of the linearized system around the equilibrium θ = 0
        A1q˙ = A2q + Bu (3)
        Define q, u, A1, A2 and B. Use the fact that for small deviations from θ = 0, the following
        relations hold
        sin(θ) ≈ θ (4)
        cos(θ) ≈ 1 (5)
        θ
        ˙2 ≈ 0 (6)
        4. Analyze BIBO stability of the equilibrium point by using the Eigenvalues λ of the system
        matrix A of the linearized system. Assume A = A
        Use the fact that
        det(A − λI) = 0 (8)
        5. The non-linear system can be controlled via the feed-back Linear-Quadratic-Regulator (LQR)
        u = −Ke (9)
        K is the LQR gain obtained by solving the so-called Riccati-equation. e is a linear error
        feed-back
        e = q − qd (10)
        qd is the desired state. Initially, the cart-pole is standing still (zero velocity) with x = 10
        m and θ = θ0 = 0. Complete the code given in cart_pole_LQR.py in order to achieve the
        following tasks:
        ❼ Use the LQR controller (9) to move the cart-pole to x = −10 m and θ = 0 [rad] (zero
        velocity). Show the plots of q and u.
        ❼ How does θ0 need to be chosen? How can restrictions on θ0 be avoided?
        The python code can be run for example by jupyter (File → New → Notebook):
        2 Line-Following Robot
        Consider a robot which is equipped with two photo-sensors on its left and right side (see Fig. 2).
        The sensors return True if they detect black color, and False otherwise. The robot is able to turn
        left and right on command with turning angle α. The robot is asked to follow a black line (see Fig.
        2) at constant speed. If both sensors return False, the robot goes straight until a time-out tto is
        reached, at which point the robot stops.
        Figure 2: Line-following robot with two sensors aligned in parallel. They return True if they detect
        black color, and otherwise False.
        2.1 Tasks
        1. Is a finite-state-machine (FSM) or an extended-state-machine (ESM) more appropriate for this
        task? Justify.
        2. Which
        ❼ variables
        ❼ inputs
        ❼ outputs
        ❼ states
        are there? For each variable, input, and output, say which type they are.
        3. Design an FSM for the line-following robot.
        2

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

        掃一掃在手機打開當前頁
      1. 上一篇:DTS101TC代做、代寫Python語言程序
      2. 下一篇:AM11編程代做、代寫Python編程語言
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
      4. 上海廠房出租 短信驗證碼 酒店vi設計

        主站蜘蛛池模板: 亚洲国产日韩一区高清在线 | 中文字幕一区视频一线| 日韩在线视频不卡一区二区三区 | 国产一区二区三区国产精品| 国产一区二区三区免费| 亚洲AV无码片一区二区三区| 久久婷婷色一区二区三区| 国产精品电影一区二区三区| 3d动漫精品啪啪一区二区免费| 在线精品亚洲一区二区小说| 夜夜爽一区二区三区精品| 欧美激情国产精品视频一区二区| 人妻夜夜爽天天爽爽一区| 亚洲av鲁丝一区二区三区| 中文字幕VA一区二区三区| 无码精品蜜桃一区二区三区WW| 国产精品美女一区二区三区| 国产日韩精品视频一区二区三区| 69福利视频一区二区| 青青青国产精品一区二区| 人妻无码一区二区三区AV| 风间由美性色一区二区三区 | 精品人妻少妇一区二区三区不卡| 88国产精品视频一区二区三区| 高清一区二区三区免费视频| 久久久久久人妻一区精品| 无码精品人妻一区二区三区中| 国产一区二区三精品久久久无广告| 国产成人精品无人区一区| 国产午夜毛片一区二区三区 | 亚洲一区无码精品色| 国产精品视频一区二区三区| 亚洲国产精品一区二区久久hs| 精品一区二区三区在线视频| 久久一本一区二区三区| 精品欧洲av无码一区二区 | 丝袜美腿高跟呻吟高潮一区| 一区二区三区四区视频在线| 农村人乱弄一区二区| 日韩精品无码中文字幕一区二区 | 久久精品午夜一区二区福利|