CN112798988A - Detection circuit, detection method and device, and electronic device - Google Patents

Detection circuit, detection method and device, and electronic device Download PDF

Info

Publication number
CN112798988A
CN112798988A CN201911018138.3A CN201911018138A CN112798988A CN 112798988 A CN112798988 A CN 112798988A CN 201911018138 A CN201911018138 A CN 201911018138A CN 112798988 A CN112798988 A CN 112798988A
Authority
CN
China
Prior art keywords
detection
circuit board
connector
circuit
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911018138.3A
Other languages
Chinese (zh)
Inventor
周隆龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911018138.3A priority Critical patent/CN112798988A/en
Publication of CN112798988A publication Critical patent/CN112798988A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The disclosure relates to a detection circuit, a detection method and device and an electronic device. The detection circuit includes: the first connector comprises a plurality of first pins; the second circuit board and a second connector connected to the second circuit board, the second connector comprising a plurality of second pins; the connecting circuit board is used for transmitting signals between the first circuit board and the second circuit board and can comprise detection wires connected with the first pins and the second pins; the power supply is connected with the first connector, and an electric signal output by the power supply is converged into the grounding point after passing through the first pin, the detection wiring, the second pin and the preset resistor which are connected in series; the voltage detection assembly is at least connected with the first pin, the second pin and the preset resistor in parallel, and the voltage detected by the voltage detection assembly is used for judging whether the connection between the first connector and the corresponding connecting circuit board and the connection between the second connector and the corresponding connecting circuit board are normal or not.

Description

