This GUI demonstrates the use of fuzzy logic to control the steering of a car. Two sensors, one on each side of the car, detect the distances from the pavement, with which the "error" critereon is calculated. This, along with the change in error make the two inputs for our fuzzy system. The output is the angle of rotation (in degrees) for the steering wheel.
The car models were made in ProE and converted using cad2matdemo() here on the FEX. The fuzzy sets can be viewed through the Fuzzy Logic Toolbox and changed accordingly for a different performance.
Husam Aldahiyat (2021). Simple Fuzzy Control Demonstration (https://www.mathworks.com/matlabcentral/fileexchange/26474-simple-fuzzy-control-demonstration), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!