Miniature groove type photoelectric switch
By adopting a combination design of a three-dimensional circuit board and a U-shaped shell, the problems of poor detection stability, difficult assembly and high cost of micro-slot photoelectric switches are solved, and efficient and low-cost assembly and stable detection performance are achieved.
Patent Information
- Application Number
- CN202411580886.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-25
AI Technical Summary
The existing micro-groove-type photoelectric switches have problems such as poor detection stability, difficult assembly and high cost.
Using a combination of a three-dimensional circuit board and a U-shaped shell, the three-dimensional circuit board includes a rectangular circuit board and a vertically mounted U-shaped circuit board. The sides of the three-dimensional circuit board are positioned in conjunction with the inner wall of the cavity of the U-shaped shell to reduce parts and improve positioning. Accuracy.
A micro-groove-type photoelectric switch with good detection stability is realized, reducing assembly difficulty and cost, while improving assembly efficiency and product competitiveness.
Smart Images

Figure CN119519685A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of photoelectric sensors, and in particular to a miniature slot-type photoelectric switch. Background Art
[0002] The slot photoelectric switch is also called the U-type photoelectric switch. It is a type of through-beam photoelectric switch. The slot photoelectric switch on the market currently includes components such as a housing, a circuit board, a light emitter and a receiver. The light emitter and the receiver are relatively installed on both sides of the slot to form a detection beam in the slot. When the object to be inspected passes through the slot and blocks the detection beam, the photoelectric switch will generate a corresponding electrical signal. The slot photoelectric switch has no special requirements for the material of the object. It can be triggered as long as the detection beam is blocked. Therefore, it has the characteristics of strong versatility, safety and reliability.
[0003] The circuit board of the slot-type photoelectric switch is usually set at the bottom of the shell, and the optical transmitter and receiver are usually connected to the circuit board at the bottom by wires or brackets. The positioning accuracy of this installation method is insufficient, which easily leads to poor detection stability of the photoelectric switch. In addition, the internal space of the miniature slot-type photoelectric switch shell is small. In order to reduce the volume, chips or flexible PCB boards are generally used instead of circuit boards. This type of miniature slot-type photoelectric switch is difficult to assemble and has a high cost. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the above-mentioned defects in the prior art and provide a miniature slot-type photoelectric switch with good detection stability, simple assembly and low cost.
[0005] To achieve the above object, the present invention adopts the following technical solutions: A miniature slot-type photoelectric switch comprises a U-shaped housing and a three-dimensional circuit board.
[0006] A cavity for installing a three-dimensional circuit board is arranged in the U-shaped housing.
[0007] The three-dimensional circuit board comprises a rectangular circuit board and a U-shaped circuit board vertically mounted on the rectangular circuit board; two arms of the U-shaped circuit board are on a side away from the rectangular circuit board and are respectively mounted with a transmitting tube and a receiving tube.
[0008] The side surface of the three-dimensional circuit board is matched and positioned with the inner wall of the cavity of the U-shaped shell.
[0009] Furthermore, there are three groups of side surfaces for positioning on the three-dimensional circuit board, which are respectively arranged on the rectangular circuit board and the U-shaped circuit board, and the three groups of side surfaces for positioning are perpendicular to each other.
[0010] Furthermore, the three groups of side surfaces for positioning include a first positioning surface and a second positioning surface arranged on the U-shaped circuit board, and a third positioning surface arranged on the rectangular circuit board; the third positioning surface is parallel to the component surface of the U-shaped circuit board.
[0011] Furthermore, the first positioning surfaces are two opposite side surfaces on the two arms of the U-shaped circuit board; and the second positioning surface is a side surface on the U-shaped circuit board connected to the two first positioning surfaces.
[0012] Furthermore, the cavity includes a first cavity arranged at the bottom of the U-shaped shell, and a second cavity for accommodating two arms of the U-shaped circuit board; a first cut-off positioning surface and a second cut-off positioning surface respectively cooperating with the second positioning surface and the third positioning surface are arranged in the first cavity; and two snap-fit positioning surfaces respectively cooperating with the two first positioning surfaces are arranged in the second cavity.
[0013] Furthermore, the transmitting tube and the receiving tube are both welded on the component surface of the U-shaped circuit board, and the transmitting tube and the receiving tube are arranged in a straight line so that the central light path of the transmitting tube can irradiate the photosensitive area of the receiving tube; the central light path is perpendicular to the first positioning surface.
[0014] Furthermore, both the U-shaped circuit board and the rectangular circuit board have a preset thickness, the U-shaped circuit board is welded on the rectangular circuit board, and the length of the third positioning surface is greater than or equal to the width of the U-shaped circuit board.
[0015] Furthermore, a light-transmitting hole is provided between the two arms of the U-shaped housing, and the light-transmitting hole is used to accommodate the central light path of the transmitting tube to pass through.
[0016] It also includes a light-transmitting component, which includes a base plate on which a pair of extension arms are arranged, and the cross-section of the extension arms is stepped; the extension arms are fixedly installed in the second cavity to close the light-transmitting hole; there is a preset distance between the extension arms and the two arms of the U-shaped circuit board.
[0017] Furthermore, it also includes a bottom shell, which is installed on the bottom of the U-shaped shell by buckles, and the bottom shell is also provided with a groove for accommodating the cable.
[0018] Furthermore, it also includes a flexible gasket, which is made of a compressible material and is installed between the rectangular circuit board and the bottom shell to fill the gap.
[0019] The technical solution of the present invention has the following beneficial effects: (1) The present application uses a three-dimensional circuit board to fully utilize the space in the cavity of the micro slot-type photoelectric switch, so that a larger circuit board can be placed in the cavity of the micro slot-type photoelectric switch, thereby reducing the manufacturing cost.
[0020] (2) The present application directly positions the three-dimensional circuit board by cooperating the side of the three-dimensional circuit board with the inner wall of the cavity of the U-shaped shell, without the need for other parts for auxiliary positioning. The positioning accuracy of the three-dimensional circuit board in the U-shaped shell can be improved, and the reduction of parts can also reduce the difficulty of assembly, improve assembly efficiency, and reduce assembly costs.
[0021] (3) The manufacturing precision of the circuit board is high, so the transmitting tube and the receiving tube on the three-dimensional circuit board have high installation precision, and the relative position of the rectangular circuit board and the U-shaped circuit board also has high installation precision, which can further improve the assembly precision of the miniature slot-type photoelectric switch of the present application, thereby ensuring its triggering stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Schematic diagram of the assembly of a micro slot-type photoelectric switch in an embodiment of the present invention; Figure 2 is a schematic structural diagram of a three-dimensional circuit board in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a U-shaped housing in an embodiment of the present invention; Figure 4 Schematic diagram of the structure of a micro slot-type photoelectric switch in an embodiment of the present invention; Figure 5 A longitudinal sectional view of a micro slot-type photoelectric switch in an embodiment of the present invention; Figure 6 Schematic diagram of the structure of the light-transmitting element in an embodiment of the present invention; Figure 7 A cross-sectional schematic diagram of a micro slot-type photoelectric switch in an embodiment of the present invention; Figure 8 Schematic diagram of the explosion of a miniature slot-type photoelectric switch in an embodiment of the present invention.
[0023] Among them, 1: U-shaped shell; 2: three-dimensional circuit board; 3: cavity; 4: rectangular circuit board; 5: U-shaped circuit board; 6: transmitting tube; 7: receiving tube; 8: light-transmitting member; 9: bottom shell; 11: light-transmitting hole; 12: icon; 13: cable; 31: first cavity; 32: second cavity; 311: first cut-off positioning surface; 312: second cut-off positioning surface; 321: snap-on positioning surface; 41: third positioning surface; 51: first positioning surface; 52: second positioning surface; 81: bottom plate; 82: extension arm; 91: flexible gasket. DETAILED DESCRIPTION
[0024] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.
[0027] In addition, in the present invention, the descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0028] In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0029] This embodiment provides a miniature slot-type photoelectric switch, such as Figure 1 FIG. 1 is a schematic diagram of assembling a micro slot-type photoelectric switch provided in this embodiment. The micro slot-type photoelectric switch provided in this embodiment includes a U-shaped housing 1 and a three-dimensional circuit board 2. The U-shaped housing 1 is provided with a cavity 3 for mounting the three-dimensional circuit board 2. The three-dimensional circuit board 2 is mounted inside the U-shaped housing 1. The three-dimensional circuit board 2 can be mounted according to Figure 1 It is installed in the cavity 3 of the U-shaped housing 1 in the direction of the arrow.
[0030] The U-shaped housing 1 has a base and two arms extending upwards. The base and the two arms are hollow inside and can accommodate other parts. The base has an opening at one end away from the two arms to facilitate assembly of parts. The three-dimensional circuit board 2 can be obtained by bending or welding a flat circuit board. The circuit board is designed in a three-dimensional form so that components can be arranged on multiple planes, thereby efficiently utilizing the space in the U-shaped housing 1, so that the miniature slot-type photoelectric switch can maintain a small size and reduce costs.
[0031] like Figure 2The three-dimensional circuit board 2 includes a rectangular circuit board 4 and a U-shaped circuit board 5 vertically mounted on the rectangular circuit board 4; the two arms of the U-shaped circuit board 5 are on the side away from the rectangular circuit board 4, and are respectively equipped with a transmitting tube 6 and a receiving tube 7.
[0032] Among them, the component surface of the rectangular circuit board 4 is perpendicular to the component surface of the U-shaped circuit board 5, which can effectively utilize the cavity 3 of the base and two arms of the U-shaped shell 1, so that enough components and circuits can be arranged in a smaller space. The component surface of the rectangular circuit board 4 is the side for mounting electronic components. The circuit board in this embodiment has a certain thickness and hardness, and can be any circuit board that can be welded or assembled in other ways, so that the transmitting tube 6 and the receiving tube 7 can be installed on the two arms of the U-shaped circuit board 5 and can also maintain the stability of the relative position and high installation accuracy. The U-shaped shell 1 is provided with a light-transmitting hole at the corresponding position, so that the detection light beam emitted by the transmitting tube 6 can be received by the receiving tube 7.
[0033] The side surface of the three-dimensional circuit board 2 is matched and positioned with the inner wall of the cavity 3 of the U-shaped housing 1 .
[0034] Among them, the three-dimensional circuit board 2 in this embodiment includes two mutually perpendicular planar circuit boards, so three mutually perpendicular sides can be selected from the sides of the two planar circuit boards for positioning, so that the three-dimensional circuit board 2 can be completely positioned. In this embodiment, the sides used for positioning can be greater than or equal to three. Circuit boards are generally processed by automated equipment, and each component has a high position accuracy, and the position error can be guaranteed to be within 0.1mm. Therefore, this embodiment performs positioning through the side of the three-dimensional circuit board 2, which can not only improve the position accuracy between the transmitting tube 6 and the receiving tube 7, but also improve the installation accuracy of the three-dimensional circuit board 2 in the U-shaped housing 1. Compared with the prior art, which uses other parts to position the circuit board, this embodiment can not only reduce parts and improve the structural stability of the photoelectric switch, but also reduce the generation of positioning errors, and further improve the accuracy of the photoelectric switch.
[0035] Depend on Figure 2 It can be seen that in this embodiment, the three-dimensional circuit board 2 has multiple side surfaces. There are three groups of side surfaces for positioning on the three-dimensional circuit board 2, which are respectively arranged on the rectangular circuit board 4 and the U-shaped circuit board 5. The three groups of side surfaces for positioning are perpendicular to each other.
[0036] The rectangular circuit board 4 has four sides, and the U-shaped circuit board 5 has eight sides. In order to prevent repeated positioning and reduce the difficulty of processing, three groups of sides are selected as positioning surfaces. The three groups of sides used for positioning are perpendicular to each other, which can completely position the three-dimensional circuit board 2 and improve the accuracy of the photoelectric switch. Each group of sides can be a single side or two parallel sides.
[0037] like Figure 2 As shown, in this embodiment, the three groups of side surfaces for positioning include a first positioning surface 51 and a second positioning surface 52 arranged on the U-shaped circuit board 5, and a third positioning surface 41 arranged on the rectangular circuit board 4; the third positioning surface 41 is parallel to the component surface of the U-shaped circuit board 5.
[0038] The side surfaces on the rectangular circuit board 4 include a pair of side surfaces parallel to the component surface of the U-shaped circuit board 5 and a pair of side surfaces perpendicular to the component surface of the U-shaped circuit board 5, and the side surfaces on the U-shaped circuit board 5 are perpendicular to its component surface, thereby selecting the third positioning surface 41. The two arms of the U-shaped circuit board 5 extend upward, and the two sets of side surfaces on the U-shaped circuit board 5 are selected as positioning surfaces, which can improve the positioning accuracy of the two arms of the U-shaped circuit board 5, thereby improving the positioning accuracy of the transmitting tube 6 and the receiving tube 7 installed on the two arms of the U-shaped circuit board 5.
[0039] In this embodiment, the first positioning surfaces 51 are two opposite side surfaces on the two arms of the U-shaped circuit board 5 ; the second positioning surface 52 is a side surface on the U-shaped circuit board 5 connected to the two first positioning surfaces 51 .
[0040] The first positioning surface 51 is a pair of opposite side surfaces on the two arms of the U-shaped circuit board 5, which can play a role of clamping, improve the stability of the installation, and reduce the use of fasteners for fixing. And using the two opposite side surfaces on the two arms of the U-shaped circuit board 5 as positioning surfaces can directly ensure the positioning accuracy of the transmitting tube 6 and the receiving tube 7. The second positioning surface 52 and the first positioning surface 51 can form a U shape, and the positioning surfaces are connected to facilitate processing and further improve the positioning accuracy.
[0041] like Figure 3 As shown, it is a schematic diagram of the structure of the U-shaped shell. In this embodiment, the cavity 3 includes a first cavity 31 arranged at the bottom of the U-shaped shell 1, and a second cavity 32 for accommodating the two arms of the U-shaped circuit board 5; a first cut-off positioning surface 311 and a second cut-off positioning surface 312 respectively matched with the second positioning surface 52 and the third positioning surface 41 are arranged in the first cavity 31; two snap-fit positioning surfaces 321 respectively matched with the two first positioning surfaces 51 are arranged in the second cavity 32.
[0042] Among them, the first cavity 31 and the second cavity 32 of the U-shaped shell 1 are interconnected, the second cavity 32 accommodates the two arms of the U-shaped circuit board 5, and the bottom of the U-shaped circuit board 5 and the rectangular circuit board 4 are placed in the first cavity 31. The first cut-off positioning surface 311 and the second positioning surface 52 are positioned by abutment, and the third positioning surface 41 and the second cut-off positioning surface 312 are also positioned by abutment. The two first positioning surfaces 51 are in contact with the two snap-fit positioning surfaces 321 respectively, and the two snap-fit positioning surfaces 321 are clamped therein. The first cut-off positioning surface 311, the second cut-off positioning surface 312 and the two snap-fit positioning surfaces 321 in the U-shaped shell 1 can all be designed according to the structure of the three-dimensional circuit board 2. The U-shaped shell 1 is preferably manufactured by a mold, which can make each positioning surface have a high manufacturing accuracy.
[0043] like Figure 4 , which is a schematic diagram of the structure of the micro slot-type photoelectric switch in this embodiment, icons 12 marking the positions of the transmitting tube 6 and the receiving tube 7 are provided on the top and side of the two arms of the U-shaped housing 1. Figure 4 A cable 13 is also shown.
[0044] like Figure 5 As shown, it is a longitudinal section view of the miniature slot-type photoelectric switch in this embodiment. The top surface and side surface of the two arms of the U-shaped housing 1 are provided with icons 12 marking the positions of the transmitting tube 6 and the receiving tube 7. Figure 5 The cross-sectional plane in the figure is perpendicular to the top surface of the two arms of the U-shaped housing 1 and passes through the connecting line of the two icons 12 on the top surfaces of the two arms. The icons 12 on the top surfaces of the two arms are arrow-shaped. In this embodiment, the transmitting tube 6 and the receiving tube 7 are both welded on the component surface of the U-shaped circuit board 5. The transmitting tube 6 and the receiving tube 7 are arranged in a straight line so that the central light path of the transmitting tube 6 can irradiate the photosensitive area of the receiving tube 7; the central light path is perpendicular to the first positioning surface 51.
[0045] Among them, a light-transmitting hole 11 is provided between the two arms of the U-shaped housing 1. The light-transmitting hole 11 is preferably in a long strip shape, and the transmitting tube 6 and the receiving tube 7 can transmit optical signals through the light-transmitting hole 11. The transmitting tube 6 and the receiving tube 7 are welded on the component surface of the U-shaped circuit board 5 by a professional machine, and their position accuracy can be guaranteed within 0.1mm. The central optical path of the transmitting tube 6 is perpendicular to the first positioning surface 51. As long as the positioning accuracy of the first positioning surface 51 is guaranteed, the position accuracy between the transmitting tube 6 and the receiving tube 7 can be guaranteed, thereby improving the detection performance of the micro slot type photoelectric switch.
[0046] like Figure 6 , which is a schematic diagram of the structure of the light-transmitting member. In this embodiment, a light-transmitting hole 11 is provided between the two arms of the U-shaped housing 1. The light-transmitting hole 11 is used to accommodate the central light path of the transmitting tube 6 to pass through; It also includes a light-transmitting member 8, which includes a base plate 81, on which a pair of extension arms 82 are arranged, and the cross-section of the extension arms 82 is stepped; the extension arms 82 are fixedly installed in the second cavity 32, and are used to close the light-transmitting hole 11; there is a preset distance between the extension arms 82 and the two arms of the U-shaped circuit board 5.
[0047] like Figure 7 , which is a cross-sectional schematic diagram of the micro slot-type photoelectric switch in this embodiment. Figure 7 The cross-sectional plane in the figure is perpendicular to the side surfaces of the two arms of the U-shaped housing 1 and passes through a line connecting two icons 12 on the side surfaces of the two arms. The icons 12 on the side surfaces of the two arms are triangles.
[0048] There are two light-transmitting holes 11, which are respectively arranged on the opposite surfaces of the two arms of the U-shaped shell 1, and the light-transmitting holes 11 are preferably in the shape of long strips. There is a preset distance between the extension arm 82 and the two arms of the U-shaped circuit board 5 to prevent the two from contacting and affecting the positioning accuracy of the U-shaped circuit board 5. As shown in the figure, it is a structural schematic diagram of the light-transmitting member 8. The two extension arms 82 of the light-transmitting member 8 are symmetrical in structure, and each has three cylindrical surfaces as positioning surfaces. The second cavity 32 is also provided with a corresponding positioning surface. The above positioning surface can not only guide the installation of the light-transmitting member 8, but also press the light-transmitting member 8. When installing, the light-transmitting member 8 is pushed into the two arms of the U-shaped shell 1 until the bottom plate 81 of the light-transmitting member 8 coincides with the cut-off surface of the U-shaped shell 1, and the cut-off surface of the U-shaped shell 1 and the second cut-off positioning surface 312 are on the same plane. The cross section of the light-transmitting member 8 is stepped. During assembly, this structure can not only play a guiding role, but also ensure compression and foolproof. The U-shaped shell 1 only needs to have corresponding shapes to complete reliable assembly. The light-transmitting member 8 in this embodiment has a simple structure, good installation reliability and high efficiency. The light-transmitting member 8 can be made of a filter material, which can filter stray light, prevent natural stray light interference, and improve the accuracy and stability of the detection of this embodiment. Preferably, the wavelength band that the light-transmitting member 8 can pass through can be determined according to the transmitting tube 6, and further preferably, the light-transmitting member 8 only allows a certain range of infrared light to pass through.
[0049] In this embodiment, the U-shaped circuit board 5 and the rectangular circuit board 4 both have a preset thickness, the U-shaped circuit board 5 is welded on the rectangular circuit board 4 , and the length of the third positioning surface 41 is greater than or equal to the width of the U-shaped circuit board 5 .
[0050] Among them, the preset thickness can be 0.5-2mm, and the width of the side surface as the positioning surface is relatively large, which can improve the positioning accuracy. And the larger thickness can also improve the hardness of the circuit board, so that the angle between the U-shaped circuit board 5 and the rectangular circuit board 4 remains stable. In this embodiment, the U-shaped circuit board 5 and the rectangular circuit board 4 can be welded by a professional welding fixture to improve the installation accuracy between the U-shaped circuit board 5 and the rectangular circuit board 4. The length of the third positioning surface 41 is the length of the rectangular circuit board 4. The rectangular circuit board 4 has a longer length, which can make the contact area between the rectangular circuit board 4 and the U-shaped circuit board 5 larger, facilitate welding, and make the vertical structure of the three-dimensional circuit board 2 more stable.
[0051] like Figure 8 As shown, Figure 8 The schematic diagram of the explosion of the micro slot type photoelectric switch in this embodiment is shown in FIG. In this embodiment, a bottom shell 9 is also included, which is mounted on the bottom of the U-shaped housing 1 by snap-fitting, and a groove for accommodating the cable 13 is also provided on the bottom shell 9 .
[0052] The bottom of the U-shaped housing 1 is also provided with a groove corresponding to the bottom housing 9, which is used to organize the cables 13. The bottom housing 9 is buckled with the bottom of the U-shaped housing 1 through a buckle, and the cables 13 are compressed at the same time. The grooves provided on the U-shaped housing 1 and the bottom housing 9 can be designed according to the direction of the cables 13, and reinforcing ribs for compressing the cables 13 can also be provided inside the U-shaped housing 1 and the bottom housing 9 to improve the installation stability of the cables 13. This embodiment uses a buckle structure, which is simple and efficient to assemble and has high reliability.
[0053] In this embodiment, a flexible gasket 91 is further included. The flexible gasket 91 is made of a compressible material and is installed between the rectangular circuit board 4 and the bottom shell 9 to fill the gap.
[0054] The flexible gasket 91 may be made of any compression material, including but not limited to, and its shape may be determined according to the U-shaped housing 1 and the bottom housing 9. The number of flexible gaskets 91 may be increased or decreased as needed, and preferably one or both sides of the flexible gasket 91 may be provided with adhesive to improve the installation stability of the flexible gasket 91. The flexible gasket 91 may fill the gap between the rectangular circuit board 4 and the U-shaped housing 1 to ensure the stability of the overall installation, and the flexible gasket 91 has the functions of preventing vibration and impact.
[0055] In summary, the miniature slot-type photoelectric switch provided in this embodiment not only ensures triggering stability and reliability, but also has the characteristics of low product scrap rate and high product assembly efficiency, and has the ability to withstand impact and vibration, which greatly improves the competitiveness of the product.
[0056] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A miniature slot-type photoelectric switch, characterized in that: It comprises a U-shaped housing (1) and a three-dimensional circuit board (2); a cavity (3) for mounting the three-dimensional circuit board (2) is provided in the U-shaped housing (1); The three-dimensional circuit board (2) comprises a rectangular circuit board (4) and a U-shaped circuit board (5) vertically mounted on the rectangular circuit board (4); two arms of the U-shaped circuit board (5) are on a side away from the rectangular circuit board (4) and are respectively mounted with a transmitting tube (6) and a receiving tube (7); The side surface of the three-dimensional circuit board (2) is matched and positioned with the inner wall of the cavity (3) of the U-shaped housing (1).
2. The miniature slot-type photoelectric switch according to claim 1, characterized in that: There are three groups of side surfaces for positioning on the three-dimensional circuit board (2), which are respectively arranged on the rectangular circuit board (4) and the U-shaped circuit board (5), and the three groups of side surfaces for positioning are perpendicular to each other.
3. The miniature slot-type photoelectric switch according to claim 2, characterized in that: The three groups of side surfaces for positioning include a first positioning surface (51) and a second positioning surface (52) arranged on the U-shaped circuit board (5), and a third positioning surface (41) arranged on the rectangular circuit board (4); the third positioning surface (41) is parallel to the component surface of the U-shaped circuit board (5).
4. The miniature slot-type photoelectric switch according to claim 3, characterized in that: The first positioning surfaces (51) are two opposite side surfaces on two arms of the U-shaped circuit board (5); and the second positioning surfaces (52) are side surfaces on the U-shaped circuit board (5) connected to the two first positioning surfaces (51).
5. The miniature slot-type photoelectric switch according to claim 4, characterized in that: The cavity (3) comprises a first cavity (31) arranged at the bottom of the U-shaped housing (1), and a second cavity (32) for accommodating two arms of the U-shaped circuit board (5); a first stop positioning surface (311) and a second stop positioning surface (312) respectively cooperating with the second positioning surface (52) and the third positioning surface (41) are arranged in the first cavity (31); and two clamping positioning surfaces (321) respectively cooperating with the two first positioning surfaces (51) are arranged in the second cavity (32).
6. The miniature slot-type photoelectric switch according to claim 4, characterized in that: The transmitting tube (6) and the receiving tube (7) are both welded on the component surface of the U-shaped circuit board (5); the transmitting tube (6) and the receiving tube (7) are arranged on a straight line so that the central light path of the transmitting tube (6) can illuminate the photosensitive area of the receiving tube (7); the central light path is perpendicular to the first positioning surface (51).
7. The miniature slot-type photoelectric switch according to claim 3, characterized in that: The U-shaped circuit board (5) and the rectangular circuit board (4) both have a preset thickness; the U-shaped circuit board (5) is welded on the rectangular circuit board (4); and the length of the third positioning surface (41) is greater than or equal to the width of the U-shaped circuit board (5).
8. The miniature slot-type photoelectric switch according to claim 6, characterized in that: A light-transmitting hole (11) is provided between the two arms of the U-shaped housing (1), and the light-transmitting hole (11) is used to accommodate the central light path of the transmitting tube (6) passing through; It also comprises a light-transmitting member (8), the light-transmitting member (8) comprising a bottom plate (81), a pair of extension arms (82) being arranged on the bottom plate (81), the cross section of the extension arms (82) being stepped; the extension arms (82) being fixedly mounted in the second cavity (32) and used for closing the light-transmitting hole (11); and a preset distance between the extension arms (82) and the two arms of the U-shaped circuit board (5).
9. The miniature slot-type photoelectric switch according to claim 1, characterized in that: It also comprises a bottom shell (9), the bottom shell (9) being mounted on the bottom of the U-shaped shell (1) by means of a buckle, and the bottom shell (9) is also provided with a groove for accommodating a cable (13).
10. The miniature slot-type photoelectric switch according to claim 9, characterized in that: It also includes a flexible gasket (91), which is made of a compressible material and is installed between the rectangular circuit board (4) and the bottom shell (9) to fill the gap.