Detection circuit, detection method and device, and electronic device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a detection circuit, a detection method, a detection device, and an electronic apparatus.
Background
Currently, when signal transmission is required among a plurality of connected circuit boards in an electronic device, circuit connection is usually achieved by Board-to-Board Connectors (BTBs) and the connected circuit boards. Whether the pins of the board-to-board connector and the connecting circuit board are normally buckled and plugged or not influences the realization of the related functions of the electronic equipment, or influences the service life of the related functions of the electronic equipment, and further influences the quality and the service life of the electronic equipment.
Disclosure of Invention
The present disclosure provides a detection circuit, a detection method and apparatus, and an electronic device, to solve the deficiencies in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a detection circuit, including:
the connector comprises a first circuit board and a first connector connected to the first circuit board, wherein the first connector comprises a plurality of first pins;
a second circuit board and a second connector connected to the second circuit board, the second connector including a plurality of second pins;
the connecting circuit board is used for transmitting signals between the first circuit board and the second circuit board and comprises a detection wire, one end of the detection wire is connected to the first pin, and the other end of the detection wire is connected to the second pin;
the power supply is connected with the first connector, and an electric signal output by the power supply is converged into a grounding point after passing through a first pin, a detection wire, a second pin and the preset resistor which are connected in series;
the voltage detection assembly is connected with the first pin, the second pin and the preset resistor in parallel, and the voltage detected by the voltage detection assembly is used for judging whether the connection of the first connector and the second connector with the corresponding connecting circuit board is normal or not.
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;
when the preset resistor comprises a plurality of resistors, the power supply outputs a constant current or outputs a constant voltage.
Optionally, the connection circuit board includes a plurality of detection wires connected in series, and an input end of the plurality of detection wires connected in series is connected to the power supply, and an output end of the plurality of detection wires is connected to the ground point.
Optionally, the preset resistor includes a resistor, and the resistor is connected to the input terminal and the power supply, or the resistor is connected to the output terminal and the ground point.
Optionally, 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 terminal and the power supply, and the other resistors are located between the output terminal and the ground point.
Optionally, the connection circuit board includes a first detection trace and a second detection trace connected in series, where the first detection trace is connected to the power supply, and the second detection trace is connected to the ground point;
the first pin and the second pin corresponding to the first detection wire, the first pin and the second pin corresponding to the second detection wire and the preset resistor of the voltage detection assembly are connected in parallel.
Optionally, the detection circuit includes a plurality of branches, and each branch includes a detection trace, a first pin and a second pin corresponding to the detection trace, a preset resistor, and a ground point, which are connected in series with each other;
the detection circuit comprises a plurality of voltage detection components, and the voltage detection components correspond to the branch circuits one by one.
Optionally, each branch includes a preset resistor, each branch corresponds to a power supply, and the power supply outputs a constant current.
Optionally, any one of the grounding points and the preset resistor corresponding to the grounding point are located on the same or different circuit boards.
Optionally, any grounding point and the preset resistor corresponding to the grounding point are located on different circuit boards, and the grounding point is a special grounding point for the detection circuit.
Optionally, each branch circuit includes a plurality of preset resistors, at least two branch circuits of the plurality of branch circuits correspond to one power supply or each branch circuit corresponds to one power supply, and the power supply is a constant voltage output.
Optionally, each branch circuit includes a plurality of preset resistors disposed on the same or different circuit boards.
Optionally, the plurality of preset resistors corresponding to any branch are disposed on the same circuit board, and the ground point corresponding to any branch is a dedicated ground point of any branch.
Optionally, the connection circuit board includes a plurality of detection traces, the plurality of detection traces include two edge detection traces, and the edge detection traces are connected to a first pin located at an edge of the first connector and a second pin located at an edge of the second connector.
Optionally, the detection trace is an isolation line between different signal lines in the connection circuit board.
Optionally, the power supply is a dedicated power supply of the detection circuit.
Optionally, the power supply comprises an LED driving power supply.
According to a second aspect of the embodiments of the present disclosure, there is provided a detection method applied to the detection circuit according to any one of the embodiments described above, the method including:
acquiring the voltage detected by a voltage component in the detection circuit;
and comparing the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal.
In a third aspect of the embodiments of the present disclosure, there is provided a detection apparatus applied to the detection circuit according to any one of the above embodiments, the apparatus including:
the acquisition module acquires the voltage detected by the voltage component in the detection circuit;
and the comparison module compares the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal or not.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored, and the instructions, when executed by a processor, implement the steps of the method according to any one of the embodiments described above.
In a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to carry out the steps of the method of any of the above embodiments when executed.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, whether the connection between the connection circuit board and the connection circuit board is abnormal or not can be judged through the voltage detected by the voltage detection assembly, so that most of the problems of poor connection can be eliminated before the electronic equipment provided with the detection circuit leaves a factory, the subsequent after-sale problems are reduced, and the production cost is reduced. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
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 disclosure.
Fig. 1 is one of schematic structural diagrams illustrating a detection circuit according to an exemplary embodiment.
Fig. 2 is a simple equivalent schematic diagram of the detection circuit shown in fig. 1.
Fig. 3 is a second schematic diagram of a detection circuit according to an exemplary embodiment.
Fig. 4 is a simple equivalent schematic diagram of the detection circuit shown in fig. 3.
Fig. 5 is a third schematic diagram illustrating a structure of a detection circuit according to an exemplary embodiment.
Fig. 6 is a fourth schematic diagram illustrating a structure of a detection circuit according to an exemplary embodiment.
Fig. 7 is a fifth schematic diagram illustrating a structure of a detection circuit according to an exemplary embodiment.
Fig. 8 is a sixth schematic diagram illustrating a structure of a detection circuit according to an exemplary embodiment.
Fig. 9 is a seventh illustrative view of a structure of a detection circuit according to an exemplary embodiment.
Fig. 10 is an eighth schematic diagram illustrating a configuration of a detection circuit according to an exemplary embodiment.
FIG. 11 is a flow chart illustrating a detection method according to an example embodiment.
FIG. 12 is a block diagram illustrating a detection device according to an exemplary embodiment.
FIG. 13 is a block diagram illustrating an apparatus for detecting according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a schematic diagram illustrating a structure of a detection circuit according to an exemplary embodiment. As shown in fig. 1, 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 with the first connector 2, the second circuit board 3 is connected with the second connector 4, and the connecting circuit board 5 can be connected with the first connector 2 and the second connector 4, so that signal transmission between the first circuit board 1 and the second circuit board 3 is realized. 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 implement 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 connection between the second connector 4 and the second circuit board 3 are usually implemented by fastening pins of the connectors to corresponding connection circuit boards, and if the connectors are tilted, deviated, deformed or dislocated in the fastening process, the impedance is abnormal, and then the related functions of the electronic device are easily affected, the first circuit board 1 may include a main board of the electronic device configured with the detection circuit, and the second circuit board 3 may include a secondary board, for example, a power connection circuit board related to a battery, or a connection circuit board related to a camera module, which is not limited by the present disclosure.
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 further include a power source 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 source 6 is connected to the first connector 2, and an electrical signal output by the power source 6 is merged into a ground point after passing through the first pin 21, the detection trace 51, the second pin 41 and the preset resistor 7 which are connected in series, and the voltage detection component 8 is connected in parallel to the first pin 21, the second pin 41 and the preset resistor 7, so as to be able to detect voltages at two ends of the circuit including the first pin 21, the second pin 41 and the preset resistor 7 which are connected in series. Since the resistance values between the first pin 21 and the second pin 41 are different in both cases of normal connection and abnormal connection of the connector to the connection circuit board, the voltages detected by the voltage detection member 8 are different in both cases. Therefore, it is possible to determine whether or not the connections between the first connector 2 and the first circuit board 1, the second connector 4 and the second circuit board 3 are normal based on the voltage detected by the voltage detection member 8.
For example, still referring to fig. 1, assuming that the predetermined resistance includes a resistance R, further the equivalent between the first pin 21, the detection trace 51 and the second pin 41 on the first connector 2 is equivalent to the resistance R1, so that the equivalent circuit diagram shown in fig. 2 can be obtained. As shown in fig. 2, if the power supply 6 outputs a constant 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 of the resistor R1 is very small and can be substantially ignored, so that the voltage detected by the voltage detection component 8 is I × R, where R is the resistance 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 of them are not well fastened, R1 has a certain resistance, the voltage detected by the voltage detection component 8 is I (R + R1), if the connector is connected to the reference ground in a staggered manner, the voltage detected by the voltage detection component 8 is 0, and if the connector is connected to other pin pins in a wrong manner, the voltage detected by the voltage detection component 8 is I Rother. Based on this, it is possible to determine whether or not the connection between the connector and the connection circuit board is normal by determining the comparison of the detected voltage value with a preset value threshold. The preset threshold may be a single value or a range of values, and may be obtained through multiple experiments.
By way of further example, the preset resistor may include a plurality of resistors, in which case the power supply 6 may be a constant current output or a constant voltage output, and the disclosure is not limited thereto. As shown in fig. 3, the preset resistance may include a first preset resistance 71 and a second preset resistance 72, and further assuming that the equivalent between the first pin 21, the detection trace 51 and the second pin 41 on the first connector 2 is a resistance R, an equivalent circuit diagram as shown in fig. 4 can be obtained. As shown in fig. 4, it is assumed that the power supply 6 outputs a constant voltage VCC, the first preset resistor 71 has a resistance value of R1, and the second preset resistor 72 has a resistance value of R2. Then, the voltage can be detected by using a voltage division principle, that is, as shown in fig. 3, the voltage detection component 8 is only connected in parallel with the first preset resistor 71, if the first connector 2 is well fastened with the first circuit board 1 and the second connector 4 is well fastened with the second circuit board 2, the resistance of the resistor R is very small and can be basically ignored, so that 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, R is greater than zero and cannot be ignored, the voltage detected by the voltage detection component 8 is VCC (R + R1)/(R + R1+ R2), if the connector is connected to the reference ground in a staggered manner, the voltage detected by the voltage detection component 8 is 0, and if the connector is connected to other pin pins in an error manner, the resistance value of the resistor R is the resistance value corresponding to the other pin pins, and the voltage detected by the voltage detection component 8 is VCC (Rother + R1)/(Rother + R1+ R2).
Based on this, it is possible to determine whether or not the connection between the connector and the connection circuit board is normal by determining the comparison of the detected voltage value with a preset value threshold. The preset threshold may be a single value or a range of values, and may be obtained through multiple experiments. Of course, in the embodiment shown in fig. 3, when the power supply 6 outputs a constant current, it can also be determined whether the connector is normally connected to the corresponding connection circuit board by detecting the voltages at the two ends of the equivalent resistor R, the first preset resistor 71 and the second preset resistor 72.
According to the embodiment, whether the connection between the connection circuit board and the connection circuit board is abnormal or not can be judged through the voltage detected by the voltage detection component, so that most of the problems of poor connection can be eliminated before the electronic equipment provided with the detection circuit 100 leaves a factory, the subsequent after-sale problems are reduced, and the production cost is reduced.
It should be noted that: a first circuit board 1 is illustrated as a connection circuit board located at an upper side in fig. 1 of the present disclosure, and a power source 6 is connected to the first connector 2; it is to be understood that, when the connection circuit board located at the upper side in fig. 1 is the second circuit board 3, then the power source 6 may be connected to the second connector 4, and the disclosure is not limited thereto.
In this embodiment, the detection circuit may have various embodiments, which may include one circuit or may also include a plurality of branches, and the following description will be made in a centralized embodiment thereof:
in an embodiment, still referring to fig. 1, the connection circuit board 4 may include a plurality of detection traces connected in series, and an input end of the plurality of detection traces connected in series is connected to the power supply 6, and an output end thereof is connected to the ground point. For example, as shown in fig. 1 and 3, the connection circuit board 5 may include a first detection trace 511 and a second detection trace 512, the first detection trace 511 and the second detection trace 512 are connected in series, and the input end of the series connection is a first pin connected to the second detection trace 512, the first pin is connected to the power supply 6, and the output end of the series connection is a first pin connected to the detection trace 511, the first pin is connected to the ground point. For the convenience of circuit connection, the voltage detection component 8 may be connected in parallel with the first pin 21 and the second pin 41 corresponding to the first detection trace 511, and the first pin 21 and the second pin 41 corresponding to the second detection trace 512, and the preset resistor.
In this case, if the preset resistor 7 includes one resistor, the power supply 6 outputs a constant current at this time, as shown in fig. 1, the one resistor may connect the input end of the detection lines and the power supply 6 after being connected in series, or, as shown in fig. 5, the one resistor may also connect the output ends of the detection lines and the grounding point after being connected in series. The present disclosure is not limited.
In addition, if the predetermined resistor includes a plurality of resistors connected in series, the plurality of resistors may be located on the same connecting circuit board, and at least one of the plurality of resistors is located between the input terminal and the power supply, and the other resistors are located between the output terminal and the ground point. For example, as shown in fig. 3, the preset resistor 7 may include a first preset resistor 71 and a second preset resistor 72 connected in series, where the first preset resistor 71 is connected between the input terminal and the power source 6, and the second preset resistor 72 is connected between the output terminal and the ground point. Still alternatively, as shown in fig. 6, the first preset resistor 71 and the second preset resistor 72 are both connected between the output terminal and the ground point, but in other embodiments, the first preset resistor 71 and the second preset resistor 72 may be both connected between the input terminal and the power source 6, and the disclosure is not limited thereto.
In another embodiment, the detection circuit may include a plurality of branches, each branch including a detection trace, a first pin 21 and a second pin 41 corresponding to the detection trace, a predetermined resistor, and a ground point, which are connected in series. The detection circuit can also comprise a plurality of voltage detection components, and the voltage detection components 8 correspond to the branch circuits one by one, so that the pin connection failure corresponding to which detection wiring is particularly determined is facilitated.
In one case, as shown in fig. 7, each branch includes a predetermined resistor, each branch corresponds to a power supply, and the power supply is a constant current output. For example, as shown in fig. 7, the detection circuit includes a first branch located on the left side of fig. 7 and a second branch located on the right side of fig. 7, 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, the detection trace 51 may include a first detection component 511 and a second detection component 512, an electrical signal output by the first power supply 61 passes through the first detection trace 511 and the first preset resistor 71 and then enters a corresponding grounding point to form a first branch, and 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 source 62 passes through the second detection trace 512 and the second preset resistor 72 and then enters the corresponding ground point to form a second branch, and the second voltage detection component 82 is at least connected in parallel with the first pin 21 and the second pin 41 connected in series with the first detection component 512.
In this embodiment, the predetermined resistor and the grounding point included in each branch are located on the same circuit board. As shown in fig. 8, there is another case that the predetermined resistor and the grounding point included in the branch may be located on different circuit boards. Of course, it is understood that when there are multiple branches, there may be one or multiple branches with their preset resistors and grounding points located on the same circuit board, and there may be one or multiple branches with their preset resistors and grounding points located on different circuit boards, and the disclosure is not limited thereto. When the preset resistor and the grounding point on the branch circuit are located on different circuit boards, the grounding point of the branch circuit should be a grounding point, and the grounding point is isolated from other grounding points on the connecting circuit board.
In another case, each branch may include a plurality of preset resistors, and at least two branches of the plurality of branches correspond to the same power supply or each branch may correspond to one power supply, and each branch may be provided with one voltage detection component 8 for performing voltage detection. For example, as shown in fig. 9, the detection circuit includes a first branch located on the left side in fig. 9 and a second branch located on the right side in fig. 9, the first branch may include a first preset resistor 71, a first voltage detection component 81, a detection trace 511, and a second preset resistor 72 connected in series, the second branch may include a fifth preset resistor 75, a second voltage detection component 82, a detection trace 512, and a sixth preset resistor 76 connected in series, and the first branch and the second branch may share the same power source 6, or as shown in fig. 10, the first branch may be disposed corresponding to the first power source 61 and the second branch may be disposed corresponding to the second power source 62. Wherein, the first branch or the second branch may also adopt the circuit structure shown in fig. 3, and the disclosure is not limited.
In this embodiment, as shown in fig. 9, the plurality of preset resistors corresponding to any branch circuit may be located on different circuit boards, that is, in fig. 9, the first preset resistor 71 corresponding to the first branch circuit is located on the first circuit board 1, the second preset resistor 72 is located on the second circuit board 3, the fifth preset resistor 75 corresponding to the second branch circuit is located on the first circuit board 1, and the sixth preset resistor 76 is located on the second circuit board 3. Alternatively, as shown in fig. 10, the multiple preset resistors corresponding to any branch may be located on the same circuit board, that is, in 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, may also be both located on the second circuit board 3, which is not described herein again. When the plurality of preset resistors 7 corresponding to any branch circuit are located on the same circuit board, the grounding point corresponding to any branch circuit should be a dedicated grounding point for the grounding point, so that signal confusion is avoided, and the detection result is not affected.
It should be noted that, in the case where there is a common power supply for a plurality of branches, the common power supply is a constant voltage output, and when there is a power supply for each branch, the power supply is a constant current output or a constant voltage output. For example, the power source 6 shown in fig. 9 is a constant voltage output, and the power source 61 and the power source 62 shown in fig. 10 may be either a constant current output or a constant voltage output.
In the above embodiments, when the connector is not properly engaged, the engagement between the pins at the two side edges of the connector and the circuit is usually abnormal. Therefore, the plurality of wires included in the connection circuit board 5 in the present disclosure may include two edge detection wires, and the edge detection wires are connected to 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, so that most of the bad connection conditions can be eliminated through the two detection wires located at the edges, which is beneficial to improving the detection efficiency.
In the technical scheme of the present disclosure, for example, the detection trace 51 is prevented from affecting other signal lines in the connection circuit board 5, and the detection trace 51 may be an isolation line between different signal lines in the connection circuit board 5, so as to avoid specially setting the detection trace for the detection circuit, thereby reducing the cost and not affecting signal transmission.
In the technical scheme of the disclosure, if the power supply of the detection circuit in the disclosure is a common power supply with other electronic components in the electronic device, when the other electronic components are turned on, a part of electric signals output by the common power supply may flow through the detection circuit, and another part of the electric signals may flow to the other electronic components, which may cause insufficient voltage of the other electronic components and may not be started, and may also cause a current value in the detection circuit to be changed continuously, resulting in an inaccurate detection result. Therefore, the power supply 6 of the detection circuit in the present disclosure is a dedicated power supply for the detection point bank, and the power supply is turned on when detection is needed and turned off when not needed, so as to avoid the above drawbacks.
As shown in fig. 11, the present disclosure further provides a detection method, which is applied to the detection circuit according to any one of the above embodiments, and the detection method may include the following steps:
in step 601, acquiring a voltage detected by a voltage component in the detection circuit;
in step 602, the voltage is compared 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.
In this embodiment, the preset threshold may be an empirical value obtained through multiple experiments, and the preset threshold may be a numerical value or may also be a threshold range, which is not limited in this disclosure. The specific implementation of the detection method may refer to an embodiment in the detection circuit, which is not described herein again.
Corresponding to the embodiment of the detection method, the disclosure also provides an embodiment of a detection device.
FIG. 12 is a block diagram illustrating a detection device according to an exemplary embodiment. Referring to fig. 7, the apparatus comprises an obtaining module 701 and a comparing module 702, wherein:
an obtaining module 701, configured to obtain a voltage detected by a voltage component in the detection circuit;
a comparing module 702, configured to compare the voltage with a preset threshold to determine whether the connections between the first connector and the corresponding connecting circuit board and the second connector are normal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, this disclosure still provides a detection device, includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring the voltage detected by a voltage component in the detection circuit; and comparing the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal.
Accordingly, the present disclosure also provides a terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: acquiring the voltage detected by a voltage component in the detection circuit; and comparing the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal.
Fig. 13 is a block diagram illustrating an apparatus 1300 for detecting according to an exemplary embodiment. For example, apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 13, the apparatus 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.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone 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 methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the apparatus 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
A power supply 1306 provides power to the various components of device 1300. Power supply 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for apparatus 1300.
The multimedia component 1308 includes a screen between the device 1300 and the user that provides an output interface. 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 an input signal from a 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 boundary of a 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 facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be 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.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the device 1300. For example, the sensor assembly 1314 may detect the open/closed state of the device 1300, the relative positioning of components, such as a display and keypad of the device 1300, the sensor assembly 1314 may also detect a change in the position of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, orientation or acceleration/deceleration of the device 1300, and a change in the temperature of the device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 1300 and other devices in a wired or wireless manner. The apparatus 1300 may 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 broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 1300 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (21)

1. A detection circuit, comprising:
the connector comprises a first circuit board and a first connector connected to the first circuit board, wherein the first connector comprises a plurality of first pins;
a second circuit board and a second connector connected to the second circuit board, the second connector including a plurality of second pins;
the connecting circuit board is used for transmitting signals between the first circuit board and the second circuit board and comprises a detection wire, one end of the detection wire is connected to the first pin, and the other end of the detection wire is connected to the second pin;
the power supply is connected with the first connector, and an electric signal output by the power supply is converged into a grounding point after passing through a first pin, a detection wire, a second pin and the preset resistor which are connected in series;
the voltage detection assembly is connected with the first pin, the second pin and the preset resistor in parallel, and the voltage detected by the voltage detection assembly is used for judging whether the connection of the first connector and the second connector with the corresponding connecting circuit board is normal or not.
2. The detection circuit of claim 1, wherein the predetermined resistance comprises one or more resistors, and the voltage detection component is connected in parallel with at least one of the resistors;
when the preset resistor comprises a plurality of resistors, the power supply outputs a constant current or outputs a constant voltage.
3. The detection circuit according to claim 1, wherein the connection circuit board includes a plurality of detection traces connected in series, and an input end of the plurality of detection traces is connected to the power supply and an output end thereof is connected to the ground point.
4. The detection circuit of claim 3, wherein the predetermined resistor comprises a resistor, and the resistor connects the input terminal to the power supply or the resistor connects the output terminal to the ground point.
5. The detection circuit of claim 3, wherein the predetermined resistor comprises a plurality of resistors connected in series, the plurality of resistors are located on a same connecting circuit board, at least one of the plurality of resistors is located between the input terminal and the power supply, and the other resistors are located between the output terminal and the ground point.
6. The detection circuit according to claim 3, wherein the connection circuit board includes a first detection trace and a second detection trace connected in series, the first detection trace being connected to the power source and the second detection trace being connected to the ground point;
the first pin and the second pin corresponding to the first detection wire, the first pin and the second pin corresponding to the second detection wire and the preset resistor of the voltage detection assembly are connected in parallel.
7. The detection circuit according to claim 1, wherein the detection circuit comprises a plurality of branches, each branch comprising a detection trace, a first pin and a second pin corresponding to the detection trace, a preset resistor and a ground point, which are connected in series;
the detection circuit comprises a plurality of voltage detection components, and the voltage detection components correspond to the branch circuits one by one.
8. The detection circuit according to claim 7, wherein each branch circuit comprises a predetermined resistor, each branch circuit corresponds to a power supply, and the power supply is a constant current output.
9. The detection circuit of claim 8, wherein any ground point and the predetermined resistance corresponding to said any ground point are located on the same or different circuit boards.
10. The detection circuit of claim 8, wherein any grounding point and the predetermined resistance 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, wherein each branch circuit comprises a plurality of preset resistors, at least two branch circuits of the plurality of branch circuits correspond to a power supply or each branch circuit corresponds to a power supply, and the power supply is a constant voltage output.
12. The detection circuit of claim 11, wherein each branch circuit comprises a plurality of preset resistors disposed on the same or different circuit boards.
13. The detecting circuit according to claim 11, wherein the plurality of predetermined resistors corresponding to any branch are disposed 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, wherein the connection circuit board comprises a plurality of detection traces, the plurality of detection traces comprising two edge detection traces, the edge detection traces connecting a first pin at an edge of the first connector and a second pin at an edge of the second connector.
15. The detection circuit according to claim 1, wherein the detection trace is an isolation line between different signal lines in the connection circuit board.
16. The detection circuit of claim 1, wherein the power supply is a dedicated power supply for the detection circuit.
17. The detection circuit of claim 1, wherein the power supply comprises an LED driver power supply.
18. A detection method applied to a detection circuit according to any one of claims 1 to 17, the method comprising:
acquiring the voltage detected by a voltage component in the detection circuit;
and comparing the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal.
19. A detection device for use in a detection circuit according to any one of claims 1 to 17, the device comprising:
the acquisition module acquires the voltage detected by the voltage component in the detection circuit;
and the comparison module compares the voltage with a preset threshold value to determine whether the connection between the first connector and the corresponding connection circuit board and the connection between the second connector and the corresponding connection circuit board are normal or not.
20. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to claim 18.
21. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to carry out the steps of the method of any one of claims 18 when executed.
CN201911018138.3A 2019-10-24 2019-10-24 Detection circuit, detection method and device, and electronic device Pending CN112798988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018138.3A CN112798988A (en) 2019-10-24 2019-10-24 Detection circuit, detection method and device, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018138.3A CN112798988A (en) 2019-10-24 2019-10-24 Detection circuit, detection method and device, and electronic device

Publications (1)

Publication Number Publication Date
CN112798988A true CN112798988A (en) 2021-05-14

Family

ID=75802930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018138.3A Pending CN112798988A (en) 2019-10-24 2019-10-24 Detection circuit, detection method and device, and electronic device

Country Status (1)

Country Link
CN (1) CN112798988A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115003006A (en) * 2021-11-03 2022-09-02 荣耀终端有限公司 Circuit board, electronic equipment and test method
CN116028284A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Electronic equipment
WO2023245324A1 (en) * 2022-06-20 2023-12-28 北京小米移动软件有限公司 Connector and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060038693A1 (en) * 2004-08-18 2006-02-23 Sharp Kabushiki Kaisha Connection checking system, printer device, method of checking connected state, connection checking program, and recording medium storing connection checking program
US20080299819A1 (en) * 2007-05-30 2008-12-04 Canon Kabushiki Kaisha Connection detection device
CN101769977A (en) * 2008-12-30 2010-07-07 鸿富锦精密工业(深圳)有限公司 Connector detection system
CN204214891U (en) * 2014-09-19 2015-03-18 小米科技有限责任公司 Test circuit board and terminal device
CN208367144U (en) * 2018-07-18 2019-01-11 北京车和家信息技术有限公司 connection state diagnostic circuit and vehicle
CN109962507A (en) * 2017-12-22 2019-07-02 北京小米移动软件有限公司 Charge port short-circuit protection method and device
CN110058180A (en) * 2019-04-04 2019-07-26 上海捷新动力电池系统有限公司 A kind of power battery pack system high pressure interlocking connector detection system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060038693A1 (en) * 2004-08-18 2006-02-23 Sharp Kabushiki Kaisha Connection checking system, printer device, method of checking connected state, connection checking program, and recording medium storing connection checking program
US20080299819A1 (en) * 2007-05-30 2008-12-04 Canon Kabushiki Kaisha Connection detection device
CN101769977A (en) * 2008-12-30 2010-07-07 鸿富锦精密工业(深圳)有限公司 Connector detection system
CN204214891U (en) * 2014-09-19 2015-03-18 小米科技有限责任公司 Test circuit board and terminal device
CN109962507A (en) * 2017-12-22 2019-07-02 北京小米移动软件有限公司 Charge port short-circuit protection method and device
CN208367144U (en) * 2018-07-18 2019-01-11 北京车和家信息技术有限公司 connection state diagnostic circuit and vehicle
CN110058180A (en) * 2019-04-04 2019-07-26 上海捷新动力电池系统有限公司 A kind of power battery pack system high pressure interlocking connector detection system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张艳莉;费万民;: "采用开关状态组合检测法的直流接地故障探测系统", 中国电力, no. 07 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115003006A (en) * 2021-11-03 2022-09-02 荣耀终端有限公司 Circuit board, electronic equipment and test method
WO2023245324A1 (en) * 2022-06-20 2023-12-28 北京小米移动软件有限公司 Connector and electronic device
CN116028284A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Electronic equipment
CN116028284B (en) * 2022-08-18 2023-10-20 荣耀终端有限公司 Electronic equipment

Similar Documents

Publication Publication Date Title
CN112798988A (en) Detection circuit, detection method and device, and electronic device
US9362639B2 (en) Audio jack and electronic device including same
US9389264B2 (en) Apparatus and method for preventing erroneous detection of jack
CN105068958A (en) Switching control method and device
CN104703252A (en) Terminal device accessing into wireless network method and device
CN104486451A (en) Application program recommendation method and device
CN105071473A (en) USB charging method and device
CN104378267A (en) Hinting method and device of equipment connecting
CN105491292A (en) Method and device for shooting fill-in light
CN105511852A (en) Screen display processing method, and device and equipment
CN112448423B (en) Charging method and device, electronic equipment and storage medium
CN105183309A (en) Switching control method and device
CN107681727B (en) Control method and device of electronic equipment
CN113705389A (en) Face recognition module testing method and device, storage medium and electronic equipment
CN109586125B (en) Type-C adapter, terminal and electronic equipment
CN109144317B (en) Screen gesture detection method and device
CN112383661B (en) Mobile terminal automatic test method and device, electronic equipment and storage medium
CN106446827B (en) Iris recognition function detection method and device
CN112444599B (en) Battery damage detection method and device
CN114994570A (en) Disconnection detection method and device, electronic device, storage medium, and detection circuit
CN107463471B (en) Method and device for diagnosing terminal screen
CN108334357B (en) Intelligent terminal and flashing method thereof
CN106776424B (en) Connector, control method and control device thereof, and electronic equipment
CN105933491B (en) Test method, test device, test antenna and test system
CN110990314A (en) Electronic equipment identification method and device, terminal equipment and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination