Encoder control circuit and control method, encoder and electronic equipment

By introducing light quantity feedback loop and power monitoring module into the encoder control circuit, real-time monitoring and adjustment of LED light quantity and power supply status is achieved, and the stability and accuracy of the encoder under the problems of power supply fluctuations and current overload are solved, which significantly improves the stability and measurement accuracy of the encoder.

CN119767466APending Publication Date: 2025-04-04GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411929456.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In actual applications, the encoder faces problems such as power supply fluctuations, current overloads and polarity errors, resulting in shortening the life of key components such as LEDs or damage to internal circuits.

Method used

An encoder control circuit is designed, including a control chip, LED control loop, light quantity feedback loop, amplifier and light intensity compensation module. By monitoring the light quantity of the LED light emitting device in real time and adjusting the current, precise control of the LED light quantity is achieved, and the power state is managed through the power monitoring module.

Benefits of technology

It effectively prevents the shortening of the life of LED light-emitting devices and thermal runaway caused by excessive current, improves the stability and service life of the encoder, and significantly improves the measurement accuracy of angular displacement and angular velocity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767466A_ABST
    Figure CN119767466A_ABST
Patent Text Reader

Abstract

The invention provides an encoder control circuit, an encoder control method, an encoder and electronic equipment. The encoder control circuit comprises a control chip (1); the LED control loop (2) is connected to the control chip (1), and an LED light-emitting device (3) is arranged on the LED control loop (2); and the light quantity feedback loop (4) comprises a photosensitive sensor (5), is arranged corresponding to the LED light-emitting device (3), detects the light quantity of the LED light-emitting device (3) and transmits detection information to the control chip (1), and the control chip (1) adjusts the current of the LED control loop (2) according to the light quantity of the LED light-emitting device (3) detected by the light quantity feedback loop (4). According to the encoder control circuit, the current supply problem of key components such as an LED can be effectively avoided, and normal operation of the encoder is protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to an encoder control circuit and control method, an encoder, and an electronic equipment. Background Art

[0002] As an indispensable key component in the field of modern industrial automation and precision measurement, the design and performance of encoders are directly related to the accuracy and reliability of the entire system. The core function of the encoder is to convert the mechanical position or rotation angle into an electrical signal, a process that relies on precise optical, magnetic or electrical conversion mechanisms. The application scope of encoders is constantly expanding, from traditional machine tools, robots, and automated production lines to emerging drones, electric vehicles, precision medical equipment, etc., and its role in improving production efficiency and ensuring operational accuracy is becoming increasingly prominent.

[0003] However, encoders face many challenges in practical applications, among which power supply management is particularly critical. Encoders usually require stable power input to maintain normal operation, but in complex and changeable industrial sites, power supply fluctuations, current overloads, polarity errors and other problems often occur. For example, current overload will not only shorten the life of key components such as LEDs, but may even cause thermal runaway, resulting in serious damage to the encoder's internal circuits. Summary of the invention

[0004] The main purpose of the present invention is to provide an encoder control circuit and control method, an encoder, and an electronic device, which can effectively avoid current supply problems in key components such as LEDs and protect the normal operation of the encoder.

[0005] In order to achieve the above object, according to one aspect of the present invention, there is provided an encoder control circuit, comprising:

[0006] Control chip;

[0007] An LED control circuit is connected to the control chip, and an LED light-emitting device is arranged on the LED control circuit;

[0008] The light quantity feedback loop includes a photosensor, which is set corresponding to the LED light-emitting device, detects the light quantity of the LED light-emitting device, and transmits the detection information to the control chip. The control chip adjusts the current of the LED control loop according to the light quantity of the LED light-emitting device detected by the light quantity feedback loop.

[0009] Furthermore, an amplifier is provided on the light quantity feedback loop, and the amplifier is used to amplify the detection signal of the photosensor. The light quantity feedback loop transmits the detection signal amplified by the amplifier to the control chip.

[0010] Furthermore, a light intensity compensation module is also provided on the LED control loop, and the control chip controls the current of the LED control loop by the light intensity compensation module according to the light quantity detected by the light quantity feedback loop.

[0011] Furthermore, the encoder control circuit also includes a first power supply monitoring module for monitoring the voltage in the normal working mode and feeding back the detection signal to the control chip, and the control chip controls the power supply according to the detection signal of the first power supply monitoring module.

[0012] Furthermore, the encoder control circuit also includes a second power monitoring module for monitoring the battery operating mode voltage and feeding back the detection signal to the control chip, and the control chip controls the power supply according to the detection signal of the second power monitoring module.

[0013] According to another aspect of the present invention, there is provided a control method for the above-mentioned encoder control circuit, comprising:

[0014] Obtaining the light quantity of the LED light emitting device;

[0015] Determine whether the light quantity of the LED light emitting device is within a preset light quantity range;

[0016] If the light quantity of the LED light emitting device is within the preset light quantity range, the LED control circuit is controlled to maintain the current current;

[0017] If the light quantity of the LED light emitting device is outside the preset light quantity range, the current of the LED control loop is controlled according to the light quantity range.

[0018] Furthermore, the step of controlling the current of the LED control loop according to the range of the light intensity includes:

[0019] When the light intensity is less than the lower limit of the preset light intensity range, the LED control circuit is controlled to increase the current;

[0020] When the light intensity is greater than the upper limit of the preset light intensity range, the LED control circuit is controlled to reduce the current.

[0021] Furthermore, the control method further includes:

[0022] Obtaining the monitoring result of the normal working mode voltage;

[0023] When the voltage in the normal working mode is too large or reversely connected, the power supply in the normal working mode is disconnected;

[0024] When the voltage in the normal operating mode is normal, the power supply in the normal operating mode is controlled to supply power normally.

[0025] Furthermore, the control method further includes:

[0026] Obtain the monitoring result of the battery working mode voltage;

[0027] When the battery working mode voltage is too large or reversely connected, the power supply controlling the battery working mode is disconnected;

[0028] When the battery operation mode voltage is normal, the power supply controlling the battery operation mode supplies power normally.

[0029] Furthermore, the control method further includes:

[0030] When an overvoltage is detected, determine whether the overvoltage is a transient fluctuation or a continuous abnormality;

[0031] When the voltage is too large and it is a transient fluctuation, the power supply will be temporarily shut down and the operation will be resumed after waiting for a preset time;

[0032] When the voltage is too high and is a continuous abnormality and exceeds the set threshold, the power supply is immediately shut down.

[0033] According to another aspect of the present invention, an encoder is provided, comprising an encoder control circuit, wherein the encoder control circuit is the above-mentioned encoder control circuit.

[0034] According to another aspect of the present invention, an electronic device is provided, comprising an encoder control circuit, wherein the encoder control circuit is the above-mentioned encoder control circuit.

[0035] The technical scheme of the present invention is applied, and the encoder control circuit includes: a control chip; an LED control loop connected to the control chip, and an LED light-emitting device is arranged on the LED control loop; a light quantity feedback loop, including a photosensitive sensor, which is arranged corresponding to the LED light-emitting device, detects the light quantity of the LED light-emitting device, and transmits the detection information to the control chip, and the control chip adjusts the current of the LED control loop according to the light quantity of the LED light-emitting device detected by the light quantity feedback loop. The light quantity of the LED light-emitting device can be monitored in real time by the photosensitive sensor, and the information is fed back to the control chip. The control chip can dynamically adjust the current in the LED control loop according to the light quantity feedback information, so as to accurately control the light quantity output of the LED, ensure that the encoder can maintain a stable light quantity under various working conditions, and significantly improve the measurement accuracy of angular displacement and angular velocity. By monitoring and sampling the light quantity of the LED light-emitting device, the current size in the LED control loop can be estimated, and then the control chip is used to perform closed-loop control on the LED control loop. When the current is too large, the current can be reduced by adjusting, which can effectively prevent the LED light-emitting device from shortening the life of key components such as LED due to excessive current, and may even cause thermal runaway, resulting in serious damage to the internal circuit of the encoder, thereby improving the stability and service life of the encoder. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0037] Figure 1 A schematic diagram showing the structure of an encoder control circuit according to an embodiment of the present invention; and

[0038] Figure 2 A flow chart of a control method of an encoder control circuit according to an embodiment of the present invention is shown.

[0039] The above drawings include the following reference numerals:

[0040] 1. Control chip; 2. LED control circuit; 3. LED light-emitting device; 4. Light quantity feedback circuit; 5. Photosensor; 6. Amplifier; 7. Light intensity compensation module; 8. First power supply monitoring module; 9. Second power supply monitoring module. DETAILED DESCRIPTION

[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0042] like Figure 1 and Figure 2 As shown, according to an embodiment of the present invention, the encoder control circuit includes: a control chip 1; an LED control loop 2, connected to the control chip 1, on which an LED light-emitting device 3 is arranged; a light quantity feedback loop 4, including a photosensitive sensor 5, arranged corresponding to the LED light-emitting device 3, detecting the light quantity of the LED light-emitting device 3, and transmitting the detection information to the control chip 1, and the control chip 1 adjusts the current of the LED control loop 2 according to the light quantity of the LED light-emitting device 3 detected by the light quantity feedback loop 4.

[0043] The light amount of the LED light emitting device 3 can be monitored in real time through the photosensitive sensor 5, and the information can be fed back to the control chip 1. According to the light amount feedback information, the control chip 1 can dynamically adjust the current in the LED control loop 2, so as to accurately control the light amount output of the LED, ensure that the encoder can maintain a stable light amount under various working conditions, and can significantly improve the measurement accuracy of angular displacement and angular velocity. By monitoring and sampling the light amount of the LED light emitting device 3, the current size in the LED control loop 2 can be estimated, and then the control chip 1 is used to perform closed-loop control on the LED control loop 2. When the current is too large, by adjusting to reduce the current, the LED light emitting device 3 can be effectively prevented from shortening the life of key components such as LEDs due to excessive current, and may even cause thermal runaway, resulting in serious damage to the internal circuit of the encoder, thereby improving the stability and service life of the encoder.

[0044] The light feedback loop 4 and the control chip 1 form a closed-loop control system that can monitor and adjust the light intensity of the LED light-emitting device in real time, improving the control accuracy and response speed, so that the encoder can maintain consistent performance even during ambient light changes or aging.

[0045] In one embodiment, an amplifier 6 is provided on the light feedback loop 4 , and the amplifier 6 is used to amplify the detection signal of the photosensor 5 . The light feedback loop 4 transmits the detection signal amplified by the amplifier 6 to the control chip 1 .

[0046] The electrical signals output by the photosensor 5 are usually very weak, especially when the light quantity of the LED light emitting device 3 does not change much. The use of the amplifier 6 significantly enhances these signals, making them easier to be detected and processed by the control chip 1. The amplification of the signal increases the sensitivity of the control circuit to small changes in light quantity, thereby enabling more accurate control of the LED current.

[0047] The introduction of the amplifier helps to improve the dynamic range and signal-to-noise ratio of the light feedback loop. Even in low-light or high-noise environments, the control chip can receive clear and accurate light feedback signals, ensuring that the encoder can maintain stable performance and accuracy even under complex working conditions.

[0048] By increasing signal strength and reducing noise, the amplifier helps improve the accuracy of the light feedback loop, allowing the control chip to adjust the LED current more accurately and quickly, thereby achieving precise control of the light amount. The use of the amplifier improves the circuit's adaptability to environmental changes, enhances anti-interference capabilities, ensures the encoder's stability under various working conditions, and improves overall reliability and durability.

[0049] In one embodiment, the light sensor 5 is a photodiode.

[0050] Using a photodiode as a photosensor can convert weak light signals into electrical signals, and through its high sensitivity, it can accurately detect the luminous intensity of the LED light-emitting device 3, thereby effectively supporting the closed-loop control mechanism of the encoder control circuit, ensuring the stability of the LED light amount and the high-precision operation of the encoder.

[0051] In one embodiment, a light intensity compensation module 7 is further provided on the LED control circuit 2 , and the control chip 1 controls the current of the LED control circuit 2 by the light intensity compensation module 7 according to the light quantity detected by the light quantity feedback circuit 4 .

[0052] The light intensity compensation module 7 can automatically adjust the current of the LED control circuit 2 under the instruction of the control chip 1 to compensate for the light intensity fluctuation caused by environmental changes such as temperature, aging, dust, etc., ensuring that the LED light intensity output of the encoder remains stable under various working conditions, thereby improving the measurement accuracy and reliability of the encoder. By introducing the light intensity compensation module 7, the closed-loop control system becomes more perfect. The control chip can not only adjust the direct output current of the LED according to the light feedback signal, but also further optimize the light intensity compensation strategy, so that the system can respond to light changes more quickly and accurately and maintain the set light intensity level.

[0053] The light intensity compensation module can help the LED work at a more stable and optimized working point, avoid the LED light emitting device 3 from overloading or working under inefficient conditions, not only improve the light output quality of the LED, but also reduce the heat load and current stress of the LED, thereby extending the service life of the LED and reducing maintenance costs.

[0054] The power supply current passes through the LED light-emitting device 3 to emit light, and the current generated by the photosensor 5 after sensing light passes through the amplifier 6 and then the relevant amplitude is fed back to the control chip 1. The control chip 1 controls the light intensity compensation module 7 according to the received amplitude, and then controls the current supplied to the LED light-emitting device 3, realizing closed-loop control, so that the current flowing through the LED light-emitting device 3 can be well controlled.

[0055] The embodiment of the present application mainly uses the amount of light of the LED light-emitting device 3 for current control of the LED light-emitting device 3. Therefore, for the LED control circuit 2, only the LED light-emitting device 3 and the light intensity compensation module 7 for controlling and adjusting the current of the LED light-emitting device 3 are displayed. Those skilled in the art should be able to know the omitted structure based on the conventional structure of the LED control circuit 2, and it will not be displayed here.

[0056] In one embodiment, the encoder control circuit further includes a first power supply monitoring module 8 for monitoring the voltage in the normal working mode and feeding back the detection signal to the control chip 1 , and the control chip 1 controls the power supply according to the detection signal of the first power supply monitoring module 8 .

[0057] In one embodiment, the encoder control circuit also includes a second power monitoring module 9 for monitoring the battery operating mode voltage and feeding back the detection signal to the control chip 1 , and the control chip 1 controls the power supply according to the detection signal of the second power monitoring module 9 .

[0058] The encoder has two working voltages, one is the normal working mode voltage of 5V, and the other is the battery working mode voltage of 3.6V; so two power supply monitoring modules are needed to monitor the voltages in different working modes. When the 5V voltage passes through the first power supply monitoring module 8 without abnormality, the first power supply monitoring module 8 feeds back a normal signal to the control chip 1; when the current voltage is too large or reversed, the first power supply monitoring module 8 feeds back an abnormal signal to the control chip 1, and the control chip 1 controls the power supply to be disconnected according to the abnormal signal, thereby preventing the encoder from being burned. Similarly, when the 3.6V voltage passes through the second power supply monitoring module 9 without abnormality, the second power supply monitoring module 9 feeds back a normal signal to the control chip 1; when the current voltage is too large or reversed, the second power supply monitoring module 9 feeds back an abnormal signal to the control chip 1, and the control chip 1 controls the power supply to be disconnected according to the abnormal signal, thereby preventing the encoder from being burned.

[0059] See also Figure 2 As shown, according to an embodiment of the present invention, the control method of the encoder control circuit includes:

[0060] Obtaining the light quantity of the LED light emitting device 3;

[0061] Determine whether the light quantity of the LED light emitting device 3 is within a preset light quantity range;

[0062] If the light quantity of the LED light emitting device 3 is within the preset light quantity range, the LED control circuit 2 is controlled to maintain the current;

[0063] If the light quantity of the LED light emitting device 3 is outside the preset light quantity range, the current of the LED control circuit 2 is controlled according to the light quantity range.

[0064] This control method can adjust the current of the LED control circuit 2 in real time by continuously detecting the light amount of the LED light-emitting device 3, so that the light output of the LED light-emitting device 3 is maintained within a preset optimal light amount range, thereby ensuring the measurement accuracy of the encoder and maintaining stable optical performance even in the event of LED aging, changes in ambient light, etc.

[0065] The closed-loop control mechanism can quickly respond to light offsets and automatically correct the light by adjusting the LED current. This immediate feedback and adjustment can significantly improve the stability and reliability of the system and reduce encoder reading errors caused by light fluctuations. By precisely controlling the LED current, excessive or insufficient current is avoided, which helps reduce the operating temperature and current stress of the LED, thereby extending the service life of the LED and reducing maintenance costs and replacement frequency.

[0066] When the encoder operates in different environmental conditions, the light intensity may be affected. This control method can adapt to these changes by adjusting the current to compensate for environmental factors such as temperature, humidity and interference from external light sources, ensuring that the encoder can maintain high-precision measurement in various environments.

[0067] Whether the light quantity of the LED light emitting device 3 is within the preset light quantity range is determined by detecting the current amplitude of the photosensor 5 .

[0068] Specifically, it can be judged by the following formula:

[0069] 0.3≤HA / (HDC-HDL)≤0.7.

[0070] Where HA is the current amplitude, HDC is the reference current, and HDL is the dark current.

[0071] Compared with the above current amplitude range, if the current amplitude exceeds the maximum threshold range, the control chip 1 controls the LED control circuit 2 to reduce the current, and the light intensity of the LED light-emitting device 3 decreases. When the signal amplitude is adjusted to the above range, the control chip 1 maintains a constant current; if the current amplitude exceeds the minimum threshold range, the control chip controls to increase the current, and the light intensity of the LED light-emitting device 3 increases. When the signal amplitude is adjusted to the above range, the control chip 1 maintains a constant current.

[0072] In one embodiment, the step of controlling the current of the LED control loop 2 according to the range of the light intensity includes:

[0073] When the light intensity is less than the lower limit of the preset light intensity range, the LED control circuit 2 is controlled to increase the current;

[0074] When the light intensity is greater than the upper limit of the preset light intensity range, the LED control circuit 2 is controlled to reduce the current.

[0075] By dynamically adjusting the current of the LED control loop based on the comparison of the light amount with the preset range, it is ensured that the encoder's LED light amount is stable within the optimal range, thereby improving the encoder's measurement accuracy and system stability.

[0076] In one embodiment, the control method further includes:

[0077] Obtaining the monitoring result of the normal working mode voltage;

[0078] When the voltage in the normal working mode is too large or reversely connected, the power supply in the normal working mode is disconnected;

[0079] When the voltage in the normal operating mode is normal, the power supply in the normal operating mode is controlled to supply power normally.

[0080] By real-time monitoring of the normal working mode voltage, the encoder can immediately identify voltage abnormalities, such as overvoltage or reverse polarity, and automatically cut off the power supply, effectively preventing the circuit from being damaged by overvoltage or polarity errors, greatly enhancing the system safety and reliability of the encoder. This control method can intelligently manage the power supply status based on the monitoring results. When the voltage is detected to be normal, ensure that the power supply is normal, and when the voltage is abnormal, disconnect the power supply in time. This precise power management method not only protects the encoder from damage caused by power abnormalities, but also improves power efficiency and reduces unnecessary energy waste.

[0081] In one embodiment, the control method further includes:

[0082] Obtain the monitoring result of the battery working mode voltage;

[0083] When the battery working mode voltage is too large or reversely connected, the power supply controlling the battery working mode is disconnected;

[0084] When the battery operation mode voltage is normal, the power supply controlling the battery operation mode supplies power normally.

[0085] By monitoring the battery voltage in real time, the encoder can respond immediately to voltage anomalies, such as overvoltage or reverse polarity, and automatically cut off the power supply, avoiding circuit damage or safety risks caused by battery voltage problems, and enhancing the system safety of the encoder in battery-powered mode. In battery operating mode, voltage stability is critical to the normal operation of the encoder. When the battery voltage is detected to be normal, the control method ensures continuous and stable power supply, avoids encoder performance instability or measurement errors caused by voltage fluctuations, and ensures the measurement accuracy and stability of the encoder. Intelligent management of battery operating mode voltage helps control the discharge current of the battery, avoids overcharging or over-discharging, and thus extends the battery life.

[0086] In one embodiment, the control method further includes:

[0087] When an overvoltage is detected, determine whether the overvoltage is a transient fluctuation or a continuous abnormality;

[0088] When the voltage is too large and it is a transient fluctuation, the power supply will be temporarily shut down and the operation will be resumed after waiting for a preset time;

[0089] When the voltage is too high and is a continuous abnormality and exceeds the set threshold, the power supply is immediately shut down.

[0090] For instantaneous voltage fluctuations, the encoder temporarily shuts off the power supply and then automatically resumes operation, avoiding unnecessary system interruptions and enhancing the resilience of the system, so that the encoder can quickly resume normal operation after a short power supply disturbance. When the voltage is detected to be continuously abnormal and exceeds the set threshold, the encoder can immediately shut off the power supply. This rapid response protection mechanism can prevent circuit burnout or equipment damage caused by overvoltage, ensure the safety and stability of the encoder, and reduce maintenance and replacement costs.

[0091] By distinguishing between instantaneous fluctuations and continuous anomalies, the encoder can manage the power supply more finely, avoiding unnecessary power shutdown during instantaneous fluctuations, and taking decisive protective measures during continuous anomalies, thus achieving intelligent and efficient power management. Traditional overvoltage protection is often a one-size-fits-all response mechanism, which may be mistakenly triggered by short-term voltage fluctuations, causing unnecessary equipment shutdown. The control method in this embodiment can effectively distinguish between these two situations, reduce work interruptions caused by misoperation, and improve production efficiency and user experience.

[0092] The control chip 1 will analyze the specific situation of the feedback from the first power monitoring module 8 or the second power monitoring module 9, and then adopt different response strategies; if it is an instantaneous fluctuation, it will be temporarily shut down and resume related functions after a certain period of time; if it is a continuous abnormality and exceeds the set threshold, it will be shut down immediately and need to be powered on again to resume related functions; the response strategies for different situations can achieve the purpose of protecting encoder products to the greatest extent. Effectively solve industry problems and improve product performance.

[0093] In one embodiment, the method of determining whether it is an instantaneous fluctuation or a persistent abnormality is as follows:

[0094] Monitor the time it takes for the voltage V1 to rise to V2. If the time is less than t1, it is considered as an instantaneous fluctuation.

[0095] When the monitored voltage exceeds V2 for a period exceeding t2, it is determined to be a continuous abnormality, where V1 < V2 and t1 < t2.

[0096] In one embodiment, t1 is 10 ms and t2 is 1 s.

[0097] In some embodiments, t1 and t2 may also be other values, which can be set according to the actual working environment, and the size relationship between the two needs to be satisfied.

[0098] According to an embodiment of the present invention, the encoder includes an encoder control circuit, which is the above-mentioned encoder control circuit.

[0099] According to an embodiment of the present invention, an electronic device includes an encoder control circuit, and the encoder control circuit is the above-mentioned encoder control circuit.

[0100] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0101] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.

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

Claims

1. An encoder control circuit, characterized in that: include: Control chip (1); An LED control circuit (2) connected to the control chip (1), wherein an LED light emitting device (3) is arranged on the LED control circuit (2); The light quantity feedback loop (4) comprises a photosensitive sensor (5) which is arranged corresponding to the LED light emitting device (3), detects the light quantity of the LED light emitting device (3), and transmits the detection information to the control chip (1); the control chip (1) adjusts the current of the LED control loop (2) according to the light quantity of the LED light emitting device (3) detected by the light quantity feedback loop (4).

2. The encoder control circuit according to claim 1, characterized in that: An amplifier (6) is provided on the light quantity feedback loop (4), and the amplifier (6) is used to amplify the detection signal of the photosensor (5). The light quantity feedback loop (4) transmits the detection signal amplified by the amplifier (6) to the control chip (1).

3. The encoder control circuit according to claim 1, characterized in that: The LED control circuit (2) is also provided with a light intensity compensation module (7), and the control chip (1) controls the current of the LED control circuit (2) supplied by the light intensity compensation module (7) according to the light quantity detected by the light quantity feedback circuit (4).

4. The encoder control circuit according to any one of claims 1 to 3, characterized in that: The encoder control circuit also includes a first power supply monitoring module (8) for monitoring the voltage in a normal working mode and feeding back a detection signal to the control chip (1); the control chip (1) controls the power supply according to the detection signal of the first power supply monitoring module (8).

5. The encoder control circuit according to any one of claims 1 to 3, characterized in that: The encoder control circuit also includes a second power supply monitoring module (9) for monitoring the battery operating mode voltage and feeding back the detection signal to the control chip (1); the control chip (1) controls the power supply according to the detection signal of the second power supply monitoring module (9).

6. A control method for an encoder control circuit according to any one of claims 1 to 5, characterized in that: include: Acquiring the light quantity of the LED light emitting device (3); Determining whether the light quantity of the LED light emitting device (3) is within a preset light quantity range; If the light quantity of the LED light emitting device (3) is within a preset light quantity range, the LED control circuit (2) is controlled to maintain the current current; if the light quantity of the LED light emitting device (3) is outside the preset light quantity range, the current of the LED control circuit (2) is controlled according to the range in which the light quantity is located.

7. The control method according to claim 6, characterized in that: The step of controlling the current of the LED control circuit (2) according to the range of the light quantity comprises: When the light quantity is less than the lower limit value of the preset light quantity range, the LED control circuit (2) is controlled to increase the current; When the light quantity is greater than the upper limit value of the preset light quantity range, the LED control circuit (2) is controlled to reduce the current.

8. The control method according to claim 6, characterized in that: The control method also includes: Obtaining the monitoring result of the normal working mode voltage; When the voltage in the normal working mode is too large or reversely connected, the power supply in the normal working mode is disconnected; When the voltage in the normal operating mode is normal, the power supply in the normal operating mode is controlled to supply power normally.

9. The control method according to claim 6, characterized in that: The control method also includes: Obtain the monitoring result of the battery working mode voltage; When the battery working mode voltage is too large or reversely connected, the power supply controlling the battery working mode is disconnected; When the battery operation mode voltage is normal, the power supply controlling the battery operation mode supplies power normally.

10. The control method according to claim 8 or 9, characterized in that: The control method also includes: When an overvoltage is detected, determine whether the overvoltage is a transient fluctuation or a continuous abnormality; When the voltage is too large and it is a transient fluctuation, the power supply will be temporarily shut down and the operation will be resumed after waiting for a preset time; When the voltage is too high and is a continuous abnormality and exceeds the set threshold, the power supply is immediately shut down.

11. An encoder, comprising an encoder control circuit, characterized in that: The encoder control circuit is the encoder control circuit according to any one of claims 1 to 5.

12. An electronic device, comprising an encoder control circuit, characterized in that: The encoder control circuit is the encoder control circuit according to any one of claims 1 to 5.