Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adams View create own driving cycle

Status
Not open for further replies.

deepimpact

Student
Apr 5, 2021
1
Hello everyone,

at first, im an absolute beginner in adams view. I need to work with adams for my bachelor thesis.
Now my question: i have an full vehicle model in adams and a table of many values(speed over time, yaw rate over time). How can the model follow this specify driving cycle? or how can i integrate the values in the model?
There maybe a tutorial or a literature?

thanks and best regards
 
Replies continue below

Recommended for you

I don't understand why you people build vehicle models in View rather than Car, which is designed for the job. However...

If you can reduce your yaw velocity table back to a steering input command, then you need a traction controller, to control the speed, which looks like this

Code:
               *******************************
               *                             *
               *     TRACTION CONTROLLER     *
               *                             *
               *******************************

               ARRAY/id
               NUMBERS = p, i, dfid

               where:
                    id   = traction controller gain ARRAY id
                           (must be equal to arytrg in ARRAY/93)
                    p    = proportional gain on error
                    i    = integral gain on error
                    dfid = traction DIF id


ARRAY/50,NUM=0.5,10,50


               ARRAY/id
               NUMBERS = tdel, ont, offt

               where:
                    id   = traction controller time ARRAY id
                           (must be equal to arytrt in ARRAY/93)
                    tdel = time required to turn off (sec)
                    ont  = time at which traction is turned on (sec)
                    offt = time at which traction is completely off (sec)

ARRAY/51,NUM=0.1,0,0.2


               DIF/id, IC=0.0,
               FUNC = USER ( 1102, spid, imot, bm, gm )

               where:
                    id   = traction controller DIF id
                    spid = traction time history SPLINE id
                    imot = type of error in traction SPLINE
                             1 = displacment error  (mm)
                             2 = velocity error     (mm/s)
                             3 = acceleration error (mm/s-s)
                             4 = force error        (N)
                    bm   = sprung mass traction marker
                    gm   = marker on ground


DIF/50, IC=0.0,
,   FUNC=USER(1102,50,2,5150,3)

! Speed Trace from C:/Legacy/Octave/Octave-4.2.1/wigglep5hz.asc
SPLINE/50,
,X=0.000000e+00,1.000000e-02,2.000000e-02,3.000000e-02,4.000000e-02,
,Y=-20833.33,-20833.33,-20833.33,-20833.33,-20833.33,

and a steering controller, which in this case rotates a steering wheel
Code:
MOTION/735,JOINT=10,ROT
,   FUNC=VARVAL(735)


MOTION/740,JOINT=740,ROT                                             MOTION FOR AUXILLARY JOINT
,    FUNC=0.0

VARIABLE/735
,   FUNC=DTOR*AKISPL(TIME, 0, 510)                                  ! USER DEFINED SPLINE



ARRAY/1530, SIZE = 1
, NUM = 0.0                                                          !STEERING WHEEL ANGLE FROM SSC CONSTANT RADIUS

! Steering Wheel Angle Trace from C:/Legacy/Octave/Octave-4.2.1/wigglep5hz.asc
SPLINE/510,
,X=0,0.01,0.02,0.03,0.04,
,Y=


I can't say whether this works as this is from an old version, but it looks OK to me. There may be a simpler way to do this directly in View, but you are just as good at reading Help documentation as I am.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor