KR910007631Y1 - Analog data monitoring circuit for cpu - Google Patents

Analog data monitoring circuit for cpu Download PDF

Info

Publication number
KR910007631Y1
KR910007631Y1 KR2019890004667U KR890004667U KR910007631Y1 KR 910007631 Y1 KR910007631 Y1 KR 910007631Y1 KR 2019890004667 U KR2019890004667 U KR 2019890004667U KR 890004667 U KR890004667 U KR 890004667U KR 910007631 Y1 KR910007631 Y1 KR 910007631Y1
Authority
KR
South Korea
Prior art keywords
data
output
selector
comparator
latch
Prior art date
Application number
KR2019890004667U
Other languages
Korean (ko)
Other versions
KR900019149U (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 KR2019890004667U priority Critical patent/KR910007631Y1/en
Publication of KR900019149U publication Critical patent/KR900019149U/en
Application granted granted Critical
Publication of KR910007631Y1 publication Critical patent/KR910007631Y1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06GANALOGUE COMPUTERS
    • G06G7/00Devices in which the computing operation is performed by varying electric or magnetic quantities
    • G06G7/48Analogue computers for specific processes, systems or devices, e.g. simulators
    • G06G7/66Analogue computers for specific processes, systems or devices, e.g. simulators for control systems

Abstract

내용 없음.No content.

Description

씨피유의 아날로그 데이타 감지회로CPIU's Analog Data Sensing Circuit

제1도는 종래의 씨피유 아날로그 출력회로도.1 is a conventional CPI analog output circuit diagram.

제2도는 본 고안 씨피유의 아날로그 데이타 감지회로도.2 is an analog data detection circuit diagram of the present invention CPI.

제3도는 (a) 내지 (i)는 제2도의 각부 파형도.3 is a waveform diagram of each part of (a) to (i) in FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1, 2 : 래치버퍼 3 : 연산처리부1, 2: Latch buffer 3: Operation processing unit

4, 10, 11 : 비교기 5 : 선택기4, 10, 11: Comparator 5: Selector

6 : D/A변환기 7 : 스위치6: D / A Converter 7: Switch

8 : 데이타버스 9 : 어드레스커버8: Databus 9: Address Cover

12 : 어드레스선택기 13 : 버퍼12: address selector 13: buffer

AND1, AND2 : 앤드게이트AND1, AND2: AND gate

본 고안은 자동제어시스템의 아날로그 출력회로에 관한 것으로, 특히 씨피유(CPU)의 데이타를 감지하여 출력되는 아날로그 데이타의 에러상태를 제거하도록 한 씨피유의 아날로그 데이타 감지회로에 관한 것이다.The present invention relates to an analog output circuit of an automatic control system, and more particularly to an analog data detection circuit of CPI to detect the data of the CPU (CPU) to eliminate the error state of the analog data output.

일반적으로 자동제어시스템은 씨피유에 설정된 프로그램을 통해 아날로그값을 설정하여, 공기, 온도, 압력과 같은 제어용 설비의 외부조건을 제어한다.In general, the automatic control system sets analog values through a program set in CPI to control external conditions of the control equipment such as air, temperature and pressure.

종래의 아날로그 출력회로는 제1도에 도시한 바와같이, 시스템클럭(CK)이 래치버퍼(1)에 공급되면 데이타버스(8)로부터의 데이타(Dn)가 래치버퍼(1)를 통해 래치된후 선택기(5)의 입력단(A), 연산처리부(3)의 입력단(B)에 전송됨과 아울러 래치버퍼(2)를 통해 래치되어 데이타(Dn-1)로 래치되며, 이의 데이타(Dn-1)가 선택기(5)의 입력단(B), 연산처리부(3)의 입력단(A)에 전송된다.In the conventional analog output circuit, as shown in FIG. 1, when the system clock CK is supplied to the latch buffer 1, the data Dn from the data bus 8 is latched through the latch buffer 1; After that, it is transmitted to the input terminal A of the selector 5 and the input terminal B of the arithmetic processing unit 3, and is latched through the latch buffer 2 to latch the data Dn-1, and the data Dn-1 thereof. Is transmitted to the input terminal B of the selector 5 and the input terminal A of the arithmetic processing unit 3.

이때 연산처리부(3)에서 래치버퍼(1)(2)로 부터 전송된 데이타(Dn)(Dn-1)를 연산처리하여 비교기(4)에 데이타(Q)로 인가한후 스위치(7)로부터 세트한 데이타(P)와 비교한다. 여기서 연산데이타(Q)가 설정데이타(P)보다 작게되는 정상적인 경우에는 비교기(4)로 부터 저전위가 발생되어 선택기(5)를 제어함에 따라 래치버퍼(1)의 데이타(Dn)가 선택된후 디지탈(D)/아날로그(A)변환기(6)를 통해 아날로그데이타로 출력되며, 이때 저전위로된 비교기(4)의 출력이 앤트게이트(AND1)를 통해 저전위로 되어 래치버퍼(2)에 클럭을 공급하지 못하게되므로 래치버퍼(2)의 (Dn-1)가 변화되지 않는다.At this time, the arithmetic processing unit 3 processes the data Dn (Dn-1) transmitted from the latch buffers 1 and 2 and applies the data Q to the comparator 4 as a data Q. Compare with the set data (P). In this case, when the operation data Q is smaller than the set data P, a low potential is generated from the comparator 4 so that the selector 5 controls the selector 5, and then the data Dn of the latch buffer 1 is selected. The analog (D) / analog (A) converter 6 outputs the analog data. At this time, the output of the comparator 4, which has a low potential, becomes a low potential through the Ant gate AND1, and clocks the latch buffer 2. Since it is impossible to supply, (Dn-1) of the latch buffer 2 does not change.

그러나 비교기(4)에서 연산데이타(Q)가 설정데이타(P)보다 크게되는 비정상적인 경우에는 비교기(4)로 부터 고전위가 발생되어 선택기(5)를 제어함에 따라 래치버퍼(2)의 데이타(Dn-1)가 선택된후 D/A변환기(6)를 통해 아날로그데이타로 출력되며, 이때 고전위로된 비교기(4)의 출력이 시스템클러과 함께 앤드게이트(AND1)를 통해 래치버퍼(2)에 클럭으로 공급됨에 따라 다음 데이타를 래치하게 된다.However, in the abnormal case in which the operation data Q is larger than the set data P in the comparator 4, the high potential is generated from the comparator 4 and the selector 5 is controlled to control the data of the latch buffer 2. After Dn-1) is selected, it is output as analog data through D / A converter (6). At this time, the output of high-potential comparator (4) is clocked to latch buffer (2) through AND gate (AND1) with system clock. As it is supplied to, it latches the next data.

따라서 씨피유에서 출력되는 최근데이타(Dn)가 이전데이타(Dn-1)와 비교되어 이전데이타(Dn-1)와 유사한 정상적인 경우에는 최근데이타(Dn)가 출력되고, 이전데이타(Dn-1)보다 급격히 큰값으로 되는 비정상적인 경우에는 이전데이타(Dn-1)가 출력된다.Therefore, if the latest data (Dn) output from CPI is compared with the previous data (Dn-1) and is similar to the previous data (Dn-1), the latest data (Dn) is output and the previous data (Dn-1) In case of abnormality that is suddenly large, the previous data Dn-1 is output.

그런데 상기와 같은 종래의 아날로그 출력회로에 있어서는 컴퓨터에서 데이타(Dn)를 출력시켰으나, 실제 구동데이타(Dn-1)가 출력되었을때, 씨피유에서는 이와같은 상태를 감지하지 못하게 되어 오동작을 유기하게 되는 결함이 있었다.However, in the conventional analog output circuit as described above, the computer outputs data Dn, but when the actual drive data Dn-1 is output, the CPI does not detect such a condition and causes a malfunction. There was this.

본 고안은 이와같은 종래의 결함을 감안하여 아날로그 출력데이타를 씨피유에 감지시킴으로써 비정상적인 데이타에 의한 시스템의 오동작을 방지하도록한 씨피유의 아날로그 데이타 감지회로를 안출한 것으로, 이를 첨부한 도면에 의해 상세히 설명하면 다음과 같다.The present invention, in view of the conventional defects such as analog output data to the CAPI oil to prevent the malfunction of the system by abnormal data to devise an analog data detection circuit of CPI, which will be described in detail by the accompanying drawings As follows.

