Plug-in access detection device, plug-in and electronic equipment

By designing a plug-in access detection device on electronic devices and using electrical circuits to detect the plug-in access status, the problem of low yield rate caused by plug-in missed installation is solved, and efficient detection and low-power plug-in access detection are achieved.

CN120334810APending Publication Date: 2025-07-18GEER INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510397603.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

On the production line of electronic equipment, plug-ins are prone to missed installation during the process of connecting to the main body, resulting in low yield.

Method used

A plug-in access detection device is designed, including a load resistor, a first detection terminal, a second detection terminal and a detection circuit. By forming an access state of the electrical circuit detection interface, the detection circuit is used to determine whether the plug-in is correctly connected.

Benefits of technology

Effectively detect whether the interface on the electronic device is connected to the plug-in, which improves the yield rate, reduces the power consumption of the electronic device, and improves assembly convenience through prompt components and communication modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120334810A_ABST
    Figure CN120334810A_ABST
Patent Text Reader

Abstract

The invention discloses a plug-in access detection device, a plug-in and electronic equipment. The electronic equipment is provided with a plurality of interfaces used for being connected with plug-ins, each interface is provided with a first end and a second end, a detection resistor is arranged in a plug-in part of each plug-in, when the plug-ins are connected with the interfaces, the first ends of the detection resistors are electrically connected with the first ends of the interfaces, and the second ends of the detection resistors are electrically connected with the second ends of the interfaces. The plug-in access detection device comprises a load resistor, a first detection end, a second detection end and a detection circuit, the first detection end is connected with the first end of the load resistor, and the first detection end is respectively connected with the first ends of the plurality of interfaces; the first detection end is connected with the first end of the load resistor, and the first detection end is respectively connected with the first ends of the plurality of interfaces; the second detection end is respectively connected with the second ends of the plurality of interfaces; the detection circuit is connected with the first detection end. The invention aims to detect whether the plug-in is connected to the interface on the electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of plug access detection, and particularly to a plug access detection device, a plug, and an electronic device. Background Art

[0002] In the design of current electronic devices, the design consisting of a main body and multiple plugs has gradually become the mainstream. However, during the operation of plugging the plugs into the main body on the production line, the operators on the production line are prone to missing installation, which greatly affects the yield rate of electronic devices. Summary of the Invention

[0003] The main purpose of this application is to provide a plug access detection device, a plug, and an electronic device, aiming to realize the detection of whether a plug is inserted into an interface on the electronic device.

[0004] To achieve the above object, this application proposes a plug access detection device applied to an electronic device. The electronic device has multiple interfaces for plug access. The interface has a first end and a second end. A detection resistor is provided in the plugging part of the plug. When the plug is inserted into the interface, the first end of the detection resistor is electrically connected to the first end of the interface, and the second end of the detection resistor is electrically connected to the second end of the interface;

[0005] The plug access detection device includes:

[0006] A load resistor;

[0007] A first detection end, the first detection end is connected to the first end of the load resistor, and the first detection end is respectively connected to the first ends of multiple interfaces;

[0008] A second detection end, the second detection end is respectively connected to the second ends of multiple interfaces;

[0009] A detection circuit, the detection circuit is connected to the first detection end;

[0010] Wherein, the load resistor, the first detection end, the second detection end and the power supply end form a first electrical loop;

[0011] The detection circuit is used to detect the voltage of the first detection end and determine the access state of the interface according to the voltage.

[0012] Optionally, the power supply end includes a positive power supply end and a negative power supply end;

[0013] Wherein, the positive power supply end is electrically connected to the second end of the load resistor, and the negative power supply end is electrically connected to the second detection end; or,

[0014] The negative terminal of the power supply is electrically connected to the second terminal of the load resistor, and the positive terminal of the power supply is electrically connected to the second detection terminal.

[0015] Optionally, the detection circuit includes:

