From: Kanthaswamy on 2 Jul 2010 05:49 Dear all, Could anyone help me out in the following control problem. " I need to control the steering speed of a vehicle by controlling the torque of a electric motor". I already have a motor speed Vs torque data in which the maximum torque capability of the motor is only 5 Nm than the required range of 11Nm. I need to modulate the value of the motor torque(already existing) using the PID control so that the error(Reference speed - actual steering speed) is minimal. I get stuck with how to feed the output of the controller(which is the torque) as a modulated value of present motor torque(obtained from the map). Please suggest me an approach.... pl. feel free to reach me at kantha1980(a)yahoo.com or +91-9787334221. Thanks in advance, Kanthaswamy Ganapathy
From: Steven Lord on 2 Jul 2010 09:40 "Kanthaswamy " <kanthaswamyg(a)example.com> wrote in message news:i0kcmf$gra$1(a)fred.mathworks.com... > Dear all, > Could anyone help me out in the following control problem. > " I need to control the steering speed of a vehicle by controlling the > torque of a electric motor". I already have a motor speed Vs torque data > in which the maximum torque capability of the motor is only 5 Nm than the > required range of 11Nm. > I need to modulate the value of the motor torque(already existing) using > the PID control so that the error(Reference speed - actual steering speed) > is minimal. > > I get stuck with how to feed the output of the controller(which is the > torque) as a modulated value of present motor torque(obtained from the > map). It sounds like the first example on this page from the Optimization Toolbox documentation does something close to what you want: http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/brn4noo.html Try adapting it to your problem. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
Pages: 1 Prev: how to vecotrize this? Next: Signal generation from mouse input |