Photoelectric encoder and rotating device

By designing grooves on the installation board and circuit board of the photoelectric encoder to enhance the adhesion strength of the code disk, and fix the sensor -optic chip through the fastener, the optical encoder code disk is easy to fall off and the sensitivity chip is easily affected by vibration. The problem improves the reliability and accuracy of the equipment.

CN222419096UActive Publication Date: 2025-01-28BEIJING TEBEIFU ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423005172.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-01-28
Estimated Expiration
2034-12-06

AI Technical Summary

Technical Problem

The code disc of the photoelectric encoder is susceptible to vibration and fall off, resulting in poor reliability, and the photosensitive chip will also be affected by vibration, affecting accuracy and stability.

Method used

Design a photoelectric encoder, which is equipped with a groove on the relative side of the installation board and the circuit board. The code disk is collected by the groove when the groove is collected to ensure that the thickness of the glue layer of the bonding area is consistent, and the adhesive strength is increased. Avoid falling off. At the same time, the circuit board and base of the fastener are connected to ensure that the sensitive chip is not easily affected by vibration.

Benefits of technology

It improves the reliability and accuracy of the photoelectric encoder, reduces the risk of shedding the code disk, and enhances the stability and vibration resistance of the structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222419096U_ABST
    Figure CN222419096U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of encoders. The utility model provides a photoelectric encoder and a rotating device in view of the problem that a code disc II of a photoelectric encoder in the prior art is easily influenced by vibration and falls off. The photoelectric encoder comprises a pedestal 2, wherein the pedestal 2 is provided with a mounting groove, an opening and a main shaft hole; the opening and the main shaft hole are respectively positioned on two sides of the mounting groove and are communicated with the mounting groove; the circuit board is arranged at the opening to block the opening; the second main shaft is arranged in the main shaft hole in a penetrating mode and can rotate in the main shaft hole; one end of the main shaft II extends into the mounting groove; the mounting plate is arranged at one end, extending into the mounting groove, of the main shaft II; a groove is formed in one surface, opposite to the circuit board, of the mounting plate; the code disc II is adhered to the surface, provided with the groove, of the mounting plate; and the photosensitive chip II is arranged on the circuit board and is opposite to the coded disc II. The coded disc II of the photoelectric encoder is high in bonding strength, and can be prevented from falling off after being vibrated, so that the reliability and the precision of the photoelectric encoder can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of encoders, and in particular to a photoelectric encoder and a rotating device. Background Art

[0002] Photoelectric encoder is an angle measurement device based on converting light signals into electrical signals. It uses the periodic changes of light to convert into periodic electrical signals, and converts these changes into usable digital or analog signals through circuit processing. Photoelectric encoders have the characteristics of strong anti-interference, high precision, high stability, etc., and are widely used in various places where angle measurement is required.

[0003] With the development of precision equipment, the requirements for the stability and accuracy of photoelectric encoders are getting higher and higher. However, in related technologies, the code disc is mostly connected to the main shaft by bonding.

[0004] In actual applications, the code disk is easily affected by vibration and falls off, resulting in poor reliability of the photoelectric encoder; and the photosensitive chip is also affected by vibration, thus affecting the accuracy and stability of the photoelectric encoder. Utility Model Content

[0005] To solve the problem that the code disk of the photoelectric encoder in the related art is easily affected by vibration and falls off;

[0006] The first aspect of the present application is to provide a photoelectric encoder;

[0007] A second aspect of the present application is to provide a rotating device.

[0008] In view of this, according to the first aspect of the present application, a photoelectric encoder is proposed, including: a base two, on which a mounting groove, an opening and a spindle hole are provided; the opening and the spindle hole are respectively located on both sides of the mounting groove, and are connected to the mounting groove; a circuit board is arranged at the opening to block the opening; a spindle two is passed through the spindle hole and can rotate in the spindle hole; one end of the spindle two extends into the mounting groove; a mounting plate is arranged at the end of the spindle two extending into the mounting groove; a groove is provided on the opposite side of the mounting plate and the circuit board; a code disk two is bonded to the side of the mounting plate where the groove is provided; a photosensitive chip two is arranged on the circuit board and is arranged opposite to the code disk two.

[0009] Compared with the bonding method of the code disc 2 and the plane in the related art, in the above embodiment, a groove is designed on the opposite side of the mounting plate and the circuit board. In this way, when the code disc 2 is bonded, on the one hand, the excess adhesive can be collected through the groove to ensure that the thickness of the adhesive layer in the bonding area remains consistent, thereby reducing the end face runout value of the code disc 2; on the other hand, the bonding strength of the code disc 2 can be increased to prevent it from falling off after being vibrated, thereby helping to improve the reliability and accuracy of the photoelectric encoder.

[0010] In some technical solutions, optionally, the groove is a V-shaped groove.

[0011] The bevel of the V-shaped groove increases the contact area between the groove and the rubber, thereby forming a stronger bonding strength. This helps to improve the bonding strength between the code disc 2 and the mounting plate, thereby improving the stability and reliability of the photoelectric encoder structure.

[0012] In some technical solutions, the photoelectric encoder may further include a fastener, which is used to connect the circuit board and the second base, wherein the distance between the second photosensitive chip and the fastener is less than or equal to the distance threshold, so that the photosensitive chip is arranged at a position adjacent to the fastener on the circuit board.

[0013] In practical applications, the circuit board and the base 2 are connected as one by fasteners, so that the circuit board can fit tightly on the base 2. Furthermore, the photosensitive chip 2 is arranged in the position area of ​​the circuit board adjacent to the fasteners, and the fixing effect provided by the fasteners makes the photosensitive chip 2 less susceptible to vibration, thereby improving the vibration resistance of the photosensitive chip 2, thereby improving the stability and accuracy of the photoelectric encoder.

[0014] In some technical solutions, optionally, the photoelectric encoder also includes a light source; the light source is arranged on the second base and is arranged opposite to the second photosensitive chip, and is respectively located on both sides of the second code disk.

[0015] In the above technical solution, a stable light source is provided to ensure that the photoelectric encoder can work normally.

[0016] In some technical solutions, the photoelectric encoder may further include a second bearing, which is disposed between the second spindle and the inner wall of the spindle hole. The support and rotation of the second bearing ensure that the second spindle rotates smoothly in the spindle hole, and the friction between the second spindle and the spindle hole can be reduced, thereby helping to improve the accuracy and stability of the photoelectric encoder.

[0017] In some technical solutions, optionally, the photoelectric encoder further includes a second elastic sheet; the second elastic sheet is arranged on a side of the base second where the spindle hole is provided.

[0018] The elastic sheet 2 has certain elasticity and buffering effect. In the above technical scheme, by setting the elastic sheet 2, it can absorb and disperse part of the vibration and impact during the rotation of the main shaft 2, thereby improving the overall stability and accuracy of the encoder; at the same time, it can also enable the photoelectric encoder to better adapt to different installation conditions and working environments, thereby improving the adaptability of the photoelectric encoder.

[0019] In some technical solutions, optionally, there are at least two elastic sheets 2, and at least two elastic sheets 2 are symmetrically arranged on both sides of the spindle hole. This design can further improve the overall stability and accuracy of the photoelectric encoder.

[0020] In some technical solutions, optionally, the photoelectric encoder also includes a second back cover; the second back cover is connected to the second base, and a protective cavity is formed between the second back cover and the circuit board.

[0021] In the above technical solution, by setting the back cover 2, a closed protective cavity is formed between the back cover 2 and the base 2, which provides a closed environment for the internal components, thereby effectively preventing dust, moisture and other impurities from entering the interior of the photoelectric encoder, so as to avoid damage to the sensitive elements of the photoelectric sensor, thereby helping to improve the stability and accuracy of the photoelectric encoder.

[0022] In some technical solutions, the rear cover 2 and the base 2 are optionally detachably connected. With this design, the internal components can be repaired by removing the rear cover 2.

[0023] According to the second aspect of the present application, the present application proposes a rotating device, comprising a rotating shaft and a photoelectric encoder proposed in any one of the above technical solutions; wherein the rotating shaft is connected to the main shaft 2. Therefore, the rotating device has all the beneficial effects of any one of the above technical solutions, which will not be repeated here.

[0024] Additional aspects and advantages of the present application will become apparent in the following description or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0026] Figure 1 One of the structural schematic diagrams of the photoelectric encoder in the related art is shown;

[0027] Figure 2 The second structural schematic diagram of the photoelectric encoder in the related art is shown;

[0028] Figure 3 A schematic diagram of the structure of the main shaft of a photoelectric encoder in the related art is shown;

[0029] Figure 4 One of the structural schematic diagrams of the photoelectric encoder in the embodiment of the present application is shown;

[0030] Figure 5 The second structural schematic diagram of the photoelectric encoder in the embodiment of the present application is shown;

[0031] Figure 6 The structure diagram of the main shaft 2 of the photoelectric encoder in the embodiment of the present application is shown;

[0032] Figure 7 Shows Figure 6 Schematic diagram of the enlarged structure at point C in the middle.

[0033] in, Figure 1 , Figure 2 and Figure 3 The corresponding relationship between the reference numerals and the component names is as follows:

[0034] 1' signal board; 2' a rear cover; 3' a code disk; 4' a base; 41' a support column; 5' a main shaft; 51' a code disk mounting surface; 6' a bearing; 7' an elastic sheet; 8' a photosensitive chip; 9' an LED lamp assembly; 10' a bushing.

[0035] Figures 4 to 7 The corresponding relationship between the reference numerals and the component names is as follows:

[0036] 10 photoelectric encoder; 100 base 2; 101 mounting groove; 102 opening; 103 spindle hole; 104 support part; 110 circuit board; 111 fastener; 120 spindle 2; 130 mounting plate; 131 groove; 140 code disk 2; 150 photosensitive chip 2; 160 light source; 170 bearing 2; 171; bushing 2; 180 elastic sheet 2; 190 back cover 2; 191 protective cavity. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0039] Reference Figure 1 , Figure 2 and Figure 3In the related art, the structure of the photoelectric encoder is as follows: a bearing 6' is installed in a hole of a base 4', a main shaft 5' is assembled in the inner hole of the bearing 6', a sleeve 10' is installed on the main shaft 5', a code disc 3' is bonded to the main shaft 5' by glue, an LED lamp assembly 9' is installed in the base 4', a signal board 1' is fastened to a support column 41' of the base 4' by screws, a photosensitive chip 8' is welded on the signal board, the center of the LED lamp assembly 9' is aligned with the center of the photosensitive chip 8', a rear cover 2' is fixed to the base 4', and an elastic sheet 7' is installed on the base 4'.

[0040] The photosensitive chip 8' of the photoelectric encoder is far away from the screw installation position of the signal board 1', which makes the photosensitive chip 8' susceptible to vibration, thereby affecting the accuracy and stability of the photoelectric encoder. In addition, the code disk installation surface 51' on the main shaft 5' is a plane. When subjected to vibration, the code disk 3' is easy to fall off, resulting in poor reliability of the photoelectric encoder.

[0041] In order to solve the problem that the code disc is easy to fall off, resulting in poor reliability of the photoelectric encoder, the present application proposes a photoelectric encoder and a rotating device.

[0042] Combine the following Figures 4 to 7 , the photoelectric encoder and rotating device provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0043] Reference Figure 4 and Figure 5 In an embodiment of the present application, a photoelectric encoder 10 is provided, the structure of which includes: a base 100, a circuit board 110, a main shaft 120, a mounting plate 130, a code disk 140 and a photosensitive chip 150.

[0044] Reference Figures 4 to 7 Specifically, the base 100 is provided with a mounting groove 101, an opening 102 and a spindle hole 103; the mounting groove 101 is used to install other components, and the opening 102 and the spindle hole 103 are respectively located on both sides of the mounting groove 101 and are connected to the mounting groove 101. The circuit board 110 is arranged at the opening 102 to block the opening 102. The spindle 120 is inserted into the spindle hole 103 and can rotate in the spindle hole 103; one end of the spindle 120 extends into the mounting groove 101. The mounting plate 130 is arranged at one end of the spindle 120 extending into the mounting groove 101, and rotates synchronously with the spindle 120; a groove 131 is provided on the opposite side of the mounting plate 130 and the circuit board 110. The code disk 140 is bonded to the side of the mounting plate 130 where the groove 131 is provided. The second photosensitive chip 150 is disposed on the circuit board 110 and is disposed opposite to the second code disk 140 , and is used to receive the light intensity signal change generated when the second code disk 140 rotates and convert it into an electrical signal.

[0045] Compared with the bonding method of the code disc 1 and the plane in the related art, in the above embodiment, a groove 131 is designed on the opposite side of the mounting plate 130 and the circuit board 110. In this way, when the code disc 2 140 is bonded, on the one hand, the groove 131 can collect excess adhesive to ensure that the thickness of the adhesive layer in the bonding area is consistent, thereby reducing the end face runout value of the code disc 2 140 (relative to the axial direction (such as Figure 4 On the one hand, it can also increase the bonding strength of the code disk 140 to prevent it from falling off after being vibrated, thereby helping to improve the reliability and accuracy of the photoelectric encoder 10.

[0046] In practical applications, the code disk 140 is a radial code disk (i.e., the light-transmitting and light-impermeable areas are arranged in the radial direction (e.g., Figure 4 The code discs are arranged in the direction shown in B in the figure), and the materials include glass or metal. Glass code discs have the advantages of high precision, high light transmittance and high stability, and are suitable for application scenarios with high measurement accuracy requirements. Metal code discs have the characteristics of high strength, wear resistance and high temperature resistance, and are suitable for harsh working environments or occasions that need to withstand large mechanical stress.

[0047] The fixing glue of the code disk 2 140 includes UV glue (Ultraviolet Rays) or AB glue (two-component glue). UV glue is a glue that is cured by ultraviolet irradiation. It has the advantages of fast curing speed, low curing temperature, and high strength after curing. In the manufacturing process of the photoelectric encoder, UV glue can quickly fix the code disk 2 140 on the mounting plate 130; in addition, UV glue also has good light transmittance and weather resistance, which can ensure the stability and reliability of the photoelectric encoder during long-term use. AB glue is a two-component glue. When using, the two parts of glue need to be mixed evenly in a certain proportion, and then applied to the parts that need to be bonded. AB glue has the advantages of high strength after curing, chemical corrosion resistance, and high temperature resistance. Although the curing speed of AB glue is relatively slow, it can release less heat and gas during the curing process, which is conducive to reducing the thermal impact and pollution on the internal components of the photoelectric encoder.

[0048] The second photosensitive chip 150 is soldered on the circuit board 110 .

[0049] Reference Figure 4 , Figure 6 and Figure 7 In the above embodiment, the groove 131 is a V-shaped groove. The oblique side of the V-shaped groove increases the contact area between the groove 131 and the rubber material, so that the groove 131 can collect more rubber material, thereby forming a stronger bonding strength, which helps to improve the bonding strength between the code disk 2 140 and the mounting plate 130, thereby improving the stability and reliability of the structure of the photoelectric encoder 10.

[0050] In practical applications, there are at least two grooves 131. By designing multiple grooves 131, it is helpful to achieve a more uniform distribution of the rubber. At the same time, such a design can further increase the bonding strength between the code disc 2 140 and the mounting plate 130, making the connection between the two more firm, thereby improving the overall stability of the entire structure.

[0051] Reference Figure 4 and Figure 5 In some embodiments, the photoelectric encoder 10 further includes a fastener 111. The base 100 is provided with a support portion 104, and the circuit board 110 is connected to the support portion 104 through the fastener 111, so that the circuit board 110 is tightly attached to the base 100. The distance between the photosensitive chip 150 and the fastener 111 is less than or equal to the distance threshold, that is, the distance between the photosensitive chip 150 and the fastener 111 is controlled within a certain range, so that the photosensitive chip 150 is arranged in the position area of ​​the circuit board 110 adjacent to the fastener 111.

[0052] In practical applications, the circuit board 110 and the base 2 100 are connected as one body through the fastener 111, so that the circuit board 110 can be closely attached to the base 2 100 to form a stable and reliable structure. Furthermore, the photosensitive chip 2 150 is arranged in the area of ​​the circuit board 110 adjacent to the fastener 111, so that the fixing effect provided by the fastener 111 can be utilized to make the photosensitive chip 2 150 less susceptible to vibration, thereby improving the vibration resistance of the photosensitive chip 2 150, thereby improving the stability and accuracy of the photoelectric encoder 10.

[0053] In some embodiments, the photoelectric encoder 10 further includes a light source 160. The light source 160 is disposed on the second base 100 and is disposed opposite to the second photosensitive chip 150 and is located on both sides of the second code disk 140 to provide a stable light source, thereby ensuring that the photoelectric encoder 10 can work normally.

[0054] In the above embodiment, the light source 160 includes an LED lamp.

[0055] Reference Figure 4 In some embodiments, the photoelectric encoder 10 further includes a second bearing 170. The second bearing 170 is disposed between the second spindle 120 and the wall of the spindle hole 103. Through the support and rotation of the second bearing 170, the second spindle 120 can be ensured to rotate smoothly in the spindle hole 103, and the friction between the second spindle 120 and the spindle hole 103 can be reduced, thereby helping to improve the accuracy and stability of the photoelectric encoder 10.

[0056] In practical applications, the second bearing 170 is fixed in the spindle hole 103 by AB glue or interference fit. It is understandable that the second spindle 120 can also be fixed to the second bearing 170 by AB glue or interference fit.

[0057] Reference Figure 4 and Figure 5 In the above embodiment, the photoelectric encoder 10 further includes a second sleeve 171, which is disposed on one side of the second base 100 where the spindle hole 103 is disposed. The second spindle 120 passes through the second sleeve 171. By providing the second sleeve 171, the friction between the second spindle 120 and other components can be reduced to ensure that the second spindle 120 can operate stably.

[0058] In some embodiments, the photoelectric encoder 10 further includes an elastic sheet 180. The elastic sheet 180 is disposed on one side of the base 100 where the spindle hole 103 is disposed. The elastic sheet 180 has a certain elasticity and buffering effect. By providing the elastic sheet 180, part of the vibration and impact can be absorbed and dispersed during the rotation of the spindle 120, thereby improving the overall stability and accuracy of the encoder; at the same time, during the installation of the photoelectric encoder 10, due to factors such as deviation, there will be a small gap between the photoelectric encoder 10 and the installation surface. Through the elastic compensation mechanism of the elastic sheet 180, the photoelectric encoder 10 can better adapt to different installation conditions and working environments, thereby improving the adaptability of the photoelectric encoder 10.

[0059] In the above embodiment, there are at least two elastic pieces 180, and at least two elastic pieces 180 are symmetrically arranged on both sides of the spindle hole 103. Such a design can further improve the overall stability and accuracy of the photoelectric encoder 10.

[0060] Reference Figure 4 In some embodiments, the photoelectric encoder 10 further includes a second rear cover 190. The second rear cover 190 is connected to the second base 100, and a protective cavity 191 is formed between the second rear cover 190 and the second base 100. By providing the second rear cover 190, a closed protective cavity 191 is formed between the second rear cover 190 and the second base 100, providing a closed environment for the internal components, thereby effectively preventing dust, moisture and other impurities from entering the interior of the photoelectric encoder 10, so as to avoid damage to the sensitive components of the photoelectric encoder 10, thereby helping to improve the stability and accuracy of the photoelectric encoder 10.

[0061] In the above embodiment, the second rear cover 190 and the second base 100 are detachably connected. When the photoelectric encoder 10 has an internal fault or needs maintenance, the internal components can be repaired by removing the second rear cover 190 .

[0062] Exemplarily, the second back cover 190 and the second base 100 may be connected by means of screws, threads or bonding, but the present embodiment is not limited thereto.

[0063] In some embodiments, the present application further provides a rotating device, comprising a rotating shaft and a photoelectric encoder 10 provided in any of the above embodiments; wherein the rotating shaft is connected to the main shaft 2 120 of the photoelectric encoder 10. Therefore, the rotating device has all the beneficial effects of any of the above embodiments, which will not be repeated here.

[0064] It should be clarified that in the claims, specification and drawings of the present application, the term "multiple" refers to two or more than two. Unless otherwise clearly defined, the orientation or position relationship indicated by the terms "upper" and "lower" is based on the orientation or position relationship shown in the drawings, which is only for the purpose of more conveniently describing the present application and making the description process easier, rather than indicating or implying that the device or element referred to must have the specific orientation described, be constructed and operated in a specific orientation, so these descriptions cannot be understood as limitations on the present application; the terms "connect", "install", "fix" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection between multiple objects, or a detachable connection between multiple objects, or an integral connection; it can be a direct connection between multiple objects, or an indirect connection between multiple objects through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood based on the specific circumstances of the above data.

[0065] In the claims, specification and drawings of the present application, the description of the terms "one embodiment", "some embodiments", "specific embodiments" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the claims, specification and drawings of the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0066] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A photoelectric encoder, characterized in that: include: A second base, wherein the second base is provided with a mounting groove, an opening and a spindle hole; the opening and the spindle hole are respectively located on both sides of the mounting groove and are communicated with the mounting groove; A circuit board is arranged at the opening to block the opening; The second main shaft is inserted into the main shaft hole and can rotate in the main shaft hole; one end of the second main shaft extends into the mounting groove; A mounting plate is arranged at one end of the second spindle extending into the mounting groove; a groove is arranged on a side of the mounting plate opposite to the circuit board; Code disc 2, bonded to a surface of the mounting plate provided with the groove; The second photosensitive chip is arranged on the circuit board and is arranged opposite to the second code disc.

2. The photoelectric encoder according to claim 1, characterized in that: The groove is a V-shaped groove.

3. The photoelectric encoder according to claim 1, characterized in that: The photoelectric encoder further comprises a fastener; the fastener is used to connect the circuit board and the second base; Wherein, the distance between the second photosensitive chip and the fastener is less than or equal to a distance threshold.

4. The photoelectric encoder according to claim 1, characterized in that: The photoelectric encoder also includes a light source; the light source is arranged on the second base and is arranged opposite to the second photosensitive chip, and is respectively located on both sides of the second code disk.

5. The photoelectric encoder according to claim 1, characterized in that: The photoelectric encoder further includes a second bearing; the second bearing is arranged between the second spindle and the inner wall of the spindle hole.

6. The photoelectric encoder according to claim 1, characterized in that: The photoelectric encoder further comprises a second elastic sheet; the second elastic sheet is arranged on a side of the second base where the spindle hole is arranged.

7. The photoelectric encoder according to claim 6, characterized in that: There are at least two elastic sheets 2; at least two elastic sheets 2 are symmetrically arranged on both sides of the main shaft hole.

8. The photoelectric encoder according to any one of claims 1 to 7, characterized in that: The photoelectric encoder further includes a second rear cover; the second rear cover is connected to the second base, and a protective cavity is formed between the second rear cover and the circuit board.

9. The photoelectric encoder according to claim 8, characterized in that: The second back cover and the second base are detachably connected.

10. A rotating device, characterized in that: A photoelectric encoder comprising a rotating shaft and any one of claims 1 to 9; Wherein, the rotating shaft is connected to the second main shaft.