[0016] An analog-to-digital conversion circuit, the first terminal of the analog-to-digital conversion circuit is electrically connected to the first detection terminal; the analog-to-digital conversion circuit is configured to perform analog-to-digital conversion on the voltage at the first detection terminal and output a first signal through its second terminal;

[0017] A control circuit, configured to determine the access state of the interface according to the first signal.

[0018] Optionally, the analog-to-digital conversion circuit and the control circuit are integrated in the same integrated chip.

[0019] Optionally, the plug access detection device further includes: a prompting component, the prompting component is electrically connected to the detection circuit;

[0020] The detection circuit is further configured to control the prompting component to prompt the access state of the interface according to the voltage.

[0021] Optionally, the plug access detection device further includes:

[0022] A current-limiting circuit, the current-limiting circuit is serially arranged in the first electrical loop;

[0023] The current-limiting circuit is configured to limit the current on the first electrical loop within a preset current range.

[0024] Optionally, the current-limiting circuit and the load resistor are integrally arranged as the same resistor.

[0025] This application also proposes a plug, a detection resistor is arranged in the plug, when the plug is inserted into a socket on an electronic device, it establishes an electrical connection with the load resistor in the plug access detection device in the electronic device and forms a voltage-dividing circuit therewith.

[0026] This application also proposes an electronic device, characterized in that it includes a plurality of interfaces, a plug access detection device as described in any one of the above, and a plug as described above.

[0027] Optionally, the number of the plugs is multiple, and the resistance values of the detection resistors in any two of the plugs are different.

[0028] The plug-in access detection device of the present application includes a load resistor, a first detection terminal, a second detection terminal, and a detection circuit. Among them, the first detection terminal is connected to the first end of the load resistor, and the first detection terminal is respectively connected to the first ends of multiple interfaces. The second detection terminal is respectively connected to the second ends of the multiple interfaces. The load resistor, the first detection terminal, the second detection terminal, and the power supply terminal form a first electrical loop. The detection circuit is used to detect the voltage of the first detection terminal and determine the access state of the interface according to the voltage. In this way, through the above settings, the present application can detect whether a plug is inserted into the interface on the electronic device during the process of assembling the plug on the electronic device, thereby contributing to improving the low yield rate caused by missing components. Description of the Drawings

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or 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 following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.

[0030] Figure 1 Schematic diagram of the circuit module of an embodiment of the plug-in access detection device of the present application;

[0031] Figure 2 Schematic diagram of an embodiment of the electronic device of the present application where not all interfaces are plugged in;

[0032] Figure 3 Schematic diagram of an embodiment of the electronic device of the present application where all interfaces are plugged in;

[0033] Figure 4 Schematic diagram of the circuit module of another embodiment of the plug-in access detection device of the present application;

[0034] Figure 5 Schematic diagram of the circuit module of yet another embodiment of the plug-in access detection device of the present application;

[0035] Figure 6 Schematic diagram of the circuit module of still another embodiment of the plug-in access detection device of the present application.

[0036] Explanation of the reference numerals in the drawings:

[0037] 10 Load resistor 20 First detection end 30 Second detection end 40 Detection circuit 00 Interface 50 Prompt component

[0038] The realization of the purpose of the present application, functional features, and advantages will be further described in conjunction with the embodiments with reference to the drawings. Detailed Embodiments

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without making creative efforts belong to the scope of protection of the present application.

[0040] It should be noted that if there are directional indications (such as up, down, left, right, front, back...) involved in the embodiments of the present application, then the directional indications are only used to explain the relative positional relationship and movement conditions between components in a certain specific posture. If the specific posture changes, the directional indications will also change accordingly.

[0041] In addition, if there are descriptions such as "first", "second", etc. involved in the embodiments of the present application, then the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, if "and / or" or "and / or" appears throughout the text, its meaning includes three parallel scenarios. Taking "A and / or B" as an example, it includes scenario A, or scenario B, or the scenario where A and B are satisfied simultaneously. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present application.

[0042] In the design of current electronic devices, the design consisting of a main body and multiple plugins has gradually become the mainstream. However, during the operation of connecting the plugins to the main body on the production line, the operators on the production line are prone to missing installations, which greatly affects the yield rate of the electronic devices.

[0043] Therefore, the present application proposes a plugin access detection device applied to an electronic device. The electronic device has multiple interfaces 00 for accessing plugins. Refer to Figures 1-6 , the interface 00 has a first end and a second end. A detection resistor is provided in the plugging part of the plugin. When the plugin is plugged into the interface 00, the first end of the detection resistor is electrically connected to the first end of the interface 00, and the second end of the detection resistor is electrically connected to the second end of the interface 00;

[0044] Optionally, the plug-in can be a non-powered module, such as a cover plate, a support member, etc. assembled on the main body of the electronic device. The plug-in has a plug-in portion inserted into the corresponding interface 00 on the main body of the electronic device. A detection resistor and conductive members respectively connected to both ends of the detection resistor are provided in the plug-in portion, such as metal sheets, metal thimbles, etc. Conductive members are respectively provided at the first end and the second end of the interface 00. The conductive member at the first end is electrically connected to the first detection end 20, and the conductive member at the second end is electrically connected to the second detection end 30. In this way, when the plug-in is inserted into the interface 00, the conductive members electrically connected to both ends of the detection resistor on the plug-in will contact the first end and the second end in the interface 00 respectively to establish an electrical connection, so that the detection resistor is connected into the first electrical circuit.

[0045] Optionally, the plug-in can also be a powered functional module, such as a camera module, a sensor module, etc. The plug-in has a plug-in portion inserted into the corresponding interface 00 on the main body of the electronic device. The plug-in portion of the plug-in can be a standard interface 00, such as USB-A / MICIRO-USB / TYPE-C, etc. Both ends of the detection resistor can be electrically connected to two different pins in the standard interface 00 respectively. For example, if the plug-in portion uses a 16-pin TYPE-C connector, the detection resistor can be electrically connected to two suspended pins in the TYPE-C connector respectively. Correspondingly, the two corresponding pins in the interface 00 in the main body of the electronic device are used as the first end and the second end of the interface 00, and the two pins are respectively electrically connected to the first detection end 20 and the second detection end 30 in the main body of the electronic device in a one-to-one correspondence. In this way, when the plug-in is inserted into the interface 00 on the main body of the electronic device, the two pins on the plug-in portion of the plug-in will establish an electrical connection path with the two corresponding pins in the interface 00, so that the detection resistor is connected into the first electrical circuit.

[0046] Reference Figure 1 , in an embodiment of the present application, the plug-in access detection device includes:

[0047] A load resistor 10;

[0048] A first detection end 20, the first detection end 20 is connected to the first end of the load resistor 10, and the first detection end 20 is respectively connected to the first ends of a plurality of the interfaces 00;

[0049] A second detection end 30, the second detection end 30 is respectively connected to the second ends of a plurality of the interfaces 00;

[0050] A detection circuit 40, the detection circuit 40 is connected to the first detection end 20;

[0051] Wherein, the load resistor 10, the first detection end 20, the second detection end 30 and the power supply end form a first electrical circuit;

[0052] The detection circuit 40 is configured to detect the voltage of the first detection end 20 and determine the access state of the interface 00 according to the voltage.

[0053] In this embodiment, the load resistor 10 can be implemented by a developer selecting a resistor with an appropriate resistance value according to the design requirements of the circuit. Based on the above, it can be understood that when the plug is inserted into the corresponding interface 00, both ends of the detection resistor are electrically connected to the first detection end 20 and the second detection end 30 respectively through both ends of the interface 00, so that the first electrical loop composed of the power supply end, the load resistor 10, the first detection end 20, and the second detection end 30 is switched from an open state to a conducting state. At this time, the load resistor 10 and the resistor between the first detection end 20 and the second detection end 30 divide the voltage applied by the power supply end according to the voltage division ratio. Among them, the voltage division ratio is the ratio of the resistance value of the load resistor 10 to the resistance value between the first detection end 20 and the second detection end 30. Since the first detection end 20 is electrically connected to the first ends of multiple interfaces 00 respectively, and the second detection end 30 is electrically connected to the second ends of multiple interfaces 00 respectively, the resistance value between the first detection end 20 and the second detection end 30 will decrease as the number of inserted plugs increases (because multiple detection resistors are arranged in parallel with each other).

[0054] Optionally, in one embodiment, refer to Figure 1 , the power supply end includes a power supply positive terminal and a power supply negative terminal; the power supply positive terminal is electrically connected to the second end of the load resistor 10, and the power supply negative terminal is electrically connected to the second detection end 30.

[0055] In this embodiment, the power supply positive terminal accesses a first voltage (provided by a power supply module in the electronic device, such as a voltage regulator module, or an external power supply on the assembly line), the second end of the load resistor 10 is connected to the power supply positive terminal, and the second detection end 30 is connected to the power supply negative terminal. When no plug is inserted into multiple interfaces 00, the detection circuit 40 will detect that the voltage of the current first detection end 20 is the first voltage, so as to determine that no plug is inserted into all current interfaces 00. After the assembly worker inserts the plug into the interface 00, the voltage of the first detection end 20 detected by the detection circuit 40 is the voltage drop across the resistor between the first detection end 20 and the second detection end 30 after the first voltage is divided according to the above voltage division ratio, and the access state of all interfaces 00 on the electronic device is determined according to this voltage.

[0056] Optionally, in another embodiment, refer to Figure 4 , the power supply end includes a power supply positive terminal and a power supply negative terminal; the power supply negative terminal is electrically connected to the second end of the load resistor 10, and the power supply positive terminal is electrically connected to the second detection end 30.

[0057] In this embodiment, the positive terminal of the power supply is connected to a first voltage (provided by a power supply module in the electronic device, such as a voltage regulator module, or an external power supply on the assembly line), the second terminal of the load resistor 10 is connected to the negative terminal of the power supply, and the second detection terminal 30 is connected to the positive terminal of the power supply. When no plug is inserted into any of the multiple interfaces 00, the detection circuit 40 will detect that the voltage of the current first detection terminal 20 is the ground voltage, such as 0V, so as to determine that no plug is inserted into any of the current interfaces 00. After the assembly worker inserts the plug into the interface 00, the voltage of the first detection terminal 20 detected by the detection circuit 40 is the voltage drop across the load resistor 10 after the first voltage is divided according to the above voltage division ratio, and the insertion states of all the interfaces 00 on the electronic device are determined according to this voltage.

[0058] Optionally, in an embodiment, as can be seen from the above, when plugs are inserted into all of the multiple interfaces 00 and when no plug is inserted, the voltage of the first detection terminal 20 is different. Therefore, the detection circuit 40 can be implemented by a hardware detection circuit 40, such as by using a light-emitting component, a sound-emitting component, or a vibration component. Taking Figure 2 and Figure 3 the circuit architecture shown, and taking the light-emitting component as an example for the detection resistor, when designing, the R & D personnel select the resistance values of multiple detection resistors and the resistance value of the load resistor 10 based on the operating voltage of the light-emitting component, so that when all plugs are inserted, that is, when all detection resistors are connected in parallel and connected in series with the load resistor 10, the voltage of the first detection terminal 20 is just less than the operating voltage of the light-emitting component, and when any plug is not inserted into the interface 00, the voltage of the first detection terminal 20 is greater than the operating voltage of the light-emitting component. In this way, when the light-emitting component is in the lit state, the assembly worker will clearly know that not all plugs have been inserted into the interfaces 00 on the main body of the electronic device, and when the light-emitting component is in the extinguished state, the assembly worker will confirm that all plugs have been inserted into the electronic device.

[0059] Optionally, in an embodiment, the detection circuit 40 can also be implemented by a control circuit with a controller as the core. Still taking Figure 2 and Figure 3 the circuit structure of Figure 3When all the plugins are inserted, the voltage of the first detection terminal 20 is detected, and a preset voltage range is formed. Among them, the preset voltage range can be the preset voltage range formed by multiple voltage data obtained after the above-mentioned multiple detections, or taking the median A of multiple voltage data as a benchmark, and taking A±B% as the preset voltage range, such as A±5%. When the controller detects that the voltage of the first detection terminal 20 is still greater than the maximum value of the preset voltage range, it will determine that not all of the current multiple interfaces 00 are plugged in. When the controller detects that the voltage of the first detection terminal 20 is within the preset voltage range, it will determine that all of the current multiple interfaces 00 are plugged in.

[0060] In this way, through the above settings, the present application can detect whether the interfaces 00 on the electronic device are plugged in during the process of assembling the plugins on the electronic device, thereby contributing to improving the low yield rate caused by missing components.

[0061] In addition, in another embodiment, if the resistance values of multiple detection resistors are all different, then the detection circuit 40 can also determine the access state of any one of the multiple interfaces 00 according to the voltage of the first detection terminal 20. For example, if there are currently three interfaces 00, the R & D personnel can measure the voltages of the first detection terminal 20 in different state combinations of the three interfaces 00 during the test, and form a corresponding mapping table and pre-store it in the detection circuit 40. The detection circuit 40 can then determine whether any one of the current multiple interfaces 00 is in the access state based on the voltage and the mapping table during actual operation.

[0062] Reference Figure 5 , in an embodiment of the present application, the detection circuit 40 includes:

[0063] An analog-to-digital conversion circuit, the first end of the analog-to-digital conversion circuit is electrically connected to the first detection terminal 20; the analog-to-digital conversion circuit is used to perform analog-to-digital conversion on the voltage of the first detection terminal 20 and output a first signal through its second end;

[0064] A control circuit for determining the access state of the interface 00 according to the first signal.

[0065] In this embodiment, the control circuit can be implemented by a main controller, such as an MCU, a DSP (Digital Signal Process, digital signal processing chip), an FPGA (Field Programmable Gate Array, programmable logic gate array chip), a PLC, an SOC (System On Chip, system-level chip), etc. Optionally, the analog-to-digital conversion circuit can be implemented by an analog-to-digital conversion chip. Optionally, the analog-to-digital conversion circuit can also be formed by building at least one resistor and at least one capacitor.

[0066] During the process of an assembler inserting a plug into the interface 00 on the main body of an electronic device, the analog-to-digital conversion circuit will perform analog-to-digital conversion on the voltage of the first detection terminal 20, convert it into a digital signal that can be processed by the control circuit, and output it to the control circuit, so that the control circuit can, according to the received first signal, determine whether all the interfaces 00 in the electronic device are plugged in or determine whether each interface 00 is plugged in according to the process described in the above embodiment.

[0067] Furthermore, the analog-to-digital conversion circuit can also be integrated with the control circuit in the same integrated chip to reduce the volume of the circuit.

[0068] It should be understood that, as can be seen from the above, in this application, when multiple plugs are inserted into the corresponding multiple interfaces 00, the detection resistors in the multiple plugs will be connected in parallel with each other. That is to say, as the plugs are inserted, the resistance value of the parallel connection of the multiple detection resistors will be lower, and further, the total resistance value on the first electrical circuit will also become lower and lower, which may lead to an increasing current thereon, resulting in an increasing static current of the electronic device and increasing the power consumption of the electronic device.

[0069] Therefore, in order to reduce the current on the first electrical circuit, in an embodiment of this application, the plug insertion detection device further includes:

[0070] A current limiting circuit, the current limiting circuit is serially arranged in the first electrical circuit;

[0071] The current limiting circuit is used to limit the current on the first electrical circuit within a preset current range.

[0072] In this embodiment, optionally, the current limiting circuit can be implemented by an independent current limiting resistor, and the resistance value of the current limiting resistor is set by R & D personnel according to the required preset current range. Optionally, in another embodiment, the current limiting circuit and the load resistor 10 are integrally arranged as the same resistor. It can be understood that, in the actual design process, R & D personnel can select a load resistor 10 with a larger resistance value, such as a 100 kΩ or 200 kΩ resistor, when selecting the load resistor 10, so as to increase the resistance value on the first electrical circuit as much as possible, and then effectively reduce the current on the first electrical circuit, reduce the power consumption of the electronic device, especially reduce the power consumption of the electronic device powered by a battery, and then improve the actual battery life of the electronic device powered by a battery. At the same time, the number of additional resistors for current limiting in the first electrical circuit can also be reduced, streamlining the entire circuit architecture and reducing costs.

[0073] In addition, further, in an embodiment, a switch circuit may be serially disposed in the first electrical circuit. The controlled end of the switch circuit is electrically connected to the detection circuit 40. The switch circuit may be implemented by a switching tube, such as an IGBT, MOS, triode, etc., or may be implemented by a switching device, such as a contactor, a relay, etc. The detection circuit 40 may control the switch circuit to switch from the default closed state to the open state when it is determined that all the interfaces 00 in the electronic device have been inserted with the plug-ins during the process based on the above embodiment, so that the first electrical circuit is switched from the conducting state to the open state, thereby preventing any current from flowing through the first electrical circuit, and further effectively reducing the power consumption of the electronic device.

[0074] Reference Figure 6 , in an embodiment of the present application, the plug-in access detection device further includes: a prompting component 50, and the prompting component 50 is electrically connected to the detection circuit 40;

[0075] The detection circuit 40 is further configured to control the prompting component 50 to prompt the access state of the interface 00 according to the voltage.

[0076] In this embodiment, the prompting component 50 may be implemented by an optical signal prompting component 50, a sound prompting component 50, a vibration prompting component 50, etc. For example, the optical signal prompting component 50 includes an LED lamp. When the detection circuit 40 determines that all the interfaces 00 have been inserted with the plug-ins according to the voltage, it controls the LED lamp to be in the off state; when the detection circuit 40 determines that there is an interface 00 that has not been inserted with the plug-in according to the voltage, it controls the LED lamp to be in the on state to prompt the assemblers on the current production line.

[0077] In another embodiment, the prompting component 50 may also directly be a relevant information indication function module on the electronic device. For example, the prompting component 50 may directly adopt the display screen on the electronic device. The detection circuit 40 may control the display screen on the electronic device to directly display the corresponding result to remind the current assembler after determining whether all the interfaces 00 are inserted with the plug-ins or determining the access state of each current interface 00 according to the voltage.

[0078] In addition, it can be understood that a communication module for communicating with an external terminal can also be provided in the plug-in insertion detection device of the present application, such as a WIFI communication module, a Bluetooth communication module, a CAN communication module, etc. The communication module is electrically connected to the detection circuit 40, and the detection circuit 40 can transmit data to and from an external terminal, such as a handheld terminal of an assembly worker, a display terminal on a production line, a general terminal in a production workshop, etc. through the communication module. During the actual assembly process, the detection circuit 40 will output the above-mentioned detection results to the external terminal through the communication module, so that the assembly worker of the external terminal can confirm whether all the interfaces 00 on the current electronic device have inserted the plug-ins, thereby improving the convenience of assembly.

[0079] Reference Figure 2 and Figure 3 , the present application also proposes a plug-in, in which a detection resistor is provided. When the plug-in is inserted into the socket on the electronic device, it establishes an electrical connection with the load resistor 10 in the plug-in insertion detection device in the electronic device and forms a voltage division circuit with it.

[0080] In this embodiment, optionally, the plug-in can be a non-powered module, such as a cover plate, a support member, etc. assembled on the electronic device body. The plug-in has a plug-in portion for inserting into the corresponding interface 00 on the electronic device body. A detection resistor and conductive members respectively connected to both ends of the detection resistor are provided in the plug-in portion, such as metal sheets, metal thimbles, etc. Conductive members are respectively provided at the first end and the second end of the interface 00. In this way, when the plug-in is inserted into the interface 00, the conductive members respectively electrically connected to both ends of the detection resistor on the plug-in will contact the first end and the second end in the interface 00 respectively to establish an electrical connection, so that the detection resistor is connected into the first electrical circuit.

[0081] Optionally, the plug-in can also be a powered functional module, such as a camera module, a sensor module, etc. The plug-in has a plug-in portion for inserting into the corresponding interface 00 on the electronic device body. The plug-in portion of the plug-in can be a standard interface 00, such as USB-A / MICIRO-USB / TYPE-C, etc. Both ends of the detection resistor can be respectively electrically connected to two different pins in the standard interface 00. For example, if the plug-in portion uses a 16-pin TYPE-C connector, the detection resistor can be respectively electrically connected to two suspended pins in the TYPE-C connector. Correspondingly, the two corresponding pins in the interface 00 in the main body of the electronic device are used as the first end and the second end of the interface 00. In this way, when the plug-in is inserted into the interface 00 on the main body of the electronic device, the two pins on the plug-in portion of the plug-in will establish an electrical connection path with the two corresponding pins in the interface 00, so that the detection resistor is connected into the first electrical circuit.

[0082] With the above settings, since a detection resistor is provided in the plug-in, and a voltage division circuit will be formed with the load resistor 10 in the detection device after the plug-in is connected to interface 00. Therefore, the control module in the main body of the electronic device can determine whether the current interface 00 has a plug-in connected by detecting the voltage at the common connection end of the load resistor 10 and the connected detection resistor. For example, when the plug-in is not connected, the voltage at the common connection end of the load resistor 10 and the detection resistor can be pulled up to the power supply voltage or pulled down to the ground by the load resistor 10. At this time, the control module determines that interface 00 does not have a plug-in connected. When the detection resistor is connected, the detection resistor and the load resistor 10 divide the power supply voltage according to the resistance ratio between them and output it through the common connection end. After the control module detects that the voltage changes to the preset voltage range (set by the R & D personnel), it will determine that the current interface 00 has a plug-in connected.

[0083] It can be understood that for an electronic device with multiple plug-ins, the first ends and the second ends of the multiple interfaces 00 on the electronic device can be connected in parallel with each other. The R & D personnel can calculate and determine in advance the resistance ratio of the parallel connection of all detection resistors to the resistance of the load resistor 10 when all plug-ins are connected to the corresponding interfaces 00, and then determine the first voltage range of the voltage output by the formed voltage division circuit according to the resistance ratio and the power supply voltage. In this way, for the control module in the main body of the electronic device, it only needs to detect the voltage at the common connection end of the load resistor 10 and the multiple parallel-connected detection resistors connected, and by judging whether the voltage is within the above first voltage range, it can determine whether all the multiple interfaces 00 on the current electronic device have plug-ins connected.

[0084] Reference Figures 1-6 , this application also proposes an electronic device, including multiple interfaces 00, a plug-in access detection device as described above, and a plug-in as described above; wherein, the interface 00 is used to access the plug-in.

[0085] It should be noted that since the electronic device of this application is based on the above plug-in access detection device and plug-in. Therefore, this application also has all the technical effects brought by different technical solutions in the plug-in access detection device and the plug-in, which will not be elaborated here one by one.

[0086] Optionally, in one embodiment, the number of the plugs is multiple, and the resistance values of the detection resistors in any two of the plugs are different. Thus, based on the content of the embodiment in which the plug is connected to the detection device as described above, since the resistance values of the detection resistors in each plug are different, the resistance values between the first detection terminal 20 and the second detection terminal 30 will be different when no plug is connected to any interface 00. Therefore, the detection circuit 40 can calculate the current resistance value between the first detection terminal 20 and the second detection terminal 30 according to the voltage of the first detection terminal 20 collected, the voltage provided by the power supply terminal, and the known resistance value of the load resistor 10, and determine whether there is an interface 00 to which no plug is connected and which interface 00 is not connected based on this resistance value. For example, when there are three current interfaces 00 and the resistance values of the detection resistors in the corresponding three plugs are all different, the R & D personnel can generate a resistance value - interface 00 connection status mapping table based on the different connection states of the three interfaces 00 and the resistance values of the three detection resistors during the R & D period and store it in the detection circuit 40 in advance. The detection circuit 40 can directly determine whether each current interface 00 has a plug connected based on the above mapping table and the currently calculated resistance value between the first detection terminal 20 and the second detection terminal 30. Thus, the plug connection detection device of the present application can not only detect whether all the interfaces 00 on the electronic device have plugs inserted, but also determine the connection status of each interface 00. It can be understood that based on the above embodiment of the prompting component 50, the detection circuit 40 can also control the prompting component 50 to prompt the assembler of the connection status of all the interfaces 00, thereby effectively improving the convenience.

[0087] The above description is only an exemplary embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or directly / indirectly applied to other related technical fields, is included in the patent protection scope of the present application.

Claims

1. A plug-in access detection device is applied to an electronic device, and the electronic device has a plurality of interfaces for plug-in access. It is characterized in that The interface has a first end and a second end. A detection resistor is provided in the plugging portion of the plug. When the plug is plugged into the interface, the first end of the detection resistor is electrically connected to the first end of the interface, and the second end of the detection resistor is electrically connected to the second end of the interface; The plug access detection device includes: A load resistor; A first detection end, the first detection end is connected to the first end of the load resistor, and the first detection end is respectively connected to the first ends of a plurality of the interfaces; A second detection end, the second detection end is respectively connected to the second ends of a plurality of the interfaces; A detection circuit, the detection circuit is connected to the first detection end; Wherein, the load resistor, the first detection end, the second detection end and the power supply end form a first electrical loop; The detection circuit is configured to detect the voltage of the first detection end and determine the access state of the interface according to the voltage.

2. The plug-in access detection device according to claim 1, wherein The power supply end includes a power supply positive terminal and a power supply negative terminal; Wherein, the power supply positive terminal is electrically connected to the second end of the load resistor, and the power supply negative terminal is electrically connected to the second detection end; or, The power supply negative terminal is electrically connected to the second end of the load resistor, and the power supply positive terminal is electrically connected to the second detection end.

3. The plug-in access detection device according to claim 1, wherein The detection circuit includes: An analog-to-digital conversion circuit, the first end of the analog-to-digital conversion circuit is electrically connected to the first detection end; the analog-to-digital conversion circuit is configured to perform analog-to-digital conversion on the voltage of the first detection end and output a first signal through its second end; A control circuit, configured to determine the access state of the interface according to the first signal.

4. The plug-in access detection device according to claim 3, wherein The analog-to-digital conversion circuit and the control circuit are integrated in the same integrated chip.

5. The plug-in access detection device according to any one of claims 1-4, characterized in that, The plug access detection device further includes: a prompting component, the prompting component is electrically connected to the detection circuit; The detection circuit is further configured to control the prompting component to prompt the access state of the interface according to the voltage.

6. The plug-in access detection device according to any one of claims 1-4, characterized in that, The plug access detection device further includes: A current limiting circuit, the current limiting circuit is serially arranged in the first electrical loop; The current limiting circuit is configured to limit the current on the first electrical loop within a preset current range.

7. The plug-in access detection device according to claim 6, characterized in that, The current limiting circuit and the load resistor are integrally arranged as the same resistor.

8. A plug-in, characterized in that, A detection resistor is provided in the plug. When the plug is plugged into the socket on the electronic device, it establishes an electrical connection with the load resistor in the plug access detection device in the electronic device and forms a voltage dividing circuit therewith.

9. An electronic device, characterized in that, Including a plurality of interfaces, the plug access detection device according to any one of claims 1-7, and the plug according to claim 8.

10. The electronic device according to claim 9, characterized in that, The number of the plugs is multiple, and the resistance values of the detection resistors in any two of the plugs are different.