Detection device, method, electronic device and readable storage medium
By using detection devices in the board-to-board connector of electronic equipment, the voltage information of the signal terminals is detected by using the flexible circuit board and the voltage matching module, the problems of false buckles and crooks are solved, which reduces the factory repair rate and improves the equipment Reliability of use.
Patent Information
- Application Number
- CN202110844359.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-07-26
AI Technical Summary
In the prior art, the board-to-board connectors of electronic devices are prone to false buckles and crooks during assembly, resulting in error signal terminal problems, increasing the repair rate of return to the factory and affecting user use.
Design a detection device to obtain the voltage of the signal terminal by using a flexible circuit board to connect at least N groups of signal terminals in a board-to-board connector between two circuit boards and equipped with a voltage acquisition module, a voltage matching module and an output module. The information matches the preset information. If it does not match, an error indication information is output to indicate re-detachment.
Before electronic equipment flows into the market, the signal terminal set in the board-to-board connector can be detected and corrected in a timely manner, reducing the return-to-plant maintenance rate, ensuring normal signal transmission and improving user experience.
Smart Images

Figure CN113567894B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to a detection device, method, electronic device and readable storage medium. Background Art
[0002] Board to Board (BTB) connector is used for physical and electrical connection between different printed circuit boards (PCB) to ensure the transmission of signal functions between different PCBs.
[0003] like Figure 1 The structural diagram of the BTB connector shown in the figure shows that the BTB connector includes a male connector 1 and a female connector 2. The first row of male connector signal terminals 11 and the second row of male connector signal terminals 12 are respectively arranged on opposite sides of the male connector 1, and the first row of female connector signal terminals 21 and the second row of female connector signal terminals 22 are respectively arranged on opposite sides of the female connector 2. During installation, the first row of male connector signal terminals 11 and the first row of female connector signal terminals 21 need to be snapped together one by one. Due to factors such as the inherent gap between the male connector 1 and the female connector 2 and manual snapping, some male connector signal terminals may not be fully snapped with the corresponding female connector signal terminals, resulting in false snapping, crooked snapping, etc. in the BTB connector, which in turn leads to the problem of wrong signal terminals in the BTB connector, making it impossible for the signal transmission between different PCBs to proceed normally.
[0004] In the prior art, after the electronic devices assembled on the production line enter the market, due to the problem of incorrect signal terminals in the BTB connectors of some electronic devices, the rate of electronic devices being returned to the factory for repair is high, which also affects user use. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a detection device that can solve the problem in the prior art that after electronic devices assembled on the production line enter the market, the electronic devices have a high rate of being returned to the factory for repair due to the occurrence of erroneous signal terminals in the BTB connectors of some electronic devices, which also affects user use.
[0006] In a first aspect, an embodiment of the present application provides a detection device, which includes a first circuit board and a second circuit board, wherein the first circuit board includes a first board-to-board connector, the second circuit board includes a second board-to-board connector, and a flexible circuit board is connected between the first board-to-board connector and the second board-to-board connector, and the device also includes: a voltage acquisition module, which is connected to at least N groups of signal terminals in the first board-to-board connector; the voltage acquisition module is used to acquire voltage information output by the at least N groups of signal terminals; N is a positive integer; a voltage matching module, which is connected to the voltage acquisition module, and the voltage matching module is used to match the acquired voltage information with corresponding preset information; and an output module is used to output error indication information when the voltage information output by at least one group of signal terminals does not match the corresponding preset information.
[0007] In second aspect, an embodiment of the present application provides a detection method, which includes: obtaining voltage information output by at least N groups of signal terminals in a first board-to-board connector; N is a positive integer; matching the obtained voltage information with corresponding preset information; and outputting error indication information when the voltage information output by at least one group of signal terminals does not match the corresponding preset information.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the second aspect.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the second aspect.
[0011] Thus, in the embodiment of the present application, when the board-to-board connectors of the two circuit boards are connected through a flexible circuit board, at least N groups of signal terminals in the first board-to-board connector can be connected to the voltage acquisition module, so that during the detection process, the voltage acquisition module can obtain the voltage information output by the at least N groups of signal terminals. Further, the voltage matching module matches the obtained voltage information with the corresponding preset information. If it is detected that the voltage information output by the signal terminal group does not match the corresponding preset information, it is considered that there are phenomena such as virtual buckling and crooked buckling of the signal terminal group in the board-to-board connector, so that the output module outputs error indication information to instruct relevant personnel to disassemble the machine so as to re-fasten the signal terminal group in the board-to-board connector. It can be seen that the embodiments of the present application provide a method for self-detecting whether there are problems with erroneous signal terminals in a board-to-board connector due to false buckles, crooked buckles, etc., so as to timely re-fasten the signal terminal group in the board-to-board connector before the electronic equipment enters the market, thereby solving the problem in the prior art that after electronic equipment assembled on the production line enters the market, the problem of erroneous signal terminals in the board-to-board connectors of some electronic equipment leads to a high rate of electronic equipment being returned to the factory for repair, which also affects user use. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a structural diagram of a board-to-board connector according to an embodiment of the present application;
[0013] Figure 2 is a block diagram of a detection device according to an embodiment of the present application;
[0014] Figure 3 is one of the circuit schematic diagrams of the detection device of the embodiment of the present application;
[0015] Figure 4 It is one of the flow charts of the detection method of the embodiment of the present application;
[0016] Figure 5 is one of the circuit schematic diagrams of the detection device of the embodiment of the present application;
[0017] Figure 6 This is the second flow chart of the detection method of the embodiment of the present application;
[0018] Figure 7 It is one of the hardware structure diagrams of the electronic device according to the embodiment of the present application;
[0019] Figure 8 This is the second schematic diagram of the hardware structure of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0022] The detection device provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0023] See also Figure 2 , shows a block diagram of a detection device according to another embodiment of the present application, the device includes a first circuit board 10 and a second circuit board 20, the first circuit board 10 includes a first board-to-board connector 30, the second circuit board 20 includes a second board-to-board connector 40, a flexible circuit board is connected between the first board-to-board connector 30 and the second board-to-board connector 40, and the device also includes:
[0024] A voltage acquisition module 50, the voltage acquisition module 50 is connected to at least N groups of signal terminals in the first board-to-board connector 30; the voltage acquisition module 50 is used to obtain voltage information output by at least N groups of signal terminals; N is a positive integer;
[0025] A voltage matching module 60, the voltage matching module 60 is connected to the voltage acquisition module 50, and the voltage matching module 60 is used to match the acquired voltage information with corresponding preset information;
[0026] The output module 70 is used to output error indication information when the voltage information output by at least one group of signal terminals does not match the corresponding preset information.
[0027] For the detection device of this embodiment, during the assembly process, the first board-to-board connector 30 on the first circuit board 10 and the second board-to-board connector 40 on the second circuit board 20 are connected together through a flexible printed circuit (FPC). In addition, during the assembly process, it is necessary to select at least N groups of signal terminals from the multiple groups of signal terminals of the first board-to-board connector 30, connect them to the voltage acquisition module 50, and then connect the voltage acquisition module 50 to the voltage matching module 60, and the voltage matching module 60 to the output module 70.
[0028] Wherein, a group of signal terminals includes two buckled signal terminals.
[0029] The working principle of the detection device of this embodiment is as follows: based on the expected effect of the functional signal transmitted between the two circuit boards, the voltage information output by each group of signal terminals in the first board-to-board connector 30 is fixed. Therefore, for each group of signal terminals connected to the voltage acquisition module 50, the preset information corresponding to each group of signal terminals can be set in advance. Among them, the preset information corresponding to each group of signal terminals can be the voltage information to be achieved in the expected effect. Thus, after the assembly is completed, the detection of the board-to-board connector can be implemented in the detection device. First, the voltage acquisition module 50 acquires the voltage information output by at least N groups of signal terminals, and then the voltage matching module 60 matches according to the preset information corresponding to each group, and finally, the output module 70 outputs error indication information in the event of a mismatch.
[0030] Correspondingly, in one case, if the obtained groups of voltage information match the corresponding preset information, it is considered that the voltage information of each group of signal terminals in the board-to-board connector is normal, and all signal terminals in the board-to-board connector are fully engaged; in another case, if at least one group of voltage information does not match the corresponding preset information, it is considered that the voltage information output by certain groups of signal terminals in the board-to-board connector is abnormal, and there are phenomena such as false buckling and crooked buckling in the board-to-board connector, that is, there is a problem of wrong signal terminals in the board-to-board connector.
[0031] In this embodiment, the first board-to-board connector 30 and the second board-to-board connector 40 are connected via a flexible circuit board, so the voltage information output by the two corresponding groups of signal terminals is the same. If the voltage information output by a certain group of signal terminals does not match the corresponding preset information during the detection process, it may be that at least one of the two board-to-board connectors has an incorrect signal terminal problem.
[0032] Optionally, in the event that an erroneous signal terminal problem is detected, relevant personnel may adjust the fastening, re-fastening, etc. of the signal terminals in the board-to-board connector.
[0033] Optionally, this embodiment is applied to an electronic device, the electronic device may be a detection device, and the electronic device may also include the detection device part.
[0034] Correspondingly, the user can make a user input in the target software of the electronic device, so that the electronic device controls the detection device to start detection in response to the user input. Further, error indication information is displayed in the page of the target software.
[0035] The error indication information includes relevant instruction statements, etc., to instruct relevant personnel to repair the fault problem in the board-to-board connector. The error indication information may also include voltage information output by each group of signal terminals, and corresponding preset information, etc.
[0036] In this embodiment, the first board-to-board connector 30 includes N1 groups of signal terminals, where N1 is a positive integer and N1≧N.
[0037] Optionally, N1>N.
[0038] In this embodiment, a sampling method can be adopted to detect some groups of signal terminals in the first board-to-board connector 30. The purpose of doing so is, on the one hand, to reduce the connection of lines, reduce processing costs and material costs, and at the same time reduce the problem of poor contact of some lines caused by too many lines; on the other hand, if a group of signal terminals is loosely buckled or buckled, a short circuit will occur between the signal terminals of the adjacent group, which will cause the voltage information output by the signal terminals in a certain position interval in the board-to-board connector to deviate; therefore, even if the loosely buckled or buckled signal terminal group cannot be accurately detected, the voltage information of other disturbed signal terminal groups will be detected to be inconsistent with the preset information. It can be seen that the sampling method can also ensure the accuracy and effectiveness of the detection.
[0039] Optionally, the value of N should be appropriate to ensure that erroneous signal terminals at different positions of the board-to-board connector can be detected.
[0040] Thus, in the embodiment of the present application, when the board-to-board connectors of the two circuit boards are connected through a flexible circuit board, at least N groups of signal terminals in the first board-to-board connector 30 can be connected to the voltage acquisition module 50, so that during the detection process, the voltage acquisition module 50 can obtain the voltage information output by the at least N groups of signal terminals. Further, the voltage matching module 60 matches the obtained voltage information with the corresponding preset information. If it is detected that the voltage information output by the signal terminal group does not match the corresponding preset information, it is considered that there are phenomena such as virtual buckling and crooked buckling of the signal terminal group in the board-to-board connector, so that the output module 70 outputs error indication information to instruct relevant personnel to disassemble the machine so as to re-fasten the signal terminal group in the board-to-board connector. It can be seen that the embodiments of the present application provide a method for self-detecting whether there are problems with erroneous signal terminals in a board-to-board connector due to false buckles, crooked buckles, etc., so as to timely re-fasten the signal terminal group in the board-to-board connector before the electronic equipment enters the market, thereby solving the problem in the prior art that after electronic equipment assembled on the production line enters the market, the problem of erroneous signal terminals in the board-to-board connectors of some electronic equipment leads to a high rate of electronic equipment being returned to the factory for repair, which also affects user use.
[0041] In addition, in addition to the above application scenarios, the present application can also be applied to more scenarios.
[0042] For example, if an electronic device falls during use, the two signal terminals in the board-to-board connector may become loose, resulting in a problem of an incorrect signal terminal in the board-to-board connector. Based on this, the user can manually enable the detection function of the board-to-board connector in the target software to promptly discover problems in the board-to-board connector, so as to perform timely fault repairs to avoid greater impact on user use.
[0043] For another example, after-sales staff can conduct targeted testing on the board-to-board connector during maintenance, so that when a fault occurs in the board-to-board connector, they can then dismantle the machine in a targeted manner to avoid blind dismantling.
[0044] See also Figure 3 , shows a circuit diagram of a detection device according to another embodiment of the present application, wherein the voltage acquisition module 50 includes:
[0045] At least N groups of voltage signal lines, one group of voltage signal lines is connected to one group of signal terminals;
[0046] A single-pole multi-throw switch 51, the single-pole multi-throw switch 51 comprises N input terminals and one output terminal, wherein one input terminal is connected to a group of voltage signal lines;
[0047] An analog-to-digital converter (ADC) 52 is connected to the output end of the SPMT switch 51 .
[0048] In this embodiment, the working principle of the voltage acquisition module 50 is as follows: one end of a group of voltage signal lines is connected to a group of signal terminals, and the other end is connected to one of the input terminals in the single-pole multi-throw switch 51. When the single-pole multi-throw switch 51 is closed, the output end of the single-pole multi-throw switch 51 is connected to one of the input terminals to form a closed circuit, so that the voltage signal output by the signal terminal connected to the input terminal can be obtained. Further, the analog-to-digital converter 52 converts the obtained voltage signal into a voltage value.
[0049] Correspondingly, the voltage information in this embodiment includes a voltage value.
[0050] Among them, this embodiment adopts a single-pole multi-throw switch 51, and the output end of the single-pole multi-throw switch 51 is connected to each input end in sequence, so that the voltage value output by each group of signal terminals can be obtained in sequence.
[0051] Optionally, the voltage values output by each group of signal terminals are obtained in sequence from left to right, from right to left, etc. Once it is detected that the voltage value output by a group of signal terminals does not match the corresponding preset value, the detection is stopped.
[0052] Optionally, the voltage values output by each group of signal terminals are obtained in sequence from left to right, from right to left, etc., until the voltage values output by all groups of signal terminals are detected to match the corresponding preset values. In this way, the voltage values output by adjacent groups of signal terminals can be compared to determine from which direction the erroneous signal terminal problem is generated.
[0053] For example, in order from left to right, the preset values are 1v, 3v, and 4v, and the obtained voltage values are Xv, 1v, and 3v, and the voltage value is shifted to the right, which means that the problem of the error signal terminal is generated from the left direction, that is, the error signal terminal is located on the left side of the second group of signal terminals; if the obtained voltage values are 3v, 4v, and Xv, and the voltage value is shifted to the left, it means that the problem of the error signal terminal is generated from the right direction, that is, the error signal terminal is located on the right side of the second group of signal terminals.
[0054] Therefore, relevant personnel can use the obtained sets of voltage values as references to adjust and fasten the signal terminals in the board-to-board connector.
[0055] See also Figure 4, illustratively, based on the relevant instructions, the detection starts. After the detection starts, the single-pole multi-throw switch 51 will switch to the first input end (corresponding to the first path) for detection. If the detection passes, the single-pole multi-throw switch 51 will switch to the second path for detection, and so on. After the single-pole multi-throw switch 51 switches to the Nth path for detection, all detections are completed. If a voltage abnormality occurs in a certain path during the detection process, the subsequent detection can also be terminated.
[0056] In this embodiment, a specific structure of a voltage acquisition module 50 is provided. In this structure, the characteristics of a single-pole multi-throw switch 51 can be used to control multiple input terminals to be closed and connected with the output terminals in sequence, so that the voltage values output by each group of signal terminals to be detected can be obtained in sequence, and then the obtained voltage values can be matched. The advantage of this embodiment is that it can not only detect the problem of wrong signal terminals in the board-to-board connector, but also obtain the voltage values output by each group of terminals to determine the approximate position of the wrong signal terminal, which is convenient for subsequent adjustments to ensure accurate and good fastening.
[0057] See also Figure 5 , shows a circuit diagram of a detection device according to another embodiment of the present application, wherein the voltage acquisition module 50 includes:
[0058] At least N groups of voltage signal lines, one group of voltage signal lines is connected to one group of signal terminals;
[0059] The voltage matching module 60 includes:
[0060] N comparator circuits 61, one comparator circuit 61 is connected to a group of voltage signal lines;
[0061] The multi-channel AND gate circuit 62 is connected to the N comparator circuits 61 .
[0062] In this embodiment, one end of a group of voltage signal lines is connected to a group of signal terminals, and the other end is connected to a comparator circuit 61. For each comparator circuit 61, a preset voltage signal corresponding to the voltage signal output by the connected signal terminal needs to be set. When the voltage signal output by the signal terminal matches the corresponding preset voltage signal, the comparator circuit 61 outputs a high-level signal of "1"; when the voltage signal output by the signal terminal does not match the corresponding preset voltage signal, the comparator circuit 61 outputs a low-level signal of "0".
[0063] Correspondingly, "1" may be regarded as the first comparison information, and "0" may be regarded as the second comparison information.
[0064] Correspondingly, the voltage information in this embodiment includes a voltage signal.
[0065] Furthermore, based on the one-to-one connection between each comparator circuit 61 and each group of signal terminals, this embodiment can synchronously obtain N comparator results, including "0" and / or "1". All comparator results can obtain a final result through the multi-channel AND gate circuit 62, and the final result is "1" or "0". In one case, all comparator results are "1", and the final result is "1"; in another case, there is a comparator result including "0", and the final result is "0".
[0066] Correspondingly, the output module 70 outputs error indication information according to the final result of "0".
[0067] In this embodiment, a combination structure of a voltage acquisition module 50 and a voltage matching module 60 is provided. In this structure, the voltage signals output by each group of signal terminals to be detected can be synchronously acquired, and the voltage signals can be matched with the preset signals in parallel through the corresponding comparator circuits 61, and then the final result is obtained through the multi-channel AND gate circuit 62. The advantage of this embodiment is that by connecting multiple comparator circuits 61 in parallel and synchronizing the multi-channel AND gate circuit 62 to calculate the comparison result, parallel detection can be realized, the detection time is shortened, and the detection efficiency is improved.
[0068] See also Figure 1 , Figure 3 and Figure 5 In another embodiment of the detection device of the present application, the first circuit board 10 includes a power manager 80 and a processor 90; the first board-to-board connector 30 includes: a male connector 1 and a female connector 2, the male connector 1 is provided with a first row of male connector signal terminals 11 and a second row of male connector signal terminals 12 on opposite sides thereof, and the female connector 2 is provided with a first row of female connector signal terminals 21 and a second row of female connector signal terminals 22 on opposite sides thereof; the first row of male connector signal terminals 11 and the first row of female connector signal terminals 21 are connected one by one; the second row of male connector signal terminals 12 are connected to the flexible circuit board; the second row of female connector signal terminals 21 are connected to the power manager 80 and the processor 90;
[0069] At least N signal terminals in the second row of female socket signal terminals 21 are respectively connected to a group of voltage signal lines.
[0070] In this embodiment, the signal in the first circuit board 10 needs to be branched out, one path is connected to the second circuit board 20 through the flexible circuit board, and is physically and electrically connected to each peripheral unit in the second circuit board 20, and the other path is connected to the corresponding device through the voltage signal line, which is used as the voltage signal collection input for detecting the error signal terminal problem of the board-to-board connector.
[0071] The signals in the first circuit board 10 include a power signal generated by the power manager 80 and a control signal generated by the processor 90 .
[0072] Optionally, the power manager 80 is a power management unit (Power Management Unit, PMU for short).
[0073] The processor 90 is a system on chip (SOC for short).
[0074] It should be noted that in this embodiment Figure 3 and Figure 5 In the figure, the voltage signal line is schematically connected to the flexible circuit board, and the actual connection relationship can be referred to the description of this embodiment.
[0075] In this embodiment, the signal in the first circuit board 10 is transmitted from the second row of female socket signal terminals 21 of the first board-to-board connector 30, and is transmitted to the second circuit board 20 through the first board-to-board connector 30 and the flexible circuit board. Therefore, by connecting the voltage signal line to the second row of female socket signal terminals 21, the influence of interference factors on the voltage signal during the transmission process can be avoided, thereby improving the accuracy of abnormal voltage detection.
[0076] See also Figure 3 and Figure 5 In a detection device according to another embodiment of the present application, the first circuit board 10 includes a processor 90 , and the processor 90 includes an output module 70 .
[0077] In this embodiment, the first circuit board 10 is a main board, which includes a processor 90. The second circuit board 20 is a sub-board.
[0078] Optionally, in Figure 3 In the illustrated embodiment, the processor 90 further includes a voltage matching module 60 .
[0079] In this embodiment, the processor 90 in the mainboard is reused. When an error signal terminal problem occurs in the board-to-board connector, the processor 90 outputs error indication information, thereby avoiding adding new components to the electronic device, simplifying the internal structure, and avoiding other fault problems caused by the increase of components. Figure 3 In the embodiment shown, the analog-to-digital converter 52 uploads the voltage value to the processor 90, and the processor 90 is also used to match the voltage value output by each group of signal terminals with the corresponding preset value; Figure 5 In the illustrated embodiment, the multi-way AND gate circuit 62 uploads the final result output to the processor 90, and the processor 90 is also used to match the final result output by the multi-way AND gate circuit 62 with a preset "0" to output error indication information when the final result is "0".
[0080] In addition, the processor 90 in this embodiment is also used to control the start of detection in response to the user input when receiving the user input.
[0081] It should be noted that, based on the first circuit board 10 being the main board, the present application connects the voltage acquisition module 50 to the first board-to-board connector 30 on the main board, rather than to the second board-to-board connector 40 on the sub-board, so that all processing results can be transmitted back to the processor 90 of the main board to output error indication information. For example, if the voltage acquisition module 50 is connected to the second board-to-board connector 40, and an error signal terminal problem is detected in the board-to-board connector, the error signal terminal problem may interfere with the transmission between the main board and the sub-board, thereby making it impossible to transmit the final detection result back to the main board.
[0082] In a detection device according to another embodiment of the present application, at least N groups of signal terminals are evenly distributed on the first board-to-board connector 30 .
[0083] In this embodiment, the selected at least N groups of signal terminals can be evenly distributed on the first board-to-board connector 30. In this way, the signal terminal groups to be detected are evenly distributed, and it is possible to detect whether an erroneous signal terminal appears at various positions of the first board-to-board connector 30, thereby ensuring the effectiveness of the detection.
[0084] In a detection device according to another embodiment of the present application, the first circuit board 10 is used to output power signals and control signals; at least N groups of signal terminals are used to output power signals.
[0085] The signal terminals of the first board-to-board connector 30 include a terminal for outputting a power signal and a terminal for outputting a control signal.
[0086] Optionally, among the terminals for outputting power signals, at least N groups of signal terminals are determined.
[0087] Compared with the control signal, the voltage information of the power signal is larger.
[0088] When an erroneous signal terminal appears in the board-to-board connector, the voltage information output by each group of signal terminals deviates. The voltage information based on the power supply signal is large, and the amplitude of the change after the deviation is also large, which makes it easier for the detection method in the present application to detect the situation that the voltage information does not match the corresponding preset information, thereby avoiding the phenomenon that the erroneous signal terminal cannot be accurately detected due to the small amplitude of the voltage information change.
[0089] In a detection device according to another embodiment of the present application, at least the N groups of signal terminals are mainly terminals for outputting power signals.
[0090] In summary, with the rapid development of electronic equipment functions and 5G technology, in addition to the main board, the number of various functional sub-boards in electronic equipment has increased significantly, and board-to-board connectors have also developed in the direction of more signal terminals and smaller spacing. As a result, when using board-to-board connectors, the difficulty of assembly is greatly increased due to the large number of signal terminals and the large overall length of the device. During assembly, it is more likely to have false buckles, crooked buckles and other buckling deviations, which greatly increases the risk of incorrect signal terminal failures.
[0091] In the design of electronic equipment, the power signal and control signal of the main board need to be transmitted to the sub-board through the board-to-board connector and the flexible circuit board to control the power supply of various functional peripherals and related modules on the sub-board.
[0092] Therefore, when a fault occurs, the signal from the main board cannot be accurately and completely transmitted to the sub-board, which will lead to abnormal power supply and control of the electronic equipment's related peripherals, further causing functional failure and more seriously damaging the peripheral units. At the same time, the abnormal output voltage of the signal terminal will also cause problems such as interface short circuit corrosion, thereby affecting the user's normal use.
[0093] Based on the above phenomenon, after electronic equipment enters the market, the product failure return rate increases; during user use, there are cases where the board-to-board connector becomes loose due to falling, resulting in erroneous signal terminals. However, in the prior art, there is no relevant detection function to make a judgment and prompt relevant personnel to repair the fault in time.
[0094] The present application proposes a method for detecting the problem of an incorrect signal terminal of a board-to-board connector. One implementation method is: by sampling the ADC of the voltage information in the board-to-board connector to determine whether the problem of an incorrect signal terminal occurs; another implementation method is: by combining multiple comparator circuits with multi-channel AND gate circuits to determine whether the problem of an incorrect signal terminal occurs.
[0095] This application can be applied to production line testing before the product leaves the factory to ensure that there are no problems with incorrect signal terminals before the product leaves the factory, thereby ensuring product quality; it can also be applied to users to conduct self-tests to promptly discover and repair problems with incorrect signal terminals.
[0096] The detection device in the embodiment of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplary, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0097] The detection device in the embodiment of the present application may be a device having an action system. The action system may be an Android action system, an iOS action system, or other possible action systems, which are not specifically limited in the embodiment of the present application.
[0098] It should be noted that the detection device provided in the embodiment of the present application can be used as the execution subject of the detection method. The execution subject of the detection method can also be a control module in the detection device. In the embodiment of the present application, the detection method provided in the embodiment of the present application is described by taking the detection device as the execution subject of the detection method as an example.
[0099] See also Figure 6 , shows a flow chart of a detection method according to another embodiment of the present application, the method comprising:
[0100] Step S1: Obtain voltage information outputted by at least N groups of signal terminals in the first board-to-board connector 30. N is a positive integer.
[0101] Step S2: Match the acquired voltage information with corresponding preset information.
[0102] Step S3: when the voltage information outputted by at least one group of signal terminals does not match the corresponding preset information, output error indication information.
[0103] Thus, in the embodiment of the present application, when the board-to-board connectors of the two circuit boards are connected through a flexible circuit board, at least N groups of signal terminals in the first board-to-board connector 30 can be used as the object to be detected, so that in the detection process, the voltage information output by the above-mentioned at least N groups of signal terminals can be obtained. Further, the obtained voltage information is matched with the corresponding preset information. If it is detected that the voltage information output by the signal terminal group does not match the corresponding preset information, it is considered that there are phenomena such as false buckles and buckles of the signal terminal group in the board-to-board connector, so as to output error indication information to instruct relevant personnel to disassemble the machine so as to re-fasten the signal terminal group in the board-to-board connector. It can be seen that the embodiment of the present application provides a method for self-detecting whether there is a problem of wrong signal terminals in the board-to-board connector due to false buckles, buckles, etc., so as to re-fasten the signal terminal group in the board-to-board connector in time before the electronic equipment enters the market, thereby solving the problem that in the prior art, after the electronic equipment assembled on the production line enters the market, the problem of wrong signal terminals in the board-to-board connectors of some electronic equipment leads to a high return rate of electronic equipment for repair, which also affects the use of users.
[0104] Optionally, the detection method in this embodiment is applied to the above-mentioned various device embodiments.
[0105] In the process of the detection method of another embodiment of the present application, step S1 includes:
[0106] Sub-step A1: sequentially acquiring voltage signals output by at least N groups of signal terminals according to a preset sequence.
[0107] Sub-step A2: Convert the acquired voltage signal into a voltage value.
[0108] Step S2 comprises:
[0109] Sub-step A3: When the target voltage value output by the target group signal terminal is obtained, the target voltage value is matched with the corresponding target preset value.
[0110] Step S3 includes:
[0111] Sub-step A4: when the target voltage value does not match the corresponding target preset value, output error indication information.
[0112] Optionally, the detection method in this embodiment is applied to the above Figure 3 and Figure 4 The device embodiment shown.
[0113] In the process of the detection method of another embodiment of the present application, step S1 includes:
[0114] Sub-step B1: synchronously acquiring voltage signals output by at least N groups of signal terminals.
[0115] Step S2 comprises:
[0116] Sub-step B2: synchronously matching the acquired at least N voltage signals with corresponding preset voltage signals respectively.
[0117] Sub-step B3: when the voltage signal matches the corresponding preset voltage signal, outputting first comparison information; and, when the voltage signal does not match the corresponding preset voltage signal, outputting second comparison information.
[0118] Step S3 includes:
[0119] Sub-step B4: when the N comparison information corresponding to at least N groups of signal terminals are output, if the second comparison information is included, then error indication information is output.
[0120] Optionally, the detection method in this embodiment is applied to the above Figure 5 The device embodiment shown.
[0121] The detection device provided in the embodiment of the present application can implement each process implemented in the detection method embodiment of the embodiment of the present application. To avoid repetition, they will not be described again here.
[0122] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101. When the program or instruction is executed by the processor 101, each process of any of the above-mentioned detection method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0123] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0124] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0125] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0126] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0127] Among them, the processor 1010 is used to obtain voltage information output by at least N groups of signal terminals in the first board-to-board connector; N is a positive integer; match the obtained voltage information with corresponding preset information; and output error indication information when the voltage information output by at least one group of signal terminals does not match the corresponding preset information.
[0128] Thus, in the embodiment of the present application, when the board-to-board connectors of the two circuit boards are connected through a flexible circuit board, at least N groups of signal terminals in the first board-to-board connector can be used as the object to be detected, so that in the detection process, the voltage information output by the above-mentioned at least N groups of signal terminals can be obtained. Further, the obtained voltage information is matched with the corresponding preset information. If it is detected that the voltage information output by the signal terminal group does not match the corresponding preset information, it is considered that there are phenomena such as false buckles and buckles of the signal terminal group in the board-to-board connector, so as to output error indication information to instruct relevant personnel to disassemble the machine so as to re-fasten the signal terminal group in the board-to-board connector. It can be seen that the embodiment of the present application provides a method for self-detecting whether there is a problem of wrong signal terminals in the board-to-board connector due to false buckles, buckles, etc., so as to re-fasten the signal terminal group in the board-to-board connector in time before the electronic equipment enters the market, thereby solving the problem that in the prior art, after the electronic equipment assembled on the production line enters the market, the problem of wrong signal terminals in the board-to-board connector of some electronic equipment leads to a high return rate of electronic equipment for repair, which also affects the use of users.
[0129] Optionally, the processor 1010 is also used to obtain the voltage signals output by the at least N groups of signal terminals in sequence according to a preset order; convert the obtained voltage signals into voltage values; when a target voltage value output by the target group of signal terminals is obtained, match the target voltage value with a corresponding target preset value; and when the target voltage value does not match the corresponding target preset value, output error indication information.
[0130] Optionally, the processor 1010 is also used to synchronously acquire voltage signals output by the at least N groups of signal terminals; synchronously match the acquired at least N voltage signals with corresponding preset voltage signals respectively; when the voltage signal matches the corresponding preset voltage signal, output first comparison information; and, when the voltage signal does not match the corresponding preset voltage signal, output second comparison information; in the case of N comparison information corresponding to the outputted at least N groups of signal terminals, if the second comparison information is included, output error indication information.
[0131] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video image obtained by the image capture device (such as a camera) in the video image capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and an action rod, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and action systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the action system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0132] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0133] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0134] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0135] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0136] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0137] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A detection device, comprising a first circuit board and a second circuit board, wherein the first circuit board comprises a first board-to-board connector, the second circuit board comprises a second board-to-board connector, a flexible circuit board is connected between the first board-to-board connector and the second board-to-board connector, characterized in that: The device also includes: A voltage acquisition module, the voltage acquisition module is connected to at least N groups of signal terminals in the first board-to-board connector; the voltage acquisition module is used to acquire voltage information output by the at least N groups of signal terminals; N is a positive integer, wherein each group of signal terminals in the at least N groups of signal terminals includes two buckled signal terminals; A voltage matching module, the voltage matching module is connected to the voltage acquisition module, and the voltage matching module is used to match the acquired voltage information with corresponding preset information; An output module for outputting error indication information when the voltage information output by at least one set of signal terminals does not match the corresponding preset information; The voltage acquisition module comprises: At least N groups of voltage signal lines, one group of the voltage signal lines is connected to one group of the signal terminals; A single-pole multi-throw switch, the single-pole multi-throw switch comprising N input terminals and one output terminal, one of the input terminals being connected to a group of the voltage signal lines; An analog-to-digital converter is connected to an output end of the single-pole multi-throw switch.
2. The device according to claim 1, characterized in that The voltage matching module comprises: N comparator circuits, one comparator circuit is connected to a group of voltage signal lines; A multi-channel AND gate circuit is connected to the N comparator circuits.
3. The apparatus according to claim 1 or 2, wherein the first circuit board comprises a power manager and a processor; and the first board-to-board connector comprises: A male connector and a female connector, wherein the first row of male connector signal terminals and the second row of male connector signal terminals are respectively arranged on opposite sides of the male connector, and the first row of female connector signal terminals and the second row of female connector signal terminals are respectively arranged on opposite sides of the female connector; the first row of male connector signal terminals and the first row of female connector signal terminals are connected one by one; the second row of male connector signal terminals are connected to the flexible circuit board; the second row of female connector signal terminals are connected to the power manager and the processor; characterized in that, At least N signal terminals in the second row of female socket signal terminals are respectively connected to a group of voltage signal lines.
4. The device according to claim 1, characterized in that The first circuit board includes a processor, and the processor includes the output module.
5. The device according to claim 1, characterized in that The at least N groups of signal terminals are evenly distributed on the first board-to-board connector.
6. The device according to claim 1, characterized in that The first circuit board is used to output power signals and control signals; The at least N groups of signal terminals are used to output the power signal.
7. A detection method, characterized in that: The method comprises: Obtaining voltage information output by at least N groups of signal terminals in the first board-to-board connector; N is a positive integer, wherein each group of signal terminals in the at least N groups of signal terminals includes two buckled signal terminals; Matching the acquired voltage information with corresponding preset information; When the voltage information output by at least one set of signal terminals does not match the corresponding preset information, output error indication information; The obtaining voltage information output by at least N groups of signal terminals in the first board-to-board connector includes: Obtaining, in sequence, voltage signals output by the at least N groups of signal terminals according to a preset order; Converting the acquired voltage signal into a voltage value; The step of matching the acquired voltage information with corresponding preset information includes: When a target voltage value output by the target group signal terminal is obtained, matching the target voltage value with a corresponding target preset value; The step of outputting error indication information when the voltage information outputted by at least one group of signal terminals does not match the corresponding preset information includes: When the target voltage value does not match the corresponding target preset value, error indication information is output.
8. The method according to claim 7, characterized in that The obtaining voltage information output by at least N groups of signal terminals in the first board-to-board connector includes: Synchronously acquiring voltage signals output by the at least N groups of signal terminals; The step of matching the acquired voltage information with corresponding preset information includes: Synchronously matching the acquired at least N voltage signals with corresponding preset voltage signals respectively; outputting first comparison information when the voltage signal matches the corresponding preset voltage signal; and outputting second comparison information when the voltage signal does not match the corresponding preset voltage signal; The step of outputting error indication information when the voltage information outputted by at least one group of signal terminals does not match the corresponding preset information includes: In the case where the N comparison information corresponding to the at least N groups of signal terminals are output, if the second comparison information is included, error indication information is output.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the detection method according to any one of claims 7 to 8.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the detection method according to any one of claims 7 to 8 are implemented.
Citation Information
Patent Citations
Inductive load detection apparatus
CN106255893A
Detection circuit and electronic equipment
CN108132408A
Connector device and connector connection determination device
CN111446576A
Detection method and device
CN111693819A
Method for detecting BTB fastening reliability, terminal and detection apparatus
WO2017070902A1