mirror of
				https://github.com/gabrielkheisa/control-system.git
				synced 2025-11-03 22:09:20 +00:00 
			
		
		
		
	Merge branch 'main' of https://github.com/nandard/control-system
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
# Derivative Effect on Control System
 | 
			
		||||
# Improved Particle Swarm Optimization on PID Tuning
 | 
			
		||||
This dir is belong to Control System class contains with Tuning PID with ZN1 and PSO on motor system.
 | 
			
		||||
 | 
			
		||||
## Software
 | 
			
		||||
@@ -26,6 +26,53 @@ Variable above is the constant for PSO tuning.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Testing 
 | 
			
		||||
### ITAE Cost Function
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Step Response
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Ramp Response
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Impulse Response
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Acceleration Response
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
## Results
 | 
			
		||||
Elapsed time is 18.701024 seconds.
 | 
			
		||||
 | 
			
		||||
### Before PSO-PID
 | 
			
		||||
```
 | 
			
		||||
        RiseTime: 1.0161
 | 
			
		||||
    SettlingTime: 1.8471
 | 
			
		||||
     SettlingMin: 0.0819
 | 
			
		||||
     SettlingMax: 0.0907
 | 
			
		||||
       Overshoot: 0
 | 
			
		||||
      Undershoot: 0
 | 
			
		||||
            Peak: 0.0907
 | 
			
		||||
        PeakTime: 3.0168
 | 
			
		||||
         SSError: 0.9095
 | 
			
		||||
```
 | 
			
		||||
### After PSO-PID
 | 
			
		||||
Kp = 853.3161
 | 
			
		||||
 | 
			
		||||
Ki = 74.1078
 | 
			
		||||
 | 
			
		||||
Kd = 2.4810e+03
 | 
			
		||||
```
 | 
			
		||||
        RiseTime: 9.5287e-04
 | 
			
		||||
    SettlingTime: 0.0012
 | 
			
		||||
     SettlingMin: 0.9949
 | 
			
		||||
     SettlingMax: 0.9976
 | 
			
		||||
       Overshoot: 0
 | 
			
		||||
      Undershoot: 0
 | 
			
		||||
            Peak: 0.9976
 | 
			
		||||
        PeakTime: 0.0036
 | 
			
		||||
         SSError: 0.0024
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Notes
 | 
			
		||||
Contact nanda.r.d@mail.ugm.ac.id for more information
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user