Detection circuit of encoder and industrial equipment
By designing a power supply detection circuit in the encoder to detect the voltage, current and connection status of the power supply, the problem of single protection function and low reliability of the existing encoder is solved, and a higher encoder reliability is achieved.
Patent Information
- Application Number
- CN202311440789.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2025-05-06
AI Technical Summary
The existing motor encoder has a single protection function and low reliability.
An encoder detection circuit is designed, including a power supply detection circuit, which is used to detect the voltage value, current value of the power supply and the connection state with the encoder. If any indicator abnormality is detected, the power detection circuit will stop power supply and send a fault signal to the driver.
Through rich detection functions, the failure rate of the encoder is significantly reduced and its reliability is improved.
Smart Images

Figure CN119936722A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic control technology, and in particular to a detection circuit of an encoder and industrial equipment. Background Art
[0002] The motor encoder is a device used to measure the rotation angle and position of the motor, and is generally installed at the tail of the motor. It has the characteristics of high resolution, high speed, and high reliability, so it is often used in industrial automation, robotics, automobiles and other fields. Existing motor encoders have technical problems such as relatively simple protection functions and low reliability. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, a first aspect of the present invention is to provide a detection circuit for an encoder.
[0005] A second aspect of the present invention is to provide an industrial device.
[0006] In view of this, according to a first aspect of the present invention, a detection circuit of an encoder is proposed, the encoder is used for industrial equipment, the industrial equipment includes a driver and a power supply, the driver is used to drive the encoder, the power supply is used to supply power to the encoder, the detection circuit of the encoder includes: a power supply detection circuit, the power supply detection circuit is connected to the power supply and the driver, respectively, and is used to detect the voltage value and current value of the power supply, and is also used to detect the connection status of the power supply and the encoder; when at least one of the voltage value, the current value and the connection status is abnormal, the power supply detection circuit causes the power supply to stop supplying power to the encoder and sends a first signal to the driver, and the first signal is used to notify the driver that there is a fault in the power supply.
[0007] The detection circuit of the encoder in this technical solution enriches the detection function of the detection circuit of the encoder through the power supply detection circuit, greatly reduces the failure rate of the encoder, and thus improves the reliability of the encoder.
[0008] According to a second aspect of the present invention, an industrial device is proposed, comprising: a detection circuit of an encoder as defined in the first aspect above, and thus having all the beneficial technical effects of the detection circuit of the encoder defined in the first aspect above, which will not be elaborated herein.
[0009] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0011] Figure 1 One of the circuit schematic diagrams of the detection circuit of the encoder in the embodiment of the present invention is shown;
[0012] Figure 2 A second circuit schematic diagram of a detection circuit of an encoder in an embodiment of the present invention is shown;
[0013] Figure 3 A third circuit schematic diagram of a detection circuit of an encoder in an embodiment of the present invention is shown;
[0014] in, Figure 1 , Figure 2 and Figure 3 The corresponding relationship between the reference numerals and the component names is as follows:
[0015] 100 encoder detection circuit, 101 power supply, 102 power detection circuit, 103 signal detection circuit, 104 first detection circuit, 105 second detection circuit, 106 third detection circuit, 107 first output end, 10401 first resistor, 10402 first switch tube, 10403 second switch tube, 10404 third switch tube, 10405 fourth switch tube, 10406 second resistor, 10407 third resistor, 10408 fourth resistor, 10409 first The fifth resistor, 10410 the sixth resistor, 10411 the seventh resistor, 10412 the eighth resistor, 10413 the first diode, 10501 the ninth resistor, 10502 the fifth switch tube, 10503 the sixth switch tube, 10504 the tenth resistor, 10505 the eleventh resistor, 10506 the twelfth resistor, 10507 the thirteenth resistor, 10508 the fourteenth resistor, 10509 the first capacitor, 10510 the second capacitor, 10511 the second diode, 10601 the seventh switch tube The switch, 10602 the fifteenth resistor, 10603 the sixteenth resistor, 10604 the fourth capacitor, 10605 the third diode, 10301 the first detection device, 10302 the second detection device, 10303 the third detection device, 10304 the second output terminal, 10305 the seventeenth resistor, 10306 the eighteenth resistor, 10307 the nineteenth resistor, 10308 the fifth capacitor, 10309 the fourth diode, 10310 the twentieth resistor, 10311 the twenty-first resistor , 10312 the twenty-second resistor, 10313 the sixth capacitor, 10314 the fifth diode, 10315 the twenty-third resistor, 10316 the twenty-fourth resistor, 10317 the twenty-fifth resistor, 10318 the seventh capacitor, 10319 the sixth diode, 108 the twenty-sixth resistor, 109 the twenty-seventh resistor, 301 the connection port, 302 the first logic module, 303 the second logic module, 304 the third logic module, 110 the power supply of the encoder, and 111 the ground terminal of the encoder. DETAILED DESCRIPTION
[0016] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0017] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0018] Combine the following Figures 1 to 3, the detection circuit and industrial equipment of the encoder provided in the embodiment of the present application are described in detail through specific embodiments and their application scenarios.
[0019] like Figure 1 As shown, an embodiment of the present invention provides a detection circuit 100 of an encoder, and the detection circuit 100 of the encoder includes:
[0020] A power detection circuit 102, which is connected to the power supply 101 and the driver respectively, and is used to detect the voltage value and current value of the power supply 101, and is also used to detect the connection state between the power supply 101 and the encoder;
[0021] When at least one of the voltage value, current value and connection status is abnormal, the power detection circuit 102 causes the power supply 101 to stop supplying power to the encoder and sends a first signal to the driver, where the first signal is used to notify the driver that there is a fault in the power supply 101.
[0022] In this embodiment, a detection circuit 100 of an encoder is provided. The encoder is used in industrial equipment. The industrial equipment also includes a driver and a power supply 101. The driver is connected to the encoder to drive the encoder. The power supply 101 is connected to the encoder to supply power to the encoder.
[0023] Exemplarily, the encoder may be specifically a motor encoder, which is installed at the tail of the motor.
[0024] The detection circuit 100 of the encoder includes a power detection circuit 102, which is connected to the power supply 101 and the driver respectively. The power detection circuit 102 is used to detect the voltage value and current value of the power supply 101. The power detection circuit 102 is also used to detect the connection status of the power supply 101 and the encoder.
[0025] Exemplarily, the power detection circuit 102 may be specifically an encoder power detection module, which may detect the voltage and current values of the power supply 101 in real time, and may also detect the connection status between the power supply 101 and the encoder.
[0026] Exemplarily, the connection state between the power supply 101 and the encoder may be an open circuit state.
[0027] When at least one of the voltage value, current value and connection status of the power supply 101 is abnormal, the power supply detection circuit 102 is used to stop the power supply 101 from supplying power to the encoder, and is also used to send a first signal to the driver, wherein the first signal is a signal for notifying the driver that there is a fault in the power supply 101.
[0028] Exemplarily, the power detection circuit 102 may include a switch component, one end of the switch component is connected to the power supply 101, and the other end of the switch component is connected to the encoder. When at least one of the voltage value, the current value and the connection status is abnormal, the power detection circuit 102 may disconnect the switch component to stop the power supply 101 from supplying power to the encoder.
[0029] Exemplarily, when the voltage value of the power supply 101 is abnormal, the power supply detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0030] Exemplarily, when the current value of the power supply 101 is abnormal, the power supply detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0031] Exemplarily, when the connection state of the power supply 101 is abnormal, the power supply detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0032] Exemplarily, when both the voltage value and the current value of the power supply 101 are abnormal, the power supply detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0033] Exemplarily, when both the voltage value and the connection status of the power supply 101 are abnormal, the power detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0034] Exemplarily, when both the current value and the connection state of the power supply 101 are abnormal, the power supply detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0035] Exemplarily, when the voltage value, current value and connection status of the power supply 101 are all abnormal, the power detection circuit 102 stops the power supply 101 from supplying power to the encoder and sends a first signal to the driver.
[0036] Exemplarily, when the voltage value of the power supply 101 is too high, it indicates that a short circuit may occur in the driver.
[0037] Exemplarily, when the current value of the power supply 101 is too high, it indicates that a short circuit may occur in the power supply 101 .
[0038] Exemplarily, when the power supply 101 and the encoder are open circuited, it indicates that a circuit connection failure of the driver occurs.
[0039] Exemplarily, the first signal may be specifically a power error signal, and after receiving the first signal, the driver may control the encoder to stop working.
[0040] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which is connected to the power supply 101 and the driver respectively. The power detection circuit 102 is used to detect the voltage value and current value of the power supply 101. The power detection circuit 102 is also used to detect the connection status of the power supply 101 and the encoder. When at least one of the voltage value, current value and connection status of the power supply 101 is abnormal, the power detection circuit 102 is used to stop the power supply 101 from supplying power to the encoder, and is also used to send a first signal to the driver, which enriches the detection function of the detection circuit 100 of the encoder, greatly reduces the failure rate of the encoder, and thus improves the reliability of the encoder.
[0041] In some embodiments, optionally, Figure 2 As shown, a detection circuit 100 of an encoder is proposed, and the detection circuit 100 of the encoder also includes:
[0042] A signal detection circuit 103, which is connected to the encoder and the driver and is used to detect an output signal of the encoder, where the output signal includes a first phase signal, a second phase signal and a third phase signal;
[0043] When at least one of the first phase signal, the second phase signal and the third phase signal is abnormal, the signal detection circuit 103 is used to send a second signal to the driver, and the second signal is used to notify the driver that the encoder is faulty.
[0044] In this embodiment, the detection circuit 100 of the encoder also includes a signal detection circuit 103, which is respectively connected to the encoder and the driver, and is used to detect the output signal of the encoder, wherein the output signal is a signal output by the encoder, and the output signal includes a first phase signal, a second phase signal and a third phase signal.
[0045] Exemplarily, the first phase signal may specifically be an A-phase signal.
[0046] Exemplarily, the second phase signal may be specifically a B-phase signal.
[0047] Exemplarily, the third phase signal may be specifically an I phase signal.
[0048] Exemplarily, the first phase signal, the second phase signal and the third phase signal may be specifically square wave signals.
[0049] When at least one of the first phase signal, the second phase signal and the third phase signal is abnormal, the signal detection circuit 103 is used to send a second signal to the driver, wherein the second signal is a signal for notifying the driver that the encoder is faulty.
[0050] Exemplarily, when the signal waveform of the first phase signal is abnormal, it can be determined that the first phase signal is an abnormal signal.
[0051] Exemplarily, when the signal waveform of the second phase signal is abnormal, it can be determined that the second phase signal is an abnormal signal.
[0052] Exemplarily, when the signal waveform of the third phase signal is abnormal, it can be determined that the third phase signal is an abnormal signal.
[0053] Exemplarily, when the first phase signal is abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0054] Exemplarily, when the second phase signal is abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0055] Exemplarily, when the third phase signal is abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0056] Exemplarily, when both the first phase signal and the second phase signal are abnormal, the signal detection circuit 103 is configured to send the second signal to the driver.
[0057] Exemplarily, when both the first phase signal and the third phase signal are abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0058] Exemplarily, when both the second phase signal and the third phase signal are abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0059] Exemplarily, when the first phase signal, the second phase signal, and the third phase signal are all abnormal, the signal detection circuit 103 is configured to send a second signal to the driver.
[0060] Exemplarily, the second signal may specifically be a signal error signal.
[0061] Exemplarily, after the driver receives the second signal, the encoder may be controlled to stop working.
[0062] The detection circuit 100 of the encoder in this embodiment also includes a signal detection circuit 103, which is respectively connected to the encoder and the driver, and is used to detect the output signal of the encoder. When at least one of the first phase signal, the second phase signal and the third phase signal is abnormal, the signal detection circuit 103 is used to send a second signal to the driver. The signal detection circuit 103 enriches the detection function of the detection circuit 100 of the encoder, improves the reliability of the encoder, and ensures the normal operation of the encoder.
[0063] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, wherein the power detection circuit 102 includes: a first detection circuit 104, a second detection circuit 105, a third detection circuit 106 and a first output terminal 107;
[0064] The first detection circuit 104 is connected to the power supply 101 and the first output terminal 107 respectively, and is used to detect the voltage value of the power supply 101. When the voltage value is greater than the first voltage threshold, the first detection circuit 104 is used to stop the power supply 101 from supplying power to the encoder and send a first voltage signal to the first output terminal 107;
[0065] The second detection circuit 105 is connected to the power supply 101 and the first output terminal 107 respectively, and is used to detect the connection state between the power supply 101 and the driver. When the connection state is open, the second detection circuit 105 is used to send a second voltage signal to the first output terminal 107;
[0066] The third detection circuit 106 is connected to the power supply 101 and the first output terminal 107 respectively, and is used to detect the current value of the power supply 101. When the current value is greater than the first current threshold, the third detection circuit 106 is used to send a third voltage signal to the first output terminal 107;
[0067] The first output terminal 107 is connected to the driver. When at least one of the first voltage signal, the second voltage signal or the third voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver.
[0068] In this embodiment, the power detection circuit 102 includes a first output terminal 107 , which is connected to a driver and is a port for outputting a first signal.
[0069] The power supply detection circuit 102 includes a first detection circuit 104. It should be noted that the first detection circuit 104 is connected to the power supply 101 and the first output terminal 107 respectively. The first detection circuit 104 is used to detect the voltage value of the power supply 101. When the voltage value of the power supply 101 is greater than the first voltage threshold, it indicates that the power supply 101 is in an overvoltage state. The first detection circuit 104 is used to stop the power supply 101 from supplying power to the encoder and send a first voltage signal to the first output terminal 107, wherein the first voltage threshold is a threshold corresponding to the voltage value of the power supply 101, and the first voltage signal is a voltage signal output by the first detection circuit 104.
[0070] Exemplarily, when the voltage value of the power supply 101 is greater than the first voltage threshold, it indicates that the power supply 101 is in an overvoltage state, and the first voltage signal may be a low voltage signal.
[0071] Exemplarily, when the voltage value of the power supply 101 is less than the first voltage threshold, it indicates that the voltage of the power supply 101 is normal, and the first voltage signal may be a high voltage signal.
[0072] Exemplarily, the first voltage threshold may be specifically 1000 volts.
[0073] Exemplarily, the first detection circuit 104 may include a switch component, one end of the switch component is connected to the power supply 101, and the other end of the switch component is connected to the encoder. When the voltage value of the power supply 101 is greater than the first voltage threshold, the first detection circuit 104 can disconnect the switch component to stop the power supply 101 from supplying power to the encoder.
[0074] The power supply detection circuit 102 also includes a second detection circuit 105. It should be noted that the second detection circuit 105 is connected to the power supply 101 and the first output terminal 107 respectively. The second detection circuit 105 can detect the connection status between the power supply 101 and the driver. When the connection status is open, the second detection circuit 105 can send a second voltage signal to the first output terminal 107, wherein the second voltage signal is a voltage signal output by the second detection circuit 105.
[0075] Exemplarily, when the connection state is open, it indicates that the power supply 101 is open, and the first voltage signal may be a low voltage signal.
[0076] Exemplarily, when the connection state is open, it indicates that the circuit connection of the power supply 101 is normal, and the first voltage signal may be a high voltage signal.
[0077] The power supply detection circuit 102 also includes a third detection circuit 106, which is respectively connected to the power supply 101 and the first output terminal 107, and is used to detect the current value of the power supply 101. When the current value is greater than the first current threshold, it indicates that the current value of the power supply 101 is abnormal. The third detection circuit 106 is used to send a third voltage signal to the first output terminal 107, wherein the first current threshold is a threshold corresponding to the current value of the power supply 101, and the third voltage signal is a voltage signal output by the third detection circuit 106.
[0078] Exemplarily, when the current value is greater than the first current threshold, the third voltage signal may be a low voltage signal.
[0079] Exemplarily, when the current value is less than the first current threshold, the third voltage signal may be a high voltage signal.
[0080] Exemplarily, when the current value is greater than the first current threshold, it indicates that the power supply 101 may be short-circuited.
[0081] The first output terminal 107 is capable of receiving a first voltage signal, a second voltage signal and a third voltage signal. When at least one of the first voltage signal, the second voltage signal and the third voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver, wherein the low voltage signal is a signal with a lower voltage.
[0082] Exemplarily, the low voltage signal may specifically be a voltage signal of 0V.
[0083] Exemplarily, when the first voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver.
[0084] Exemplarily, when the second voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver.
[0085] Exemplarily, when the third voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver.
[0086] Exemplarily, when both the first voltage signal and the second voltage signal are low voltage signals, the first output terminal 107 is used to send the first signal to the driver.
[0087] Exemplarily, when the first voltage signal and the third voltage signal are both low voltage signals, the first output terminal 107 is used to send the first signal to the driver.
[0088] Exemplarily, when the second voltage signal and the third voltage signal are both low voltage signals, the first output terminal 107 is used to send the first signal to the driver.
[0089] Exemplarily, when the first voltage signal, the second voltage signal and the third voltage signal are all low voltage signals, the first output terminal 107 is used to send the first signal to the driver.
[0090] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which includes a first detection circuit 104, a second detection circuit 105, a third detection circuit 106 and a first output terminal 107. The first detection circuit 104 is connected to the power supply 101 and the first output terminal 107 respectively. The first detection circuit 104 is used to detect the voltage value of the power supply 101. When the voltage value of the power supply 101 is greater than the first voltage threshold, the first detection circuit 104 is used to stop the power supply 101 from supplying power to the encoder and send a first voltage signal to the first output terminal 107. The second detection circuit 105 is connected to the power supply 101 and the first output terminal 107 respectively. The second detection circuit 105 can detect the connection between the power supply 101 and the driver. When the connection state is open, the second detection circuit 105 can send a second voltage signal to the first output terminal 107. The third detection circuit 106 is respectively connected to the power supply 101 and the first output terminal 107, and is used to detect the current value of the power supply 101. When the current value is greater than the first current threshold, the third detection circuit 106 is used to send a third voltage signal to the first output terminal 107. The first output terminal 107 can receive the first voltage signal, the second voltage signal and the third voltage signal. When at least one of the first voltage signal, the second voltage signal and the third voltage signal is a low voltage signal, the first output terminal 107 is used to send the first signal to the driver, thereby ensuring the reliability of the power supply detection circuit 102 and further ensuring the normal operation of the encoder.
[0091] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, wherein the first detection circuit 104 includes a first resistor 10401, a first switch tube 10402, and a second switch tube 10403;
[0092] One end of the first resistor 10401 is connected to the power supply 101, the other end of the first resistor 10401 is connected to the first end of the second switch tube 10403, the first end of the first switch tube 10402 is connected to the second end of the second switch tube 10403, the second end of the first switch tube 10402 is connected to the encoder, the third end of the first switch tube 10402 is connected to the first resistor 10401, and the third end of the second switch tube 10403 is connected to the power supply 101;
[0093] When the first switch tube 10402 is turned on, the first switch tube 10402 is used to connect the power supply 101 and the encoder, so that the power supply 101 supplies power to the encoder;
[0094] When the first switch tube 10402 is disconnected, the first switch tube 10402 is used to disconnect the power supply 101 and the encoder, so that the power supply 101 stops supplying power to the encoder;
[0095] When the voltage of the first resistor 10401 is greater than the second voltage threshold, the second switch tube 10403 is turned on. When the second switch tube 10403 is turned on, the second switch tube 10403 is used to disconnect the first switch tube 10402.
[0096] In this embodiment, the first detection circuit 104 includes a first resistor 10401 , a first switch tube 10402 , and a second switch tube 10403 .
[0097] It should be noted that one end of the first resistor 10401 is connected to the power supply 101, the other end of the first resistor 10401 is connected to the first end of the second switch tube 10403, the first end of the first switch tube 10402 is connected to the second end of the second switch tube 10403, the second end of the first switch tube 10402 is connected to the encoder, the third end of the first switch tube 10402 is connected to the first resistor 10401, and the third end of the second switch tube 10403 is connected to the power supply 101.
[0098] Exemplarily, the first resistor 10401 is used to share the voltage of the power supply 101 , so that the power supply 101 forms the encoder power supply 110 through the first resistor 10401 and the first switch tube 10402 , and then supplies power to the encoder through the encoder power supply 110 .
[0099] Exemplarily, the first switch tube 10402 can specifically include a field effect tube and a diode, the first end of the first switch tube 10402 can specifically be a gate, the second end of the first switch tube 10402 can specifically be a drain, the third end of the first switch tube 10402 can specifically be a source, the positive electrode of the diode is connected to the second end of the first switch tube 10402, the negative electrode of the diode is connected to the third end of the first switch tube 10402, one end of the first resistor 10401 is connected to the power supply 101, the other end of the first resistor 10401 is connected to the first end of the second switch tube 10403, the first end of the first switch tube 10402 is connected to the second end of the second switch tube 10403, the second end of the first switch tube 10402 is connected to the encoder, and the third end of the first switch tube 10402 is connected to the first resistor 10401.
[0100] Exemplarily, the second switch tube 10403 can be specifically a triode, the first end of the second switch tube 10403 is the base, the second end of the second switch tube 10403 is the collector, the third end of the second switch tube 10403 is the emitter, the first end of the second switch tube 10403 is connected to the first resistor 10401, the second end of the second switch tube 10403 is connected to the first end of the first switch tube 10402, and the third end of the second switch tube 10403 is connected to the power supply 101.
[0101] When the first switch tube 10402 is turned on, the first switch tube 10402 is used to connect the power supply 101 and the encoder, so that the power supply 101 supplies power to the encoder.
[0102] When the first switch tube 10402 is disconnected, the first switch tube 10402 is used to disconnect the power supply 101 and the encoder, so that the power supply 101 stops supplying power to the encoder.
[0103] When the voltage of the first resistor 10401 is greater than the second voltage threshold, the second switch tube 10403 is turned on. When the second switch tube 10403 is turned on, the second switch tube 10403 is used to disconnect the first switch tube 10402, so that the power supply 101 stops supplying power to the encoder.
[0104] Exemplarily, when the second switch tube 10403 is disconnected, the second switch tube 10403 is used to turn on the first switch tube 10402, the first end of the second switch tube 10403 is connected to the first resistor 10401, the second end of the second switch tube 10403 is connected to the first end of the first switch tube 10402, and the third end of the second switch tube 10403 is connected to the power supply 101.
[0105] The detection circuit 100 of the encoder in this embodiment includes a power supply detection circuit 102, the power supply detection circuit 102 includes a first detection circuit 104, the first detection circuit 104 includes a first resistor 10401, a first switch tube 10402, and a second switch tube 10403, one end of the first resistor 10401 is connected to the power supply 101, the other end of the first resistor 10401 is connected to the first end of the second switch tube 10403, the first end of the first switch tube 10402 is connected to the second end of the second switch tube 10403, the second end of the first switch tube 10402 is connected to the encoder, the third end of the first switch tube 10402 is connected to the first resistor 10401, and the third end of the second switch tube 10403 is connected to the first end of the fourth switch tube 10405. When the first switch tube 10402 is turned on, the first switch tube 10402 is used to connect the power supply 101 and the encoder so that the power supply 101 supplies power to the encoder; when the first switch tube 10402 is turned off, the first switch tube 10402 is used to disconnect the power supply 101 and the encoder so that the power supply 101 stops supplying power to the encoder; when the voltage of the first resistor 10401 is greater than the second voltage threshold, the second switch tube 10403 is turned on, and when the second switch tube 10403 is turned on, the second switch tube 10403 is used to disconnect the first switch tube 10402 so that the power supply 101 stops supplying power to the encoder, thereby ensuring the circuit reliability of the power detection circuit 102 and further ensuring the normal operation of the encoder.
[0106] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, wherein the first detection circuit 104 further includes a third switch tube 10404, a fourth switch tube 10405, a second resistor 10406, a third resistor 10407 and a fourth resistor 10408;
[0107] One end of the second resistor 10406 is connected to the power supply 101, the other end of the second resistor 10406 is connected to one end of the third resistor 10407, the other end of the third resistor 10407 is grounded, a first end of the third switch tube 10404 is connected to the third resistor 10407, a second end of the third switch tube 10404 is connected to the third end of the second switch tube 10403, the third end of the third switch tube 10404 is grounded, a second end of the fourth switch tube 10405 is connected to the first output end 107, the third end of the fourth switch tube 10405 is grounded, one end of the fourth resistor 10408 is connected to the first end of the fourth switch tube 10405, and the other end of the fourth resistor 10408 is grounded;
[0108] When the voltage value is greater than the first voltage threshold, the third switch tube 10404 is turned on. When the third switch tube 10404 is turned on, the third switch tube 10404 is used to disconnect the fourth switch tube 10405. When the fourth switch tube 10405 is disconnected, the fourth switch tube 10405 is used to disconnect the first switch tube 10402.
[0109] In this embodiment, the first detection circuit 104 further includes a third switch tube 10404 , a fourth switch tube 10405 , a second resistor 10406 , a third resistor 10407 and a fourth resistor 10408 .
[0110] It should be noted that one end of the second resistor 10406 is connected to the power supply 101, the other end of the second resistor 10406 is connected to one end of the third resistor 10407, the other end of the third resistor 10407 is grounded, the first end of the third switch tube 10404 is connected to the third resistor 10407, the second end of the third switch tube 10404 is connected to the third end of the second switch tube 10403, the third end of the third switch tube 10404 is grounded, the second end of the fourth switch tube 10405 is connected to the first output end 107, the third end of the fourth switch tube 10405 is grounded, one end of the fourth resistor 10408 is connected to the first end of the fourth switch tube 10405, and the other end of the fourth resistor 10408 is grounded.
[0111] Exemplarily, the fourth switch tube 10405 can specifically include a field effect tube and a diode, the first end of the fourth switch tube 10405 can specifically be a gate, the second end of the fourth switch tube 10405 can specifically be a drain, the third end of the fourth switch tube 10405 can specifically be a source, the anode of the diode is connected to the source, the anode of the diode is connected to the drain, the first end of the fourth switch tube is connected to the fourth resistor 10408, the second end of the fourth switch tube 10405 is connected to the first output end 107, and the third end of the fourth switch tube 10405 is grounded.
[0112] Exemplarily, the fourth switch tube 10405 can also specifically include a Zener diode, one end of the Zener diode is connected to the first end of the fourth switch tube 10405, the other end of the Zener diode is connected to the third end of the fourth switch tube 10405, the first end of the fourth switch tube 10405 is connected to the fourth resistor 10408, the second end of the fourth switch tube 10405 is connected to the first output end 107, and the third end of the fourth switch tube 10405 is grounded.
[0113] Exemplarily, the third resistor 10407 and the fourth resistor 10408 play a role in voltage division for the power supply 101 .
[0114] When the voltage value is greater than the first voltage threshold, the third switch tube 10404 is turned on. When the third switch tube 10404 is turned on, the third switch tube 10404 is used to disconnect the fourth switch tube 10405. When the fourth switch tube 10405 is disconnected, the fourth switch tube 10405 is used to disconnect the first switch tube 10402, so that the power supply 101 stops supplying power to the encoder.
[0115] Exemplarily, when the third switch tube 10404 is disconnected, the third switch tube 10404 is used to turn on the fourth switch tube 10405 .
[0116] Exemplarily, when the fourth switch tube 10405 is disconnected, the fourth switch tube 10405 is used to turn on the first switch tube 10402 so that the power supply 101 supplies power to the encoder.
[0117] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which includes a first detection circuit 104. The first detection circuit 104 includes a third switch tube 10404, a fourth switch tube 10405, a second resistor 10406, a third resistor 10407 and a fourth resistor 10408. One end of the second resistor 10406 is connected to the power supply 101, the other end of the second resistor 10406 is connected to one end of the third resistor 10407, the other end of the third resistor 10407 is grounded, a first end of the third switch tube 10404 is connected to the third resistor 10407, a second end of the third switch tube 10404 is connected to the third end of the second switch tube 10403, and a third end of the third switch tube 10404 is connected to the third end of the third switch tube 10403. The first output terminal 107 is connected to the ground, the second end of the fourth switch tube 10405 is connected to the first output terminal 107, the third end of the fourth switch tube 10405 is grounded, one end of the fourth resistor 10408 is connected to the first end of the fourth switch tube 10405, and the other end of the fourth resistor 10408 is grounded. When the voltage value is greater than the first voltage threshold, the third switch tube 10404 is turned on. When the third switch tube 10404 is turned on, the third switch tube 10404 is used to disconnect the fourth switch tube 10405. When the fourth switch tube 10405 is disconnected, the fourth switch tube 10405 is used to disconnect the first switch tube 10402, so that the power supply 101 stops supplying power to the encoder, thereby ensuring the circuit reliability of the power supply detection circuit 102, and further ensuring the normal operation of the encoder.
[0118] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the first detection circuit 104 further includes a fifth resistor 10409, a sixth resistor 10410, a seventh resistor 10411, an eighth resistor 10412, and a first diode 10413;
[0119] One end of the fifth resistor 10409 is connected to the first resistor 10401, the other end of the fifth resistor 10409 is connected to the first end of the second switch tube 10403, one end of the sixth resistor 10410 is connected to the second end of the second switch tube 10403, the other end of the sixth resistor 10410 is connected to the third end of the second switch tube 10403, one end of the seventh resistor 10411 is connected to the third end of the second switch tube 10403, the other end of the seventh resistor 10411 is connected to the first end of the fourth switch tube 10405, one end of the eighth resistor 10412 is connected to the second end of the second switch tube 10403, the other end of the eighth resistor 10412 is connected to the second end of the fourth switch tube 10405, the positive electrode of the first diode 10413 is connected to the first end of the fourth switch tube 10405, and the negative electrode of the first diode 10413 is connected to the driver.
[0120] In this embodiment, the first detection circuit 104 further includes a fifth resistor 10409 , a sixth resistor 10410 , a seventh resistor 10411 , an eighth resistor 10412 , and a first diode 10413 .
[0121] It should be noted that one end of the fifth resistor 10409 is connected to the first resistor 10401, the other end of the fifth resistor 10409 is connected to the first end of the second switch tube 10403, one end of the sixth resistor 10410 is connected to the second end of the second switch tube 10403, the other end of the sixth resistor 10410 is connected to the third end of the second switch tube 10403, one end of the seventh resistor 10411 is connected to the third end of the second switch tube 10403, the other end of the seventh resistor 10411 is connected to the first end of the fourth switch tube 10405, one end of the eighth resistor 10412 is connected to the second end of the second switch tube 10403, the other end of the eighth resistor 10412 is connected to the second end of the fourth switch tube 10405, the positive pole of the first diode 10413 is connected to the first end of the fourth switch tube 10405, and the negative pole of the first diode 10413 is connected to the driver.
[0122] The fifth resistor 10409 , the sixth resistor 10410 , the seventh resistor 10411 and the eighth resistor 10412 are used to share the voltage of the power supply 101 , and the first diode 10413 plays a role of current limiting.
[0123] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which includes a first detection circuit 104. The first detection circuit 104 includes a fifth resistor 10409, a sixth resistor 10410, a seventh resistor 10411, an eighth resistor 10412, and a first diode 10413. One end of the fifth resistor 10409 is connected to the first resistor 10401, the other end of the fifth resistor 10409 is connected to the first end of the second switch tube 10403, one end of the sixth resistor 10410 is connected to the second end of the second switch tube 10403, the other end of the sixth resistor 10410 is connected to the third end of the second switch tube 10403, and one end of the seventh resistor 10411 is connected to the third end of the second switch tube 10403. The other end of the seventh resistor 10411 is connected to the first end of the fourth switch tube 10405, one end of the eighth resistor 10412 is connected to the second end of the second switch tube 10403, the other end of the eighth resistor 10412 is connected to the second end of the fourth switch tube 10405, the anode of the first diode 10413 is connected to the first end of the fourth switch tube 10405, the cathode of the first diode 10413 is connected to the driver, the fifth resistor 10409, the sixth resistor 10410, the seventh resistor 10411 and the eighth resistor 10412 are used to share the voltage of the power supply 101, and the first diode 10413 plays a role of current limiting, thereby ensuring the circuit reliability and circuit safety of the power supply detection circuit 102, and thus ensuring the normal operation of the encoder.
[0124] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the second detection circuit 105 includes a ninth resistor 10501, a fifth switch tube 10502, and a sixth switch tube 10503;
[0125] One end of the ninth resistor 10501 is connected to the power supply 101, the other end of the ninth resistor 10501 is connected to the first end of the fifth switch tube 10502, the second end of the fifth switch tube 10502 is connected to the power supply 101, the third end of the fifth switch tube 10502 is grounded, the first end of the sixth switch tube 10503 is connected to the second end of the fifth switch tube 10502, the second end of the sixth switch tube 10503 is connected to the first output end 107, and the third end of the sixth switch tube 10503 is grounded;
[0126] When the connection state is open, the fifth switch tube 10502 is disconnected. When the fifth switch tube 10502 is disconnected, the fifth switch tube 10502 is used to disconnect the sixth switch tube 10503;
[0127] When the sixth switch tube 10503 is disconnected, the sixth switch tube 10503 is used to output a second voltage signal to the first output terminal 107 .
[0128] In this embodiment, the second detection circuit 105 includes a ninth resistor 10501 , a fifth switch tube 10502 , and a sixth switch tube 10503 .
[0129] It should be noted that one end of the ninth resistor 10501 is connected to the power supply 101, the other end of the ninth resistor 10501 is connected to the first end of the fifth switch tube 10502, the second end of the fifth switch tube 10502 is connected to the power supply 101, the third end of the fifth switch tube 10502 is grounded, the first end of the sixth switch tube 10503 is connected to the second end of the fifth switch tube 10502, the second end of the sixth switch tube 10503 is connected to the first output end 107, and the third end of the sixth switch tube 10503 is grounded.
[0130] Exemplarily, the ninth resistor 10501 is used to divide the voltage of the power supply 101 , one end of the ninth resistor 10501 is connected to the power supply 101 , and the other end of the ninth resistor 10501 is connected to the first end of the fifth switch tube 10502 .
[0131] When the connection state is open, the fifth switch tube 10502 is disconnected. When the fifth switch tube 10502 is disconnected, the fifth switch tube 10502 is used to disconnect the sixth switch tube 10503.
[0132] Exemplarily, the fifth switch tube 10502 can be specifically a triode, the first end of the fifth switch tube 10502 is the base, the second end of the fifth switch tube 10502 is the collector, the third end of the fifth switch tube 10502 is the emitter, the first end of the fifth switch tube 10502 is connected to the ninth resistor 10501, the second end of the fifth switch tube 10502 is connected to the power supply 101, and the third end of the fifth switch tube 10502 is grounded.
[0133] When the sixth switch tube 10503 is disconnected, the sixth switch tube 10503 is used to output a second voltage signal to the first output terminal 107 .
[0134] Exemplarily, the sixth switch tube 10503 can be specifically a triode, the first end of the sixth switch tube 10503 is the base, the second end of the sixth switch tube 10503 is the collector, the third end of the sixth switch tube 10503 is the emitter, the first end of the sixth switch tube 10503 is connected to the second end of the fifth switch tube 10502, the second end of the sixth switch tube 10503 is connected to the first output end 107, and the third end of the sixth switch tube 10503 is grounded.
[0135] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, the power detection circuit 102 includes a second detection circuit 105, the second detection circuit 105 includes a ninth resistor 10501, a fifth switch tube 10502 and a sixth switch tube 10503, one end of the ninth resistor 10501 is connected to the power supply 101, the other end of the ninth resistor 10501 is connected to the first end of the fifth switch tube 10502, the second end of the fifth switch tube 10502 is connected to the power supply 101, the third end of the fifth switch tube 10502 is grounded, the first end of the sixth switch tube 10503 is connected to the first end of the fifth switch tube 10502 The two ends are connected, the second end of the sixth switch tube 10503 is connected to the first output end 107, and the third end of the sixth switch tube 10503 is grounded. When the connection state is open, the fifth switch tube 10502 is disconnected. When the fifth switch tube 10502 is disconnected, the fifth switch tube 10502 is used to disconnect the sixth switch tube 10503. When the sixth switch tube 10503 is disconnected, the sixth switch tube 10503 is used to output a second voltage signal to the first output end 107, thereby ensuring the circuit reliability and circuit safety of the second detection circuit 105, and further ensuring the circuit reliability and circuit safety of the power supply detection circuit 102.
[0136] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the second detection circuit 105 further includes a tenth resistor 10504, an eleventh resistor 10505, a twelfth resistor 10506, a thirteenth resistor 10507, a fourteenth resistor 10508, a first capacitor 10509, a second capacitor 10510 and a second diode 10511;
[0137] One end of the tenth resistor 10504 is connected to the power supply 101, the other end of the tenth resistor 10504 is connected to the second end of the fifth switch tube 10502, one end of the eleventh resistor 10505 is connected to the second end of the fifth switch tube 10502, the other end of the eleventh resistor 10505 is connected to the first end of the sixth switch tube 10503, one end of the twelfth resistor 10506 is connected to the first end of the fifth switch tube 10502, the other end of the twelfth resistor 10506 is connected to the ground terminal 111 of the encoder, one end of the first capacitor 10509 is connected to the first end of the fifth switch tube 10502, and the first capacitor 105 The other end of 09 is grounded, one end of the thirteenth resistor 10507 is connected to the first capacitor 10509, the other end of the thirteenth resistor 10507 is connected to the ground terminal 111 of the encoder, one end of the fourteenth resistor 10508 is connected to the first end of the sixth switch tube 10503, the other end of the fourteenth resistor 10508 is grounded, one end of the second capacitor 10510 is connected to the first end of the sixth switch tube 10503, the other end of the second capacitor 10510 is grounded, the positive electrode of the second diode 10511 is connected to the second end of the sixth switch tube 10503, and the negative electrode of the second diode 10511 is connected to the first output terminal 107.
[0138] In this embodiment, the second detection circuit 105 further includes a tenth resistor 10504 , an eleventh resistor 10505 , a twelfth resistor 10506 , a thirteenth resistor 10507 , a fourteenth resistor 10508 , a first capacitor 10509 , a second capacitor 10510 and a second diode 10511 .
[0139] It should be noted that one end of the tenth resistor 10504 is connected to the power supply 101, the other end of the tenth resistor 10504 is connected to the second end of the fifth switch tube 10502, one end of the eleventh resistor 10505 is connected to the second end of the fifth switch tube 10502, the other end of the eleventh resistor 10505 is connected to the first end of the sixth switch tube 10503, one end of the twelfth resistor 10506 is connected to the first end of the fifth switch tube 10502, the other end of the twelfth resistor 10506 is connected to the ground terminal 111 of the encoder, one end of the first capacitor 10509 is connected to the first end of the fifth switch tube 10502, and the first capacitor 10509 is connected to the first end of the fifth switch tube 10502. The other end of the capacitor 10509 is grounded, one end of the thirteenth resistor 10507 is connected to the first capacitor 10509, the other end of the thirteenth resistor 10507 is connected to the ground terminal 111 of the encoder, one end of the fourteenth resistor 10508 is connected to the first end of the sixth switch tube 10503, the other end of the fourteenth resistor 10508 is grounded, one end of the second capacitor 10510 is connected to the first end of the sixth switch tube 10503, the other end of the second capacitor 10510 is grounded, the anode of the second diode 10511 is connected to the second end of the sixth switch tube 10503, and the cathode of the second diode 10511 is connected to the first output terminal 107.
[0140] Exemplarily, the tenth resistor 10504, the eleventh resistor 10505, the twelfth resistor 10506, the thirteenth resistor 10507 and the fourteenth resistor 10508 are voltage divider resistors for sharing the voltage of the power supply 101, one end of the tenth resistor 10504 is connected to the power supply 101, the other end of the tenth resistor 10504 is connected to the second end of the fifth switch tube 10502, one end of the eleventh resistor 10505 is connected to the second end of the fifth switch tube 10502, and the other end of the eleventh resistor 10505 is connected to the second end of the fifth switch tube 10502. It is connected to the first end of the sixth switch tube 10503, one end of the twelfth resistor 10506 is connected to the first end of the fifth switch tube 10502, the other end of the twelfth resistor 10506 is connected to the ground terminal 111 of the encoder, one end of the thirteenth resistor 10507 is connected to the first capacitor 10509, the other end of the thirteenth resistor 10507 is connected to the ground terminal 111 of the encoder, one end of the fourteenth resistor 10508 is connected to the first end of the sixth switch tube 10503, and the other end of the fourteenth resistor 10508 is grounded.
[0141] Exemplarily, the first capacitor 10509 and the second capacitor 10510 are filter capacitors, which can be used to filter the power supply 101, one end of the first capacitor 10509 is connected to the first end of the fifth switch tube 10502, the other end of the first capacitor 10509 is grounded, one end of the second capacitor 10510 is connected to the first end of the sixth switch tube 10503, and the other end of the second capacitor 10510 is grounded.
[0142] Exemplarily, the second diode 10511 plays a role of current limiting, the anode of the second diode 10511 is connected to the second end of the sixth switch tube 10503 , and the cathode of the second diode 10511 is connected to the first output end 107 .
[0143] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which includes a second detection circuit 105. The second detection circuit 105 includes a tenth resistor 10504, an eleventh resistor 10505, a twelfth resistor 10506, a thirteenth resistor 10507, a fourteenth resistor 10508, a first capacitor 10509, a second capacitor 10510 and a second diode 10511. One end of the tenth resistor 10504 is connected to the power supply 101, the other end of the tenth resistor 10504 is connected to the second end of the fifth switch tube 10502, one end of the eleventh resistor 10505 is connected to the second end of the fifth switch tube 10502, the other end of the eleventh resistor 10505 is connected to the first end of the sixth switch tube 10503, one end of the twelfth resistor 10506 is connected to the first end of the fifth switch tube 10502, and the other end of the twelfth resistor 10506 is connected to the encoder The ground terminal 111 of the encoder is connected, one end of the first capacitor 10509 is connected to the first end of the fifth switch tube 10502, and the other end of the first capacitor 10509 is grounded. One end of the thirteenth resistor 10507 is connected to the first capacitor 10509, and the other end of the thirteenth resistor 10507 is connected to the ground terminal 111 of the encoder. One end of the fourteenth resistor 10508 is connected to the first end of the sixth switch tube 10503, and the other end of the fourteenth resistor 10508 is grounded. One end of the second capacitor 10510 is connected to the first end of the sixth switch tube 10503, and the other end of the second capacitor 10510 is grounded. The positive electrode of the second diode 10511 is connected to the second end of the sixth switch tube 10503, and the negative electrode of the second diode 10511 is connected to the first output terminal 107, thereby ensuring the circuit reliability and circuit safety of the second detection circuit 105, and further ensuring the circuit reliability and circuit safety of the power supply detection circuit 102.
[0144] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, the third detection circuit 106 includes a seventh switch tube 10601, a fifteenth resistor 10602 and a sixteenth resistor 10603, one end of the fifteenth resistor 10602 is connected to the power supply 101, the other end of the fifteenth resistor 10602 is connected to the second end of the seventh switch tube 10601, one end of the sixteenth resistor 10603 is connected to the first end of the seventh switch tube 10601, the other end of the sixteenth resistor 10603 is connected to the ground terminal 111 of the encoder, the third end of the seventh switch tube 10601 is grounded, and the first output terminal 107 is connected to the second end of the seventh switch tube 10601;
[0145] When the current value is greater than the first current threshold, the seventh switch tube 10601 is turned on. When the seventh switch tube 10601 is turned on, the seventh switch tube 10601 is used to output a third voltage signal to the first output terminal 107 .
[0146] In this embodiment, the second detection circuit 105 further includes a seventh switch tube 10601 , a fifteenth resistor 10602 , and a sixteenth resistor 10603 .
[0147] It should be noted that one end of the fifteenth resistor 10602 is connected to the power supply 101, the other end of the fifteenth resistor 10602 is connected to the second end of the seventh switch tube 10601, one end of the sixteenth resistor 10603 is connected to the first end of the seventh switch tube 10601, the other end of the sixteenth resistor 10603 is connected to the ground terminal 111 of the encoder, the third end of the seventh switch tube 10601 is grounded, and the first output terminal 107 is connected to the second end of the seventh switch tube 10601.
[0148] Exemplarily, the seventh switch tube 10601 can be a triode, the first end of the seventh switch tube 10601 is the base, the second end of the seventh switch tube 10601 is the collector, the third end of the seventh switch tube 10601 is the emitter, the first end of the seventh switch tube 10601 is connected to the sixteenth resistor 10603, the third end of the seventh switch tube 10601 is grounded, and the second end of the seventh switch tube 10601 is connected to the first output end 107.
[0149] Exemplarily, the fifteenth resistor 10602 and the sixteenth resistor 10603 are voltage-dividing resistors, one end of the fifteenth resistor 10602 is connected to the power supply 101, the other end of the fifteenth resistor 10602 is connected to the second end of the seventh switch tube 10601, one end of the sixteenth resistor 10603 is connected to the first end of the seventh switch tube 10601, and the other end of the sixteenth resistor 10603 is connected to the ground terminal 111 of the encoder.
[0150] When the current value is greater than the first current threshold, the seventh switch tube 10601 is turned on. When the seventh switch tube 10601 is turned on, the seventh switch tube 10601 is used to output a third voltage signal to the first output terminal 107, wherein the first current threshold is a threshold corresponding to the current value of the power supply 101.
[0151] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102, which includes a third detection circuit 106. The third detection circuit 106 includes a seventh switch tube 10601, a fifteenth resistor 10602 and a sixteenth resistor 10603. One end of the fifteenth resistor 10602 is connected to the power supply 101, the other end of the fifteenth resistor 10602 is connected to the second end of the seventh switch tube 10601, one end of the sixteenth resistor 10603 is connected to the first end of the seventh switch tube 10601, the other end of the sixteenth resistor 10603 is connected to the ground terminal 111 of the encoder, the third end of the seventh switch tube 10601 is grounded, and the first output terminal 107 is connected to the second end of the seventh switch tube 10601, thereby ensuring the circuit reliability and circuit safety of the third detection circuit 106, and further ensuring the circuit reliability and circuit safety of the power detection circuit 102.
[0152] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the third detection circuit 106 further includes a fourth capacitor 10604 and a third diode 10605;
[0153] One end of the fourth capacitor 10604 is connected to the first end of the seventh switch tube 10601, the other end of the fourth capacitor 10604 is grounded, the anode of the third diode 10605 is connected to the second end of the seventh switch tube 10601, and the cathode of the third diode 10605 is connected to the first output terminal 107.
[0154] In this embodiment, the third detection circuit 106 further includes a fourth capacitor 10604 and a third diode 10605 .
[0155] It should be noted that one end of the fourth capacitor 10604 is connected to the first end of the seventh switch tube 10601, the other end of the fourth capacitor 10604 is grounded, the positive electrode of the third diode 10605 is connected to the second end of the seventh switch tube 10601, and the negative electrode of the third diode 10605 is connected to the first output terminal 107.
[0156] Exemplarily, the fourth capacitor 10604 is a filter capacitor, which is used to filter the seventh switch tube 10601. One end of the fourth capacitor 10604 is connected to the first end of the seventh switch tube 10601, and the other end of the fourth capacitor 10604 is grounded.
[0157] Exemplarily, the third diode 10605 plays a role of current limiting, the anode of the third diode 10605 is connected to the second end of the seventh switch tube 10601 , and the cathode of the third diode 10605 is connected to the first output end 107 .
[0158] The detection circuit 100 of the encoder in this embodiment includes a power supply detection circuit 102, the power supply detection circuit 102 includes a third detection circuit 106, the third detection circuit 106 includes a fourth capacitor 10604 and a third diode 10605, one end of the fourth capacitor 10604 is connected to the first end of the seventh switch tube 10601, the other end of the fourth capacitor 10604 is grounded, the positive electrode of the third diode 10605 is connected to the second end of the seventh switch tube 10601, and the negative electrode of the third diode 10605 is connected to the first output end 107, thereby ensuring the circuit reliability and circuit safety of the third detection circuit 106, and further ensuring the circuit reliability and circuit safety of the power supply detection circuit 102.
[0159] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, wherein the signal detection circuit 103 includes a first detection device 10301, a second detection device 10302, a third detection device 10303, and a second output terminal 10304, and the first detection device 10301, the second detection device 10302, and the third detection device 10303 are all connected to the encoder;
[0160] The first detection device 10301 is used to output a fourth voltage signal to the second output terminal 10304 according to the first phase signal;
[0161] The second detection device 10302 is used to output a fifth voltage signal to the second output terminal 10304 according to the second phase signal;
[0162] The third detection device 10303 is used to output a sixth voltage signal to the second output terminal 10304 according to the third phase signal;
[0163] The second output terminal 10304 is connected to the driver. When at least one of the fourth voltage signal, the fifth voltage signal and the sixth voltage signal is a low voltage signal, the second output terminal 10304 is used to send the second signal to the driver.
[0164] In this embodiment, the signal detection circuit 103 includes a first detection device 10301 , a second detection device 10302 , a third detection device 10303 and a second output terminal 10304 .
[0165] It should be noted that the first detection device 10301, the second detection device 10302 and the third detection device 10303 are all connected to the encoder. The first detection device 10301 is used to output a fourth voltage signal to the second output terminal 10304 according to the first phase signal of the encoder, the second detection device 10302 is used to output a fifth voltage signal to the second output terminal 10304 according to the second phase signal, and the third detection device 10303 is used to output a sixth voltage signal to the second output terminal 10304 according to the third phase signal.
[0166] For example, Figure 3 As shown, the signal detection circuit 103 may include a connection port 301 , the first detection device 10301 may be a first logic module 302 , the second detection device 10302 may be specifically a second logic module 303 , and the third detection device 10303 may be specifically a third logic module 304 .
[0167] Exemplarily, the processing logics of the first detection device 10301 , the second detection device 10302 , and the third detection device 10303 are as shown in Table 1, where A and B are input terminals, and Y is an output terminal.
[0168] Table 1
[0169]
[0170]
[0171] The second output terminal 10304 is connected to the driver. When at least one of the fourth voltage signal, the fifth voltage signal and the sixth voltage signal is a low voltage signal, the second output terminal 10304 is used to send the second signal to the driver.
[0172] Exemplarily, when the fourth voltage signal is a low voltage signal, the second output terminal 10304 can send the second signal to the driver.
[0173] Exemplarily, when the fifth voltage signal is a low voltage signal, the second output terminal 10304 can send the second signal to the driver.
[0174] Exemplarily, when the sixth voltage signal is a low voltage signal, the second output terminal 10304 can send the second signal to the driver.
[0175] Exemplarily, when the fourth voltage signal and the fifth voltage signal are both low voltage signals, the second output terminal 10304 can send the second signal to the driver.
[0176] Exemplarily, when the fourth voltage signal and the sixth voltage signal are both low voltage signals, the second output terminal 10304 can send the second signal to the driver.
[0177] Exemplarily, when the sixth voltage signal and the fifth voltage signal are both low voltage signals, the second output terminal 10304 can send the second signal to the driver.
[0178] Exemplarily, when the fourth voltage signal, the fifth voltage signal, and the sixth voltage signal are all low voltage signals, the second output terminal 10304 can send the second signal to the driver.
[0179] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which includes a first detection device 10301, a second detection device 10302, a third detection device 10303 and a second output terminal 10304. The first detection device 10301, the second detection device 10302 and the third detection device 10303 are all connected to the encoder. The first detection device 10301 is used to output a fourth voltage signal to the second output terminal 10304 according to the first phase signal of the encoder. The second detection device 10302 is used to output a fifth voltage signal to the second output terminal 10304 according to the second phase signal. The third detection device 10303 is used to output a sixth voltage signal to the second output terminal 10304 according to the third phase signal. The second output terminal 10304 is connected to the driver. When at least one of the fourth voltage signal, the fifth voltage signal and the sixth voltage signal is a low voltage signal, the second output terminal 10304 is used to send the second signal to the driver, thereby expanding the circuit function of the signal detection circuit 103 and ensuring the reliability and safety of the encoder.
[0180] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, wherein a first detection device 10301 includes a first voltage input terminal, a second voltage input terminal and a first voltage output terminal, the first voltage input terminal is connected to the encoder, and is used to receive a first level signal in a first phase signal, the second voltage input terminal is connected to the encoder, and is used to receive a second level signal in the first phase signal, and the first voltage output terminal is connected to the second output terminal 10304, and is used to output a fourth voltage signal to the second output terminal 10304;
[0181] In a case where the voltage of the first level signal is the same as the voltage of the second level signal, determining that the fourth voltage signal is a low voltage signal; or
[0182] In a case where the voltage of the first level signal is different from the voltage of the second level signal, the fourth voltage signal is determined to be a high level signal.
[0183] In this embodiment, the first detection device 10301 includes a first voltage input terminal, a second voltage input terminal and a first voltage output terminal. The first voltage input terminal is connected to the encoder for receiving a first level signal in the first phase signal. The second voltage input terminal is connected to the encoder for receiving a second level signal in the first phase signal. The first voltage output terminal is connected to the second output terminal 10304 for outputting a fourth voltage signal to the second output terminal 10304.
[0184] In a case where the voltage of the first level signal and the voltage of the second level signal are the same, the fourth voltage signal is determined to be a low voltage signal.
[0185] Exemplarily, the first detection device 10301 may be a logic device, and when the voltage of the first level signal and the voltage of the second level signal are the same, the first detection device 10301 may set the fourth voltage signal to a low voltage signal.
[0186] Exemplarily, when both the first level signal and the second level signal are high level signals, the first detection device 10301 may set the fourth voltage signal to a low voltage signal.
[0187] Exemplarily, when both the first level signal and the second level signal are low level signals, the first detection device 10301 may set the fourth voltage signal to a low voltage signal.
[0188] In a case where the voltage of the first level signal is different from the voltage of the second level signal, the fourth voltage signal is determined to be a high level signal.
[0189] Exemplarily, the first detection device 10301 may be a logic device, and when the voltage of the first level signal is different from the voltage of the second level signal, the first detection device 10301 may set the fourth voltage signal to a high voltage signal.
[0190] Exemplarily, when the voltage of the first level signal is a low level signal and the second level signal is a high level signal, the first detection device 10301 may set the fourth voltage signal to a high voltage signal.
[0191] Exemplarily, when the voltage of the first level signal is a high level signal and the second level signal is a low level signal, the first detection device 10301 may set the fourth voltage signal to a high voltage signal.
[0192] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, and the signal detection circuit 103 includes a first detection device 10301. The first detection device 10301 includes a first voltage input terminal, a second voltage input terminal and a first voltage output terminal. The first voltage input terminal is connected to the encoder and is used to receive a first level signal in the first phase signal. The second voltage input terminal is connected to the encoder and is used to receive a second level signal in the first phase signal. The first voltage output terminal is connected to the second output terminal 10304 and is used to output a fourth voltage signal to the second output terminal 10304. When the voltage of the first level signal and the voltage of the second level signal are different, the fourth voltage signal is determined to be a high level signal. When the voltage of the first level signal and the voltage of the second level signal are the same, the fourth voltage signal is determined to be a low voltage signal, thereby ensuring the device function of the first detection device 10301 and further ensuring the circuit reliability and circuit safety of the signal detection circuit 103.
[0193] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the signal detection circuit 103 further includes a seventeenth resistor 10305, an eighteenth resistor 10306, a nineteenth resistor 10307, a fifth capacitor 10308 and a fourth diode 10309;
[0194] One end of the seventeenth resistor 10305 is connected to the first voltage output terminal, the other end of the seventeenth resistor 10305 is connected to the anode of the fourth diode 10309, the cathode of the fourth diode 10309 is connected to the second output terminal 10304, one end of the eighteenth resistor 10306 is connected to the encoder, the other end of the eighteenth resistor 10306 is connected to the first voltage input terminal, one end of the nineteenth resistor 10307 is connected to the encoder, the other end of the nineteenth resistor 10307 is connected to the second voltage input terminal, one end of the fifth capacitor 10308 is connected to the seventeenth resistor 10305, and the other end of the fifth capacitor 10308 is grounded.
[0195] In this embodiment, the signal detection circuit 103 further includes a seventeenth resistor 10305 , an eighteenth resistor 10306 , a nineteenth resistor 10307 , a fifth capacitor 10308 and a fourth diode 10309 .
[0196] It should be noted that one end of the seventeenth resistor 10305 is connected to the first voltage output terminal, the other end of the seventeenth resistor 10305 is connected to the positive electrode of the fourth diode 10309, the negative electrode of the fourth diode 10309 is connected to the second output terminal 10304, one end of the eighteenth resistor 10306 is connected to the encoder, the other end of the eighteenth resistor 10306 is connected to the first voltage input terminal, one end of the nineteenth resistor 10307 is connected to the encoder, the other end of the nineteenth resistor 10307 is connected to the second voltage input terminal, one end of the fifth capacitor 10308 is connected to the seventeenth resistor 10305, and the other end of the fifth capacitor 10308 is grounded.
[0197] Exemplarily, the seventeenth resistor 10305, the eighteenth resistor 10306, and the nineteenth resistor 10307 can be voltage-dividing resistors, one end of the seventeenth resistor 10305 is connected to the first voltage output terminal, the other end of the seventeenth resistor 10305 is connected to the positive electrode of the fourth diode 10309, one end of the eighteenth resistor 10306 is connected to the encoder, the other end of the eighteenth resistor 10306 is connected to the first voltage input terminal, one end of the nineteenth resistor 10307 is connected to the encoder, and the other end of the nineteenth resistor 10307 is connected to the second voltage input terminal.
[0198] Exemplarily, the fifth capacitor 10308 may be a filter capacitor, one end of the fifth capacitor 10308 is connected to the seventeenth resistor 10305 , and the other end of the fifth capacitor 10308 is grounded.
[0199] Exemplarily, the fourth diode 10309 plays a role of current limiting, the anode of the fourth diode 10309 is connected to the seventeenth resistor 10305 , and the cathode of the fourth diode 10309 is connected to the second output terminal 10304 .
[0200] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which includes a seventeenth resistor 10305, an eighteenth resistor 10306, a nineteenth resistor 10307, a fifth capacitor 10308 and a fourth diode 10309. One end of the seventeenth resistor 10305 is connected to the first voltage output end, the other end of the seventeenth resistor 10305 is connected to the positive electrode of the fourth diode 10309, the negative electrode of the fourth diode 10309 is connected to the second output end 10304, one end of the eighteenth resistor 10306 is connected to the encoder, the other end of the eighteenth resistor 10306 is connected to the first voltage input end, one end of the nineteenth resistor 10307 is connected to the encoder, the other end of the nineteenth resistor 10307 is connected to the second voltage input end, one end of the fifth capacitor 10308 is connected to the seventeenth resistor 10305, and the other end of the fifth capacitor 10308 is grounded, thereby ensuring the circuit function of the signal detection circuit 103 and further ensuring the reliability and safety of the encoder.
[0201] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, the second detection device 10302 includes a third voltage input terminal, a fourth voltage input terminal and a second voltage output terminal, the third voltage input terminal is connected to the encoder, and is used to receive a third level signal in the second phase signal, the fourth voltage input terminal is connected to the encoder, and is used to receive a fourth level signal in the second phase signal, and the second voltage output terminal is connected to the second output terminal 10304, and is used to output a fifth voltage signal to the second output terminal 10304;
[0202] In a case where the voltage of the third level signal is the same as the voltage of the fourth level signal, determining that the fifth voltage signal is a low level signal; or
[0203] In a case where the voltage of the third level signal is different from the voltage of the fourth level signal, the fifth voltage signal is determined to be a high level signal.
[0204] In this embodiment, the second detection device 10302 includes a third voltage input terminal, a fourth voltage input terminal and a second voltage output terminal.
[0205] It should be noted that the third voltage input terminal is connected to the encoder for receiving the third level signal in the second phase signal, the fourth voltage input terminal is connected to the encoder for receiving the fourth level signal in the second phase signal, and the second voltage output terminal is connected to the second output terminal 10304 for outputting the fifth voltage signal to the second output terminal 10304.
[0206] In the case that the voltage of the third level signal is the same as the voltage of the fourth level signal, the second detection device 10302 determines that the fifth voltage signal is a low level signal.
[0207] Exemplarily, the second detection device 10302 may be specifically a logic device, and when the voltage of the third level signal is the same as the voltage of the fourth level signal, the second detection device 10302 determines that the fifth voltage signal is a low level signal.
[0208] Exemplarily, when the third level signal and the fourth level signal are both high level signals, the second detection device 10302 determines that the fifth voltage signal is a low level signal.
[0209] Exemplarily, when the third level signal and the fourth level signal are both low level signals, the second detection device 10302 determines that the fifth voltage signal is a low level signal.
[0210] In the case that the voltage of the third level signal is different from the voltage of the fourth level signal, the second detection device 10302 determines that the fifth voltage signal is a high level signal.
[0211] Exemplarily, when the third level signal is a low level signal and the fourth level signal is a high level signal, the second detection device 10302 determines that the fifth voltage signal is a high level signal.
[0212] Exemplarily, when the third level signal is a high level signal and the fourth level signal is a low level signal, the second detection device 10302 determines that the fifth voltage signal is a high level signal.
[0213] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which includes a second detection device 10302. The second detection device 10302 includes a third voltage input terminal, a fourth voltage input terminal and a second voltage output terminal. The third voltage input terminal is connected to the encoder and is used to receive a third level signal in the second phase signal. The fourth voltage input terminal is connected to the encoder and is used to receive a fourth level signal in the second phase signal. The second voltage output terminal is connected to the second output terminal 10304 and is used to output a fifth voltage signal to the second output terminal 10304. When the voltage of the third level signal is the same as the voltage of the fourth level signal, the second detection device 10302 determines that the fifth voltage signal is a low level signal. When the voltage of the third level signal is different from the voltage of the fourth level signal, the second detection device 10302 determines that the fifth voltage signal is a high level signal, thereby ensuring the device function of the second detection device 10302, and further ensuring the circuit reliability and circuit safety of the signal detection circuit 103.
[0214] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the signal detection circuit 103 further includes a twentieth resistor 10310, a twenty-first resistor 10311, a twenty-second resistor 10312, a sixth capacitor 10313 and a fifth diode 10314;
[0215] One end of the twentieth resistor 10310 is connected to the second voltage output terminal, the other end of the twentieth resistor 10310 is connected to the positive electrode of the fifth diode 10314, the negative electrode of the fifth diode 10314 is connected to the second output terminal 10304, one end of the twenty-first resistor 10311 is connected to the encoder, the other end of the twenty-first resistor 10311 is connected to the third voltage input terminal, one end of the twenty-second resistor 10312 is connected to the encoder, the other end of the twenty-second resistor 10312 is connected to the fourth voltage input terminal, one end of the sixth capacitor 10313 is connected to the twentieth resistor 10310, and the other end of the sixth capacitor 10313 is grounded.
[0216] In this embodiment, the signal detection circuit 103 further includes a twentieth resistor 10310 , a twenty-first resistor 10311 , a twenty-second resistor 10312 , a sixth capacitor 10313 and a fifth diode 10314 .
[0217] It should be noted that one end of the twentieth resistor 10310 is connected to the second voltage output terminal, the other end of the twentieth resistor 10310 is connected to the positive electrode of the fifth diode 10314, the negative electrode of the fifth diode 10314 is connected to the second output terminal 10304, one end of the twenty-first resistor 10311 is connected to the encoder, the other end of the twenty-first resistor 10311 is connected to the third voltage input terminal, one end of the twenty-second resistor 10312 is connected to the encoder, the other end of the twenty-second resistor 10312 is connected to the fourth voltage input terminal, one end of the sixth capacitor 10313 is connected to the twentieth resistor 10310, and the other end of the sixth capacitor 10313 is grounded.
[0218] Exemplarily, the twentieth resistor 10310, the twenty-first resistor 10311, and the twenty-second resistor 10312 can be voltage-dividing resistors, one end of the twentieth resistor 10310 is connected to the second voltage output terminal, the other end of the twentieth resistor 10310 is connected to the positive electrode of the fifth diode 10314, one end of the twenty-first resistor 10311 is connected to the encoder, the other end of the twenty-first resistor 10311 is connected to the third voltage input terminal, one end of the twenty-second resistor 10312 is connected to the encoder, and the other end of the twenty-second resistor 10312 is connected to the fourth voltage input terminal.
[0219] Exemplarily, the sixth capacitor 10313 may be a filter capacitor, one end of the sixth capacitor 10313 is connected to the twentieth resistor 10310, and the other end of the sixth capacitor 10313 is grounded.
[0220] Exemplarily, the fifth diode 10314 plays a role of current limiting, the anode of the fifth diode 10314 is connected to the twentieth resistor 10310 , and the cathode of the fifth diode 10314 is connected to the second output terminal 10304 .
[0221] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which includes a twentieth resistor 10310, a twenty-first resistor 10311, a twenty-second resistor 10312, a sixth capacitor 10313 and a fifth diode 10314. One end of the twentieth resistor 10310 is connected to the second voltage output end, the other end of the twentieth resistor 10310 is connected to the positive electrode of the fifth diode 10314, the negative electrode of the fifth diode 10314 is connected to the second output end 10304, one end of the twenty-first resistor 10311 is connected to the encoder, the other end of the twenty-first resistor 10311 is connected to the third voltage input end, one end of the twenty-second resistor 10312 is connected to the encoder, the other end of the twenty-second resistor 10312 is connected to the fourth voltage input end, one end of the sixth capacitor 10313 is connected to the twentieth resistor 10310, and the other end of the sixth capacitor 10313 is grounded, thereby ensuring the circuit function of the signal detection circuit 103, and further ensuring the reliability and safety of the encoder.
[0222] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, the third detection device 10303 includes a fifth voltage input terminal, a sixth voltage input terminal and a third voltage output terminal, the fifth voltage input terminal is connected to the encoder, and is used to receive a fifth level signal in the third phase signal, the sixth voltage input terminal is connected to the encoder, and is used to receive a sixth level signal in the third phase signal, and the third voltage output terminal is connected to the second output terminal 10304, and is used to output a sixth voltage signal to the second output terminal 10304;
[0223] In a case where the voltage of the fifth level signal is the same as the voltage of the sixth level signal, determining that the sixth voltage signal is a low level signal; or
[0224] In a case where the voltage of the fifth level signal is different from the voltage of the sixth level signal, the sixth voltage signal is determined to be a high level signal.
[0225] In this embodiment, the third detection device 10303 includes a fifth voltage input terminal, a sixth voltage input terminal and a third voltage output terminal.
[0226] It should be noted that the fifth voltage input terminal is connected to the encoder for receiving the fifth level signal in the third phase signal, the sixth voltage input terminal is connected to the encoder for receiving the sixth level signal in the third phase signal, and the third voltage output terminal is connected to the second output terminal 10304 for outputting the sixth voltage signal to the second output terminal 10304.
[0227] In the case that the voltage of the fifth level signal is the same as the voltage of the sixth level signal, the third detection device 10303 determines that the sixth voltage signal is a low level signal.
[0228] Exemplarily, the third detection device 10303 may be a logic device, and when the voltage of the fifth level signal is the same as the voltage of the sixth level signal, the third detection device 10303 determines that the sixth voltage signal is a low level signal.
[0229] Exemplarily, when both the fifth level signal and the sixth level signal are high level signals, the third detection device 10303 determines that the sixth voltage signal is a low level signal.
[0230] Exemplarily, when both the fifth level signal and the sixth level signal are low level signals, the third detection device 10303 determines that the sixth voltage signal is a low level signal.
[0231] In the case that the voltage of the fifth level signal is different from the voltage of the sixth level signal, the third detection device 10303 determines that the sixth voltage signal is a high level signal.
[0232] Exemplarily, when the fifth level signal is a low level signal and the sixth level signal is a high level signal, the third detection device 10303 determines that the sixth voltage signal is a high level signal.
[0233] Exemplarily, when the fifth level signal is a high level signal and the sixth level signal is a low level signal, the third detection device 10303 determines that the sixth voltage signal is a high level signal.
[0234] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which includes a third detection device 10303. The third detection device 10303 includes a fifth voltage input terminal, a sixth voltage input terminal and a third voltage output terminal. The fifth voltage input terminal is connected to the encoder and is used to receive a fifth level signal in the third phase signal. The sixth voltage input terminal is connected to the encoder and is used to receive a sixth level signal in the third phase signal. The third voltage output terminal is connected to the second output terminal 10304 and is used to output a sixth voltage signal to the second output terminal 10304. When the voltage of the fifth level signal is the same as the voltage of the sixth level signal, the third detection device 10303 determines that the sixth voltage signal is a low level signal. When the voltage of the fifth level signal is different from the voltage of the sixth level signal, the third detection device 10303 determines that the sixth voltage signal is a high level signal, thereby ensuring the device function of the third detection device 10303 and further ensuring the circuit reliability and circuit safety of the signal detection circuit 103.
[0235] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, and the signal detection circuit 103 further includes a twenty-third resistor 10315, a twenty-fourth resistor 10316, a twenty-fifth resistor 10317, a seventh capacitor 10318 and a sixth diode 10319;
[0236] One end of the twenty-third resistor 10315 is connected to the third voltage output terminal, the other end of the twenty-third resistor 10315 is connected to the anode of the sixth diode 10319, the cathode of the sixth diode 10319 is connected to the second output terminal 10304, one end of the twenty-fourth resistor 10316 is connected to the encoder, the other end of the twenty-fourth resistor 10316 is connected to the fifth voltage input terminal, one end of the twenty-fifth resistor 10317 is connected to the encoder, the other end of the twenty-fifth resistor 10317 is connected to the sixth voltage input terminal, one end of the seventh capacitor 10318 is connected to the twenty-third resistor 10315, and the other end of the seventh capacitor 10318 is grounded.
[0237] In this embodiment, the signal detection circuit 103 further includes a twenty-third resistor 10315 , a twenty-fourth resistor 10316 , a twenty-fifth resistor 10317 , a seventh capacitor 10318 and a sixth diode 10319 .
[0238] It should be noted that one end of the twenty-third resistor 10315 is connected to the third voltage output terminal, the other end of the twenty-third resistor 10315 is connected to the positive electrode of the sixth diode 10319, the negative electrode of the sixth diode 10319 is connected to the second output terminal 10304, one end of the twenty-fourth resistor 10316 is connected to the encoder, the other end of the twenty-fourth resistor 10316 is connected to the fifth voltage input terminal, one end of the twenty-fifth resistor 10317 is connected to the encoder, the other end of the twenty-fifth resistor 10317 is connected to the sixth voltage input terminal, one end of the seventh capacitor 10318 is connected to the twenty-third resistor 10315, and the other end of the seventh capacitor 10318 is grounded.
[0239] Exemplarily, the twenty-third resistor 10315, the twenty-fourth resistor 10316, and the twenty-fifth resistor 10317 are voltage-dividing resistors, one end of the twenty-third resistor 10315 is connected to the third voltage output terminal, the other end of the twenty-third resistor 10315 is connected to the positive electrode of the sixth diode 10319, one end of the twenty-fourth resistor 10316 is connected to the encoder, the other end of the twenty-fourth resistor 10316 is connected to the fifth voltage input terminal, one end of the twenty-fifth resistor 10317 is connected to the encoder, and the other end of the twenty-fifth resistor 10317 is connected to the sixth voltage input terminal.
[0240] Exemplarily, the seventh capacitor 10318 is a filter capacitor, one end of the seventh capacitor 10318 is connected to the twenty-third resistor 10315, and the other end of the seventh capacitor 10318 is grounded.
[0241] Exemplarily, the sixth diode 10319 plays a current limiting role, the anode of the sixth diode 10319 is connected to the twenty-third resistor 10315 , and the cathode of the sixth diode 10319 is connected to the second output terminal 10304 .
[0242] The detection circuit 100 of the encoder in this embodiment includes a signal detection circuit 103, which also includes a twenty-third resistor 10315, a twenty-fourth resistor 10316, a twenty-fifth resistor 10317, a seventh capacitor 10318 and a sixth diode 10319. One end of the twenty-third resistor 10315 is connected to the third voltage output end, the other end of the twenty-third resistor 10315 is connected to the positive electrode of the sixth diode 10319, the negative electrode of the sixth diode 10319 is connected to the second output end 10304, one end of the twenty-fourth resistor 10316 is connected to the encoder, the other end of the twenty-fourth resistor 10316 is connected to the fifth voltage input end, one end of the twenty-fifth resistor 10317 is connected to the encoder, the other end of the twenty-fifth resistor 10317 is connected to the sixth voltage input end, one end of the seventh capacitor 10318 is connected to the twenty-third resistor 10315, and the other end of the seventh capacitor 10318 is grounded, thereby ensuring the circuit function of the signal detection circuit 103 and further ensuring the reliability and safety of the encoder.
[0243] In some embodiments, optionally, a detection circuit 100 of an encoder is proposed, the power detection circuit 102 includes a twenty-sixth resistor 108, one end of the twenty-sixth resistor 108 is connected to the power supply 101, and the other end of the twenty-sixth resistor 108 is connected to the first output end 107;
[0244] The signal detection circuit 103 includes a twenty-seventh resistor 109 , one end of the twenty-seventh resistor 109 is connected to the power supply 101 , and the other end of the twenty-seventh resistor 109 is connected to the second output end 10304 .
[0245] In this embodiment, the power detection circuit 102 includes a twenty-sixth resistor 108 , one end of the twenty-sixth resistor 108 is connected to the power supply 101 , and the other end of the twenty-sixth resistor 108 is connected to the first output end 107 .
[0246] The signal detection circuit 103 includes a twenty-seventh resistor 109 , one end of the twenty-seventh resistor 109 is connected to the power supply 101 , and the other end of the twenty-seventh resistor 109 is connected to the second output end 10304 .
[0247] The detection circuit 100 of the encoder in this embodiment includes a power detection circuit 102 and a signal detection circuit 103. The power detection circuit 102 includes a twenty-sixth resistor 108, one end of the twenty-sixth resistor 108 is connected to the power supply 101, and the other end of the twenty-sixth resistor 108 is connected to the first output terminal 107. The signal detection circuit 103 includes a twenty-seventh resistor 109, one end of the twenty-seventh resistor 109 is connected to the power supply 101, and the other end of the twenty-seventh resistor 109 is connected to the second output terminal 10304, thereby ensuring the safety of the power detection circuit 102 and the signal detection circuit 103, thereby ensuring the reliability and safety of the encoder.
[0248] In some embodiments, optionally, an industrial device is proposed, including: a detection circuit of an encoder as in any of the above embodiments, and thus has all the beneficial technical effects of the detection circuit of the encoder in any of the above embodiments, which will not be elaborated herein.
[0249] It should be clarified that in the claims, specification and drawings of the present invention, 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 invention and making the description process simpler, 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 limiting the present invention; 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 the present invention can be understood according to the specific circumstances of the above data.
[0250] In the claims, specification and drawings of the present invention, 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 invention. In the claims, specification and drawings of the present invention, 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.
[0251] 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. A detection circuit of an encoder, characterized in that: The encoder is used for industrial equipment, the industrial equipment includes a driver and a power supply, the driver is used to drive the encoder, the power supply is used to supply power to the encoder, and the detection circuit of the encoder includes: A power detection circuit, the power detection circuit is connected to the power supply and the driver respectively, and is used to detect the voltage value and current value of the power supply, and is also used to detect the connection state between the power supply and the encoder; When at least one of the voltage value, the current value and the connection status is abnormal, the power detection circuit causes the power supply to stop supplying power to the encoder and sends a first signal to the driver, wherein the first signal is used to notify the driver that there is a fault in the power supply.
2. The detection circuit of the encoder according to claim 1, characterized in that: The encoder further comprises: A signal detection circuit, the signal detection circuit is connected to the encoder and the driver, and is used to detect an output signal of the encoder, wherein the output signal includes a first phase signal, a second phase signal, and a third phase signal; When at least one of the first phase signal, the second phase signal and the third phase signal is abnormal, the signal detection circuit is used to send a second signal to the driver, and the second signal is used to notify the driver that there is a fault in the encoder.
3. The detection circuit of the encoder according to claim 1, characterized in that: The power detection circuit comprises: a first detection circuit, a second detection circuit, a third detection circuit and a first output terminal; The first detection circuit is connected to the power supply and the first output terminal respectively, and is used to detect the voltage value of the power supply. When the voltage value is greater than a first voltage threshold, the first detection circuit is used to stop the power supply from supplying power to the encoder and send a first voltage signal to the first output terminal; The second detection circuit is connected to the power supply and the first output terminal respectively, and is used to detect the connection state between the power supply and the driver. When the connection state is open, the second detection circuit is used to send a second voltage signal to the first output terminal; The third detection circuit is connected to the power supply and the first output end respectively, and is used to detect the current value of the power supply. When the current value is greater than the first current threshold, the third detection circuit is used to send a third voltage signal to the first output end; The first output end is connected to the driver, and when at least one of the first voltage signal, the second voltage signal or the third voltage signal is a low voltage signal, the first output end is used to send the first signal to the driver.
4. The detection circuit of the encoder according to claim 3, characterized in that: The first detection circuit includes a first resistor, a first switch tube, and a second switch tube; One end of the first resistor is connected to the power supply, the other end of the first resistor is connected to the first end of the second switch tube, the first end of the first switch tube is connected to the second end of the second switch tube, the second end of the first switch tube is connected to the encoder, the third end of the first switch tube is connected to the first resistor, and the third end of the second switch tube is connected to the first end of the power supply; When the first switch tube is turned on, the first switch tube is used to connect the power supply and the encoder, so that the power supply supplies power to the encoder; When the first switch tube is disconnected, the first switch tube is used to disconnect the power supply and the encoder, so that the power supply stops supplying power to the encoder; When the voltage of the first resistor is greater than a second voltage threshold, the second switch tube is turned on. When the second switch tube is turned on, the second switch tube is used to disconnect the first switch tube.
5. The detection circuit of the encoder according to claim 4, characterized in that: The first detection circuit also includes a third switch tube, a fourth switch tube, a second resistor, a third resistor and a fourth resistor; One end of the second resistor is connected to the power supply, the other end of the second resistor is connected to one end of the third resistor, the other end of the third resistor is grounded, the first end of the third switch tube is connected to the third resistor, the second end of the third switch tube is connected to the third end of the second switch tube, the third end of the third switch tube is grounded, the second end of the fourth switch tube is connected to the first output end, the third end of the fourth switch tube is grounded, one end of the fourth resistor is connected to the first end of the fourth switch tube, and the other end of the fourth resistor is grounded; When the voltage value is greater than the first voltage threshold, the third switch tube is turned on. When the third switch tube is turned on, the third switch tube is used to disconnect the fourth switch tube. When the fourth switch tube is disconnected, the fourth switch tube is used to disconnect the first switch tube.
6. The detection circuit of the encoder according to claim 5, characterized in that: The first detection circuit also includes a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, and a first diode; One end of the fifth resistor is connected to the first resistor, the other end of the fifth resistor is connected to the first end of the second switch tube, one end of the sixth resistor is connected to the second end of the second switch tube, the other end of the sixth resistor is connected to the third end of the second switch tube, one end of the seventh resistor is connected to the third end of the second switch tube, the other end of the seventh resistor is connected to the first end of the fourth switch tube, one end of the eighth resistor is connected to the second end of the second switch tube, the other end of the eighth resistor is connected to the second end of the fourth switch tube, the anode of the first diode is connected to the first end of the fourth switch tube, and the cathode of the first diode is connected to the driver.
7. The detection circuit of the encoder according to claim 3, characterized in that: The second detection circuit includes a ninth resistor, a fifth switch tube and a sixth switch tube; One end of the ninth resistor is connected to the power supply, the other end of the ninth resistor is connected to the first end of the fifth switch tube, the second end of the fifth switch tube is connected to the power supply, the third end of the fifth switch tube is grounded, the first end of the sixth switch tube is connected to the second end of the fifth switch tube, the second end of the sixth switch tube is connected to the first output end, and the third end of the sixth switch tube is grounded; When the connection state is open, disconnecting the fifth switch tube, and when the fifth switch tube is disconnected, the fifth switch tube is used to disconnect the sixth switch tube; When the sixth switch tube is turned off, the sixth switch tube is used to output the second voltage signal to the first output end.
8. The detection circuit of the encoder according to claim 7, characterized in that: The second detection circuit further includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a first capacitor, a second capacitor and a second diode; One end of the tenth resistor is connected to the power supply, the other end of the tenth resistor is connected to the second end of the fifth switch tube, one end of the eleventh resistor is connected to the second end of the fifth switch tube, the other end of the eleventh resistor is connected to the first end of the sixth switch tube, one end of the twelfth resistor is connected to the first end of the fifth switch tube, the other end of the twelfth resistor is connected to the ground end of the encoder, one end of the first capacitor is connected to the first end of the fifth switch tube, the other end of the first capacitor is grounded, one end of the thirteenth resistor is connected to the first capacitor, the other end of the thirteenth resistor is connected to the ground end of the encoder, one end of the fourteenth resistor is connected to the first end of the sixth switch tube, the other end of the fourteenth resistor is grounded, one end of the second capacitor is connected to the first end of the sixth switch tube, the other end of the second capacitor is grounded, the anode of the second diode is connected to the second end of the sixth switch tube, and the cathode of the second diode is connected to the first output end.
9. The detection circuit of the encoder according to claim 3, characterized in that: The third detection circuit includes a seventh switch tube, a fifteenth resistor and a sixteenth resistor, one end of the fifteenth resistor is connected to the power supply, the other end of the fifteenth resistor is connected to the second end of the seventh switch tube, one end of the sixteenth resistor is connected to the first end of the seventh switch tube, the other end of the sixteenth resistor is connected to the ground end of the encoder, the third end of the seventh switch tube is grounded, and the first output end is connected to the second end of the seventh switch tube; When the current value is greater than the first current threshold, the seventh switch tube is turned on. When the seventh switch tube is turned on, the seventh switch tube is used to output the third voltage signal to the first output end.
10. The detection circuit of the encoder according to claim 9, characterized in that: The third detection circuit also includes a fourth capacitor and a third diode; One end of the fourth capacitor is connected to the first end of the seventh switch tube, the other end of the fourth capacitor is grounded, the anode of the third diode is connected to the second end of the seventh switch tube, and the cathode of the third diode is connected to the first output end.
11. The detection circuit of the encoder according to claim 2, characterized in that: The signal detection circuit comprises a first detection device, a second detection device, a third detection device and a second output terminal, wherein the first detection device, the second detection device and the third detection device are all connected to the encoder; The first detection device is used to output a fourth voltage signal to the second output terminal according to the first phase signal; The second detection device is used to output a fifth voltage signal to the second output terminal according to the second phase signal; The third detection device is used to output a sixth voltage signal to the second output terminal according to the third phase signal; The second output terminal is connected to the driver, and when at least one of the fourth voltage signal, the fifth voltage signal and the sixth voltage signal is a low voltage signal, the second output terminal is used to send the second signal to the driver.
12. The detection circuit of the encoder according to claim 11, characterized in that: The first detection device includes a first voltage input terminal, a second voltage input terminal and a first voltage output terminal, the first voltage input terminal is connected to the encoder and is used to receive a first level signal in the first phase signal, the second voltage input terminal is connected to the encoder and is used to receive a second level signal in the first phase signal, and the first voltage output terminal is connected to the second output terminal and is used to output a fourth voltage signal to the second output terminal; In a case where the voltage of the first level signal is the same as the voltage of the second level signal, determining that the fourth voltage signal is a low voltage signal; or When the voltage of the first level signal is different from the voltage of the second level signal, the fourth voltage signal is determined to be a high level signal.
13. The detection circuit of the encoder according to claim 12, characterized in that: The signal detection circuit further includes a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a fifth capacitor and a fourth diode; One end of the seventeenth resistor is connected to the first voltage output terminal, the other end of the seventeenth resistor is connected to the anode of the fourth diode, the cathode of the fourth diode is connected to the second output terminal, one end of the eighteenth resistor is connected to the encoder, the other end of the eighteenth resistor is connected to the first voltage input terminal, one end of the nineteenth resistor is connected to the encoder, the other end of the nineteenth resistor is connected to the second voltage input terminal, one end of the fifth capacitor is connected to the seventeenth resistor, and the other end of the fifth capacitor is grounded.
14. The detection circuit of the encoder according to claim 11, characterized in that: The second detection device comprises a third voltage input terminal, a fourth voltage input terminal and a second voltage output terminal, the third voltage input terminal is connected to the encoder and is used to receive a third level signal in the second phase signal, the fourth voltage input terminal is connected to the encoder and is used to receive a fourth level signal in the second phase signal, and the second voltage output terminal is connected to the second output terminal and is used to output a fifth voltage signal to the second output terminal; In a case where the voltage of the third level signal is the same as the voltage of the fourth level signal, determining that the fifth voltage signal is a low level signal; or In a case where the voltage of the third level signal is different from the voltage of the fourth level signal, the fifth voltage signal is determined to be a high level signal.
15. The detection circuit of the encoder according to claim 14, characterized in that: The signal detection circuit further includes a twentieth resistor, a twenty-first resistor, a twenty-second resistor, a sixth capacitor and a fifth diode; One end of the twentieth resistor is connected to the second voltage output terminal, the other end of the twentieth resistor is connected to the anode of the fifth diode, the cathode of the fifth diode is connected to the second output terminal, one end of the twenty-first resistor is connected to the encoder, the other end of the twenty-first resistor is connected to the third voltage input terminal, one end of the twenty-second resistor is connected to the encoder, the other end of the twenty-second resistor is connected to the fourth voltage input terminal, one end of the sixth capacitor is connected to the twentieth resistor, and the other end of the sixth capacitor is grounded.
16. The detection circuit of the encoder according to claim 11, characterized in that: The third detection device comprises a fifth voltage input terminal, a sixth voltage input terminal and a third voltage output terminal, the fifth voltage input terminal is connected to the encoder and is used to receive a fifth level signal in the third phase signal, the sixth voltage input terminal is connected to the encoder and is used to receive a sixth level signal in the third phase signal, and the third voltage output terminal is connected to the second output terminal and is used to output a sixth voltage signal to the second output terminal; In a case where the voltage of the fifth level signal is the same as the voltage of the sixth level signal, determining that the sixth voltage signal is a low level signal; or In a case where the voltage of the fifth level signal is different from the voltage of the sixth level signal, it is determined that the sixth voltage signal is a high level signal.
17. The detection circuit of the encoder according to claim 16, characterized in that: The signal detection circuit further includes a twenty-third resistor, a twenty-fourth resistor, a twenty-fifth resistor, a seventh capacitor and a sixth diode; One end of the twenty-third resistor is connected to the third voltage output terminal, the other end of the twenty-third resistor is connected to the anode of the sixth diode, the cathode of the sixth diode is connected to the second output terminal, one end of the twenty-fourth resistor is connected to the encoder, the other end of the twenty-fourth resistor is connected to the fifth voltage input terminal, one end of the twenty-fifth resistor is connected to the encoder, the other end of the twenty-fifth resistor is connected to the sixth voltage input terminal, one end of the seventh capacitor is connected to the twenty-third resistor, and the other end of the seventh capacitor is grounded.
18. The detection circuit of the encoder according to any one of claims 1 to 17, characterized in that: The power detection circuit includes a twenty-sixth resistor, one end of the twenty-sixth resistor is connected to the power supply, and the other end of the twenty-sixth resistor is connected to the first output end; The signal detection circuit includes a twenty-seventh resistor, one end of the twenty-seventh resistor is connected to the power supply, and the other end of the twenty-seventh resistor is connected to the second output end.
19. An industrial device, characterized in that: The industrial equipment includes: The detection circuit of the encoder according to any one of claims 1 to 18.