Detection circuit, detection method and device, and electronic equipment

By designing detection circuits in electronic equipment, using power, resistance and voltage detection components to detect voltage changes in board-to-board connections, the problem of poor board-to-board connections affecting the function and life of the equipment is solved, and most connections are excluded before leaving the factory Bad problems reduce production costs.

CN112798988BInactive Publication Date: 2024-11-05BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 19 Cites 0 Cited by

Patent Information

Application Number
CN201911018138.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-24
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In electronic devices, abnormally buckle between the board-to-board connector and the connecting circuit board will affect the function and life of the equipment, resulting in quality and life problems.

Method used

A detection circuit is designed to detect the voltage change between the connector and the connecting circuit board through the power supply, preset resistor and voltage detection components to determine whether the connection is normal. The detection circuit includes a first circuit board, a second circuit board, a connector, a detection trace and a power supply, and the voltage detection component is connected in parallel with the pin and the preset resistor. By comparing the detected voltage with the preset threshold, it is determined whether the connection is good. .

Benefits of technology

The voltage detected by the voltage detection component can determine whether the connection between the connection and the connecting circuit board is abnormal, reduce the problem of poor connection before leaving the factory, reduce production costs, and improve equipment quality and life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112798988B_ABST
    Figure CN112798988B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a detection circuit, a detection method and device, and an electronic device. The detection circuit includes: a first circuit board and a first connector connected to the first circuit board, the first connector includes a plurality of first pins; a second circuit board and a second connector connected to the second circuit board, the second connector includes a plurality of second pins; a connecting circuit board is used to transmit signals between the first circuit board and the second circuit board, and may include a detection trace connected to the first pin and the second pin; a power supply and a preset resistor, the power supply is connected to the first connector, and the electrical signal output by the power supply is connected to the ground point after passing through the first pin, the detection trace, the second pin and the preset resistor connected in series; a voltage detection component, the voltage detection component is connected in parallel with at least the first pin, the second pin and the preset resistor, and the voltage detected by the voltage detection component is used to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a detection circuit, a detection method and device, and an electronic device. Background Art

[0002] Currently, when multiple connected circuit boards in an electronic device need to transmit signals, they usually need to use board-to-board connectors (BTB) and connected circuit boards to achieve circuit connection. Whether the pins of the board-to-board connector and the connected circuit board are properly plugged in will affect the realization of related functions of the electronic device, or the life of related functions of the electronic device, and further affect the quality and life of the electronic device. Summary of the invention

[0003] The present disclosure provides a detection circuit, a detection method and device, and an electronic device to solve the deficiencies in the related art.

[0004] According to a first aspect of an embodiment of the present disclosure, a detection circuit is provided, including:

[0005] A first circuit board and a first connector connected to the first circuit board, wherein the first connector includes a plurality of first pins;

[0006] a second circuit board and a second connector connected to the second circuit board, wherein the second connector includes a plurality of second pins;

[0007] A connecting circuit board, the connecting circuit board is used to transmit signals between the first circuit board and the second circuit board, the connecting circuit board comprises a detection line, one end of the detection line is connected to the first pin, and the other end is connected to the second pin;

[0008] A power supply and a preset resistor, wherein the power supply is connected to the first connector, and an electrical signal output by the power supply is fed into a grounding point after passing through a first pin, a detection line, a second pin and the preset resistor connected in series;

[0009] A voltage detection component is connected in parallel with the first pin, the second pin and the preset resistor, and the voltage detected by the voltage detection component is used to determine whether the first connector and the second connector are connected to the corresponding connection circuit board normally.

[0010] Optionally, the preset resistor includes one or more resistors, and the voltage detection component is connected in parallel with at least one of the resistors;

[0011] Wherein, when the preset resistor includes one resistor, the power supply is a constant current output, and when the preset resistor includes multiple resistors, the power supply is a constant current output or a constant voltage output.

[0012] Optionally, the connecting circuit board includes a plurality of the detection wires connected in series, and the input ends of the plurality of detection wires connected in series are connected to the power supply, and the output ends are connected to the ground point.

[0013] Optionally, the preset resistor includes a resistor, and the resistor connects the input end and the power supply, or the resistor connects the output end and the ground point.

[0014] Optionally, the preset resistor includes multiple resistors connected in series, the multiple resistors are located on the same connecting circuit board, and at least one of the multiple resistors is located between the input end and the power supply, and the other resistors are located between the output end and the ground point.

[0015] Optionally, the connection circuit board includes a first detection line and a second detection line connected in series, the first detection line is connected to the power supply, and the second detection line is connected to the ground point;

[0016] The voltage detection component is connected in parallel with the first pin and the second pin corresponding to the first detection wiring, the first pin and the second pin corresponding to the second detection wiring, and the preset resistor.

[0017] Optionally, the detection circuit includes a plurality of branches, each branch including a detection line connected in series, a first pin and a second pin corresponding to the detection line, a preset resistor and a grounding point;

[0018] The detection circuit includes a plurality of voltage detection components, and the plurality of voltage detection components correspond one-to-one to the plurality of branches.

[0019] Optionally, each branch includes a preset resistor, each branch corresponds to a power supply, and the power supply is a constant current output.

[0020] Optionally, any grounding point and a preset resistor corresponding to the any grounding point are located on the same or different circuit boards.

[0021] Optionally, any grounding point and a preset resistor corresponding to the any grounding point are located on different circuit boards, and the grounding point is a dedicated grounding point of the detection circuit.

[0022] Optionally, each branch includes multiple preset resistors, at least two of the multiple branches correspond to a power supply or each branch corresponds to a power supply, and the power supply has a constant voltage output.

[0023] Optionally, each branch includes a plurality of preset resistors arranged on the same or different circuit boards.

[0024] Optionally, multiple preset resistors corresponding to any branch are arranged on the same circuit board, and the grounding point corresponding to any branch is a dedicated grounding point of any branch.

[0025] Optionally, the connection circuit board includes a plurality of detection wires, the plurality of detection wires include two edge detection wires, and the edge detection wires connect a first pin located at an edge of the first connector and a second pin located at an edge of the second connector.

[0026] Optionally, the detection trace is an isolation line connecting different signal lines in the circuit board.

[0027] Optionally, the power supply is a dedicated power supply for the detection circuit.

[0028] Optionally, the power supply includes an LED driving power supply.

[0029] According to a second aspect of an embodiment of the present disclosure, a detection method is provided, which is applied to the detection circuit as described in any one of the above embodiments, and the method includes:

[0030] Acquiring a voltage detected by a voltage component in the detection circuit;

[0031] The voltage is compared with a preset threshold value to determine whether the first connector and the second connector are connected to the corresponding connection circuit board normally.

[0032] According to a third aspect of the embodiments of the present disclosure, a detection device is provided, which is applied to the detection circuit as described in any one of the above embodiments, and the device includes:

[0033] An acquisition module, for acquiring a voltage detected by a voltage component in the detection circuit;

[0034] A comparison module compares the voltage with a preset threshold value to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.

[0035] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in any one of the above embodiments are implemented.

[0036] According to a fifth aspect of the embodiments of the present disclosure, an electronic device is provided, including:

[0037] processor;

[0038] a memory for storing processor-executable instructions;

[0039] The processor is configured to implement the steps of the method described in any one of the above embodiments when executed.

[0040] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0041] It can be seen from the above embodiments that the present disclosure can determine whether the connection between the connection and the connection circuit board is abnormal by the voltage detected by the voltage detection component, so that most of the poor connection problems can be eliminated before the electronic equipment equipped with the detection circuit leaves the factory, reducing subsequent after-sales problems and reducing production costs. It should be understood that the above general description and the detailed description below are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] Figure 1 It is one of the structural schematic diagrams of a detection circuit according to an exemplary embodiment.

[0044] Figure 2 yes Figure 1 A simple equivalent schematic of the detection circuit shown.

[0045] Figure 3 This is a second structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0046] Figure 4 yes Figure 3 A simple equivalent schematic of the detection circuit shown.

[0047] Figure 5 This is a third structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0048] Figure 6 This is a fourth structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0049] Figure 7 This is a fifth structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0050] Figure 8 This is the sixth structural schematic diagram of a detection circuit shown according to an exemplary embodiment.

[0051] Fig. 9 This is the seventh structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0052] Fig.10 This is an eighth structural schematic diagram of a detection circuit according to an exemplary embodiment.

[0053] Fig.11 The figure is a flow chart of a detection method according to an exemplary embodiment.

[0054] Fig.12 It is a block diagram of a detection device according to an exemplary embodiment.

[0055] Fig.13 It is a block diagram of a detection device according to an exemplary embodiment. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0057] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0058] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0059] Figure 1 FIG. 1 is a schematic diagram showing a structure of a detection circuit according to an exemplary embodiment. Figure 1As shown, the detection circuit may include a first circuit board 1, a first connector 2, a second circuit board 3, a second connector 4 and a connection circuit board 5. The first circuit board 1 is connected to the first connector 2, the second circuit board 3 is connected to the second connector 4, and the connection circuit board 5 can connect the first connector 2 and the second connector 4, so as to realize signal transmission between the first circuit board 1 and the second circuit board 3. Specifically, the first connector 2 may include a plurality of first pins 21, the second connector 4 may include a plurality of second pins 41, and the connection circuit board 5 may realize signal transmission between the first circuit board 1 and the second circuit board 3 by connecting the first pins 21 and the second pins 41. The connection between the first connector 2 and the first circuit board 1, and the second connector 4 and the second circuit board 3 is usually realized by snapping the pin of the connector to the corresponding connection circuit board. If the connector is tilted, offset, deformed or misaligned during the snapping process, an abnormal impedance will occur, which is easy to affect the relevant functions of the electronic device. The first circuit board 1 may include the main board of the electronic device equipped with the detection circuit, and the second circuit board 3 may include a sub-board, for example, it may be a power connection circuit board related to the battery, or it may also be a connection circuit board related to the camera module, and the present disclosure is not limited to this.

[0060] Therefore, based on the above situation, in order to detect whether the connection between the connector and the connection circuit board is normal, the detection circuit in the present disclosure may also include a power supply 6, a preset resistor 7 and a voltage detection component 8, the connection circuit board 5 may include a detection trace 51, one end of the detection trace 51 is connected to the first pin 21, and the other end is connected to the second pin 41, the power supply 6 is connected to the first connector 2, and the electrical signal output by the power supply 6 is connected to the ground point after passing through the first pin 21, the detection trace 51, the second pin 41 and the preset resistor 7 in series, and the voltage detection component 8 is connected in parallel with the first pin 21, the second pin 41 and the preset resistor 7, so that the voltage at both ends of the circuit of the first pin 21, the second pin 41 and the preset resistor 7 in series can be detected. Since the resistance between the first pin 21 and the second pin 41 is different in the two cases of normal connection and abnormal connection between the connector and the connection circuit board, the voltage detected by the voltage detection component 8 is also different in the two cases. Therefore, it can be determined whether the connection between the first connector 2 and the first circuit board 1, and the second connector 4 and the second circuit board 3 is normal according to the voltage detected by the voltage detection component 8.

[0061] For example, Figure 1 As shown, assuming that the preset resistor includes a resistor R, further the first pin 21 on the first connector 2, the detection line 51 and the second pin 41 are equivalent to the resistor R1, then the following can be obtained: Figure 2 The equivalent circuit diagram is shown in Figure 1. Figure 2As shown, the power supply 6 has a constant output current I. If the first connector 2 is well fastened to the first circuit board 1 and the second connector 4 is well fastened to the second circuit board 2, the resistance value of the resistor R1 is very small and can be basically ignored. Therefore, the voltage detected by the voltage detection component 8 is I*R, where R is the resistance value of the preset resistor 7. If the first connector 2 is not well fastened to the first circuit board 1 or the second connector 4 is not well fastened to the second circuit board 3, or both are not well fastened, R1 has a certain resistance value. At this time, the voltage detected by the voltage detection component 8 is I*(R+R1). If the connector is misaligned and connected to the reference ground, the voltage detected by the voltage detection component 8 is 0. If the connector is incorrectly connected to other pins, the voltage detected by the voltage detection component 8 is I*R other Based on this, it is possible to determine whether the connection between the connector and the connection circuit board is normal by comparing the detected voltage value with the preset value threshold. The preset threshold may include a single value or a range of values, and the preset threshold may be obtained through multiple tests.

[0062] For another example, the preset resistor may include multiple resistors. In this case, the power supply 6 may be a constant current output or a constant voltage output, which is not limited in the present disclosure. Figure 3 As shown, the preset resistor may include a first preset resistor 71 and a second preset resistor 72. It is further assumed that the first pin 21 on the first connector 2, the detection line 51 and the second pin 41 are equivalent to a resistor R, then the following can be obtained: Figure 4 The equivalent circuit diagram is shown in Figure 1. Figure 4 As shown, assuming that the power supply 6 outputs a constant voltage VCC, the resistance of the first preset resistor 71 is R1, and the resistance of the second preset resistor 72 is R2. Then, the voltage can be detected by using the voltage division principle, that is, Figure 3 As shown, the voltage detection component 8 is only connected in parallel with the first preset resistor 71. If the first connector 2 and the first circuit board 1 are well fastened, and the second connector 4 and the second circuit board 2 are well fastened, then the resistance value of the resistor R is very small and can be basically ignored. Therefore, the voltage detected by the voltage detection component 8 is VCC*R1 / (R1+R2); if the first connector 2 and the first circuit board 1 are not well fastened, or the second connector 4 and the second circuit board 3 are not well fastened, or both are not well fastened, R is greater than zero and cannot be ignored. At this time, the voltage detected by the voltage detection component 8 is VCC(R+R1) / (R+R1+R2). If the connector is misaligned and connected to the reference ground, the voltage detected by the voltage detection component 8 is 0. If the connector is incorrectly connected to other pins, then the resistance value of the resistor R is the resistance value corresponding to the other pins, and the voltage detected by the voltage detection component 8 is VCC*(Rother+R1) / (Rother+R1+R2).

[0063] Based on this, it is possible to determine whether the connection between the connector and the connection circuit board is normal by comparing the detected voltage value with the preset value threshold. The preset threshold may include a single value or a range of values, and the preset threshold may be obtained through multiple tests. Figure 3 In the embodiment, when the power supply 6 is a constant current output, it is also possible to determine whether the connector is connected to the corresponding connection circuit board normally by detecting the voltage across the equivalent resistor R, the first preset resistor 71 and the second preset resistor 72.

[0064] It can be seen from the above embodiments that the present invention can determine whether the connection between the connection and the connection circuit board is abnormal through the voltage detected by the voltage detection component, thereby eliminating most of the poor connection problems before the electronic device configured with the detection circuit 100 leaves the factory, reducing subsequent after-sales problems and reducing production costs.

[0065] It should be noted that: Figure 1 In the figure, the connection circuit board located on the upper side is shown as the first circuit board 1, and the power supply 6 is connected to the first connector 2; and it can be understood that when the attached Figure 1 When the connecting circuit board located on the upper side is the second circuit board 3, the power supply 6 may also be connected to the second connector 4, which is not limited in the present disclosure.

[0066] In this embodiment, the detection circuit may have multiple implementations, which may include one circuit or multiple branches. The following will describe in detail a concentrated implementation method thereof:

[0067] In one embodiment, Figure 1 As shown, the connection circuit board 4 may include a plurality of detection lines connected in series, and the input ends of the plurality of detection lines connected in series are connected to the power supply 6, and the output ends are connected to the ground point. Figure 1 and Figure 3 As shown in , the connection circuit board 5 may include a first detection line 511 and a second detection line 512, the first detection line 511 and the second detection line 512 are connected in series, and the input end after the series connection is a first pin connected to the second detection line 512, and the first pin is connected to the power supply 6, and the output end after the series connection is a first pin connected to the detection line 511, and the first pin is connected to the ground point. In order to facilitate circuit connection, the voltage detection component 8 can be connected in parallel with the first pin 21 and the second pin 41 corresponding to the first detection line 511, and the first pin 21 and the second pin 41 corresponding to the second detection line 512 and the preset resistor.

[0068] In this case, if the preset resistor 7 includes a resistor, then the power supply 6 outputs a constant current, such as Figure 1 As shown, the resistor can be connected in series with the input end of the detection line and the power supply 6, or, as shown in FIG. Figure 5 As shown, the one resistor may also connect the output ends of the plurality of detection wires connected in series and the ground point. The present disclosure is not limited thereto.

[0069] In addition, if the preset resistor includes multiple resistors connected in series, the multiple resistors may be located on the same connection circuit board, and at least one of the multiple resistors is located between the input terminal and the power supply, while the other resistors are located between the output terminal and the ground point. Figure 3 As shown, the preset resistor 7 may include a first preset resistor 71 and a second preset resistor 72 connected in series, the first preset resistor 71 is connected between the input terminal and the power supply 6, and the second preset resistor 72 is connected between the output terminal and the ground point. Figure 6 As shown, the first preset resistor 71 and the second preset resistor 72 are both connected between the output terminal and the ground point. Of course, in other embodiments, the first preset resistor 71 and the second preset resistor 72 can also be connected between the input terminal and the power supply 6, which is not limited in the present disclosure.

[0070] In another embodiment, the detection circuit may include multiple branches, each branch includes a detection line connected in series, a first pin 21 and a second pin 41 corresponding to the detection line, a preset resistor and a ground point. The detection circuit may also include multiple voltage detection components, and the multiple voltage detection components 8 correspond to the multiple branches one by one, so as to facilitate determining which pin corresponding to which detection line has a poor connection.

[0071] In one case, if Figure 7 Each branch shown includes a preset resistor, each branch corresponds to a power supply, and the power supply is a constant current output. Figure 7 As shown, the detection circuit includes Figure 7 The first branch on the left and Figure 7In the second branch on the right, the power supply 6 may include a first power supply 61 and a second power supply 62, the preset resistor 7 may include a third preset resistor 73 and a fourth preset resistor 74, the voltage detection component 8 may include a first voltage detection component 81 and a second voltage component 82, and the detection trace 51 may include a first detection component 511 and a second detection component 512. The electrical signal output by the first power supply 61 is connected to the corresponding grounding point after passing through the first detection trace 511 and the first preset resistor 71 to form a first branch. The first voltage detection component 81 is connected in parallel with at least the first pin 21 and the second pin 41 connected in series with the first detection component 511; the electrical signal output by the second power supply 62 is connected to the corresponding grounding point after passing through the second detection trace 512 and the second preset resistor 72 to form a second branch. The second voltage detection component 82 is connected in parallel with at least the first pin 21 and the second pin 41 connected in series with the first detection component 512.

[0072] In this embodiment, the preset resistor and the grounding point included in each branch are located on the same circuit board. Figure 8 As shown, there is another situation, that is, the preset resistor and grounding point included in the branch can also be located on different circuit boards. Of course, it is understandable that when there are multiple branches, the preset resistor and grounding point of one or more branches can be located on the same circuit board, and the preset resistor and grounding point of one or more branches can be located on different circuit boards, and the present disclosure does not limit it. Among them, when the preset resistor and grounding point on the branch are located on different circuit boards, the grounding point of the branch should be a grounding point, isolated from other grounding points on the connected circuit board.

[0073] In another case, each branch may include multiple preset resistors, and at least two of the multiple branches correspond to the same power source, or each branch corresponds to a power source, and a voltage detection component 8 may be provided on each branch for voltage detection. Fig. 9 As shown, the detection circuit includes Fig. 9 The first branch on the left and Fig. 9 The second branch on the right side, the first branch may include a first preset resistor 71, a first voltage detection component 81, a detection line 511, and a second preset resistor 72 connected in series, and the second branch may include a fifth preset resistor 75, a second voltage detection component 82, a detection line 512, and a sixth preset resistor 76 connected in series. The first branch and the second branch may share the same power supply 6, or as Fig.10 The first branch shown can be set corresponding to the first power supply 61, and the second branch can be set corresponding to the second power supply 62. The first branch or the second branch can also be adopted Figure 3 The present disclosure is not limited to the circuit structure shown in FIG.

[0074] In this embodiment, if Fig. 9 As shown, the multiple preset resistors corresponding to any branch can be located on different circuit boards, that is, Fig. 9 The first preset resistor 71 corresponding to the first branch is located on the first circuit board 1, and the second preset resistor 72 is located on the second circuit board 3, the fifth preset resistor 75 corresponding to the second branch is located on the first circuit board 1, and the sixth preset resistor 76 is located on the second circuit board 3. Or, as Fig.10 As shown, multiple preset resistors corresponding to any branch can be located on the same circuit board, that is, Fig.10 The first preset resistor 71 and the second preset resistor 72 corresponding to the first branch are both located on the first circuit board 1, and the fifth preset resistor 75 and the sixth preset resistor 76 corresponding to the second branch are both located on the first circuit board 1, and of course, they can also be located on the second circuit board 3, which will not be repeated here. Among them, when multiple preset resistors 7 corresponding to any branch are located on the same circuit board, the grounding point corresponding to any branch should be a dedicated grounding point for the grounding point to avoid signal confusion and affect the detection result.

[0075] It should be noted that when there are multiple branches sharing a power supply, the common power supply is a constant voltage output, and when each branch corresponds to a power supply, the power supply is a constant current output or a constant voltage output. Fig. 9 The power supply 6 shown is a constant voltage output. Fig.10 The power supply 61 and the power supply 62 shown in the figure can be either a constant current output or a constant voltage output.

[0076] In the above embodiments, when the connector is poorly fastened, it usually causes abnormal fastening of the edge pins on both sides of the connector and the circuit. Therefore, the multiple traces included in the connection circuit board 5 in the present disclosure can include two edge detection traces, which connect the first pin 21 located at the edge of the first connector 2 and the second pin 41 located at the edge of the second connector 4. In this way, most of the poor connection situations can be eliminated through the two detection traces located at the edge, which is conducive to improving the detection efficiency.

[0077] In the technical solution disclosed in the present invention, in order to prevent the detection line 51 from affecting other signal lines in the circuit board 5, the detection line 51 can be an isolation line between different signal lines in the circuit board 5, avoiding the need to set up a detection line specifically for the detection circuit, thereby reducing costs and not affecting signal transmission.

[0078] In the technical solution of the present disclosure, if the power supply of the detection circuit in the present disclosure is a shared power supply with other electronic components in the electronic device, then when the other electronic components are turned on, part of the electrical signal output by the shared power supply will flow through the detection circuit, and the other part will flow to the other electronic components, which may easily lead to insufficient voltage of other electronic components and inability to start, and on the other hand, it may also cause the current value in the detection circuit to change continuously, resulting in inaccurate detection results. Therefore, the power supply 6 of the detection circuit in the present disclosure is a dedicated power supply for the detection point library, which starts the power supply when detection is required and shuts down when it is not required to avoid the above-mentioned drawbacks.

[0079] like Fig.11 As shown, the present disclosure further provides a detection method, which is applied to the detection circuit described in any of the above embodiments. The detection method may include the following steps:

[0080] In step 601, a voltage detected by a voltage component in the detection circuit is obtained;

[0081] In step 602, the voltage is compared with a preset threshold value to determine whether the first connector and the second connector are connected to the corresponding connection circuit board normally.

[0082] In this embodiment, the preset threshold value may be an empirical value obtained from multiple experiments, and the preset threshold value may be a numerical value or a threshold range, which is not limited in the present disclosure. The specific implementation of the detection method may refer to the embodiment of the detection circuit, which will not be described in detail here.

[0083] Corresponding to the aforementioned detection method embodiments, the present disclosure also provides embodiments of a detection device.

[0084] Fig.12 is a block diagram of a detection device according to an exemplary embodiment. Figure 7 , the device includes an acquisition module 701 and a comparison module 702, wherein:

[0085] An acquisition module 701 is used to acquire a voltage detected by a voltage component in the detection circuit;

[0086] The comparison module 702 compares the voltage with a preset threshold value to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.

[0087] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0088] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0089] Correspondingly, the present disclosure also provides a detection device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: obtain the voltage detected by the voltage component in the detection circuit; compare the voltage with a preset threshold to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.

[0090] Accordingly, the present disclosure also provides a terminal, which includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: obtaining the voltage detected by the voltage component in the detection circuit; comparing the voltage with a preset threshold to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.

[0091] Fig.13 1 is a block diagram of a detection device 1300 according to an exemplary embodiment. For example, the device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0092] Reference Fig.13 , the device 1300 may include one or more of the following components: a processing component 1302 , a memory 1304 , a power supply 1306 , a multimedia component 1308 , an audio component 1310 , an input / output (I / O) interface 1312 , a sensor component 1314 , and a communication component 1316 .

[0093] The processing component 1302 generally controls the overall operation of the device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 1302 may include one or more modules to facilitate the interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate the interaction between the multimedia component 1308 and the processing component 1302.

[0094] The memory 1304 is configured to store various types of data to support the operation of the device 1300. Examples of such data include instructions for any application or method operating on the device 1300, contact data, phone book data, messages, pictures, videos, etc. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0095] The power supply 1306 provides power to the various components of the device 1300. The power supply 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1300.

[0096] The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front camera and / or a rear camera. When the device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0097] The audio component 1310 is configured to output and / or input audio signals. For example, the audio component 1310 includes a microphone (MIC), and when the device 1300 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1304 or sent via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.

[0098] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0099] The sensor assembly 1314 includes one or more sensors for providing various aspects of the status assessment of the device 1300. For example, the sensor assembly 1314 can detect the open / closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, the sensor assembly 1314 can also detect the position change of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, the orientation or acceleration / deceleration of the device 1300, and the temperature change of the device 1300. The sensor assembly 1314 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0100] The communication component 1316 is configured to facilitate wired or wireless communication between the device 1300 and other devices. The device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0101] In an exemplary embodiment, the device 1300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned methods.

[0102] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the instructions can be executed by the processor 1320 of the device 1300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0103] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0104] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A detection circuit for connection detection of a circuit board in an electronic device, characterized in that: include: A first circuit board and a first connector connected to the first circuit board, wherein the first connector includes a plurality of first pins; a second circuit board and a second connector connected to the second circuit board, wherein the second connector includes a plurality of second pins; A connecting circuit board, the connecting circuit board is used to transmit signals between the first circuit board and the second circuit board, the connecting circuit board includes a detection line, one end of the detection line is connected to the first pin, and the other end is connected to the second pin; A power supply and a preset resistor, wherein the power supply is connected to the first connector, and an electrical signal output by the power supply is fed into a grounding point after passing through a first pin, a detection line, a second pin and the preset resistor connected in series; A voltage detection component is connected in parallel with the first pin, the second pin and the preset resistor to detect the voltage at both ends of a circuit of the first pin, the second pin and the preset resistor connected in series, wherein the first pin, the detection trace and the second pin are used as an equivalent resistance; the voltage detected by the voltage detection component is used to determine whether the first connector and the second connector are connected to the corresponding connection circuit board normally.

2. The detection circuit according to claim 1, characterized in that: The preset resistor includes one or more resistors, and the voltage detection component is connected in parallel with at least one of the resistors; Wherein, when the preset resistor includes one resistor, the power supply is a constant current output, and when the preset resistor includes multiple resistors, the power supply is a constant current output or a constant voltage output.

3. The detection circuit according to claim 1, characterized in that: The connection circuit board includes a plurality of detection wires connected in series, and the input ends of the plurality of detection wires connected in series are connected to the power supply, and the output ends are connected to the ground point.

4. The detection circuit according to claim 3, characterized in that: The preset resistor includes a resistor, and the resistor is connected to the input end and the power supply, or the resistor is connected to the output end and the ground point.

5. The detection circuit according to claim 3, characterized in that: The preset resistor includes a plurality of resistors connected in series, the plurality of resistors are located on the same connection circuit board, at least one of the plurality of resistors is located between the input end and the power supply, and the other resistors are located between the output end and the ground point.

6. The detection circuit according to claim 3, characterized in that: The connection circuit board comprises a first detection line and a second detection line connected in series, the first detection line is connected to the power supply, and the second detection line is connected to the ground point; The voltage detection component is connected in parallel with the first pin and the second pin corresponding to the first detection wiring, the first pin and the second pin corresponding to the second detection wiring, and the preset resistor.

7. The detection circuit according to claim 1, characterized in that: The detection circuit includes a plurality of branches, each of which includes a detection line connected in series, a first pin and a second pin corresponding to the detection line, a preset resistor and a grounding point; The detection circuit includes a plurality of voltage detection components, and the plurality of voltage detection components correspond one-to-one to the plurality of branches.

8. The detection circuit according to claim 7, characterized in that: Each branch includes a preset resistor, each branch corresponds to a power supply, and the power supply is a constant current output.

9. The detection circuit according to claim 8, characterized in that: Any grounding point and the preset resistor corresponding to the any grounding point are located on the same or different circuit boards.

10. The detection circuit according to claim 8, characterized in that: Any grounding point and the preset resistor corresponding to the any grounding point are located on different connection circuit boards, and the grounding point is a dedicated grounding point of the detection circuit.

11. The detection circuit according to claim 7, characterized in that: Each branch includes a plurality of preset resistors, at least two of the plurality of branches correspond to a power supply or each branch corresponds to a power supply, and the power supply outputs a constant voltage.

12. The detection circuit according to claim 11, characterized in that: Each branch includes a plurality of preset resistors arranged on the same or different circuit boards.

13. The detection circuit according to claim 11, characterized in that: The multiple preset resistors corresponding to any branch are arranged on the same circuit board, and the grounding point corresponding to any branch is a dedicated grounding point of any branch.

14. The detection circuit according to claim 1, characterized in that: The connection circuit board includes a plurality of detection traces, wherein the plurality of detection traces include two edge detection traces, and the edge detection traces connect a first pin located at an edge of the first connector and a second pin located at an edge of the second connector.

15. The detection circuit according to claim 1, characterized in that: The detection trace is an isolation line connecting different signal lines in the circuit board.

16. The detection circuit according to claim 1, characterized in that: The power supply is a dedicated power supply for the detection circuit.

17. The detection circuit according to claim 1, characterized in that: The power supply includes an LED driving power supply.

18. A detection method, characterized in that: Applied to the detection circuit according to any one of claims 1 to 17, the method comprising: Acquiring a voltage detected by a voltage component in the detection circuit; The voltage is compared with a preset threshold value to determine whether the first connector and the second connector are connected to the corresponding connection circuit board normally.

19. A detection device, characterized in that: Applied to the detection circuit according to any one of claims 1 to 17, the device comprises: An acquisition module, for acquiring a voltage detected by a voltage component in the detection circuit; A comparison module compares the voltage with a preset threshold value to determine whether the connection between the first connector and the second connector and the corresponding connection circuit board is normal.

20. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by the processor, the steps of the method as claimed in claim 18 are implemented.

21. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the steps of the method as claimed in claim 18 when executed.

Citation Information

Patent Citations

  • Connector detection system

    CN101769977A

  • Led lighting device and cable connection detection device

    CN103080760A

  • Detection circuit and detection method

    CN103345436A

  • Testing device of testing on and off and correctness of cable and method thereof

    CN105911417A

  • High-voltage interlocking loop and high-voltage interlocking loop detector

    CN106882052A