5 l 2 1 input multiple rules Source

  • Slides: 32
Download presentation

5. 퍼지이론 l 퍼지 응용 예2 (1 input, multiple rules) Source: http: //www. vectorsite.

5. 퍼지이론 l 퍼지 응용 예2 (1 input, multiple rules) Source: http: //www. vectorsite. net/ttfuzzy. html 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control application on a Traffic Road 퍼지 교통제어 inputs Fuzzy Logic

5. 퍼지이론 Fuzzy control application on a Traffic Road 퍼지 교통제어 inputs Fuzzy Logic Control output Inputs={Arrival, Queue} Output={Extension} 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control Traffic simulator N Front detector E W Arrival : Green

5. 퍼지이론 Fuzzy control Traffic simulator N Front detector E W Arrival : Green 신호에 진입한 차량 수 Rea N(7대), S(8대)=15대 r de tect or Queue : Red 신호에 대기하는 차량 수 W(6대), E(5대)=11대 인공지능: 개념 및 응용(4판) S 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control 추론 Primitive time(기본주기) : 18초, A=10, Q=20 Extension time :

5. 퍼지이론 Fuzzy control 추론 Primitive time(기본주기) : 18초, A=10, Q=20 Extension time : Primitive time 이외의 연장시간 f 1 : A=10 & Q=20 f 2 : A=20 & Q=5 f 3 : A=0 & Q=0 인공지능: 개념 및 응용(4판) then 도용태 김일곤 김종완 박창현 강병호 공저 E=0초 E=10초 E=? 초 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control 1. Fuzzy input variables & their membership functions zero 0

5. 퍼지이론 Fuzzy control 1. Fuzzy input variables & their membership functions zero 0 1 2 zero 0 normal light 3 4 5 short 1 2 3 6 7 heavy 8 인공지능: 개념 및 응용(4판) 5 6 7 10 0 normal light 1 2 3 4 5 6 7 heavy 8 9 10 long medium 4 9 zero 8 9 10 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control 2. Fuzzy control rules(rule의 개수 4*4=16) Extension 인공지능: 개념 및

5. 퍼지이론 Fuzzy control 2. Fuzzy control rules(rule의 개수 4*4=16) Extension 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control <규칙설명> R 1 : if Arrival = Z and Queue

5. 퍼지이론 Fuzzy control <규칙설명> R 1 : if Arrival = Z and Queue = Z then Extension = Z(Zero) R 2 : if Arrival = Z and Queue = S then Extension = Z R 3 : if Arrival = Z and Queue = M then Extension = Z R 4 : if Arrival = Z and Queue = L then Extension = Z R 5 : if Arrival = S and Queue = Z then Extension = S(Short) R 6 : if Arrival = S and Queue = S then Extension = Z R 7 : if Arrival = S and Queue = M then Extension = Z R 8 : if Arrival = S and Queue = L then Extension = Z R 9 : if Arrival = M and Queue = Z then Extension = M(Medium) R 10 : if Arrival = M and Queue = S then Extension = S R 11 : if Arrival = M and Queue = M then Extension = Z R 12 : if Arrival = M and Queue = L then Extension = Z R 13 : if Arrival = L and Queue = Z then Extension = L(Long) R 14 : if Arrival = L and Queue = S then Extension = M R 15 : if Arrival = L and Queue = M then Extension = S R 16 : if Arrival = L and Queue = L then Extension = Z 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control <계산식> u[i] * u(i, Extension) Extension = -----------u[i] 16 u[i]

5. 퍼지이론 Fuzzy control <계산식> u[i] * u(i, Extension) Extension = -----------u[i] 16 u[i] = ∑ min( Ri-Arrival, Ri-Queue) i =1 u(i, Extension) = the extension_unit of i-th Rule Linguistic Label of Extension 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control Ex) Arrival = 7 이고 Queue = 5 일 때

5. 퍼지이론 Fuzzy control Ex) Arrival = 7 이고 Queue = 5 일 때 Extension = ? R 1 : if Arrival(Zero) = 0 and Queue(Zero) = 0 then Extension(Zero) = 0초 min(0, 0) = 0 R 2 : if Arrival(Zero) = 0 and Queue(Short) = 0. 2 then Extension(Zero) = 0초 R 3 : if Arrival(Zero) = 0 and Queue(Medium) = 0. 8 then Extension(Zero) = 0초 R 4 : if Arrival(Zero) = 0 and Queue(Long) = 0 then Extension(Zero) = 0초 R 5 : if Arrival(Short) = 0 and Queue(Zero) = 0 then Extension(Short) = 3초 R 6 : if Arrival(Short) = 0 and Queue(Short) = 0. 2 then Extension(Zero) = 0초 R 7 : if Arrival(Short) = 0 and Queue(Medium) = 0. 8 then Extension(Zero) = 0초 R 8 : if Arrival(Short) = 0 and Queue(Long) = 0 then Extension(Zero) = 0초 R 9 : if Arrival(Medium) = 0. 7 and Queue(Zero) = 0 then Extension(Medium) = 6초 R 10 : if Arrival(Medium) = 0. 7 and Queue(Short) = 0. 2 then Extension(Short) = 3초 min(0. 7, 0. 2) = 0. 2 R 11 : if Arrival(Medium) = 0. 7 and Queue(Medium) = 0. 8 then Extension(Zero) = 0초 R 12 : if Arrival(Medium) = 0. 7 and Queue(Long) = 0 then Extension(Zero) = 0초 R 13 : if Arrival(Long) = 0. 4 and Queue(Zero) = 0 then Extension(Long) = 9초 R 14 : if Arrival(Long) = 0. 4 and Queue(Short) = 0. 2 then Extension(Medium) = 6초 R 15 : if Arrival(Long) = 0. 4 and Queue(Medium) = 0. 8 then Extension(Short) = 3초 R 16 : if Arrival(Long) = 0. 4 and Queue(Long) = 0 then Extension(Zero) = 0초 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications

5. 퍼지이론 Fuzzy control numerator Extension = -------denominator numerator = 0*0+0*3+ 0*0+0*6+ 0. 2*3+

5. 퍼지이론 Fuzzy control numerator Extension = -------denominator numerator = 0*0+0*3+ 0*0+0*6+ 0. 2*3+ … denominator = 0+ 0+ 0+0. 2+ 0. 7+ 0+ 0+ 0. 2+ 0. 4+ 0 0*0+0*3+ 0*0+0*6+ 0. 2*3+ … Extension = --------------------------0+ 0+ 0+0. 2+ 0. 7+ 0+ 0+ 0. 2+ 0. 4+ 0 0. 2*3 + 0. 7*0 + 0. 2*6 + 0. 4*3 = -------------------0. 2 + 0. 7 + 0. 2 + 0. 4 3. 0 = ----1. 5 = 2(sec) 인공지능: 개념 및 응용(4판) 도용태 김일곤 김종완 박창현 강병호 공저 Artificial Intelligence: Concepts and Applications