Long-life photoelectric encoder

By using rotary feedback modules and switch modules in the photoelectric encoder, power is only supplied when the rotational axis state changes, the problem of shortening the light source life of the photoelectric encoder in high temperature environments is solved, and the effect of extending the service life and improving reliability is achieved.

CN119555123APending Publication Date: 2025-03-04FLOWINN SHANGHAI IND
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411651959.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The existing photoelectric encoder shortens the light source life in high temperature environments, and temperature fluctuations are difficult to completely eliminate interference to measurement results, resulting in reduced equipment performance and reduced reliability.

Method used

The rotary feedback module and the switch module are used to turn on the power supply circuit only when the rotary shaft state changes, reducing power consumption in the non-operating state and extending the service life of the light emitting diode.

Benefits of technology

It effectively extends the service life of the photoelectric encoder, improves the overall reliability and stability of the equipment, and reduces damage caused by overheating due to long-term power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119555123A_ABST
    Figure CN119555123A_ABST
Patent Text Reader

Abstract

The invention relates to a long-life photoelectric encoder, and belongs to the field of photoelectric encoders, the long-life photoelectric encoder comprises a shell, a rotating shaft is rotatably inserted in the center of one end of the shell through a bearing, and the rotating shaft is located in the shell and is provided with a rotation feedback module for feeding back the state of the rotating shaft; the light-emitting diode is arranged in the shell, a rotating shaft penetrates through one end of the light-emitting diode, the light-emitting diode is electrically connected with a power supply through a power supply circuit, the power supply is provided with a switch module used for turning on or turning off the power supply circuit, and the rotating feedback module is connected with the switch module. The service life of the photoelectric encoder can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photoelectric encoders, and in particular to a long-life photoelectric encoder. Background Art

[0002] As an important sensor, photoelectric encoders are widely used in industrial automation, aerospace, medical equipment and other fields to accurately measure the angle and position information of rotating objects. Photoelectric encoders achieve high-precision and high-reliability measurements by converting physical quantities into electrical signals.

[0003] At present, in order to improve the accuracy and stability of measurement, existing photoelectric encoders usually use stable light sources and precise optical systems. For example, commonly used light sources include LEDs and lasers. The light emitted by these light sources is focused by a lens system and irradiated onto the code disc, which is then received by the photosensitive element and converted into an electrical signal. In addition, some advanced photoelectric encoders also use temperature compensation technology, which monitors the ambient temperature in real time through a built-in temperature sensor and adjusts the parameters of the light source and optical system to reduce the impact of temperature changes on the measurement results.

[0004] Although the above technical means have improved the performance and reliability of photoelectric encoders to a certain extent, there are still obvious shortcomings. First of all, whether it is LED or laser, the service life of these light sources will be affected by the ambient temperature. Especially in high temperature environments, the life of the light source will be significantly shortened, resulting in the overall performance of the encoder being reduced or even failing. Secondly, although temperature compensation technology can partially alleviate the impact of temperature changes, it is still difficult to completely eliminate the interference of temperature fluctuations on measurement results under extreme conditions. As a key component, the life of the photoelectric encoder directly determines the reliability of the equipment. Therefore, how to effectively extend the service life of the photoelectric encoder has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In order to address the deficiencies in the prior art, the present application provides a long-life photoelectric encoder, which can extend the service life of the photoelectric encoder.

[0006] The first purpose of this application is to provide a long-life photoelectric encoder, using the following technical solution: A long-life photoelectric encoder, comprising: A housing, wherein a rotating shaft is rotatably inserted through the center of one end of the housing through a bearing, and a rotating feedback module for feeding back the state of the rotating shaft is provided inside the housing; A light emitting diode is arranged inside a shell and is inserted with a rotating shaft at one end. The light emitting diode is electrically connected to a power supply through a power supply circuit. The power supply is provided with a switch module for turning on or off the power supply circuit. The rotation feedback module is connected to the switch module.

[0007] By adopting the above technical solution, the rotary feedback module detects the state of the rotating shaft and turns on the power supply circuit only when needed, reducing the power consumption of the encoder when not working, thereby reducing the damage caused by overheating due to long-term power supply, and effectively extending the service life of the light-emitting diode. When the rotating shaft is not working, the power supply circuit is in a closed state to reduce the power consumption of the photoelectric encoder, which not only extends the service life of the light-emitting diode, but also improves the overall reliability and stability of the photoelectric encoder.

[0008] The present application further provides that: the rotation feedback module includes: A coding disk, a prism is arranged on one side of the light emitting diode, and the coding disk is arranged on the rotating axis at the end of the prism away from the light emitting diode; The magnetic steel is arranged at the end of the rotating shaft on the side of the encoding disk away from the prism, and the switch module is arranged on the side of the magnetic steel away from the rotating shaft.

[0009] By adopting the above technical solution, when the rotating shaft rotates, the change in magnetic field force generated by the magnet quickly triggers the switch module to turn on the power supply circuit of the light-emitting diode. When the rotating shaft does not rotate, no change in magnetic field force is generated, triggering the switch module to turn off the power supply circuit of the light-emitting diode. Therefore, when the switch module receives the change in the magnetic field, it can immediately act on the power supply circuit, thereby improving the response speed and accuracy of the switch module.

[0010] The present application further arranges: the power supply circuit is provided with a D trigger and a MOS tube, the input pin of the D trigger is connected to the output pin of the switch module, the output pin of the D trigger is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply, and the source of the MOS tube is connected to the negative electrode of the power supply.

[0011] By adopting the above technical solution, the output pin of the switch module can store the high and low level output states of the switch module in the D flip-flop, effectively control the on and off states of the MOS tube, and thus realize precise control of the power supply circuit, and can start the photoelectric encoder in time when the rotating shaft is working to ensure its normal operation, and disconnect the power supply when the rotating shaft is stationary, thereby reducing unnecessary energy consumption and extending the service life of the light-emitting diode.

[0012] The present application further provides that: the switch module includes a reed switch, the reed switch is arranged inside the shell on the side of the magnet away from the rotating axis, and the output pin of the reed switch is connected to the input pin of the D trigger.

[0013] By adopting the above technical solution, the reed switch opens and closes when the direction of the magnetic field of the magnet changes, resulting in a change in high and low levels, and the MOS tube is turned on through the D trigger, thereby turning on the power supply circuit and making the light-emitting diode work; when the rotating shaft stops rotating, the direction of the magnetic field of the magnet no longer changes, the reed switch no longer opens and closes repeatedly, and the level no longer changes, thereby turning off the power supply circuit and cutting off the power supply to the light-emitting diode, which can effectively avoid continuous power supply in a non-rotating state, thereby reducing the heat of the light-emitting diode and extending the service life of the light-emitting diode.

[0014] The present application further provides that: the switch module includes a Hall switch, the Hall switch is arranged inside the shell on the side of the magnet away from the rotating axis, and the output pin of the Hall switch is connected to the input pin of the D trigger.

[0015] By adopting the above technical solution, the Hall switch detects the change in the direction of the magnetic field of the magnet, causing the switch module to turn on or off the power supply circuit to control the power supply of the light-emitting diode, which can effectively prevent the light-emitting diode from overheating due to long-term power supply in the non-working state and extend its service life.

[0016] The present application further provides that: the switch module includes a magnetic encoding chip, the magnetic encoding chip is arranged inside the shell on the side of the magnetic steel away from the rotating axis, and the output pin of the magnetic encoding chip is connected to the input pin of the D trigger.

[0017] By adopting the above technical solution, the magnetic encoding chip can detect the state of the rotating shaft more accurately, thereby achieving more reliable switch control, thereby extending the service life of the photoelectric encoder. In addition, the magnetic encoding chip has higher integration and anti-interference ability, and can work stably in complex environments, further improving the reliability and adaptability of the photoelectric encoder.

[0018] In a second aspect, the present application provides a protection method for a long-life photoelectric encoder, which is applied to any of the above-mentioned long-life photoelectric encoders and adopts the following technical solution: A1: The rotation feedback module detects whether the rotation axis rotates; A2: If the rotating shaft rotates, the rotation feedback module controls the switch module to turn on the power supply circuit of the power supply, and the power supply provides current to the light-emitting diode through the power supply circuit. If the rotating shaft does not rotate, the rotation feedback module controls the switch module to turn off the power supply circuit of the power supply.

[0019] By adopting the above technical solution, when the rotating shaft rotates, the rotational feedback module controls the switch module to turn on the power supply circuit of the power supply, so that the power supply provides current to the light-emitting diode through the power supply circuit; when the rotating shaft does not rotate, the rotational feedback module directly controls the switch module to turn off the power supply circuit of the power supply, thereby effectively reducing the heating of the light-emitting diode, extending the service life of the light-emitting diode, and thereby improving the overall life and reliability of the photoelectric encoder.

[0020] In a preferred example, the present application can be further configured as follows: the power supply circuit is provided with a D flip-flop and a MOS tube, the input pin of the D flip-flop is connected to the output pin of the switch module, the output pin of the D flip-flop is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply, and the source of the MOS tube is connected to the negative electrode of the power supply, and the A1 includes: A10: The D flip-flop stores the high and low level conversion of the switch module; A11: If the D flip-flop detects that the switch module has a high-low level change, the MOS tube is turned on to start the power supply circuit. If the D flip-flop does not detect that the switch module has a high-low level change, the MOS tube is turned off to turn off the power supply circuit.

[0021] By adopting the above technical solution, the power supply circuit is turned on only when the level change is detected, and the power supply circuit is turned off when the level change is not detected, thereby reducing unnecessary energy consumption.

[0022] In a preferred example, the present application can be further configured as follows: the switch module includes a reed switch, the reed switch is arranged inside the housing and located on the side of the magnet away from the rotating shaft, the output pin of the reed switch is connected to the input pin of the D trigger, and the A11 includes: If the reed switch receives the change in the direction of the magnetic field generated by the rotation of the rotating shaft, the D trigger detects the change in the high and low levels of the reed switch, and turns on the MOS tube to start the power supply circuit; If the reed switch does not receive the change in the direction of the magnetic field generated by the rotation of the rotating shaft, and the D trigger does not detect the change in the high and low levels of the reed switch, the MOS tube is turned off to close the power supply circuit.

[0023] By adopting the above technical solution, the reed switch, as a part of the switch module, can accurately control the opening and closing of the power supply circuit according to the change in the direction of the magnetic field generated by the rotation of the rotating shaft. When the rotating shaft rotates, the change in the direction of the magnetic field of the magnetic steel causes the reed switch to open and close repeatedly, resulting in a high and low level change, and the switch module turns on the power supply circuit to ensure the normal operation of the light-emitting diode; when the rotating shaft stops rotating, the magnetic steel no longer produces a change in the direction of the magnetic field, the reed switch no longer opens and closes repeatedly, and the switch module cuts off the power supply circuit, effectively reducing unnecessary energy consumption of the light-emitting diode.

[0024] In a preferred example, the present application can be further configured as follows: the switch module includes a Hall switch or a magnetic encoding chip, the Hall switch or the magnetic encoding chip is arranged inside the housing and located on the side of the magnetic steel away from the rotating shaft, the output pin of the Hall switch or the magnetic encoding chip is connected to the input pin of the D trigger, and the A11 includes: If the Hall switch or magnetic encoding chip receives the change of the magnetic field force generated by the rotation of the rotating shaft, the Hall switch or magnetic encoding chip outputs high and low levels alternately, and the D trigger detects the high and low levels output by the Hall switch or magnetic encoding chip, and turns on the MOS tube to start the power supply circuit; If the Hall switch or magnetic encoding chip does not receive the change of the magnetic field force generated by the rotation of the rotating shaft, the Hall switch or magnetic encoding chip outputs a high level. The D trigger detects the high level of the Hall switch or magnetic encoding chip, then the MOS tube is turned off and the power supply circuit is turned off.

