Electronic component, electronic equipment, detection method, detection device and storage medium

By using magnetic field measuring components in electronic components to measure the magnetic field parameters of the current loop, the problem of judging the connection status of the functional module and the circuit board is solved, and fast and accurate connection status judgment and fault avoidance are achieved, simplifying the hardware structure and reducing costs .

CN119001546APending Publication Date: 2024-11-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310574319.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The prior art is difficult to simply and conveniently determine the connection status between the functional module and the circuit board in an electronic device, especially when the connection is abnormal, it is difficult to detect and deal with the problems of unbalanced battery charging or other functional module failures in a timely manner.

Method used

The magnetic field measurement element is used to measure the magnetic field parameters of the current circuit. By comparing with the preset reference parameters, the connector status of the functional module and the circuit board is determined, including adding a compass or Hall device to the electronic component as the magnetic field measurement element, and through The detection method and device realize the determination and reminding of the connection state.

Benefits of technology

It realizes fast and accurate judgment of the connection status of the functional module and the circuit board, avoids battery charging imbalance and other functional failures caused by abnormal connections, simplifies the hardware structure, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001546A_ABST
    Figure CN119001546A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic component, electronic equipment, a detection method, a detection device and a storage medium. The electronic assembly comprises a circuit board, a functional module and a magnetic field measuring element. The circuit board is provided with a grounding point and a first connector; the functional module is connected with the first connector through a second connector so as to be connected with the circuit board; when the functional module is in a working state, a current loop is formed among the first connector, the second connector, the functional module and the grounding point; the magnetic field measuring element is electrically connected with the circuit board, a preset distance is reserved between the magnetic field measuring element and the grounding point, and the magnetic field measuring element is used for measuring magnetic field parameters of the current loop. Therefore, the circuit board judges the connection state of the first connector and the corresponding second connector according to the magnetic field parameters, the connection state between the functional module and the circuit board can be easily known, and the hardware structure of the electronic assembly is also simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection technology, and in particular to an electronic component, an electronic device, a detection method, a detection device and a storage medium. Background Art

[0002] An electronic device, such as a mobile phone, a tablet computer or a VR / AR device, includes a circuit board and a functional module. The circuit board is provided with a first connector. The functional module is provided with a second connector, whereby the functional module is connected to the circuit board through the first connector and the second connector. Therefore, it is very important that the first connector and the second connector are connected normally, and it is necessary to develop a technology that can simply and conveniently determine whether the connection between the first connector and the second connector is normal. Summary of the invention

[0003] The purpose of this application is to disclose an electronic component, an electronic device, a detection method, a detection device and a storage medium to solve the deficiencies in the related art.

[0004] According to the first aspect of the implementation of the present application, an electronic component is disclosed. The electronic component includes a circuit board, a functional module and a magnetic field measuring element, wherein the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to connect to the circuit board; when the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point; the magnetic field measuring element is electrically connected to the circuit board, the magnetic field measuring element is at a preset distance from the grounding point, and the magnetic field measuring element is used to measure the magnetic field parameters of the current loop.

[0005] Optionally, the magnetic field measuring element includes one or more of the following: a compass and a Hall device.

[0006] Optionally, the functional module includes one or more of the following: a battery module, a camera module, a fingerprint module and a screen module.

[0007] Optionally, when the functional module includes a battery module, the circuit board includes a charging interface; when the working state of the battery module is a charging state, the current loop is formed between the charging interface, the first connector, the second connector, the functional module and the grounding point.

[0008] Optionally, there is at least one of the grounding point, the first connector and the second connector, and the magnetic field measuring element is at a preset distance from at least one of the grounding points.

[0009] Optionally, the minimum distance between the outline of the magnetic field measuring element and the outline of one of the grounding points is L1, 0mm<L1≤15mm; or, the number of the magnetic field measuring elements is equal to the number of the grounding points, and the minimum distance between the outline of each magnetic field measuring element and the outline of a grounding point is L1, 0mm<L1≤15mm.

[0010] Optionally, when there are multiple magnetic field measuring elements, the magnetic field measuring elements are arranged at intervals on the same surface of the circuit board; or, some of the magnetic field measuring elements are arranged on the first surface, and other parts of the magnetic field measuring elements are arranged on the second surface, and the orthographic projections of the multiple magnetic field measuring elements along the thickness direction are staggered, and the first surface and the second surface are arranged opposite to each other.

[0011] Optionally, in the orthographic projections of the plurality of magnetic field measuring elements along the thickness direction of the circuit board, a minimum distance between contours of adjacent orthographic projections is d, and d≥30 mm.

[0012] Optionally, there are multiple first connectors and second connectors respectively and they correspond one to one, the line between two adjacent first connectors and the magnetic field measuring element forms an isosceles triangle, and the line between the two first connectors is the base of the isosceles triangle.

[0013] Optionally, the minimum distance between the contour of the magnetic field measuring element and the bottom edge is L2, 0mm<L2≤50mm; and / or, there are at least two grounding points, and the grounding points are symmetrically arranged on both sides of the height of the isosceles triangle.

[0014] Optionally, the electronic component includes a power supply line for supplying power to the functional module, and a minimum distance between an outline of the magnetic field measuring element and an outline of the power supply line is w, where w≥10 mm.

[0015] Optionally, the current of the power supply line is not less than 100 mA.

[0016] According to a second aspect of the embodiments of the present application, an electronic device is disclosed, wherein the electronic device comprises any one of the aforementioned electronic components.

[0017] According to a third aspect of the implementation of the present application, a detection method is disclosed. The detection method is applied to an electronic component, the electronic component includes a circuit board, a functional module and a magnetic field measuring element; the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to connect to the circuit board; when the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point; the detection method includes:

[0018] Acquiring magnetic field parameters of the current loop;

[0019] The connection state between the second connector of the functional module and the first connector of the circuit board is determined according to the magnetic field parameters of the current loop.

[0020] Optionally, the magnetic field parameters include at least one of the following: magnetic field strength and magnetic field direction of the current loop.

[0021] Optionally, determining the connection state between the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameter of the current loop includes:

[0022] In response to a difference between a magnetic field parameter of the current loop and a preset reference parameter being greater than a preset value, determining that a connection state between a second connector of the functional module and a first connector corresponding to the circuit board is an abnormal connection;

[0023] In response to the difference between the magnetic field parameter of the current loop and the preset reference parameter being less than or equal to a preset value, it is determined that the connection state between the second connector of the functional module and the first connector of the circuit board is normal.

[0024] Optionally, there is at least one functional module. When there are multiple functional modules, a connector identifier is associated with at least one of the first connector and the corresponding second connector;

[0025] The detection method further includes: determining the first connector and the second connector that are abnormally connected according to the magnetic field parameters and the connector identifiers corresponding to the magnetic field parameters.

[0026] Optionally, there is at least one functional module. When there are multiple functional modules, different functional modules are electrically connected to different first connectors on the circuit board using different second connectors; when there is only one functional module, the functional module is connected to the circuit board through multiple second connectors and corresponding first connectors;

[0027] The detection method further comprises:

[0028] In response to an abnormal connection state of a second connector of at least one functional module, a reminder message is issued, wherein the reminder message includes at least one of the following: an identifier of the functional module with the abnormal connection, a first connector identifier, and a second connector identifier.

[0029] Optionally, in response to the connection state of the second connector of at least one functional module being abnormal, sending the connection abnormality reminder information includes:

[0030] In response to an abnormality in the connection state of the second connector of at least one functional module, recording the number of times the difference between the magnetic field parameter and the reference parameter is greater than a preset value;

[0031] When the number is greater than a reference number, the reminder message is issued.

[0032] According to a first aspect of the implementation of the present application, a detection device is disclosed. The detection device is applied to an electronic component, the electronic component includes a circuit board, a functional module and a magnetic field measuring element; the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to connect to the circuit board; when the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point, and the detection device includes:

[0033] An acquisition module, used for acquiring magnetic field parameters of the current loop;

[0034] The state determination module is used to determine the connection state of the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameters of the current loop.

[0035] According to a fourth aspect of the embodiments of the present application, an electronic device is disclosed. The electronic device includes:

[0036] a memory for storing instructions; and

[0037] A processor is used to call the instructions stored in the memory to execute any of the aforementioned detection methods.

[0038] According to a fifth aspect of the embodiments of the present application, a storage medium is disclosed, wherein instructions are stored in the storage medium, and when the instructions are executed by a processor, any of the above detection methods is executed.

[0039] The embodiments disclosed in this application may include the following beneficial effects:

[0040] It can be seen from the above implementation that the magnetic field parameters of the current loop are measured by the magnetic field measuring element, and the circuit board determines the connection status of the second connector of the functional module and the first connector corresponding to the circuit board according to the magnetic field parameters, so that it is easy to judge whether the connection between the first connector and the corresponding second connector is normal, and then, it is easy to know the connection status between the functional module and the circuit board. As for the hardware of the electronic component, it is only necessary to add a magnetic field measuring element, and the hardware structure of the electronic component is also simple.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a schematic diagram of a first electronic component according to an embodiment of the present application, wherein the functional module is a battery module, and illustrates that a first connector between a circuit board and a battery module is normally connected to a corresponding second connector (not falling off);

[0043] Figure 2 is a schematic diagram of a first electronic component according to an embodiment of the present application, wherein the functional module is a battery module, and illustrates that a first connector between a circuit board and a battery module and a corresponding second connector are abnormally connected (falling off);

[0044] Figure 3 is a schematic diagram of a second electronic component according to an embodiment of the present application;

[0045] Figure 4 is a schematic diagram of a third electronic component according to an embodiment of the present application;

[0046] Figure 5 is a schematic diagram of a fourth electronic component according to an embodiment of the present application, wherein the functional module is a camera module, and the first connector and the second connector are connected normally;

[0047] Figure 6 is a schematic diagram of a fourth electronic component according to an embodiment of the present application, wherein the functional module is a camera module, and the first connector and the second connector are abnormally connected;

[0048] Figure 7 is a schematic diagram of a fifth electronic component according to an embodiment of the present application, wherein the functional module is a battery module, and compared with the first electronic component, the number of first connectors and the number of second connectors are different, and the number of magnetic field measuring elements is different;

[0049] Figure 8 is a schematic diagram of a first detection method according to an embodiment of the present application;

[0050] Fig. 9 is a schematic diagram of a second detection method according to an embodiment of the present application;

[0051] Fig.10 It is a schematic diagram of a third detection method according to an embodiment of the present application. DETAILED DESCRIPTION

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

[0053] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. Unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which this application belongs. The words "first", "second" and similar words used in the specification and claims of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "one" do not indicate a quantitative limit, but indicate that there is at least one. "Multiple" or "several" means two or more. Unless otherwise specified, words such as "front", "rear", "lower" and / or "upper" are only for the convenience of explanation and are not limited to one position or one spatial orientation. Words such as "include" or "comprise" mean that the elements or objects appearing in front of "include" or "comprise" include the elements or objects listed after "include" or "comprise" and their equivalents, and do not exclude other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, and can include electrical connections, whether direct or indirect. The singular forms "a", "said" and "the" used in this specification and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0054] See also Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 and Figure 7 , Figure 1 and Figure 2 Disclose a first electronic component, Figure 3 A second electronic component is disclosed, Figure 4 Disclose the third electronic component, the 5th and Figure 6 A fourth electronic component is disclosed, Figure 7A fifth electronic component is disclosed. It can be seen from these electronic components that an embodiment of the present application discloses an electronic component including a circuit board 1, a functional module 2 and a magnetic field measuring element 3. In the first electronic component, the second electronic component, the third electronic component and the fifth electronic component, the functional module is a battery module, and in the fourth electronic component, the functional module is a camera module. Technicians may understand that the functional module 2 is a module that can realize a certain function, and in addition to the camera module and the battery module, it may also be a fingerprint module or a screen module. In short, in an embodiment of the present application, the functional module 2 includes one or more of the following: a battery module (such as Figures 1 to 4 as well as Figure 7 As shown), camera module (as shown Figure 5 and Figure 6 As shown), fingerprint module and screen module, the connection method of fingerprint module and screen module to the circuit board can refer to the connection method of camera module to the circuit board. In addition, other types of functional modules can also be included. In the case where the functional module is a battery module, the battery module includes a battery cell and a battery protection board, etc.

[0055] Based on the role of the circuit board 1 described later, the technicians can understand that the circuit board 1 can be the motherboard of a mobile phone or a wearable device, or it can be a circuit board that can determine whether the first connector 12 and the corresponding second connector 21 are detached. The circuit board 1 is provided with a grounding point 11 and a first connector 12. The number of grounding points 11 varies depending on the product. The functional module 2 is connected to the first connector 12 through the second connector 21 to connect to the circuit board 1. The first connector 12 can be a male connector, and the second connector 21 corresponds to a female connector, or the first connector 12 is a female connector and the second connector 21 is a male connector. The first connector 12 and the second connector 21 correspond one to one. For the convenience of description, a first connector 12 and a corresponding second connector 21 are referred to as a pair of connectors. Figure 1 , Figure 2 , Figure 3 and Figure 4 Only two pairs of connectors are shown. Functional module 2 is a battery module. Figure 7 Three pairs of connectors are shown. Functional module 2 is a battery module. Figure 5 and Figure 6 A pair of connectors is shown, and the functional module is a camera module. Therefore, technicians can understand that the number of the first connector 12 and the second connector 21 is not limited, that is, the number of pairs of connectors is not limited to two pairs, three pairs or one pair as shown in the figure, which is specifically determined according to the specific functional module 2 and the circuit board 1.

[0056] When the functional module 2 is in working state, a current loop is formed between the first connector 12, the second connector 21, the functional module 2 and the grounding point 11. Figure 1 , Figure 2 , Figure 3 and Figure 4 as well as Figure 7 When the functional module 2 includes a battery module, the circuit board 1 includes a charging interface; when the working state of the battery module 2 is a charging state, the current loop is formed between the charging interface, the first connector 12, the second connector 21, the functional module 2 and the grounding point 11. For example, see Figure 5 and Figure 6 When the functional module 2 is a camera module, a current loop is formed between the camera module, the first connector 12, the second connector 21 and the grounding point 11. At this time, the functional module is in a working state, which means whether the camera module can shoot or is shooting.

[0057] See also Figures 1 to 4 as well as Figure 7 , the magnetic field measuring element 3 is at a preset distance L1 from the grounding point 11, and is used to measure the magnetic field parameters of the current loop. The magnetic field parameter can be the magnetic field intensity, the magnetic field direction, or the magnetic field intensity and magnetic field direction. The preset distance can be the minimum distance between the outline of the magnetic field measuring element 3 and the outline of the grounding point 11 as shown in the figure, and the preset distance can also be other values. In short, the preset distance can measure the magnetic field parameter, which is not limited to the distance range described later. It can also be understood that the magnetic field measuring element 3 is located on the arc of a circle with the grounding point 11 as the center and a radius of L1. Based on the above settings, the magnetic field measuring element 3 measures the magnetic field parameters of the current loop, and the circuit board can judge the connection status of the second connector and the corresponding first connector according to the magnetic field parameters. How to judge the connection status is not limited to the implementation method described later. The following is combined with the relevant drawings, and taking the magnetic field parameter as the magnetic field direction as an example, the general process of judging the connection abnormality is described as follows:

