教程adams壓縮包群文件msc event files_第1頁
教程adams壓縮包群文件msc event files_第2頁
教程adams壓縮包群文件msc event files_第3頁
教程adams壓縮包群文件msc event files_第4頁
教程adams壓縮包群文件msc event files_第5頁
已閱讀5頁,還剩21頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、WORKSHOP 7Creating Event FilesEvent BuilderIn this workshop, you will learn the basics of creating multiple mini-maneuvers, establishing the appropriate application areas for those mini-maneuvers, and settings end conditions for each mini-maneuver.The example contains the following sections:Creating

2、 an EventCreating the Three Mini-ManeuversDefining the Mini-Maneuver ParametersRunning the New AnalysisEvent BuilderCreating an EventBefore you can create an event, you must create a new file, as explained next. The instructions will point out the differences between procedures in Adams/Car.To displ

3、ay the Event Builder:Open the assembly MDI_DEMO_Vehicle.From the Simulate menu, point to Full-Vehicle Analysis, and then select Event Builder.Adams displays the Event Builder, which is grayed out because you do not have a .xml file yet.Event BuilderTo create a new file:From the Event Builders File m

4、enu, select New.The New File dialog box appears.Enter the name of the event: braking_in_a_turn. This is the name of the file that will be saved to your hard drive or network drive with a .xml extension.Select OK.Your MD Adams product creates the file and also defines the first mini-maneuver, MINI_1,

5、 with the following specifications:Active: yesAbort Time: 10.0Step Size: 0.01H-Max: 0.01Event BuilderCreating the Three Mini-ManeuversTo complete the braking-in-turn event, you must create three mini-maneuvers.To create the mini-maneuvers:To go to the mini-maneuver creation interface, select .The mi

6、ni-maneuver creation interface appears. Note that by default, the first minimaneuver, MINI_1, is already defined.To create one more mini-maneuver, in the Name text box, enter MINI_2, and then select Add.To create the last mini-maneuver, in the Name text box, enter MINI_3, and then select Add.The min

7、i-maneuver window appears as follows:Event BuilderYou can specify the behavior of the gear shifting parameters, but for this exercise, the defaults should be adequate. You can also specify the static setup for the first mini-maneuver, as well as the initial values for gear position and speed, as exp

8、lained next.Because the first mini-maneuver that you specify is going to be a straight line, you will use the straight static setup. For a description of the static setup methods available in the Driving Machine, see the Working with the Driver Control Data file page in Using Driving Machine section

9、 under Running Analyses of the Adams/Car online help.To change the static setup to straight, select the Static Set-up tab, and then set Task to straight. Note that the rest of the parameters are not used because they will be overwritten by the initial values computed during the quasi-static setup.Yo

10、u must set the initial velocity of the vehicle. The value of the initial velocity depends on the units in which you are using the Event Builder.Event BuilderTo check the units or make a change, from the Settings menu, select Units. By default, the length unit is set to meters and the time unit is se

11、t to seconds. Therefore, the velocity must be set in meters/second.To verify that velocity units are in meters/second, click in the Speed text box at the top of the Event Builder, and then read what is displayed in the Current Field Unit text box at the bottom of the Event Builder.To set the target

12、vehicle velocity, in the Speed text box, enter 27.7 (as previously explained, units are meters/second), which corresponds to approximately 100 km/h.To set the initial gear, in the Gear text box next to the Speed box, enter 5.In the Abort Time for MINI_2, change the abort time to 5.To save the mini-m

13、aneuver, select Save.Your MD Adams product saves the file, braking_in_a_turn.xml, to your current working directory.Event BuilderDefining the Mini-Maneuver ParametersNow that you defined the three mini-maneuvers, you must define what each of the application areas and end conditions will do during th

14、e mini-maneuvers.The application areas are steering, throttle, brake, clutch, and gear. For each application area, you define the Driving Machine control (open loop, closed loop, or human).The end conditions define a vehicle state by which the mini-maneuver will be terminated. End conditions are ext

15、remely flexible and can be used for many purposes. The following are some example end conditions:End conditions can have a single condition, such as time is greater than 5 seconds.End conditions can have a single value that must be within a tolerance over a prescribed period of time. Lateral acceler

16、ation is 0.5 g over a two-second period and within a 0.05 g tolerance.Event BuilderMultiple end conditions, such as time is greater than 5 seconds or vehicle velocity is lower than 10 kph.Combined end condition, such as vehicle velocity equal 100 kph (within a tolerance) and longitudinal acceleratio

17、n equals 0 g (within a tolerance). The grouping of end conditions is permitted, allowing multiple conditions to be satisfied before a maneuver can be terminated.For more information on end conditions, see the Driving Machine section in the Adams/Car online help.Event BuilderTo define mini-maneuver p

18、arameters for MINI_1:To access the mini-maneuver editor, double-click the name of the mini-maneuver you want to edit. In this case, MINI_1.For the first mini-maneuver, the vehicle should drive in a straight line and maintain constant velocity. To achieve this, set the following parameters:Steering t