[0025] By adopting the above technical solution, when the rotating shaft rotates, the magnetic steel generates a magnetic field force, and the Hall switch or the magnetic encoding chip outputs a high or low level when receiving the magnetic field force, the MOS tube is turned on, and the power supply circuit is turned on, thereby supplying power to the light-emitting diode; when the rotating shaft does not rotate, the Hall switch or the magnetic encoding chip does not receive the magnetic field force and outputs a high level, the MOS tube is turned off, the power supply circuit is turned off, and the light-emitting diode is stopped from being supplied with power, so as to reduce the use time of the light-emitting diode, reduce its workload, and extend its service life.

[0026] In summary, this application has the following beneficial effects: 1. This application sets a rotation feedback module and a switch module. When the rotating shaft does not rotate, the power supply circuit is automatically disconnected, thereby reducing the energy consumption of the light-emitting diode in a non-working state, thereby extending the service life of the light-emitting diode; 2. This application uses a magnetic steel and a switch module (such as a reed switch, a Hall switch or a magnetic encoding chip) in combination, which can quickly respond to the change of the magnetic field force generated by the magnetic steel when the rotating shaft rotates, realize accurate control of the power supply circuit, and ensure that the power supply to the light-emitting diode is turned on or off in time when needed, further improving the stability and reliability of the photoelectric encoder; BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 It is a schematic diagram of the overall structure of Example 1 of the present application.

[0027] Figure 2 It is a schematic diagram of the overall structure of Example 2 of the present application.

[0028] Figure 3 It is a schematic diagram of the overall structure of Example 3 of the present application.

[0029] Figure 4 This is a flow chart of a protection method for a long-life photoelectric encoder in one embodiment of the present application.

[0030] Figure 5 It is a sub-step flow chart of step A1 in one embodiment of the present application.

[0031] Figure 6 It is a sub-step flow chart of step A11 in one embodiment of the present application.

[0032] Figure 7 This is a sub-step flowchart of step A11 in another embodiment of the present application.

[0033] Figure numerals: 1. housing; 2. rotating shaft; 3. rotating feedback module; 30. encoding disk; 31. prism; 32. magnet; 4. light-emitting diode; 5. power supply; 6. switch module; 60. reed switch; 61. Hall switch; 62. magnetic encoding chip. DETAILED DESCRIPTION

[0034] The following is combined with Figures 1 to 7 This application is described in further detail.

[0035] Embodiment 1: refer to Figure 1In this embodiment, a long-life photoelectric encoder includes a housing 1 and a light-emitting diode 4. A rotating shaft 2 is rotatably inserted through a bearing at the center of one end of the housing 1. The rotating shaft 2 is located inside the housing 1 and is provided with a rotation feedback module 3. The rotation feedback module 3 is used to feedback the state of the rotating shaft 2. The light-emitting diode 4 is provided inside the housing 1 and is provided with the rotating shaft 2 at one end. The light-emitting diode 4 is electrically connected to a power supply 5 through a power supply circuit. The power supply 5 is provided with a switch module 6. The switch module 6 is used to turn on or off the power supply circuit. The rotation feedback module 3 is connected to the switch module 6 to achieve the purpose of the rotation feedback module 3 detecting the state of the rotating shaft 2. Specifically, when the rotation feedback module 3 detects and feedbacks that the rotating shaft 2 is rotating, the switch module 6 is controlled to turn on the power supply circuit. When the rotating shaft 2 has no obvious rotation, the switch module 6 is controlled to turn off the power supply circuit to reduce the power consumption of the encoder in the non-working state, thereby reducing the risk of overheating due to long-term power supply, and effectively extending the service life of the light-emitting diode 4. Preferably, the light-emitting diode 4 can be a common red LED or a blue LED. These two types of LEDs have a long service life and low power consumption.

[0036] Furthermore, a prism 31 is provided on one side of the light emitting diode 4, and the rotation feedback module 3 includes a code disk 30 and a magnet 32. The code disk 30 is provided on the rotating shaft 2 at the end of the prism 31 away from the light emitting diode 4. When the light emitting diode 4 emits light, it is first focused into a parallel light beam by the prism 31, and then irradiated onto the code disk 30. The code disk 30 is engraved with regular light-transmitting and opaque lines. When the code disk 30 rotates, the light beam passes through the light-transmitting lines and irradiates the photosensitive tube on the opposite side. The photosensitive tube detects whether there is a change in light, and converts these changes into a signal. The magnetic steel 32 is fixedly connected to the end of the rotating shaft 2 on the side of the encoder disk 30 away from the prism 31, and the switch module 6 is arranged on the side of the magnetic steel 32 away from the rotating shaft 2. When the rotating shaft 2 rotates, the magnetic steel 32 also rotates synchronously with the rotating shaft 2, thereby generating a change in the direction of the magnetic field, turning on the power supply circuit of the light-emitting diode 4, and when the rotating shaft 2 does not rotate, the magnetic steel 32 no longer generates a change in the direction of the magnetic field, thereby triggering the switch module 6 to turn off the power supply circuit of the light-emitting diode 4. By changing the direction of the magnetic field, the power supply circuit is turned on and off, which improves the response speed and accuracy of the switch module 6. Specifically, the encoder disk 30 can select a grating ruler to control the change of the light emitted by the light-emitting diode 4.

[0037] Furthermore, the power supply circuit is provided with a D trigger and a MOS tube, the input pin of the D trigger is connected to the output pin of the switch module 6, the output pin of the D trigger is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply 5, and the source of the MOS tube is connected to the negative electrode of the power supply 5, so that the high and low level output states of the switch module 6 are stored by the D trigger to control the on and off states of the MOS tube, thereby realizing the control of the on and off of the power supply circuit. Specifically, when the rotating shaft 2 is working, the D trigger turns on the MOS tube, starts the light emitting diode 4, and ensures the normal operation of the photoelectric encoder, and when the rotating shaft 2 is stationary, the D trigger turns off the MOS tube, disconnects the power supply 5 of the light emitting diode 4, reduces unnecessary energy consumption, and prolongs the service life of the light emitting diode 4.

[0038] Furthermore, the switch module 6 includes a reed switch 60, which is arranged inside the housing 1 on the side of the magnet 32 ​​away from the rotating shaft 2, and the output pin of the reed switch 60 is connected to the input pin of the D trigger. When the magnet 32 ​​rotates, the magnetic field lines of the magnetic field can pass through the two reeds at the same time, so that the two reeds are magnetized to different polarities, and then they will attract each other and close the switch. If the direction of the magnetic field makes the two reeds have the same polarity after magnetization, they will not attract each other, but will move away from each other because like poles repel each other, causing the switch to remain in an open state. Therefore, the reed switch 60 can be repeatedly opened and closed when the magnet 32 ​​rotates. When the reed of the reed switch 60 is attracted by the action of the magnetic field, the circuit is closed and a low level is output; when the magnetic field disappears and the reeds are separated by elasticity, the circuit is disconnected and a high level is output. The magnet 32 ​​rotates with the rotating shaft 2 to generate a changing magnetic field direction. The reed switch 60 is repeatedly opened and closed under the change of the magnetic field direction, thereby generating a change in high and low levels. At this time, the MOS tube is turned on by the D trigger, thereby turning on the power supply circuit and making the light-emitting diode 4 work; when the rotating shaft 2 stops rotating, the magnetic field direction of the magnet 32 ​​no longer changes, the reed switch 60 no longer repeatedly opens and closes, and the level no longer changes. At this time, the MOS tube is turned off by the D trigger, thereby turning off the power supply circuit and cutting off the power supply to the light-emitting diode 4, which can effectively avoid continuous power supply when the rotating shaft 2 is in a non-rotating state, thereby reducing the heat generation of the light-emitting diode 4 and extending the service life of the light-emitting diode 4.

[0039] Embodiment 2: refer to Figure 2, the difference between Example 2 and Example 1 lies in the setting of the switch module 6. In this embodiment, the switch module 6 includes a Hall switch 61, which is arranged inside the housing 1 on the side of the magnetic steel 32 away from the rotating shaft 2, and the output pin of the Hall switch 61 is connected to the input pin of the D trigger. The Hall switch 61 is a magnetic sensitive element based on the Hall effect, which can detect the change of the direction of the magnetic field. When the rotating shaft 2 rotates, the magnetic steel 32 rotates with the rotating shaft 2, generating a magnetic field change. The Hall switch 61 detects the change in the direction of the magnetic field and outputs a high and low level signal to turn on the power supply circuit of the switch module 6. When the Hall switch 61 is not affected by the change in the direction of the magnetic field and outputs a high and low level, it turns off the power supply circuit to control the power supply of the light-emitting diode 4, which can effectively avoid the overheating caused by the long-term power-on of the light-emitting diode 4 in the non-working state, prolong the service life of the light-emitting diode 4, and at the same time reduce energy consumption and improve the overall reliability and stability of the photoelectric encoder.

[0040] Embodiment 3: refer to Figure 3 , the difference between embodiment 3 and other embodiments lies in the setting of the switch module 6. In this embodiment, the switch module 6 includes a magnetic encoding chip 62, which is arranged inside the housing 1 on the side of the magnetic steel 32 away from the rotating shaft 2, and the magnetic encoding chip 62 is electrically connected to the power supply circuit. The magnetic encoding chip 62 can adopt a monolithic integrated magnetic encoding chip 62, which integrates a Hall sensor and a signal processing circuit, and can directly output a digital signal, which is convenient for interfacing with a microcontroller or other external devices. When the magnetic encoding chip 62 detects the change of the magnetic field generated by the magnetic steel 32, it outputs alternating high and low levels, the D trigger triggers the MOS tube to turn on, the power supply circuit is turned on, and the light-emitting diode 4 is lit; when the magnetic encoding chip 62 does not detect the magnetic field, no alternating high and low levels are generated, at this time the D trigger triggers the MOS tube to turn off, the power supply circuit is turned off, and the light-emitting diode 4 is extinguished. The magnetic encoding chip 62 can monitor the rotation state of the rotating shaft 2 with higher accuracy, thereby realizing more stable switch control and effectively extending the service life of the photoelectric encoder. At the same time, the magnetic encoding chip 62 can maintain stable operation in a complex environment due to its high integration and excellent anti-interference performance, further enhancing the reliability and adaptability of the photoelectric encoder.

[0041] Embodiment 4: The difference between this embodiment and other embodiments lies in the setting of the switch module 6. In this embodiment, the switch module 6 is set as a reed switch 60 and / or a Hall switch 61 or a magnetic encoding chip 62, and one switch can be used alone or two or more switches can be used to control the opening and closing of the power supply circuit, so as to improve the flexibility of controlling the power supply circuit.

[0042] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

[0043] refer to Figure 4 , a protection method for a long-life photoelectric encoder, applied to any of the above-mentioned long-life photoelectric encoders, specifically comprising: A1: The rotation feedback module 3 detects whether the rotation axis 2 is rotating.

[0044] A2: If the rotating shaft 2 rotates, the rotation feedback module 3 controls the switch module 6 to turn on the power supply circuit of the power supply 5, and the power supply 5 provides current to the light-emitting diode 4 through the power supply circuit. If the rotating shaft 2 does not rotate, the rotation feedback module 3 controls the switch module 6 to turn off the power supply circuit of the power supply 5.

[0045] refer to Figure 5 The power supply circuit is provided with a D flip-flop and a MOS tube, the input pin of the D flip-flop is connected to the output pin of the switch module 6, the output pin of the D flip-flop is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply 5, and the source of the MOS tube is connected to the negative electrode of the power supply 5. The sub-steps of the refinement of step A1 include: A10: D flip-flop stores the change of high and low levels of switch module 6.

[0046] A11: If the D flip-flop detects that the switch module 6 changes between high and low levels, the MOS tube is turned on to start the power supply circuit. If the D flip-flop does not detect that the switch module 6 changes between high and low levels, the MOS tube is turned off to shut down the power supply circuit.

[0047] refer to Figure 6 The switch module 6 includes a reed switch 60, which is disposed inside the housing 1 and located on a side of the magnetic steel 32 away from the rotating shaft 2. The output pin of the reed switch 60 is connected to the input pin of the D flip-flop. The sub-steps of step A11 include: A110: When a plurality of reed switches 60 receive the change in direction of the magnetic field generated by the rotation of the rotating shaft 2 by the magnet 32, the D trigger detects the change in the high and low levels of the reed switch 60, and turns on the MOS tube to start the power supply circuit.

[0048] A111: When the reed switches 60 do not receive the change in the direction of the magnetic field generated by the rotation of the magnet 32 ​​due to the rotation of the rotating shaft 2 and the D trigger does not detect the change in the high and low levels of the reed switches 60, the MOS tube is cut off and the power supply circuit is turned off.

[0049] refer to Figure 7The switch module 6 includes a Hall switch 61 or a magnetic encoding chip 62, which is arranged inside the housing 1 and located on the side of the magnetic steel 32 away from the rotating shaft 2. The output pin of the Hall switch 61 or the magnetic encoding chip 62 is connected to the input pin of the D trigger. The sub-steps of the detailed step A11 include: A112: When the Hall switch 61 or the magnetic encoding chip 62 receives the change of the magnetic field force generated by the rotation of the rotating shaft 2 on the magnet 32, the Hall switch 61 or the magnetic encoding chip 62 outputs high and low levels alternately. The D trigger detects the high and low levels output by the Hall switch 61 or the magnetic encoding chip 62, and turns on the MOS tube to start the power supply circuit.

[0050] A113: If the Hall switch 61 or the magnetic encoding chip 62 does not receive the change of the magnetic field force generated by the rotation of the rotating shaft 2 on the magnet 32, the Hall switch 61 or the magnetic encoding chip 62 outputs a high level, and the D trigger detects the high level of the Hall switch 61 or the magnetic encoding chip 62, then the MOS tube is cut off, and the power supply circuit is turned off.

[0051] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims

1. A long-life photoelectric encoder, characterized in that: include: A housing (1), wherein a rotating shaft (2) is rotatably inserted through a bearing at the center of one end of the housing (1), and the rotating shaft (2) is located inside the housing (1) and is provided with a rotating feedback module (3) for feeding back the state of the rotating shaft (2); A light emitting diode (4), wherein the light emitting diode (4) is arranged inside the housing (1) and is inserted with a rotating shaft (2) at one end, the light emitting diode (4) is electrically connected to a power supply (5) through a power supply circuit, the power supply (5) is provided with a switch module (6) for turning on or off the power supply circuit, and the rotation feedback module (3) is connected to the switch module (6).

2. A long-life photoelectric encoder according to claim 1, characterized in that: The rotation feedback module (3) comprises: A coding disk (30), a prism (31) is arranged on one side of the light emitting diode (4), and the coding disk (30) is arranged on the rotating shaft (2) at an end of the prism (31) away from the light emitting diode (4); A magnetic steel (32), wherein the magnetic steel (32) is arranged at an end of the rotating shaft (2) on a side of the encoding disk (30) away from the prism (31), and the switch module (6) is arranged on a side of the magnetic steel (32) away from the rotating shaft (2).

3. A long-life photoelectric encoder according to claim 2, characterized in that: The power supply circuit is provided with a D flip-flop and a MOS tube, the input pin of the D flip-flop is connected to the output pin of the switch module (6), the output pin of the D flip-flop is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply (5), and the source of the MOS tube is connected to the negative electrode of the power supply (5).

4. A long-life photoelectric encoder according to claim 3, characterized in that The switch module (6) comprises a reed switch (60), wherein the reed switch (60) is arranged inside the housing (1) and located on a side of the magnet (32) away from the rotating shaft (2), and an output pin of the reed switch (60) is connected to an input pin of a D trigger.

5. A long-life photoelectric encoder according to claim 3, characterized in that: The switch module (6) comprises a Hall switch (61), wherein the Hall switch (61) is arranged inside the housing (1) and located on a side of the magnet (32) away from the rotating shaft (2), and an output pin of the Hall switch (61) is connected to an input pin of a D trigger.

6. A long-life photoelectric encoder according to claim 3, characterized in that: The switch module (6) comprises a magnetic encoding chip (62), the magnetic encoding chip (62) being arranged inside the housing (1) and located on a side of the magnetic steel (32) away from the rotating shaft (2), and the output pin of the magnetic encoding chip (62) being connected to the input pin of the D trigger.

7. A protection method for a long-life photoelectric encoder, applied to a long-life photoelectric encoder as claimed in any one of claims 1 to 6, characterized in that: A1: The rotation feedback module (3) detects whether the rotation axis (2) is rotating; A2: If the rotating shaft (2) rotates, the rotating feedback module (3) controls the switch module (6) to turn on the power supply circuit of the power supply (5), and the power supply (5) provides current to the light-emitting diode (4) through the power supply circuit; if the rotating shaft (2) does not rotate, the rotating feedback module (3) controls the switch module (6) to turn off the power supply circuit of the power supply (5).

8. The protection method of a long-life photoelectric encoder according to claim 7, characterized in that: The power supply circuit is provided with a D flip-flop and a MOS tube, the input pin of the D flip-flop is connected to the output pin of the switch module (6), the output pin of the D flip-flop is connected to the gate of the MOS tube, the drain of the MOS tube is connected to the positive electrode of the power supply (5), and the source of the MOS tube is connected to the negative electrode of the power supply (5), and the A1 comprises: A10: the D flip-flop stores the high and low level conversion of the switch module (6); A11: If the D flip-flop detects that the switch module (6) has a high-low level change, the MOS tube is turned on to start the power supply circuit; if the D flip-flop does not detect that the switch module (6) has a high-low level change, the MOS tube is turned off to shut down the power supply circuit.

9. The protection method of a long-life photoelectric encoder according to claim 8, characterized in that: The switch module (6) comprises a reed switch (60), the reed switch (60) being arranged inside the housing (1) and located on a side of the magnet (32) away from the rotating shaft (2), the output pin of the reed switch (60) being connected to the input pin of the D flip-flop, and the A11 comprising: When the reed switch (60) receives a change in the direction of the magnetic field generated by the rotation of the magnetic steel (32) by the rotating shaft (2), the D trigger detects a change in the high and low levels of the reed switch (60), and turns on the MOS tube to start the power supply circuit; If the reed switch (60) does not receive the change in direction of the magnetic field generated by the rotation of the magnetic steel (32) due to the rotation of the rotating shaft (2), and the D trigger does not detect the change in the high and low levels of the reed switch (60), the MOS tube is turned off to close the power supply circuit.

10. The protection method of a long-life photoelectric encoder according to claim 8, characterized in that: The switch module (6) comprises a Hall switch (61) or a magnetic encoding chip (62), the Hall switch (61) or the magnetic encoding chip (62) being arranged inside the housing (1) and located on a side of the magnetic steel (32) away from the rotating shaft (2), the output pin of the Hall switch (61) or the magnetic encoding chip (62) being connected to the input pin of the D trigger, and the A11 comprising: When the Hall switch (61) or the magnetic encoding chip (62) receives the change of the magnetic field force generated by the rotation of the magnetic steel (32) by the rotating shaft (2), the Hall switch (61) or the magnetic encoding chip (62) alternately outputs high and low levels, and the D trigger detects the high and low levels output by the Hall switch (61) or the magnetic encoding chip (62), and turns on the MOS tube to start the power supply circuit; If the Hall switch (61) or the magnetic encoding chip (62) does not receive the change of the magnetic field force generated by the rotation of the magnetic steel (32) by the rotating shaft (2), the Hall switch (61) or the magnetic encoding chip (62) outputs a high level, and the D trigger detects the high level of the Hall switch (61) or the magnetic encoding chip (62), then turns off the MOS tube and closes the power supply circuit.

Citation Information

Patent Citations

  • Encoder

    CN210180463U

  • Pulse encoder

    JP2004028894A

  • Magnetic type absolute value encoder device

    JP2008224283A