KR950014301B1 - Error data prevention circuit and method - Google Patents

Error data prevention circuit and method Download PDF

Info

Publication number
KR950014301B1
KR950014301B1 KR1019930010537A KR930010537A KR950014301B1 KR 950014301 B1 KR950014301 B1 KR 950014301B1 KR 1019930010537 A KR1019930010537 A KR 1019930010537A KR 930010537 A KR930010537 A KR 930010537A KR 950014301 B1 KR950014301 B1 KR 950014301B1
Authority
KR
South Korea
Prior art keywords
earphone
resistor
signal
earphone plug
error data
Prior art date
Application number
KR1019930010537A
Other languages
Korean (ko)
Other versions
KR950002523A (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 KR1019930010537A priority Critical patent/KR950014301B1/en
Publication of KR950002523A publication Critical patent/KR950002523A/en
Application granted granted Critical
Publication of KR950014301B1 publication Critical patent/KR950014301B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R24/00Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure
    • H01R24/58Contacts spaced along longitudinal axis of engagement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/09Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones

Abstract

an earphone plug for providing an output audio signal of a main body to an earphone, and sending a key signal to be inputted by a user to the main body; an insertion/elimination sensing unit for sensing the insertion/elimination of the earphone plug into/from an earphone jack; and a microcomputer for regulating the system to be a stop mode when an output signal from the insertion/elimination sensing unit is different from a previous signal.

Description

이어폰 플러그의 삽탈에 의한 에러데이타 발생 방지회로 및 방법Error data prevention circuit and method by removing earphone plug

제1도는 일반적인 이어폰플러그의 개략도.1 is a schematic diagram of a typical earphone plug.

제2도는 본 발명의 이어폰 플러그의 삽탈에 의한 에러데이타 발생 방지 회로도.2 is a circuit diagram of error data prevention by inserting and removing the earphone plug of the present invention.

제3도는 본 발명의 신호 흐름도.3 is a signal flow diagram of the present invention.

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

l : 이어폰 플러그 2 : 삽탈감지부l: Earphone plug 2: Insertion detection unit

3 : 마이크로컴퓨터 4 : 이어폰잭3: microcomputer 4: earphone jack

R1-R4 : 저항 Q1 : 트랜지스터R1-R4: Resistor Q1: Transistor

Dl, D2 : 다이오드Dl, D2: Diode

본 발명은 이어폰(earphone)에 데이타 전송라인을 부가하여 원격조정하는 회로에서 이어폰플러그의 삽,탈거시 에러 데이타가 발생되는 것을 방지하는 기술에 관한 것으로, 특히 오디오기기의 이어폰플러그를 본체에 삽입하거나 빼낼때 데이타라인의 오접속으로 인하여 에러데이타가 발생되어 시스템이 오동작하는 것을방지하는데 적당하도록한 이어폰 플러그의 삽탈에 의한 에러데이타 발생 방지회로 및 방법에 관한 것이다.The present invention relates to a technology for preventing error data from occurring when inserting or detaching an earphone plug in a circuit for remotely controlling a data transmission line by adding a data transmission line to the earphone, and in particular, inserting an earphone plug of an audio device into a main body or The present invention relates to a circuit and a method for preventing error data by inserting and removing an earphone plug suitable for preventing a system from malfunctioning due to a misconnection of a data line.

제1도는 오디오기기에 적용되는 원격조정용 데이타 라인이 부가된 이어폰플러그의 개략도로서 이에 도시한 바와 같이, 종단으로 부터 레프트채널 단자(L-CH), 라이트채널 단자(R-CH), 접지단자(GND), 데이타단자(DATA)가 순차적으로 형성되고, 각각의 단자와 단자 사이에 절연체가 도포되어 구성된 것으로, 이의 작용을 설명하면 다음과 같다.FIG. 1 is a schematic diagram of an earphone plug with a remote control data line applied to an audio device. As shown in FIG. 1, the left channel terminal (L-CH), the right channel terminal (R-CH), and the ground terminal ( GND) and the data terminal DATA are sequentially formed, and an insulator is applied between each terminal and the terminal. The operation thereof is as follows.

정지모드에서 이어폰플러그(1)를 본체의 일측에 마련된 이어폰홀에 삽입할때 데이타라인과 접지단자(GND)가 접촉되는 경우, 그 데이타라인에 마치 로우데이타가 입력된 것과 같이되고, 이로인하여 사용자가 별도의 키이조작을 하지 않았음에도 불구하고, 시스템이 오동작된다.If the data line and the ground terminal (GND) contact when the earphone plug 1 is inserted into the earphone hole provided at one side of the main body in the stop mode, it is as if the low data is inputted to the data line. The system malfunctions despite the lack of a separate key operation.

그리고, 정지모드에서 상기 이어폰플러그(1)를 이어폰홀에서 빼낼때 상기와 같이 데이타리인과 접지단자(GND)가 접촉되는 경우, 탈거후, 상기와 같이 그 데이타리인에 마치 로우데이타가 입력된 것과 같이되어정지모드를 유지하지 않고 임의의 동작을 하게된다.When the earphone plug 1 is pulled out of the earphone hole in the stop mode and the data line and the ground terminal GND are contacted as above, after removal, the low data is input to the data line as described above. They work together to perform an arbitrary operation without maintaining the stop mode.

이와 같이 종래의 오디오기기에 있어서는 이어폰플러그에 원격조정용 데이타 라인을 부가하여 본체의 구동을 제어함에 있어서, 이어폰 플러그의 접지단자와 데이타라인이 접속되는 것에 의하여 원치않는 에러데이타가 발생되고, 이 에러데이타에 의하여 시스템이 오동작하는 결함이 있었다.As described above, in the conventional audio device, when the remote control data line is added to the earphone plug to control the driving of the main body, unwanted error data is generated when the ground terminal of the earphone plug and the data line are connected. There was a fault that caused the system to malfunction.

본 발명은 이와 같은 종래의 결함을 해결하기 위하여 이어폰 플럭의 삽, 탈거시, 접지단자의 오접속에 의한 에러 데이타 발생을 방지할 수 있게 창안한 것으로, 이를 첨부한 도면에 의하여 상제히 설명한다.The present invention was devised to prevent the occurrence of error data due to incorrect connection of the ground terminal when inserting and removing the earphone plug to solve such a conventional defect, which will be described in detail with reference to the accompanying drawings.

제2도는 본 발명의 이어폰 플러그의 삽탈에 의한 에러데이타 발생방지 회로도로서 이에 도시한 바와 같이, 본체의 출력 오디오신호를 전달받아 이어폰에 공급하고, 사용자가 입력하는 키이신호를 본체에 전달하는 이어폰플러그(1)와, 저항(R1-R4), 다이오드(Dl,),(D2) 및 토랜지스터(Ql)로 구성되어 상기 이어폰플러그(1)가 이어폰홀에 삽입/탈거되는 것을 감지하는 삽탈감지부(2)와, 상기 삽탈감지부(2)로 부터 감지신호가 입력되면 이전의 감지신호와 비교하여 다른 경우, 그 변화된 감지신호를 저장함고, 아울러, 시스템이 정지모드에 머물러있게 제어하는 마이크로 컴퓨터(3)로 구성한 것으로, 이와 같이 구성한 본 발명의 작용 및 효과를 첨부한 제3도를 참조하여 상세히 설명하면 다음과 같다.2 is a circuit diagram for preventing error data from being inserted into and out of the earphone plug according to the present invention. As shown therein, an earphone plug for receiving an output audio signal from a main body and supplying the same to a main body and receiving a key signal input by the user to the main body is shown in FIG. (1) and a resistor (R1-R4), diodes (Dl,), (D2) and a toristor (Ql) is composed of a sense of insertion and removal to detect that the earphone plug (1) is inserted / removed in the earphone hole When the detection signal is input from the branch part 2 and the insertion / detachment detection part 2, the microcomputer may store the changed detection signal when compared with the previous detection signal, and control the system to remain in the stop mode. It will be described in detail with reference to FIG. 3 attached to the operation and effects of the present invention configured as described above, which is configured as a computer (3).

먼저, 이어폰플러그(1)가 이어폰잭(4)에 삽입되지 않는 상태에서는 저항(R4)의 일측이 플로팅상태에 있기때문에 저항(Rl)을 통해 흐르는 전류가 다이오드(Dl)→저항(R3)을 통해 트랜지스터(Ql)의 베이스측으로만 공급되어 그 트랜지스터(Ql)가 온되고, 이에따라 마이크로 컴퓨더(3)의 포트(P)가 "로우"상태로 되는데, 이때, 마이크로컴퓨터(P)는 "로우"를 읽어 내부의 메모리에 저장한다(S1,S2).First, when the earphone plug 1 is not inserted into the earphone jack 4, since one side of the resistor R4 is in a floating state, the current flowing through the resistor Rl causes the diode Dl-> Is supplied only to the base side of the transistor Ql so that the transistor Ql is turned on, so that the port P of the microcomputer 3 is in a "low" state, where the microcomputer P is "low". "Is stored in the internal memory (S1, S2).

이후, 사용자가 이어폰작(4)에서 상기 이어폰플러그(1)를 삽입하는 과정에서, 그 이어폰플러그(1)의 레프트체널단자(L-CH)가 이어폰잭(4)에 형성된 해당 홀단자와 접촉됨과 아울러, 접지단자(GND)가 그 이어폰잭(4)에 형성된 해당 홀단자와 접촉되는 순간, 상기 저항(Rl)을 통해 공급되는 전류가 다이오드(D2) 및저항(R4)을 통해 접지측으로 흐르고, 다른 한편으로는 다이오드(Dl) 및 저항(R3)을 통해 상기 토랜지스터(Ql)의 베이스로 흐르게 되는데, 상기 저항(R3)의 저항값에 비해 저항(R4)의 저항값이 월등히 크므로 상기 트랜지스터(Ql)의 베이스에 극히 미약한 전류가 흐르고, 이로인하여 그 트랜지스터(Ql)가 오프된다.Then, in the process of the user inserting the earphone plug 1 in the earphone work (4), the left channel terminal (L-CH) of the earphone plug 1 is in contact with the corresponding hole terminal formed in the earphone jack (4) In addition, the moment the ground terminal (GND) is in contact with the corresponding hole terminal formed in the earphone jack (4), the current supplied through the resistor (Rl) flows to the ground side through the diode (D2) and the resistor (R4) On the other hand, it flows through the diode Dl and the resistor R3 to the base of the toristor Ql, and the resistance value of the resistor R4 is significantly larger than the resistance value of the resistor R3. An extremely weak current flows through the base of the transistor Ql, which causes the transistor Ql to be turned off.

이때, 전원단자(Vcc)로부더 공급되는 전류가 저항(R2)을 통해 상기 마이크로 컴퓨터(3)의 포트(P)에 공급되어 그 포트(P)가 "하이"상태로 되고, 그 마이크로 컴퓨터(3)는 그 "하이"를 읽어(S3) 상기 메모리에 저장된 값과 비교하게 되는데(S4), 상기의 과정에 의해 기 저장된 값이 "로우"이므로 그 비교결과가 다른것으로 인지되어, 즉, 상태변화로 인지하여 시스템을 초기 정지상태로하고, 상기 입력포트(P)의 "하이"를메모리에 저장하게 된다(S5,S6).At this time, a current supplied from the power supply terminal Vcc is supplied to the port P of the microcomputer 3 through the resistor R2 so that the port P is in a "high" state, and the microcomputer ( 3) read the " high " (S3) and compare it with the value stored in the memory (S4). The previously stored value is " low " Recognizing the change, the system is initially stopped, and the "high" of the input port P is stored in the memory (S5, S6).

한편, 사용자가 이어폰잭(4)에서 이어폰플러그(1)를 께내는 과정에서 상기 레프트체널단자(L-CH)가 이어폰잭(4)의 해당 홀단자로 부터 탈거되어 상기에서와 같이 저항(R4)의 열측이 플로팅상태로 되고, 이에따라 저항(Rl)을 통해 흐르는 전류가다이오드(Dl)→저항(R3)을 통해 트랜지스터(Ql)의 베이스측으로만 공급되어 그 트랜지스터(Ql)가 온되고, 이에따라 마이크로 컴퓨터(3)의 포트(P)가 "로우"상태로 되는데, 마이크로 컴퓨터(3)가 그 "로우"를 일겅 상기 메모리에 저장된 "하이" 비교하게 되므로 그 비교결과가 다른것으로 인지되어, 즉, 상태변화로 인지하여 시스템을 초기 정지상태로하고, 상기 임력포트(P)의 "로우"를 메모리에 저장하고, 이후에도 상기의 과정을 통해 이어폰플러그(1)가 삽,탈되는 것을 감지하여 시스템을 초기 정지상태에 있게 한다.On the other hand, while the user sends the earphone plug 1 from the earphone jack 4, the left channel terminal (L-CH) is removed from the corresponding hole terminal of the earphone jack 4 and the resistance (R4) as described above. ), The column side is in a floating state, and accordingly, a current flowing through the resistor Rl is supplied only to the base side of the transistor Ql through the diode Dl-> resistor R3, and the transistor Ql is turned on. The port P of the microcomputer 3 is in a "low" state, and the result of the comparison is recognized as different because the microcomputer 3 compares the "low" with the "high" stored in the memory. Recognizing the state change, the system to the initial stop state, the "low" of the force port (P) is stored in the memory, and even after the above process by detecting that the earphone plug (1) is inserted, detached system To the initial stop state.

이상에서 상세히 설명한 바와 같이 본 발명은 오디오 본체에 설치된 이어폰 잭에서 이어폰 플러그가 삽,탈되는 것을 감지하여 그때 시스템을 강제로 초기 정지상태에 머물게 함으로써 데이타라인의 오접속으로 인하여 오동작되는 것을 방지할 수 있는 효과가 있다.As described in detail above, the present invention detects that the earphone plug is inserted and removed from the earphone jack installed in the audio main body, thereby forcing the system to remain at an initial stop state, thereby preventing malfunctions due to incorrect connection of the data line. It has an effect.

Claims (3)

이어폰 잭(4)을 통해 본체의 출력 오디오신호를 전달반아 이어폰에 공급하고, 사용자가 입력하는 키이신호를 본체에 전달하는 이어폰플러그(1)와, 상기 이어폰플로그(1)가 이어폰 잭(4)에 삽입/탈거되는 것을감지하는 삽탈감지부(2)와, 상기 삽탈감지부(2)로 부터 출력된 신호가 이전의 신호와 다를때 시스템이 정지모드에 머물러 있게 제어하는 마이크로 컴퓨터(3)로 구성한 것을 특징으로 하는 이어폰 플럭의 삽탈에 의한 에러데이타 발생 방지회로.The earphone plug 4 for supplying the output audio signal of the main body to the earphone through the earphone jack 4 and transmitting the key signal input by the user to the main body, and the earphone plug 1 are the earphone jack 4. Insertion / detachment detection unit (2) for detecting insertion / removal to the microcontroller (3) and the microcomputer (3) for controlling the system to stay in the stop mode when the signal output from the insertion-detection unit (2) is different from the previous signal. Error data generation prevention circuit by inserting and removing the earphone plug, characterized in that the configuration. 제1항에 있어서, 삽탈감지부(2)는 전원단자(Vcc)를 저항(R1), 다이오드(Dl), 저항(R3)을 순차적으로 통해 에미터 접지된 트랜지스터(Ql)의 베이스에 접속한후, 상기 저항(Rl) 및 다이오드(Dl)의 접속점을다이오드(D2) 및 저항(R4)을 통해 이어폰 잭(4)에 접속하고, 상기 전원단자(Vcc)를 저항(R2)을 통해 상기 트랜지스터(Ql)의 콜렉터 및 마이크로 컴퓨터(3)의 포트(P)에 공통접속하여 구성한 것을 특징으로 하는이어폰 플러그의 삽탈에 의한 에러데이타 발생 방지회로.The method of claim 1, wherein the insertion-detecting unit 2 connects the power supply terminal Vcc to the base of the emitter grounded transistor Ql through the resistor R1, diode Dl, and resistor R3 sequentially. Then, the connection point of the resistor Rl and the diode Dl is connected to the earphone jack 4 through the diode D2 and the resistor R4, and the power supply terminal Vcc is connected to the transistor through the resistor R2. A circuit for preventing error data from being removed by inserting and detaching an earphone plug, comprising a common connection to the collector of Ql and the port P of the microcomputer 3. 이어폰의 포트상태를 읽어 저장하는 제1과정과(S1,S2), 현재 이어폰의 상태신호를 읽어 상기 제1과정에서 저장된 신호와 비교하는 제2과정(S3,S4)과, 상기 제2과정에서 비교 결과 현재의 상태신호와 이전의 상태신호가 다른 경우 현재의 상태신호를 저장함과 아울러 시스템을 초기 정지상태로 전환시키는 제3과정(S5,S6)으로 이루어지는 것을 특징으로 하는 이어폰 플러그의 삽탈에 의한 에러데이타 발생 방지방법.In the first process (S1, S2) of reading and storing the port state of the earphone and the second process (S3, S4) of reading the state signal of the current earphone and compared with the signal stored in the first process, and in the second process As a result of the comparison, when the current state signal and the previous state signal are different, the third stage (S5, S6) of storing the current state signal and switching the system to an initial stop state is performed by removing the earphone plug. How to prevent error data.
KR1019930010537A 1993-06-10 1993-06-10 Error data prevention circuit and method KR950014301B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930010537A KR950014301B1 (en) 1993-06-10 1993-06-10 Error data prevention circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930010537A KR950014301B1 (en) 1993-06-10 1993-06-10 Error data prevention circuit and method

Publications (2)

Publication Number Publication Date
KR950002523A KR950002523A (en) 1995-01-04
KR950014301B1 true KR950014301B1 (en) 1995-11-24

Family

ID=19357183

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930010537A KR950014301B1 (en) 1993-06-10 1993-06-10 Error data prevention circuit and method

Country Status (1)

Country Link
KR (1) KR950014301B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4203495B2 (en) * 2005-06-16 2009-01-07 株式会社カシオ日立モバイルコミュニケーションズ Portable terminal device and program

Also Published As

Publication number Publication date
KR950002523A (en) 1995-01-04

Similar Documents

Publication Publication Date Title
KR100190479B1 (en) Device for monitoring the function of an electric switch
EP0440204B1 (en) Semiconductor integrated circuit device having main power terminal and backup power terminal independently of each other
CA2281365C (en) Wiring harness diagnostic system
WO2002011115A1 (en) Drive circuit of display and display
EP0337396A3 (en) Two-wire detection system having self-diagnosis means
KR950014301B1 (en) Error data prevention circuit and method
JPH04114221A (en) Abnormality detecting method for key switch input part in computer
US5363122A (en) System for controlling a display provided on a car stereo
KR20180112699A (en) Device and method for providing an activation voltage for a safety unit for a vehicle, and safety device
US5502691A (en) Operation prohibition device for a car loading audio instrument
JPH10118273A (en) Trouble monitoring system for image display apparatus in pachinko machine
JPH0610916B2 (en) Magnetic recording / reproducing device
JPS6319097A (en) Line abnormality monitor
CN117539703B (en) Memory bank anti-reverse-insertion device and method
JPH0142054Y2 (en)
KR920001055Y1 (en) Remocon fixed melody apparatus
CN117169786A (en) Open circuit detection circuit and method for analog input/output AIO interface
JP3742548B2 (en) Headlamp load line short detection device
KR960009899Y1 (en) Relay test circuit
KR0134740B1 (en) Home automation system sensor interface circuit
KR200168808Y1 (en) Motor bad condition detecting circuit of automatic ice-making device
JP3117600B2 (en) Bus connection system
KR100311805B1 (en) Output unit with three output states
CN117539703A (en) Memory bank anti-reverse-insertion device and method
JP2002067792A (en) LOAD LINE SHORT CIRCUIT DETECTING DEVICE IN HEADLAMP Hi CONTROL

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20031104

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee