there is a model in simulink on pi controller. but the valued of PI can be set through constant block.if i make the PI block my own,instead of using the ready inbuild musked block,and i use constant block to set the PI values.for proportional value(P) if i use a constant block as gain,and for integral block how will i use constant block?will it work?
hi,i guess it may not work if you are using constant block for integral block...better u can manually work out the equation using your constant values and get the result and you can put the final output in terms of simulink blocks..may be the final output can reproduce using math operation blocks.