[0058] Figure 1 and Figure 2 The solid arrows indicate that the functional module includes a battery module and the battery module is in a charging state, the current loop corresponding to the negative electrode of the battery module, and the dashed arrows indicate the charging loop corresponding to the positive electrode. The magnetic field measuring element 3 measures the magnetic field parameters of the current loop. The circuit board 1 determines the connection state between the first connector 12 and the second connector 21 according to the magnetic field parameters, for example, Figure 1 In the embodiment, all first connectors 12 are connected normally with the corresponding second connectors 21, and the direction of the magnetic field is shown by the solid arrow R1. Figure 2As shown, when the first connector 12 and the corresponding second connector 21 are disconnected (such as Figure 2 As shown, only one pair of connectors is connected normally, and the other connectors are connected abnormally), and the direction of the magnetic field is shown by the dotted arrow R2. Thus, the connection state between the second connector 21 and the corresponding first connector 12 is determined based on the magnetic field parameters.

[0059] exist Figure 5 and Figure 6 In the embodiment shown, for example, the second connector 21 and the first connector 12 both have M connection terminals, and when the Mth connection terminals are connected one-to-one, the direction of the magnetic field is shown by the solid arrow R1 in the figure, and when the second connector 21 and the first connector 12 only have N (N<M) connection terminals connected, the direction of the magnetic field is shown by the dotted arrow R2 in the figure. Therefore, the connection state between the second connector 21 and the corresponding first connector 12 is determined by the magnetic field parameters.

[0060] As set above, the electronic component measures the magnetic field parameters of the current loop through the magnetic field measuring element 3, and the circuit board 1 determines the connection status of the second connector of the functional module and the first connector corresponding to the circuit board according to the magnetic field parameters. Thus, it is easy and convenient to judge whether the connection between the first connector and the corresponding second connector is normal, and it is easy to know the connection status between the functional module and the circuit board. As for the hardware of the electronic component, it is only necessary to add a magnetic field measuring element, and the hardware structure of the electronic component is also simple. When the functional module 2 includes a battery module, the battery module is usually connected to the circuit board 1 through multiple pairs of connectors (a first connector 12 and a corresponding second connector 21 are called a pair). Based on the above setting, it can be judged whether there is an abnormal connection between a pair of connectors (such as a disconnected connection or poor contact). If the connection is abnormal ( Figure 1 Indicates that the connection is normal. Figure 2 Indicating abnormal connection, a pair of connectors are detached), stopping charging or maintenance, etc., thereby avoiding abnormal connection between the first connector 12 and the corresponding second connector 21, resulting in uneven battery charging of the battery module, and further causing battery safety problems. Of course, in the case where the functional module is a fingerprint module, a camera module or a screen module, it can be determined whether the above functional module is working normally, etc. Based on the above settings, the connection status of the first connector 12 and the corresponding second connector 21 can be detected in the production line test to avoid quality problems of electronic components in production, and the connection status of the first connector 12 and the corresponding second connector 21 can also be detected in other scenarios such as after-sales maintenance, so as to find the fault as soon as possible.

[0061] In some embodiments, the magnetic field measuring element 3 includes one or more of the following: a compass (E-compass) or a Hall device. The Hall device is, for example, a dual-axis Hall device or a single-axis Hall device. As set above, for electronic devices (such as mobile phones, etc.), the compass or Hall device is a component of the electronic device itself. When the magnetic field measuring element 3 is a compass or a Hall device, there is no need to add a device for measuring magnetic field parameters in the electronic device, which is equivalent to reducing the cost of the electronic device.

[0062] In some embodiments, the grounding point 11, the first connector 12 and the second connector 21 are each at least one, and the magnetic field measuring element 3 is at a preset distance from at least one of the grounding points 11. For example, Figure 1 and Figure 2 as well as Figure 5 and Figure 6 In the embodiment shown, there is only one magnetic field measuring element 3 and it is located on the right side of the circuit board 1, and there are two grounding points 11, including Figure 1 Grounding point 11 on the middle right and Figure 1 The grounding point 11 on the left. The magnetic field measuring element 3 is at the preset distance from at least one grounding point 11. For example, Figure 3 and Figure 7 In the illustrated embodiment, there are two magnetic field measuring elements 3 and two grounding points 11, and each magnetic field measuring element 3 is at a preset distance from the corresponding grounding point 11. For example, Figure 4 In the illustrated embodiment, there is one magnetic field measuring element 3 and two grounding points 11 . The magnetic field measuring element 3 is at a preset distance from any one of the grounding points 11 .

[0063] exist Figure 1 , Figure 2 and Figure 4 In the embodiment, the minimum distance between the contour of the magnetic field measuring element 3 and the contour of one of the grounding points 11 is L1, 0mm<L1≤15mm. Of course, the minimum distance L1 satisfies the above range and also includes the distance between the center of the magnetic field measuring element 3 and the center of the grounding point being within the above range, but in this case, the distance between the centers is greater than the distance between the contour of the magnetic field measuring element 3 and the contour of the grounding point 11. Figure 3 , the number of the magnetic field measuring elements 3 is equal to the number of the grounding points 11, the minimum distance between the outline of each magnetic field measuring element 3 and the outline of a grounding point 11 is L1, 0mm<L1≤15mm. The L1 can be considered as the preset distance, such as 0.5mm, 1mm, 2mm, 3mm, 4mm, 5mm, 6mm, 7mm, 8mm, 9mm, 10mm, 11mm, 12mm, 13mm, 14mm or 15mm.

[0064] As set above, L1 satisfies the above range, the return current in the current loop is concentrated, the magnetic field formed disturbs the normal magnetic field more obviously, and the magnetic field parameters detected by the magnetic field measuring element 3 are more obvious. Finally, the change of the magnetic field parameters can be reliably measured, and then it is more conducive to judging the connection state between the second connector 21 and the corresponding first connector 12. In the case where the electronic component includes multiple magnetic field measuring elements 3 (for example, two magnetic field measuring elements 3 are included in the figure), the magnetic field parameters measured by these magnetic field measuring elements 3 can be fused, and then the connection state between the second connector 21 and the corresponding first connector 12 can be judged based on the fused magnetic field parameters, and the detection effect will be better than that of one magnetic field measuring element 3.

[0065] See also Figure 3 and Figure 7 , when there are multiple magnetic field measuring elements 3, the magnetic field measuring elements 3 are arranged at intervals on the same surface of the circuit board 1, for example, they are all arranged on the front or back of the circuit board 1. Of course, when there are multiple magnetic field measuring elements 3, some of the magnetic field measuring elements 3 can be arranged on the first surface, and the other part of the magnetic field measuring elements 3 can be arranged on the second surface, and the orthographic projections of the multiple magnetic field measuring elements 3 along the thickness direction are staggered, and the first surface and the second surface are arranged oppositely, for example, the first surface can be the front of the circuit board 1, and the second surface is the back of the circuit board 1. Of course, in some cases, the first surface can also be a part of the front surface, and the second surface can also be a part of the back surface, and so on.

[0066] As set up above, since the magnetic field measuring elements 3 are arranged at intervals on the same surface of the circuit board 1, or the orthographic projections of the plurality of magnetic field measuring elements 3 in the thickness direction are staggered, the magnetic field measuring elements 3 are less interfered with and have high measurement accuracy, thereby being able to more accurately determine the connection status between the second connector 21 and the corresponding first connector 12.

[0067] In some embodiments, in the orthographic projections of the plurality of magnetic field measuring elements along the thickness direction, the minimum spacing distance between the contours of adjacent orthographic projections is d, d ≥ 30 mm. That is, regardless of whether the magnetic field measuring elements 3 are arranged on the same surface of the circuit board 1, or when some of the magnetic field measuring elements are arranged on the first surface and the other part of the magnetic field measuring elements are arranged on the second surface, the orthographic projections satisfy the above d. Accordingly, d is the minimum distance between the contours of the magnetic field measuring elements.

[0068] As set above, since d≥30mm, the magnetic field parameters measured by each magnetic field measuring element 3 are more accurate. Ultimately, the connection status between the second connector 21 and the corresponding first connector 12 can be more effectively determined. In addition, because d≥30mm, the magnetic field measuring element 3 is less subject to interference, and a magnetic field measuring element 3 with relatively low accuracy can be used, which is equivalent to reducing the cost of electronic components.

[0069] See also Figure 4 and Figure 7 In some embodiments, for example, when the functional module includes a battery module, there are multiple first connectors 12 and second connectors 21, and they correspond one to one. The line between two adjacent first connectors 12 and one magnetic field measuring element 3 forms an isosceles triangle. The line between the two first connectors 12 is the base of the isosceles triangle. Figure 4 Only two second connectors 21 are shown in the figure, so that the isosceles triangle can be easily understood. Figure 7 The description is as follows: Figure 7 The direction of the middle figure is used as a reference. From left to right, the lines connecting the first second connector 21, the second second connector 21 and a magnetic field measuring element 3 form an isosceles triangle, and the second second connector 21, the third second connector 21 and another magnetic field measuring element 3 form another isosceles triangle. Figure 4 In the embodiment, there is only one magnetic field measuring element 3, and the magnetic field measuring element 3 is located on the height L3 of the isosceles triangle. Figure 7 In the figure, there are two magnetic field measuring elements 3 located on the height L3 of the isosceles triangle. The skilled person may understand that, according to the composition of the electronic components, the magnetic field measuring elements 3 not located on the height L3 may also be included.

[0070] See also Figure 3 and Figure 7 In some embodiments, the minimum distance between the contour of the magnetic field measuring element 3 and the bottom edge is L2 (the distance L2 is the minimum distance between the contour of the magnetic field measuring element 3 and the bottom edge), the distance is L2, 0mm<L2≤50mm, for example, 3mm, 5mm, 8mm, 10mm, 13mm, 15mm, 18mm, 20mm, 23mm, 25mm, 28mm, 30mm, 35mm, 38mm, 40mm, 42mm, 45mm, 48mm or 50mm. The bottom edge may be a line connecting the centers of the two first connectors.

