CN101937039B - Connecting detection method - Google Patents

Connecting detection method Download PDF

Info

Publication number
CN101937039B
CN101937039B CN201010186735.XA CN201010186735A CN101937039B CN 101937039 B CN101937039 B CN 101937039B CN 201010186735 A CN201010186735 A CN 201010186735A CN 101937039 B CN101937039 B CN 101937039B
Authority
CN
China
Prior art keywords
subset
electrically connected
main equipment
signal wire
signal line
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201010186735.XA
Other languages
Chinese (zh)
Other versions
CN101937039A (en
Inventor
李东声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron Technology Co Ltd
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 Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN201010186735.XA priority Critical patent/CN101937039B/en
Publication of CN101937039A publication Critical patent/CN101937039A/en
Application granted granted Critical
Publication of CN101937039B publication Critical patent/CN101937039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The invention provides a connecting detection method, comprising the following steps of: arranging a signal line in a main apparatus, arranging a pull-down resistor in a sub-apparatus, and connecting the pull-down resistor with the signal line when the sub-apparatus is electrically connected to the main apparatus; and outputting a high level to the signal line by the main apparatus and detecting the current of the signal line, determining the electrical connection of the signal line and the sub-apparatus if the current is detected, and determining the electrical disconnection of the signal line and the sub-apparatus if the current is not detected. By adopting the method, physical resources can be saved and stronger practicability is obtained.

Description

A kind of connection detection method
Technical field
The present invention relates to application of electronic technology field, particularly the connection detection method of a kind of main equipment and subset.
Background technology
At present, when two electronic equipments are electrically connected, main equipment one side detects (namely detecting subset whether to be electrically connected with main equipment) mode for the connection of subset one side and is generally:
1) junction on the master arranges mechanical contact, when subset and main equipment are electrically connected, can cause the closed of mechanical contact, and whether main equipment closes determines whether subset is electrically connected with self by detecting mechanical contact;
2) main equipment is electrically connected with subset by many signal wires, after subset and main equipment are electrically connected, can cause on signal wire and occur voltage difference, by detecting this voltage difference, main equipment can determine whether subset is electrically connected with it.
Wherein, 1st) kind mode is mainly used in integrated circuit (IC, Integrate Circuit) connection between card reader and IC-card detects, 2nd) connection that kind mode is mainly used in being undertaken between the main equipment that is electrically connected and subset by USB (universal serial bus) (USB, Universal Serial BUS) interface detects.
But above-mentioned two kinds of modes all also exist certain problem in actual applications, as: for the 1st) plant mode, need to arrange special mechanical contact, implement very inconvenient, practicality is not strong; For the 2nd) plant mode, need to arrange many signal wires, cause the use amount of physical resource to increase.
Summary of the invention
In view of this, fundamental purpose of the present invention is that providing a kind of connects detection method, can save physical resource, and have stronger practicality.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of connection detection method, comprising:
Arrange a signal wire in the host, arrange a pull down resistor in subset, when described subset is connected to described main equipment, described pull down resistor will be connected with described signal wire;
Described main equipment exports high level to described signal wire, and carries out current detecting to described signal wire, if electric current detected, then determines to be electrically connected with described subset, if electric current do not detected, then determines not to be electrically connected with described subset.
Preferably, when determining to be electrically connected with described subset, the method comprises further:
Described main equipment to described signal wire output digit signals, sends to described subset by voltage system; Described subset receives described digital signal by voltage detecting mode.
Visible, adopt technical scheme of the present invention, a signal wire is set in the host, whether main equipment exists electric current determine whether subset is electrically connected with self by detecting in this signal wire, and compared to prior art, scheme of the present invention is without the need to arranging mechanical contact, also without the need to arranging many signal wires, therefore can save physical resource preferably, and implement simple and convenient, there is stronger practicality.In addition, in scheme of the present invention, described signal wire also can be utilized to complete main equipment the digital signal of subset is exported, save physical resource further.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that the present invention connects detection method embodiment.
Fig. 2 is schematic equivalent circuit corresponding to the method for the invention.
Fig. 3 is a physical circuit schematic diagram corresponding to the method for the invention.
Embodiment
For problems of the prior art, propose a kind of connection detection method completely newly in the present invention, can physical resource be saved, and there is stronger practicality.
For make technical scheme of the present invention clearly, understand, to develop simultaneously embodiment referring to accompanying drawing, scheme of the present invention be described in further detail.
Fig. 1 is the process flow diagram that the present invention connects detection method embodiment.Arrange a signal wire in advance in the host, arrange a pull down resistor in subset, when subset is electrically connected to main equipment, pull down resistor will be connected with signal wire.As shown in Figure 1, comprise the following steps:
Step 11: main equipment exports high level to signal wire, and current detecting is carried out to signal wire, if electric current detected, then determine to be electrically connected with subset, if electric current do not detected, then determine not to be electrically connected with subset.
In actual applications, main equipment can utilize the signal output apparatus of self to come to export high level to signal wire, and utilizes the current detection circuit of self to carry out current detecting to signal wire.After subset is electrically connected to main equipment, pull down resistor wherein can and main equipment in current detection circuit and signal output apparatus formation current return, like this, can determine whether subset is electrically connected to main equipment by whether there is electric current in signal lines.
Step 12: when determining main equipment and subset is electrically connected, main equipment to signal wire output digit signals, sends to subset by voltage system, and subset receives described digital signal by voltage detecting mode.
Existing mode 1) in, completing utilizing mechanical contact while connecting detection, also needing, special signal wire is set and comes for main equipment to subset output digit signals; Existing mode 2) in, complete utilizing many signal wires while connecting detection, main equipment also can utilize these many signal wires to subset output digit signals.
In the present embodiment, when determining main equipment and subset is electrically connected, main equipment also can further by voltage system to signal wire output digit signals, send to subset, correspondingly, subset utilizes self voltage detecting circuit, described digital signal (namely 1 or 0 is received by voltage detecting mode, represent high level and low level respectively), how to receive described digital signal by voltage detecting mode is prior art, repeats no more.That is, in the present embodiment, utilize a signal wire complete simultaneously connect detect and digital signal export two kinds of functions.
Fig. 2 is schematic equivalent circuit corresponding to the method for the invention.As shown in Figure 2, resistance R wherein plays metering function, and current detection circuit can be prevented to be burned; Signal output apparatus exports high level to signal wire, after subset is electrically connected to main equipment, pull down resistor R ', signal output apparatus and current detection circuit etc. are by formation current return, current detection circuit will detect the existence of electric current, like this, can determine that subset and main equipment are electrically connected; Afterwards, signal output apparatus is by voltage system to signal wire output digit signals, and correspondingly, the voltage detecting circuit in subset completes the reception to digital signal.
Fig. 3 is a physical circuit schematic diagram corresponding to the method for the invention.As shown in Figure 3, suppose that main equipment and subset are electrically connected by USB interface, how to be undertaken electrically connecting as prior art by USB interface, repeat no more.
For main equipment side, resistance R1 is mainly comprised in current detection circuit wherein, resistance R4, triode Q1 and not gate U3A etc., after main equipment and subset are electrically connected, resistance R1 will produce pressure drop, thus cause triode Q1 conducting, and then the one end making resistance R4 be connected with triode Q1 produces high level, correspondingly, not gate U3A is by output low level, otherwise, if main equipment and subset are electrically connected, one end that then resistance R4 is connected with triode Q1 will be low level, correspondingly, not gate U3A will export high level, by detecting the output of not gate U3A, can determine whether subset is electrically connected to main equipment, mainly comprise in signal output apparatus: triode Q2, resistance R5 and resistance R6 etc., for carrying out the process such as power amplification to the digital signal exported.For subset side, resistance R16 is wherein pull down resistor, and electric capacity C4 mainly plays the effect of filtering clutter, and resistance R18 mainly plays a protective role with the resistance R17 etc. being arranged in voltage detecting circuit.Other and scheme of the present invention are introduced no longer one by one without the part of direct relation.
In a word, adopt technical scheme of the present invention, can physical resource be saved, and there is stronger practicality.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (2)

1. connect a detection method, it is characterized in that, the method comprises:
Arrange a signal wire in the host, arrange a pull down resistor in subset, when described subset is electrically connected to described main equipment, described pull down resistor will be connected with described signal wire;
Described main equipment exports high level to described signal wire, and carries out current detecting to described signal wire, if electric current detected, then determines to be electrically connected with described subset, if electric current do not detected, then determines not to be electrically connected with described subset.
2. method according to claim 1, is characterized in that, when determining to be electrically connected with described subset, the method comprises further:
Described main equipment to described signal wire output digit signals, sends to described subset by voltage system; Described subset receives described digital signal by voltage detecting mode.
CN201010186735.XA 2010-05-21 2010-05-21 Connecting detection method Active CN101937039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010186735.XA CN101937039B (en) 2010-05-21 2010-05-21 Connecting detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010186735.XA CN101937039B (en) 2010-05-21 2010-05-21 Connecting detection method

Publications (2)

Publication Number Publication Date
CN101937039A CN101937039A (en) 2011-01-05
CN101937039B true CN101937039B (en) 2015-01-28

Family

ID=43390475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010186735.XA Active CN101937039B (en) 2010-05-21 2010-05-21 Connecting detection method

Country Status (1)

Country Link
CN (1) CN101937039B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063400B (en) * 2011-01-06 2013-03-13 天地融科技股份有限公司 Switching device for general serial bus equipment
CN102721852B (en) * 2012-06-21 2014-08-20 天地融科技股份有限公司 Method and device for measuring working current of electronic device
CN102883255B (en) * 2012-09-13 2014-12-03 天地融科技股份有限公司 Switching device, electronic signing tool, detection device and interface detection system
CN108148447B (en) * 2017-12-25 2019-03-19 泰兴锦云染料有限公司 The compound de- ester reactive black dye of one kind, preparation method and application
CN111025195B (en) * 2019-12-19 2021-10-19 山东爱德邦智能科技有限公司 Detection circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581201A (en) * 1994-06-30 1996-12-03 Tandem Computers Incorporated Apparatus for unit control and presence detection
JP2003087147A (en) * 2001-09-17 2003-03-20 Matsushita Electric Ind Co Ltd On-vehicle device for automatic tollage transaction
CN1417681A (en) * 2001-11-07 2003-05-14 旺玖科技股份有限公司 Universal serial bus (USB) connection detecting circuit system and its operation method
JP2006178079A (en) * 2004-12-21 2006-07-06 Kyocera Mita Corp Device for detecting connection of external equipment, and image forming apparatus including the same
JP2009302736A (en) * 2008-06-11 2009-12-24 Mitsubishi Electric Corp Antenna connection detection circuit
US7928738B2 (en) * 2008-12-30 2011-04-19 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Detecting system for detecting connection of connectors and connector assemblies having same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW512232B (en) * 2001-05-08 2002-12-01 Prolific Technology Inc USB connection-detection circuitry and operation methods of the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581201A (en) * 1994-06-30 1996-12-03 Tandem Computers Incorporated Apparatus for unit control and presence detection
JP2003087147A (en) * 2001-09-17 2003-03-20 Matsushita Electric Ind Co Ltd On-vehicle device for automatic tollage transaction
CN1417681A (en) * 2001-11-07 2003-05-14 旺玖科技股份有限公司 Universal serial bus (USB) connection detecting circuit system and its operation method
JP2006178079A (en) * 2004-12-21 2006-07-06 Kyocera Mita Corp Device for detecting connection of external equipment, and image forming apparatus including the same
JP2009302736A (en) * 2008-06-11 2009-12-24 Mitsubishi Electric Corp Antenna connection detection circuit
US7928738B2 (en) * 2008-12-30 2011-04-19 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Detecting system for detecting connection of connectors and connector assemblies having same