제2도는 본 고안 씨피유의 아날로그 데이타 감지회로도로서 이에 도시한 바와같이, 시스템클럭(CK)의 공급에 따라 데이타버스(8)의 데이타를 수용한 래치버퍼(1)의 출력데이타가 선택기(5)의 입력단(A), 연산처리부(3)의 입력단(B)에 인가되며, 상기 래치버퍼(1)의 출력데이타를 수용한 래치버퍼(2)의 출력데이타가 상기 선택기(5)의 단자(B), 연산처리부(3)의 단자(A)에 인가되어 연산처리되며, 상기 연산처리부(3)의 출력데이타(2)의 비교기(4)에 인가되어 스위치(7)의 설정데이타(P)와 비교되며, 상기 비교기(4)의 출력이 상기 시스템크럭(CK)과 함께 앤드게이트(AND1)를 통해 상기 래치버퍼(2)에 클럭으로 공급됨과 아울러 상기 선택기(5)를 제어하며 단자(A)(B)로부터의 데이타를 선택한후 A/D변환기(6)를 통해 출력되게 구성한 씨피유의 아날로그 출력회로에 있어서, 상기 래치버퍼(1)(2)의 데이타가 각각 비교기(11)(10)의 입력단(B)에 인가된후 상기 비교기(4)의 출력에 의한 클럭공급에 의해 상기 선택기(5)의 출력데이타와 비교되게 하고, 앤드게이트(AND2)를 통해 씨피유에 인터럽트신호(INT)를 인가함과 아울러 어드레스선택기(12)을 제어하여 어드레스버스(9)의 어드레스를 선택하고, 버퍼(13)를 제어하여 상기 선택기(5)의 출력데이타를 데이타버스(8)에 전송하게 구성한다.2 is an analog data sensing circuit diagram of the present invention CPI. As shown therein, the output data of the latch buffer 1 that receives the data of the data bus 8 in response to the supply of the system clock CK is selected by the selector 5. The output data of the latch buffer 2, which is applied to the input terminal A of the input terminal B and the input terminal B of the arithmetic processing unit 3, and receives the output data of the latch buffer 1, is the terminal B of the selector 5. ) Is applied to the terminal A of the calculation processing section 3, and is arithmetic processing, and is applied to the comparator 4 of the output data 2 of the calculation processing section 3 to set data P of the switch 7 and The output of the comparator 4 is clocked to the latch buffer 2 through the AND gate AND1 together with the system clock CK, and controls the selector 5 and the terminal A. In CPI's analog output circuit configured to output data through the A / D converter 6 after selecting data from (B), After the data of the latch buffers (1) and (2) are applied to the input terminals (B) of the comparators (11) and (10), respectively, the output data of the selector (5) is supplied by the clock supply by the output of the comparator (4). To be compared, the interrupt signal INT is applied to the CPI via the AND gate AND2, the address selector 12 is controlled to select an address of the address bus 9, and the buffer 13 is controlled to The output data of the selector 5 is transmitted to the data bus 8.

여기서 상기 비교기(10)는 입력데이타가 동일할때 세트되고, 비교기(11)는 입력데이타가 상이할때 세트되게 구성한다.Here, the comparator 10 is set when the input data is the same, and the comparator 11 is configured to be set when the input data is different.

제3도의 (a)내지 (i)는 제도의 각부 파형도로서 (a)는 시스템클럭(CK)파형, (b)(c)는 래치버퍼(1)(2)의 데이타, (d)는 비교기(4)의 출력파형, (e)는 선택기(5)의 출력데이타, (f)(g)는 비교기(10)(11)의 출력파형, (h)는 인터럽트신호(INT), (i)는 씨피유의 감지데이타를 나타낸 것이다.(A) to (i) in FIG. 3 are waveform diagrams of each part of the drawing, (a) is a system clock (CK) waveform, (b) (c) is data of the latch buffer (1) and (2), and (d) is The output waveform of the comparator 4, (e) is the output data of the selector 5, (f) (g) is the output waveform of the comparator 10 (11), (h) is the interrupt signal (INT), (i ) Shows the detection data of CPI.

이와같이 구성된 본 고안의 작용효과를 설명하면 다음과 같다.Referring to the effect of the present invention configured as described above are as follows.

우선 종래기술에서 설명한 바와같이 제3도(a)에 도시한 바와같은 시스템클럭0의 공급에 따라 래치버퍼(1)()를 통해 제3도 (b)(c)에 도시한 바와같은 데이타(Dn-4)(Dn-3)(Dn-2)(Dn-1)가 순차적으로 전송되며, 제3도 (d)에 도시한 바와같은 비교기(4)의 출력이 선택기(5)를 제어함에 다라 제5도 (e)에 도시한 바와같은 데이타(Dn-4)(Dn-2)가 출력된다.First, as described in the prior art, the data as shown in FIG. 3 (b) (c) through the latch buffer 1 ((1)) in accordance with the supply of the system clock 0 as shown in FIG. Dn-4) (Dn-3) (Dn-2) (Dn-1) are sequentially transmitted, and the output of the comparator 4 as shown in FIG. 3 (d) controls the selector 5 The data Dn-4 and Dn-2 as shown in FIG. 5E are output.

여기서 제3도 (b)(c)에 도시한 바와같이, 래치버퍼(1)의 출력인 최근데이타(Dn-3)가 래치버퍼(2)의 출력인 이전데이타(Dn-4)보다 큰값으로 출력되는 경우에는 비교기(4)의 출력이 제3도(d)에 도시한 바와 같이, 고전위로된후 선택기(5)를 제어함에 따라 제3도 (e)에 도시한 바와같은 이전데이타(Dn-4)가 선택된후 D/A변환기(6)를 통해 출력된다.Here, as shown in FIG. 3 (b) (c), the latest data Dn-3, which is the output of the latch buffer 1, is larger than the previous data Dn-4, which is the output of the latch buffer 2, as shown in FIG. In the case of the output, the output of the comparator 4 becomes high potential as shown in FIG. 3 (d), and then controls the selector 5 and then transfers the previous data Dn as shown in FIG. -4) is selected and output via the D / A converter 6.

이와동시에 고전위펄스로된 비교기(4)의 출력이 비교기(10)(11)에 클럭으로 공급됨에 따라 래치버퍼(1)(2)의 출력데이타(Dn-4)(Dn-3)가 각각의 비교기(11)(10)에 인가된후 제3도 (e)에 도시한 바와같은 선택기(5)의 출력데이타(Dn-4)가 동일하게 되어 제3도(f)에 도시한 바와같이 고정위를 출력하고, 비교기(11)는 입력데이타(Dn-4)(Dn-3)가 다르게되어 제3도(g)에 도시한 바와같이, 고전위를 출력하므로 고전위로된 비교기(10)(11)의 출력이 앤드게이트(AND2)를 통해 제3도(h)에 도시한 바와같은 고전위펄스를 출력하며, 이의 펄스가 씨피유에 인터럽트신호로 인가됨과 아울러 어드레스선택기(12)에 클럭으로 공급되어 어드레스버스(9)를 통과한 어드레스가 버퍼(13)를 구동함에 따라 제3도(j)에 도시한 바와같은 선택기(5)의 출력데이타(Dn-4)가 버퍼(13)를 통해 데이타버스(8)에 인가됨으로써 컴퓨터가 지정한 번지의 출력값을 정확히 읽어 가게된다.At the same time, the output data Dn-4 and Dn-3 of the latch buffers 1 and 2 are supplied to the comparators 10 and 11 with the output of the comparator 4 having the high potential pulse. After being applied to the comparators 11 and 10, the output data Dn-4 of the selector 5 as shown in FIG. 3 (e) becomes the same, as shown in FIG. 3 (f). The comparator 10 outputs a high potential and the comparator 11 outputs a high potential as shown in FIG. 3 (g) because the input data Dn-4 and Dn-3 are different. The output of (11) outputs a high potential pulse as shown in FIG. 3 (h) through the AND gate AND2, and its pulse is applied to the CPI as an interrupt signal and clocked to the address selector 12. As the address supplied and passed through the address bus 9 drives the buffer 13, the output data Dn-4 of the selector 5 as shown in FIG. 3 (j) passes through the buffer 13. Authorization to the data bus (8) By doing this, the output value of the address designated by the computer is read correctly.

또한 제3도 (b)(c)에 도시한 바와같이, 래치버퍼(1)의 출력인 최근데이타(Dn-2)가 래치레버(2)의 출력인 이전데이타(Dn-4)와 유사한 경우에는 비교기(4)의 출력이 제3도 (d)에 도기한 바와같이, 저전위로된후 선택기(5)를 제어함에 따라 제3도 (e)에 도기한 바와같은 최근데이타(Dn-2)가 선택되어 출력된다.In addition, as shown in FIG. 3 (b) (c), when the latest data Dn-2, which is the output of the latch buffer 1, is similar to the previous data Dn-4, which is the output of the latch lever 2, as shown in FIG. As shown in Fig. 3 (d), the output of the comparator 4 becomes low potential and then controls the selector 5 so as to show the latest data Dn-2 as shown in Fig. 3 (e). Is selected and output.

이와동시에 저전위로된 비교기(4)의 출력이 비교기(10)(11)의 클럭공급을 차단함에 따라 비교기(10)(11)의 구동이 정지됨으로써 선택기(5)의 출력데이타(Dn-2)가 D/A변환기(6)를 통해 출력된다.At the same time, as the output of the comparator 4, which is at a low potential, stops the clock supply of the comparators 10 and 11, the driving of the comparators 10 and 11 is stopped so that the output data Dn-2 of the selector 5 is stopped. Is output through the D / A converter 6.

이후 제3도(b)(c)에 도시한 바와같이, 래치버퍼(1)의 출력인 최근데이타(Dn-1)가 출력되면서 데이타버스(8)를 통해 씨피유에 전송된다.Thereafter, as shown in FIG. 3 (b) and (c), the latest data Dn-1, which is the output of the latch buffer 1, is output and transmitted to the CPI via the data bus 8.

따라서 컴퓨터는 지정한 번지의 출력값을 정확히 잃어가면서 다음스텝에서 씨피유가 먼저 출력된 값을 정확히 알고 다음 출력값을 정확히 내보내게 된다.Therefore, the computer accurately loses the output value of the designated address, and in the next step, the CPI sees the output value first and then outputs the next output correctly.

이상에서 상세히 설명한 바와같이 본 고안은 출력하는 아날로그 데이타의 이상발생시 인터럽트기능을 통해 씨피유에 감지되어 정확한 계산을 수행할뿐 아니라 아날로그 출력을 신회서있게 인가하므로 시스템의 구동기가 보호될 수 있으며, 시스템제어의 신뢰성을 향상시킬 수 있는 효과가 있다.As described in detail above, the present invention not only performs an accurate calculation and is detected by CPI through an interrupt function when an analog data is outputted, but also an analog output can be newly applied to protect the driver of the system. There is an effect that can improve the reliability of.

Claims (1)

데이타버스(8)의 데이타를 수용한 래치버퍼(1)와 상기 래치버퍼(1)의 데이타를 수용한 래치버퍼(2)의 출력데이타가 연산처리된후 비교기(4)를 통해 설정치와 비교되며, 상기 비교기(4)의 출력이 선택기(5)를 제어하여 상기 래치버퍼(1)(2)의 출력데이타가 각각의 비교기(11)(10)에 인가된후 상기 비교기(4)의 출력에 의한 클럭공급에 의해 상기 선택기(5)의 출력데이타와 비교되게하고, 앤드게이트(AND2)를 통해 씨피유에 인터럽트신호(INT)를 인가함과 아울러 어드레스선택기(12)를 제어하여 어드레스버스(9)의 어드레스를 선택하고, 버퍼(13)를 제어하여 상기선택기(5)의 출력데이타를 상기 데이타버스(8)에 전송하게 구성하여 된 것을 특징으로 하는 씨피유의 아날로그 데이타 감지회로.The output data of the latch buffer 1 accommodating the data of the data bus 8 and the latch buffer 2 accommodating the data of the latch buffer 1 are computed and compared with the set values through the comparator 4. The output of the comparator 4 controls the selector 5 so that the output data of the latch buffers 1 and 2 is applied to each of the comparators 11 and 10 and then to the output of the comparator 4. The clock is supplied to the output data of the selector 5, the interrupt signal INT is applied to the CPI through the AND gate AND2, and the address selector 12 is controlled to control the address bus 9. The CPI analog data sensing circuit is configured to select an address and control the buffer (13) to transmit the output data of the selector (5) to the data bus (8).
KR2019890004667U 1989-04-15 1989-04-15 Analog data monitoring circuit for cpu KR910007631Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019890004667U KR910007631Y1 (en) 1989-04-15 1989-04-15 Analog data monitoring circuit for cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019890004667U KR910007631Y1 (en) 1989-04-15 1989-04-15 Analog data monitoring circuit for cpu

Publications (2)

Publication Number Publication Date
KR900019149U KR900019149U (en) 1990-11-08
KR910007631Y1 true KR910007631Y1 (en) 1991-09-30

Family

ID=19285214

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019890004667U KR910007631Y1 (en) 1989-04-15 1989-04-15 Analog data monitoring circuit for cpu

Country Status (1)

Country Link
KR (1) KR910007631Y1 (en)

Also Published As

Publication number Publication date
KR900019149U (en) 1990-11-08

Similar Documents

Publication Publication Date Title
US5943206A (en) Chip temperature protection using delay lines
EP0164421B1 (en) Programmable controller
KR910007631Y1 (en) Analog data monitoring circuit for cpu
US4614114A (en) Measuring device
US4679194A (en) Load double test instruction
JPS62293441A (en) Data outputting system
JPS6362765B2 (en)
JPS62523B2 (en)
KR0155686B1 (en) Method and curcuit for dew detecting apparatus
JPH1128642A (en) Equipment abnormality detector
JP2531615B2 (en) Integrated circuit
US4766279A (en) Heat variation detecting circuit for the microwave oven
KR950003100Y1 (en) Programmable controller
JP2000029859A (en) Semiconductor integrated circuit
SU962913A1 (en) Device for registering malfanctions of electronic computer
KR940007908B1 (en) Anti-normal state checking circuit for multi-sensor
JP2847224B2 (en) microwave
KR940001047Y1 (en) Input-output signal duty watching apparatus of digital module
JPH1082806A (en) Method and circuit for detecting voltage drop
KR0128714Y1 (en) Keyboard connection device
KR950014011B1 (en) Plc output device
JPH04149743A (en) Driving system for data processor
KR20210060113A (en) Apparatus for controlling motor and fault diagonosic method using the same
JPS6250841B2 (en)
JPH0612292A (en) Microcomputer

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 19971227

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee