WO2018130129A1 - Common ground detection circuit and detection method thereof - Google Patents
Common ground detection circuit and detection method thereof Download PDFInfo
- Publication number
- WO2018130129A1 WO2018130129A1 PCT/CN2018/071788 CN2018071788W WO2018130129A1 WO 2018130129 A1 WO2018130129 A1 WO 2018130129A1 CN 2018071788 W CN2018071788 W CN 2018071788W WO 2018130129 A1 WO2018130129 A1 WO 2018130129A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- circuit
- signal
- voltage value
- interface
- ground
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/67—Testing the correctness of wire connections in electric apparatus or circuits
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
Definitions
- the voltage detecting circuit detects a voltage value of the ground signal output end, and includes:
- the interface connection circuit belongs to the input interface connection circuit and includes a feed signal processing circuit, when the control processing unit detects the feed signal based on the feed signal processing circuit in the input interface connection circuit, Opening the switching circuit; or,
- the user when it is detected that the local device and the peer device are not in common, the user may be prompted by an indicator light or a graphical interface. In this case, the user may use other devices to detect the reason for the non-common ground. And take the corresponding strategy for the detected reason. For example, in a possible implementation, it is possible that the local device is different from the peer device due to the loose connection of the cable interface, in which case the user can reinsert the cable interface.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
Description
本申请要求于2017年1月10日提交中国专利局、申请号为201710016821.8、发明名称为“共地检测电路及其检测方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application, filed on Jan. 10, 2017, the application Serial No. in.
本发明实施例涉及电子技术领域,特别涉及一种共地检测电路及其检测方法。Embodiments of the present invention relate to the field of electronic technologies, and in particular, to a common ground detection circuit and a detection method thereof.
目前,各个设备之间可以通过各种线缆接口实现连接,其中,各种线缆接口包括但不限于数字视频接口(Digital Visual Interface,DVI)、高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)、视频图形阵列(Video Graphics Array,VGA)接口和复合视频广播信号(Composite Video Broadcast Signal,CVBS)接口等。在实际应用场景中,当两个设备之间通过线缆接口实现连接时,如果两个设备未共地,则容易产生视频水波纹、音频电流声等问题。因此,在两个设备通过线缆接口实现连接的过程中,需要检测两个设备是否共地。Currently, various devices can be connected through various cable interfaces, including but not limited to Digital Visual Interface (DVI), High Definition Multimedia Interface (HDMI). ), Video Graphics Array (VGA) interface and Composite Video Broadcast Signal (CVBS) interface. In a practical application scenario, when two devices are connected through a cable interface, if the two devices are not connected to each other, video water ripple, audio current sound, and the like are easily generated. Therefore, in the process of connecting two devices through a cable interface, it is necessary to detect whether the two devices are in common.
目前,通常需要用户手动检测两个设备是否共地,即,用户通过诸如欧姆表等之类的检测器测试两个设备的地线之间的阻抗,并根据所测试的阻抗的大小来判断两个设备是否共地。如果所测试的阻抗较小,则可以确定该两个设备共地,反之,如果所测试的阻抗较大,则可以确定该两个设备未共地。At present, the user usually needs to manually detect whether two devices are common ground, that is, the user tests the impedance between the ground lines of the two devices through a detector such as an ohmmeter, and judges two according to the magnitude of the impedance tested. Whether the devices are common ground. If the impedance tested is small, it can be determined that the two devices are common ground, and conversely, if the impedance tested is large, it can be determined that the two devices are not common ground.
然而,当设备较多时,需要用户通过检测器一一进行测试,导致操作较为繁琐,检测效率较低。However, when there are many devices, the user needs to pass the test one by one, which results in a cumbersome operation and low detection efficiency.
发明内容Summary of the invention
为了解决现有技术中检测效率较低的问题,本发明实施例提供了一种共地检测电路及其检测方法。所述技术方案如下:In order to solve the problem of low detection efficiency in the prior art, an embodiment of the present invention provides a common ground detection circuit and a detection method thereof. The technical solution is as follows:
第一方面,提供了一种共地检测电路,所述共地检测电路包括:In a first aspect, a common ground detection circuit is provided, the common ground detection circuit comprising:
控制处理单元、开关电路、电压检测电路和接口连接器,且所述控制处理单元包括接口连接电路,所述接口连接电路与所述接口连接器连接且用于通过所述接口连接器与外部的线缆接口对接;Controlling a processing unit, a switching circuit, a voltage detecting circuit, and an interface connector, and the control processing unit includes an interface connecting circuit, the interface connecting circuit being coupled to the interface connector and for connecting the external connector through the interface connector Cable interface docking;
所述控制处理单元与所述开关电路的控制端连接,用于控制所述开关电路的闭合与关断,所述开关电路的第一信号端和所述电压检测电路的接地端分别与参考地连接,所述开关电路的第二信号端和所述电压检测电路的检测端分别与所述接口连接器的地信号输出端连接,所述地信号输出端用于当所述接口连接电路通过所述接口连接器与所述线缆接口对接时输出所述线缆接口所传输的地信号。The control processing unit is connected to the control end of the switch circuit for controlling the closing and closing of the switch circuit, and the first signal end of the switch circuit and the ground end of the voltage detection circuit are respectively referenced to ground Connecting, the second signal end of the switch circuit and the detecting end of the voltage detecting circuit are respectively connected to a ground signal output end of the interface connector, and the ground signal output end is used when the interface connecting circuit passes When the interface connector is docked with the cable interface, the ground signal transmitted by the cable interface is output.
在本发明实施例中,在通过线缆接口与对端设备连接的过程中,如果与对端设备不共地,则当对端设备向本端设备发送音频、视频数据或其它信号,或者当本端设备向对端设备发送 音频、视频数据或其它信号时,容易产生视频水波纹、音频电流声等问题。为此,在与对端设备连接的过程中,需要通过共地检测电路来检测本端设备与对端设备是否共地。其中,上述其它信号可以为最小化传输差分信号(Transition Minimized Differential,TMDS)等。In the embodiment of the present invention, in the process of connecting to the peer device through the cable interface, if the peer device does not share the ground device, the peer device sends audio, video data or other signals to the local device, or When the local device sends audio, video data or other signals to the peer device, it is easy to generate problems such as video water ripple and audio current sound. Therefore, in the process of connecting with the peer device, it is necessary to detect whether the local device and the peer device are in common through the common ground detecting circuit. The other signals may be Transition Minimized Differential (TMDS) or the like.
具体地,当开关电路处于断开状态时,电压检测电路检测该接口连接器的地信号输出端。当该电压检测电路检测到的电压值符合预设条件时,可以确定本端设备与对端设备共地。当该电压检测电路检测到的电压值不符合该预设条件时,可以确定本端设备与对端设备未共地。如此,实现了自动检测本端设备与对端设备之间是否共地,提高了检测效率。Specifically, when the switch circuit is in the off state, the voltage detecting circuit detects the ground signal output terminal of the interface connector. When the voltage value detected by the voltage detecting circuit meets a preset condition, it may be determined that the local device is co-located with the peer device. When the voltage value detected by the voltage detecting circuit does not meet the preset condition, it may be determined that the local device and the peer device are not in common. In this way, automatic detection of whether the local device and the peer device are co-located is achieved, and the detection efficiency is improved.
可选地,若所述接口连接器包括金属外壳且将所述金属外壳作为所述地信号输出端,则所述开关电路的第二信号端和所述电压检测电路的检测端分别与所述金属外壳连接;Optionally, if the interface connector includes a metal casing and the metal casing is used as the ground signal output end, the second signal end of the switch circuit and the detecting end of the voltage detecting circuit respectively Metal casing connection;
若所述接口连接器包括所述金属外壳和指定引脚且将所述金属外壳和所述指定引脚均作为所述地信号输出端,则所述开关电路的第二信号端与所述金属外壳和所述指定引脚分别连接,所述电压检测电路的检测端与所述金属外壳和所述指定引脚分别连接,所述指定引脚用于输出所述线缆接口中与所述指定引脚对应的地信号线所传输的地信号。a second signal end of the switch circuit and the metal if the interface connector includes the metal case and a designated pin and both the metal case and the designated pin are used as the ground signal output end a housing and the designated pin are respectively connected, a detection end of the voltage detecting circuit is respectively connected to the metal casing and the designated pin, and the designated pin is used for outputting the cable interface and the designation The ground signal transmitted by the ground signal line corresponding to the pin.
在实际应用中,根据线缆接口和对应的接口连接器的型号不同,不同型号的线缆接口和对应的接口连接器的构造可能大不相同。当线缆接口和对应的接口连接器的构造不相同时,上述开关电路的第二信号端和电压检测电路的检测端分别与地信号输出端的连接方式可能也不同,具体可以包括如上几种可能的实现方式,提高了共地检测电路的适用性。In practical applications, depending on the cable interface and the corresponding interface connector model, the cable interfaces of different models and the corresponding interface connectors may have different configurations. When the configuration of the cable interface and the corresponding interface connector are different, the connection between the second signal end of the switch circuit and the detection end of the voltage detection circuit and the ground signal output end may be different, and may specifically include the above possibilities. The implementation method improves the applicability of the common ground detection circuit.
可选地,所述开关电路包括继电器,所述控制处理单元与所述继电器中的线圈连接,所述继电器中的常开触点与所述参考地连接,所述继电器中的常闭触点与所述地信号输出端连接。Optionally, the switch circuit includes a relay, the control processing unit is connected to a coil in the relay, a normally open contact in the relay is connected to the reference ground, and a normally closed contact in the relay Connected to the ground signal output.
在实际应用场景中,在实际应用场景中,该控制处理单元可以通过是否为该继电器的线圈供电来控制该开关电路的闭合或断开。例如,当该控制处理单元为该线圈供电时,吸合常开触点和常闭触点,使得该继电器处于闭合状态。当控制处理单元停止为该继电器的线圈供电时,该常开触点和常闭触点断开,从而使得该继电器处于断开状态。如此,通过该继电器实现了该开关电路。In an actual application scenario, in a practical application scenario, the control processing unit may control the closing or opening of the switch circuit by supplying power to the coil of the relay. For example, when the control processing unit supplies power to the coil, the normally open contact and the normally closed contact are attracted such that the relay is in a closed state. When the control processing unit stops supplying power to the coil of the relay, the normally open contact and the normally closed contact are opened, thereby causing the relay to be in an open state. Thus, the switching circuit is realized by the relay.
可选地,所述接口连接电路包括馈电信号处理电路,所述馈电信号处理电路用于检测或发送馈电信号;Optionally, the interface connection circuit includes a feed signal processing circuit, and the feed signal processing circuit is configured to detect or send a feed signal;
当所述接口连接电路属于输入接口连接电路时,所述输入接口连接电路包括热插拔检测HPD信号发送电路,所述HPD信号发送电路用于发送HPD信号;或者,当所述接口连接电路属于输出接口连接电路时,所述输出接口连接电路包括HPD信号检测电路,所述HPD信号检测电路用于检测所述HPD信号。When the interface connection circuit belongs to the input interface connection circuit, the input interface connection circuit includes a hot plug detection HPD signal transmission circuit, and the HPD signal transmission circuit is configured to transmit an HPD signal; or, when the interface connection circuit belongs to When the output interface is connected to the circuit, the output interface connection circuit includes an HPD signal detection circuit for detecting the HPD signal.
在实际应用场景中,根据线缆接口的类型不同,本端设备的接口连接电路的结构可能也不相同。譬如,一些线缆接口可能包括有输入馈电信号线和热插拔检测信号线,如,DVI、HDMI、显示接口(Display Port,DP)、VGA等接口。当与该类线缆接口对接时,本端设备的接口连接电路中也需要设置有对应的电路。如此,提高了该供电检测电路的适用性。In the actual application scenario, the structure of the interface connection circuit of the local device may be different according to the type of the cable interface. For example, some cable interfaces may include input feed signal lines and hot plug detection signal lines, such as DVI, HDMI, Display Port (DP), VGA and other interfaces. When docking with such a cable interface, a corresponding circuit needs to be provided in the interface connection circuit of the local device. In this way, the applicability of the power supply detecting circuit is improved.
第二方面,提供了一种共地检测方法,应用于第一方面所述的共地检测电路中,所述方法包括:In a second aspect, a common ground detection method is provided for use in the common ground detection circuit of the first aspect, the method comprising:
当所述开关电路处于断开状态时,所述电压检测电路检测所述地信号输出端的电压值;The voltage detecting circuit detects a voltage value of the ground signal output end when the switch circuit is in an off state;
当所述电压检测电路检测到的电压值符合预设条件时,确定所述本端设备与对端设备共 地,所述对端设备是指通过所述线缆接口与所述本端设备连接的设备;When the voltage value detected by the voltage detecting circuit meets a preset condition, determining that the local device is co-located with the peer device, where the peer device is connected to the local device through the cable interface. device of;
当所述电压检测电路检测到的电压值不符合所述预设条件时,确定所述本端设备与所述对端设备未共地。When the voltage value detected by the voltage detecting circuit does not meet the preset condition, it is determined that the local device is not co-located with the peer device.
可选地,所述接口连接器包括金属外壳且将所述金属外壳作为所述地信号输出端;Optionally, the interface connector includes a metal casing and the metal casing is used as the ground signal output terminal;
所述电压检测电路检测所述地信号输出端的电压值之后,还包括:After the voltage detecting circuit detects the voltage value of the ground signal output terminal, the method further includes:
当所述电压检测电路检测到的电压值小于预设阈值时,确定所述电压检测电路检测到的电压值符合所述预设条件;Determining that the voltage value detected by the voltage detecting circuit meets the preset condition when the voltage value detected by the voltage detecting circuit is less than a preset threshold;
当所述电压检测电路检测到的电压值大于或等于所述预设阈值时,确定所述电压检测电路检测到的电压值不符合所述预设条件。When the voltage value detected by the voltage detecting circuit is greater than or equal to the preset threshold, determining that the voltage value detected by the voltage detecting circuit does not meet the preset condition.
可选地,所述接口连接器包括所述金属外壳和指定引脚且将所述金属外壳和所述指定引脚均作为所述地信号输出端;Optionally, the interface connector includes the metal casing and a designated pin and both the metal casing and the designated pin are used as the ground signal output end;
所述电压检测电路检测所述地信号输出端的电压值,包括:The voltage detecting circuit detects a voltage value of the ground signal output end, and includes:
所述电压检测电路分别检测外壳电压值和引脚电压值,所述外壳电压值为所述金属外壳上的电压值,所述引脚电压值为所述指定引脚上的电压值;The voltage detecting circuit respectively detects a case voltage value and a pin voltage value, the case voltage value is a voltage value on the metal case, and the pin voltage value is a voltage value on the designated pin;
所述电压检测电路检测所述地信号输出端的电压值之后,还包括:After the voltage detecting circuit detects the voltage value of the ground signal output terminal, the method further includes:
若所述外壳电压值和所述引脚电压值均小于预设阈值,则确定所述电压检测电路检测到的电压值符合所述预设条件;Determining that the voltage value detected by the voltage detecting circuit meets the preset condition, if both the casing voltage value and the pin voltage value are less than a preset threshold;
若所述外壳电压值和/或所述引脚电压值大于或等于所述预设阈值,则确定所述电压检测电路检测到的电压值不符合所述预设条件。If the shell voltage value and/or the pin voltage value is greater than or equal to the preset threshold, determining that the voltage value detected by the voltage detecting circuit does not meet the preset condition.
可选地,所述当所述开关电路处于断开状态时之前,还包括:Optionally, before the switch circuit is in an off state, the method further includes:
若所述接口连接电路属于输入接口连接电路且包括馈电信号处理电路,则当所述控制处理单元基于所述输入接口连接电路中的馈电信号处理电路检测到所述馈电信号时,断开所述开关电路;或,If the interface connection circuit belongs to the input interface connection circuit and includes a feed signal processing circuit, when the control processing unit detects the feed signal based on the feed signal processing circuit in the input interface connection circuit, Opening the switching circuit; or,
若所述接口连接电路属于输出接口连接电路且包括所述馈电信号处理电路和HPD信号检测电路,则当所述控制处理单元基于所述输出接口连接电路中的HPD信号检测电路检测到所述HPD信号时,断开所述开关电路,所述HPD信号为所述对端设备在接收到所述本端设备发送的馈电信号时所反馈的信号,所述馈电信号由所述本端设备的馈电信号处理电路在接收到上电信号时发送。If the interface connection circuit belongs to the output interface connection circuit and includes the feed signal processing circuit and the HPD signal detection circuit, when the control processing unit detects the said based on the HPD signal detection circuit in the output interface connection circuit When the HPD signal is turned off, the switch circuit is disconnected, and the HPD signal is a signal that is fed back when the peer device receives the feed signal sent by the local device, and the feed signal is used by the local end. The feed signal processing circuit of the device transmits when a power-on signal is received.
可选地,若所述接口连接电路属于输入接口连接电路,所述接口连接电路还包括所述HPD信号发送电路;Optionally, if the interface connection circuit belongs to an input interface connection circuit, the interface connection circuit further includes the HPD signal transmission circuit;
所述当所述控制处理单元基于所述输入接口连接电路中的馈电信号处理电路检测到所述馈电信号时,断开所述开关电路之后,还包括:When the control processing unit detects the feed signal based on the feed signal processing circuit in the input interface connection circuit, after the switch circuit is disconnected, the method further includes:
所述HPD信号发送电路向所述对端设备发送所述HPD信号。The HPD signal transmitting circuit transmits the HPD signal to the peer device.
本发明实施例提供的技术方案带来的有益效果是:在通过线缆接口与对端设备连接的过程中,当开关电路处于断开状态时,接口连接器的地信号输出端与本端设备的参考地断开连接,此时,电压检测电路检测该地信号输出端的电压值。由于该地信号输出端用于当接口连接电路通过接口连接器与线缆接口对接时输出线缆接口所传输的地信号,且该电压检测电路的参考平面为本地设备的参考地,因此,所检测的电压值即可认为是本端设备与对端设备之 间的电压差。当该电压值符合预设条件时,确定本端设备与对端设备共地,反之,当该电压值不符合该预设条件时,确定本端设备与对端设备未共地。如此,在通过线缆接口与对端设备连接的过程中,可以自动检测与对端设备是否共地,避免需要用户手动操作,提高了检测效率。The technical solution provided by the embodiment of the present invention has the beneficial effects that: when the switch circuit is in the disconnected state, the ground signal output end of the interface connector and the local end device are connected in the process of connecting the peer device through the cable interface. The reference ground is disconnected, and at this time, the voltage detecting circuit detects the voltage value of the ground signal output terminal. The ground signal output end is used for outputting a ground signal transmitted by the cable interface when the interface connecting circuit is connected to the cable interface through the interface connector, and the reference plane of the voltage detecting circuit is a reference ground of the local device, therefore, The detected voltage value can be regarded as the voltage difference between the local device and the opposite device. When the voltage value meets the preset condition, it is determined that the local device is co-located with the peer device, and when the voltage value does not meet the preset condition, it is determined that the local device and the peer device are not co-located. In this way, in the process of connecting to the peer device through the cable interface, it is possible to automatically detect whether the peer device is co-located, avoiding manual operation by the user, and improving the detection efficiency.
图1是根据一示例性实施例示出的一种共地检测电路的结构示意图;FIG. 1 is a schematic structural diagram of a common ground detecting circuit according to an exemplary embodiment;
图2是根据另一示例性实施例示出的一种共地检测电路的结构示意图;2 is a schematic structural diagram of a common ground detecting circuit according to another exemplary embodiment;
图3是根据另一示例性实施例示出的一种共地检测电路的结构示意图;FIG. 3 is a schematic structural diagram of a common ground detecting circuit according to another exemplary embodiment; FIG.
图4是根据另一示例性实施例示出的一种共地检测电路的结构示意图;FIG. 4 is a schematic structural diagram of a common ground detecting circuit according to another exemplary embodiment; FIG.
图5是根据另一示例性实施例示出的一种共地检测电路的结构示意图;FIG. 5 is a schematic structural diagram of a common ground detecting circuit according to another exemplary embodiment; FIG.
图6是根据另一示例性实施例示出的一种共地检测电路的结构示意图;FIG. 6 is a schematic structural diagram of a common ground detecting circuit according to another exemplary embodiment; FIG.
图7是根据一示例性实施例示出的一种共地检测方法的流程图。FIG. 7 is a flow chart showing a method of co-detection according to an exemplary embodiment.
附图标记:Reference mark:
1:控制处理单元,2:开关电路,3:电压检测电路,4:接口连接器,5:线缆接口;1: control processing unit, 2: switch circuit, 3: voltage detection circuit, 4: interface connector, 5: cable interface;
11:接口连接电路;11: interface connection circuit;
21:控制端,22:第一信号端,23:第二信号端,24:继电器;21: control terminal, 22: first signal terminal, 23: second signal terminal, 24: relay;
241:线圈,242:常开触点,243:常闭触点;241: coil, 242: normally open contact, 243: normally closed contact;
31:接地端,32:检测端;31: ground terminal, 32: detection terminal;
41:地信号输出端;41: ground signal output terminal;
411:指定引脚,412:金属外壳。411: Designated pin, 412: Metal case.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图1是根据一示例性实施例示出的一种共地检测电路的结构示意图,该共地检测电路包括:控制处理单元1、开关电路2、电压检测电路3和接口连接器4,且该控制处理单元1包括接口连接电路11,该接口连接电路11与该接口连接器4连接且用于通过该接口连接器4与外部的线缆接口5对接。该控制处理单元1与该开关电路2的控制端21连接,用于控制该开关电路2的闭合与关断,该开关电路2的第一信号端22和该电压检测电路3的接地端31分别与参考地连接,该开关电路2的第二信号端23和该电压检测电路3的检测端32分别与该接口连接器4的地信号输出端41连接,该地信号输出端41用于当该接口连接电路11通过该接口连接器4与该线缆接口5对接时输出该线缆接口5所传输的地信号。FIG. 1 is a schematic structural diagram of a common ground detecting circuit including: a
其中,该控制处理单元1用于基于接口连接电路11检测是否通过线缆接口5与对端设备连接。此外,该控制处理单元1还可以用于对对端设备发送的音频或视频数据进行处理等,本发明实施例对此不作限定。The
其中,上述电压检测电路3可以用于检测所连接的地信号输出端41上的电压值。进一步地,该电压检测电路3中可以包括有电压检测芯片,例如,该电压检测芯片可以为模数转换(Analog-to-Digital Converter,AD)芯片,如此,该电压检测电路3可以通过该AD芯片 来接收该地信号输出端41的电压信号,并将所接收的电压信号进行模数转换后,即可得到该地信号输出端41的电压值。The
在实际实现过程中,该地信号输出端41可以接入到一个独立的参考地上,其中,该参考地只通过开关电路2与本端设备的参考地连接,如图1所示,该参考地可以称为GND(grand)或保护地(Protect Grand,PGND)。当该地信号输出端41接入到该独立的参考地上时,上述开关电路2的第二信号端23和该电压检测电路3的检测端32可以分别接入该参考地上,从而实现了开关电路2的第二信号端23和该电压检测电路3的检测端32分别与地信号输出端41的连接。这里需要说明的是,在下文所述的与该地信号输出端41之间的连接均可以采用该种实现方式,后文不再一一赘述。In the actual implementation process, the ground
其中,上述开关电路2可以由控制处理单元1控制其断开和闭合。若该开关电路2处于闭合状态,本端设备的参考地与地信号输出端41之间连接,若该开关电路2处于断开状态,本端设备的参考地与地信号输出端41未连接。Wherein, the above-mentioned switching circuit 2 can be controlled to be turned off and closed by the
进一步地,请参考图2,在一种可能的实现方式中,该开关电路2可以包括继电器24。当该开关电路2包括继电器24时,该控制处理单元1与该继电器24中的线圈241连接,该继电器24中的常开触点242与该参考地连接,该继电器中的常闭触点243与该地信号输出端41连接。Further, referring to FIG. 2, in a possible implementation, the switch circuit 2 may include a
在实际应用场景中,该控制处理单元1可以通过是否为该继电器24的线圈241供电来控制该开关电路2的闭合或断开。例如,当该控制处理单元1为该线圈241供电时,吸合常开触点242和常闭触点243,使得该继电器24处于闭合状态。当控制处理单元1停止为该继电器24的线圈241供电时,该常开触点242和常闭触点243断开,从而使得该继电器24处于断开状态。In a practical application scenario, the
在共地检测过程中,当开关电路2处于断开状态时,电压检测电路3检测该地信号输出端41的电压值。由于地信号输出端41与线缆接口4之间硬接触,且电压检测电路3的接地端31是以参考地为参考平面,因此,该电压检测电路3所检测的电压值相当于本端设备的电压与对端设备的电压的电压差。当该电压检测电路3检测到的电压值符合预设条件时,确定本端设备与对端设备之间共地,当该电压检测电路3检测到的电压值不符合该预设条件时,确定本端设备与对端设备之间不共地,如此,实现了自动检测本端设备与对端设备之间是否共地,提高了检测效率。其中,该预设条件可以预先设置。In the common ground detection process, when the switch circuit 2 is in the off state, the
进一步地,在实际应用中,根据线缆接口5和对应的接口连接器4的型号不同,不同型号的线缆接口5和对应的接口连接器4的构造可能大不相同。当线缆接口5和对应的接口连接器4的构造不相同时,上述开关电路2的第二信号端23和电压检测电路3的检测端32分别与地信号输出端41的连接方式可能也不同,具体可以包括如下几种可能的实现方式:Further, in practical applications, depending on the type of the
第一种方式:请参考图1,若该接口连接器4包括金属外壳412且将该金属外壳412作为该地信号输出端41,则该开关电路2的第二信号端23和该电压检测电路3的检测端32分别与该金属外壳412连接。The first mode: Please refer to FIG. 1. If the interface connector 4 includes a
针对该种实现方式,上述电压检测电路3检测地信号输出端41的电压值之后,当该电压检测电路3检测到的电压值小于预设阈值时,确定该电压检测电路3检测到的电压值符合该预设条件,当该电压检测电路3检测到的电压值大于或等于该预设阈值时,确定该电压检测电路3检测到的电压值不符合该预设条件。For the implementation, after the
其中,该预设阈值可以事先设置。当该电压检测电路3检测到的电压值小于预设阈值时,说明本端设备与对端设备之间的电压差较小,因此,可以确定本端设备与对端设备共地,即该电压检测电路3检测到的电压值符合该预设条件。当该电压检测电路3检测到的电压值大于或等于该预设阈值时,说明本端设备与对端设备之间的电压差较大,此时,可以确定本端设备与对端设备未共地,即该电压检测电路3检测到的电压值不符合该预设条件。The preset threshold may be set in advance. When the voltage value detected by the
第二种方式:请参考图3,若该接口连接器4包括该金属外壳412和指定引脚411且将该金属外壳412和该指定引脚411均作为该地信号输出端41,则该开关电路2的第二信号端23与该金属外壳412和该指定引脚411分别连接,该电压检测电路3的检测端32与该金属外壳412和该指定引脚411分别连接,该指定引脚411用于输出该线缆接口4中与该指定引脚411对应的地信号线所传输的地信号。The second mode: Referring to FIG. 3, if the interface connector 4 includes the
与上述第一种方式不同的是,在该种实现方式中,该接口连接器4除了包括该金属外壳412之外,还包括指定引脚411,此时,线缆接口5中也设置有与该指定引脚411对应的地信号线,其中,该地信号线可以用于传输地信号,该地信号可以为PGND,也可以为GND,本公开实施例对此不做限定。Different from the first manner described above, in this implementation, the interface connector 4 includes a designated
在该种连接方式中,上述电压检测电路3检测地信号输出端41的电压值的实现过程包括:该电压检测电路3分别检测外壳电压值和引脚电压值,该外壳电压值为该金属外壳412上的电压值,该引脚电压值为该指定引脚411上的电压值。In the connection mode, the
在实际应用中,对端设备的PGND和GND可能连接在一起,也可能没有连接在一起。当对端设备的PGND和GND连接在一起时,对端设备通过该线缆接口4仅传输一个地信号。然而,当该PGND和GND没有连接在一起,且该线缆接口4中包括有与指定引脚411对应的地信号线时,对端设备可能通过该线缆接口4传输给本端设备两个地信号,在该种情况下,本端设备将分别通过该指定引脚411和该金属外壳412输出该两个地信号。为了检测本端设备与对端设备是否共地,电压检测电路3需要分别检测该金属外壳412上的电压值和该指定引脚411上的电压值。In practical applications, the PGND and GND of the peer device may or may not be connected together. When the PGND and GND of the peer device are connected together, the peer device transmits only one ground signal through the cable interface 4. However, when the PGND and the GND are not connected together, and the ground signal line corresponding to the designated
若该外壳电压值和该引脚电压值均小于预设阈值,则确定该电压检测电路3检测到的电压值符合上述预设条件,若该外壳电压值和/或该引脚电压值大于或等于该预设阈值,则确定该电压检测电路3检测到的电压值不符合该预设条件。If the voltage value of the casing and the voltage value of the pin are both less than a preset threshold, determining that the voltage value detected by the
其中,上述若该外壳电压值和/或该引脚电压值大于或等于该预设阈值,则确定该电压检测电路3检测到的电压值不符合该预设条件包括:若该外壳电压值大于或等于该预设阈值,则可以确定该电压检测电路3检测到的电压值不符合该预设条件;或者,若该引脚电压值大于或等于该预设阈值,则也可以确定该电压检测电路3检测到的电压值不符合该预设条件;或者,若该外壳电压值和该引脚电压值均大于或等于该预设阈值,则同样确定该电压检测电路3检测到的电压值不符合该预设条件。Wherein, if the voltage value of the casing and/or the voltage value of the pin is greater than or equal to the preset threshold, determining that the voltage value detected by the
也即是,若该外壳电压值和该引脚电压值均小于预设阈值,则确定本端设备与对端设备共地,若该外壳电压值和/或该引脚电压值大于或等于该预设阈值,则可以确定本端设备与对端设备未共地。That is, if the voltage value of the outer casing and the voltage value of the pin are both less than a preset threshold, it is determined that the local device is co-located with the opposite device, and if the voltage value of the outer casing and/or the voltage value of the pin is greater than or equal to the The preset threshold can be used to determine that the local device and the peer device are not in common.
进一步地,上述接口连接电路11包括馈电信号处理电路,该馈电信号处理电路用于检测或发送馈电信号。另外,当该接口连接电路11属于输入接口连接电路时,该输入接口连接电路包括热插拔检测(Hot Plug Detection,HPD)信号发送电路,该HPD信号发送电路用于发 送HPD信号;当该接口连接电路11属于输出接口连接电路时,该输出接口连接电路包括HPD信号检测电路,该HPD信号检测电路用于检测该HPD信号。Further, the above
在实际应用场景中,根据线缆接口4的类型不同,本端设备的接口连接电路11的结构可能也不相同。譬如,一些线缆接口4可能包括有输入馈电信号线和热插拔检测信号线,如,DVI、HDMI、显示接口(Display Port,DP)、VGA等接口。当与该类线缆接口对接时,本端设备的接口连接电路11中也需要设置有对应的电路。In the actual application scenario, the structure of the
另外,在实际应用场景中,该接口连接电路11可能属于输入接口连接电路,也可能属于输出接口连接电路。例如,当本端设备为诸如显示器等之类的设备时,该接口连接电路11属于输入接口连接电路,当本端设备为诸如电脑主机等之类的设备时,该接口连接电路11属于输出接口连接电路。In addition, in an actual application scenario, the
根据接口连接电路的结构和类别不同,该开关电路的常态通常不同。当该接口连接电路中包括有馈电信号处理电路和HPD信号检测电路,或者包括有馈电信号处理电路和HPD信号发送电路时,该接口连接电路用于处理馈电信号和热插拔检测信号。为了能够稳定接收馈电信号或热插拔检测信号,该开关电路2的常态通常为闭合状态,该常态是指在未通过线缆接口5与对端设备连接之前的状态。因此,为了实现共地检测操作,根据接口连接电路11所属类别和内部包括的电路不同,上述当开关电路2处于断开状态时之前,需要断开该开关电路2,具体可以包括如下几种实现方式:The normal state of the switching circuit is usually different depending on the structure and type of the interface connection circuit. When the interface connection circuit includes a feed signal processing circuit and an HPD signal detection circuit, or includes a feed signal processing circuit and an HPD signal transmission circuit, the interface connection circuit is configured to process the feed signal and the hot plug detection signal. . In order to be able to stably receive the feed signal or the hot plug detection signal, the normal state of the switch circuit 2 is usually a closed state, which is a state before the connection to the opposite device is not passed through the
(1)若该接口连接电路11属于输入接口连接电路且包括馈电信号处理电路,则当该控制处理单元1基于该输入接口连接电路中的馈电信号处理电路检测到该馈电信号时,断开开关电路2。(1) If the
若本端设备为输入设备,例如,该输入设备可以为显示器等,则该接口连接电路11属于输入接口连接电路且可能包括有馈电信号处理电路。此时,当该控制处理单元1基于该输入接口连接电路中的馈电信号处理电路检测到该馈电信号时,说明本端设备与对端设备已通过线缆接口4连接,且对端设备准备向本端设备发送数据或信号,此时,可以确定需要断开开关电路2以执行共地检测过程。If the local device is an input device, for example, the input device may be a display or the like, the
进一步地,若该接口连接电路11属于输入接口连接电路,该接口连接电路11还包括HPD信号发送电路,当断开开关电路2后,该HPD信号发送电路向该对端设备发送该HPD信号。Further, if the
请参考图4,当本端设备接收到该馈电信号时,为了通知对端设备已准备接收音频或视频数据,本端设备的该HPD信号发送电路向该对端设备发送该HPD信号。Referring to FIG. 4, when the local device receives the feed signal, in order to notify the peer device that it is ready to receive audio or video data, the HPD signal sending circuit of the local device sends the HPD signal to the peer device.
(2)若该接口连接电路11属于输出接口连接电路且包括该馈电信号处理电路和HPD信号检测电路,则当该控制处理单元1基于该输出接口连接电路中的HPD信号检测电路检测到该HPD信号时,断开开关电路2,该HPD信号为该对端设备在接收到该本端设备发送的馈电信号时所反馈的信号,该馈电信号由该本端设备的馈电信号处理电路在接收到上电信号时发送。(2) if the
请参考图5,若本端设备为输出设备,例如,该输出设备可以为电脑主机等,则该接口连接电路11属于输出接口连接电路且可能包括有该馈电信号处理电路和HPD信号检测电路。在实际应用场景中,当本端设备的馈电信号处理电路在接收到上电信号时,通常会通过线缆接口4向对端设备发送馈电信号,例如,该馈电信号可以为5V高电平信号。Referring to FIG. 5, if the local device is an output device, for example, the output device may be a computer host or the like, the
相应地,如前文所述,对端设备接收到该馈电信号后,会向本端设备反馈HPD信号,此 时,控制处理单元1确定需要断开开关电路2执行共地检测操作。Correspondingly, as described above, after receiving the feed signal, the peer device feeds back the HPD signal to the local device. At this time, the
当然,上述是以线缆接口4包括有输入馈电信号线和热插拔检测信号线为例进行举例说明,在另外一种可能的实现方式中,该线缆接口4可能不包括有输入馈电信号线和热插拔检测信号线,如,CVBS、美国无线电公司(Radio Corporation of American,RCA)接口、3.5mm line接口等,在该种情况下,该接口连接电路4不包括有上述馈电信号处理电路、HPD信号发送电路和HPD信号检测电路,例如,请参考图6。For example, the cable interface 4 includes an input feed signal line and a hot plug detection signal line as an example. In another possible implementation manner, the cable interface 4 may not include an input feed. An electrical signal line and a hot plug detection signal line, such as a CVBS, a Radio Corporation of American (RCA) interface, a 3.5 mm line interface, etc., in which case the interface connection circuit 4 does not include the above-mentioned feed The electric signal processing circuit, the HPD signal transmitting circuit, and the HPD signal detecting circuit, for example, refer to FIG.
若该接口连接电路11不包括该馈电信号处理电路、该HPD信号发送电路和该HPD信号检测电路,则该开关电路2通常处于断开状态,该电压检测电路3将会实时检测该接口连接器4的地信号输出端41。If the
在本发明实施例中,在通过线缆接口与对端设备连接的过程中,当开关电路处于断开状态时,接口连接器的地信号输出端与本端设备的参考地断开连接,此时,电压检测电路检测该地信号输出端的电压值。由于该地信号输出端用于当接口连接电路通过接口连接器与线缆接口对接时输出线缆接口所传输的地信号,且该电压检测电路的参考平面为本地设备的参考地,因此,所检测的电压值即可认为是本端设备与对端设备之间的电压差。当该电压值符合预设条件时,确定本端设备与对端设备共地,反之,当该电压值不符合该预设条件时,确定本端设备与对端设备未共地。如此,在通过线缆接口与对端设备连接的过程中,可以自动检测与对端设备是否共地,避免需要用户手动操作,提高了检测效率。In the embodiment of the present invention, in the process of connecting to the peer device through the cable interface, when the switch circuit is in the disconnected state, the ground signal output end of the interface connector is disconnected from the reference ground of the local device, The voltage detecting circuit detects the voltage value of the ground signal output terminal. The ground signal output end is used for outputting a ground signal transmitted by the cable interface when the interface connecting circuit is connected to the cable interface through the interface connector, and the reference plane of the voltage detecting circuit is a reference ground of the local device, therefore, The detected voltage value can be regarded as the voltage difference between the local device and the opposite device. When the voltage value meets the preset condition, it is determined that the local device is co-located with the peer device, and when the voltage value does not meet the preset condition, it is determined that the local device and the peer device are not co-located. In this way, in the process of connecting to the peer device through the cable interface, it is possible to automatically detect whether the peer device is co-located, avoiding manual operation by the user, and improving the detection efficiency.
基于上述提供的共地检测电路,本发明实施例提供了共地检测方法,请参考图7,该图7是根据一示例性实施例示出的一种共地检测方法的流程图,该共地检测方法可以包括如下几个步骤:Based on the common ground detection circuit provided above, the embodiment of the present invention provides a common ground detection method. Referring to FIG. 7, FIG. 7 is a flowchart of a common ground detection method according to an exemplary embodiment. The detection method can include the following steps:
步骤701:当开关电路处于断开状态时,电压检测电路检测该地信号输出端的电压值。Step 701: When the switch circuit is in the off state, the voltage detecting circuit detects the voltage value of the ground signal output end.
根据接口连接电路的结构和类别不同,该开关电路的常态通常不同。当该接口连接电路中包括有馈电信号处理电路和HPD信号检测电路,或者包括有馈电信号处理电路和HPD信号发送电路时,该接口连接电路用于处理馈电信号和热插拔检测信号,此时,开关电路的常态通常为闭合状态,在该种情况下,当开关电路处于断开状态时之前,还包括:The normal state of the switching circuit is usually different depending on the structure and type of the interface connection circuit. When the interface connection circuit includes a feed signal processing circuit and an HPD signal detection circuit, or includes a feed signal processing circuit and an HPD signal transmission circuit, the interface connection circuit is configured to process the feed signal and the hot plug detection signal. At this time, the normal state of the switch circuit is usually a closed state. In this case, before the switch circuit is in the off state, the method further includes:
(1)若该接口连接电路属于输入接口连接电路且包括馈电信号处理电路,则当该控制处理单元基于该输入接口连接电路中的馈电信号处理电路检测到该馈电信号时,断开开关电路。(1) if the interface connection circuit belongs to the input interface connection circuit and includes a feed signal processing circuit, when the control processing unit detects the feed signal based on the feed signal processing circuit in the input interface connection circuit, Switch circuit.
若本端设备为输入设备,例如,该输入设备可以为显示器等,则该接口连接电路属于输入接口连接电路且可能包括有馈电信号处理电路。此时,当该控制处理单元基于该输入接口连接电路中的馈电信号处理电路检测到该馈电信号时,说明本端设备与对端设备已通过线缆接口连接,且对端设备准备向本端设备发送音频或视频数据,此时,该控制处理单元确定需要断开开关电路以执行后续共地检测过程。If the local device is an input device, for example, the input device may be a display or the like, the interface connection circuit belongs to the input interface connection circuit and may include a feed signal processing circuit. At this time, when the control processing unit detects the feed signal based on the feed signal processing circuit in the input interface connection circuit, it indicates that the local device and the peer device have been connected through the cable interface, and the peer device is ready to The local device transmits audio or video data. At this time, the control processing unit determines that the switch circuit needs to be disconnected to perform a subsequent common ground detection process.
进一步地,若该接口连接电路属于输入接口连接电路,该接口连接电路还包括HPD信号发送电路,当确定该控制处理单元接收到该指定接入信号后,该HPD信号发送电路向该对端设备发送该HPD信号。Further, if the interface connection circuit belongs to the input interface connection circuit, the interface connection circuit further includes an HPD signal transmission circuit, and after determining that the control processing unit receives the designated access signal, the HPD signal transmission circuit is to the opposite device Send the HPD signal.
当本端设备接收到该馈电信号时,为了通知对端设备已准备接收音频或视频数据,本端设备的该HPD信号发送电路向该对端设备发送该HPD信号。When the local device receives the feed signal, in order to notify the peer device that it is ready to receive audio or video data, the HPD signal sending circuit of the local device sends the HPD signal to the peer device.
(2)若该接口连接电路属于输出接口连接电路且包括该馈电信号处理电路和HPD信号检 测电路,则当该控制处理单元基于该输出接口连接电路中的HPD信号检测电路检测到该HPD信号时,断开开关电路,该HPD信号为该对端设备在接收到该本端设备发送的馈电信号时所反馈的信号,该馈电信号由该本端设备的馈电信号处理电路在接收到上电信号时发送。(2) if the interface connection circuit belongs to the output interface connection circuit and includes the feed signal processing circuit and the HPD signal detection circuit, when the control processing unit detects the HPD signal based on the HPD signal detection circuit in the output interface connection circuit When the switch circuit is disconnected, the HPD signal is a signal fed back by the opposite device when receiving the feed signal sent by the local device, and the feed signal is received by the feed signal processing circuit of the local device. Sent when powering up.
若本端设备为输出设备,例如,该输出设备可以为电脑主机等,则该接口连接电路属于输出接口连接电路且可能包括该馈电信号处理电路和HPD信号检测电路。在实际应用场景中,当本端设备的馈电信号处理电路在接收到上电信号时,通常会通过线缆接口向对端设备发送馈电信号,例如,该馈电信号可以为5V高电平信号。If the local device is an output device, for example, the output device may be a computer host or the like, the interface connection circuit belongs to the output interface connection circuit and may include the feed signal processing circuit and the HPD signal detection circuit. In a practical application scenario, when the feed signal processing circuit of the local device receives the power-on signal, it usually sends a feed signal to the peer device through the cable interface. For example, the feed signal can be 5V high. Flat signal.
相应地,如前文所述,对端设备接收到该馈电信号后,会向本端设备反馈HPD信号,此时,该控制处理单元可以确定需要断开开关电路以执行后续共地检测过程。Correspondingly, as described above, after receiving the feed signal, the peer device feeds back the HPD signal to the local device. At this time, the control processing unit may determine that the switch circuit needs to be disconnected to perform a subsequent common ground detection process.
进一步地,当接口连接器包括该金属外壳和指定引脚且将该金属外壳和该指定引脚均作为该地信号输出端时,该电压检测电路分别检测外壳电压值和引脚电压值,该外壳电压值为该金属外壳上的电压值,该引脚电压值为该指定引脚上的电压值。Further, when the interface connector includes the metal casing and the designated pin and the metal casing and the designated pin are both the signal output ends, the voltage detecting circuit detects the casing voltage value and the pin voltage value, respectively. The case voltage value is the voltage value on the metal case, and the pin voltage value is the voltage value on the specified pin.
在实际应用中,对端设备的PGND和GND可能连接在一起,也可能没有连接在一起。当对端设备的PGND和GND连接在一起时,对端设备通过该线缆接口可能传输一个地信号。然而,当该PGND和GND没有连接在一起,且该线缆接口中包括有与指定引脚对应的地信号线时,对端设备可能通过该线缆接口传输给本端设备两个地信号,本端设备将分别通过该指定引脚和该金属外壳输出该两个地信号。为了检测本端设备与对端设备是否共地,电压检测电路需要分别检测该金属外壳上的电压值和该指定引脚上的电压值。In practical applications, the PGND and GND of the peer device may or may not be connected together. When the PGND and GND of the peer device are connected together, the peer device may transmit a ground signal through the cable interface. However, when the PGND and the GND are not connected together, and the cable interface includes a ground signal line corresponding to the designated pin, the peer device may transmit the signal to the local device through the cable interface. The local device will output the two ground signals through the designated pin and the metal casing respectively. In order to detect whether the local device and the peer device are common, the voltage detecting circuit needs to separately detect the voltage value on the metal casing and the voltage value on the designated pin.
步骤702:当该电压检测电路检测到的电压值符合预设条件时,确定该本端设备与对端设备共地,该对端设备是指通过该线缆接口与该本端设备连接的设备。Step 702: When the voltage value detected by the voltage detecting circuit meets the preset condition, it is determined that the local device is co-located with the peer device, and the peer device refers to the device connected to the local device through the cable interface. .
其中,该预设条件可以事先设置。根据该预设条件不同,确定该电压检测电路检测到的电压值是否符合预设条件的方式也不同,具体可以包括如下几种实现方式:Wherein, the preset condition can be set in advance. The method for determining whether the voltage value detected by the voltage detecting circuit meets the preset condition is different according to the preset condition, and may specifically include the following implementation manners:
第一种方式:若该接口连接器包括金属外壳且将该金属外壳作为该地信号输出端,则当该电压检测电路检测到的电压值小于预设阈值时,确定该电压检测电路检测到的电压值符合该预设条件,当该电压检测电路检测到的电压值大于或等于该预设阈值时,确定该电压检测电路检测到的电压值不符合该预设条件。The first mode: if the interface connector includes a metal casing and the metal casing is used as the signal output end, when the voltage value detected by the voltage detecting circuit is less than a preset threshold, determining the voltage detection circuit detects The voltage value meets the preset condition. When the voltage value detected by the voltage detecting circuit is greater than or equal to the preset threshold, determining that the voltage value detected by the voltage detecting circuit does not meet the preset condition.
如前文所述,由于电压检测电路的接地端是以参考地为参考平面,因此,该电压检测电路所检测的电压值相当于本端设备的电压与对端设备的电压的电压差。因此,当所检测的电压值小于预设阈值时,说明本端设备与对端设备之间的电压差较小,因此,可以确定本端设备与对端设备共地。当该电压检测电路检测到的电压值大于或等于该预设阈值时,说明本端设备与对端设备之间的电压差较大,此时,可以确定本端设备与对端设备未共地。As described above, since the ground terminal of the voltage detecting circuit is the reference plane as the reference plane, the voltage value detected by the voltage detecting circuit is equivalent to the voltage difference between the voltage of the local device and the voltage of the opposite device. Therefore, when the detected voltage value is less than the preset threshold, the voltage difference between the local device and the peer device is small. Therefore, it can be determined that the local device is co-located with the peer device. When the voltage value detected by the voltage detecting circuit is greater than or equal to the preset threshold, the voltage difference between the local device and the peer device is large. In this case, it can be determined that the local device and the peer device are not in common. .
第二种方式:当该接口连接器包括该金属外壳和指定引脚且将该金属外壳和该指定引脚均作为该地信号输出端时,若该外壳电压值和该引脚电压值均小于预设阈值,则确定该电压检测电路检测到的电压值符合该预设条件,若该外壳电压值和/或该引脚电压值大于或等于该预设阈值,则确定该电压检测电路检测到的电压值不符合该预设条件。The second mode: when the interface connector includes the metal casing and the designated pin, and the metal casing and the designated pin are both the signal output ends, if the voltage value of the casing and the voltage value of the pin are both smaller than Determining a threshold, determining that the voltage value detected by the voltage detecting circuit meets the preset condition, and determining that the voltage detecting circuit detects that the voltage value of the casing and/or the voltage value of the pin is greater than or equal to the preset threshold The voltage value does not meet the preset condition.
其中,上述若该外壳电压值和/或该引脚电压值大于或等于该预设阈值,则确定该电压检测电路3检测到的电压值不符合该预设条件包括:若该外壳电压值大于或等于该预设阈值,则可以确定该电压检测电路3检测到的电压值不符合该预设条件;或者,若该引脚电压值大于或等于该预设阈值,则也可以确定该电压检测电路3检测到的电压值不符合该预设条件; 或者,若该外壳电压值和该引脚电压值均大于或等于该预设阈值,则同样确定该电压检测电路3检测到的电压值不符合该预设条件。Wherein, if the voltage value of the casing and/or the voltage value of the pin is greater than or equal to the preset threshold, determining that the voltage value detected by the
步骤703:当该电压检测电路检测到的电压值不符合该预设条件时,确定该本端设备与该对端设备未共地。Step 703: When the voltage value detected by the voltage detecting circuit does not meet the preset condition, determine that the local device is not co-located with the peer device.
需要说明的是,在实际实现时上述步骤702和步骤703没有先后执行顺序。It should be noted that, in actual implementation, the
在实际应用场景中,当检测到本端设备与对端设备不共地时,可以通过指示灯或图形界面提示用户,在该种请况下,用户可以通过其它设备来检测不共地的原因,并针对所检测到的原因,采取对应的策略。例如,在一种可能的实现方式中,可能的是由于线缆接口连接松动导致本端设备与对端设备不同地,在该种情况下,用户可以重新插入线缆接口。In the actual application scenario, when it is detected that the local device and the peer device are not in common, the user may be prompted by an indicator light or a graphical interface. In this case, the user may use other devices to detect the reason for the non-common ground. And take the corresponding strategy for the detected reason. For example, in a possible implementation, it is possible that the local device is different from the peer device due to the loose connection of the cable interface, in which case the user can reinsert the cable interface.
在本发明实施例中,在通过线缆接口与对端设备连接的过程中,当开关电路处于断开状态时,接口连接器的地信号输出端与本端设备的参考地断开连接,此时,电压检测电路检测该地信号输出端的电压值。由于该地信号输出端用于当接口连接电路通过接口连接器与线缆接口对接时输出线缆接口所传输的地信号,且该电压检测电路的参考平面为本地设备的参考地,因此,所检测的电压值即可认为是本端设备与对端设备之间的电压差。当该电压值符合预设条件时,确定本端设备与对端设备共地,反之,当该电压值不符合该预设条件时,确定本端设备与对端设备未共地。如此,在通过线缆接口与对端设备连接的过程中,可以自动检测与对端设备是否共地,避免需要用户手动操作,提高了检测效率。In the embodiment of the present invention, in the process of connecting to the peer device through the cable interface, when the switch circuit is in the disconnected state, the ground signal output end of the interface connector is disconnected from the reference ground of the local device, The voltage detecting circuit detects the voltage value of the ground signal output terminal. The ground signal output end is used for outputting a ground signal transmitted by the cable interface when the interface connecting circuit is connected to the cable interface through the interface connector, and the reference plane of the voltage detecting circuit is a reference ground of the local device, therefore, The detected voltage value can be regarded as the voltage difference between the local device and the opposite device. When the voltage value meets the preset condition, it is determined that the local device is co-located with the peer device, and when the voltage value does not meet the preset condition, it is determined that the local device and the peer device are not co-located. In this way, in the process of connecting to the peer device through the cable interface, it is possible to automatically detect whether the peer device is co-located, avoiding manual operation by the user, and improving the detection efficiency.
需要说明的是:上述实施例提供的共地检测电路在实现共地检测方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的共地检测电路与共地检测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the common ground detection circuit provided by the foregoing embodiment implements the common ground detection method, only the division of each functional module described above is illustrated. In actual applications, the foregoing functions may be assigned different functions according to needs. The module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the common ground detection circuit and the common ground detection method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述实施例并不用以限制本发明实施例,凡在本发明实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above-mentioned embodiments are not intended to limit the embodiments of the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the embodiments of the present invention, should be included in the scope of protection of the embodiments of the present invention. Inside.
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710016821.8A CN108287289B (en) | 2017-01-10 | 2017-01-10 | Common ground detection circuit and detection method thereof |
| CN201710016821.8 | 2017-01-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018130129A1 true WO2018130129A1 (en) | 2018-07-19 |
Family
ID=62819520
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/071788 Ceased WO2018130129A1 (en) | 2017-01-10 | 2018-01-08 | Common ground detection circuit and detection method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108287289B (en) |
| WO (1) | WO2018130129A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113009266B (en) * | 2021-03-18 | 2024-06-21 | 广州亚美智造科技有限公司 | Jig plug detection circuit |
| CN118948175B (en) * | 2024-08-01 | 2025-10-31 | 杭州海康慧影科技有限公司 | Electronic endoscope system |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101281227A (en) * | 2007-12-29 | 2008-10-08 | 青岛海信电器股份有限公司 | Ground wire voltage and current detecting device |
| CN202649287U (en) * | 2012-06-06 | 2013-01-02 | 上海博曦计量测试技术有限公司 | A voltage difference detector of common-ground devices |
| US20130057293A1 (en) * | 2011-09-02 | 2013-03-07 | Renesas Electronics Corporation | Voltage monitoring circuit, test method therefor, and voltage monitoring system |
| CN103454557A (en) * | 2013-08-29 | 2013-12-18 | 华为技术有限公司 | Method and device for detecting cable fault |
| CN203561719U (en) * | 2013-11-08 | 2014-04-23 | 联想(北京)有限公司 | Ground wire connection state detecting and alarming device, and power source |
| CN104111399A (en) * | 2013-04-22 | 2014-10-22 | 上海航天汽车机电股份有限公司 | Vehicle electronic control unit ground connection and ground pressure difference detection circuit |
| CN105158625A (en) * | 2015-07-30 | 2015-12-16 | 青岛海尔科技有限公司 | Grounding detection device for household electrical appliance ground wire |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2970784B1 (en) * | 2011-01-26 | 2016-10-28 | Peugeot Citroen Automobiles Sa | DEVICE FOR DETECTING EARTH CONNECTION FAULT OF AN ELECTRICAL CONNECTOR SYSTEM |
| US9244118B2 (en) * | 2012-12-30 | 2016-01-26 | Global Unichip Corp. | Testing system with an isolated switching module |
| CN104007353B (en) * | 2013-02-26 | 2016-12-28 | 国网山东省电力公司菏泽供电公司 | Interface testing circuit |
-
2017
- 2017-01-10 CN CN201710016821.8A patent/CN108287289B/en active Active
-
2018
- 2018-01-08 WO PCT/CN2018/071788 patent/WO2018130129A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101281227A (en) * | 2007-12-29 | 2008-10-08 | 青岛海信电器股份有限公司 | Ground wire voltage and current detecting device |
| US20130057293A1 (en) * | 2011-09-02 | 2013-03-07 | Renesas Electronics Corporation | Voltage monitoring circuit, test method therefor, and voltage monitoring system |
| CN202649287U (en) * | 2012-06-06 | 2013-01-02 | 上海博曦计量测试技术有限公司 | A voltage difference detector of common-ground devices |
| CN104111399A (en) * | 2013-04-22 | 2014-10-22 | 上海航天汽车机电股份有限公司 | Vehicle electronic control unit ground connection and ground pressure difference detection circuit |
| CN103454557A (en) * | 2013-08-29 | 2013-12-18 | 华为技术有限公司 | Method and device for detecting cable fault |
| CN203561719U (en) * | 2013-11-08 | 2014-04-23 | 联想(北京)有限公司 | Ground wire connection state detecting and alarming device, and power source |
| CN105158625A (en) * | 2015-07-30 | 2015-12-16 | 青岛海尔科技有限公司 | Grounding detection device for household electrical appliance ground wire |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108287289A (en) | 2018-07-17 |
| CN108287289B (en) | 2020-04-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11749954B2 (en) | Semiconductor USB device for detecting foreign substances and method of operating the same | |
| TWI552562B (en) | Method, apparatus and system for transitioning an audio/video device between a source mode and a sink mode | |
| JP5683696B2 (en) | Detecting cable connections for electronic devices | |
| CN102655580B (en) | Method and device for image processing | |
| US20130219087A1 (en) | High-definition multimedia interface (hdmi) receiver apparatuses, hdmi systems using the same, and control methods therefor | |
| CN103702056B (en) | HDMI (High-definition Multimedia Interface) signal processing circuit and method | |
| WO2012097615A2 (en) | Multi-purpose connector for multiplexing headset interface into high definition video and audio interface and handheld electronic device | |
| WO2018103417A1 (en) | Terminal apparatus, read-write apparatus, data transmission system and hardware initialization method | |
| US11094488B2 (en) | Port connection circuit, port connection control method and electronic device | |
| US10963027B2 (en) | Methods and apparatus for safe negotiation of high current for active cable assemblies | |
| WO2014050807A1 (en) | Electronic device, communication system, and hot-plug control method | |
| WO2018130129A1 (en) | Common ground detection circuit and detection method thereof | |
| US11503249B2 (en) | Relay device, receiving device, and transmission system using same | |
| US10176780B2 (en) | Power for an HDMI source device | |
| JP6491760B2 (en) | Interface identification method and terminal | |
| CN101458918B (en) | High-definition multimedia interface receiver/transmitter chipset | |
| CN114676089A (en) | Interface compatible system, compatibility control method, electronic device, and readable storage medium | |
| CN105098406A (en) | Wire end connector |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18738761 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18738761 Country of ref document: EP Kind code of ref document: A1 |