Also Published As

Publication number Publication date
CN101937039A (en) 2011-01-05

Similar Documents

Publication Publication Date Title
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN101937039B (en) Connecting detection method
CN103473193B (en) Portable electric device and peripheral expanding device
CN103530250B (en) Portable electron device and its accessories apparatus and portable electron device How It Works
CN102820970B (en) Electronic installation and the authentication method of battery module thereof
CN106208260A (en) A kind of charging circuit, data wire and charging inlet
CN201307924Y (en) Earphone detecting circuit and terminal device using earphone detecting device
CN103546138B (en) Touch key-press control circuit
CN204695303U (en) The node being applied to damage detection system connects chip and meshed network thereof
CN102445624A (en) Plug detection device
CN214314671U (en) Charging equipment and charging system
CN105718011B (en) interface power supply system
CN105161925A (en) Method and device for identifying front and back of magnetic connector
CN201656199U (en) Serial line with USB current-taking function
CN108254009A (en) A kind of detection circuit and judgment method for being adapted to different sensors
CN204464655U (en) A kind of data wire, recognition device and charger
CN106326153A (en) Interface detection circuit
CN103051989B (en) Audio electronics device and audio jack identification and method of operating
CN219678491U (en) Networking device of 18B20 temperature probe
CN201047857Y (en) Universal meter capable of automatically identifying different type extended modules
CN105988962B (en) Overcurrent detecting system and circuit for detecting
CN103593933A (en) A device for detecting whether an electronic product is in position
CN205049686U (en) A fault finding device for cutting off power supply tripping operation circuit
CN105739641B (en) Host computer
CN103700444B (en) A kind of MHL cable, MHL cable hot plug detection system and detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100083, room 1810, block B, golden building, No. 17, Qinghua East Road, Beijing, Haidian District

Applicant after: Tendyron Technology Co., Ltd.

Address before: 100083, B, block 17, golden building, No. 1810 Qinghua East Road, Beijing, Haidian District

Applicant before: Beijing Tendyron Technology Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant