# Vehicle model verification by using IPG CarMaker

**URL:** <https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917>\
**Category:** Tracks & Scenarios\
**Tags:** student\
**Created:** [18 April 2024 08:36 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917 "2024-04-18T08:36:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [18 April 2024 08:36 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/1 "2024-04-18T08:36:09Z")

</div>

Hello everyone!  
I am a student and currently researching EVs and their power loss. For this, I have created an 8-DOF Model in MATLAB and would like to verify it using IPG CarMaker by using different maneuvers such as step steer, ramp steer, and double lane changing. I need some help modifying the maneuvers in CarMaker so that it would be the same as the graph in MATLAB. I have already achieved it for the step steer but right now struggling with the double lane changing. I have also attached some images and the coding of the maneuver in MATLAB to make this clear, hope there is someone to help me out. Thank you!

Double step steer v=100  
pedal\_mode = 0; 0 -\> speed tracking; 1 -\> pedal tracking steer\_mode = 1; 0 → trajectory tracking; 1 → steering tracking  
tbase = [0, 1, 1.1, 3.1, 3.3, 5.3, 5.4, 8]; [s] time base steer = [0, 0, 2, 2, -2, -2, 0, 0]; [rad] steering wheel angle  
pedal = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]; [-] normalised pedal position speed = [v, v, v, v, v, v, v, v]; [m/s] reference speed

Above is the maneuver in MATLAB and currently need the exact maneuver in CarMaker to obtain similar graphs in both.

 ![WhatsApp Image 2024-04-18 at 4.29.17 PM](https://forums.ipg-automotive.com/uploads/default/original/1X/705811dd5c6d0c3401a6c461417eeb1809243725.jpeg)

---

<div class="post-metadata">

**Author:** ![roberto.ortolan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/96bed5/32.png) [@roberto.ortolan](https://forums.ipg-automotive.com/u/roberto.ortolan)\
**Post date:** [19 April 2024 07:48 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/2 "2024-04-19T07:48:21Z")

</div>

Good morning,

have you checked the example already available in CM  
Examples/VehicleDynamics/Handling/LaneChange\_ISO

---

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [22 April 2024 05:12 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/3 "2024-04-22T05:12:09Z")

</div>

Hello there, yes I have already tried the existing example in CM but the graph was not as expected. I would like to know if there is any chance to run the maneuver below to obtain the graph in the first picture, titled MATLAB.

Double step steer  
pedal\_mode = 0; 0 -\> speed tracking; 1 -\> pedal tracking steer\_mode = 1; 0 → trajectory tracking; 1 → steering tracking  
tbase = [0, 1, 1.1, 3.1, 3.3, 5.3, 5.4, 8]; [s] time base steer = [0, 0, 2, 2, -2, -2, 0, 0]; [rad] steering wheel angle  
pedal = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]; [-] normalized pedal position speed = [v, v, v, v, v, v, v, v]; [m/s] reference speed

---

<div class="post-metadata">

**Author:** ![roberto.ortolan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/96bed5/32.png) [@roberto.ortolan](https://forums.ipg-automotive.com/u/roberto.ortolan)\
**Post date:** [22 April 2024 08:55 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/4 "2024-04-22T08:55:26Z")

</div>

Good morning,

can you please rewrite the manuovre and list for each of the manouvre

- Steering angle
- pedal position (throttle, brake and clutch)  
-gear number (if Transmission is present)  
?  
What I can see here is not very clear.

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/369c68e30ef3edd7fff895f211d6bbfc818a8d3b.png)

---

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [23 April 2024 17:05 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/5 "2024-04-23T17:05:58Z")

</div>

Sure @roberto.ortolan  
Double step steer  
pedal\_mode = 0; 0 -\> speed tracking; 1 -\> pedal tracking steer\_mode = 1; 0 → trajectory tracking; 1 → steering tracking  
tbase = [0, 1, 1.1, 3.1, 3.3, 5.3, 5.4, 8]; [s] time base steer = [0, 0, 2, 2, -2, -2, 0, 0]; [rad] steering wheel angle  
pedal = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]; [-] normalized pedal position speed = [v, v, v, v, v, v, v, v]; [m/s] reference speed

For your kindly information,  
This is a simulation for electric vehicles.  
There is no transmission involved.

Please let me know if there is anything else needed. With this, I have also attached the graph output of the maneuver above based on the 8-DOF electric vehicle model in MATLAB.

 ![Screenshot 2024-03-29 135247(1)(1)](https://forums.ipg-automotive.com/uploads/default/original/1X/9088f53085eb5ce940eb6c8fca4a197184c86b70.png)

---

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [23 April 2024 17:15 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/6 "2024-04-23T17:15:41Z")

</div>

![image](https://forums.ipg-automotive.com/uploads/default/original/1X/55ade76142ca34144101cc654ad8dc26afaf20e9.png)  
This is the maneuver involved in MATLAB.

---

<div class="post-metadata">

**Author:** ![roberto.ortolan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/96bed5/32.png) [@roberto.ortolan](https://forums.ipg-automotive.com/u/roberto.ortolan)\
**Post date:** [24 April 2024 15:02 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/7 "2024-04-24T15:02:33Z")

</div>

Good afternoon,

I did it with separate minimanouevre commands on the steering.

In my case I first launched the vehicle to 90kmh, then kept the accelerator pedal at 20%(then depending on the power of your vehicle this may result in different speeds of the manoeuvre if you chose another vehicle) and then executed the steer input to 2rad, -2rad and then 0rad

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/07d1f3ed63cc9a4e94bbed9ec6c6a45461f76496.png)

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/5ac26c1bf065651152d567c47f261f4637d99a62.png)  
 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/9bfc471a9f078bb3c97be0e836e37c32cae4a4df.png)  
 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/1ea8c3b25e60c3c67b594b6b61b61539ee8e9058.png)

---

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [26 April 2024 04:47 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/8 "2024-04-26T04:47:41Z")

</div>

Great it looks the same as needed, but the difference is the lane changing for yours is at the end of the simulation. I have already specified the maneuver as above and am currently having trouble with the road and route specification. And also it would be good if you could share the first 2 maneuvers as well. Thank you

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/e006a9949d8466ec34fd11c5092d769f1dd78b46.png)

---

<div class="post-metadata">

**Author:** ![Kishendraan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/c67d28/32.png) [@Kishendraan](https://forums.ipg-automotive.com/u/Kishendraan)\
**Post date:** [26 April 2024 07:42 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/9 "2024-04-26T07:42:09Z")

</div>

Good evening, after using a demo road and route this was the outcome, sir.

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/10a04ebc384ccf65b31af8c592326e837eab6078.png)

---

<div class="post-metadata">

**Author:** ![roberto.ortolan](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/96bed5/32.png) [@roberto.ortolan](https://forums.ipg-automotive.com/u/roberto.ortolan)\
**Post date:** [26 April 2024 07:45 UTC](https://forums.ipg-automotive.com/t/vehicle-model-verification-by-using-ipg-carmaker/917/10 "2024-04-26T07:45:42Z")

</div>

Good morning,

is not important if the manoeuvre is at the end or at the beginning of the simulation.  
However is a typical lane change manoeuvre it does happen when the vehicle reaches a certain speed, this is what I have done in the initial part of the simulation.  
Here below the first 2 steps of the simulation

To execute this manoeuvre I use an infinite plane that is also part of some CM examples  
[Plane.rd5](https://forums.ipg-automotive.com/uploads/short-url/jkXtIQiNLwU9gbr2vAvgLIfarfr.rd5) (1.6 KB)

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/4f4c11b5dec64e6333c0f51ff49e93c5d9bd70ab.png)  
 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/90291e08c00a0d3f0672c0745e2fc2552cabffa7.png)
