A fuzzy system to control a container crane

Input variables

input variable angle

This is the angle of the load. It defined as 0 if it is vertical and increasing counter clockwise.

input variable distance

The absolute distance to the target position. At the end the load should be positioned at 0.

Output variables

output variable power

The power used to move to container crane. This is the output of the fuzzy controller.

Fuzzy rules

If you like you can change them by yourself.

...

1

...

2

...

3

...

4

...

5

...

6

...

Result

power as function of angle and distance

You get the following function: