KR100242691B1 - Circuit for controlling count of a up/down counter - Google Patents

Circuit for controlling count of a up/down counter Download PDF

Info

Publication number
KR100242691B1
KR100242691B1 KR1019970012390A KR19970012390A KR100242691B1 KR 100242691 B1 KR100242691 B1 KR 100242691B1 KR 1019970012390 A KR1019970012390 A KR 1019970012390A KR 19970012390 A KR19970012390 A KR 19970012390A KR 100242691 B1 KR100242691 B1 KR 100242691B1
Authority
KR
South Korea
Prior art keywords
signal
down counter
clock signal
flip
flop
Prior art date
Application number
KR1019970012390A
Other languages
Korean (ko)
Other versions
KR19980075966A (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 KR1019970012390A priority Critical patent/KR100242691B1/en
Publication of KR19980075966A publication Critical patent/KR19980075966A/en
Application granted granted Critical
Publication of KR100242691B1 publication Critical patent/KR100242691B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/58Gating or clocking signals not applied to all stages, i.e. asynchronous counters
    • H03K23/62Gating or clocking signals not applied to all stages, i.e. asynchronous counters reversible
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Abstract

본 발명은 2접점 스위치로 구성된 업스위치 및 다운스위치를 이용하여 업/다운 카운터의 카운트를 제어하기 카운트제어회로에 관한 것이다. 이를 위하여 본 회로는 중앙처리부로부터 인가되는 데이터를 쓰기제어신호에 의하여 로드하는 업/다운카운터의 카운트제어회로에 있어서, 2접점 스위치 구조로 이루어진 업스위치 및 다운스위치; 업스위치 및 다운스위치의 온 또는 오프에 따라 상기 업스위치 또는 다운스위치의 제 1 접점을 통해 전송되는 소정의 제 1 클럭신호와 소정의 제 2 클럭신호에 동기되는 쓰기제어신호를 논리조합한 결과신호를 상기 업/다운 카운터의 클럭신호로 제공하기 위한 클럭제공부; 업스위치 및 상기 다운스위치의 온 또는 오프에 따라 업스위치 또는 다운스위치의 제 2 접점을 통해 전송되는 소정의 논리신호를 업/다운 카운터의 업 또는 다운동작모드를 선택할 수 있는 업/다운 선택신호로 전송하기 위한 전송로를 포함하도록 구성된다. 따라서 중앙처리부에 관여없이 사용자가 자유롭게 업/다운 카운터의 동작모드를 제어하여 업/다운 카운터로부터 출력되는 값을 선택적으로 제어할 수 있다.The present invention relates to a count control circuit for controlling the count of an up / down counter using an upswitch and a downswitch composed of two contact switches. To this end, the circuit includes an up / down counter count control circuit for loading data applied from a central processing unit by a write control signal, the up-switch and down-switch having a two-contact switch structure; Result signal of logical combination of a predetermined first clock signal and a write control signal synchronized with a predetermined second clock signal transmitted through the first contact of the upswitch or downswitch according to on or off of upswitch and downswitch A clock providing unit for providing a clock signal of the up / down counter; The predetermined logic signal transmitted through the up switch or the second contact of the down switch according to the on / off of the up switch and the down switch is an up / down selection signal for selecting an up / down counter operation mode. It is configured to include a transmission path for transmission. Therefore, the user can freely control the operation mode of the up / down counter without involvement of the central processing unit to selectively control the value output from the up / down counter.

Description

업/다운 카운터의 카운트제어회로{CIRCUIT FOR CONTROLLING COUNT OF A UP/DOWN COUNTER}Count control circuit of up / down counter {CIRCUIT FOR CONTROLLING COUNT OF A UP / DOWN COUNTER}

본 발명은 업/다운(UP/DOWN) 카운터에 관한 것으로, 특히 업/다운 카운터의 카운트를 제어하기 위한 카운트제어회로에 관한 것이다.The present invention relates to an up / down counter, and more particularly to a count control circuit for controlling the count of an up / down counter.

일반적으로 업/다운 카운터는 로딩된 소정의 값을 입력되는 클럭신호와 업/다운 제어신호에 의하여 소정 단위로 가감하는 것으로, 가변적으로 소정의 값을 제공하고자 할 때 주로 이용되고 있다.In general, the up / down counter is used to increase or decrease a predetermined value loaded in a predetermined unit by an input clock signal and an up / down control signal, and is mainly used to variably provide a predetermined value.

본 발명은 2접점 스위치로 구성된 업스위치 및 다운스위치를 이용하여 업/다운 카운터의 카운트를 제어하기 카운트제어회로를 제공하는데 있다.The present invention provides a count control circuit for controlling the count of an up / down counter using an up switch and a down switch composed of two contact switches.

상기 목적을 달성하기 위하여 본 발명에 따른 카운트 제어회로는, 넘버세븐 시그널링 프로토콜 모니터링시스템(SPM)에서 중앙처리부로부터 인가되는 데이터를 쓰기제어신호에 의하여 로드하고, 카운트된 값을 채널선택을 위한 채널정보로 출력하기 위한 업/다운카운터의 카운트제어회로에 있어서, 2접점 스위치 구조로 이루어진 업스위치 및 다운스위치; 업스위치 및 다운스위치의 온 또는 오프에 따라 업스위치 또는 다운스위치의 제 1 접점을 통해 전송되는 소정의 제 1 클럭신호와 소정의 제 2 클럭신호에 동기되는 쓰기제어신호를 논리조합한 결과신호를 상기 업/다운카운터의 클럭신호로 제공하기 위한 클럭제공부; 업스위치 및 다운스위치의 온 또는 오프에 따라 업스위치 또는 다운스위치의 제 2 접점을 통해 전송되는 소정의 논리신호를 업/다운 카운터의 업 또는 다운동작모드를 선택할 수 있는 업/다운 선택신호로 전송하기 위한 전송로를 포함하는 것을 특징으로 한다.In order to achieve the above object, the count control circuit according to the present invention loads the data applied from the central processing unit by the write control signal in the number seven signaling protocol monitoring system (SPM) and stores the counted channel information for channel selection. A counting control circuit for up / down counters for outputting a signal, comprising: an upswitch and a downswitch having a two-contact switch structure; As a result of a logical combination of a write control signal synchronized with a predetermined first clock signal and a predetermined second clock signal transmitted through the first contact of the upswitch or downswitch according to the on or off of the upswitch and the downswitch, A clock providing unit for providing a clock signal of the up / down counter; The predetermined logic signal transmitted through the second switch of the upswitch or the downswitch according to the on / off of the upswitch and the downswitch is transmitted as an up / down selection signal for selecting the up / down counter operation mode. It characterized in that it comprises a transmission path for.

도 1은 본 발명에 따른 업/다운 카운터의 카운트제어회로에 대한 상세 회로도이다.1 is a detailed circuit diagram of a count control circuit of an up / down counter according to the present invention.

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

101 : 업 스위치 102 : 다운 스위치101: up switch 102: down switch

110 : 클럭제공부 113 : 논리곱 소자110: clock provider 113: logical AND device

115, 118 : 플립플롭 121 : 논리합 소자115, 118: flip-flop 121: logical sum element

130 : 업/다운 카운터130: up / down counter

이하, 본 발명에 따른 실시예를 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention will be described in detail.

도 1은 본 발명에 따른 업/다운 카운터의 카운트 제어회로에 대한 상세한 회로도로서, 전전자 교환기의 넘버 세븐신호 및 링크상태 모니터링 시스템(NO. 7 시그널링 프로토콜 모니터(NO. 7 Signalling Protocol Monitor), 이하 SPM이라 약함)에 있어서 채널선택을 위하여 이용되는 32진 업/다운 카운터에 대한 카운트제어회로를 예시한 것이다.1 is a detailed circuit diagram of a count control circuit of an up / down counter according to the present invention, wherein a number seven signal and a link state monitoring system (NO. 7 Signaling Protocol Monitor) of an electronic switch are hereinafter described. It is an example of a count control circuit for a 32-bit up / down counter used for channel selection in SPM.

도 1을 참조하면, 본 발명에 따른 카운트 제어회로는, 업/다운 카운터(130), 사용자에 의해 제어되는 업스위치(UP-SW)(101) 및 다운스위치(DOWN-SW)(102), 업스위치(101) 및 다운스위치(102)의 일측 접점을 통해 전송되는 2Hz의 제 1 클럭신호와 소정의 제 2 클럭신호에 동기된 쓰기제어신호를 논리조합하여 업/다운 카운터(130)의 클럭신호(CLK)를 제공하기 위한 클럭신호 제공부(110), 업스위치(101) 및 다운스위치(102)의 다른 일측 접점과 업/다운 카운터(130)의 업/다운 선택신호 입력단자(U/D SEL)간에 연결된 전송로(140)로 구성된다.Referring to FIG. 1, the count control circuit according to the present invention includes an up / down counter 130, an up switch (UP-SW) 101 and a down switch (DOWN-SW) 102 controlled by a user, The clock of the up / down counter 130 is logically combined with a write control signal synchronized with a first clock signal of 2 Hz and a predetermined second clock signal transmitted through one contact of the up switch 101 and the down switch 102. The other side contact of the clock signal providing unit 110, the upswitch 101, and the downswitch 102 for providing the signal CLK, and the up / down selection signal input terminal U / of the up / down counter 130. It consists of a transmission path 140 connected between the D SEL.

업 및 다운스위치(101, 102)는 2접점 스위치로 구성되는데, 업스위치(101)의 경우에, 사용자에 의해 온될 때 일측 접점으로는 제 1 클럭신호를 전송하고, 다른 일측 접점으로는 저항(R3)을 통해 '로우(GND)레벨'신호를 전송하는데, 다른 일측 접점을 통해 전송되는 '로우(GND)레벨'신호는 상술한 바와 같이 전송로(140)를 통해 업/다운 카운터(130)의 업/다운 선택신호 입력단자(U/D SEL)로 전송되도록 구성된다. 다운스위치(102)의 경우에, 사용자에 의해 온될 때 일측 접점으로는 제 1 클럭신호를 전송하고, 다른 일측 접점으로는 저항(R4)을 통해 '하이(+5V)레벨'신호를 전송하는데, 다른 일측 접점을 통해 전송되는 '하이레벨'신호는 상술한 바와 같이 전송로(140)를 통해 업/다운 카운터(130)의 업/다운 선택신호 입력단자(U/D SEL)로 전송되도록 구성된다.The up and down switches 101 and 102 are configured as two contact switches. In the case of the up switch 101, when turned on by a user, the first and second switches 101 and 102 transmit a first clock signal to one contact point, and a resistor ( The 'low (GND) level' signal is transmitted through R3), and the 'low (GND) level' signal transmitted through the other side contact is transmitted through the transmission path 140 as described above. It is configured to be transmitted to the up / down select signal input terminal (U / D SEL). In the case of the down switch 102, when turned on by the user, one contact transmits a first clock signal, and the other contact transmits a 'high (+ 5V) level' signal through the resistor R4. The 'high level' signal transmitted through the other side contact is configured to be transmitted to the up / down selection signal input terminal U / D SEL of the up / down counter 130 through the transmission path 140 as described above. .

클럭신호 제공부(110)는 업스위치(101)의 상술한 일측 접점에 일측 입력단을 접속하고 다운스위치(102)의 상술한 일측 접점에 다른 일측 입력단을 접속한 논리곱소자(113), 논리곱소자(113)의 일측 입력단과 +5V 사이 및 다른 일측 입력단과 +5V사이에 각각 직렬로 접속되어 있는 풀업저항들(R1, R2), 논리곱소자(113)로부터 출력되는 신호를 클럭신호로 하고 상술한 제 1 클럭신호(2Hz)를 입력신호로 하며 업/다운 카운터(130)의 쓰기제어신호(SCW)에 의해 클리어(CLR)되는 제 1 D플립플롭(115), 제 2 클럭신호를 반전하는 인버터(117), 인버터(117)를 통해 전송되는 신호를 클럭신호로 하고 업/다운 카운터(130)로 전송되는 쓰기제어신호(SCW)를 입력신호로 하는 제 2 D플립플롭(118), 제 1 및 제 2 D플립플롭(115, 118)의 출력신호(Q)를 논리합하여 업/다운 카운터(130)의 클럭신호로 전송하기 위한 논리합소자(121)로 구성된다.The clock signal providing unit 110 connects one input terminal to the above-described one side contact of the upswitch 101 and the other logical input element 113 and the AND to connect the other one input terminal to the above-described one side contact of the down switch 102. The signals output from the pull-up resistors R1 and R2 and the logical multiplication device 113 connected in series between one input terminal and + 5V of the device 113 and between the other input terminal and + 5V, respectively, are clock signals. Inverts the first D flip-flop 115 and the second clock signal which are cleared by the write control signal SCW of the up / down counter 130 and the second clock signal is inputted as the first clock signal 2 Hz. A second D flip-flop 118 using a signal transmitted through the inverter 117 and the inverter 117 as a clock signal and a write control signal SCW transmitted to the up / down counter 130 as an input signal; Logically sum the output signals Q of the first and second D flip-flops 115 and 118 as the clock signals of the up / down counter 130. It consists of the OR gate 121 for group.

쓰기제어신호는 SPM장치의 경우에 미도시된 CPU(Central Processing Unit, 이하 CPU라고 약함)로부터 제공되는 것으로, 업/다운 카운터(130)의 입력단(D[0~4])을 통해 제공하는 신호(이 신호 역시 상술한 CPU로부터 제공되는 것으로 구현될 수 있다.)를 로딩시키기 위하여 제공되는 것이다. 따라서 쓰기제어신호는 업/다운카운터(130)의 로드입력단자(LOAD)로 인가된다. 그리고 업/다운카운터(130)가 상술한 바와같이 SPM장치에 구비되는 것일 때, 업/다운카운터(130)의 출력신호는 모니터링을 원하는 채널정보(CH0~CH4)로서 제공된다.In the case of the SPM device, the write control signal is provided from a CPU (Central Processing Unit, hereinafter abbreviated as CPU), which is provided through the input terminal D [0 ~ 4] of the up / down counter 130. (This signal may also be implemented as provided by the CPU described above.) It is provided for loading. Therefore, the write control signal is applied to the load input terminal LOAD of the up / down counter 130. When the up / down counter 130 is provided in the SPM device as described above, the output signal of the up / down counter 130 is provided as channel information CH0 to CH4 to be monitored.

그러면 도 1에 도시된 카운트제어회로의 동작을 설명하기로 한다.The operation of the count control circuit shown in FIG. 1 will now be described.

우선, 업스위치(101) 및 다운스위치(102)가 제어되지 않을 때,First, when the upswitch 101 and the downswitch 102 are not controlled,

미도시된 CPU로부터 로컬라인 D[0~4]를 통해 소정의 값(예를 들어 채널 9(01001) 값)이 전송됨과 동시에 쓰기제어신호가 액티브 하이상태로 인가되면, 인버터(131)를 통해 쓰기제어신호는 로우상태로 인가된다. 이에 따라 업/다운 카운터(130)는 D[0~4]라인을 통해 인가된 소정의 값을 로딩하게 된다. 이 때 미도시된 CPU로부터 전송되는 쓰기제어신호가 액티브 로우상태로 제공될 경우에 인버터(131)없이 구현될 수도 있다.If a predetermined value (for example, channel 9 (01001) value) is transmitted from the CPU (not shown) via the local line D [0 ~ 4] and the write control signal is applied to the active high state, The write control signal is applied in the low state. Accordingly, the up / down counter 130 loads a predetermined value applied through the D [0 ~ 4] lines. In this case, the write control signal transmitted from the CPU (not shown) may be implemented without the inverter 131 in the active low state.

그리고 업/다운 카운터(130)에 로드되는 상술한 소정의 값(채널 9(01001))은 클럭단으로 인가되는 클럭신호의 라이징에지에서 출력단(OUT[0~4])을 통해 출력된다. 이 때 클럭제공부(110)는 업/다운카운터(130)의 클럭단자로 20MHz의 제 2 클럭신호에 의해 가공된 소정의 클럭신호를 제공한다. 즉, 클럭신호의 라이징에지에서 입력단(D[0~4])을 통해 인가되는 신호가 출력신호로 로드되므로, 클럭제공부(110)는 쓰기제어신호(SCW)의 인에이블기간동안 업/다운 카운터(130)의 클럭단으로 인가되는 클럭신호의 라이징(또는 상승)시점을 만들기 위하여, 인가되는 20MHz의 제 2 클럭신호를 인버터(117)를 통해 반전시켜 제 2 D플립플롭(118)의 클럭단으로 인가한다.The predetermined value (channel 9 (01001)) loaded on the up / down counter 130 is output through the output terminals OUT [0 to 4] at the rising edge of the clock signal applied to the clock stage. At this time, the clock providing unit 110 provides a predetermined clock signal processed by the second clock signal of 20MHz to the clock terminal of the up / down counter 130. That is, since the signal applied through the input terminals D [0-4] at the rising edge of the clock signal is loaded as the output signal, the clock providing unit 110 is up / down during the enable period of the write control signal SCW. In order to make a rising (or rising) time point of the clock signal applied to the clock terminal of the counter 130, the second clock signal of 20 MHz applied is inverted through the inverter 117 to clock the second D flip-flop 118. It is applied in stage.

제 2 D플립플롭(118)은 입력단을 통해 액티브 로우레벨로 인가되는 쓰기제어신호를 20MHz의 클럭신호에 동기시켜 논리합소자(121)의 일측 입력단으로 전송한다. 논리합소자(121)는 라인(119)를 통해 인가되는 제 1 D플립플롭(115)의 출력신호에 관계없이 라인(120)을 통해 인가되는 제 2 D플립플롭(118)의 출력신호를 업/다운 카운터(130)의 클럭신호로 제공한다. 이는 제 1 D플립플롭(115)이 인가되는 쓰기제어신호에 의해 클리어되어 출력단(Q)을 통해 로우레벨신호를 출력하기 때문이다.The second D flip-flop 118 transmits a write control signal applied at an active low level through an input terminal to one input terminal of the logic element 121 in synchronization with a clock signal of 20 MHz. The logic sum element 121 up / down the output signal of the second D flip-flop 118 applied through the line 120 regardless of the output signal of the first D flip-flop 115 applied through the line 119. Provided as a clock signal of the down counter 130. This is because the first D flip-flop 115 is cleared by the write control signal applied and outputs the low level signal through the output terminal Q.

업/다운 카운터(130)는 논리합소자(121)로부터 출력되는 신호에 동기되어 상술한 바와 같이 01001값을 출력라인(CH0~CH4)에 유지시킨다.The up / down counter 130 keeps the 01001 value on the output lines CH0 to CH4 as described above in synchronization with the signal output from the logic sum element 121.

이와 같이 업/다운 카운터(130)가 소정의 값을 유지하고 있는 상태에서, 사용자가 업스위치(101)를 누른다고 가정하면 다음과 같이 동작을 한다.In this state, when the up / down counter 130 maintains a predetermined value, assuming that the user presses the up switch 101, the operation is performed as follows.

우선, 업스위치(101)가 온상태로 제어될 때에는 쓰기모드제어신호가 비액티브상태로 유지되므로 제 2 D플립플롭(118)의 출력이 '로우상태'가 되어 업/다운 카운터(130)로 제공되는 클럭신호는 제 1 D플립플롭(115)의 출력신호가 된다. 즉, 업스위치(101)가 온되면, 라인(111)을 통해 논리곱소자(113)의 일측 입력단으로 2Hz클럭신호가 입력되는 반면에 다운스위치(102)가 오프된 상태이므로 라인(112)를 통해 풀업저항(R1)을 경유한 하이레벨(+5V)신호가 인가되어 논리곱소자(113)는 라인(111)를 통해 인가된 신호를 출력하게 된다.First, when the up switch 101 is controlled to the on state, since the write mode control signal is kept in an inactive state, the output of the second D flip-flop 118 becomes 'low state' to the up / down counter 130. The provided clock signal becomes the output signal of the first D flip-flop 115. That is, when the up switch 101 is turned on, the 2 Hz clock signal is input to one input terminal of the logical multiplication device 113 through the line 111 while the down switch 102 is turned off. The high-level (+ 5V) signal through the pull-up resistor (R1) is applied through the logical multiplication device 113 outputs the signal applied through the line 111.

논리곱소자(113)의 출력신호는 라인(114)를 통해 제 1 D플립플롭(115)의 클럭신호로 전송된다. 제 1 D플립플롭(115)은 라인(114)를 통해 인가되는 클럭신호에 동기되어 입력단(D)을 통해 인가되는 제 1 클럭신호를 출력단(Q)을 통해 출력하게 된다. 이러한 제 1 D플립플롭(115)의 동작으로 업 또는 다운스위치(101, 102) 제어시(온 또는 오프시), 발생하는 잡음이 전송되지 않게 되어 전송되는 제 1 클럭신호를 안정화시킨다. 안정화된 제 1 클럭신호는 라인(119)을 경유하여 논리합소자(121)로 인가되고, 논리합소자(121)는 라인(120)을 통해 인가되는 신호가 로우레벨이므로 라인(119)를 통해 인가되는 제 1 클럭신호를 업/다운 카운터(130)의 클럭신호로 제공한다.The output signal of the AND device 113 is transmitted as a clock signal of the first D flip-flop 115 through the line 114. The first D flip-flop 115 outputs a first clock signal applied through the input terminal D in synchronization with a clock signal applied through the line 114. By the operation of the first D flip-flop 115, the noise generated when the up or down switches 101 and 102 are controlled (on or off) is not transmitted, thereby stabilizing the transmitted first clock signal. The stabilized first clock signal is applied to the logical sum element 121 via the line 119, and the logic sum element 121 is applied through the line 119 because the signal applied through the line 120 is low level. The first clock signal is provided as a clock signal of the up / down counter 130.

이에 따라 업/다운카운터(130)는 인가되는 제 1 클럭신호의 상승에지마다 카운트를 하게 되는데, 전송라인(140)을 통해 로우레벨신호(GND)가 전송되므로 업카운트를 하게 된다. 그리고 전송되는 제 1 클럭신호가 2Hz이므로 0.5초마다 하나씩 카운트하게 된다. 전송되는 제 1 클럭신호의 주기가 다르게 설정될 경우에 상술한 카운트주기(0.5초) 또한 다르게 된다.Accordingly, the up / down counter 130 counts every rising edge of the applied first clock signal, and the up / down counter 130 performs the up count because the low level signal GND is transmitted through the transmission line 140. Since the first clock signal transmitted is 2 Hz, one count is performed every 0.5 seconds. When the period of the first clock signal to be transmitted is set differently, the aforementioned count period (0.5 seconds) is also different.

한편, 다운스위치(102)가 온상태가 되면,On the other hand, when the down switch 102 is turned on,

저항(R4)을 통해 하이레벨(+5V)신호가 전송로(140)를 통해 업/다운카운터(130)의 업/다운 선택신호(U/D SEL)로 제공되어 업/다운 카운터(130)는 다운카운트모드로 설정된다. 그리고 전송로(111)를 통해 풀업저항(R2)을 통한 하이레벨(+5V)신호가 논리곱소자(110)의 일측 입력단으로 인가되므로 전송로(112)를 통해 인가되는 신호가 논리곱소자(110)의 출력신호가 된다. 이 때 출력되는 신호 역시 2Hz가 된다. 출력되는 2Hz의 신호는 상술한 업스위치(101)가 온상태일 때와 마찬가지로 제 1 D플립플롭(115) 및 논리합소자(121)를 경유하여 업/다운 카운터(130)의 클럭신호로 제공된다. 이와 같이 인가되는 클럭신호의 라이징에지에서 업/다운 카운터(130)는 다운카운트를 하게 된다.The high level (+ 5V) signal is provided through the resistor R4 to the up / down selection signal (U / D SEL) of the up / down counter 130 through the transmission path 140 and the up / down counter 130. Is set to the down count mode. In addition, since the high level (+ 5V) signal through the pull-up resistor R2 is applied to one input terminal of the logical multiplication device 110 through the transmission path 111, the signal applied through the transmission path 112 is a logical multiplication device ( 110 is an output signal. At this time, the output signal is also 2Hz. The output 2Hz signal is provided as a clock signal of the up / down counter 130 via the first D flip-flop 115 and the logic element 121 as in the case where the up switch 101 is in the on state. . The up / down counter 130 is down counted at the rising edge of the clock signal applied as described above.

이상에서 설명한 바와 같이 본 발명은 사용자가 제어할 수 있는 업스위치 및 다운스위치를 이용하여 업/다운 카운터의 동작을 자유롭게 제어할 수 있도록 하고, D플립플롭을 이용하여 안정된 업/다운 카운터의 클럭신호가 제공되도록 함으로써, 업/다운 카운터의 동작을 효율적으로 운영할 수 있고, SPM장치에 구비되어 있는 업/다운 카운터에 적용할 경우에 CPU의 관여없이 채널을 선택할 수 있는 이점도 있다.As described above, the present invention allows the user to control the operation of the up / down counter freely using the up switch and the down switch, and the clock signal of the stable up / down counter using the D flip-flop. By providing a, the operation of the up / down counter can be efficiently operated, and when applied to the up / down counter provided in the SPM device, there is also an advantage that a channel can be selected without involvement of the CPU.

Claims (3)

넘버세븐 시그널링 프로토콜 모니터링시스템(SPM)에서 중앙처리부로부터 인가되는 데이터를 쓰기제어신호에 의하여 로드하고, 카운트된 값을 채널선택을 위한 채널정보로 출력하기 위한 업/다운카운터의 카운트제어회로에 있어서,In the count control circuit of the up / down counter for loading data applied from the central processing unit by the number seven signaling protocol monitoring system (SPM) by the write control signal, and outputting the counted value as channel information for channel selection, 2접점 스위치 구조로 이루어진 업스위치 및 다운스위치;An upswitch and a downswitch having a two-contact switch structure; 상기 업스위치 및 다운스위치의 온 또는 오프에 따라 상기 업스위치 또는 다운스위치의 제 1 접점을 통해 전송되는 소정의 제 1 클럭신호와 소정의 제 2 클럭신호에 동기되는 상기 쓰기제어신호를 논리조합한 결과신호를 상기 업/다운카운터의 클럭신호로 제공하기 위한 클럭제공부;Logically combining the write control signal synchronized with the predetermined first clock signal and the predetermined second clock signal transmitted through the first contact of the upswitch or downswitch according to on or off of the upswitch and downswitch. A clock providing unit for providing a result signal as a clock signal of the up / down counter; 상기 업스위치 및 상기 다운스위치의 온 또는 오프에 따라 상기 업스위치 또는 다운스위치의 제 2 접점을 통해 전송되는 소정의 논리신호를 상기 업/다운 카운터의 업 또는 다운동작모드를 선택할 수 있는 업/다운 선택신호로 전송하기 위한 전송로를 포함하는 것을 특징으로 하는 업/다운 카운터의 카운트 제어회로.An up / down to select an up or down operation mode of the up / down counter for a predetermined logic signal transmitted through the second contact of the upswitch or downswitch according to on or off of the upswitch and the downswitch; A count control circuit for up / down counters comprising a transmission path for transmitting as a selection signal. 제 1 항에 있어서, 상기 클럭제공부는,The method of claim 1, wherein the clock providing unit, 상기 업스위치 및 다운스위치의 상기 제 1 접점에 접속되어 있는 각각의 전송로를 통해 인가되는 신호를 논리곱하기 위한 제 1 논리소자(113);A first logic element (113) for ANDing the signal applied through each transmission path connected to the first contact of the upswitch and downswitch; 상기 중앙처리부로부터 인가되는 데이터가 상기 업/다운 카운터에 로드될 때, 상기 쓰기제어신호에 의해 클리어되었다가 상기 업/다운 카운터가 상기 데이터를 로드하지 않을 때, 상기 제 1 논리소자(113)를 통해 출력되는 신호에 동기되어 제 1 클럭신호를 안정화시켜 전송하기 위한 제 1 플립플롭(115);When the data applied from the CPU is loaded into the up / down counter, the first logic element 113 is cleared when the data is cleared by the write control signal and the up / down counter does not load the data. A first flip-flop 115 for stabilizing and transmitting the first clock signal in synchronization with a signal outputted through the first signal; 상기 업/다운 카운터가 상기 중앙처리부로부터 전송되는 데이터를 로드할 때, 상기 제 2 클럭신호에 동기된 상기 쓰기제어신호를 상기 업/다운 카운터의 클럭신호로 제공하기 위한 제 2 플립플롭(118); 및A second flip-flop 118 for providing the write control signal synchronized with the second clock signal as a clock signal of the up / down counter when the up / down counter loads data transmitted from the central processing unit; ; And 상기 제 1 플립플롭(115)과 제 2 플립플롭(118)의 출력신호를 논리합한 신호를 상기 업/다운 카운터의 클럭신호로 전송하기 위한 제 2 논리소자(121)를 포함하는 것을 특징으로 하는 업/다운 카운터의 카운트 제어회로.And a second logic element 121 for transmitting the sum of the output signals of the first flip-flop 115 and the second flip-flop 118 as a clock signal of the up / down counter. Count control circuit of up / down counter. 제 2 항에 있어서, 상기 제 1 플립플롭은 상기 제 1 클럭신호를 입력신호로 하고, 상기 제 1 논리소자의 출력신호를 클럭신호로 하는 D플립플롭으로 이루어지고, 상기 제 2 플립플롭은 상기 제 2 클럭신호를 클럭신호로 하고, 상기 쓰기제어신호를 입력신호로 하는 D플립플롭으로 이루어지는 것을 특징으로 하는 업/다운카운터의 카운트 제어회로.3. The first flip-flop of claim 2, wherein the first flip-flop is a D flip-flop having the first clock signal as an input signal and the output signal of the first logic element as a clock signal. A count control circuit for up / down counters comprising a D flip-flop having a second clock signal as a clock signal and the write control signal as an input signal.
KR1019970012390A 1997-04-03 1997-04-03 Circuit for controlling count of a up/down counter KR100242691B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970012390A KR100242691B1 (en) 1997-04-03 1997-04-03 Circuit for controlling count of a up/down counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970012390A KR100242691B1 (en) 1997-04-03 1997-04-03 Circuit for controlling count of a up/down counter

Publications (2)

Publication Number Publication Date
KR19980075966A KR19980075966A (en) 1998-11-16
KR100242691B1 true KR100242691B1 (en) 2000-02-01

Family

ID=19501922

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970012390A KR100242691B1 (en) 1997-04-03 1997-04-03 Circuit for controlling count of a up/down counter

Country Status (1)

Country Link
KR (1) KR100242691B1 (en)

Also Published As

Publication number Publication date
KR19980075966A (en) 1998-11-16

Similar Documents

Publication Publication Date Title
KR920003446B1 (en) Output circuit for producing positive and negative pulse at a single output terminal
KR960024806A (en) Self-Configuring Speed Path on Microprocessors with Multiple Clock Options
EP1237282B1 (en) Circuit for the detection of clock signal period abnormalities
US4945540A (en) Gate circuit for bus signal lines
US5894508A (en) Automatic power control apparatus of a PC mounted fax/modem
KR960042413A (en) Data processing system
US6727721B2 (en) Method for switching from a first operating condition of an integrated circuit to a second operating condition of the integrated circuit
KR100242691B1 (en) Circuit for controlling count of a up/down counter
KR19980061837A (en) IPC's Redundant Bus Clock Supervisory Circuits
KR930010723A (en) Computer system
US6823413B2 (en) Interrupt signal processing apparatus
JPS6374338A (en) On-vehicle communication equipment
US6973025B2 (en) Device for selecting normal circuit in communication system
KR970049492A (en) Data Processor with Bus Controller
KR900005307Y1 (en) Frequency alternating detective circuit
US6201422B1 (en) State machine, semiconductor device and electronic equipment
KR0125149Y1 (en) Joint circuit for hook-state detecting of full electronic telephone exchange
JPH07248843A (en) Clock switching circuit
SU1603367A1 (en) Element of sorting network
KR0175036B1 (en) Display driving circuit of liquid crystal display device
KR200300385Y1 (en) Synchronous Clock Monitor Circuit in Electronic Switching System
KR100397880B1 (en) Digital circuit
KR970003644Y1 (en) Apparatus protection off circuit
JP2661583B2 (en) Clock signal distribution apparatus and method
KR100208715B1 (en) Data read enable signal formation circuit

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
LAPS Lapse due to unpaid annual fee