Buckling detection device and electronic equipment
The proposed detection system simplifies circuit design and reduces processor resource usage by using a single processing module port to determine connector engagement through voltage monitoring, addressing the complexity and resource occupation issues in existing systems.
Patent Information
- Application Number
- CN202421473400.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2034-06-25
AI Technical Summary
In the prior art, connector buckle detection of motherboard and secondary board requires a large amount of GPIO resources for the processor and the circuit design is complex, resulting in increased costs.
Using a combination scheme of processing module, power module, first resistor and voltage divider module, these components are arranged separately on the main board and the secondary board, and voltage divider module is used to divide voltage with resistor. The processing module detects real-time voltage to determine the fastening state of the connector, and shares a processing module detection port.
It reduces the interface resource usage of the processing module, simplifies circuit design, reduces costs, and improves the accuracy and reliability of closure detection.
Smart Images

Figure CN223107940U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and in particular, to a fastening detection device and an electronic device. Background Art
[0002] In various terminal devices, a main board and a secondary board are generally connected together through corresponding connectors. During production, testing, or use, the connectors may not be fastened properly. Therefore, a corresponding detection circuit needs to be set up to detect the fastening state of the main board and the secondary board.
[0003] For example, it is necessary to separately add two-way fastening detection, and each two-way fastening detection needs to communicate through the GPIO interface of the processor. However, such a solution will occupy a large amount of GPIO resources of the processor, and the circuit design on the main board is relatively complex. Therefore, how to solve the defects existing in the solutions of related technologies is an urgent problem for technicians to solve currently. Summary of the Utility Model
[0004] In order to solve the above technical problems, this application provides a fastening detection device and an electronic device.
[0005] In a first aspect, an embodiment of this application provides a fastening detection device, which is applied to an electronic device. The electronic device includes a main board and a secondary board. A first connector is installed on the main board, and a second connector is installed on the secondary board. The fastening detection device includes: a processing module, a power supply module, a first resistor, and a voltage division module.
[0006] The processing module, the power supply module, and the first resistor are respectively arranged on the main board, and the voltage division module is arranged on the secondary board.
[0007] The detection ends of the processing module are respectively connected to the first end of the first resistor, the third end and the second end of the first connector. The second end of the first resistor is connected to the power supply end of the power supply module. The third end and the fourth end of the first connector are respectively connected to the first end and the second end of the second connector. The third end and the fourth end of the second connector are respectively connected to the first end and the second end of the voltage division module. The third end and the fourth end of the voltage division module are grounded.
[0008] Among them, the power supply module is used to provide a detection voltage, and the voltage division module is used to divide the voltage with the first resistor.
[0009] The processing module is used to detect the real-time voltage of the first resistor and determine whether the first connector and / or the second connector is fastened according to the real-time voltage.
[0010] Optionally, the processing module includes: a target processor and an analog-to-digital converter.
[0011] The input ends of the analog-to-digital converter are respectively connected to the first end of the first resistor, the first end and the second end of the first connector, and the output end of the analog-to-digital converter is connected to the sampling end of the target processor;
[0012] Wherein, the analog-to-digital converter is configured to detect the real-time voltage and convert the real-time voltage into a digital signal for output to the target processor;
[0013] The target processor is configured to determine whether the first connector and / or the second connector is latched according to the digital signal.
[0014] Optionally, the voltage dividing module includes a second resistor and a third resistor;
[0015] The first end of the second resistor is connected to the third end of the second connector, the first end of the third resistor is connected to the fourth end of the second connector, and the second ends of the second resistor and the third resistor are respectively grounded.
[0016] Optionally, the second resistor and the third resistor have the same resistance value.
[0017] Optionally, the resistance value of the second resistor is twice the resistance value of the first resistor.
[0018] Optionally, the second resistor and the third resistor have different resistance values.
[0019] Optionally, when the first connector is properly latched, the first end and the third end of the first connector are connected, and the second end and the fourth end of the first connector are connected;
[0020] When the second connector is properly latched, the first end and the third end of the second connector are connected, and the second end and the fourth end of the second connector are connected.
[0021] Optionally, the first end and the third end of the first connector are disposed at a first edge position of the first connector, and the second end and the fourth end of the first connector are disposed at a second edge position of the first connector;
[0022] The first end and the third end of the second connector are disposed at a third edge position of the second connector, and the second end and the fourth end of the second connector are disposed at a fourth edge position of the second connector.
[0023] In a second aspect, an embodiment of the present application further provides an electronic device, including a main board, a sub-board, and any one of the latching detection devices described in the first aspect above;
[0024] A first connector is installed on the main board, and a second connector is installed on the sub-board. Optionally, the electronic device further includes an output device;
[0025] The output device is configured to output a reminder signal under the action of a processing module in the fastening detection device.
[0026] The technical solution provided by the embodiments of the present application has the following advantages compared with the prior art:
[0027] A fastening detection device provided by the present application includes a processing module, a power module, a first resistor, and a voltage dividing module; moreover, the processing module, the power module, and the first resistor are respectively arranged on the main board, and the voltage dividing module is arranged on the sub-board;
[0028] The detection ends of the processing module are respectively connected to the first end of the first resistor, the first end and the second end of the first connector. The second end of the first resistor is connected to the power supply end of the power module. The third end and the fourth end of the first connector are respectively connected to the first end and the second end of the second connector. The third end and the fourth end of the second connector are respectively connected to the first end and the second end of the voltage dividing module. The third end and the fourth end of the voltage dividing module are grounded.
[0029] Furthermore, the power module can supply the detection voltage to the first resistor, and the voltage dividing module can perform voltage division with the first resistor. Since the fastening states of the first connector and / or the second connector are different, the voltage division relationship between the voltage dividing module and the first resistor will be changed, and further the real-time voltage of the first resistor will change. Then, by detecting the real-time voltage of the first resistor through the processing module, it is possible to accurately determine whether the first connector and the second connector are fastened.
[0030] It can be seen that in the present application, only one detection end of the processing module is used for the two fastening detection lines between the first connector and the second connector to accurately detect the fastening states of the first connector and the second connector. Moreover, only one resistor needs to be arranged on the main board in the fastening detection device provided by the present application, and the wiring on the main board is reduced.
[0031] In this way, the effect of reducing the interface resources of the processing module occupied by the fastening detection and simplifying the circuit design of the fastening detection device can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings here are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0033] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0034] Figure 1 Schematic structural diagram of a latching detection circuit provided by the related art;
[0035] Figure 2 Schematic structural diagram of a latching detection device provided by an embodiment of the present application;
[0036] Figure 3 Schematic structural diagram of another latching detection device provided by an embodiment of the present application;
[0037] Figure 4 Schematic structural diagram of yet another latching detection device provided by an embodiment of the present application;
[0038] Figure 5 Schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0039] In order to more clearly understand the above objects, features, and advantages of the present application, the following will further describe the solutions of the present application. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
[0040] Many specific details are set forth in the following description in order to fully understand the present application, but the present application can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present application, rather than all of the embodiments.
[0041] Generally, more and more terminal products now start to adopt the split-board solution of the main board and the secondary board. The main board and the secondary board are connected by corresponding board-to-board connectors, and connectors are also required to connect between the main board and the peripherals. In the production line production, testing, or the user's use process, the situation where the connector is not latched properly may occur. Therefore, it is necessary to add software and hardware latching detection and recognition solutions in the design. For example, in the related art, it is necessary to separately add two-way latching detection, and each two-way latching detection needs to communicate through the GPIO interface of the processor, specifically as Figure 1 shown in the latching detection circuit.
[0042] See Figure 1 , Figure 1The buckling detection circuit of an electronic device in the related art is shown. It can be seen that the electronic device 100 includes a main board 101 and a secondary board 102. Among them, a processor 1011, a power supply unit 1012, a connector 1013, a pull-up resistor Ra, and a pull-up resistor Rb are provided in the main board 101, and a connector 1021 is provided in the secondary board 102. The specific connection relationship is as shown in the figure and will not be elaborated here. Specifically, when a low level is read at the GPIO interface of the processor 1011, it indicates that the connectors 1013 and 1021 are buckled normally. When a high level is read at the GPIO interface of the processor 1011, it indicates that there is an abnormality in the buckling of the connectors 1013 and 1021.
[0043] However, the solution in the related art will occupy the GPIO resources of the processor, and the circuit design on the main board is relatively complex. In addition, if there are insufficient GPIO interfaces of the processor, some external switches need to be additionally set for switching, which will also lead to an increase in cost.
[0044] Therefore, an embodiment of the present application provides a buckling detection device and an electronic device. By setting a processing module, a power supply module, a first resistor, and a voltage dividing module in the buckling detection device, and the detection end of the processing module is respectively connected to the first end of the first resistor, the first connector, and the second end, the second end of the first resistor is connected to the power supply end of the power supply module, the third end and the fourth end of the first connector are respectively connected to the first end and the second end of the second connector, the third end and the fourth end of the second connector are respectively connected to the first end and the second end of the voltage dividing module, and the third end and the fourth end of the voltage dividing module are grounded; the power supply module is used to provide a detection voltage, and the voltage dividing module is used to divide the voltage with the first resistor; the processing module is used to detect the real-time voltage of the first resistor and determine whether the first connector and / or the second connector is buckled according to the real-time voltage. In this way, only one port of the processing module can be used by the two buckling detection lines between the first connector and the second connector, and the circuit design of the buckling detection device provided by the embodiment of the present application is simpler.
[0045] Therefore, the solution of the present application can reduce the interface resources of the processing module occupied by buckling detection, and at the same time can simplify the circuit design of the buckling detection device. In addition, since the buckling detection device provided by the solution of the present application occupies fewer interface resources, the need to set external switches can be reduced as much as possible, and the purpose of cost control can be achieved to a certain extent.
[0046] The buckling detection device provided by the present application can be used in any electronic device connected by a connector, such as a mobile phone, a tablet computer, a notebook computer, etc. Specifically, it can be used to detect the buckling of any possible connector in these electronic devices, and the embodiment of the present application does not limit this.
[0047] Exemplarily, Figure 2 is a schematic structural diagram of a fastening detection device provided by an embodiment of the present application. This fastening detection device can be applied to any of the above-mentioned electronic devices. Generally, the electronic device includes a main board and a sub-board. Refer to Figure 2 , it can be seen that a first connector 202 is installed on the main board 201 in the electronic device, and a second connector 204 is installed on the sub-board 203.
[0048] And the fastening detection device includes: a processing module 210, a power supply module 211, a first resistor R1, and a voltage dividing module 212;
[0049] The processing module 210, the power supply module 211, and the first resistor R1 are respectively arranged on the main board 201, and the voltage dividing module 212 is arranged on the sub-board 203;
[0050] The detection end of the processing module 210 is respectively connected to the first end, the first end and the second end of the first resistor R1, the second end of the first resistor R1 is connected to the power supply end of the power supply module 211, the third end and the fourth end of the first connector 202 are respectively connected to the first end and the second end of the second connector 204, the third end and the fourth end of the second connector 204 are respectively connected to the first end and the second end of the voltage dividing module 212, and the third end and the fourth end of the voltage dividing module 212 are grounded;
[0051] Among them, the power supply module 211 is used to provide a detection voltage, and the voltage dividing module 212 is used to divide the voltage with the first resistor R1;
[0052] The processing module 210 is used to detect the real-time voltage of the first resistor R1, and determine whether the first connector 202 and / or the second connector 204 is fastened according to the real-time voltage.
[0053] In this embodiment, the power supply module 211 may specifically be a Power Management Unit (PMU for short), or any other device or power supply unit that can provide the detection voltage. The embodiments of the present application do not limit this.
[0054] In this embodiment, the detection voltage can be set by those skilled in the art according to actual needs. Generally, it is necessary to ensure that the voltage output by the power supply module 211 will not damage the detection end of the processing module 210 after the voltage drop of the first resistor R1 and / or the voltage division of the voltage dividing module 212. As Figure 1 shown, this detection voltage can be denoted as VCC.
[0055] In this embodiment, the voltage dividing module 212 may include one or more resistors, and each resistor in the voltage dividing module 212 may form a voltage dividing relationship with the first resistor R1. Specifically, each resistor in the voltage dividing module 212 may form a voltage dividing relationship with the first resistor R1 when the first connector 202 and the second connector 204 are properly latched respectively.
[0056] Exemplarily, the first connector 202 and the second connector 204 may be board-to-board connectors. Generally, when the first connector 202 and / or the second connector 204 are properly latched,
[0057] For example, when the first connector 202 is properly latched, the first end and the third end of the first connector 202 are connected, and the second end and the fourth end of the first connector 202 are connected.
[0058] When the second connector 204 is properly latched, the first end and the third end of the second connector 204 are connected, and the second end and the fourth end of the second connector 204 are connected.
[0059] It can be understood that when the first connector 202 is not latched or is latched incompletely, an open circuit will be formed between the first end and the third end of the first connector 202, and / or an open circuit will be formed between the second end and the fourth end of the first connector 202. When the second connector 204 is not latched or is latched incompletely, an open circuit will be formed between the first end and the third end of the second connector 204, and / or an open circuit will be formed between the second end and the fourth end of the second connector 204.
[0060] Again, for example, as Figure 1 shown, both the first connector 202 and the second connector 204 are rectangular connectors, and generally, the structures of the first connector 202 and the second connector 204 are the same. Therefore, the first connector 202 will be taken as an example for description. The first connector 202 may include a plurality of latches or connection points. When all the latches or connection points are latched, it indicates that the first connector 202 is properly latched. If there are some latches or connection points not latched, it indicates that the first connector 202 is latched incompletely.
[0061] Furthermore, if the latches or connection points near the first end and the third end of the first connector 202 are not latched, an open circuit will be formed between the first end and the third end, resulting in that the resistor in the voltage dividing module 212 connected to the third end of the first connector 202 through the second connector 204 cannot form a voltage dividing relationship with the first resistor R1. Similarly, the structure and principle of the second connector 204 are the same as those of the first connector 202, and the embodiments of the present application will not elaborate herein.
[0062] In this embodiment, the real-time voltage may refer to the voltage applied across the first resistor R1 after the detection voltage is divided. Since the first end of the first resistor R1 is connected to the detection end of the processing module 210, the real-time voltage can thus represent the voltage value actually detected or sampled by the processing module 210.
[0063] Specifically, determining whether the first connector 202 and / or the second connector 204 is / are latched according to the real-time voltage may be to compare the real-time voltage with a preset voltage pre-stored in the processing module 210 (or a memory connected to the processing module 210). If the real-time voltage does not match the preset voltage, it can be determined that the first connector 202 and / or the second connector 204 is / are not latched or not latched properly. If the real-time voltage matches the preset voltage, it can be determined that the first connector 202 and / or the second connector 204 is / are latched normally.
[0064] Alternatively, the real-time voltage may also be compared with the detection voltage to determine whether the first connector 202 and / or the second connector 204 is / are latched. If the real-time voltage matches the detection voltage, it can indicate that both the first connector 202 and the second connector 204 are not latched properly. If the real-time voltage does not match the detection voltage, it can indicate that at least one of the first connector 202 and the second connector 204 is latched normally.
[0065] Specifically, any possible method may be selected according to actual needs to determine the latching state of the connector according to the real-time voltage, and the embodiments of the present application do not limit this.
[0066] In a possible way, the processing module 210 may also be connected to the power supply module 211, and the power supply module 211 may send the specific value of the detection voltage to the processing module 210. Alternatively, the specific value of the detection voltage may also be pre-stored in the processing module 210 (or a memory connected to the processing module 210), and the embodiments of the present application do not limit this.
[0067] It should be noted that, for the convenience of understanding the working principle of the latching detection device provided by the embodiments of the present application, the following is combined with Figure 1 to be explained in detail:
[0068] When all the components in the electronic device and the latching detection device are powered on and working normally, the power supply module 211 continuously outputs the detection voltage to the first resistor R1, and the processing module 210 continuously detects the real-time voltage of the first resistor R1. Then, according to the latching situation of the first connector 202 and the second connector 204, the voltage division module 212 will form different voltage division relationships with the first resistor R1.
[0069] Assume that the preset voltage is V0, and both the first connector 202 and the second connector 204 are properly latched. Then, each resistor in the voltage division module 212 can form a voltage division relationship with the first resistor R1. At this time, the real-time voltage detected by the processing module 210 is also V0. Then, the processing module 210 can determine that both the first connector 202 and the second connector 204 are properly latched.
[0070] Assume that the preset voltage is V0, and either the first connector 202 and / or the second connector 204 is not latched in place, and an open circuit is formed between the first end and the third end (or the second end and the fourth end) of the unlatched connector. Then, the resistors in the voltage division module 212 corresponding to the two ports where the open circuit is formed cannot form a voltage division relationship with the first resistor R1. At this time, the real-time voltage detected by the processing module 210 will change from V0 to V1. Then, the processing module 210 can determine that there is a situation where either the first connector 202 or the second connector 204 is not latched in place or not latched.
[0071] Assume that the preset voltage is V0, and both the first connector 202 and / or the second connector 204 are not latched in place, and open circuits are formed between the first end and the third end, and between the second end and the fourth end of the unlatched connector. Then, each resistor in the voltage division module 212 cannot form a voltage division relationship with the first resistor R1. At this time, the real-time voltage detected by the processing module 210 is the real-time voltage output by the power supply module 211. Then, the processing module 210 can determine that there is a situation where either the first connector 202 or the second connector 204 is not latched in place or not latched.
[0072] For another example, if the real-time voltage detected by the processing module 210 is V0 during a certain period, and it is determined that both the first connector 202 and the second connector 204 are properly latched, and starting from a certain moment, the real-time voltage is detected to change to V1 or the detected voltage, it can be determined that either the first connector 202 and / or the second connector 204 is not latched in place.
[0073] It should be noted that since the latching detection device provided in the embodiment of the present application includes a processing module 210, a power supply module 211, a first resistor R1, and a voltage division module 212; and the processing module 210, the power supply module 211, and the first resistor R1 are respectively arranged on the main board 201, and the voltage division module 212 is arranged on the sub-board 203;
[0074] The detection ends of the processing module 210 are respectively connected to the first end of the first resistor R1, the first end and the second end of the first connector 202. The second end of the first resistor R1 is connected to the power supply end of the power supply module 211. The third end and the fourth end of the first connector 202 are respectively connected to the first end and the second end of the second connector 204. The third end and the fourth end of the second connector 204 are respectively connected to the first end and the second end of the voltage dividing module 212. The third end and the fourth end of the voltage dividing module 212 are grounded.
[0075] Moreover, the power supply module 211 can provide the detection voltage to the first resistor R1, and the voltage dividing module 212 can divide the voltage with the first resistor R1. Since different fastening states of the first connector 202 and / or the second connector 204 will change the voltage division relationship between the voltage dividing module 212 and the first resistor R1, and further cause the real-time voltage of the first resistor R1 to change. Then, by detecting the real-time voltage of the first resistor R1 through the processing module 210, it is possible to accurately determine whether the first connector 202 and the second connector 204 are fastened.
[0076] It can be seen that in this application, the two fastening detection lines between the first connector 202 and the second connector 204 can accurately detect the fastening states of the first connector 202 and the second connector 204 by jointly using one detection end of the processing module 210. Moreover, in the fastening detection device provided in this application, only one resistor needs to be set on the main board, and the wiring on the main board is reduced.
[0077] In this way, it is possible to reduce the interface resources occupied by the fastening detection and simplify the circuit design of the fastening detection device.
[0078] In addition, since the fastening detection device provided by the solution of this application occupies fewer interface resources, the need to set external switches is reduced as much as possible, and the purpose of controlling costs can be achieved to a certain extent.
[0079] Continue to refer to Figure 1 , Figure 1 In Figure 1 it is also possible that ground wires or other power supply traces are arranged along the upper and lower edges in the length direction of the first connector 202 and the second connector 204 (i.e., the direction parallel to the X direction shown in
[0080] Specifically, the first end and the third end of the first connector 202 are arranged at the first edge position of the first connector 202, and the second end and the fourth end of the first connector 202 are arranged at the second edge position of the first connector 202.
[0081] The first end and the third end of the second connector 204 are disposed at the third edge position of the second connector 204, and the second end and the fourth end of the second connector 204 are disposed at the fourth edge position of the second connector 204.
[0082] In this embodiment, the first edge position refers to the upper edge position along the X direction in the first connector 202. The second edge position refers to the lower edge position away from the X direction in the first connector 202.
[0083] In this embodiment, the third edge position refers to the upper edge position along the X direction in the second connector 204. The fourth edge position refers to the lower edge position away from the X direction in the second connector 204.
[0084] It should be noted that since the first connector 202 and the second connector 204 are connectors with a certain length, as mentioned in the above embodiment, multiple buckles or connection points can be provided at different parts of the connector. And since ground wires or other power traces are generally provided at the edge positions of the connector, in order to avoid the situation that the middle positions of the first connector 202 and the second connector 204 are buckled while the edge positions are not buckled, which may cause abnormalities or exposure of the ground wires or other power traces, the respective connection ends of the first connector 202 and the second connector 204 are respectively disposed at the corresponding upper and lower edge positions.
[0085] In this way, the situation where the edges of the first connector 202 and the second connector 204 are not buckled or not buckled in place can be detected in a timely and accurate manner, avoiding continuous abnormalities or exposure of the ground wires or other power traces. Thus, the practicability of the buckling detection device can be improved.
[0086] In a possible implementation manner, referring to Figure 3 , the processing module 210 includes: a target processor 2101 and an analog-to-digital converter 2102;
[0087] The input ends of the analog-to-digital converter 2102 are respectively connected to the first end of the first resistor R1, the first end and the second end of the first connector 202, and the output end of the analog-to-digital converter 2102 is connected to the sampling end of the target processor 2101;
[0088] Wherein, the analog-to-digital converter 2102 is configured to detect the real-time voltage and convert the real-time voltage into a digital signal for output to the target processor 2101;
[0089] The target processor 2101 is configured to determine whether the first connector 202 and / or the second connector 204 is buckled according to the digital signal.
[0090] In this embodiment, the analog-to-digital converter 2102 may refer to an analog-to-digital converter (ADC for short). Specifically, the analog-to-digital converter 2102 can convert a continuously varying analog signal into a discrete digital signal so that the target processor 2101 can correctly analyze, identify, and process it.
[0091] Generally, this digital signal is specifically used to indicate a voltage value. And since this digital signal is obtained by converting the real-time voltage, this digital signal can be used to characterize the specific voltage value of the real-time voltage.
[0092] In this embodiment, the target processor 2101 can be a central processing unit (CPU for short) or a microcontroller unit (MCU for short), as long as it is ensured that the target processor 2101 has certain processing and computing capabilities. The embodiments of the present application do not limit this.
[0093] In this embodiment, the sampling terminal of the target processor 2101 may refer to an ADC pin on the target processor 2101. The embodiments of the present application do not limit this.
[0094] It should be noted that generally, a processor can only be used to identify and process digital signals, while the real-time voltage of the first resistor R1 is generally an analog signal. Therefore, by accurately converting the real-time voltage into the digital signal through the analog-to-digital converter 2102 and then outputting the digital signal to the sampling terminal of the target processor 2101, it can be ensured that the target processor 2101 can accurately determine or know the voltage value of the first resistor R1, so as to accurately determine whether the first connector 202 and / or the second connector 204 are engaged. Furthermore, the practicability and accuracy of the engagement detection device can be improved.
[0095] It should be noted that in this case, when the target processor 2101 determines whether the first connector 202 and / or the second connector 204 are engaged according to this digital signal, it can compare the voltage value represented by this digital signal with the above preset voltage and / or detection voltage. The embodiments of the present application do not limit this.
[0096] In a possible implementation manner, refer to Figure 4 , the voltage dividing module 212 includes a second resistor R2 and a third resistor R3.
[0097] The first end of the second resistor R2 is connected to the third end of the second connector 204, the first end of the third resistor R3 is connected to the fourth end of the second connector 204, and the second ends of the second resistor R2 and the third resistor R3 are grounded respectively.
[0098] Specifically, the resistance values of the second resistor and the third resistor can be set according to actual needs. For example, the resistance values of the second resistor R2 and the third resistor R3 are the same. In this case, the resistance value of the second resistor R2 can be further set to twice the resistance value of the first resistor R1, or can also be set to any other possible value.
[0099] Then, assuming that the above preset voltage is half of the above detection voltage, that is, 1 / 2VCC, and the resistance value of the second resistor R2 is twice the resistance value of the first resistor R1. If both the first connector 202 and the second connector 204 are properly latched, at this time, the first resistor R1, the second resistor R2, and the third resistor R3 can all form a voltage division relationship. Based on the resistance values and connection relationship of these three resistors, it can be determined that the real-time voltage of the first resistor R1 is also 1 / 2VCC. Therefore, after detecting this real-time voltage, the processing module 210 can determine that the preset voltage and this real-time voltage match, and further, the processing module 210 can determine that both the first connector 202 and the second connector 204 are properly latched.
[0100] If the first connector 202 and / or the second connector 204 are not latched in place, and an open circuit is formed between the first end and the third end (or the second end and the fourth end) of the unlatched connector, at this time, the first resistor R1 and the second resistor R2 (or the first resistor R1 and the third resistor R3) can form a voltage division relationship. Based on the resistance values and connection relationship of the first resistor R1 and the second resistor R2 (or the first resistor R1 and the third resistor R3), it can be determined that the real-time voltage of the first resistor R1 is 2 / 3VCC. Therefore, after detecting this real-time voltage, the processing module 210 can determine that the preset voltage and this real-time voltage do not match, and further, the processing module 210 can determine that the first end and the third end or the second end and the fourth end of the first connector 202 or the second connector 204 are not latched in place.
[0101] If both the first connector 202 and / or the second connector 204 are not latched in place, and open circuits are formed between the first end and the third end, and between the second end and the fourth end of the unlatched connector, then neither the second resistor R2 nor the third resistor R3 can form a voltage division relationship with the first resistor R1. At this time, the real-time voltage of the first resistor R1 is VCC. Therefore, after detecting this real-time voltage, the processing module 210 can determine that this real-time voltage is equal to the detection voltage, and further, the processing module 210 can determine that the first end and the third end and between the second end and the fourth end of both the first connector 202 and the second connector 204 are not latched in place.
[0102] For another example, the resistance values of the second resistor R2 and the third resistor R3 are different. Similarly, the resistance value of the second resistor R2 can be further set to twice the resistance value of the first resistor R1, or can be set to any other possible value.
[0103] Assume that the above preset voltage is V0, and the resistance value of the second resistor R2 is twice the resistance value of the first resistor R1. In this case, if both the first connector 202 and the second connector 204 are properly latched, at this time, the first resistor R1, the second resistor R2, and the third resistor R3 can all form a voltage division relationship, and the real-time voltage detected by the processing module 210 is also V0. Therefore, the processing module 210 can determine that the preset voltage and the real-time voltage match, and further, the processing module 210 can determine that both the first connector 202 and the second connector 204 are properly latched.
[0104] If the first connector 202 and / or the second connector 204 is not latched in place, and an open circuit is formed between the first end and the third end (or the second end and the fourth end) of the un-latched connector, at this time, the first resistor R1 and the second resistor R2 (or the first resistor R1 and the third resistor R3) can form a voltage division relationship. Since the resistance values of the second resistor R2 and the third resistor R3 are different, the voltage division relationship between the first resistor R1 and the second resistor R2 is also different from the voltage division relationship between the first resistor R1 and the third resistor R3. For example, when the processing module 210 performs voltage division between the first resistor R1 and the second resistor R2, the detected real-time voltage is Va, and when the processing module 210 performs voltage division between the first resistor R1 and the third resistor R3, the detected real-time voltage is Vb. Therefore, based on the specific value of the real-time voltage, the processing module 210 can determine whether the latching is not in place between the first end and the third end of the first connector 202 and / or the second connector 204, or whether the latching is not in place between the second end and the fourth end of the first connector 202 and / or the second connector 204.
[0105] If both the first connector 202 and / or the second connector 204 are not latched in place, and open circuits are formed between the first end and the third end, and between the second end and the fourth end of the un-latched connector, then neither the second resistor R2 nor the third resistor R3 can form a voltage division relationship with the first resistor R1. At this time, the real-time voltage of the first resistor R1 is VCC. Therefore, the processing module 210 can determine that the real-time voltage is equal to the detected voltage, and further, the processing module 210 can determine that the latching is not in place between the first end and the third end, and between the second end and the fourth end of the first connector 202 and / or the second connector 204.
[0106] It should be noted that the embodiments of the present application are only described by setting two sets of latching detection circuits between the first connector 202 and the second connector 204, but this does not mean that the embodiments of the present application can only be set in this way. For example, a fifth terminal and a sixth terminal can be respectively set at the middle positions of the first connector 202 and the second connector 204. Correspondingly, the number of resistors in the voltage dividing module 212 can also be adaptively adjusted, and the newly added resistors can be adaptively connected to the first resistor R1. The embodiments of the present application do not limit this.
[0107] Based on the same concept on the basis of the above embodiments, the embodiments of the present application further provide an electronic device.
[0108] Exemplarily, an electronic device DZ provided by the embodiments of the present application may include: a main board 201, a sub-board 203, and any latching detection device provided in the above embodiments;
[0109] The first connector 202 is installed on the main board 201, and the second connector 204 is installed on the sub-board 203
[0110] In some possible implementation manners, the electronic device further includes an output device SC.
[0111] The output device SC is used to output a reminder signal under the action of the processing module 210 in the latching detection device.
[0112] In this embodiment, the reminder signal may be a light signal, an audio signal, a text signal, and / or any other possible form of signal.
[0113] Specifically, when the processing module determines that a latching abnormality occurs, a corresponding control signal can be sent to the output device, so that the output device is powered on and works, and then the output device outputs the reminder signal. The embodiments of the present application do not limit this.
[0114] In this way, when the electronic device is not latched or latched in place, relevant personnel can be reminded in a timely, accurate and reliable manner, so that the relevant personnel can latch the corresponding connector as soon as possible.
[0115] In some possible implementation manners, the electronic device may further include any other possible modules or units, such as devices such as a memory, and the functions or effects that can be implemented in the above embodiments or the electronic device can be implemented by the respective corresponding modules or units. The embodiments of the present application do not elaborate here.
[0116] It can be understood that the electronic device provided by the embodiments of the present application can implement the functions of any latching detection device provided in the above embodiments, and has corresponding beneficial effects, which will not be elaborated here.
[0117] It should be noted that, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.
[0118] The above are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments described herein, but rather will conform to the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. A buckling detection device, characterized in that Applied to an electronic device, the electronic device includes a main board and a sub-board, a first connector is installed on the main board, and a second connector is installed on the sub-board; the fastening detection device includes: a processing module, a power supply module, a first resistor, and a voltage dividing module; The processing module, the power supply module, and the first resistor are respectively arranged on the main board, and the voltage dividing module is arranged on the sub-board; The detection ends of the processing module are respectively connected to the first end of the first resistor, the first end and the second end of the first connector, the second end of the first resistor is connected to the power supply end of the power supply module, the third end and the fourth end of the first connector are respectively connected to the first end and the second end of the second connector, the third end and the fourth end of the second connector are respectively connected to the first end and the second end of the voltage dividing module, and the third end and the fourth end of the voltage dividing module are grounded; Wherein, the power supply module is used to provide a detection voltage, and the voltage dividing module is used to divide the voltage with the first resistor; The processing module is used to detect the real-time voltage of the first resistor and determine whether the first connector and / or the second connector is fastened according to the real-time voltage.
2. The snap detection device according to claim 1, wherein The processing module includes: a target processor and an analog-to-digital converter; The input ends of the analog-to-digital converter are respectively connected to the first end of the first resistor, the first end and the second end of the first connector, and the output end of the analog-to-digital converter is connected to the sampling end of the target processor; Wherein, the analog-to-digital converter is used to detect the real-time voltage and convert the real-time voltage into a digital signal and output it to the target processor; The target processor is used to determine whether the first connector and / or the second connector is fastened according to the digital signal.
3. The snap detection device according to claim 1, characterized in that The voltage dividing module includes a second resistor and a third resistor; The first end of the second resistor is connected to the third end of the second connector, the first end of the third resistor is connected to the fourth end of the second connector, and the second ends of the second resistor and the third resistor are respectively grounded.
4. The snap-fit detection device according to claim 3, wherein The resistance values of the second resistor and the third resistor are the same.
5. The snap-fit detection device according to claim 4, wherein The resistance value of the second resistor is twice the resistance value of the first resistor.
6. The snap-fit detection device according to claim 3, wherein The resistance values of the second resistor and the third resistor are different.
7. The snap detection device according to claim 1, wherein, When the first connector is fastened normally, the first end and the third end of the first connector are connected, and the second end and the fourth end of the first connector are connected; When the second connector is fastened normally, the first end and the third end of the second connector are connected, and the second end and the fourth end of the second connector are connected.
8. The snap detection device according to claim 1, wherein, The first end and the third end of the first connector are arranged at the first edge position of the first connector, and the second end and the fourth end of the first connector are arranged at the second edge position of the first connector; The first end and the third end of the second connector are arranged at the third edge position of the second connector, and the second end and the fourth end of the second connector are arranged at the fourth edge position of the second connector.
9. An electronic device, characterized in that, Including a main board, a sub-board, and the fastening detection device according to any one of claims 1-8; A first connector is installed on the main board, and a second connector is installed on the sub-board.
10. The electronic device according to claim 9, characterized in that, The electronic device further includes an output device; The output device is configured to output a reminder signal under the action of a processing module in the fastening detection device.