KR19990033145A - Interrupt Generation Method of Digital Signal Measurement Board - Google Patents

Interrupt Generation Method of Digital Signal Measurement Board Download PDF

Info

Publication number
KR19990033145A
KR19990033145A KR1019970054408A KR19970054408A KR19990033145A KR 19990033145 A KR19990033145 A KR 19990033145A KR 1019970054408 A KR1019970054408 A KR 1019970054408A KR 19970054408 A KR19970054408 A KR 19970054408A KR 19990033145 A KR19990033145 A KR 19990033145A
Authority
KR
South Korea
Prior art keywords
interrupt
signal
digital signal
board
source
Prior art date
Application number
KR1019970054408A
Other languages
Korean (ko)
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 KR1019970054408A priority Critical patent/KR19990033145A/en
Publication of KR19990033145A publication Critical patent/KR19990033145A/en

Links

Abstract

본 발명은 상태변화를 감지하기 위하여, 디지털 신호 측정용 보드에서 인터럽트의 발생원으로부터의 이벤트 발생을 감지하여 이에 대한 인터럽트를 발생시키는 방법에 있어서, 인터럽트 발생원으로부터의 신호의 펄링엣지를 감지하여 인터럽트를 발생시키고, 인터럽트 발생원으로부터의 신호의 라이징엣지를 감지하여 인터럽트를 발생시킨다.The present invention is to detect an event occurrence from the source of the interrupt in the digital signal measuring board in order to detect a change in the state, and to generate an interrupt for the interruption, by detecting the pearling edge of the signal from the source of the interrupt generated interrupt Then, the rising edge of the signal from the interrupt source is detected and an interrupt is generated.

또한 인터럽트 발생원은 DIP 스위치에 의하여 사용되는 않는 인터럽트 발생원이 마스킹되어 신호를 발생시키지 못하는 것을 특징으로 한다.In addition, the interrupt generator is characterized in that the interrupt generator, which is not used by the DIP switch, is masked to generate a signal.

Description

디지털 신호 측정용 보드의 인터럽트 발생방법Interrupt Generation Method of Digital Signal Measurement Board

본 발명은 원격감시제어장치(Remote Monitoring And Control System, 이하 RMACS라 한다)의 디지털 신호 측정용 보드(Digital Input Board, 이하 DIB라 한다)의 인터럽트 발생방법에 관한 것이다.The present invention relates to an interrupt generation method of a digital signal measuring board (DIB) of a remote monitoring and control system (hereinafter referred to as RMACS).

원격감시제어장치에서, 디지털 신호 측정용 보드는 디지털 신호 즉, 정류기, 무정전전원시스템, 발전기등 전원장비의 오류발생 유무와 누수감지, 에어컨의 동작상태 및 출입문의 상태 등의 제반환경 설비의 경보성 이벤트(Event) 신호를 받아 위의 경보를 RCB로 보내는 역할을 한다. RCB는 경보 이벤트신호를 받은 즉시 인터럽트를 발생시켜 수행중인 프로그램을 일시 중지하고 경보 메시지를 원격의 지역집중국시스템에 보내게 된다.In the remote monitoring and control device, the digital signal measuring board is a digital signal, that is, the presence of errors in power equipment such as rectifiers, uninterruptible power systems, generators, leakage detection, air conditioner's operation status and door status. It receives the event signal and sends the above alarm to RCB. RCB generates an interrupt immediately after receiving an alarm event signal, suspends the running program and sends an alarm message to a remote local system.

기존의 디지털 신호 측정용 보드에서 이벤트를 처리하는 방법은 인터럽트 방법과 폴링방법으로 나눌수 있다.In the existing digital signal measuring board, the processing of events can be divided into interrupt method and polling method.

폴링방법은 이벤트의 처리시간이 너무 오래걸려 처리중에 발생된 이벤트를 잃어 버리는 오류가 발생할 수 있으므로 대체로 인터럽트방법을 많이 사용한다. 그러나 기존의 인터럽트 처리방법은 한가지의 상태변화에 대해서만 인터럽트를 인식하는 문제가 있었다.The polling method generally uses a lot of interrupt methods because the processing of the event takes too long and an error may occur that causes the event to be lost. However, the conventional interrupt handling method has a problem of recognizing interrupts only for one state change.

본 발명이 적용되는 RMACS는 경보의 발생 및 해제라는 두가지의 상태변화에 대해서 모두 인터럽트 처리를 해야하는 필요성이 있다.In the RMACS to which the present invention is applied, there is a need for interrupt processing for both state changes such as alarm generation and cancellation.

도1은 본 발명이 적용되는 시스템 구성도,1 is a system configuration to which the present invention is applied;

도2는 본 발명이 적용되는 시스템 기능블록도,2 is a system functional block diagram to which the present invention is applied;

도3은 본 발명이 적용되는 보드의 기능블록도,3 is a functional block diagram of a board to which the present invention is applied;

도4는 평상시의 릴레이의 구조를 나타내는 도면,4 is a diagram showing the structure of a normal relay;

도5는 이벤트가 발생할 때의 릴레이의 구조를 나타내는 도면,5 is a diagram showing the structure of a relay when an event occurs;

도6은 인터럽트 발생부의 타이밍도이다.6 is a timing diagram of an interrupt generator.

상기의 과제를 해결하기 위하여, 본 발명에서는 상태변화를 감지하는 디지털 로직회로를 추가하여 상태변화가 일어날 때마다 인터럽트를 발생시키게 한다. 또한 연결포트와 미연결 포트를 구분할 수 있게 DIP 스위치로 사용유무를 설정 가능하게 하였으며 설정된 값을 읽어 미연결 포트에 해당하는 부분의 인터럽트에 대해서는 마스킹(Masking)을 하여 미연결포트에 외부 잡음에 의한 인터럽트가 발생되지 않게 하였다.In order to solve the above problem, the present invention adds a digital logic circuit for detecting a state change to generate an interrupt whenever a state change occurs. In addition, it is possible to set the use of the DIP switch to distinguish between the connected port and the unconnected port, and by reading the set value, it masks the interrupt of the part corresponding to the unconnected port. Interrupt is not generated.

이하 본 발명의 실시예를 도면을 참조하면서 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

본 발명은 원격감시제어장치(RMACS)중 디지털신호 입력보드의 인터럽트 처리 방법에 관한 것으로 상태변화를 감지해 내는 디지털 로직회로부분, 연결 및 미연결 포트의 설정가능 기능을 갖춘다.The present invention relates to an interrupt processing method of a digital signal input board of a remote monitoring controller (RMACS), and has a configurable function of a digital logic circuit portion, a connected and an unconnected port for detecting a state change.

도1는 본 발명이 적용되는 시스템 구성도를 나타낸 것이다.1 shows a system configuration to which the present invention is applied.

원격감시제어장치(RMACS)는 감시 및 제어 접점종류를 아나로그 감시접점, 축전지 셀감시접점, 디지털 감시접점, 디지털 제어접점으로 분류한다. 아나로그 감시접점은 트랜스듀서(TransDucer) 및 센서를 통하여 입력되는 신호의 감시를 말하며 상전, 정류기, 발전기, UPS 등에 대한 전압, 전류, 주파수 및 온.습도가 포함되고 보드당 24개의 접점수를 갖는다.The remote monitoring control device (RMACS) classifies the types of monitoring and control contacts into analog monitoring contacts, battery cell monitoring contacts, digital monitoring contacts, and digital control contacts. Analog monitoring contact refers to the monitoring of signals input through Transducers and Sensors. It includes voltage, current, frequency, temperature and humidity for phase change, rectifier, generator, UPS, etc. and has 24 contacts per board. .

축전지 감시 접점은 축전지 셀전압을 감시하며 방전시험을 통하여 측정된 데이터를 지역집중국에서 분석함으로써 불량셀을 판별할 수 있고 보드당 접점수는 24개이다.The battery monitoring contact monitors the battery cell voltage and analyzes the data measured through the discharge test in local China to identify the defective cells. The number of contacts per board is 24.

디지털 감시접점은 전원 및 환경장비가 온/오프(On/Off)로 동작상태를 출력하는데 정상동작 여부를 감시하여 오류발생시 경보하며 보드당 16개의 접점을 갖는다. 디지털 제어접점은 국사내 운용장비의 제어에 사용되며 보드당 16개의 접점을 갖는다.Digital monitoring contact point outputs the operation status by power supply and environmental equipment On / Off. It monitors the normal operation and alerts in case of error and has 16 contacts per board. Digital control contacts are used to control the operating equipment in the country and have 16 contacts per board.

원격감시제어장치(RMACS)는 아나로그, 축전지 및 디지털 신호를 감시하여 현장의 감시제어단말 또는 지역집중국 시스템과 통신하는데 RMACS 고유의 프로토콜을 사용한다. 지역집중국과 통신은 전용/다이얼 업 모뎀을 사용하며 전송속도는 2400/9600bps이다.The Remote Monitoring Controller (RMACS) uses RMACS-specific protocols to monitor analog, battery and digital signals and communicate with the site's supervisory control terminal or local China system. Communicating with local China uses a dedicated / dial up modem with a baud rate of 2400 / 9600bps.

도2는 본 발명이 적용되는 시스템의 기능블럭도로써 메인보드(RCB), 아나로그 입력보드(AIB), 셀입력보드(CIB), 디지털 입력보드(DIB), 디지털 제어보드(DOB), 전원공급보드(PSB), 백보드(RMBB)로 구성된다.Figure 2 is a functional block diagram of a system to which the present invention is applied, main board (RCB), analog input board (AIB), cell input board (CIB), digital input board (DIB), digital control board (DOB), power supply It consists of supply board PSB and back board RMBB.

RCB는 RMACS의 메인보드로 백보드(RMBB)를 통하여 접속카드를 직접 제어함으로써 국사내 전원 및 환경에 대해 감시하여 원격의 운용자에게 통보하며 운용자의 명령을 분석하여 관련 장비를 구동한다. 아나로그와 축전지 관련 신호는 각각 AIB와 CIB로 입력되는데 RCB는 백보드를 통하여 AIB와 CIB의 아나로그 스위치 및 릴레이를 제어하여 측정할 포트를 스위칭 한후 RCB내의 순차적으로 아나로그 스위치를 제어하여 측정한다. 디지털 접점신호는 DIB로 입력되어 RCB로 인터럽트를 요청하면 RCB는 DIB의 상태값을 읽어 원격의 운용자에게 통보한다. 전원 및 환경장치에 대한 구동은 지역집중국시스템에서 운용자에 의한 제어명령을 RCB에서 수신하여 제어할 포트를 분석후 제어함으로써 이루어진다.RCB is the main board of RMACS and directly controls access card through RMBB to monitor the power and environment in the country and notify the remote operator and analyze the operator's command to drive related equipment. Analog and battery-related signals are input to AIB and CIB, respectively. RCB controls analog switches and relays of AIB and CIB through a white board, switches ports to measure, and then controls analog switches in RCB sequentially. When the digital contact signal is input to DIB and requests an interrupt to RCB, RCB reads the status value of DIB and informs the remote operator. The operation of the power supply and the environmental device is performed by analyzing and controlling the ports to be controlled by receiving control commands from the RCB in the local China system.

도3은 디지털신호입력보드(DIB)의 기능 블록도이다.3 is a functional block diagram of a digital signal input board (DIB).

DIB의 인터럽트 발생원(7)은 도4, 도5와 릴레이를 이용하여 DIB에 연결된다. 초기상태에는 도4와 같이 +5V의 신호가 인터럽트 발생부(5)에 입력된다. 그러나 이벤트가 발생하였을 경우에는 도5와 같이 인터럽트 발생부(5)에 GND 신호가 입력되게 된다. 이벤트가 해제 되었을 경우는 다시 도4와 같이 구성되어 +5V의 신호가 인터럽트 발생부(5)에 입력되게 된다. 그러므로 이벤트의 발생은 펄링엣지(Falling Edge) 상태에서 일어나며, 해제시는 라이징엣지(Rising Edge)상에서 일어나게 된다.The interrupt source 7 of the DIB is connected to the DIB using the relays of Figs. 4 and 5. In the initial state, a + 5V signal is input to the interrupt generator 5 as shown in FIG. However, when an event occurs, the GND signal is input to the interrupt generator 5 as shown in FIG. When the event is released, the signal is again configured as shown in FIG. 4 and the + 5V signal is input to the interrupt generator 5. Therefore, the occurrence of the event occurs in the falling edge (Falling Edge) state, the release occurs on the rising edge (Rising Edge).

DIB에서 사용하는 인터럽트 컨트롤러인 8259A는 라이징엣지에서만 인터럽트를 인식하므로 인터럽트 발생부(5)는 위의 신호를 받아서 상태변화가 일어나는 부분(즉, 펄링엣지와 라이징엣지 부분)을 모두 인식하게끔 한다. 이를 구현하기 위해서 인터럽트 발생부에는 74HC123 단안정펄스발생기를 이용한다. 1개의 경보신호에 대해 펄링엣지와 라이징엣지 부분에 각각 단안정 펄스발생기로 로직을 구성하며 각각의 출력신호를 AND 게이팅(gating)하여 8259A 인터럽트 컨트롤러에 입력하게 된다. 인터럽트 발생원(7), 인터럽트 발생부(5), 인터럽트 요구부(8)에 대한 파형은 도6과 같다.Since the 8259A, which is an interrupt controller used in the DIB, recognizes an interrupt only at the rising edge, the interrupt generator 5 receives the above signal and recognizes both the part where the state change occurs (that is, the pearling edge and the rising edge part). To implement this, the 74HC123 monostable pulse generator is used for the interrupt generator. One alarm signal is composed of a monostable pulse generator in the pearling edge and the rising edge, respectively, and each output signal is AND gated and input to the 8259A interrupt controller. The waveforms for the interrupt generator 7, the interrupt generator 5, and the interrupt request unit 8 are as shown in FIG.

또한 포트설정부(2)는 DIB에 입력할수 있는 총 16개의 디지털 입력접점중 연결된 포트와 미 연결된 포트를 구별하기 위해 DIP 스위치를 사용하였다. 설정된 포트 정보들은 포트상태부(1)을 통해서 현재 설정된 값을 RCB가 읽어볼 수 있으며 미연결 포트에 대해서 DIB의 8259A 인터럽트 컨트롤러의 마스크 하여 이후 미연결 포트에 대해서는 인터럽트가 발생되지 않도록 한다. 주소해독부(4)는 RCB의 제어신호를 입력받아 RCB가 제어할수 있는 DIB상의 각종 디바이스를 선택할 수 있게 한다. 동작 표시부(5)는 RCB의 제어를 받아 DIB가 구동됨으로 DIB의 제어가 제대로 되었나를 확인할 수 있는 상태정보를 나타낸다. 동작표시부를 이용하여 보드에 대한 진단기능이 가능하며 정상시에는 녹색, 오류가 발생하였을 경우에는 적색 LED를 점등한다. 버스 버퍼부(6)는 RCB와 RMBB의 데이터, 어드레스 등이 버스 버퍼부를 통하여 DIB에 전달되게 한다.In addition, the port setting unit 2 used a DIP switch to distinguish between connected and unconnected ports among the 16 digital input contacts that can be input to the DIB. The set port information can be read by the RCB through the port status unit (1) and masked by the DIB's 8259A interrupt controller for the unconnected port so that no interrupt is generated for the unconnected port. The address decoding unit 4 receives the control signal of the RCB to select various devices on the DIB that the RCB can control. The operation display unit 5 shows the state information to confirm whether the control of the DIB is properly performed since the DIB is driven under the control of the RCB. Diagnosis function is available for the board by using the operation display part. In case of normal operation, green LED is turned on. The bus buffer section 6 causes the data, addresses, etc. of the RCB and RMBB to be transferred to the DIB via the bus buffer section.

본 발명은 인터럽트 발생부에 상태변화를 감지할 수 있는 디지털로직을 구현하여 이벤트의 발생 및 해제의 경우에 대하여 모두 인터럽트로 수용할 수 있게 하였으며 구현하기도 간단하고 쉽다. 또한 연결포트와 미연결포트를 미리 설정할 수 있어 미연결포트에 대한 인터럽트는 무시할 수 있도록 하였다. RMACS가 24시간 중단없이 포트를 감시할 수 있도록 DIB는 전원이 인가된 상태에서도 실장 및 탈장이 가능하게 하였다. 또한 1장의 보드내에 총 16개의 감시접점을 수용할 수 있으므로 통신국사나 기지국에 설치될 경우 구축비용의 절감효과를 가져올 수 있다.The present invention implements a digital logic capable of detecting a state change in an interrupt generating unit so that both the occurrence and release of an event can be accepted as an interrupt and is simple and easy to implement. In addition, the connection port and the unconnected port can be set in advance so that interrupts to the unconnected port can be ignored. To allow RMACS to monitor ports 24 hours a day, the DIB allows mounting and dismounting even when power is applied. In addition, a total of 16 monitoring contacts can be accommodated in one board, which can reduce the construction cost when installed in a communication company or base station.

Claims (2)

디지털 신호 측정용 보드에서 인터럽트의 발생원으로부터의 이벤트 발생을 감지하여 이에 대한 인터럽트를 발생시키는 방법에 있어서,In the digital signal measuring board detects the occurrence of an event from the source of the interrupt and generates an interrupt thereof. 인터럽트 발생원으로부터의 신호의 펄링엣지를 감지하여 인터럽트를 발생시키고,Interrupt is generated by detecting the pearling edge of the signal from the interrupt source, 인터럽트 발생원으로부터의 신호의 라이징엣지를 감지하여 인터럽트를 발생시키는 것을Detecting the rising edge of the signal from the interrupt source to generate an interrupt 특징으로 하는 디지털 신호 측정용 보드의 인터럽트 발생방법.An interrupt generation method for a digital signal measuring board. 제1항에 있어서,The method of claim 1, 인터럽트 발생원은 DIP 스위치에 의하여 사용되는 않는 인터럽트 발생원이 마스킹되어 신호를 발생시키지 못하는 것을The interrupt source is used to detect that an interrupt source that is not used by the DIP switch is masked and does not generate a signal. 특징으로 하는 디지털 신호 측정용 보드의 인터럽트 발생방법.An interrupt generation method for a digital signal measuring board.
KR1019970054408A 1997-10-23 1997-10-23 Interrupt Generation Method of Digital Signal Measurement Board KR19990033145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970054408A KR19990033145A (en) 1997-10-23 1997-10-23 Interrupt Generation Method of Digital Signal Measurement Board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970054408A KR19990033145A (en) 1997-10-23 1997-10-23 Interrupt Generation Method of Digital Signal Measurement Board

Publications (1)

Publication Number Publication Date
KR19990033145A true KR19990033145A (en) 1999-05-15

Family

ID=66048457

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970054408A KR19990033145A (en) 1997-10-23 1997-10-23 Interrupt Generation Method of Digital Signal Measurement Board

Country Status (1)

Country Link
KR (1) KR19990033145A (en)

Similar Documents

Publication Publication Date Title
WO2012057378A1 (en) Universal sensor self-diagnosis device and diagnosis method therefor
CN104242463A (en) GPRS (general packet radio service) based remote power monitoring system and monitoring method
KR20080058454A (en) A distributed monitoring method
US4733224A (en) Detector system with multiple sensors each sensing different danger conditions
US4254411A (en) Danger alarm system
KR19990033145A (en) Interrupt Generation Method of Digital Signal Measurement Board
CN101201378A (en) Intermittent disconnection testing system for electric contact piece
KR100256164B1 (en) Remote control device
CN201130226Y (en) Test system for intermittent disconnection of electric contact piece
CN214273913U (en) Air compressor machine monitoring system and air compressor machine that can remote monitoring
CN114137411A (en) Multifunctional relay action reliability test platform
CN111174993A (en) Leakproofness monitoring devices and this ampere of equipment
CN112653169A (en) Online remote monitoring device for main pump of converter station valve cooling system
KR19990026738A (en) Main board of remote monitoring device
CN216956739U (en) UPS test monitoring system
CN212563741U (en) Monitoring device for building fire-fighting fan
CN211178899U (en) Leakproofness monitoring devices and this ampere of equipment
CN219552858U (en) Distribution box operation monitoring device
CN213170987U (en) Elevator machine room edge computing terminal system
KR102499190B1 (en) Apparatus for controlling to common mode employing control and measurement
WO2022052231A1 (en) Efficient real-time status detection device for test system
JPH0332126Y2 (en)
CN213581816U (en) Real-time data acquisition system for outlet contact
CN210836505U (en) Monitoring device for integrated direct current system
CN112904781A (en) Hand-held type track circuit intelligent test terminal

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application