KR0176450B1 - Time variant input circuit of fuzzy micro-controller - Google Patents

Time variant input circuit of fuzzy micro-controller Download PDF

Info

Publication number
KR0176450B1
KR0176450B1 KR1019920016672A KR920016672A KR0176450B1 KR 0176450 B1 KR0176450 B1 KR 0176450B1 KR 1019920016672 A KR1019920016672 A KR 1019920016672A KR 920016672 A KR920016672 A KR 920016672A KR 0176450 B1 KR0176450 B1 KR 0176450B1
Authority
KR
South Korea
Prior art keywords
fuzzy
signal
output
circuit
bit
Prior art date
Application number
KR1019920016672A
Other languages
Korean (ko)
Other versions
KR940007714A (en
Inventor
양인석
Original Assignee
윤종용
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019920016672A priority Critical patent/KR0176450B1/en
Publication of KR940007714A publication Critical patent/KR940007714A/en
Application granted granted Critical
Publication of KR0176450B1 publication Critical patent/KR0176450B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers

Abstract

본 발명은 퍼지 마이크로 제어지로의 다양한 시간 변수를 입력하는 것이 가능한 퍼지 마이크로 제어기로의 시간 변수 입력 회로를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention provides a time variable input circuit to a fuzzy microcontroller capable of inputting various time variables into a fuzzy microcontroller.

본 발명에 따른 퍼지 마이크로 제어기로의 시간변수 입력회로는 퍼지 마이크로 제어기를 효율적으로 사용할 수 있을 뿐만 아니라 퍼지 마이크로 제어기에 시간변수를 다양하게 입력 시킬 수 있음에 따라 시간에 따른 제어가 필요한 회로를 쉽게 제어 할 수 있다.The time variable input circuit to the fuzzy microcontroller according to the present invention can not only efficiently use the fuzzy microcontroller but also can variously input the time variable to the fuzzy microcontroller to easily control a circuit requiring time-dependent control. can do.

Description

퍼지 마이크로 제어기로의 시간 변수 입력 회로Time Variable Input Circuit to Fuzzy Microcontroller

제1도는 본 발명의 퍼지 마이크로 제어기의 구성을 나타내는 블럭도이다.1 is a block diagram showing the configuration of a fuzzy microcontroller of the present invention.

제2도는 본 발명의 퍼지 마이크로 제어기로의 시간변수 입력회로를 나타내는 것이다.2 shows a time variable input circuit to the fuzzy microcontroller of the present invention.

제3도는 제2도에 나타낸 일실시예의 퍼지 마이크로 제어기로의 시간변수 입력회로의 계수기의 구성과 상기 계수기를 제어하는 출력데이타 포맷을 나타내는 것이다.FIG. 3 shows the configuration of the counter of the time variable input circuit to the fuzzy microcontroller of the embodiment shown in FIG. 2 and the output data format for controlling the counter.

본 발명은 퍼지 마이크로 제어기에 관한 것으로, 특히 퍼지 마이크로 제어지로의 시간 변수 입력 회로에 관한 것이다.The present invention relates to a fuzzy microcontroller, and more particularly to a time variable input circuit into a fuzzy microcontroller.

기존의 퍼지 칩을 통하여 퍼지 추론을 행할 경우에 시간에 대한 추론을 할 경우 외부 발진을 추론 칩으로 입력시켜 여러 단계를 거쳐 시간을 누적해야하고 이를 다시 궤환입력으로 받아 원하는 시간이 되었는가를 판단하여 다음 제어를 위해 사용하게 된다.In case of performing fuzzy inference through the existing fuzzy chip, when inferring time, it is necessary to accumulate time through several steps by inputting external oscillation into the inference chip. Used for control.

이 때에 퍼지 마이크로 제어기 내부가 시간 계수를 위해 비효율적으로 사용될 뿐만 아니라 여러 가지 다양한 시간을 계수하기에는 어려운 점이 있었다.At this time, not only the fuzzy microcontroller interior is inefficiently used for time counting, but also various times are difficult to count.

본 발명의 목적은 퍼지 마이크로 제어기로의 다양한 시간 변수를 입력하는 것이 가능한 퍼지 마이크로 제어기로의 시간 변수 입력 회로를 제공하는데 있다.It is an object of the present invention to provide a time variable input circuit to a fuzzy microcontroller capable of inputting various time variables to a fuzzy microcontroller.

상기 목적을 달성하기 위한 본 발명의 퍼지 마이크로 제어기로의 시간 변수 입력 회로는 입력 신호나 궤환되는 신호를 선택하기 위한 퍼지 입력 선택회로와 사용자에 의해서 정의된 멤버쉽 함수 값이 정의되어 있는 퍼지 함수 연산부들과 상기 퍼지 함수 연산부들로 부터의 출력신호와 규칙 메모리에 들어있는 값의 최소값을 찾는 최소값 회로와 상기 최소값 회로로 부터의 신호를 입력하여 최대값을 찾는 최대값회로와 상기 최대값 회로로 부터의 신호를 저장하여 출력하고 상기 퍼지 입력 선택회로에 궤환하는 레지스터를 구비한 퍼지 마이크로 제어기의 시간변수 입력회로에 있어서, 상기 퍼지 마이크로 제어기의 제1출력단자로부터 출력되는 클럭 주파수 분배 정보를 포함하는 데이터를 이용하여 클럭 신호를 소정 횟수 분배하여 출력시키기 위한 분배수단, 상기 퍼지 마이크로 제어기의 제2출력단자로부터의 시간변수를 포함하는 제2데이타를 입력하여, 상기 시간변수정보를 갖는 해당 비트의 데이터를 해독하여 카운터를 결정하기 위한 디코더, 상기 디코더에 의하여 결정된 카운터를 상기 분배 수단에서 발생되는 클럭신호로 카운팅하여 목표 카운팅값에 도달된 경우에 계수출력데이타(CNT_OUT)를 출력시키기 위한 복수의 계수기를 포함하는 계수수단 및 상기 계수출력데이타(CNT_OUT)를 래치하여 상기 퍼지 입력선택회로의 시간변수 입력단자에 입력하기 위한 래치회로를 구비하는 것을 특징으로 한다.The time variable input circuit to the fuzzy microcontroller of the present invention for achieving the above object is a fuzzy input selection circuit for selecting an input signal or a feedback signal and the fuzzy function calculation unit defined by the user defined membership function value And a maximum value circuit for finding the maximum value by inputting a signal from the minimum value circuit and a minimum value circuit for finding the minimum value of the output signal from the fuzzy function calculating units and the rule memory. A time variable input circuit of a fuzzy microcontroller having a register for storing and outputting a signal and feeding back to the fuzzy input selection circuit, the data comprising clock frequency distribution information output from a first output terminal of the fuzzy microcontroller. To distribute the clock signal a predetermined number of times A decoder configured to input a second data including a time variable from a second output terminal of the fuzzy microcontroller, to decode data of a corresponding bit having the time variable information, and to determine a counter; A counting means including a counter for counting the determined counter with a clock signal generated by the distributing means and outputting the counting output data CNT_OUT when the target counting value is reached, and latching the counting output data CNT_OUT. And a latch circuit for inputting to the time variable input terminal of the fuzzy input selection circuit.

첨부된 도면을 참고로하여 본 발명의 퍼지 마치크로 제어기로의 시간변수 입력 회로를 설명하기 전에 종래의 퍼지 마이크로 제어기의 구성을 설명하면 다음과 같다.Referring to the accompanying drawings, the configuration of a conventional fuzzy microcontroller will be described before describing the time variable input circuit to the fuzzy macro controller of the present invention.

제1도는 퍼지 마이크로 제어기의 구성을 나타내는 것이다.1 shows the configuration of a fuzzy microcontroller.

제1도에 있어서, 외부로 부터의 입력신호나 출력단자로부터 궤환되는 신호를 선택하기 위한 퍼지 함수 연산부 입력 선택회로(10), 상기 퍼지 함수 연산부 입력 선택회로(10)로부터 출력되는 값과 정의된 멤버쉽(membership)함수 값과 어느정도의 상관성이 있는지 상관 관계를 계산하는 사용자에 의해서 정의가 가능한 각각의 멤버쉽 함수 값이 정의 되어있는 퍼지 함수 연산부(20), 사용자가 정의한 규칙이 입력되어 있는 규칙 메모리(30), 상기 퍼지 함수 연산부들(20)의 출력값과 상기 규칙 메모리(30)에 정의된 값과의 소속정도가 가장 작은 값을 찾는 최소값 비교기(40), 입력 값들에 대해 규칙 메모리의 사용자 정의 규칙 중에서 가장 적합한 규칙을 찾는 최대값 연산을 하는 최대값 비교기(50), 상기 최대값 비교기(50)의 최종 선택된 출력값을 저장하여 출력하고 상기 퍼지 함수 연산부 입력 선택회로(10)로 궤환하기 위한 출력 레지스터(60), 및 상기 회로들(10,20,30,40,50,60)을 제어하고 필요한 타이밍을 제공하기 위한 타이밍 제어회로(70)으로 구성되어 있다.In FIG. 1, a fuzzy function calculation unit input selection circuit 10 for selecting an input signal from the outside or a signal fed back from an output terminal and a value output from the fuzzy function calculation unit input selection circuit 10 are defined. Fuzzy function calculation unit 20 in which each member function value that can be defined by a user who calculates a correlation is defined, and a rule memory in which a user-defined rule is input. 30), a minimum value comparator 40 for finding a value having the smallest degree of belonging between the output values of the fuzzy function calculation units 20 and the value defined in the rule memory 30, and a user-defined rule of the rule memory for input values. A maximum value comparator 50 performing a maximum value calculation for finding the most suitable rule among the stored values and storing and outputting the last selected output value of the maximum value comparator 50 An output register 60 for returning to the pre-fuzzy function calculating section input selection circuit 10, and a timing control circuit for controlling the circuits 10, 20, 30, 40, 50, 60 and providing necessary timing ( 70).

상기 출력되는 값들은 사용자가 제어대상에 따라 정의한 값들이다. 이 값들에 의해 사용자가 원하는 제어 대상을 제어하게 되는데 이 때 본발명에서 제안하는 방법에 의하여 유용한 시간변수를 본 발명의 구성에 의해서 얻을 수 있다.The output values are values defined by the user according to the control target. These values control the user's desired control object. At this time, a useful time variable can be obtained by the configuration of the present invention by the method proposed by the present invention.

제2도는 본 발명의 퍼지 마이크로 제어기로의 시간변수 입력회로를 나타내는 것이다.2 shows a time variable input circuit to the fuzzy microcontroller of the present invention.

제2도에 있어서, 퍼지 마이크로 제어기(100), 상기 퍼지 마이크로 제어기(100)의 제1출력단자(OUT6)로 부터의 시간주기를 분배하기 위한 분배기(110), 상기 분배기(110)의 출력신호와 상기 퍼지 마이크로 제어기(100)의 제2출력단자(OUT7)로 부터의 신호를 입력하여 계수하기 위한 계수기(120), 상기 계수기(120)의 출력신호를 래치하여 상기 퍼지 마이크로 제어기(100)의 제1입력단자(IN7)에 출력하기 위한 래치회로(130)으로 구성되어 있다.In FIG. 2, a fuzzy microcontroller 100, a divider 110 for distributing a time period from the first output terminal OUT6 of the purge microcontroller 100, and an output signal of the divider 110. And a counter 120 for inputting and counting a signal from the second output terminal OUT7 of the fuzzy microcontroller 100, and latching an output signal of the counter 120 to latch the output signal of the fuzzy microcontroller 100. And a latch circuit 130 for outputting to the first input terminal IN7.

제3도는 제2도에 나타낸 계수기의 상세한 구성을 나타내는 블럭도이다.3 is a block diagram showing the detailed configuration of the counter shown in FIG.

퍼지 마이크로 제어기의 출력단자(OUT7,OUT6)에 원하는 시간변수를 얻기 위한 출력값을 발생하기 위하여 출력단자(OUT7)로 부터의 최상위비트(S)는 계수를 시작 또는 종료시키는 비트이고, 비트(L)은 계수기에 새로운 값을 로드 시키는 비트이고, 비트(X)는 사용치 않는 비트이고, 비트(S0,S1,S2)는 계수기중의 하나를 선택하기 위한 신호를 발생하는 비트이다.In order to generate an output value for obtaining a desired time variable at the output terminals OUT7 and OUT6 of the fuzzy microcontroller, the most significant bit S from the output terminal OUT7 is a bit which starts or stops counting, and bit L. Is a bit for loading a new value into the counter, bit (X) is an unused bit, and bits (S0, S1, S2) are bits that generate a signal for selecting one of the counters.

출력단자(OUT7)의 출력비트(S0,S1,S2)신호를 디코드하는 디코더(200), 상기 디코더(200)의 출력신호에 따라 선택되는 인에이블단자( ENT)와 출력비트(S)에 의해 계수를 시작 또는 종료하는 단자(ENP)와 상기 출력비트(L)에 의해 새로운 값이 로드되는 로드단자(LOAD)와 출력단자(OUT)를가진 8개의 계수기(201,202,203,204,205,206,207,208)으로 구성되어 있다.The decoder 200 decodes the output bit signals S0, S1, and S2 of the output terminal OUT7, and the enable terminal ENT and the output bit S selected according to the output signal of the decoder 200. It consists of eight counters 201, 202, 203, 204, 205, 206, 207, and 208 having a load terminal LOAD and an output terminal OUT for which a new value is loaded by the output bit L.

