Open and short circuit detection circuit and port test equipment
By designing a short-circuit detection circuit, the automatic detection of the connector IO interface is achieved using analog switches and excitation source modules, the non-standard device interface connection problem is solved, the detection efficiency and accuracy are improved, and the equipment is damaged.
Patent Information
- Application Number
- CN202421512984.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2034-06-28
AI Technical Summary
In the prior art, it is difficult to detect the IO interface connection problem of the connector of non-standard equipment efficiently and accurately, resulting in the problem of interface connection caused by production reasons or mismatch of wire sequences and difficult to detect automatically.
A short-circuit detection circuit is designed, including a connection module, a switch module, a control module and an excitation source module. The connection switching and detection of different interfaces are realized through analog switches, and the signal is converted into a digital signal in combination with the conversion and reading module, and the power supply and ground excitation unit are used for short-circuit detection.
It realizes automatic and efficient detection of the docking plug-in IO interface, improves detection efficiency, ensures the accuracy of the connection status, and avoids equipment damage caused by short circuits.
Smart Images

Figure CN223139808U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic test equipment, and particularly to an open - short circuit detection circuit and a port test device. Background Art
[0002] In many non - standard equipment fields, due to the product requirements or customization requirements of customers, the connection between the equipment and the product is not the common standard interfaces such as DB9 serial ports, USB, PCIE, network ports, etc. Instead, it is some connectors such as FPC, 2.54 - pitch header wires, 0.5 - pitch coaxial cables, etc. These connectors also have various numbers of PINs and various pitches, and there are also custom definitions in these connectors between the equipment suppliers and the manufacturer's products. These custom definitions contain power signals, etc. At the same time, these definitions are a jumbled mix of various signal powers, without standards, completely determined by the designer or the customer, and completely without rules. And in the later stage, due to reasons such as customer product manufacturing or wire sequence mismatch, problems occur in the connection between the front - end equipment and the back - end product, such as IO short - circuit, short - circuit between IO, etc. Once such a phenomenon occurs, the IO will not work properly during subsequent operation, or the back - end IC will be burned due to the short - circuit between the IO and the power supply. As a result, the back - end customer product cannot work properly or is damaged.
[0003] In the related art, current equipment is generally composed of equipment suppliers and product test users. Generally, for the interface part of the equipment designed and produced by equipment suppliers, visual inspection or actual measurement is mainly adopted, and tests are generally completed before delivery to customers. And for the customer side, since it is the product supplier, its products need to be tested by the equipment provided by the equipment manufacturer.
[0004] However, the applicant has found that the current equipment detection device has the following technical problems:
[0005] Due to the difference between the detection side and the product supplier, there are connection problems with the IO interfaces of the connectors caused by production reasons or wire sequence mismatch, making it difficult to perform efficient and accurate detection. Summary of the Invention
[0006] Based on this, it is necessary to provide an open - short circuit detection circuit and a port test device that perform open - short circuit tests on the IO interfaces of connectors to determine the connection status of the IO interfaces of the connectors and improve the detection efficiency.
[0007] In a first aspect, this application provides an open - short circuit detection circuit, and the open - short circuit detection circuit includes:
[0008] A connection module, configured to connect with the interface of the connector to be tested to achieve the interaction of detection signals;
[0009] A switch module, connected to the connection module, for controlling the conduction and disconnection of the ports of the connection module;
[0010] A control module, connected to the switch module, for controlling the state switching of the switch module, and also for performing open / short circuit judgment on the interfaces of the connector under test;
[0011] An excitation source module, connected to the switch module, for outputting an excitation signal to implement open / short circuit detection of the connector under test.
[0012] In one embodiment, the switch module is an analog switch, and the analog switch is used to implement connection switching between different interfaces in the connection with the connector under test.
[0013] In one embodiment, the switch module is a multi-channel analog switch, and the number of channels of the analog switch is not less than the number of interfaces of the connector under test.
[0014] In one embodiment, the switch module includes a plurality of analog switches.
[0015] In one embodiment, the open / short circuit detection circuit includes:
[0016] A conversion and reading module, respectively connected to the control module and the switch module, for reading the interface state of the switch module and converting it into a digital signal.
[0017] In one embodiment, the excitation source module includes:
[0018] A power supply excitation unit, connected to the switch module, for outputting a power supply excitation signal;
[0019] A ground excitation unit, connected to the switch module, for outputting a ground excitation signal, and the ground excitation unit is used to implement open / short circuit detection between different interfaces according to the ground excitation signal.
[0020] In one embodiment, a pull-up resistor is provided between the power supply excitation unit and the switch module.
[0021] In one embodiment, the conversion speed and conversion accuracy of the conversion and reading module are adapted to the connector under test.
[0022] In one embodiment, the control module is further configured to output an enable signal, and the enable signal is used to control the closing of the switch module.
[0023] In a second aspect, an embodiment of the present application provides a port testing device, including an open - short - circuit detection circuit according to any one of the first aspect.
[0024] For the above - mentioned display device detection device, by deriving through the technical features in the claims, the following beneficial effects can be achieved for the technical problems proposed in the corresponding background technology:
[0025] The present application provides an open - short - circuit detection circuit. The open - short - circuit detection circuit includes: a connection module for connecting to the interface of the connector under test to realize the interaction of detection signals; a switch module connected to the connection module for controlling the on - off of the ports of the connection module; a control module connected to the switch module for controlling the state switching of the switch module and also for judging the open - short - circuit of the interface of the connector under test; an excitation source module connected to the switch module for outputting excitation signals to realize the open - short - circuit detection of the connector under test. In implementation, the hardware connection between the open - short - circuit detection circuit and the connector under test can be realized through the connection module, the on - off control between different ports can be realized through the switch module, and finally the specific function detection of the open - short - circuit can be realized with the support of the excitation source. It helps to automatically and efficiently realize the open - short - circuit detection of the connector under test, thereby ensuring the connection state of the connector IO interface and improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0027] Figure 1 It is a schematic diagram of the circuit architecture of an open - short - circuit detection circuit in an embodiment of the present application;
[0028] Figure 2 It is a schematic diagram of the circuit connection of an open - short - circuit detection circuit in an embodiment of the present application;
[0029] Figure 3 It is a schematic diagram of the implementation logic for the open - short - circuit detection of the interface by an open - short - circuit detection circuit in an embodiment of the present application;
[0030] Figure 4 It is a schematic diagram of the implementation logic for the open - short - circuit detection between interfaces by an open - short - circuit detection circuit in an embodiment of the present application.
[0031] Reference numerals: 1, connection module; 2, switch module; 21, analog switch; 3, control module; 4, excitation source module; 41, power supply excitation unit; 42, ground excitation unit; 5, conversion and reading module; 6, pull-up resistor. Detailed implementation manners
[0032] To facilitate the understanding of the present application, the present application will be described more comprehensively below with reference to the relevant drawings. Embodiments of the present application are shown in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present application more thorough and comprehensive.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0034] It can be understood that the terms "first", "second", etc. used in the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the present application, the first resistor can be called the second resistor, and similarly, the second resistor can be called the first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0035] It can be understood that "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is an electrical signal or data transfer between the connected circuits, modules, units, etc.
[0036] It can be understood that "at least one" means one or more, and "a plurality" means two or more. "At least part of an element" means part or all of the element.
[0037] As used herein, the singular forms "a", "an" and "the" may also include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "include" or "have" etc. specify the presence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the related listed items.
[0038] This application is made by the inventors based on the recognition and research of the following problems, specifically:
[0039] In the related art, current devices are composed of device suppliers and product test users respectively. Generally, for the interface part of the devices designed and produced by device suppliers themselves, visual inspection or actual measurement is mainly adopted, and tests are generally completed before shipment before delivering to customers. On the customer side, since they are product suppliers, they need the device provided by the device manufacturer to test their products.
[0040] However, the applicant has found that the current device detection device has the following technical problems:
[0041] Since the detection party and the product supplier are different, there are connection problems of the IO interface caused by production reasons or wire sequence mismatches of wires, resulting in difficult to detect efficiently and accurately.
[0042] Based on this, the embodiment of the present application provides an open - short - circuit detection circuit, which can be as Figure 1 shown, including a connection module 1, a switch module 2, a control module 3 and an excitation source module 4.
[0043] Specifically, the connection module 1 is used to connect with the interface of the connector to be tested to realize the interaction of detection signals;
[0044] The switch module 2 is connected to the connection module 1 and is used to control the conduction and cut - off of the ports of the connection module 1;
[0045] The control module 3 is connected to the switch module 2, is used to control the state switching of the switch module 2, and is also used to judge the open - short - circuit of the interface of the connector to be tested;
[0046] The excitation source module 4 is connected to the switch module 2 and is used to output an excitation signal to realize the open - short - circuit detection of the connector to be tested.
[0047] By implementing the above - mentioned open - short - circuit detection circuit, the following beneficial effects can be achieved:
[0048] The embodiment of the present application provides an open - short - circuit detection circuit. The open - short - circuit detection circuit includes: a connection module 1, which is used to connect with the interface of the connector to be tested to realize the interaction of detection signals; a switch module 2, connected to the connection module 1, which is used to control the conduction and cut - off of the ports of the connection module 1; a control module 3, connected to the switch module 2, which is used to control the state switching of the switch module 2 and is also used to judge the open - short - circuit of the interface of the connector to be tested; an excitation source module 4, connected to the switch module 2, which is used to output excitation signals to realize the open - short - circuit detection of the connector to be tested. In implementation, the hardware connection between the open - short - circuit detection circuit and the connector to be tested can be realized through the connection module 1, the conduction and cut - off control between different ports can be realized through the switch module 2, and finally the specific function detection of the open - short - circuit can be realized with the support of the excitation source. It helps to automatically and efficiently realize the open - short - circuit detection of the connector to be tested, so as to determine the connection state of the connector interface and improve the detection efficiency.
[0049] In one embodiment, the switch module 2 is an analog switch 21, and the analog switch 21 is used to realize the connection switching between different interfaces in the connection with the connector to be tested.
[0050] In this embodiment, the function of the switch module 2 is realized by using the analog switch 21, which helps to realize the scanning detection of multiple interfaces according to the detection logic and improve the detection efficiency of the open - short - circuit.
[0051] In one embodiment, the switch module 2 is a multi - channel analog switch 21, and the number of channels of the analog switch 21 is not less than the number of interfaces of the connector to be tested.
[0052] In this embodiment, through the multi - channel setting in the analog switch 21, the connection adaptation of a large number of interfaces of the connector to be tested is realized, which helps to perform batch detection of a large number of interfaces and improve the efficiency of the open - short - circuit detection.
[0053] In one embodiment, the switch module 2 includes a plurality of analog switches 21.
[0054] In this embodiment, the switch module can be jointly realized by the combination of a plurality of analog switches, which helps to improve the flexibility of the configuration of the open - short - circuit detection circuit.
[0055] In one embodiment, it can be as Figure 2 shown, the open - short - circuit detection circuit includes:
[0056] The conversion and reading module 5 is connected to the control module 3 and the switch module 2 respectively, and is used to read the interface state of the switch module 2 and convert it into a digital signal. Specifically, the conversion and reading module 5 can be an ADC (Analog-to-Digital Converter) analog-to-digital converter, which can convert the read analog signal into a digital signal for output.
[0057] In this embodiment, the conversion and reading module 5 is arranged between the control module 3 and the switch module 2, and the detection result of the analog switch 21 is converted into a digital signal for output through the conversion and reading module 5, thereby improving the accuracy of the detection result.
[0058] In one of the embodiments, the excitation source module 4 includes:
[0059] A power supply excitation unit 41, connected to the switch module 2, for outputting a power supply excitation signal;
[0060] A ground excitation unit 42, connected to the switch module 2, for outputting a ground excitation signal, and the ground excitation unit 42 is used to implement open / short circuit detection between different pins according to the ground excitation signal. Specifically, the power supply excitation unit 41 and the ground excitation unit 42 can be respectively connected to different analog switches 21.
[0061] In this embodiment, different test functions are realized by configuring different excitation sources, which helps to improve the flexibility in realizing test functions.
[0062] In one of the embodiments, a pull-up resistor 6 is provided between the power supply excitation unit 41 and the switch module 2.
[0063] In this embodiment, circuit protection in different test scenarios is realized by setting the pull-up resistor 6, which helps to improve the stability of open / short circuit testing.
[0064] In one of the embodiments, the conversion speed and conversion accuracy of the conversion and reading module 5 are adapted to the connector under test.
[0065] In this embodiment, an appropriate ADC converter is selected according to the actual situation of the connector under test, which helps to improve the flexibility of open / short circuit detection.
[0066] In one of the embodiments, the control module 3 is further configured to output an enable signal, and the enable signal is used to control the closing of the switch module 2.
[0067] In this embodiment, by outputting the enable signal, the closing of the analog switch 21 is controlled, thereby reducing the impact of open / short circuit detection on the normal signal output.
[0068] In a specific embodiment, the connection module 1 can be a connection line or a test line for connecting the connector under test, the switch module 2 can be an analog switch 21, and the control module 3 can be an SOC controller integrating multiple functional modules or components such as a processor, a memory, an interface, and a communication module. A 1-to-multi-channel analog switch 21 can be selected. Common analog switches 21 include 1-to-4, 1-to-8, 1-to-16, etc. Whether to use a single analog switch 21 or multiple analog switches 21 can be freely selected according to the number and definition of the connector pins. Taking the use of a 1-to-16 channel analog switch 21 as an example for illustration, the open / short circuit detection logic of the connector under test can be as follows Figure 3 As shown, all the IO pins on the connector are connected to the analog switch 21. The analog switch 21 is used to scan each IO pin. At the same time, each time a scan is performed, a voltage excitation is given to the IO. Each time an excitation is given, the backend on / off ADC reads the voltage. If a single IO pin is not shorted to the ground, the ADC can read the voltage of each scan. If the reading is 0, it means that the scanned IO is shorted to the ground, and an abnormal message needs to be output.
[0069] In another specific embodiment, as shown in Figure 4 As shown, on the basis that the function of judging whether a single IO interface is shorted to the ground can be realized, there is another situation that needs to be judged, that is, the judgment of the connection state between different pins. In the case of judging whether two pins in the IO pins are shorted, an additional analog switch 21 needs to be added. All the pins on the connector are also connected. Only at this time, the excitation source is not connected to the power supply excitation unit 41 but to the ground excitation unit 42, and another group of analog switches 21 is correspondingly connected to the power supply excitation unit 41. In the application, the analog switch 21 connected to the power supply excitation unit 41 selects the first pin to send the excitation source and keeps it unchanged without performing a scanning action. Another group of analog switches 21 is connected to the ground excitation unit 42 and starts to scan the connected pins. In the normal connection state, only the first pin will have a single pull-down state and then return to the high-level state. If there are two or more pull-down states, it means that there is a short circuit between the first pin and the pin with the pull-down state. The ADC can read this state and output the result. After the ground excitation unit 42 completes the first scan, the analog switch 21 of the power supply excitation unit 41 switches to the second IO interface to send the excitation source, and the ground excitation unit 42 scans all the pins again. The ADC reads and judges again, and so on until the power supply excitation unit 41 scans all the IO pins.
[0070] It can be understood that the above open / short circuit detection circuit can also adopt other forms, rather than being limited to the forms already mentioned in the above embodiments, as long as it can achieve the function of completing the open / short circuit detection of the interface of the test connector of the device product.
[0071] The above circuit can be applied to the applications of detection devices for electronic products such as AC adapters, television receivers, or video game devices.
[0072] In the description of this specification, the descriptions referring to terms such as "some embodiments", "other embodiments", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0073] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0074] The above-described embodiments only represent several implementation manners of the present application. The descriptions are relatively specific and detailed, but should not be construed as a limitation on the scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. An open - short circuit detection circuit, characterized in that, The open / short circuit detection circuit includes: A connection module, which is used to connect with the interface of the connector under test to realize the interaction of detection signals; A switch module, connected to the connection module, for controlling the conduction and cut-off of the ports of the connection module; A control module, connected to the switch module, for controlling the state switching of the switch module and also for judging the open / short circuit of the interface of the connector under test; An excitation source module, connected to the switch module, for outputting an excitation signal to realize the open / short circuit detection of the connector under test.
2. The open - short circuit detection circuit according to claim 1, wherein The switch module is an analog switch, and the analog switch is used to realize the connection switching between different interfaces in the connection with the connector under test.
3. The open - short circuit detection circuit according to claim 2, wherein, The switch module is a multi-channel analog switch, and the number of channels of the analog switch is not less than the number of interfaces of the connector under test.
4. The open - short circuit detection circuit according to claim 2, wherein, The switch module includes a plurality of analog switches.
5. The open - short circuit detection circuit according to claim 2, characterized in that, The open / short circuit detection circuit includes: A conversion and reading module, which is respectively connected to the control module and the switch module, for reading the interface state of the switch module and converting it into a digital signal.
6. The open - short circuit detection circuit according to claim 1, characterized in that, The excitation source module includes: A power supply excitation unit, connected to the switch module, for outputting a power supply excitation signal; A ground excitation unit, connected to the switch module, for outputting a ground excitation signal, and the ground excitation unit is used to realize the open / short circuit detection between different interfaces according to the ground excitation signal.
7. An open-short circuit detection circuit according to claim 6, characterized in that, A pull-up resistor is provided between the power supply excitation unit and the switch module.
8. The open - short circuit detection circuit according to claim 5, characterized in that, The conversion speed and conversion accuracy of the conversion and reading module are adapted to the connector under test.
9. The open - short circuit detection circuit according to claim 1, wherein The control module is also used to output an enable signal, and the enable signal is used to control the closing of the switch module.
10. A port testing device, characterized in that, Including an open / short circuit detection circuit according to any one of claims 1-9.