KR101399188B1 - Switching device and method for preventing bouncing - Google Patents

Switching device and method for preventing bouncing Download PDF

Info

Publication number
KR101399188B1
KR101399188B1 KR1020070036864A KR20070036864A KR101399188B1 KR 101399188 B1 KR101399188 B1 KR 101399188B1 KR 1020070036864 A KR1020070036864 A KR 1020070036864A KR 20070036864 A KR20070036864 A KR 20070036864A KR 101399188 B1 KR101399188 B1 KR 101399188B1
Authority
KR
South Korea
Prior art keywords
switch
turn
signal
unit
output
Prior art date
Application number
KR1020070036864A
Other languages
Korean (ko)
Other versions
KR20080093227A (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 KR1020070036864A priority Critical patent/KR101399188B1/en
Publication of KR20080093227A publication Critical patent/KR20080093227A/en
Application granted granted Critical
Publication of KR101399188B1 publication Critical patent/KR101399188B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/28Modifications for introducing a time delay before switching
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K2017/515Mechanical switches; Electronic switches controlling mechanical switches, e.g. relais

Abstract

본 발명은 바운싱의 영향을 방지하기 스위칭 장치 및 방법을 개시한다.The present invention discloses a switching device and a method for preventing the influence of bouncing.

본 발명의 바운싱 방지용 스위칭 장치는 스위치가 턴 온 시 상기 스위치의 출력 전압이 제 1 일정시간 동안 기 설정된 제 1 전압레벨을 지속하는 경우 턴 온 신호를 발생시키는 턴 온 처리수단; 상기 스위치가 턴 오프 시 상기 스위치의 출력 전압이 제 2 일정시간 동안 기 설정된 제 2 전압레벨을 지속하는 경우 턴 오프 신호를 발생시키는 턴 오프 처리수단; 및 상기 턴 온 신호가 발생시 스위칭 신호를 온 시키고 상기 턴 오프 신호가 발생시 상기 스위칭 신호를 오프 시키는 스위칭 신호 출력부를 구비하여, 스위치가 턴 온 되는 경우 출력신호를 단순히 지연시키는 것이 아니라 스위치가 턴 오프되고 스위치 턴 오프에 의한 바운싱의 종료 여부를 확인하여 출력신호를 발생시킴으로써 보다 안정적인 스위칭 신호를 출력할 수 있도록 해준다.The anti-bouncing switching apparatus of the present invention includes: turn-on processing means for generating a turn-on signal when the output voltage of the switch is maintained at a predetermined first voltage level for a first predetermined time when the switch is turned on; Turn-off processing means for generating a turn-off signal when the output voltage of the switch is maintained at a predetermined second voltage level for a second predetermined time when the switch is turned off; And a switching signal output unit for turning on the switching signal when the turn-on signal is generated and turning off the switching signal when the turn-off signal is generated. When the switch is turned on, the switch is turned off The output signal is generated by checking whether the bouncing is terminated by the switch turn-off, thereby outputting a more stable switching signal.

Description

바운싱 방지용 스위칭 장치 및 그 스위칭 방법{Switching device and method for preventing bouncing}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching device for preventing bouncing,

도 1a 및 도 1b는 일반적인 스위치를 보여주는 기호.Figures 1a and 1b show a typical switch.

도 1c는 아날로그회로에서 바운싱 현상을 방지하기 위한 스위치 회로.1C is a switch circuit for preventing bouncing phenomenon in an analog circuit.

도 2a는 스위치의 스위칭 동작시 발생되는 바운싱 특성을 보여주는 도면.2A is a diagram showing a bouncing characteristic generated in a switching operation of a switch;

도 2b는 바운싱 현상 발생시 도 1c의 회로와 같은 아날로그 회로가 보여주는 접점신호의 예시도.FIG. 2B is an exemplary view of a contact signal shown by an analog circuit such as the circuit of FIG. 1C when a bouncing phenomenon occurs.

도 2c는 바운싱 현상 발생시 도 1a의 회로와 같은 아날로그 회로가 없는 집적화된 디지털회로가 보여주는 접점신호의 예시도.FIG. 2C is an exemplary view of a contact signal shown by an integrated digital circuit having no analog circuit such as the circuit of FIG. 1A when a bouncing phenomenon occurs.

도 3은 본 발명에 따른 바운싱 방지용 스위칭 장치의 구성을 나타내는 구성도.3 is a block diagram showing a configuration of a switching device for preventing bouncing according to the present invention.

도 4는 본 발명의 스위칭 장치의 동작을 설명하기 위한 순서도.4 is a flowchart for explaining the operation of the switching device of the present invention.

도 5a는 스위치의 스위칭 동작시 발생되는 바운싱 특성을 보여주는 도면.5A is a view showing a bouncing characteristic generated in a switching operation of a switch;

도 5b 본 발명의 스위칭 장치가 바운싱 현상을 제거하는 동작을 설명하기 위한 도면.5B is a diagram for explaining an operation of the switching device of the present invention to remove the bouncing phenomenon.

도 5c 본 발명의 스위칭 장치가 바운싱 현상이 발생중에도 정상적인 펄스형 on, off 신호를 발생시키는 동작을 보여주는 도면.FIG. 5C is a view showing an operation of generating a normal pulse type on and off signals even when a bouncing phenomenon occurs, according to the switching device of the present invention. FIG.

< 도면의 주요 부분에 대한 부호의 설명 >Description of the Related Art

10 : 스위치 부 20 : S/W ON 신호 인식부10: switch unit 20: S / W ON signal recognition unit

30 : S/W ON 시간 유지부 40 : TURN ON 신호 발생부30: S / W ON time holding unit 40: TURN ON signal generating unit

50 : S/W OFF 신호 인식부 60 : S/W OFF 시간 유지부50: S / W OFF signal recognition unit 60: S / W OFF time holding unit

70 : TURN OFF 신호 발생부 80 : 출력부70: TURN OFF signal generating part 80: Output part

본 발명은 스위칭 장치에 관한 것으로서, 보다 상세하게는 스위치의 스위칭 동작시 발생되는 바운싱의 영향을 완전하게 제거하여 사용자가 원하지 않는 이상동작이 발생되지 않도록 해주는 스위칭 장치 및 그 스위칭 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a switching device, and more particularly, to a switching device and a switching method thereof that completely eliminate an influence of bouncing generated in a switching operation of a switch,

일반적으로 도 1a 및 1b와 같은 스위치가 턴 온 또는 턴 오프 하게 되면, 도 2a에서와 같이 턴 온 및 턴 오프 시점에서 바운싱이 발생하게 된다.In general, when the switch as shown in FIGS. 1A and 1B is turned on or off, bouncing occurs at the time of turn-on and turn-off as shown in FIG. 2A.

이러한 바운싱 현상은 하드웨어적으로 당연하게 나타날수 있는 현상이며 도도 1c와 같이 아날로그방식의 접점인 경우 미약한 신호나 바운싱에 의한 노이즈는 스너버 회로 등을 통하여 제거할 수 있으나 산업의 고도화에 따른 회로의 직접화 및 고도화에 따라 아날로그회로를 부과하지 않고 직접 디지털신호를 처리하는 경우에는 도 2c에서와 같이 모든 신호를 하이 또는 로우 레벨 두 가지의 경우로 0 또는 1로 받아들이기 때문에 바운싱의 노이즈가 곧 신호로 출력될 수 있는 상황이 된다.Such a bouncing phenomenon is a phenomenon that can occur naturally in hardware. As shown in Fig. 1c, in the case of an analog-type contact point, a weak signal or noise due to bouncing can be removed through a snubber circuit. However, In the case of directly processing a digital signal without applying an analog circuit according to the enhancement, as shown in FIG. 2C, since all the signals are received as 0 or 1 in two cases of high or low level, It becomes a situation that can be output.

즉, 이러한 디지털 신호를 명령으로 받아들이는 기기에서는 바운싱 동작으로 인하여 실제 사용자는 스위치를 한 번만 눌렀다 떼었으나 출력되는 신호는 마치 사용자가 여러 번 스위치를 온/오프 시킨 것과 같이 펄스 신호가 발생하게 되어 중요한 장치의 스위칭 동작시 매우 위험한 결과를 초래할 수 있는 문제가 있다.That is, in a device that receives such a digital signal as an instruction, the actual user presses and releases the switch only once due to the bouncing operation, but the output signal is generated as if the user turned on / There is a problem that the switching operation of the device may cause a very dangerous result.

이러한 스위치의 바운싱 문제를 해결하기 위해 종래에는 도 1c에서와 같이 스위치가 온 되더라도 스너버 회로를 통하여 일부 신호를 흡수함으로써 이상출력을 방지하였으며 일부 기기에서는 스위치 신호가 온 되는 시점에 바로 출력신호(스위칭 신호)를 출력하지 않고 일정 시간(T)이 경과한 후 신호를 출력하도록 하고 있다.In order to solve the bouncing problem of such a switch, an abnormal output is prevented by absorbing some signals through a snubber circuit even if the switch is turned on as shown in FIG. 1C. In some devices, Signal is not output but the signal is output after a predetermined time T elapses.

그러나 종래와 같이 스너버 회로를 모든 스위치에 부착하면 초직접화 되고 있는 산업현장에서 장치의 크기가 커지고 스너버 회로의 열화 등에 의한 문제점을 가지게 되어 터치스크린과 같은 얇은 박막형 스위치 장치에는 이용이 불가능하다.However, if the snubber circuit is attached to all the switches as in the prior art, the size of the device becomes large in the industrial field, which is directly connected to the switch, and the problem is caused by the deterioration of the snubber circuit, so that it can not be used for a thin film switch device such as a touch screen .

또한 일부 지연 시간을 갖도록 구성한 프로그램에서는 단지 지연 시간 이후 재동작하는 문제점을 가지고 있다. 또한, 스위치가 턴 온 되는 시점을 기준으로 출력신호의 발생을 일정 시간 지연시키게 되면, 턴 온 시 발생하는 바운싱에 의한 영향은 제거할 수 있으나 턴 오프 시에 발생하는 바운싱에 의한 문제는 여전히 남아 있게 된다.In addition, a program configured to have some delay time has a problem of restarting only after a delay time. In addition, if the output signal is delayed for a predetermined time based on the time point at which the switch is turned on, the influence due to bouncing occurring at the time of turn-on can be removed, but the problem caused by the bouncing occurring at the time of turn- do.

즉, 도 2c에서와 같이, 출력신호가 스위치의 턴 오프에 의한 바운싱 구간에서 로우레벨로 전환되는 경우, 스위칭 장치(도 1a 및 도 1b)는 턴 오프에 의한 바운싱 펄스가 스위치 온에 의한 신호인 것으로 오인하여 다시 출력신호를 발생시킬 수 있는 문제를 안고 있다.That is, when the output signal is switched to the low level in the bouncing period due to the turn-off of the switch, as shown in Fig. 2C, the switching device (Figs. 1A and 1B) And the output signal can be generated again.

따라서 상술된 문제를 해결하기 위한 본 발명의 목적은 스너버 회로를 통한 바운싱 보호장치(protector) 회로 이외의 디지털 프로그램에서 스위치에 의한 바운싱의 영향을 완전히 차단하여 보다 안정적인 스위칭 신호가 출력될 수 있도록 하는데 있다.It is therefore an object of the present invention to solve the above-mentioned problems and to provide a digital circuit breaker which is capable of completely switching off the influence of bouncing by a switch in a digital program other than a bouncing protector circuit through a snubber circuit so as to output a more stable switching signal have.

위와 같은 목적을 달성하기 위한 본 발명의 바운싱 방지용 스위칭 장치는 스위치가 턴 온 시 상기 스위치의 출력 전압이 제 1 일정시간 동안 기 설정된 제 1 전압레벨을 지속하는 경우 턴 온 신호를 발생시키는 턴 온 처리수단; 상기 스위치가 턴 오프 시 상기 스위치의 출력 전압이 제 2 일정시간 동안 기 설정된 제 2 전압레벨을 지속하는 경우 턴 오프 신호를 발생시키는 턴 오프 처리수단; 및 상기 턴 온 신호가 발생시 스위칭 신호를 온 시키고 상기 턴 오프 신호가 발생시 상기 스위칭 신호를 오프 시키는 스위칭 신호 출력부를 구비한다.In order to accomplish the above object, the present invention provides a bouncing preventing switching apparatus comprising a turn-on process for generating a turn-on signal when an output voltage of the switch is maintained at a predetermined first voltage level for a first predetermined time, Way; Turn-off processing means for generating a turn-off signal when the output voltage of the switch is maintained at a predetermined second voltage level for a second predetermined time when the switch is turned off; And a switching signal output unit for turning on the switching signal when the turn-on signal is generated and turning off the switching signal when the turn-off signal is generated.

본 발명의 스위칭 방법은 스위치의 출력 전압의 변화를 감지하는 제 1 단계; 상기 스위치의 출력 전압이 제 1 일정시간 동안 기 설정된 제 1 전압레벨로 지속되는 경우 스위칭 신호를 온 시키는 제 2 단계; 및 상기 스위치의 출력 전압이 제 2 일정시간 동안 기 설정된 제 2 전압레벨로 지속되는 경우 상기 스위칭 신호를 오프 시키는 제 3 단계를 포함한다.The switching method of the present invention includes: a first step of detecting a change in an output voltage of a switch; A second step of turning on a switching signal when the output voltage of the switch is maintained at a predetermined first voltage level for a first predetermined time; And a third step of turning off the switching signal when the output voltage of the switch is maintained at a predetermined second voltage level for a second predetermined time period.

이하, 첨부된 도면들을 참조하여 본 발명의 바람직한 실시 예를 보다 상세하게 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 실시 예에 따른 바운싱 방지용 스위칭 장치의 구성을 나타내는 구성도이다.3 is a block diagram showing the configuration of a switching device for preventing bouncing according to an embodiment of the present invention.

본 발명의 바운싱 방지용 스위칭 장치는 스위치 온(S/W ON) 인식부(10), 온 지속 확인부(20), 턴 온(TURN ON) 출력부(30), 스위치 오프(S/W OFF) 인식부(40), 오프 지속 확인부(50), 턴 오프(TURN OFF) 출력부(60) 및 스위칭 신호 출력부(70)를 구비한다.The bouncing preventing switching apparatus of the present invention includes a switch on (S / W ON) recognizing unit 10, a ON duration checking unit 20, a TURN ON output unit 30, a switch off (S / W OFF) An OFF duration confirmation unit 50, a TURN OFF output unit 60, and a switching signal output unit 70, as shown in FIG.

스위치 온 인식부(10)는 스위치 S/W의 출력노드 A의 전압 변화를 감지하여 스위치 S/W가 눌렸는지 즉 스위치 S/W가 턴 온 되었는지 여부를 확인한다. 스위치 S/W가 눌려지면, 노드 A의 전압이 전원전압 VDD에 의해 하이레벨이 된다. 따라서, 스위치 온 인식부(10)는 노드 A의 전압이 하이레벨로 감지되면 스위치 S/W가 온 되었음을 알리는 스위치 온 발생 신호 So(s/w on)를 출력한다. 이때 스위치 온 발생 신호 So는 노드 A의 전압이 하이레벨로 유지되는 동안 지속적으로 발생된다.The switch-on recognition unit 10 senses the voltage change of the output node A of the switch S / W and confirms whether the switch S / W is pressed, that is, whether the switch S / W is turned on. When the switch S / W is depressed, the voltage of the node A becomes high level by the power supply voltage VDD. Accordingly, the switch-on recognition unit 10 outputs a switch-on generation signal So (s / w on) indicating that the switch S / W is turned on when the voltage of the node A is detected as a high level. At this time, the switch-on signal So is continuously generated while the voltage of the node A is maintained at the high level.

온 지속 확인부(20)는 스위치 온 인식부(10)의 출력신호 So가 기 설정된 일정시간(제 1 일정시간) 이상 지속되는지 여부를 확인하여 일정시간 동안 지속되는 경우 턴 온 출력부(30)에게 턴 온 신호 출력을 명령한다. 즉, 온 지속 확인부(20)는 스위치 턴 온 시 바운싱이 발생하였는지 발생한 바운싱이 종료되었는지 여부를 확인한다.The on-duration checking unit 20 checks whether the output signal So of the switch-on recognizing unit 10 lasts for a predetermined period of time (the first predetermined time) On signal output. That is, the on-duration checking unit 20 checks whether the bouncing has occurred or not when the switch turns on.

턴 온 출력부(30)는 온 지속 확인부(20)로부터 턴 온 신호 출력 명령이 인가되면 하이레벨의 온 펄스를 스위칭 신호 출력부(70)로 출력한다.The turn-on output unit 30 outputs a high-level on pulse to the switching signal output unit 70 when a turn-on signal output instruction is applied from the on-

스위치 오프 인식부(40)는 스위치 S/W의 출력노드 A의 전압 변화를 감지하여 스위치 S/W의 접점이 떨어졌는지 즉 스위치 S/W가 턴 오프 되었는지 여부를 확인한다. 스위치 S/W가 턴 오프 되면, 노드 A의 전압이 접지전원에 의해 로우레벨이 된다. 따라서, 스위치 오프 인식부(40)는 노드 A의 전압이 로우레벨로 감지되면 스위치 S/W가 오프 되었음을 알리는 스위치 오프 발생 신호 Sr(s/w recovery)를 출력한다. 이때, 스위치 오프 발생 신호 Sr는 노드 A의 전압이 로우레벨로 유지되는 동안 지속적으로 발생된다.The switch-off recognition unit 40 senses the voltage change of the output node A of the switch S / W and confirms whether the contact of the switch S / W is disconnected, that is, whether the switch S / W is turned off. When the switch S / W is turned off, the voltage of the node A becomes low level by the ground power source. Therefore, the switch-off recognition unit 40 outputs a switch-off occurrence signal Sr (s / w recovery) indicating that the switch S / W is turned off when the voltage of the node A is detected as a low level. At this time, the switch-off occurrence signal Sr is continuously generated while the voltage of the node A is maintained at the low level.

오프 지속 확인부(50)는 스위치 오프 인식부(40)의 출력신호 Sr가 기 설정된 일정시간(제 2 일정시간) 이상 지속되는지 여부를 확인하여 지속되는 경우 턴 오프 출력부(60)에게 턴 오프 신호 출력을 명령한다. 즉, 오프 지속 확인부(50)는 스위치 턴 오프 시 바운싱이 발생하였는지 발생한 바운싱이 종료되었는지 여부를 확인한다.The off-duration checking unit 50 checks whether the output signal Sr of the switch-off recognizing unit 40 lasts for a predetermined time (second predetermined time) or longer. If the output signal Sr of the switch- Signal output is commanded. That is, the off-duration check unit 50 checks whether bouncing has occurred or not when the switch turns off.

턴 오프 출력부(60)는 오프 지속 확인부(50)로부터 턴 오프 신호 출력 명령이 인가되면 로우레벨의 오프 펄스를 스위칭 신호 출력부(70)로 출력한다.The turn-off output unit 60 outputs a low-level off pulse to the switching signal output unit 70 when a turn-off signal output instruction is applied from the off-duration checking unit 50. [

스위칭 신호 출력부(70)는 턴 온 출력부(30)로부터의 온 펄스 및 턴 오프 출력부(60)로부터의 오프 펄스에 따라 일정폭의 펄스신호인 스위칭 신호를 출력한다. 즉, 스위칭 신호 출력부(70)는 턴 온 출력부(30)로부터 온 펄스가 인가되면 하이레벨의 스위칭 신호를 발생시킨 후 이를 턴 오프 출력부(60)로부터 오프 펄스가 인가될 때까지 유지한다. 따라서, 스위칭 신호 출력부(70)는 턴 온 출력부(30)로부터의 온 펄스 발생시부터 턴 오프 출력부(60)로부터의 오프 펄스 발생시까지의 펄스폭을 갖는 바운싱이 없는 하나의 스위칭 신호만을 출력하게 된다.The switching signal output section 70 outputs a switching signal which is a pulse signal having a constant width in accordance with the ON pulse from the turn-on output section 30 and the OFF pulse from the turn-off output section 60. That is, when a pulse from the turn-on output unit 30 is applied, the switching signal output unit 70 generates a high-level switching signal and holds it until the off-pulse is applied from the turn-off output unit 60 . Therefore, the switching signal output unit 70 outputs only one switching signal without bouncing having a pulse width from when the on-pulse is generated from the turn-on output unit 30 to when the off-pulse is generated from the turn-off output unit 60 .

도 4는 도 3의 스위칭 장치의 동작을 설명하기 위한 순서도이다.4 is a flowchart for explaining the operation of the switching device of FIG.

사용자가 스위치 S/W를 눌러 스위치가 온 되면, 노드 A의 전압은 전원전압 VDD에 의해 하이레벨로 전환된다(단계 410).When the switch is turned on by the user pressing the switch S / W, the voltage of the node A is switched to the high level by the power supply voltage VDD (step 410).

이때 노드 A의 전압은 스위치가 턴 온 되는 시점에서 바로 안정적인 하이레벨의 신호를 출력하지 않고 도 2a에서와 같이 바운싱이 발생하게 된다.At this time, the voltage of the node A does not output a stable high level signal immediately at the time when the switch is turned on, but bouncing occurs as shown in FIG. 2A.

스위치 온 인식부(10)는 노드 A의 전압이 하이레벨로 감지되면 스위치 S/W가 온 되었다고 인식하여 스위치 온 발생 신호 So를 온 지속 확인부(20)로 출력한다(단계 420).The switch-on recognition unit 10 recognizes that the switch S / W is turned on when the voltage of the node A is detected as a high level, and outputs the switch-on occurrence signal So to the on-duration confirmation unit 20 (step 420).

온 지속 확인부(20)는 스위치 온 인식부(10)로부터 스위치 온 발생 신호 So가 수신되면, 수신된 스위치 온 발생 신호 So가 기 설정된 일정시간(제 1 일정시간) 동안 지속되는지 여부를 확인하여 일정시간 동안 지속되는 경우 턴 온 출력부(30)에게 턴 온 신호 출력을 명령한다(단계 430).When the switch-on generating signal So is received from the switch-on recognizing unit 10, the on-duration checking unit 20 checks whether the received switch-on generating signal So lasts for a predetermined period of time (first predetermined time) If it continues for a predetermined time, the turn-on output unit 30 is instructed to turn on a turn-on signal (step 430).

이때 제 1 일정시간은 스위치 온 시의 바운싱 발생구간에서 어느 한 하이레벨의 펄스폭 보다 충분한 큰 시간으로 정해진다.At this time, the first predetermined time is set to a time sufficiently longer than a high-level pulse width in the bouncing occurrence period at the time of switch-on.

턴 온 출력부(30)는 온 지속 확인부(20)로부터 턴 온 신호 출력 명령을 수신하면 하이레벨의 온 펄스인 턴 온 신호를 스위칭 신호 출력부(70)로 출력하며, 이에 따라 스위칭 신호 출력부(70)는 스위칭 온 신호를 출력하게 된다(단계 440).The turn-on output unit 30 outputs a turn-on signal, which is a high-level on pulse, to the switching signal output unit 70 upon receipt of the turn-on signal output command from the on-duration check unit 20, The unit 70 outputs a switching-on signal (step 440).

상술한 과정이 진행되는 동안에 스위치 오프 인식부(40)는 지속적으로 노드 A의 전압을 감지하여 노드 A의 전압이 로우레벨로 전환되었는지 즉 스위치 S/W가 오프 되었는지 여부를 확인한다(단계 450).During the above-described process, the switch-off recognition unit 40 continuously detects the voltage of the node A and checks whether the voltage of the node A is switched to the low level, that is, whether the switch S / W is off (step 450) .

노드 A의 전압이 로우레벨로 전환되면, 스위치 오프 인식부(40)는 스위치 S/W가 오프된 것으로 판단하여 스위치 오프 발생 신호 Sr를 오프 지속 확인부(50)로 출력한다(단계 460).When the voltage of the node A is switched to the low level, the switch-off recognizing part 40 judges that the switch S / W is off and outputs the switch-off generating signal Sr to the off-duration checking part 50 (step 460).

스위치 오프 확인부(50)는 스위치 오프 인식부(40)로부터 스위치 오프 신호 Sr가 수신되면, 스위치 오프 신호 Sr가 기 설정된 일정시간(제 2 일정시간) 동안 지속되는지 여부를 확인하여 일정시간 동안 지속되는 경우 턴 오프 출력부(30)에게 턴 오프 신호 출력을 명령한다(단계 470).When the switch-off signal Sr is received from the switch-off recognition unit 40, the switch-off confirmation unit 50 checks whether or not the switch-off signal Sr lasts for a predetermined period of time (the second predetermined time) Off output signal to the turn-off output unit 30 (step 470).

이때 제 2 일정시간은 스위치 턴 오프 시의 바운싱 발생구간에서 어느 한 로우레벨의 펄스폭 보다 충분한 큰 시간으로 정해지며, 제 1 일정시간과 동일하게 설정될 수도 있다. 본 발명에서 제 2 일정시간을 두는 이유는 스위치 S/W의 오프 여부를 확인하는 시점이 스위치 S/W의 턴 오프에 의한 바운싱 발생 구간에 있게 되면 상술한 종래와 같은 문제가 발생될 수 있기 때문이다.At this time, the second predetermined time is set to a time sufficiently longer than a pulse width of a low level in the bouncing occurrence period at the time of switch turn-off, and may be set to be equal to the first predetermined time. The reason for setting the second predetermined time in the present invention is that if the point at which the switch S / W is turned off is in the bouncing occurrence period due to the turn-off of the switch S / W, to be.

턴 오프 출력부(60)는 오프 지속 확인부(50)로부터 턴 오프 신호 출력 명령을 수신하면 로우레벨의 오프 펄스인 턴 오프 신호를 스위칭 신호 출력부(70)로 출력하며, 스위칭 신호 출력부(70)는 턴 오프 신호가 수신되면 스위칭 오프 신호를 출력하게 된다(단계 480).The turn-off output unit 60 outputs a turn-off signal, which is a low-level off-pulse, to the switching signal output unit 70 when the turn-off signal output instruction is received from the off- 70 will output a switching off signal when a turn off signal is received (step 480).

이처럼, 본 발명에서는 스위치 S/W의 오프 여부를 확인하는 시점이 스위치 S/W의 턴 오프에 의한 바운싱 구간에 있는 경우에도 스위칭 신호 출력부(70)는 바운싱이 종료될 때까지 스위칭 오프 신호를 발생시키지 않고 대기하게 된다. 따라서, 스위칭 오프 신호는 바운싱이 종료되고 일정시간(제 2 일정시간)이 경과한 후 에 발생하게 된다.As described above, in the present invention, even when the time for confirming whether the switch S / W is off is in the bouncing interval due to the turn-off of the switch S / W, the switching signal output unit 70 outputs the switching off signal until bouncing is completed It waits without generating it. Therefore, the switching off signal occurs after the lapse of a predetermined time (second predetermined time) after the bouncing is completed.

도 5는 본 발명의 실시 예에 따른 바운싱 방지용 스위칭 장치의 동작예를 보여주는 타임차트이다 .5 is a time chart showing an operation example of a bouncing prevention switching device according to an embodiment of the present invention.

도 5a는 바운싱 현상이 발생 될 때의 현상으로서, 바운싱 방지회로가 없는 경우에는 도 2c와 같이 많은 디지털 스위치 온/오프 신호를 발생하게 된다. 그러나, 본 발명과 같은 바운싱 방지회로를 구비하게 되면 도 5b 및 5c와 같은 1회의 펄스형 신호만을 출력할 수 있다.5A is a phenomenon when a bouncing phenomenon occurs. When there is no bouncing prevention circuit, many digital switch ON / OFF signals are generated as shown in FIG. 2C. However, if the bouncing prevention circuit according to the present invention is provided, only one pulse type signal as shown in FIGS. 5B and 5C can be output.

본 발명의 스위칭 장치는 도 5c에서 최초의 바운싱 신호에 의해 스위치 S/W가 온 된 것으로 인식되더라도 온 지속 확인부(20)는 이 신호가 바운싱 발생 시간 보다 충분히 큰 시간 동안 유지되는지 여부를 판단하기 위하여 일정시간 Sod 동안 턴 온 신호 출력을 명령하지 않고 지켜본다. 도 5에서와 같이 처음 3회 동안 일정시간 이상 지속된 신호가 없으면 턴 온 신호 출력을 명령하지 않다가 4번째 신호부터 일정시간 이상 유지되는 것이 확인되면 온 지속 확인부(20)는 턴 온 출력부(30)에게 1 펄스의 턴 온 신호 출력을 명령한다.Although the switching device of the present invention recognizes that the switch S / W is turned on by the first bouncing signal in FIG. 5C, the on-duration checking section 20 determines whether or not the signal is maintained for a time sufficiently longer than the bouncing occurrence time In order to monitor the turn-on signal output for a certain time Sod without command. 5, if there is no signal for a predetermined time or more for the first three times, the turn-on signal output is not commanded. If it is confirmed that the signal is maintained for a predetermined time period from the fourth signal, (30) is instructed to output one pulse of a turn-on signal.

이 후 지속적으로 노드 A를 감시하고 있는 스위치 오프 인식부(40)로부터 바운싱 신호 Sr가 발생되면 오프 지속 확인부(40)는 이 신호가 바운싱 발생 시간 보다 충분히 큰 시간 동안 유지되는지 여부를 판단하기 위하여 일정시간 Srd 동안 턴 오프 신호 출력을 명령하지 않고 지켜본다. 도 5에서와 같이 처음 2회 동안 일정시간 이상 지속된 신호가 없으면 턴 오프 신호 출력을 명령하지 않다가 일정시간 이상이 유지되는 것이 확인되면 오프 지속 확인부(50)는 턴 오프 출력부(60)에게 1 펄스의 턴 오프 신호 출력을 명령한다.When the bouncing signal Sr is generated from the switch-off recognition unit 40 continuously monitoring the node A, the off-duration checking unit 40 determines whether the signal is maintained for a time sufficiently longer than the bouncing occurrence time Observe the turn-off signal output for a certain time Srd without commanding. 5, if there is no signal for a predetermined time or more for the first two times, the turn-off signal output is not commanded, and if it is confirmed that the turn- Off signal output of one pulse.

상술한 도 3에서는 스위치 오프 인식부(40)가 노드 A의 전압만을 입력받음으로써 노드 A의 전압이 로우레벨로 전환되는지 여부를 통해 스위치 S/W의 턴 오프 여부를 확인하도록 되어 있어 스위치 S/W가 턴 온 시 발생하는 바운싱에 의해 노드 A의 전압이 로우레벨로 전환되는 경우에도 스위치 턴 오프로 인식할 수 있다. 물론 이러한 경우에도 턴 오프 상태가 제 2 일정시간 이상 지속 되어야만 스위칭 오프 신호가 발생하므로 본 발명의 스위칭 장치가 정상적으로 작동하는데는 문제가 없다.In FIG. 3, the switch-off recognition unit 40 receives only the voltage of the node A so as to check whether the voltage of the node A is switched to the low level or not to turn off the switch S / W. W can be recognized as a switch turn-off even when the voltage of the node A is switched to the low level due to the bouncing that occurs when the W turns on. Of course, even in this case, since the switching off signal is generated only when the turn-off state continues for the second predetermined time or more, there is no problem that the switching device of the present invention operates normally.

그러나, 보다 안정적인 동작을 위해 온 지속 확인부(20)의 출력신호 또는 턴 온 출력부(30)의 출력신호가 스위치 오프 인식부(40)로도 인가되도록 구성함으로써 스위치 오프 인식부(40)가 턴 오프에 의한 바운싱 구간에서만 스위치 S/W의 턴 오프 여부를 인식하도록 할 수 있다.However, for more stable operation, the output signal of the on-duration check unit 20 or the output signal of the turn-on output unit 30 is applied to the switch-off recognition unit 40, It is possible to recognize whether the switch S / W is turned off only in the bouncing interval due to the OFF state.

상술한 바와 같이, 본 발명의 스위칭 장치는 스위치가 턴 온 될 때 출력신호를 단순히 지연시키는 것이 아니라 스위치가 턴 오프되고 스위치 턴 오프에 의한 바운싱의 종료 여부까지 확인하여 출력신호를 발생시킴으로써 보다 안정적인 스위칭 신호를 출력할 수 있도록 해준다.As described above, the switching device of the present invention not only simply delays the output signal when the switch is turned on but also generates the output signal by checking whether the switch is turned off and whether the bouncing by the switch turn- Signal to be output.

또한, 아날로그 부과 회로 없이 디지털 신호만으로 제어함으로서 터치패드 소형 휴대기기, 고정밀기기 등에서와 같이 스너버 회로를 적용할 수 없는 장치에서의 이용에 용이할 수 있다. 아울러 임베디드 프로그램 형태의 모든 중요 제어 시 스템의 입력장치인 키보드에 매우 유용하면서도 안전한 장치로 활용할 수 있다.In addition, by controlling only the digital signal without an analog loading circuit, it can be easily used in a device in which the snubber circuit can not be applied as in a touch pad small portable device, high precision device, and the like. In addition, it can be used as a very useful and safe device for the keyboard which is the input device of all important control system of the embedded program type.

Claims (7)

삭제delete 스위치의 출력 전압 변화를 감지하여 상기 스위치가 턴 온 시 스위치 온 발생 신호를 발생하는 스위치 온 인식부와, 상기 스위치 온 발생 신호가 제 1 일정시간 동안 지속하는지 여부를 확인하여 지속하는 경우 턴 온 신호 출력 명령을 발생시키는 온 지속 확인부와, 상기 턴 온 신호 출력 명령이 발생시 턴 온 신호를 스위칭 신호 출력부로 출력하는 턴 온 출력부를 포함하는 턴 온 처리수단;A switch-on recognition unit for detecting a change in the output voltage of the switch and generating a switch-on signal when the switch is turned on; And a turn-on processing unit for outputting a turn-on signal to the switching signal output unit when the turn-on signal output command is generated. 상기 스위치가 턴 오프 시 상기 스위치의 출력 전압이 제 2 일정시간 동안 기 설정된 제 2 전압레벨을 지속하는 경우 턴 오프 신호를 발생시키는 턴 오프 처리수단; 및Turn-off processing means for generating a turn-off signal when the output voltage of the switch is maintained at a predetermined second voltage level for a second predetermined time when the switch is turned off; And 상기 턴 온 신호가 발생시 스위칭 신호를 온 시키고 상기 턴 오프 신호가 발생시 상기 스위칭 신호를 오프 시키는 상기 스위칭 신호 출력부를 구비하는 바운싱 방지용 스위칭 장치.And a switching signal output unit for turning on the switching signal when the turn-on signal is generated and turning off the switching signal when the turn-off signal is generated. 제 2항에 있어서,3. The method of claim 2, 상기 턴 오프 처리수단은,Wherein the turn- 상기 스위치의 출력 전압 변화를 감지하여 상기 스위치가 턴 오프 시 스위치 오프 발생 신호를 발생하는 스위치 오프 인식부;A switch-off recognition unit for sensing a change in the output voltage of the switch and generating a switch-off occurrence signal when the switch is turned off; 상기 스위치 오프 발생 신호가 상기 제 2 일정시간 동안 지속하는지 여부를 확인하여 지속하는 경우 턴 오프 신호 출력 명령을 발생시키는 오프 지속 확인부; 및An off-duration confirmation unit for generating a turn-off signal output command when it is determined whether the switch-off occurrence signal continues for the second predetermined time and continues; And 상기 턴 오프 신호 출력 명령이 발생시 상기 턴 오프 신호를 상기 스위칭 신호 출력부로 출력하는 턴 오프 출력부를 구비하는 바운싱 방지용 스위칭 장치.And a turn-off output unit for outputting the turn-off signal to the switching signal output unit when the turn-off signal output command is generated. 제 3항에 있어서, 상기 스위치 오프 인식부는4. The apparatus of claim 3, wherein the switch-off recognizing unit 상기 스위칭 신호가 온 된 후 상기 스위치의 출력 전압 변화를 감지하는 것을 특징으로 하는 바운싱 방지용 스위칭 장치.And detects a change in the output voltage of the switch after the switching signal is turned on. 스위치 온 인식부와 온 지속 확인부와 턴 온 출력부로 이루어진 턴 온 처리수단과, 턴 오프 처리수단 및 스위칭 신호 출력부를 구비하는 스위칭 장치에서의 스위칭 방법에 있어서,A switching method in a switching apparatus having a turn-on processing unit including a switch-on recognizing unit, an on-duration checking unit and a turn-on output unit, a turn-off processing unit and a switching signal output unit, 상기 스위치 온 인식부가 스위치의 턴 온 시 스위치 온 발생 신호를 발생하는 단계;Generating a switch-on generation signal when the switch-on recognition unit is turned on; 상기 스위치 온 발생 신호가 제 1 일정시간 동안 지속되는 경우, 상기 온 지속 확인부가 턴 온 신호 출력 명령을 발생시키는 단계;Generating a turn-on signal output command by the on-duration confirmation unit when the switch-on generation signal continues for a first predetermined time; 상기 턴 온 신호 출력 명령이 발생시, 상기 턴 온 출력부가 턴 온 신호를 상기 스위칭 신호 출력부로 출력하는 단계;When the turn-on signal output command is generated, the turn-on output section outputs a turn-on signal to the switching signal output section; 상기 스위칭 신호 출력부가 스위칭 신호를 온 시키는 단계;Turning on the switching signal by the switching signal output unit; 상기 스위치의 턴 오프 시, 상기 스위치의 출력 전압이 제 2 일정시간 동안 기 설정된 제 2 전압레벨을 지속하는 경우, 상기 턴 오프 처리수단이 턴 오프 신호를 발생시키는 단계; 및When the switch is turned off, when the output voltage of the switch continues to a second predetermined voltage level for a second predetermined time, the turn-off processing means generates a turn-off signal; And 상기 스위칭 신호 출력부가 상기 스위칭 신호를 오프시키는 단계를 포함하는 스위칭 장치에서의 스위칭 방법Wherein the switching signal output section turns off the switching signal. 제 5항에 있어서, 상기 제 1 일정시간은6. The method of claim 5, wherein the first predetermined time is 상기 스위치가 턴 온 시의 바운싱 발생구간에서 어느 한 하이레벨의 펄스폭 보다 큰 시간인 것을 특징으로 하는 스위칭 장치에서의 스위칭 방법.Wherein the switch is a time longer than a high-level pulse width in a bouncing occurrence period when the switch is turned on. 제 5항에 있어서, 상기 제 2 일정시간은6. The method of claim 5, wherein the second predetermined time is 상기 스위치가 턴 오프 시의 바운싱 발생구간에서 어느 한 로우레벨의 펄스폭 보다 큰 시간인 것을 특징으로 하는 스위칭 장치에서의 스위칭 방법.Wherein the switch is a time longer than a pulse width of a low level in a bouncing occurrence period at the turn-off time.
KR1020070036864A 2007-04-16 2007-04-16 Switching device and method for preventing bouncing KR101399188B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070036864A KR101399188B1 (en) 2007-04-16 2007-04-16 Switching device and method for preventing bouncing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070036864A KR101399188B1 (en) 2007-04-16 2007-04-16 Switching device and method for preventing bouncing

Publications (2)

Publication Number Publication Date
KR20080093227A KR20080093227A (en) 2008-10-21
KR101399188B1 true KR101399188B1 (en) 2014-05-26

Family

ID=40153835

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070036864A KR101399188B1 (en) 2007-04-16 2007-04-16 Switching device and method for preventing bouncing

Country Status (1)

Country Link
KR (1) KR101399188B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012008629A1 (en) * 2010-07-13 2012-01-19 Ro Soonghwan Debounce switching element incorporating a debounce circuit
CN109309488B (en) * 2018-08-30 2022-05-03 江苏绿城信息技术有限公司 Software and hardware control high-reliability startup and shutdown circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920001435A (en) * 1990-06-05 1992-01-30 오가 노리오 Head base
KR20000001164A (en) * 1998-06-09 2000-01-15 김영환 Circuit for deleting bouncing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920001435A (en) * 1990-06-05 1992-01-30 오가 노리오 Head base
KR20000001164A (en) * 1998-06-09 2000-01-15 김영환 Circuit for deleting bouncing

Also Published As

Publication number Publication date
KR20080093227A (en) 2008-10-21

Similar Documents

Publication Publication Date Title
US20080070617A1 (en) Reset circuit and method of mobile phone
EP3065029B1 (en) Tactile sensation presentation device and method for controlling tactile sensation presentation device
US20090080131A1 (en) Device for protecting electronic circuits against faults
KR101399188B1 (en) Switching device and method for preventing bouncing
US8643982B2 (en) Discrete input signal generation via output short-circuit detection
EP3573243A1 (en) Input device, control method of input device
JP5728220B2 (en) Power supply interruption device
KR100706205B1 (en) Relay driving device for power supply and control method thereof
KR200393815Y1 (en) apparatus for protecting the amplifier from generating the oscillation due to the low bias voltage
CN111552208B (en) State control circuit, method and device
KR200327738Y1 (en) Overcurrent interrupting apparatus
JP2559639Y2 (en) Power supply control device
KR20150145790A (en) Piezo haptic driver and driving method for the same
CN107493091B (en) Power supply method and device
JP2013084099A (en) Low-voltage malfunction prevention circuit and method, and electronic equipment with low-voltage malfunction prevention circuit
JPH07244537A (en) Information processor provided with clock monitoring function
KR980006701A (en) Initialization unit of microcontroller using power supply voltage control
SU842892A1 (en) Device for multipoint indication
JP2007329979A (en) Power supply board protection circuit
KR20070051025A (en) Apparatus for eliminating pop noise on power supply and method thereof
KR20020068911A (en) A controlling method of watchdog
KR19980022540A (en) Power amplifier of transmitter
JPH04251314A (en) System for controlling power supply switching circuit of terminal equipment
KR970057208A (en) How to switch the key signal when a certain key is pressed continuously
JPH09215227A (en) Sensing circuit of remote control signal

Legal Events

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

Payment date: 20170504

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180503

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190502

Year of fee payment: 6