initial condition for a control loop with hysterisis controller

300 views Asked by At

I modeled a control loop with a hysterisis controller and a saw. I identified the saw as PT4 system. So this PT4 block is my plant. Now the controller gives me a relative position value for the saw. Retract 0,3 mm or extend 0,3mm. The plant wants to have a absolute position. Therefore I made a feedback from the actual position of the saw to an add block with the relative position. So far so good. The control loop works. The only problem is the start, as the simulated value starts at zero. So it takes some time till the saw is extended to the desired position. Later before controlling starts the saw is extended to 8.6mm. Accordingly I wanna start my simulation at 8.6mm too.

How can I do this?

I tried to use an initial condition block but this didn't change anything.

Figure 1 shows the output of the control loop with the problem at the beginning.

Figure 2 shows the feedback

Figure 3 shows the output of scope42 with IC block set to 8.6.

output

control loop

scope42

1

There are 1 answers

5
durasm On

Put Initial Output of Transport Delay block to 8.6

Additionally: Your Transfer Fcn block (PT4) needs conversion if you want to have initial conditions other than zero. Please check this.