[go: up one dir, main page]

CN214895749U - Connection state detection circuit, connection state detection device, and electronic apparatus - Google Patents

Connection state detection circuit, connection state detection device, and electronic apparatus Download PDF

Info

Publication number
CN214895749U
CN214895749U CN202121123817.XU CN202121123817U CN214895749U CN 214895749 U CN214895749 U CN 214895749U CN 202121123817 U CN202121123817 U CN 202121123817U CN 214895749 U CN214895749 U CN 214895749U
Authority
CN
China
Prior art keywords
module
resistor
connection state
power supply
interface
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
CN202121123817.XU
Other languages
Chinese (zh)
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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202121123817.XU priority Critical patent/CN214895749U/en
Application granted granted Critical
Publication of CN214895749U publication Critical patent/CN214895749U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The application provides a connection state detection circuit, a connection state detection device and an electronic device. The power supply module is used for providing voltage, the first input end of the switch module is used for being connected with the interface to be detected, the second input end of the switch module is connected with the power supply module, the output end of the switch module is grounded, the input end of the voltage output module is connected between the power supply module and the second input end of the switch module, and the output end of the voltage output module is used for being connected with the controller and outputting a voltage signal to the controller, so that the controller can determine the connection state of the interface to be detected according to the voltage signal output by the output end of the voltage output module. The connection state detection circuit is simple in circuit structure and can quickly and conveniently detect the connection state of the to-be-detected interface connected with the connection state detection circuit.

Description

