I expect the phase result to be somehow related to input signal. I will give an example which I could understand:
Input --> x = cos(2*pi*10*t - 60°) + i*cos( 2*pi*20*t + 90°)
Process --> fft(x)
Output --> I get peaks at 10 and 20 hz with amplitudes symmetric with -10 and...
I have a complex signal eg: cos(wt + phase1) + i*cos(wt + phase2)
the frequency of both the waves is same. When i have a look at the phase spectrum of the above signal, i am not able to interpret the phase values. They are making no sense. I tried to determine phase shift for real signals and...
Hi everyone,
I want to build a car-model which should be good enough to study under-steer/over-steer and test various safety algorithms like ABS, TCS, ESP. Initially I made a quarter car model, here I could implement simple ABS,TCS. Quarter car model supports only longitudinal dynamics and is...
Hi,
I have a speed controller and a distance controller. The distance controller has speed controller as inner loop. Now I want to limit the speed to which my car can follow the leading car, any idea on how I could achieve it? I am trying to use a switch in distance controller where the input...
As per control theory, if a bounded input produces a bounded output then a system can be said to be stable. So assuming that I press my cars gas pedal such that it reaches a fixed position, then the reaction of my car would be to reach a corresponding velocity, and assuming the road to be even...
Sorry I uploaded SCL twice, here I have uploaded distance control. My speed controller seems to work really fine, I replaced the discete delay block by ( 1 / ( s + T )). The tuning of my distance loop is a problem now, trying to tune it since past 4 hours :/
Hi, thank you for the suggestion, I will try to express myself better. Presently, I am trying to work with the idea presented by Hersch, will post a question when I am done with the modification. Thank you again. :)
My PID controller is analog.
I cannot use motor as a brake because I already have a car model which expects only two inputs namely Throttle and Brakes, so the Brakes are already modeled in this car model.
I have a model of car, my aim is to make a simple model of adaptive cruise control. The only input to this model is a user set distance (range 2 to 50 meters), this is the distance that our vehicle should maintain between itself and the leading vehicle. I plan to control this using throttle and...
My target is to make a Adaptive cruise controller(ACC) for a car model. So i divided the task into two parts, first--- I made a speed following model, tuned a PID controller for it.
Second---- I made a distance following model, tuned a PID for this.
Now i integrated the two models into a single...