19、abActuator Type: rotationControl Method: machineControl Mode: AbsoluteSteer Control: straightThe Steer Control setting enables the Driving Machine to drive the vehicle in a straight line.Event BuilderThrottle tabControl Method: machineControl Mode: AbsoluteSpeed Control: maintainVelocity: 27.7The Ve

20、locity setting enables the Driving Machine to maintain the steady-state velocity that you established earlier. The throttle will be controlled to maintain this velocity much like a cruise control system.Braking tabControl Method: machineThe Throttle and Brake settings control the longitudinal veloci

21、ty of the vehicle.Gear tabControl Method: openControl Type: constantControl Value: 5Maintain the same gear specified for the static setup.Clutch tabControl Method: openControl Type: constantControl Value: 0.0Event BuilderFor the first mini-maneuver, youre using the Driving Machine for the steering a

22、nd the throttle so you can maintain the vehicle speed during straight-line driving.The purpose of the first mini-maneuver is to reach a dynamic steady-state end condition. Although not absolutely necessary for this type of event, it helps demonstrate some important aspects of the Driving Machine. To

23、 satisfy a steady-state condition, the vehicle must be traveling a straight line (very low lateral acceleration) at a stable velocity (very low longitudinal velocity). You can use end conditions to group these two conditions together to satisfy the steady-state requirements.Event BuilderTo create en

24、d conditions for MINI_1:Select the End Conditions tab.Select .In the Name text box, enter END_2.Select Add.Modify the end conditions as follows:END_1Condition Type: lon_accelTest Type: =Trigger Value: 0.0Error: 0.05Filter Time: 2.0Delay Time: 0.0Group Name: MINI_1Event BuilderEND_2Condition Type: la

25、t_accelTest Type: =Trigger Value: 0.0Error: 0.05Filter Time: 2.0Delay Time: 0.0Group Name: MINI_1Note that you used MINI_1 for both group names. Because END_1 and END_2 share the same name, both end conditions must be satisfied for the maneuver switch to occur.Select Save.Event BuilderTo define mini

26、-maneuver parameters for MINI_2:Select .Double-click on the name of the mini-maneuver, MINI_2.Set the mini-maneuver parameters as follows:Steering tabActuator: rotationControl Method: machineControl Mode: AbsoluteSteer Control: skidpadEntry Distance: 10.0Radius: 120Turn Direction: RightThese paramet

27、ers will start the vehicle turning at the beginning of the second mini-maneuver.Event BuilderThrottle tabControl Method: machineControl Mode: AbsoluteSpeed Control: maintainVelocity: 27.7These parameters allow the Driving Machine to maintain the straight line velocity established in MINI_1. The stee

28、ring parameters established in the steering block are not modified.Braking tabControl Method: machineGear tabControl Method: openControl Type: constantControl Value: 5Maintain the same gear specified for the static setup.Event BuilderClutch tabControl Method: openControl Type: constantControl Value:

29、 0.0For the second mini-maneuver, youre using the Driving Machine for the steering and the throttle so you can make a right turn and control the vehicle on a radius of 120 m.Next, you will create two end conditions to verify that a steady-state cornering condition has been achieved.Event BuilderTo c

30、reate end conditions for MINI_2:Select the End Conditions tab.In the Name text box, enter END_1.Select Add.Create the second end condition, END_2, just as you created the first.Modify the end conditions as follows:END_1Condition Type: lon_accelTest Type: =Trigger Value: 0.0Error: 0.05Filter Time: 2.

31、0Delay Time: 0.0Group Name: MINI_2Event BuilderEND_2Condition Type: curvatureTest Type: =Trigger Value: 0.00833Error: 0.00005Filter Time: 2.0Delay Time: 0.0Group Name: MINI_2These end conditions ensure that a radius of approximately 120 m is followed at a velocity of 100 kph.Select Save.Event Builde

32、rTo define mini-maneuver parameters for MINI_3:Select .Double-click on the name of the mini-maneuver, MINI_3.Set the mini-maneuver parameters as follows:Steering tabActuator: rotationControl Method: machineControl Mode: AbsoluteSteer Control: skidpadEntry Distance: 0.0Radius: 120Turn Direction: Righ

33、tThese parameters maintain the radius from the previous mini-maneuver.Throttle tabControl Method: machineEvent BuilderBraking tabControl Method: machineSpeed Control: lon_accelStart Time: 1.0Long. Acc.: - 3.0These parameters drop the throttle at the beginning of the third mini-maneuver to zero, and

34、control the deceleration to 3.0 m/s2.Gear tabControl Method: machineThe Driving Machine controls the gear selection.Clutch tabControl Method: machineThe Driving Machine controls the clutch selection.For the third mini-maneuver, you use the Driving Machine for all vehicle activity; the Driving Machine will maintain the vehicle radius while at the same time brake the vehicle at 3 m/s2. You will use a single end condition for the third mini-maneuver, which is velocity. You will trigger the end of

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論