예를 들어, 사용자가 출력단자(OUT7)에 1,1,X,X,X,0,0,0의 출력이 나오도록 했다면 제3도의 계수기(201)을 선택한 것이고 계수기(201)의 동작은 통상의 계수 동작을 따른다. 출력비트(S)가 1이므로 계수기(201)은 통상의 계수 동작을 시작하며 제3도의 계수기(201)의 계수출력(CNT-OUT)에 의해 계수가 완료되었음을 알 수 있으며 이 값은 제2도의 래치(130)를 통하여 퍼지 마이크로 제어기(100)로 재입력되며 이는 추론 변수로 사용된다.For example, if the user outputs 1,1, X, X, X, 0,0,0 to the output terminal OUT7, the counter 201 of FIG. 3 is selected and the operation of the counter 201 is performed. Follow the normal counting operation. Since the output bit S is 1, the counter 201 starts a normal counting operation and it can be seen that the count is completed by the counter output CNT-OUT of the counter 201 of FIG. It is re-entered into the fuzzy microcontroller 100 through the latch 130 and used as the inference variable.

여덟 개의 각 계수기는 각기 다른 값을 계수하도록 한다.Each of the eight counters allows you to count different values.

같은 형태로 분배기(110)도 구성 할 수 있으며, 분배기에 의하여 클럭신호를 소정의 횟수 분배시켜 클럭 주파수를 변경시킬 수 있다. 분배기(110)과 계수기(120)의 조합에 의해 다양한 시간 변수를 얻을 수 있다. 이렇게 해서 얻은 시간 변수는 퍼지 마이크로 제어기(100)로 입력되어 사용자가 원하는 시간이 되었음을 판단하여 필요한 제어 출력을 발생한다. 두가지 이상의 시간 변수가 필요한 경우에는 제2도의 래치(130), 계수기(120), 분배기(110)과 같은 블럭을 추가하여 다른 입력 변수로 사용한다.The divider 110 may be configured in the same manner, and the clock frequency may be changed by distributing the clock signal a predetermined number of times by the divider. Various time variables can be obtained by the combination of divider 110 and counter 120. The time variable thus obtained is input to the fuzzy microcontroller 100 to determine that the time desired by the user is generated to generate the necessary control output. If more than two time variables are needed, blocks such as latch 130, counter 120, and divider 110 in FIG. 2 may be added and used as other input variables.

따라서, 본 발명에 따른 퍼지 마이크로 제어기로의 시간변수 입력회로는 퍼지 마이크로 제어기를 효율적으로 사용할 수 있을 뿐만 아니라 퍼지 마이크로 제어기에 시간변수를 다양하게 입력시킬 수 있음에 따라 시간에 따른 제어가 필요한 회로를 쉽게 제어 할 수 있다.Therefore, the time variable input circuit to the fuzzy microcontroller according to the present invention can not only efficiently use the fuzzy microcontroller but also variously input the time variable to the fuzzy microcontroller. Easy to control

Claims (3)

입력 신호나 궤환되는 신호를 선택하기 위한 퍼지 입력 선택회로와 사용자에 의해서 정의된 멤버쉽 함수 값이 정의되어 있는 퍼지 함수 연산부들과 상기 퍼지 함수 연산부들로 부터의 출력신호와 규칙 메모리에 들어있는 값의 최소값을 찾는 최소값 회로와 상기 최소값 회로로 부터의 신호를 입력하여 최대값을 찾는 최대값 회로와 상기 최대값 회로로 부터의 신호를 저장하여 출력하고 상기 퍼지 입력 선택회로에 궤환하는 레지스터를 구비한 퍼지 마이크로 제어기의 시간변수 입력회로에 있어서, 상기 퍼지 마이크로 제어기의 제1출력단자로부터 출력되는 클럭 주파수 분배 정보를 포함하는 데이터를 이용하여 클럭 신호를 소정 횟수 분배하여 출력시키기 위한 분배수단; 상기 퍼지 마이크로 제어기의 제2출력단자로부터의 시간변수를 포함하는 제2데이타를 입력하여, 상기 시간변수정보를 갖는 해당 비트의 데이터를 해독하여 카운터를 결정하기 위한 디코더; 상기 디코더에 의하여 결정된 카운터를 상기 분배 수단에서 발생되는 클럭신호로 카운팅하여 목표 카운팅값에 도달된 경우에 계수출력데이타(CNT OUT)를 출력시키기 위한 복수의 계수기를 포함하는 계수수단; 및 상기 계수출력데이타(CNT OUT)를 래치하여 상기 퍼지 입력선택회로의 시간변수 입력단자에 입력하기 위한 래치회로를 구비하는 것을 특징으로하는 퍼지 마이크로 제어기로의 시간변수 입력회로.Fuzzy input selection circuit for selecting an input signal or a feedback signal, and fuzzy function calculators in which a user-defined membership function value is defined, and output signals from the fuzzy function calculators and values contained in the rule memory. A purge having a minimum value circuit for finding the minimum value and a signal from the minimum value circuit for inputting the maximum value circuit for finding the maximum value and a register for storing and outputting the signal from the maximum value circuit and feeding back to the fuzzy input selection circuit. A time variable input circuit of a microcontroller, comprising: distribution means for distributing and outputting a clock signal a predetermined number of times using data including clock frequency distribution information output from a first output terminal of the fuzzy microcontroller; A decoder for determining a counter by inputting second data including a time variable from a second output terminal of the fuzzy microcontroller, decoding data of a corresponding bit having the time variable information; Counting means including a plurality of counters for counting the counter determined by the decoder with a clock signal generated by the distributing means to output a count output data (CNT OUT) when a target counting value is reached; And a latch circuit for latching the count output data (CNT OUT) and inputting the count output data to the time variable input terminal of the fuzzy input selection circuit. 제1항에 있어서, 상기 퍼지 마이크로 제어기의 제1출력단자로부터 출력되는 데이터의 포맷은 제1비트는 상기 계수기를 시작 또는 종료시키기 위한 비트이고 제2비트는 계수기에 새로운 값을 로드시키기 위한 비트이고 제3,4,5비트는 사용하지 않는 비트이고 제6,7,8비트는 상기 계수기들 중의 하나를 선택하기 위한 신호를 발생하는 비트인 것을 특징으로하는 퍼지 마이크로 제어기로의 시간 변수 입력회로.2. The method of claim 1, wherein the format of data output from the first output terminal of the fuzzy microcontroller is a first bit is a bit for starting or terminating the counter and a second bit is a bit for loading a new value into the counter. And the third, fourth, and fifth bits are unused bits, and the sixth, seventh, and eighth bits are bits for generating a signal for selecting one of the counters. 제1항 또는 제2항에 있어서, 상기 계수 수단은 상기 제6,7,8비트로 부터의 신호를 디코더하는 디코더와 상기 디코더의 출력신호에 응답하여 선택되는 제1단자와 상기 제1비트 신호를 입력하여 계수를 시작 또는 종료하는 제2단자와 상기 제2비트 신호를 입력하여 계수를 클리어하는 제3단자를 가진 8개의 계수기로 구성된 것을 특징으로 하는 퍼지 마이크로 제어기로의 시간 변수 입력회로.3. The apparatus of claim 1 or 2, wherein the counting means comprises: a decoder for decoding a signal from the sixth, seventh, and eighth bits, a first terminal selected in response to an output signal of the decoder, and the first bit signal. 8. A time variable input circuit to a fuzzy microcontroller, characterized in that it comprises eight counters having a second terminal for inputting to start or end the counting and a third terminal for inputting the second bit signal to clear the coefficients.
KR1019920016672A 1992-09-14 1992-09-14 Time variant input circuit of fuzzy micro-controller KR0176450B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920016672A KR0176450B1 (en) 1992-09-14 1992-09-14 Time variant input circuit of fuzzy micro-controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920016672A KR0176450B1 (en) 1992-09-14 1992-09-14 Time variant input circuit of fuzzy micro-controller

Publications (2)

Publication Number Publication Date
KR940007714A KR940007714A (en) 1994-04-28
KR0176450B1 true KR0176450B1 (en) 1999-05-15

Family

ID=19339470

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920016672A KR0176450B1 (en) 1992-09-14 1992-09-14 Time variant input circuit of fuzzy micro-controller

Country Status (1)

Country Link
KR (1) KR0176450B1 (en)

Also Published As

Publication number Publication date
KR940007714A (en) 1994-04-28

Similar Documents

Publication Publication Date Title
EP0646932B1 (en) Circuit for decoding variable-length code, and system for decoding variable-length code which uses the circuit
US20060109035A1 (en) Clock frequency divider circuit
KR19990076159A (en) Sensing Circuit of Flash Memory Device with Adjustable Threshold Voltage
US5311177A (en) Code transmitting apparatus with limited carry propagation
EP0555925B1 (en) ATM policing function with autonomous reference time instants
KR0176450B1 (en) Time variant input circuit of fuzzy micro-controller
EP0173040A2 (en) Vector processing system
EP0463640A2 (en) Memory device for simulating a shift register
KR920000417B1 (en) Arithmetic processing unit
KR100233284B1 (en) Address generator
KR100270891B1 (en) Pulse signal generation circuit and pulse signal generation method
US4831572A (en) Polynomial vector arithmetic operation control system
US20010028259A1 (en) Duty cycle discriminating circuit having variable threshold point
JPH0219953B2 (en)
KR100314481B1 (en) Data expanding device
KR910001459B1 (en) Time control system of digital clock
KR200163541Y1 (en) A binary divider with compensation of the remainder
SU506845A1 (en) Digital function generator
US4434473A (en) Method and device for storing logic representations of process states
US6035344A (en) Data transfer apparatus which outputs data based upon a control signal
RU1777133C (en) Programmable logical device
KR100293712B1 (en) Address Generator Used for Digital Filtering
JPH04235618A (en) Microcomputer system
JPH01258130A (en) Pseudo random number generator
KR20000000827A (en) Address generator for digital filtering

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20051028

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee