Adams Car Package > Adams Car > Appendix > Solver Routines > Calculation of rise-to-curb controller errors

Calculation of rise-to-curb controller errors

This routine computes the error between the Z displacement between two markers and a desired displacement. The desired displacement zero. The routine is used in conjunction with rise to curb event (see Half Vehicle Rise to Curb Setting).
DIFF/id, IC = 0.0
, FUN=USER (
1110, imrk, jmrk, gain,target )
where:  
 
id
=
Diff statement id
imrk
=
Id of marker whose displacement is measured.
jmrk
=
Id of marker with respect to which imrk's displacement is measured.
gain
=
Controller gain
target
=
Target value of displacement. The displacement between imrk and jmrk is adjusted such that the difference between the displacement and target is zero.