Tutorial Teknik Elektro  

Home

Neural Net Neuro Fuzzy Mikrokontroler Fuzzy Membuat Web

 

 

 

 

 

 

Control Surface of Fuzzy System 

 

To generate control surface of fuzzy controller as shown in figure 1 below, we must prepare data for 3 D plotting.

 

 

Figure 1. Block Diagram for PD-like Fuzzy Controller

 

These data are two inputs and an output of fuzzy system, that can be generated using the  listed code below

 

 

x=linspace(-5,5,100);
y=linspace(-5,5,100);
for i=1:100
     for j=1:100
          z(i,j)=fuzz_satelit(x(i),y(j));
     end
end
surf(x,y,z)
title('Control Surface');
xlabel('Error');
ylabel('d_error');
zlabel('Output');

 

But we must download the functions below to run the above code first

1. Left membership (setiga_kr.rar)

2. Center membership (setiga_tg.rar)

3. Right membership (setiga_kn.rar)

4. Fuzzy controller (fuzz_satelit.rar)

 

 

If we run the code above, we will get the picture below.

 

 

 

 

Back

 

 

 

 

Home

Neural Net Neuro Fuzzy Mikrokontroler Fuzzy Membuat Web

Contact Webmaster 

© 2008 Wakhyu Dwiono