Mounting structure for an optical encoder
The combination structure of guide groove, guide rod, locking hole and locking rod solves the problem of inconvenient connection between photoelectric encoder support and protective cover, realizes quick installation and disassembly, improves operation convenience and facilitates maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- CHENGDU EBRIDGE TECH
- Filing Date
- 2025-07-09
- Publication Date
- 2026-07-31
AI Technical Summary
The existing photoelectric encoders are connected to the support and protective cover by bolt assemblies, which makes disassembly and installation inconvenient.
The system employs a combination structure of guide groove, guide rod, locking hole, and locking rod. The guide groove and guide rod work together to restrict the circumferential movement of the protective cover and the support, while the locking rod and locking hole work together to achieve limiting. Combined with the elastic clamping unit and unlocking assembly, the system enables quick connection and disassembly of the protective cover and the support.
It improves the connection efficiency between the protective cover and the support, enables quick installation and disassembly, simplifies the operation process, and facilitates the maintenance and repair of the photoelectric encoder.
Smart Images

Figure CN224580947U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of photoelectric encoder mounting structure technology, and in particular to a mounting structure for a photoelectric encoder. Background Technology
[0002] In numerous technological fields such as industrial automation control, robotics, and CNC machine tools, photoelectric encoders play a crucial role as high-precision position and speed detection devices. They convert physical quantities such as mechanical displacement and angle into electrical signal outputs, providing precise feedback information to the control system, thereby enabling accurate control and monitoring of moving parts.
[0003] Photoelectric encoders typically consist of main components such as a support structure and a protective cover. The support structure provides a stable mounting base for the encoder's internal components, ensuring the relative positional accuracy between its various parts. The protective cover primarily serves a protective function, effectively preventing external impurities such as dust, moisture, and oil from entering the encoder and avoiding damage to internal electronic components and precision structures. It can also withstand a certain degree of mechanical shock and vibration, ensuring stable and reliable operation of the encoder in complex and harsh industrial environments.
[0004] In existing technologies, the support components and protective covers are typically connected by bolt assemblies, but this method is not convenient for disassembly and installation. Installation using bolt assemblies usually requires specialized tools such as wrenches and screwdrivers, making the process rather cumbersome. Utility Model Content
[0005] The main objective of this application is to provide a mounting structure for a photoelectric encoder, which aims to solve the technical problem that the support and protective cover are usually connected by bolt assemblies, but this is not convenient in terms of disassembly and installation.
[0006] To achieve the above objectives, this application provides a mounting structure for a photoelectric encoder, comprising:
[0007] Support components, which are used to support the rotating shaft and sensors;
[0008] A protective cover is fitted around the support member, and the protective cover and the support member together form a receiving cavity for accommodating the sensor.
[0009] The support member and the protective cover are connected by at least one locking assembly, which includes a guide groove, a guide rod, a locking hole, and a locking rod.
[0010] The guide groove is disposed on the outer wall of the support member along the first direction, and the locking hole is disposed on the bottom wall of the guide groove;
[0011] The guide rod protrudes from the inner wall of the protective cover, and the guide rod can move along the extension direction of the guide groove;
[0012] The locking rod is disposed at the end of the guide rod, and the locking rod can move in a direction away from the guide rod so that the locking rod can enter the locking hole and form a limiting structure therewith in the first direction.
[0013] Optionally, the rotating shaft is rotatably disposed through the support member, the first end of the rotating shaft is used to connect with the shaft to be measured, the second end of the rotating shaft is fitted with a code disk, and the outer wall of the support member is provided with a sensor for cooperating with the code disk. The code disk and the sensor are located in the accommodating cavity.
[0014] Optionally, the support member and the protective cover are connected by multiple locking components, all of which are arranged in a ring around the circumference and the distance between adjacent locking components is equal.
[0015] Optionally, the inner diameter of the locking hole is smaller than the width of the guide groove.
[0016] Optionally, the locking assembly further includes an elastic clamping unit, which includes a compression spring and a baffle. The guide rod has a spring groove and a connecting hole inside. The inner diameter of the spring groove is larger than the inner diameter of the connecting hole. One end of the locking rod is located in the spring groove, and the other end passes through the connecting hole. The portion of the locking rod located in the spring groove is connected to the baffle. The compression spring is disposed between the baffle and the inner wall of the spring groove on the side away from the locking rod.
[0017] Optionally, the system further includes an unlocking assembly, which includes a connecting rod and an unlocking ring. The number of connecting rods corresponds to the number of locking assemblies. The first end of the connecting rod is located in the spring groove and connected to the locking rod. The second end of the connecting rod passes through the guide rod and protrudes from the outer wall of the protective cover. A lifting block is provided at the second end of the connecting rod. The unlocking ring is located on the periphery of the protective cover and is situated on one side of the lifting block. An unlocking rod is provided on the side of the unlocking ring that is close to the lifting block. The unlocking ring can move in the direction close to the lifting block to drive the locking rod to move in the direction away from the locking hole via the unlocking rod.
[0018] Optionally, the lifting block has a lifting ramp, which gradually slopes from the direction away from the unlocking ring toward the direction closer to the connecting rod, and the end of the unlocking rod that abuts against the lifting ramp is an arc-shaped surface.
[0019] Optionally, the axis of the unlocking rod is orthogonal to the axis of the connecting rod.
[0020] Optionally, the outer wall of the protective cover is further provided with a limiting groove extending along the first direction, and the inner wall of the unlocking ring is provided with a limiting block for cooperating with the limiting groove, the limiting block being able to move along the limiting groove.
[0021] Optionally, the outer wall of the support member is provided with an annular sealing groove, and a sealing ring is provided in the sealing groove. The inner wall of the protective cover can compress the sealing ring to cause elastic deformation.
[0022] The beneficial effects that this application can achieve are:
[0023] This application proposes an installation structure for a photoelectric encoder. By providing a guide groove and locking hole on the support member, and a guide rod and locking rod on the protective cover, the guide rod, in cooperation with the guide groove, restricts circumferential relative movement between the protective cover and the support member, thus limiting and guiding the movement path of the protective cover. The locking rod, in cooperation with the locking hole, provides a limiting effect in the first direction between the protective cover and the support member, ensuring that the protective cover does not arbitrarily detach from the support member, thereby achieving a connection between the protective cover and the support member. The locking rod automatically enters the locking hole, enabling a quick connection between the protective cover and the support member and improving the connection efficiency. Attached Figure Description
[0024] Figure 1 This is a cross-sectional schematic diagram of the mounting structure for the photoelectric encoder according to an embodiment of this application;
[0025] Figure 2 for Figure 1 Enlarged structural diagram at point A in the middle.
[0026] The numbers on the map are:
[0027] 10-Support component, 11-Rotating shaft, 12-Code disk, 13-Sensor, 20-Protective cover, 21-Accommodation cavity, 30-Locking assembly, 31-Guide groove, 32-Guide rod, 33-Locking hole, 34-Locking rod, 40-Elastic clamping unit, 41-Baffle, 42-Compression spring, 50-Spring groove, 60-Unlocking assembly, 61-Unlocking ring, 62-Unlocking rod, 63-Lifting block, 64-Lifting ramp, 65-Connecting rod, 70-Limiting groove, 71-Limiting block, 80-Sealing groove, 81-Sealing ring.
[0028] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0029] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0030] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in this utility model embodiment are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.
[0031] In this utility model, unless otherwise explicitly specified and limited, the terms "connection," "fixing," etc., should be interpreted broadly. For example, "fixing" can mean a fixed connection, a detachable connection, or an integral part; it can mean a mechanical connection or an electrical connection; it can mean a direct connection or an indirect connection through an intermediate medium; it can mean the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances.
[0032] Furthermore, if the embodiments of this utility model involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the meaning of "and / or" throughout the text includes three parallel solutions; for example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.
[0033] Example 1
[0034] Reference Figure 1 and Figure 2 , Figure 1 and Figure 2 In this context, X represents the first direction. A first embodiment of this application provides a mounting structure for a photoelectric encoder, comprising:
[0035] Support 10, which is used to support the rotating shaft 11 and the sensor 13;
[0036] The protective cover 20 is sleeved around the support member 10, and the protective cover 20 and the support member 10 together form a receiving cavity 21 for accommodating the sensor 13.
[0037] The support member 10 and the protective cover 20 are connected by at least one locking assembly 30, which includes a guide groove 31, a guide rod 32, a locking hole 33 and a locking rod 34.
[0038] The guide groove 31 is disposed on the outer wall of the support member 10 along the first direction, and the locking hole 33 is disposed on the bottom wall of the guide groove 31;
[0039] The guide rod 32 protrudes from the inner wall of the protective cover 20, and the guide rod 32 can move along the extension direction of the guide groove 31;
[0040] The locking rod 34 is disposed at the end of the guide rod 32. The locking rod 34 can move in a direction away from the guide rod 32 so that the locking rod 34 can enter the locking hole 33 and form a limiting structure therewith in the first direction.
[0041] In this embodiment, the support member 10 is cylindrical in shape, and a bearing is mounted on the support member 10. A rotating shaft 11 is mounted on the bearing, and the axis of the rotating shaft 11 is collinear with the axis of the support member 10. The protective cover 20 is a shell structure with an open mechanism at its left end, allowing it to cover the periphery of the support member 10. The protective cover 20 can also be cylindrical, and its inner diameter matches the outer diameter of the support member 10. When the protective cover 20 is fitted around the support member 10, the right end of the support member 10 and the interior of the protective cover 20 form a receiving cavity 21. This cavity 21 is used to house components such as the sensor 13 and the encoder disk 12, and the protective cover 20 provides protection for these components. The support member 10 and the protective cover 20 are connected by at least one locking assembly 30. The protective cover 20 is sleeved around the support member 10 along the first direction. Then, the locking rod 34 and the locking hole 33 cooperate to form a limiting structure between the support member 10 and the protective cover 20 in the first direction. Through the cooperation of the locking rod 34 and the locking hole 33, as well as the guide rod 32 and the guide groove 31, the support member 10 and the protective cover 20 will not move relative to each other in the circumferential direction, nor will they move relative to each other along the first direction, thereby realizing the mutual connection between the support member 10 and the protective cover 20.
[0042] Example 2
[0043] As an optional implementation, this embodiment provides a specific installation structure for the rotating shaft 11, including: the rotating shaft 11 is rotatably disposed through the support member 10, the first end of the rotating shaft 11 is used to connect with the shaft to be measured (not shown in the figure), the second end of the rotating shaft 11 is sleeved with a code disk 12, the outer wall of the support member 10 is provided with a sensor 13 for cooperating with the code disk 12, and the code disk 12 and the sensor 13 are located in the accommodating cavity 21.
[0044] Specifically, the left end of the rotating shaft 11 is the first end, and the right end is the second end. The left end of the rotating shaft 11 is used to connect with the shaft to be measured, and the right end is used to connect with the code disk 12. A photoelectric encoder is a precision sensor 13 that converts mechanical displacement (angular or linear displacement) into electrical signals through photoelectric conversion. Its core principle is based on a grating structure and photoelectric detection technology, achieving precise measurement of displacement or angle by analyzing changes in the light signal. The working principle of the photoelectric encoder is based on the moiré fringe effect (incremental). The code disk 12 is engraved with uniformly distributed radial lines (gratings), and the spacing between the lines determines the resolution. When the code disk 12 rotates, the light emitted by the light source passes through the code disk 12 and the fixed grating (or another code disk 12), forming alternating bright and dark moiré fringes. The direction and speed of the moiré fringe movement are proportional to the rotation direction and speed of the code disk 12. The photosensitive element detects the changes in the moiré fringes and outputs two quadrature signals (phase A and phase B) with a 90° phase difference. The rotation direction can be determined by judging the phase relationship between phase A and phase B; the rotation angle or displacement can be calculated by counting the number of pulses. The sensor 13 can be a Sendix Base KIS40 / KIH40, integrating a light source, a photosensitive element, and a signal processing circuit. The light source (such as an LED) emits a beam of light that illuminates the code disk 12, a disc with a specific coding pattern, typically composed of alternating transparent and opaque areas. As the code disk 12 rotates with the mechanical axis, the transparent and opaque areas alternately block and transmit the light beam. The photosensitive element (such as a photodiode or phototransistor) receives the light beam transmitted through the code disk 12 and converts it into an electrical signal. Due to the design of the coding pattern on the code disk 12, the light signal received by the photosensitive element changes with the rotation of the code disk 12, forming a periodic electrical signal. The signal processing circuit amplifies, shapes, and directions the electrical signal output by the photosensitive element, outputting two orthogonal square wave signals (phase A and phase B), and a zero-position reference signal (phase Z). The phase difference between phase A and phase B signals reflects the rotation direction of the code disk 12, while the signal frequency is proportional to the rotation speed of the code disk 12. The Z-phase signal is used to determine the zero position of the code disk 12, i.e., the origin of the encoder. The sensor 13 can be a transmissive sensor or a reflective sensor. When it is a reflective sensor, a sensing element can be installed on one side of the code disk 12 or a sensing element can be installed on both sides of the code disk simultaneously.
[0045] Example 3
[0046] As an optional implementation, this embodiment provides a specific structure of a locking component 30, including: the support member 10 and the protective cover 20 are connected by a plurality of locking components 30, all the locking components 30 are distributed in a ring along the circumference, and the distance between adjacent locking components 30 is equal.
[0047] Specifically, when multiple locking components 30 are provided, all locking components 30 are arranged in a circular array. By setting the distance between adjacent locking components 30 to be equal, the force is balanced when the locking rod 34 and the locking hole 33 are engaged.
[0048] Optionally, the inner diameter of the locking hole 33 is smaller than the width of the guide groove 31.
[0049] Specifically, by making the diameter of the locking hole 33 smaller than the width of the guide groove 31, the locking rod 34 can be housed inside the guide rod 32 when the guide rod 32 moves along the guide groove 31. This ensures that when the guide rod 32 moves, the locking rod 34 can automatically pop out and enter the locking hole 33 to lock when it is aligned with the locking hole 33.
[0050] Example 4
[0051] As an optional implementation, this embodiment provides a specific structure of a locking assembly 30, including: the locking assembly 30 further includes an elastic pressing unit 40, the elastic pressing unit 40 includes a compression spring 42 and a baffle 41, the guide rod 32 is provided with a spring groove 50 and a connecting hole inside, the inner diameter of the spring groove 50 is larger than the inner diameter of the connecting hole, one end of the locking rod 34 is located in the spring groove 50 and the other end passes through the connecting hole, the part of the locking rod 34 located in the spring groove 50 is connected to the baffle 41, and the compression spring 42 is disposed between the baffle 41 and the inner wall of the spring groove 50 on the side away from the locking rod 34.
[0052] Specifically, by setting the elastic clamping unit 40, the compression spring 42 is in a compressed state. The compression spring 42 applies a downward external force to the locking rod 34, so that the locking rod 34 always has a downward tendency to move. During the process of the guide rod 32 moving along the guide groove 31, the locking rod 34 is housed in the guide rod 32. At this time, the compression spring 42 is in a compressed state, the lower end of the locking rod 34 contacts the bottom wall of the guide groove 31, and moves along the extension direction of the guide groove 31. When the locking rod 34 moves to the position aligned with the locking hole 33, the locking rod 34 automatically moves downward under the pushing force of the compression spring 42 and enters the locking hole 33 to form a limiting structure.
[0053] Optionally, an unlocking assembly 60 is also included. The unlocking assembly 60 includes a connecting rod 65 and an unlocking ring 61. The number of connecting rods 65 corresponds to the number of locking assemblies 30. The first end of the connecting rod 65 is located in the spring groove 50 and connected to the locking rod 34. The second end of the connecting rod 65 passes through the guide rod 32 and protrudes from the outer wall of the protective cover 20. A lifting block 63 is provided at the second end of the connecting rod 65. The unlocking ring 61 is located on the periphery of the protective cover 20. The unlocking ring 61 is located on one side of the lifting block 63. An unlocking rod 62 is provided on the side of the unlocking ring 61 that is close to the lifting block 63. The unlocking ring 61 can move in the direction close to the lifting block 63 so as to drive the locking rod 34 to move away from the locking hole 33 through the unlocking rod 62.
[0054] Specifically, by setting an unlocking component 60, which includes an unlocking ring 61, multiple unlocking rods 62 can be simultaneously mounted on the unlocking ring 61. The number of unlocking rods 62 is the same as the number of locking components 30, and they correspond one-to-one. When it is necessary to remove the protective cover 20 from the support member 10, that is, when the locking rod 34 is located in the locking hole 33. Figure 2 As shown, by moving the unlocking ring 61 to the right, the unlocking ring 61 moves towards the lifting block 63. When the right end of the unlocking rod 62 contacts the lifting ramp 64 of the lifting block 63, the unlocking rod 62 applies a vertically upward component force to the lifting rod. As the unlocking ring 61 continues to move, the lifting block 63 continues to move upward. The lifting block 63 moves the connecting rod 65 upward, and the connecting rod 65 drives the locking rod 34 upward, thereby causing the locking rod 34 to exit from the locking hole 33, completing the unlocking. When the lifting block 63 moves the locking component upward, the compression spring 42 located in the spring groove 50 is compressed. When the external force applied to the unlocking ring 61 is removed, the lifting block 63 loses the lifting force of the unlocking rod 62. The lifting block 63, the connecting rod 65, and the locking rod 34 move synchronously towards the guide groove 31, so that the locking rod 34 can automatically enter the locking hole 33 for locking. It should be noted that each unlocking ring 61 is equipped with an unlocking lever 62 corresponding to a locking component 30. By moving the unlocking ring 61, all unlocking levers 62 can drive the lifting block 63 to move, allowing all locking levers 34 to exit from the locking hole 33, thus unlocking the device. This eliminates the need to apply an outward force to each locking lever 34 individually, facilitating quick and easy unlocking of the locking levers 34 and simplifying the disassembly and connection between the protective cover 20 and the support member 10. When the protective cover 20 is removed from the support member 10, the code disk 12 and sensor 13 are exposed to the air vents, allowing users to inspect, maintain, or replace the code disk 12 and sensor 13.
[0055] Optionally, the lifting block 63 has a lifting ramp 64, which gradually slopes towards the connecting rod 65 in a direction away from the unlocking ring 61, and the end of the unlocking rod 62 that abuts against the lifting ramp 64 is an arc-shaped surface.
[0056] Specifically, such as Figure 2 As shown, the unlocking lever 62 is located to the left of the lifting block 63. At this time, the lifting ramp 64 on the lifting block 63 gradually slopes downwards from left to right. It should be noted that a through hole can be provided inside the lifting block 63, with the lifting ramp 64 provided on the upper inner wall of the through hole; alternatively, a fixing block can be provided on the outer wall of the lifting block 63, with the lifting ramp 64 provided on the outer wall of the fixing block. By providing an arc-shaped surface at the end of the unlocking lever 62 (the arc-shaped surface can be a hemisphere), the contact stability with the lifting ramp 64 is improved.
[0057] Optionally, the axis of the unlocking lever 62 is orthogonal to the axis of the connecting lever 65.
[0058] Specifically, at this time, the unlocking rod 62 is in a horizontal state and the connecting rod 65 is in a vertical state, so that when the unlocking rod 62 moves laterally in the horizontal direction, the connecting rod 65 can move stably in the vertical direction. Compared with the inclined setting of the connecting rod 65, the friction between the connecting rod 65 and the inner wall of the guide rod 32 is reduced.
[0059] Optionally, the outer wall of the protective cover 20 is also provided with a limiting groove 70 extending in the first direction, and the inner wall of the unlocking ring 61 is provided with a limiting block 71 for cooperating with the limiting groove 70, and the limiting block 71 can move along the limiting groove 70.
[0060] Specifically, the limiting groove 70 and the limiting block 71 work together to limit and guide the lateral movement of the unlocking ring 61, while preventing relative circumferential rotation of the unlocking ring 61. This ensures that the unlocking rod 62 on the unlocking ring 61 is always aligned with the lifting ramp 64 of the lifting block 63, eliminating the need to adjust the position of the unlocking ring 61 each time it is unlocked. It should be noted that the left end of the limiting groove 70 can penetrate the side wall of the protective cover 20 to facilitate the installation of the limiting block 71. The unlocking ring 61 can remain on the outer wall of the protective cover 20 for an extended period, or it can be installed onto the protective cover 20 only when unlocking is required. Limiting pins can be provided on the left and right sides of the unlocking ring 61 along the first direction to limit the maximum travel distance of the unlocking ring 61 along the first direction.
[0061] Optionally, the outer wall of the support member 10 is provided with an annular sealing groove 80, and a sealing ring 81 is provided in the sealing groove 80. The inner wall of the protective cover 20 can compress the sealing ring 81 to cause elastic deformation.
[0062] Specifically, by providing a sealing ring 81 between the inner wall of the opening end of the protective cover 20 and the outer wall of the support member 10, the sealing performance of the connection between the protective cover 20 and the support member 10 is improved. The sealing ring 81 can undergo elastic deformation, which improves the stability of the connection between the protective cover 20 and the support member 10 while preventing dust, moisture, etc. from entering the accommodating cavity 21 through the connection gap between the protective cover 20 and the support member 10. It should be noted that the protective cover 20 is provided with cable holes for the cables of components such as the sensor 13 to pass through.
[0063] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A mounting structure for an optical electric encoder characterized by comprising: include: Support components, which are used to support the rotating shaft and sensors; A protective cover is fitted around the support member, and the protective cover and the support member together form a receiving cavity for accommodating the sensor. The support member and the protective cover are connected by at least one locking assembly, which includes a guide groove, a guide rod, a locking hole, and a locking rod. The guide groove is disposed on the outer wall of the support member along the first direction, and the locking hole is disposed on the bottom wall of the guide groove; The guide rod protrudes from the inner wall of the protective cover, and the guide rod can move along the extension direction of the guide groove; The locking rod is disposed at the end of the guide rod, and the locking rod can move in a direction away from the guide rod so that the locking rod can enter the locking hole and form a limiting structure therewith in the first direction.
2. The mounting structure for an optical encoder according to claim 1, wherein The rotating shaft is rotatably disposed through the support member. The first end of the rotating shaft is used to connect with the shaft to be measured, and the second end of the rotating shaft is fitted with a code disk. The outer wall of the support member is provided with a sensor for cooperating with the code disk. The code disk and the sensor are located in the accommodating cavity.
3. The mounting structure for an optical encoder according to claim 1, wherein The support member and the protective cover are connected by multiple locking components, all of which are arranged in a ring around the perimeter and the distance between adjacent locking components is equal.
4. The mounting structure for an optical encoder according to claim 1, wherein The inner diameter of the locking hole is smaller than the width of the guide groove.
5. The mounting structure for an optical encoder as set forth in claim 1, wherein The locking assembly further includes an elastic clamping unit, which includes a compression spring and a baffle. The guide rod has a spring groove and a connecting hole inside. The inner diameter of the spring groove is larger than the inner diameter of the connecting hole. One end of the locking rod is located in the spring groove, and the other end passes through the connecting hole. The part of the locking rod located in the spring groove is connected to the baffle. The compression spring is disposed between the baffle and the inner wall of the spring groove on the side away from the locking rod.
6. The mounting structure for an optical encoder according to claim 5, wherein It also includes an unlocking component, which includes a connecting rod and an unlocking ring. The number of connecting rods corresponds to the number of locking components. The first end of the connecting rod is located in the spring groove and connected to the locking rod. The second end of the connecting rod passes through the guide rod and protrudes from the outer wall of the protective cover. A lifting block is provided at the second end of the connecting rod. The unlocking ring is located on the periphery of the protective cover and is located on one side of the lifting block. An unlocking rod is provided on the side of the unlocking ring close to the lifting block. The unlocking ring can move in the direction close to the lifting block so as to drive the locking rod to move away from the locking hole through the unlocking rod.
7. The mounting structure for an optical encoder according to claim 6, wherein The lifting block has a lifting ramp, which gradually slopes from the direction away from the unlocking ring toward the direction closer to the connecting rod. The end of the unlocking rod that abuts against the lifting ramp is an arc-shaped surface.
8. The mounting structure for an optical encoder according to claim 6, wherein The axis of the unlocking rod is orthogonal to the axis of the connecting rod.
9. The mounting structure for an optical encoder as set forth in claim 6, wherein The outer wall of the protective cover is also provided with a limiting groove extending in a first direction, and the inner wall of the unlocking ring is provided with a limiting block for cooperating with the limiting groove, and the limiting block can move along the limiting groove.
10. The mounting structure for an optical encoder as set forth in claim 1, wherein The outer wall of the support is provided with an annular sealing groove, a sealing ring is arranged in the sealing groove, and the inner wall of the protective cover can extrude the sealing ring to elastically deform.