Current sensor and vehicle
By using a closed mounting slot and potting compound to fix the magnetic sensor and circuit board in the Hall current sensor, the problem of poor circuit board installation stability was solved, achieving efficient and stable assembly and enhanced structural strength.
Patent Information
- Application Number
- CN202422919743.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2034-11-28
AI Technical Summary
The existing Hall current sensor suffers from poor circuit board installation stability during assembly, resulting in low installation efficiency.
Design a current sensor that uses a closed mounting slot and potting compound to fix the magnetic sensor and circuit board. The magnetic sensor and circuit board are fixed in the housing through the slot of the closed mounting slot and encapsulated with potting compound.
It improves assembly efficiency and post-assembly stability, enhances structural strength, and ensures stable connection of the current sensor.
Smart Images

Figure CN223679257U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of sensors, in particular to a current sensor and a vehicle. BACKGROUND
[0002] With the continuous development of power supply technology, current sensors are increasingly widely used in power supply design. As a new type of current sensor, Hall current sensors are often used to measure direct current in circuits. The main principle of Hall current sensors is to use the Hall effect to convert current into a voltage signal for measurement. Hall effect refers to the fact that when charge carriers move in an electromagnetic field, they will be affected by a transverse electric field, causing them to deviate in the transverse direction, thereby generating a certain voltage.
[0003] The Hall current sensor product in the related art includes a shell, a magnetic core, a Hall element, and a circuit board. The magnetic core is arranged inside the shell, and the magnetic core is provided with an air gap. The Hall element is arranged at the air gap, and the Hall element is electrically connected with the circuit board. The middle part of the shell is provided with a through hole, and a current-carrying conductor can pass through the through hole, thereby measuring the current of the current-carrying conductor.
[0004] In order to install the circuit board on the shell, a groove is formed on the side of the shell, and the circuit board is arranged inside the groove. The Hall current sensor is also provided with a cover plate, which is clamped and installed on the shell to seal the groove. In the related art, the circuit board is first installed inside the groove, and then the cover plate is clamped and installed on the shell to seal the slot of the groove. However, before the cover plate is installed on the shell, the installation stability of the circuit board inside the groove of the shell is poor, which leads to easy falling and low installation efficiency. Utility model content
[0005] Therefore, it is necessary to overcome the defects of the prior art and provide a current sensor and a vehicle, which can improve the installation efficiency.
[0006] A current sensor, comprising:
[0007] a shell, an inside of the shell being provided with a chamber, an installation slot recessed towards an inside of the shell being formed on an axial end face of the shell, a slot opening of the installation slot being located on the axial end face of the shell, and a four-around slot wall of the installation slot being closed;
[0008] a magnetic core, the magnetic core being arranged inside the chamber, the magnetic core being provided with an air gap, and at least part of a slot wall of the installation slot extending into the air gap;
[0009] a magnetic sensor, the magnetic sensor being arranged inside the installation slot and at the air gap;
[0010] A first circuit board is arranged inside the mounting groove and electrically connected with the magnetic sensor;
[0011] A pin is connected with the first circuit board and electrically connected with the circuit on the first circuit board, and the pin extends outside the mounting groove; and
[0012] A potting glue is arranged inside the mounting groove, and the magnetic sensor, the first circuit board and the pin are fixed inside the mounting groove by the potting glue.
[0013] In one of the embodiments, the mounting groove comprises a first recess and a second recess; a side wall of the first recess is arranged inside the air gap, and the magnetic sensor is arranged inside the first recess; the second recess is in communication with the first recess, and the second recess is located on a side of the first recess away from the central axis of the shell, and the first circuit board is arranged inside the second recess.
[0014] In one of the embodiments, the magnetic sensor is provided with a first signal pin, the first circuit board is provided with a first through hole corresponding to the first signal pin, the first signal pin is arranged in the first through hole, and the first signal pin is electrically connected with the circuit on the first circuit board;
[0015] The pin is provided with a second signal pin, the first circuit board is provided with a second through hole corresponding to the second signal pin, the second signal pin is arranged in the second through hole, and the second signal pin is electrically connected with the circuit on the first circuit board.
[0016] In one of the embodiments, the opposite ends of the first circuit board respectively abut against the opposite two side walls of the second recess along a first direction x; and / or,
[0017] The end of the first signal pin passes through the outside of the first through hole and abuts against one of the side walls of the second recess along a second direction y, and the side of the first circuit board facing the magnetic sensor abuts against the other side wall of the second recess along the second direction y.
[0018] In one of the embodiments, a third recess is formed on the side wall of the second recess close to the first recess, and the second signal pin is arranged in the third recess.
[0019] In one of the embodiments, the mouth wall of the slot protrudes from the axial end surface in a direction parallel to the central axis of the shell.
[0020] In one embodiment, the current sensor further includes a fixing rod; the fixing rod is mounted on the outer peripheral sidewall of the housing, and the fixing rod is also used to connect to a second circuit board of the vehicle.
[0021] In one embodiment, the outer peripheral sidewall of the housing is provided with a fixing hole corresponding to the fixing rod. The fixing rod includes a rod portion and a connecting portion connected to the rod portion. The outer diameter of the connecting portion is larger than the outer diameter of the rod portion. The connecting portion is installed in the fixing hole and is interference-fitted with the fixing hole.
[0022] In one embodiment, the housing and the magnetic core are integrally injection molded; the mounting groove is formed on the housing by integral injection molding.
[0023] A vehicle includes the aforementioned current sensor, and the vehicle has a second circuit board, with the pin electrically connected to the second circuit board.
[0024] In the aforementioned current sensor and vehicle assembly process, after the magnetic sensor and the first circuit board are inserted into the mounting slot through the slot opening, the slot opening is located on the axial end face of the housing, and the surrounding walls of the mounting slot are closed, effectively preventing the magnetic sensor and the first circuit board from detaching from the mounting slot. Then, potting compound is poured into the mounting slot through the slot opening, fixing the magnetic sensor, the first circuit board, and the pins inside the mounting slot with the potting compound. Therefore, the current sensor exhibits high assembly efficiency, high stability after assembly, and high structural strength. Attached Figure Description
[0025] Figure 1 This is a structural diagram of a current sensor according to an embodiment of this application.
[0026] Figure 2 for Figure 1 The diagram shows the structure after removing the potting compound.
[0027] Figure 3 for Figure 2 The diagram shows an enlarged view of the structure at point A.
[0028] Figure 4 for Figure 3 Another structural diagram of the structure shown.
[0029] Figure 5 for Figure 2 The diagram shown is a structural diagram with the first circuit board and magnetic sensor removed.
[0030] Figure 6 for Figure 5 The diagram shows an enlarged view of the structure at point B.
[0031] Figure 7 For Figure 2 A perspective view of the first circuit board and the magnetic sensor in the structure shown.
[0032] Figure 8 For Figure 7 Another perspective view of the structure shown.
[0033] 10, housing; 11, axial end face; 12, mounting groove; 121, first recess; 122, second recess; 123, third recess; 13, through hole; 14, fixing hole; 15, support strip; 20, magnetic sensor; 21, first signal pin; 30, first circuit board; 40, pin; 41, second signal pin; 50, potting glue; 60, fixing rod. DETAILED DESCRIPTION
[0034] In order to make the above objects, features and advantages of the present application more apparent and comprehensible, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. In the following description, a large number of specific details are set forth in order to fully understand the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the spirit of the present application, so the present application is not limited to the specific embodiments disclosed below.
[0035] Referring to Figures 1 to 4 , Figure 1 A structural diagram of a current sensor according to an embodiment of the present application is shown, Figure 2 A structural diagram of the structure shown in FIG. 1 is shown, Figure 1 A structural diagram of the structure shown in FIG. 1 after removing the potting glue 50 is shown, Figure 3 A structural diagram of the structure shown in FIG. 1 is shown, Figure 2 An enlarged structural diagram of the structure shown in FIG. 1 at A is shown, Figure 4 An enlarged structural diagram of the structure shown in FIG. 1 at B is shown, Figure 3 Another perspective view of the structure shown in FIG. 1 is shown. A current sensor according to an embodiment of the present application includes a housing 10, a magnetic core, a magnetic sensor 20, a first circuit board 30, a pin 40, and potting glue 50.
[0036] Referring to Figure 2 and Figure 3 The housing 10 has a cavity inside, and the housing 10 has an axial end face 11 on which a mounting groove 12 is formed in a recessed manner towards the inside of the housing 10. The slot opening of the mounting groove 12 is located on the axial end face 11 of the housing 10, and the four surrounding walls of the mounting groove 12 are in a closed manner.
[0037] The magnetic core is arranged inside the cavity, and the magnetic core has an air gap, and at least part of the walls of the mounting groove 12 extend into the air gap. The magnetic sensor 20 is arranged inside the mounting groove 12 and at the air gap.
[0038] The first circuit board 30 is arranged inside the mounting groove 12, and the first circuit board 30 is electrically connected with the magnetic sensor 20.
[0039] The pin 40 is connected with the first circuit board 30, and the pin 40 is also electrically connected with the circuit on the first circuit board 30, and the pin 40 extends to the outside of the mounting groove 12.
[0040] It should be noted that the number of the pin 40 includes but is not limited to 1, 2, 3, 5 or any other number, which is not limited herein.
[0041] The potting glue 50 is arranged inside the mounting groove 12, and the potting glue 50 can be filled in the gap between the magnetic sensor 20, the first circuit board 30, the pin 40 and the inner wall of the mounting groove 12. After the potting glue 50 is solidified and formed, the magnetic sensor 20, the first circuit board 30 and the pin 40 can be stably arranged inside the mounting groove 12.
[0042] The depth of the potting glue 50 can be lower than the slot of the mounting groove 12 or flush with the slot of the mounting groove 12, which is not limited herein, and the amount of the potting glue 50 filled into the mounting groove 12 can be flexibly adjusted according to actual needs.
[0043] It should be noted that the air gap refers to the opening formed on the magnetic core.
[0044] It should be noted that the magnetic sensor 20 has various types, including but not limited to a Hall effect sensor, a magnetic induction sensor, a magnetic force sensor, a magnetoresistive sensor, etc. The Hall effect sensor is also called a Hall element, and the magnetic sensor 20 in the embodiment is specifically taken as an example of the Hall effect sensor, but is not limited thereto.
[0045] In some embodiments, the middle part of the shell 10 is formed with a through hole 13. The through hole 13 extends from one end to the other end in the axial direction of the shell 10. The conductor to be measured is arranged in the through hole 13. When the conductor to be measured is electrified, the current can be sensed by the magnetic sensor 20, and the magnetic sensor 20 outputs the detection signal to the outside through the pin 40 of the first circuit board 30.
[0046] In the assembling process, the magnetic sensor 20 and the first circuit board 30 are installed into the installation slot 12 through the slot opening of the installation slot 12. Since the slot opening is located on the axial end surface 11 of the shell 10, and the four slot walls of the installation slot 12 are closed, the magnetic sensor 20 and the first circuit board 30 can be effectively prevented from being separated from the inside of the installation slot 12. Then, the potting glue 50 is poured into the inside of the installation slot 12 through the slot opening, so that the magnetic sensor 20, the first circuit board 30 and the pin 40 are fixed in the inside of the installation slot 12 through the potting glue 50. Therefore, the assembling efficiency of the current sensor is high, the stability after assembling is high, and the structural strength is large.
[0047] Please refer to Figures 3 to 6 In one embodiment, the installation slot 12 includes a first recess 121 and a second recess 122. The side wall of the first recess 121 is arranged in the air gap. Specifically, the side wall of the first recess 121 abuts against the inner wall of the air gap of the magnetic core. In addition, the magnetic sensor 20 is arranged in the inside of the first recess 121. The second recess 122 is in communication with the first recess 121, and the second recess 122 is located on the side of the first recess 121 away from the central axis of the shell 10. The first circuit board 30 is arranged in the inside of the second recess 122. In this way, on the one hand, after the magnetic sensor 20 is arranged in the inside of the first recess 121, it is arranged at the air gap; on the other hand, the second recess 122 is located on the side of the first recess 121 away from the central axis of the shell 10, compared with being located on the side of the first recess 121 close to the central axis of the shell 10, there is more space to arrange the first circuit board 30, so that the overall size of the current sensor can be reduced.
[0048] Wherein, the central axis of the shell 10 is as shown by the dashed line Z in Figure 1 , that is, the line connecting the center points of the two axial end surfaces 11 of the shell 10.
[0049] In some embodiments, the side wall of the second recess 122 protrudes from the outer peripheral side wall of the shell 10 in the direction away from the central axis Z. In this way, the first circuit board 30 is arranged on the outside of the magnetic core; in addition, the shell 10 can reduce the size, for example, tightly wrapped outside the magnetic core, so that the overall material cost is reduced.
[0050] Optionally, the shell 10 in the embodiment is arranged outside the magnetic core in the form of one-piece injection molding. Specifically, in the production process, for example, the magnetic core is placed in the cavity, and the shell 10 wrapping the magnetic core is formed by injection into the cavity. In this way, the structural strength is better, the assembly process is simplified, and the production efficiency is improved.
[0051] In addition, the shell 10 is formed with the installation slot 12 at the same time of one-piece injection molding. In this way, the shell 10 can be mass-produced, and the production efficiency is high.
[0052] Referring to Figure 7 with Figure 8 In one embodiment, the magnetic sensor 20 is provided with a first signal pin 21. The first circuit board 30 is provided with a first through hole corresponding to the first signal pin 21, the first signal pin 21 is arranged in the first through hole, and the first signal pin 21 is electrically connected with the circuit on the first circuit board 30. Specifically, the first signal pin 21 and the circuit on the first circuit board 30 are fixed by soldering.
[0053] It should be noted that the number of first signal pins 21 includes but is not limited to one or more, for example, two, three, four or more, which is not limited here and can be flexibly adjusted and set according to actual needs.
[0054] In addition, the pin 40 is provided with a second signal pin 41. The first circuit board 30 is provided with a second through hole corresponding to the second signal pin 41, the second signal pin 41 is arranged in the second through hole, and the second signal pin 41 is electrically connected with the circuit on the first circuit board 30. Specifically, the second signal pin 41 and the circuit on the first circuit board 30 are fixed by soldering.
[0055] It should be noted that the number of second signal pins 41 depends on the number of pins 40. The pin 40 includes but is not limited to one or more, for example, two, three, four or more, which is not limited here and can be flexibly adjusted and set according to actual needs.
[0056] Referring to Figure 4 , Figure 7 and Figure 8 In one embodiment, the opposite ends of the first circuit board 30 respectively abut the opposite two side walls of the second recess 122 along the first direction x. In addition, the end of the first signal pin 21 passes through the outside of the first through hole and abuts one of the side walls of the second recess 122 along the second direction y, and the side of the first circuit board 30 facing the magnetic sensor 20 abuts the other side wall of the second recess 122 along the second direction y. In this way, during assembly, after the first circuit board 30 and the magnetic sensor 20 are assembled into the mounting groove 12, the first circuit board 30 is positioned in the first direction x and / or the second direction y, that is, the first circuit board 30 is prevented from moving in the first direction x and / or the second direction y, thereby avoiding displacement of the first circuit board 30 and the magnetic sensor 20 during the glue pouring process, so that the product quality is improved.
[0057] Referring to Figure 3 , Figure 6 and Figure 7In one embodiment, the second recess 122 is formed with a third recess 123 on the side wall close to the first recess 121, and the second signal pin 41 is arranged in the third recess 123. In this way, the side wall of the second recess 122 in the second direction y can abut against the side of the first circuit board 30 facing the magnetic sensor 20, and the first circuit board 30 is stably inserted into the second recess 122.
[0058] Referring to Figure 1 and Figure 6 In one embodiment, the mouth wall of the slot protrudes from the axial end surface 11 in a direction parallel to the central axis of the housing 10. In this way, the amount of potting glue 50 that can be poured into the mounting groove 12 is larger, thereby facilitating the stable packaging and fixing of the first circuit board 30 and the magnetic sensor 20 inside the mounting groove 12.
[0059] The firmness of the current sensor mounted on the vehicle needs to meet certain requirements. The higher the firmness of the current sensor mounted on the vehicle, the more stable the performance of the current sensor will be.
[0060] Referring to Figure 1 In one embodiment, the current sensor further comprises a fixing rod 60. The fixing rod 60 is arranged on the outer peripheral side wall of the housing 10, and the fixing rod 60 is also used to connect with the second circuit board of the vehicle. In this way, the current sensor is connected with the second circuit board through the fixing rod 60, which can improve the stability of the connection between the current sensor and the second circuit board.
[0061] In some embodiments, the fixing rod 60 is not limited to one, but can be multiple, specifically 2, 3, 6 or any other number. When the fixing rod 60 is arranged in multiple, the multiple fixing rods 60 are arranged in sequence and spaced around the outer peripheral side wall of the housing 10. The housing 10 is connected with the second circuit board through the multiple fixing rods 60, and the mounting stability is higher.
[0062] Referring to Figure 1 In one embodiment, the outer peripheral side wall of the housing 10 is provided with a fixing hole 14 corresponding to the fixing rod 60. The fixing rod 60 comprises a rod portion and a connecting portion connected with the rod portion, the outer diameter of the connecting portion is larger than that of the rod portion, and the connecting portion is arranged in the fixing hole 14 and is in interference fit with the fixing hole 14. In this way, the fixing rod 60 is stably arranged on the housing 10 through the interference fit between the connecting portion and the fixing hole 14, thereby realizing the stable connection of the housing 10, the fixing rod 60 and the second circuit board. In addition, since the outer diameter of the connecting portion is larger than that of the rod portion, the rod portion of the fixing rod 60 is passed through the fixing hole 14 to fix the connecting portion on the outer peripheral side wall of the housing 10 during the assembly of the fixing rod 60 to the outer peripheral side wall of the housing 10.
[0063] In one embodiment, the shell 10 is integrally injection molded with the magnetic core. In addition, the mounting groove 12 is formed on the shell 10 by integrally injection molding.
[0064] Referring to Figures 1 to 4 Another embodiment of the present application provides a vehicle, which is specifically, for example, an electric motorcycle, a car or other types of vehicles, without limitation. Due to the complex driving conditions of the vehicle, although the vehicle is usually equipped with a shock absorption system, it is still inevitable to produce jolts, and therefore the stability of the mounting structure of the current sensor mounted on the vehicle is required to be higher. The vehicle includes the current sensor of any of the above embodiments, and the vehicle is provided with a second circuit board, and the pin 40 is electrically connected with the second circuit board.
[0065] In the above vehicle, during the assembly process, after the magnetic sensor 20 and the first circuit board 30 are loaded into the inside of the mounting groove 12 through the slot of the mounting groove 12, since the slot is located on the axial end surface 11 of the shell 10, and the four surrounding groove walls of the mounting groove 12 are closed, the magnetic sensor 20 and the first circuit board 30 can be effectively prevented from being separated from the inside of the mounting groove 12. Then, the potting glue 50 is poured into the inside of the mounting groove 12 through the slot, so that the magnetic sensor 20, the first circuit board 30 and the pin 40 are fixed in the inside of the mounting groove 12 by the potting glue 50. As can be seen, the assembly efficiency of the current sensor is higher, the stability after assembly is higher, and the structural strength is larger.
[0066] In some embodiments, the second circuit board is provided with a first mounting hole and a second mounting hole. The connecting part of the fixing rod 60 is inserted into the fixing hole 14 and is in interference fit with the fixing hole 14, and the rod part of the fixing rod 60 is simultaneously inserted into the first mounting hole. Specifically, the rod part and the second circuit board provided with the first mounting hole are fixed by, for example, soldering, but the rod part is not electrically connected with the circuit on the second circuit board. In this embodiment, the fixing rod 60 is, for example, three and is equally spaced on the outer peripheral side wall of the shell 10, and the three fixing rods 60 increase the connection reliability between the current sensor and the second circuit board provided with the mounting hole.
[0067] In addition, the pin 40 is inserted into the second mounting hole. The pin 40 and the second circuit board provided with the second mounting hole are fixed by, for example, soldering, and the pin 40 is electrically connected with the circuit on the second circuit board.
[0068] Referring to Figure 1 In some embodiments, the axial end surface 11 is formed with a support strip 15. The support strip 15 is not limited to one, for example, a plurality of support strips 15 are provided. Alternatively, a plurality of support strips 15 are equally spaced on the axial end surface 11. In addition, the plurality of support strips 15 are located on the same side of the shell 10 as the slot. The support strip 15 is, for example, in abutment with the second circuit board, so as to stably support the second circuit board.
[0069] It should be noted that the "supporting strip 15" in the embodiment can be "a part of the shell 10", that is, the "supporting strip 15" is integrally formed with "other parts of the shell 10"; or it can be a separate component that can be separated from "other parts of the shell 10", that is, the "supporting strip 15" can be independently manufactured and then combined with "other parts of the shell 10" to form an integral whole.
[0070] In the description of the present application, it should be understood that if these terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like appear, these terms indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and therefore cannot be understood as indicating or implying that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.
[0071] In addition, if these terms "first", "second" appear, these terms are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, if the term "multiple" appears, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise explicitly specified and limited.
[0072] In the present application, unless otherwise explicitly specified and limited, if the terms "mounting", "connection", "connection", "fixing" and the like appear, these terms should be understood in a broad sense. For example, it can be fixedly connected, or it can be detachably connected, or it can be integrated; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the internal communication of two elements or the interaction relationship between two elements, unless otherwise explicitly limited. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0073] In the present application, unless specifically defined otherwise, if there is an expression "on" or "under" or similar, it can mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature "on", "above" and "over" the second feature can be that the first feature is directly above or obliquely above the second feature, or only indicates that the horizontal height of the first feature is higher than that of the second feature. The first feature "under", "below" and "under" the second feature can be that the first feature is directly below or obliquely below the second feature, or only indicates that the horizontal height of the first feature is less than that of the second feature.
[0074] It should be noted that if an element is referred to as being "fixed" or "attached" to another element, it can be directly on the other element or there can be an intervening element. If an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or intervening elements can be present. If present, the terms "vertical", "horizontal", "up", "down", "left", "right" and similar expressions as used herein are for purposes of explanation only and are not intended to be limiting.
[0075] The technical features of the above-described embodiments can be combined in any manner, and in order to make the description concise, not all possible combinations of the technical features in the above-described embodiments are described, however, as long as the combinations of the technical features do not contradict each other, they should be considered to be within the scope of the present application.
[0076] The above-described embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the application. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A current sensor, characterized by The current sensor comprises: a shell, an inner part of the shell being provided with a chamber, one of axial end faces of the shell being formed with a mounting groove recessed towards the inner part of the shell, an opening of the mounting groove being located on the axial end face of the shell, and four peripheral groove walls of the mounting groove being closed; a magnetic core, the magnetic core being arranged in the inner part of the chamber, the magnetic core being provided with an air gap, and at least part of the groove walls of the mounting groove extending into the air gap; a magnetic sensor, the magnetic sensor being arranged in the inner part of the mounting groove and disposed at the air gap; a first circuit board, the first circuit board being arranged in the inner part of the mounting groove and electrically connected with the magnetic sensor; a pin, the pin being connected with the first circuit board, the pin also being electrically connected with a circuit on the first circuit board, and the pin extending out of the outer part of the mounting groove; and potting glue, the potting glue being arranged in the inner part of the mounting groove, and the magnetic sensor, the first circuit board and the pin being fixed in the inner part of the mounting groove by the potting glue.
2. The current sensor of claim 1, wherein, The mounting groove comprises a first recess and a second recess, a side wall of the first recess is arranged in the air gap, the magnetic sensor is arranged in the inner part of the first recess, the second recess is communicated with the first recess, the second recess is located on a side of the first recess away from a central axis of the shell, and the first circuit board is arranged in the inner part of the second recess.
3. The current sensor of claim 2, wherein, The magnetic sensor is provided with a first signal pin, the first circuit board is provided with a first through hole corresponding to the first signal pin, the first signal pin is arranged in the first through hole, and the first signal pin is electrically connected with the circuit on the first circuit board; the pin is provided with a second signal pin, the first circuit board is provided with a second through hole corresponding to the second signal pin, the second signal pin is arranged in the second through hole, and the second signal pin is electrically connected with the circuit on the first circuit board.
4. The current sensor of claim 3, wherein, opposite two ends of the first circuit board are respectively abutted with opposite two side walls of the second recess along a first direction x; and / or an end part of the first signal pin is abutted with one of side walls of the second recess along a second direction y by passing through an outer part of the first through hole, and one side of the first circuit board facing the magnetic sensor is abutted with another side wall of the second recess along the second direction y.
5. The current sensor of claim 3, wherein, a third recess is formed on a side wall of the first recess close to the second recess, and the second signal pin is arranged in the third recess.
6. The current sensor of claim 1, wherein, an opening wall of the opening protrudes from the axial end face along a direction parallel to the central axis of the shell.
7. The current sensor of claim 1, wherein, The current sensor further comprises a fixing rod, the fixing rod is arranged on a peripheral side wall of the shell, and the fixing rod is also used for connecting with a second circuit board of a vehicle.
8. The current sensor of claim 7, wherein, The peripheral side wall of the shell is provided with a fixing hole corresponding to the fixing rod, the fixing rod comprises a rod part and a connecting part connected with the rod part, an outer diameter of the connecting part is greater than an outer diameter of the rod part, the connecting part is arranged in the fixing hole and is in interference fit with the fixing hole.
9. The current sensor of claim 1, wherein, The shell is integrally injection molded with the magnetic core; the mounting groove is formed on the shell by integrally injection molding.
10. A vehicle characterized by comprising: The vehicle comprises the current sensor according to any one of claims 1 to 9, and a second circuit board is arranged on the vehicle, and the pin is electrically connected with the second circuit board.