Opto-electric switch and detection device
Patent Information
- Application Number
- CN202522311169.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2035-10-31
AI Technical Summary
[0003]但是,直插式槽型光电开关仅能适配常规立式安装场景
[0012]本申请中提供的光电开关,光敏件的引脚和发光件的引脚均可以从安装面所在侧的第一镂空结构伸出,即光电开关可以呈卧式安装在其他结构件上,检测槽向侧面开口,这样设置,可以更灵活地适配特定安装需求,如满足伺服电机等需特殊安装方式场景的需求。
Smart Images

Figure CN224804930U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of photoelectric switch technology, specifically to a photoelectric switch and a detection device. Background Technology
[0002] Among traditional photoelectric switches, the through-hole slot type photoelectric switch is the most common. With its vertical metal pins, it can be directly soldered onto the circuit board and, when combined with subsequent functional modules, can achieve basic switch detection.
[0003] However, through-hole slotted photoelectric switches are only suitable for conventional vertical installation scenarios. In specific scenarios such as servo motors, which have special requirements for installation methods and a compact overall structure, through-hole slotted photoelectric switches cannot meet the special installation needs such as horizontal installations, and it is difficult to cooperate with motor structural components to achieve detection functions within a limited space, thus making them unsuitable for such applications. Utility Model Content
[0004] To at least partially address the problems existing in the prior art, according to one aspect of the present invention, a photoelectric switch is provided. The photoelectric switch includes a first base, a second base, and a connecting body connecting the first base and the second base. A first mounting cavity is formed within the first base. A mounting surface is formed on the side of the first base away from the second base. A first hollow structure communicating with the first mounting cavity is provided on the mounting surface. A second mounting cavity is formed within the second base. A second hollow structure communicating with the second mounting cavity is provided on the side of the second base facing the first base. A gap exists between the first and second bases, and the gap forms a detection groove for accommodating a blocking element. One of the first and second mounting cavities is used to mount a photosensitive element, and the other is used to mount a light-emitting element. On the plane containing the mounting surface, the orthographic projection of the second hollow structure at least partially overlaps with the orthographic projection of the first hollow structure.
[0005] For example, the connector is provided with a third hollow structure, which extends along a first predetermined direction perpendicular to the mounting surface. One end of the third hollow structure is connected to the first hollow structure and the other end is connected to the second hollow structure.
[0006] For example, the first hollow structure extends toward the connecting body and penetrates the first base and the connecting body, and the second hollow structure extends toward the connecting body and penetrates the second base and the connecting body.
[0007] For example, a photosensitive element is disposed in the first mounting cavity, and a light-emitting element is disposed in the second mounting cavity. The first pin of the photosensitive element passes through the first hollow structure to the outside, and the second pin of the light-emitting element passes through the second hollow structure, the third hollow structure and the first hollow structure to the outside.
[0008] For example, a mounting post is provided on the mounting surface, and the mounting post is located at the end of the mounting surface away from the connector.
[0009] For example, a slot is provided on the mounting surface that communicates with the first mounting cavity. The slot extends along the end of the mounting surface away from the connector towards the connector and is spaced apart from the first hollow structure.
[0010] For example, a first detection groove is provided on the side of the first seat facing the second seat, and a second detection groove is provided on the side of the second seat facing the first seat. On the plane where the mounting surface is located, the orthographic projection of the first detection groove and the orthographic projection of the second detection groove at least partially overlap.
[0011] For example, the width direction of the first seat and the width direction of the second seat are both the second predetermined direction. On the plane where the mounting surface is located, the orthographic projection of the second seat is located inside the orthographic projection of the first seat in the second predetermined direction.
[0012] The photoelectric switch provided in this application has both the pins of the photosensitive element and the pins of the light-emitting element extending from the first hollow structure on the side where the mounting surface is located. That is, the photoelectric switch can be horizontally mounted on other structural components, and the detection slot opens to the side. This setting can more flexibly adapt to specific installation requirements, such as meeting the needs of servo motors and other scenarios that require special installation methods.
[0013] According to another aspect of this utility model, a detection device is also provided. The detection device includes any of the above-described photoelectric switches.
[0014] For example, the detection device also includes a circuit board, with a mounting surface abutting against the circuit board, and both the photosensitive element and the light-emitting element are electrically connected to the circuit board.
[0015] This utility model description introduces a series of simplified concepts, which will be further explained in detail in the detailed description section. This utility model description is not intended to limit the key features and essential technical features of the claimed technical solution, nor is it intended to limit the scope of protection of the claimed technical solution.
[0016] The advantages and features of this utility model will be described in detail below with reference to the accompanying drawings. Attached Figure Description
[0017] The following drawings, which are incorporated herein by reference as part of this invention, are provided for understanding the invention. The drawings illustrate embodiments of the invention and their descriptions, serving to explain the principles of the invention. In the drawings, Figure 1 A schematic diagram of an existing slotted photoelectric switch; Figure 2 This is a schematic diagram of the structure of a photoelectric switch according to an exemplary embodiment of the present invention; Figure 3This is a schematic diagram of the structure of a detection device according to an exemplary embodiment of the present invention.
[0018] The above figures include the following reference numerals: 10', Insert-in slot-type photoelectric switch; 10, Photoelectric switch; 110, First base; 1110, First hollow structure; 1120, Mounting surface; 1130, Slot; 1140, Mounting post; 120, Second base; 1210, Second detection slot; 130, Connector; 140, Detection slot; 1510, First pin; 160, Light-emitting element; 1610, Second pin; 20, Circuit board; 30, Shielding element. Detailed Implementation
[0019] In the following description, numerous details are provided to enable a thorough understanding of the present invention. However, those skilled in the art will appreciate that the following description merely illustrates preferred embodiments of the present invention, which may be practiced without one or more of these details. Furthermore, to avoid confusion with the present invention, some technical features well-known in the art have not been described in detail.
[0020] This embodiment of the invention provides a photoelectric switch. Referring to the reference... Figure 2 and Figure 3The photoelectric switch 10 includes a first base 110, a second base 120, and a connector 130 connecting the first base 110 and the second base 120. A first mounting cavity is formed within the first base 110, and a mounting surface 1120 is formed on the side of the first base 110 away from the second base 120. When the photoelectric switch 10 is mounted to other structural components (such as a circuit board 20), the mounting surface 1120 is the surface that contacts and is mounted to that structural component. Mounting posts 1140 or other arbitrary mounting structures can be provided on the mounting surface 1120 to make the mounting of the photoelectric switch 10 more stable. A first hollow structure 1110 communicating with the first mounting cavity is provided on the mounting surface 1120. The pins of the structural components within the first mounting cavity can extend from the first hollow structure 1110. A second mounting cavity is formed within the second base 120, and a second hollow structure communicating with the second mounting cavity is provided on the side of the second base 120 facing the first base 110. The pins of the structural components within the second mounting cavity can extend from the second hollow structure. A gap exists between the first mounting body 110 and the second mounting body 120, and the gap forms a detection groove 140 for accommodating the shielding member 30. One of the first and second mounting cavities is used to mount a photosensitive element, and the other is used to mount a light-emitting element 160. On the plane containing the mounting surface 1120, the orthographic projection of the second hollow structure at least partially overlaps with the orthographic projection of the first hollow structure 1110. That is, the first mounting cavity can be used to mount the photosensitive element, and the second mounting cavity can be used to mount the light-emitting element 160; alternatively, the first mounting cavity can be used to mount the light-emitting element 160, and the second mounting cavity can be used to mount the photosensitive element. The pins of the structural member in the first mounting cavity can be bent and extend out from the first hollow structure 1110, and the pins of the structural member in the second mounting cavity can be bent and extend out from the second hollow structure. It is understandable that, since the orthographic projection of the second hollow structure and the orthographic projection of the first hollow structure 1110 overlap at least partially on the plane where the mounting surface 1120 is located, the pins of the structural components within the second hollow structure can pass through the second hollow structure and through the first hollow structure 1110. Specifically, the pins of the photosensitive element and the pins of the light-emitting element 160 can both extend from the first hollow structure 1110 and be installed and connected to the structural components outside the mounting surface 1120. The edge of the first hollow structure 1110 can form a first limiting portion, and the pins of the structural components within the first mounting cavity, after being bent, abut against the first limiting portion. Exemplarily, the edge of the second hollow structure can form a second limiting portion, and the pins of the structural components within the second mounting cavity, after being bent, abut against the second limiting portion, making the bending portion more controllable. After the photoelectric switch 10 is installed, the mounting surface 1120 is connected to the external structural component. At this time, the photoelectric switch 10 is more like lying on the external structural component. From bottom to top, the components are the first base 110, the connecting body 130, and the second base 120. The detection groove 140 between the first base 110 and the second base 120 opens to the side, and the shielding member 30 can extend into the detection groove 140 from the side.
[0021] Reference Figure 1 The illustration shows a conventional through-hole slot-type photoelectric switch 10'. Compared to the vertical pin fixing structure of the conventional through-hole slot-type photoelectric switch 10', the photoelectric switch 10 provided in this application allows the pins of the photosensitive element and the pins of the light-emitting element 160 to extend from the first hollow structure 1110 on the side where the mounting surface 1120 is located. That is, the photoelectric switch 10 can be horizontally mounted on other structural components, and the detection slot 140 opens to the side. This configuration allows for more flexible adaptation to specific installation requirements, such as meeting the needs of servo motors and other scenarios requiring special installation methods.
[0022] For example, refer to Figure 2 The connector 130 has a third hollow structure, which extends along a first predetermined direction XX perpendicular to the mounting surface 1120. One end of the third hollow structure is connected to the first hollow structure 1110, and the other end is connected to the second hollow structure. In other words, the pins of the structural components inside the second mounting cavity can pass through the second hollow structure, the third hollow structure, and the first hollow structure 1110 in sequence. The third hollow structure protects the pins of the structural components inside the second mounting cavity. This design results in a photoelectric switch 10 with a smaller overall footprint, simpler structure, and greater structural stability.
[0023] For example, refer to Figure 2 The first hollow structure 1110 extends towards the connector 130 and penetrates both the first base 110 and the connector 130, while the second hollow structure extends towards the connector 130 and penetrates both the second base 120 and the connector 130. In other words, the first and second mounting cavities are exposed on the side of the connector 130 facing away from the first base 110 and the second base 120. After installing the corresponding photosensitive element or light-emitting element 160 in the first and second mounting cavities, the pins of both the photosensitive element and the light-emitting element 160 are directly visible from the outside. This allows for full visualization during the pin bending process, enabling precise control of the bending angle and position during bending to avoid bending deviations due to obstructed vision, which could affect subsequent installation compatibility. It also allows for direct inspection of the pins after bending to check for deformation, breakage, or other problems, ensuring that the pins can stably extend from the first hollow structure 1110 and connect to external structural components, thus improving installation efficiency and reliability.
[0024] For example, refer to Figure 2A photosensitive element is disposed in the first mounting cavity, and a light-emitting element 160 is disposed in the second mounting cavity. The first pin 1510 of the photosensitive element passes through the first hollow structure 1110 to the outside, and the second pin 1610 of the light-emitting element 160 passes through the second hollow structure, the third hollow structure, and the first hollow structure 1110 to the outside. The first pin 1510 and the second pin 1610 extend together from the first hollow structure 1110 and can be connected to the external circuit board 20. The light-emitting element 160 can transmit light signals, and the photosensitive element corresponds to the light-emitting element 160 and is used to receive light signals. The light signal transmission path is within the detection groove 140 between the light-emitting element 160 and the photosensitive element. This configuration simplifies the overall structure of the photoelectric switch 10 and reduces manufacturing difficulty.
[0025] For example, refer to Figure 2 A mounting post 1140 is provided on the mounting surface 1120, located at the end of the mounting surface 1120 away from the connector 130. The mounting surface 1120 has an end near the connector 130 and an end away from the connector 130, and the mounting post 1140 is closer to the end of the mounting surface 1120 near the connector 130 than the end of the mounting surface 1120 away from the connector 130. Correspondingly, a mounting groove can be provided on the external structural component, into which the mounting post 1140 can be inserted. The mounting post 1140 enhances the stability of the photoelectric switch 10 installation through its cooperation with the external structural component, preventing the overall position of the photoelectric switch 10 from shifting due to mechanical vibration, and avoiding affecting the alignment of the optical path. The mounting post 1140 is located at the end of the mounting surface 1120 away from the connector 130. The support point of the mounting post 1140 is closer to the core area where the detection slot 140 is located. That is, it is in a position closer to the detection slot 140 to limit the detection slot 140, further ensuring the stability of the position of the detection slot 140 and ensuring the stable transmission of the optical signal within the detection slot 140. It is especially suitable for scenarios with high requirements for installation stability and detection reliability, such as servo motors.
[0026] For example, refer to Figure 2 The mounting surface 1120 has a slot 1130 communicating with the first mounting cavity. The slot 1130 extends along the end of the mounting surface 1120 away from the connector 130 toward the connector 130 and is spaced apart from the first hollow structure 1110. Through the slot 1130, the condition of the structural components located in the first mounting cavity can be more clearly observed, such as whether they are misaligned or obstructed by foreign objects, facilitating rapid verification and adjustment during assembly. The spacing between the slot 1130 and the first hollow structure 1110 ensures convenient observation while avoiding interference with the pin extension path, maintaining the integrity of the pin structure and providing convenience for checking the working status of structural components during subsequent maintenance, further improving the efficiency of product assembly and maintenance.
[0027] For example, refer to Figure 2 The first mounting surface 110 has a first detection groove on the side facing the second mounting surface 120, and the second mounting surface 120 has a second detection groove 1210 on the side facing the first mounting surface 110. On the plane where the mounting surface 1120 is located, the orthographic projection of the first detection groove and the orthographic projection of the second detection groove 1210 overlap at least partially. Taking a photosensitive element installed in the first mounting cavity and a light-emitting element 160 installed in the second mounting cavity as an example, the light signal emitted by the light-emitting element 160 can be emitted through the second detection groove 1210, pass through the detection groove 140 and the first detection groove, and be received by the photosensitive element. The arrangement of the first detection groove and the second detection groove 1210 can provide a precise transmission channel for the light signal emitted by the light-emitting element 160, ensuring that the light signal can be stably received by the photosensitive element by passing through the second detection groove 1210, the detection groove 140 and the first detection groove in sequence, and ensuring that the blocking element 30 can accurately block the light path to trigger the switch action when it passes by. Exemplarily, the second detection groove 1210 may extend along the end of the second seat 120 away from the connector 130 toward the connector 130 and penetrate through the second seat 120. Exemplarily, the first detection groove may extend along the end of the first seat 110 away from the connector 130 toward the connector 130 and penetrate through the first seat 110. Exemplarily, the end face of the second seat 120 away from the connector 130 may be hollowed out.
[0028] For example, refer to Figure 2 The width directions of the first base 110 and the second base 120 are both in the second predetermined direction YY. On the plane where the mounting surface 1120 is located, the orthographic projection of the second base 120 in the second predetermined direction YY is located inside the orthographic projection of the first base 110. In other words, the installed photoelectric switch 10 can have a structure that is smaller at the top and larger at the bottom. This enhances the overall stability of the photoelectric switch 10 after installation, shifting the center of gravity more towards the mounting surface 1120, reducing swaying caused by external forces when external mounting components vibrate. The second base 120 being located inside the first base 110 in the second predetermined direction YY saves lateral space, making it more suitable for compact installation scenarios such as servo motors, avoiding interference with surrounding components, and improving space utilization. The smaller-at-the-top, larger-at-the-bottom structure also facilitates installation.
[0029] According to another aspect of this utility model, a detection device is also provided. (Referring to...) Figure 2 and Figure 3The detection device may include any of the photoelectric switches 10 described above. Since the photoelectric switch 10 adopts the technical solution of any of the above embodiments, the detection device at least has the beneficial effects brought by the technical solutions of the above embodiments, which will not be elaborated further here. The detection device can be applied to the zero-position control scenario of servo motors. By integrating the photoelectric switch 10 into the detection module of the servo motor, and utilizing the horizontal installation adaptability and precise optical path detection capability of the photoelectric switch 10, stable identification of the zero-position of the motor's moving parts can be achieved, ensuring the accuracy of motor start-stop and position calibration. It can also be applied to material positioning detection and module motion stroke limit detection in automated production lines. With the compact structural design and reliable signal output of the photoelectric switch 10, it adapts to the detection needs of different scenarios, improving the overall operating accuracy and stability of the equipment.
[0030] This detection device is particularly suitable for zero-position control scenarios of servo motors. The core principle of its zero-position control is as follows: The photoelectric switch 10 needs to be installed at the "preset zero position" of the servo motor mechanical system (such as the extreme position of the motor shaft or the starting point of the module). When the light-blocking plate (or metal / plastic block) on the moving parts such as the motor shaft and slider passes through the photoelectric switch 10, it will block the light beam in the detection slot 140 to trigger the switch action and output a "zero-position trigger signal" (such as changing from "low level" to "high level"). After receiving the signal, the controller immediately defines the current encoder reading as the "zero-position reference". Through this logic, the horizontal installation adaptability and precise optical path detection capability of the photoelectric switch 10 can be used to achieve stable identification of the zero position of the moving parts of the motor, ensuring the accuracy of motor start-up and position calibration.
[0031] For example, in conjunction with reference Figure 2 and Figure 3 The detection device also includes a circuit board 20, with a mounting surface 1120 abutting against it. Both the photosensitive element and the light-emitting element 160 are electrically connected to the circuit board 20. A first pin 1510 can be soldered to the circuit board 20. A second pin 1610 can also be soldered to the circuit board 20. The detection slot 140 can be arranged parallel to the circuit board 20. A blocking element 30 can extend from the side of the photoelectric switch 10 into the detection slot 140. This allows the photoelectric switch 10 to be stably and horizontally mounted on the circuit board 20, adapting to compact scenarios such as servo motors, while avoiding installation interference between the blocking element 30 and the circuit board 20, ensuring accurate triggering of optical path switching by the blocking action, and improving detection efficiency and stability. Fixed horizontally on the circuit board 20, some structural components of the servo motor can act as a blocking object, triggering the photoelectric switch 10 to operate through the mechanical system design.
[0032] In the description of this utility model, it should be understood that the directional terms such as "front", "rear", "up", "down", "left", "right", "horizontal", "vertical", "horizontal", "top", and "bottom" indicate the orientation or positional relationship, which are usually based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this utility model and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this utility model. The directional terms "inner" and "outer" refer to the inner and outer contours of each component itself.
[0033] For ease of description, relative terms such as "above," "over," "on the upper surface of," and "above" are used here to describe the regional positional relationship of one or more components or features shown in the figures to other components or features. It should be understood that relative terms include not only the orientation of the component as depicted in the figure but also different orientations during use or operation. For example, if the components in the figures are inverted as a whole, "above" or "above other components or features" will include cases where the component is "below" or "under" other components or features. Thus, the exemplary term "above" can include both "above" and "below." Furthermore, these components or features may also be positioned at other different angles (e.g., rotated 90 degrees or other angles), and this document intends to include all such cases.
[0034] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, parts, components, and / or combinations thereof.
[0035] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in sequences other than those illustrated or described herein.
[0036] This utility model has been described through the above embodiments. However, it should be understood that the above embodiments are for illustrative purposes only and are not intended to limit the utility model to the described embodiments. Furthermore, those skilled in the art will understand that this utility model is not limited to the above embodiments, and many more variations and modifications can be made based on the teachings of this utility model, all of which fall within the scope of protection claimed by this utility model. The scope of protection of this utility model is defined by the appended claims and their equivalents.
Claims
1. A photoelectric switch, characterized in that, The device includes a first base, a second base, and a connector connecting the first base and the second base. The first base has a first mounting cavity, and the side of the first base away from the second base has a mounting surface. The mounting surface has a first hollow structure communicating with the first mounting cavity. The second base has a second mounting cavity, and the side of the second base facing the first base has a second hollow structure communicating with the second mounting cavity. There is a gap between the first base and the second base, and the gap forms a detection groove for accommodating a shielding component. One of the first mounting cavity and the second mounting cavity is used to mount a photosensitive component, and the other is used to mount a light-emitting component. On the plane where the mounting surface is located, the orthographic projection of the second hollow structure and the orthographic projection of the first hollow structure at least partially overlap.
2. The photoelectric switch according to claim 1, characterized in that, The connector is provided with a third hollow structure, which extends along a first predetermined direction perpendicular to the mounting surface. One end of the third hollow structure is connected to the first hollow structure and the other end is connected to the second hollow structure.
3. The photoelectric switch according to claim 2, characterized in that, The first hollow structure extends toward the connecting body and penetrates the first base and the connecting body, and the second hollow structure extends toward the connecting body and penetrates the second base and the connecting body.
4. The photoelectric switch according to claim 2, characterized in that, The first mounting cavity contains the photosensitive element, and the second mounting cavity contains the light-emitting element. The first pin of the photosensitive element passes through the first hollow structure to the outside, and the second pin of the light-emitting element passes through the second hollow structure, the third hollow structure, and the first hollow structure to the outside.
5. The photoelectric switch according to claim 1, characterized in that, A mounting post is provided on the mounting surface, and the mounting post is located at the end of the mounting surface away from the connector.
6. The photoelectric switch according to claim 1, characterized in that, The mounting surface is provided with a slot that communicates with the first mounting cavity. The slot extends along the end of the mounting surface away from the connector towards the connector and is spaced apart from the first hollow structure.
7. The photoelectric switch according to claim 1, characterized in that, The first seat has a first detection groove on the side facing the second seat, and the second seat has a second detection groove on the side facing the first seat. On the plane where the mounting surface is located, the orthographic projection of the first detection groove and the orthographic projection of the second detection groove at least partially overlap.
8. The photoelectric switch according to claim 1, characterized in that, The width direction of the first seat and the width direction of the second seat are both second predetermined directions. On the plane where the mounting surface is located, the orthographic projection of the second seat is located inside the orthographic projection of the first seat in the second predetermined direction.
9. A detection device, characterized in that, Including the photoelectric switch as described in any one of claims 1 to 8.
10. The detection device according to claim 9, characterized in that, The detection device also includes a circuit board, the mounting surface abuts against the circuit board, and the photosensitive element and the light-emitting element are both electrically connected to the circuit board.