[0071] As set above, since 0mm<L2≤50mm, the circuit board 1 can more accurately determine the connection status between the second connector 21 and the first connector 12. This is because if L2 is longer, the magnetic field angle change caused by the current in the current loop will become smaller, resulting in a lower resolution of the magnetic field angle for the magnetic field measuring element 3 and inaccurate judgment.

[0072] See also Figure 4 and Figure 7 There are two grounding points 11, which are arranged symmetrically with respect to the isosceles triangle.

[0073] As set above, since the two grounding points 11 are symmetrically arranged relative to the height L3 of the isosceles triangle, combined with 0mm<L2≤50mm, the circuit board 1 can more accurately determine the connection status between the second connector 21 and the first connector 12.

[0074] In some embodiments, the electronic component includes a power supply line (not shown in the figure) for powering the functional module 2, and the minimum distance between the outline of the magnetic field measuring element 3 and the outline of the power supply line is w, w≥10mm. The minimum distance is the minimum distance between the outline of the magnetic field measuring element 3 and the outline of the power supply line.

[0075] As set above, since w≥10mm, the distance between the magnetic field measuring element 3 and the power supply wiring is relatively large, thus avoiding the change of the magnetic field caused by the change of the load current, and finally ensuring that the magnetic field parameters measured by the magnetic field measuring element 3 are more accurate.

[0076] In some implementations, the current of the power supply line is not less than 100 mA.

[0077] As set above, since the current of the power supply line is not less than 100 mA, the change of magnetic field caused by the change of load current can be avoided, and finally, the magnetic field parameters measured by the magnetic field measuring element 3 are ensured to be more accurate.

[0078] According to a second aspect of the embodiments of the present application, the embodiments of the present application disclose an electronic device, the electronic device comprising any of the aforementioned battery assemblies. The electronic device is a mobile phone, a wearable device (bracelet, watch, etc.), a tablet computer or a VR / AR device.

[0079] See also Figure 8According to the third aspect of the implementation of the present application, a detection method is disclosed. The detection method is applied to an electronic component, which includes a circuit board 1, a functional module 2 and a magnetic field measuring element 3; the circuit board 1 is provided with a grounding point 11 and a first connector 12; the functional module 2 is connected to the first connector 12 through a second connector 21 to connect to the circuit board 1; when the functional module 2 is in a working state, a current loop is formed between the first connector 12, the second connector 21, the functional module 2 and the grounding point 11. The detection method includes:

[0080] S1, obtaining magnetic field parameters of the current loop;

[0081] In this step, the magnetic field parameter includes at least one of the following: magnetic field strength and magnetic field direction of the current loop. Figure 2 and Figure 6 In the figure, the magnetic field parameter is shown as the magnetic field direction, and the solid arrow and the dotted arrow are used to indicate the magnetic field direction when the first connector 12 is connected normally and abnormally with the corresponding second connector 21. Of course, in some embodiments, the magnetic field parameter may also be the magnetic field strength, or the magnetic field strength and the magnetic field direction.

[0082] S2. Determine a connection state between the second connector of the functional module and the first connector of the circuit board according to magnetic field parameters of the current loop.

[0083] In this step, the connection state includes normal connection and abnormal connection. The connection state of the second connector of the functional module and the first connector of the circuit board is not limited to the implementation method described later. The magnetic field parameters can also be directly compared with the reference parameters. If they are equal, the first connector 12 and the corresponding second connector 21 are connected normally, otherwise, the connection is abnormal.

[0084] The above detection method measures the magnetic field parameters of the current loop through a magnetic field measuring element. The circuit board determines the connection status between the second connector of the functional module and the first connector corresponding to the circuit board based on the magnetic field parameters. Thus, it is possible to simply and conveniently determine whether the connection between the first connector and the corresponding second connector is normal. As for the hardware of the electronic component, it is only necessary to add a magnetic field measuring element, and the hardware structure of the electronic component is also simple.

[0085] See also Fig. 9 In an embodiment of the present application, determining the connection state between the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameters of the current loop includes:

[0086] In response to a difference between a magnetic field parameter of the current loop and a preset reference parameter being greater than a preset value, determining that a connection state between a second connector of the functional module and a first connector corresponding to the circuit board is an abnormal connection;

[0087] In response to the difference between the magnetic field parameter of the current loop and the preset reference parameter being less than or equal to a preset value, it is determined that the connection state between the second connector of the functional module and the first connector of the circuit board is normally connected.

[0088] In this step, the preset reference parameters are the basis for deviation judgment and are obtained through experiments in production.

[0089] In the above detection method, the connection state is determined according to the difference between the magnetic field parameter measured by the magnetic field measuring element and the preset reference parameter according to the size relationship between the difference and the preset value, thereby improving the accuracy of the connection state judgment.

[0090] In some embodiments, the functional module 2 is at least one, for example, the functional module 2 is at least one of a battery module, a camera module, a fingerprint module and a screen module. When there are multiple functional modules 2, it is necessary to know which functional module's first connector is abnormally connected to the corresponding second connector, which includes two situations: 1) When the functional module is connected to the circuit board only through one second connector and one first connector (that is, only through a pair of connectors), when there are multiple functional modules; the first connector of that functional module is abnormally connected to the corresponding second connector; 2) When the functional module (such as a battery module) itself is connected to the circuit board through multiple second connectors and multiple first connectors (that is, multiple pairs of connectors), the second connector under the functional module is abnormally connected to the corresponding first connector; 3) A combination of the above two situations, such as when the method is applied to an electronic device including a battery module and a camera module. In order to solve the above problem, at least one of the first connector 12 and the corresponding second connector 21 is associated with a connector identifier. The connector identifier is unique and has no limitation on composition. It can be a device identifier of the connector, or a code assigned by the manufacturer, etc.

[0091] The detection method further includes: determining the first connector and the second connector that are abnormally connected according to the magnetic field parameters and the connector identifiers corresponding to the magnetic field parameters.

[0092] In the above method, since the abnormally connected first connector 12 and second connector 21 are determined based on the magnetic field parameters and the connector identifiers corresponding to the magnetic field parameters, it is possible to accurately and conveniently know which second connector 21 has an abnormal connection with the corresponding first connector 12 .

[0093] In a further embodiment, there is at least one functional module. When there are multiple functional modules, different functional modules are electrically connected to different first connectors on the circuit board using different second connectors. For example, the second connector connecting the battery module to the circuit board is different from the corresponding first connector and the second connector connecting the camera module to the circuit board is different from the corresponding first connector. When there is one functional module, the functional module is connected to the circuit board via multiple second connectors and the corresponding first connector. For example, when the functional module includes a battery module, the battery module is connected to the corresponding first connector (such as Figures 1 to 4 and Figure 7 In this case, the detection method further includes:

[0094] In response to an abnormality in the connection state of the second connector of at least one functional module, a reminder message is issued, and the reminder message includes at least one of the following: an identifier of the functional module with the abnormal connection, a first connector identifier, and a second connector identifier. For example, when an abnormality exists in the connection state of the second connector of the battery module, the functional module identifier, the first connector identifier, and the second connector identifier can be used to know which second connector in which functional module has an abnormal connection with the corresponding first connector. The reminder message can also be sent as an email, a text message (SMS, WeChat, etc.), a pop-up prompt window (the prompt window includes at least one of the aforementioned identifier of the functional module with the abnormal connection, the first connector identifier, and the second connector identifier), etc.

[0095] The above method, by sending a prompt message, makes it easier to know which second connector in which functional module is abnormally connected to the corresponding first connector.

[0096] See also Fig.10 The detection method further includes: in response to the connection state of the second connector of at least one functional module being abnormal, sending a reminder message of the connection abnormality includes:

[0097] In response to an abnormality in the connection state of the second connector of at least one functional module, recording the number of times the difference between the magnetic field parameter and the reference parameter is greater than a preset value;

[0098] When the number is greater than the reference number, the reminder message is issued. The reference number X can be determined according to the situation, for example, X = 2, 3, 4, etc.

[0099] In the detection method, the reminder information is issued only when the number is greater than the reference number, thereby avoiding false reminders and improving the accuracy of the reminders.

[0100] Based on the technical idea of ​​the above detection method, according to the fourth aspect of the implementation of the present application, a detection device is disclosed. The detection device is applied to an electronic component, and the electronic component includes a circuit board, a functional module and a magnetic field measuring element; the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to connect to the circuit board; when the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point, and the detection device includes an acquisition module and a state determination module. The acquisition module is used to acquire the magnetic field parameters of the current loop. The state determination module is used to determine the connection state of the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameters of the current loop.

[0101] According to a fourth aspect of the implementation of the present application, an electronic device is disclosed. The electronic device includes a memory and a processor. The memory is used to store instructions. The processor is used to call the instructions stored in the memory to execute any of the above-mentioned detection methods.

[0102] According to a fourth aspect of the implementation of the present application, a storage medium is disclosed, wherein instructions are stored in the storage medium, and when the instructions are executed by a processor, any of the above detection methods is executed.

[0103] The above description is only a preferred implementation mode of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. An electronic component, characterized in that: The electronic assembly includes a circuit board, a functional module and a magnetic field measuring element, wherein: The circuit board is provided with a grounding point and a first connector; The functional module is connected to the first connector through a second connector to be connected to the circuit board; when the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point; The magnetic field measuring element is electrically connected to the circuit board, the magnetic field measuring element is at a preset distance from the grounding point, and the magnetic field measuring element is used to measure the magnetic field parameters of the current loop.

2. The electronic component according to claim 1, characterized in that The magnetic field measuring element includes one or more of the following: a compass and a Hall device.

3. The electronic component according to claim 1, characterized in that The functional modules include one or more of the following: a battery module, a camera module, a fingerprint module and a screen module.

4. The electronic component according to claim 1 or 3, characterized in that: When the functional module includes a battery module, the circuit board includes a charging interface; when the working state of the battery module is a charging state, the current loop is formed between the charging interface, the first connector, the second connector, the functional module and the grounding point.

5. The electronic component according to claim 1, characterized in that There is at least one grounding point, the first connector, and the second connector, and the magnetic field measuring element is at a preset distance from at least one grounding point.

6. The electronic component according to claim 1, characterized in that The minimum distance between the outline of the magnetic field measuring element and the outline of one of the grounding points is L1, 0mm<L1≤15mm; Alternatively, the number of the magnetic field measuring elements is equal to the number of the grounding points, and the minimum distance between the outline of each magnetic field measuring element and the outline of a grounding point is L1, 0mm<L1≤15mm.

7. The electronic component according to claim 6, characterized in that: In the case where there are multiple magnetic field measuring elements, the magnetic field measuring elements are arranged at intervals on the same surface of the circuit board; Alternatively, some of the magnetic field measuring elements are arranged on the first surface, and another part of the magnetic field measuring elements are arranged on the second surface, and the orthographic projections of the plurality of magnetic field measuring elements along the thickness direction are staggered, and the first surface and the second surface are arranged oppositely.

8. The electronic component according to claim 7, characterized in that: In the orthographic projections of the plurality of magnetic field measuring elements along the thickness direction of the circuit board, the minimum distance between the contours of adjacent orthographic projections is d, and d≥30 mm.

9. The electronic component according to claim 1, characterized in that: There are multiple first connectors and second connectors respectively and they correspond one to one. The lines between two adjacent first connectors and the magnetic field measuring element form an isosceles triangle, and the line between the two first connectors is the base of the isosceles triangle.

10. The electronic component according to claim 9, characterized in that The minimum distance between the contour of the magnetic field measuring element and the bottom edge is L2, 0mm<L2≤50mm; And / or, there are at least two grounding points, and the grounding points are symmetrically arranged on two sides of the height of the isosceles triangle.

11. The electronic component according to claim 1, characterized in that: The electronic component includes a power supply line for supplying power to the functional module, and the minimum distance between the outline of the magnetic field measurement element and the outline of the power supply line is w, where w≥10 mm.

12. The electronic component according to claim 11, characterized in that The current of the power supply line is not less than 100 mA.

13. An electronic device, characterized in that: An electronic component comprising any one of claims 1 to 12.

14. A detection method, characterized in that: Applied to an electronic component, the electronic component includes a circuit board, a functional module and a magnetic field measuring element; the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to be connected to the circuit board; When the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point; The detection method comprises: Acquiring magnetic field parameters of the current loop; The connection state between the second connector of the functional module and the first connector of the circuit board is determined according to the magnetic field parameters of the current loop.

15. The detection method according to claim 14, characterized in that: The magnetic field parameters include at least one of the following: The magnetic field strength and magnetic field direction of the current loop.

16. The detection method according to claim 14, characterized in that: Determining the connection state between the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameter of the current loop includes: In response to a difference between a magnetic field parameter of the current loop and a preset reference parameter being greater than a preset value, determining that a connection state between a second connector of the functional module and a first connector corresponding to the circuit board is an abnormal connection; In response to the difference between the magnetic field parameter of the current loop and the preset reference parameter being less than or equal to a preset value, it is determined that the connection state between the second connector of the functional module and the first connector of the circuit board is normal.

17. The detection method according to claim 16, characterized in that: There is at least one functional module. When there are multiple functional modules, a connector identifier is associated with at least one of the first connector and the corresponding second connector; The detection method further includes: determining the first connector and the second connector that are abnormally connected according to the magnetic field parameters and the connector identifiers corresponding to the magnetic field parameters.

18. The detection method according to claim 14 or 17, characterized in that: There is at least one functional module. When there are multiple functional modules, different functional modules are electrically connected to different first connectors on the circuit board using different second connectors; When there is only one functional module, the functional module is connected to the circuit board through a plurality of second connectors and corresponding first connectors; The detection method further comprises: In response to an abnormal connection state of a second connector of at least one functional module, a reminder message is issued, wherein the reminder message includes at least one of the following: an identifier of the functional module with the abnormal connection, a first connector identifier, and a second connector identifier.

19. The detection method according to claim 17, characterized in that: In response to the connection state of the second connector of at least one functional module being abnormal, sending connection abnormality reminder information includes: In response to an abnormality in the connection state of the second connector of at least one functional module, recording the number of times the difference between the magnetic field parameter and the reference parameter is greater than a preset value; When the number is greater than a reference number, the reminder message is issued.

20. A detection device, characterized in that: Applied to an electronic component, the electronic component includes a circuit board, a functional module and a magnetic field measuring element; the circuit board is provided with a grounding point and a first connector; the functional module is connected to the first connector through a second connector to be connected to the circuit board; When the functional module is in a working state, a current loop is formed between the first connector, the second connector, the functional module and the grounding point, and the detection device includes: An acquisition module, used for acquiring magnetic field parameters of the current loop; The state determination module is used to determine the connection state of the second connector of the functional module and the first connector of the circuit board according to the magnetic field parameters of the current loop.

21. An electronic device, characterized in that: include: A memory for storing instructions; as well as A processor, configured to call the instructions stored in the memory to execute the detection method according to any one of claims 14 to 19.

22. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions are executed by the processor, the detection method according to any one of claims 14 to 19 is executed.