Connection state detection circuit, connection state detection device, and electronic apparatus
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a connection state detection circuit, a connection state detection device, and an electronic apparatus.
Background
At present, for devices such as access control devices, video intercom devices, fixed phones and the like which need to be connected to a network cable, or for devices which need to detect a connection state, when device authentication is performed, in order to meet authentication requirements, the device connection state stored in a PHY register of a network port is read and then reported through an SMI BUS (BUS in a computer system with a serial interface), and the reading and reporting processes are all executed by software programs, but hardware is not supported.
Content of application
In view of the above problems, the present application provides a connection state detection circuit, a connection state detection device, and an electronic apparatus, which are simple in structure and capable of detecting a connection state of the apparatus quickly and conveniently.
The embodiment of the application is realized by adopting the following technical scheme:
a connection state detection circuit comprises a power supply module, a switch module and a voltage output module, wherein the power supply module is used for providing voltage; the first input end of the switch module is used for being connected with the interface to be detected, the second input end of the switch module is connected with the power supply module, and the output end of the switch module is grounded; the input end of the voltage output module is connected between the power supply module and the second input end of the switch module, and the output end of the voltage output module is used for being connected with the controller and outputting a voltage signal to the controller, so that the controller can determine the connection state of the interface to be detected according to the voltage signal output by the output end of the voltage output module.
In an implementation manner, the switch module includes an electronic switch, a control end of the electronic switch is connected to the interface to be detected, an input end of the electronic switch is connected to the power supply module, and an output end of the electronic switch is connected to the input end of the voltage output module.
In one embodiment, the electronic switch comprises a transistor or a field effect transistor.
In one embodiment, the power supply module includes a power supply and a third resistor, and the third resistor is connected between the power supply and the second input terminal of the voltage output module.
In an embodiment, the voltage output module includes a fourth resistor, a first end of the fourth resistor is connected between the third resistor and the second input end of the switch module, and a second end of the fourth resistor is connected to the controller.
In one embodiment, the voltage output module further includes a capacitor, a first end of the capacitor is connected between the fourth resistor and the controller, and a second end of the capacitor is grounded.
The embodiment of the application also provides a connection state detection device, which comprises a controller and the connection state detection circuit.
The embodiment of the application also provides electronic equipment which comprises the interface to be detected, the controller and the connection state detection circuit.
In an implementation manner, the electronic device includes a video intercom device, the interface to be detected is a network cable interface, when the network cable interface is not plugged with a network cable, the voltage signal output by the output end of the voltage output module is a low-level signal, and when the network cable interface is plugged with a network cable, the voltage signal output by the output end of the voltage output module is a high-level signal.
The embodiment of the application provides a connection state detection circuit, connection state detection device and electronic equipment, connection state detection circuit is including the power module, switch module and the voltage output module that are used for providing voltage, and switch module's first input is used for with wait to detect interface connection, the second input is connected with power module, the output ground connection, voltage output module's input is connected between power module and switch module's second input, the output be used for with the controller be connected and to controller output voltage signal to make the controller can confirm to wait to detect the connection state of interface according to the voltage signal of voltage output module's output. Therefore, the connection state of the interface to be detected is detected by using the connection state detection circuit, and the circuit structure of the connection state detection circuit is simple.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a block diagram of a connection status detection circuit according to an embodiment of the present application.
Fig. 2 shows a schematic circuit diagram of a connection status detection circuit according to another embodiment of the present application.
Fig. 3 shows another schematic diagram of a connection status detection circuit according to another embodiment of the present application.
Fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, fig. 1 schematically illustrates a connection state detection circuit 100 provided in an embodiment of the present application, which includes a power supply module 110, a switch module 120, and a voltage output module 130.
The power supply module 110 may include a power supply, a power supply circuit connected to the power supply, and a power supply circuit as long as the power supply can provide a voltage.
When the power supply module 110 includes a power supply, the power supply may be a power supply with a variable output voltage, or a power supply for outputting a fixed voltage value, where the fixed voltage value output by the power supply module 110 may be one fixed voltage value, or may be a plurality of fixed voltage values with different voltages.
As an embodiment, if the power supply included in the power supply module 110 is a power supply with a variable output voltage, the output voltage value may be between 3V and 10V, or between 5V and 12V, or between 3V and 24V, and the setting is performed according to actual requirements, and is not limited specifically herein.
As an embodiment, if the power supply included in the power supply module 110 is a power supply outputting a fixed voltage value, the output voltage value is not specifically limited herein, and may be one or more of 3V, 3.3V, 5V, 12V, 24V, and the like.
On the basis that the power supply module 110 includes a power supply, the power supply module 110 may further include a power supply circuit connected between the power supply module 110 and the devices to be powered (e.g., the switch module 120 and the voltage module), where the power supply circuit may include one or more resistors, and when the power supply circuit includes a plurality of resistors, the plurality of resistors may be connected in series or in parallel, and the power supply circuit may include a resistor for limiting the magnitude of the current flowing through the devices in the switch module 120 and/or the voltage output module 130, so as to protect the switch module 120 and the voltage module.
It should be understood that the power supply module 110 may also include more components, such as switches, capacitors, etc., as long as they can be used to provide a voltage.
The first input end of the switch module 120 is used for being connected with the interface 200 to be detected, the second input end is connected with the power supply module 110, and the output end is grounded.
The interface 200 to be detected may be a network cable interface, a signal transmission interface, or a power supply interface, and the voltage values output to the switch module 120 are different in different connection states. For example, a low level signal may be output to the switch module 120 in a connected state, and a high level signal may be output to the switch module 120 in a floating or disconnected state; also for example, a high signal may be output to the switch module 120 in a connected state, and a low signal may be output to the switch module 120 in a floating or disconnected state. The method is not particularly limited, and the method may be set or selected according to actual requirements.
The switch module 120 may include one or more switching devices of a relay, a triode, a field effect transistor, and the like, and the switch module 120 may further include electrical components such as a resistor, an inductor, and the like, which are not specifically limited herein, as long as the voltage value of the second input terminal of the switch module 120 is different when the to-be-detected interface 200 connected to the first input terminal of the switch module 120 is in different connection states.
The input end of the voltage output module 130 is connected between the power supply module 110 and the second input end of the switch module 120, and the output end is used for being connected with the controller 300 and outputting a voltage signal to the controller 300, so that the controller 300 can determine the connection state of the interface 200 to be detected according to the voltage signal output by the output end of the voltage output module 130.
The voltage output module 130 may be only a wire, and may also include one or more devices of a resistor, a capacitor, an inductor, and the like, so as to directly output the voltage at the second input end of the switch module 120 to the controller 300 or output the voltage to the controller 300 after processing, so that the controller 300 can determine the connection state of the interface 200 to be detected according to the voltage value received by the controller 300.
By adopting the connection state detection circuit 100 of the present application, the voltage of the second input port of the switch module 120 is different by using the first input terminal of the switch module 120 in different connection states of the to-be-detected interface 200, and the voltage signal corresponding to the voltage of the second input port is output to the controller 300 by using the voltage output module 130, so that the controller 300 can quickly and accurately determine the connection state of the to-be-detected interface 200 according to the voltage signal output by the output terminal of the voltage output module 130, and the connection state detection circuit 100 has a simple circuit structure and is convenient for assembly and setting.
Referring to fig. 2, an embodiment of the present invention provides a connection status detection circuit 100, which includes a power supply module 110, a switch module 120, and a voltage output module 130.
The power supply module 110 is configured to provide a voltage, the switch module 120 includes an electronic switch Q, a control end of the electronic switch Q is connected to the interface 200 to be detected, and an input end of the electronic switch Q is connected to the power supply module 110 and to an input end of the voltage output module 130. The input end of the voltage output module 130 is connected between the power supply module 110 and the input end of the electronic switch Q, and the output end of the voltage output module 130 is used for being connected with the controller 300 and outputting a voltage signal to the controller 300, so that the controller 300 can determine the connection state of the interface 200 to be detected according to the voltage signal output by the output end of the voltage output module 130.
The electronic switch Q may be a transistor, a field effect transistor, or a relay (fig. 2 only shows the case where the transistor is included).
In an embodiment, when the electronic switch Q is a triode, the triode may be an NPN-type triode or a PNP-type triode, and is not limited herein.
The base set of the triode is connected with the interface 200 to be detected, the collector is connected with the power supply module 110 and is connected with the input end of the voltage output module 130, and the emitter is grounded.
In another embodiment, when the electronic switch Q is a fet, the fet may be an N-type fet or a P-type fet, and is not particularly limited herein.
The gate of the field effect transistor is connected to the interface 200 to be detected, the drain is connected to the power supply module 110 and to the input terminal of the voltage output module 130, and the source is grounded.
In this embodiment, the switch module 120 further includes a first resistor R1 and a second resistor R2, the first resistor R1 is connected between the control terminal of the electronic switch Q and the interface 200 to be tested, a first end of the second resistor R2 is connected between the first resistor R1 and the control terminal of the electronic switch Q, and a second end of the second resistor R2 is grounded.
Through the arrangement of the first resistor R1 and the second resistor R2, the current flowing through the electronic switch Q when the electronic switch Q is turned on can be effectively reduced, so that the electronic switch Q is prevented from being damaged due to the fact that the current flowing through the electronic switch Q is too large.
Referring to fig. 3, the power supply module 110 of the connection status detecting circuit 100 includes a power supply U and a third resistor R3, and the third resistor R3 is connected between the power supply U and the second input terminal of the voltage output module 130.
It should be understood that if the electronic switch Q in the power supply module 110 is a transistor, the third resistor R3 is connected between the power supply U and the collector of the transistor. If the electronic switch Q in the power supply module 110 is a field effect transistor, the third resistor R3 is connected between the power supply U and the drain of the field effect transistor.
The resistance of the third resistor R3 can be set according to actual requirements, and the third resistor R3 can be formed by connecting a plurality of resistors in series or in parallel.
Referring to fig. 4, as an embodiment, the voltage output module 130 includes a fourth resistor R4, a first end of the fourth resistor R4 is connected between the power supply module 110 and the second input end of the switch module 120, and a second end of the fourth resistor R4 is connected to the controller 300.
Specifically, if the power supply module 110 includes a power supply and a third resistor R3, a first end of the fourth resistor R4 is connected between the third resistor R3 and the second input end of the switch module 120, and a second end of the fourth resistor R4 is connected to the controller 300.
In one embodiment, the voltage output module 130 further includes a capacitor C, a first end of the capacitor C is connected between the fourth resistor R4 and the controller 300, and a second end of the capacitor C is grounded.
By arranging the capacitor C and the fourth resistor R4, when the interface 200 to be detected is in a suspended state (in an unconnected state), the electronic switch Q is in a cut-off state, the capacitor C stores electric energy, the output end of the voltage output module 130 outputs a high level signal, and if the connection state of the interface 200 to be detected changes, the electronic switch Q can be switched from the cut-off state to the conduction state, the capacitor C discharges through the fourth resistor R4, and the signal at the output end of the voltage output module 130 is gradually switched from the high level signal to the low level signal.
Specifically, taking the interface 200 to be detected as a network cable interface as an example, the network cable interface has a pin, which can be used to connect an indicator light for indicating whether the network cable interface is in a connection state, the input end of the switch module 120 is connected to the pin of the network cable interface, if the network cable interface is not plugged with a network cable (in a suspended state or in an unconnected state), the indication signal output by the detection pin corresponding to the interface is a low level signal, at this time, the electronic switch Q is not turned on, so that the input end of the electronic switch is in a high level state, correspondingly, the signal output to the controller through the fourth resistor R4 is also a high level signal, if the network cable interface is plugged with a network cable (on which day of the connection device), two pins of the network cable interface can be switched according to a high-low level 100ms cycle, correspondingly, the electronic switch Q can be periodically turned on under the effect of the high-low level cycle switching, accordingly, the controller may recognize that the network cable is inserted into the network cable interface when the controller detects that the periodic high-low level transition is output as a periodically varying level signal through the fourth resistor R4.
Referring to fig. 1 again, the embodiment of the present application further provides a connection status detection apparatus, which includes a controller 300 and the connection status detection circuit 100 according to the above embodiment.
The controller 300 may include one or more cores for processing data and a message matrix unit. The controller 300 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The controller 300 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like.
For the connection manner of the connection state detection circuit 100 and the controller 300, reference may be specifically made to the foregoing detailed description of the connection state detection circuit 100, which is not repeated herein.
Referring to fig. 1 again, another embodiment of the present application provides an electronic device, in which the connection state detection apparatus or the connection state detection circuit 100 of any of the embodiments is disposed.
It should be understood that the electronic device further includes the interface 200 to be detected and the controller 300, and as for the interconnection relationship among the interface 200 to be detected, the controller 300 and the connection state detection circuit 100, reference may be made to the foregoing detailed description of the connection state detection circuit 100, which is not described in detail herein.
The electronic device can be a visual intercom device, an intelligent household appliance such as an intelligent refrigerator, an intelligent television and an intelligent closestool, a terminal device such as a desktop computer and an upper computer, and the type of the electronic device is not limited in the embodiment.
As an implementation manner, the electronic device includes a video intercom device, the interface 200 to be detected is a network cable interface, when the network cable interface is not plugged with a network cable, the voltage signal output by the output end of the voltage output module 130 is a low-level signal, and when the network cable interface is plugged with a network cable, the voltage signal output by the output end of the voltage output module 130 is a high-level signal.
It should be understood that each electronic device may include one or more interfaces 200 to be detected. Each interface to be tested 200 may be tested using one or more connection status detection circuits 100.
As an embodiment, the electronic device includes one to-be-detected interface 200, the to-be-detected interface 200 has two corresponding detection pins, each pin of the to-be-detected interface 200 is correspondingly connected to one connection state detection circuit 100, each pin of the to-be-detected interface 200 is configured to output different level signals when the to-be-detected interface 200 is in different connection states, and an output end of each connection state detection circuit 100 is connected to one input/output interface of the controller 300, so that the controller 300 determines the connection state of the to-be-detected interface 200 according to the level signal detected by each connection state detection circuit 100.
To sum up, according to the connection status detection circuit 100, the connection status detection device and the electronic apparatus provided in the embodiment of the present application, the first input end of the switch module 120 in the connection status detection circuit 100 is utilized to enable the voltages of the second input ports of the switch module 120 to be different in different connection statuses of the to-be-detected interface 200, and the voltage output module 130 is utilized to output the voltage signal corresponding to the voltage of the second input port to the controller 300, so that the controller 300 can quickly and accurately determine the connection status of the to-be-detected interface 200 according to the voltage signal output by the output end of the voltage output module 130, and the connection status detection circuit 100 has a simple circuit structure and is convenient to assemble and set.
Although the present application has been described with reference to the preferred embodiments, it is to be understood that the present application is not limited to the disclosed embodiments, but rather, the present application is intended to cover various modifications, equivalents and alternatives falling within the spirit and scope of the present application.

Claims (10)

1. A connection state detection circuit, comprising:
the power supply module is used for supplying voltage;
the first input end of the switch module is used for being connected with the interface to be detected, the second input end of the switch module is connected with the power supply module, and the output end of the switch module is grounded;
and the input end of the voltage output module is connected between the power supply module and the second input end of the switch module, and the output end of the voltage output module is used for being connected with the controller and outputting a voltage signal to the controller, so that the controller can determine the connection state of the interface to be detected according to the voltage signal output by the output end of the voltage output module.
2. The connection status detection circuit according to claim 1, wherein the switch module comprises an electronic switch, a control terminal of the electronic switch is connected to the interface to be detected, an input terminal of the electronic switch is connected to the power supply module, and an output terminal of the electronic switch is connected to the input terminal of the voltage output module.
3. The connection status detection circuit according to claim 2, wherein the switch module further comprises a first resistor and a second resistor, the first resistor is connected between the control terminal of the electronic switch and the interface to be detected, a first end of the second resistor is connected between the first resistor and the control terminal of the electronic switch, and a second end of the second resistor is grounded.
4. The connection state detection circuit according to claim 2, wherein the electronic switch comprises a triode or a field effect transistor.
5. The connection status detecting circuit according to claim 1, wherein the power supply module comprises a power supply and a third resistor, and the third resistor is connected between the power supply and the second input terminal of the voltage output module.
6. The connection status detecting circuit according to claim 5, wherein the voltage output module comprises a fourth resistor, a first end of the fourth resistor is connected between the third resistor and the second input terminal of the switch module, and a second end of the fourth resistor is connected to the controller.
7. The connection status detecting circuit according to claim 6, wherein the voltage output module further comprises a capacitor, a first end of the capacitor is connected between the fourth resistor and the controller, and a second end of the capacitor is grounded.
8. A connection state detection device characterized by comprising a controller and the connection state detection circuit according to any one of claims 1 to 7.
9. An electronic device comprising an interface to be detected, a controller, and the connection state detection circuit according to any one of claims 1 to 7.
10. The electronic device according to claim 9, wherein the electronic device comprises a video intercom device, the interface to be detected is a network cable interface, when the network cable interface is not plugged with a network cable, the voltage signal output by the output terminal of the voltage output module is a low-level signal, and when the network cable interface is plugged with a network cable, the voltage signal output by the output terminal of the voltage output module is a high-level signal.
CN202121123817.XU 2021-05-24 2021-05-24 Connection state detection circuit, connection state detection device, and electronic apparatus Active CN214895749U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121123817.XU CN214895749U (en) 2021-05-24 2021-05-24 Connection state detection circuit, connection state detection device, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121123817.XU CN214895749U (en) 2021-05-24 2021-05-24 Connection state detection circuit, connection state detection device, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN214895749U true CN214895749U (en) 2021-11-26

Family

ID=78900681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121123817.XU Active CN214895749U (en) 2021-05-24 2021-05-24 Connection state detection circuit, connection state detection device, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN214895749U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118884180A (en) * 2024-07-26 2024-11-01 无锡英迪芯微电子科技股份有限公司 A detection circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118884180A (en) * 2024-07-26 2024-11-01 无锡英迪芯微电子科技股份有限公司 A detection circuit

Similar Documents

Publication Publication Date Title
CN100549973C (en) A kind of usb bus interface detection apparatus and detection method thereof
EP2527854B1 (en) Systems and methods for determining electrical faults
US9904642B2 (en) Detection circuit of universal serial bus
US20120153993A1 (en) Usb port detecting circuit
CN107316598B (en) Hot-plug short circuit control device and method
CN103237189A (en) Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
US20120098461A1 (en) Power supply detecting circuit
CN109490763B (en) Universal testing device and testing method for single board of relay
CN104111416A (en) Test circuit used for intelligent power module and test method thereof
CN105022468A (en) USB adapter and USB line
CN104635102A (en) Electronic component detection device and detection method thereof
CN214895749U (en) Connection state detection circuit, connection state detection device, and electronic apparatus
US4130794A (en) Methods and means for identifying and testing circuit connections
CN113572622B (en) POE power supply system and POE power supply method
US6912678B1 (en) System for identifying valid connections between electrical system components and responding to invalid connections
CN206057532U (en) Power supply detection equipment and vehicle-mounted audio-video system
CN104182315A (en) Circuit for controlling debugging function, electronic equipment and corresponding debugging equipment thereof
CN110875607B (en) Charging system
CN207602192U (en) A kind of lighting jig of display panel
CN214173663U (en) Testing arrangement of weeping response line
US6483317B1 (en) System for identifying valid connections between electrical system components and responding to invalid connections
CN111726119B (en) Key detection circuit and detection method
CN104252216A (en) Anti-creeping USB (universal serial bus) power supply circuit
US20090167099A1 (en) Switch Device for Switching Different Type Signals
CN109871111B (en) Display and electronic device using same

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant