TransWikia.com

Cruise Control Project on Toy Car

Engineering Asked on November 22, 2020

I finished taking my control theory course, and I want to build an RC car that has cruise control. So I started off with the force analysis, and I got external forces that are constant. For example if the road is sloped, then the gravitational force is holding the car back. Another force is rolling resistance. I believe these are the only two considerable forces that will resist the car’s movement; however, this does not provide a stable system.

Doing a little research online, I found that most models, if not all, say that the external forces are proportional to the velocity of the car. I understand how that can be related to the spring-damper model, but I don’t see why the external forces are proportional to velocity when all the forces are constant. For instance, rolling resistance only depends on the weight/normal force of the car–not velocity. So how can I say they are variably dependent on velocity?

Also, let’s assume that the forces are proportional to velocity, then how would I figure out that proportionally constant?

I am trying to create a model in simulink with some sort of controller, probably PID, then later transfer it into reality. And I am already stuck with the main system. Thanks for any help!

One Answer

SimuLink is a great environment for learning about and developing a cruise control system, since it provides real life/time testing while observing every element in the system.

The resistances of the vehicle are certainly not proportional with the vehicle's speed, but it may come close at low speeds, ie. less than 10km/h. Both air and rolling fricion are not linear. In your case, rolling friction probably prevails because of the low speed I presume an RC car will maintain.

You have to design a model of your vehicle in SL to be able to quickly and accurately design a cruise control for it. There are SL models available on the web for free that allow you to simply fill in the vehicle's specs: mass, air drag coefficient, rolling resistance curve etc. I'd highly recommend to make use of this.

When you have created a model for your vehicle that you think quite accurately fits the real vehicle, start setting up a PID for the cruise control. The only input is the vehicle speed, the only output is the power demanded from the motor. Try to make the PID output and engine power proportional to get a quick and stable system. Same goes for the speed and input signal. In the beginning, make use of the saturation blocks to keep things stable, it allows for easier troubleshooting. Begin playing with the P, then I and then maybe D. There are methods for manually tuning the PID, like the Ziegler-Nichols method. They can be a good start.

When you have created a good and stable PID, you can make the PID values dependant on other variables like eg. speed, gearing ratio or battery charge.

Best of luck.

Answered by Bart on November 22, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP