Uploaded by 林晨華

2022S C2 sol

advertisement
機動學電腦程式上機測驗卷 (A)
修課班級:
學號:
姓名:
2022/04/26
Based on the problem statement in Section I, write computer codes using Scilab 6.0.0 to obtain the required outputs. In Section II, fill in the blanks with
computed numerical values. Your final score will depend on the correctness of the numerical values.
(1) Problem statement
Consider a cam with an oscillating flat-face follower, the cam rotates CW at a constant speed. It is given that the amplitude of the follower rotation θs = 30°, The
pivot circle radius f = 25 cm, base circle radius rb = 10 cm, and offset e = 6 cm, The follower rotation s relative to the cam rotation θ can be expressed as follows:
1st: 0° ≤ 𝜃 ≤ 160°, parabolic motion, rise
2nd: 160° ≤ 𝜃 ≤ 230°, dwell
3rd: 230° ≤ 𝜃 ≤ 360°, 3-4-5 polynomial motion, return
𝜃∗
𝛽
Parabolic: rise 𝑆 ∗ = 2𝜃𝑠∗ ( 𝛽 )2 (0 ≤ 𝜃 ∗ ≤ 2 ), 𝑆 ∗ = 𝜃𝑠∗ [1 − 2 (1 −
𝜃∗ 3
𝜃∗ 4
𝜃∗ 2
𝛽
) ]
𝜃∗ 5
3-4-5 polynomial: return, 𝑆 ∗ = 𝜃𝑠∗ − 𝜃𝑠∗ [10 ( 𝛽 ) − 15 ( 𝛽 ) + 6 ( 𝛽 ) ]
𝛽
( 2 ≤ 𝜃 ∗ ≤ 𝛽)
(0 ≤ 𝜃 ∗ ≤ 𝛽)
(2) Output
From θ = 0° to 360° and using 1° increment, obtain the follower displacement, cam profile, radius of curvature for
cam profile, and pressure angle of cam using the formulas provided in Tables 2. Store the above quantities in
Scilab arrays with array names and sizes indicated in Table 1. Note that Scilab is case sensitive. Answer the followings using four significant digits.
(1) [15%] Find the initial ξ(0) = __9.2069__ °.
(2) [45%] Fill out the right table.
ξ (°)
(x, y) (cm)
θ (°)
ϕ (°)
ρ (cm)
70
20.6913
(-18.6939, 1.0107)
9.7799
33.4366
110
33.3475
(-20.6855, -1.6625)
12.4056
5.9595
300
22.0520
(16.1979, -4.7452)
20.2867
15.4736
(3) [15%] Find the maximum magnitude of pressure angle ϕ = __21.1298__ °, when the cam rotates angle θ = __281__ °.
(4) [15%] Find the minimum magnitude of the radius of curvature ρ = __0.1190__ cm, when the cam rotates angle θ = __98__ °.
(5) [10%] Find the minimum magnitude of face length for the follower. = __36.3465 __ cm°. (15.5253也給對)
[1
機動學電腦程式上機測驗卷 (B)
修課班級:
學號:
姓名:
2022/04/26
Based on the problem statement in Section I, write computer codes using Scilab 6.0.0 to obtain the required outputs. In Section II, fill in the blanks with
computed numerical values. Your final score will depend on the correctness of the numerical values.
(1) Problem statement
Consider a cam with an oscillating flat-face follower, the cam rotates CW at a constant speed. It is given that the amplitude of the follower rotation θs = 30°, The
pivot circle radius f = 30 cm, base circle radius rb = 12 cm, and offset e = 8 cm, The follower rotation s relative to the cam rotation θ can be expressed as follows:
1st: 0° ≤ 𝜃 ≤ 160°, parabolic motion, rise
2nd: 160° ≤ 𝜃 ≤ 230°, dwell
3rd: 230° ≤ 𝜃 ≤ 360°, 3-4-5 polynomial motion, return
𝜃∗
𝛽
Parabolic: rise 𝑆 ∗ = 2𝜃𝑠∗ ( 𝛽 )2 (0 ≤ 𝜃 ∗ ≤ 2 ), 𝑆 ∗ = 𝜃𝑠∗ [1 − 2 (1 −
𝜃∗ 3
𝜃∗ 4
𝜃∗ 2
𝛽
) ]
𝜃∗ 5
3-4-5 polynomial: return, 𝑆 ∗ = 𝜃𝑠∗ − 𝜃𝑠∗ [10 ( 𝛽 ) − 15 ( 𝛽 ) + 6 ( 𝛽 ) ]
𝛽
( 2 ≤ 𝜃 ∗ ≤ 𝛽)
(0 ≤ 𝜃 ∗ ≤ 𝛽)
(2) Output
From θ = 0° to 360° and using 1° increment, obtain the follower displacement, cam profile, radius of curvature for
cam profile, and pressure angle of cam using the formulas provided in Tables 2. Store the above quantities in
Scilab arrays with array names and sizes indicated in Table 1. Note that Scilab is case sensitive. Answer the followings using four significant digits.
(1) [15%] Find the initial ξ(0) = __7.6623__ °.
(2) [45%] Fill out the right table.
ξ (°)
(x, y) (cm)
θ (°)
ϕ (°)
ρ (cm)
70
19.1466
(-22.5729, 0.5284)
10.7391
40.5890
110
31.8029
(-24.9030, -2.7697)
13.5084
7.0732
300
20.5073
(19.6442, -5.2473)
22.1182
18.6941
(3) [15%] Find the maximum magnitude of pressure angle ϕ = ___22.9276___ °, when the cam rotates angle θ = __282__ °.
(4) [15%] Find the minimum magnitude of the radius of curvature ρ = __ 0.1128 __ cm, when the cam rotates angle θ = __98__ °.
(5) [10%] Find the minimum magnitude of face length for the follower. = __44.1285__ cm°. (18.9133也給對)
[1
機動學電腦程式上機測驗卷 (C)
修課班級:
學號:
姓名:
2022/04/26
Based on the problem statement in Section I, write computer codes using Scilab 6.0.0 to obtain the required outputs. In Section II, fill in the blanks with
computed numerical values. Your final score will depend on the correctness of the numerical values.
(1) Problem statement
Consider a cam with an oscillating flat-face follower, the cam rotates CW at a constant speed. It is given that the amplitude of the follower rotation θs = 20°, The
pivot circle radius f = 15 cm, base circle radius rb = 10 cm, and offset e = 6 cm, The follower rotation s relative to the cam rotation θ can be expressed as follows:
1st: 0° ≤ 𝜃 ≤ 160°, parabolic motion, rise
2nd: 160° ≤ 𝜃 ≤ 230°, dwell
3rd: 230° ≤ 𝜃 ≤ 360°, 3-4-5 polynomial motion, return
𝜃∗
𝛽
Parabolic: rise 𝑆 ∗ = 2𝜃𝑠∗ ( 𝛽 )2 (0 ≤ 𝜃 ∗ ≤ 2 ), 𝑆 ∗ = 𝜃𝑠∗ [1 − 2 (1 −
𝜃∗ 3
𝜃∗ 4
𝜃∗ 2
) ]
𝛽
𝜃∗ 5
3-4-5 polynomial: return, 𝑆 ∗ = 𝜃𝑠∗ − 𝜃𝑠∗ [10 ( 𝛽 ) − 15 ( 𝛽 ) + 6 ( 𝛽 ) ]
𝛽
( 2 ≤ 𝜃 ∗ ≤ 𝛽)
(0 ≤ 𝜃 ∗ ≤ 𝛽)
(2) Output
From θ = 0° to 360° and using 1° increment, obtain the follower displacement, cam profile, radius of curvature for
cam profile, and pressure angle of cam using the formulas provided in Tables 2. Store the above quantities in
Scilab arrays with array names and sizes indicated in Table 1. Note that Scilab is case sensitive. Answer the followings using four significant digits.
(1) [15%] Find the initial ξ(0) = __15.4660__ °.
(2) [45%] Fill out the right table.
ξ (°)
(x, y) (cm)
θ (°)
ϕ (°)
ρ (cm)
70
23.1223
(-11.3191, 5.3085)
18.7676
16.6085
110
31.5597
(-14.0442, 0.4566)
21.6077
9.7717
300
24.0294
(12.3585, -1.7627)
29.3698
12.3098
(3) [15%] Find the maximum magnitude of pressure angle ϕ = ___30.0952___ °, when the cam rotates angle θ = __283__ °.
(4) [15%] Find the minimum magnitude of the radius of curvature ρ = ___6.3011___ cm, when the cam rotates angle θ = __82__ °.
(5) [10%] Find the minimum magnitude of face length for the follower. = ___18.0193___ cm°. (10.3525也給對)
[1
Download