AB incremental encoder circuit of electric forklift

By introducing clamping diodes and filters into the electric forklift incremental encoder circuit, the problems of insufficient anti-interference ability and lack of overvoltage protection are solved, achieving effective protection of the microcontroller and the stability and accuracy of the encoder signal. .

CN221840448UActive Publication Date: 2024-10-15SHENZHEN SILICON MOUNTAIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420482359.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2024-10-15
Estimated Expiration
2034-03-13

AI Technical Summary

Technical Problem

The existing electric forklift incremental encoder has poor anti-interference ability and lacks overvoltage protection, which makes the microcontroller easily damaged and cannot effectively prevent pulse loss and zero offset.

Method used

An AB incremental encoder circuit for an electric forklift is designed, using the first and second comparison modules, output modules and comparison input modules. The back-end comparator is protected by clamping diodes and filters to ensure that the circuit operates under overvoltage conditions. It is not damaged and uses a secondary filter to reduce external interference and improve signal stability.

Benefits of technology

It enhances the pressure resistance and stability of the system, reduces the impact of external interference, ensures the accuracy and reliability of the encoder output signal, prevents damage to the microcontroller, and improves the overall reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221840448U_ABST
    Figure CN221840448U_ABST
Patent Text Reader

Abstract

The utility model discloses an AB incremental encoder circuit of an electric forklift, which relates to the technical field of encoders, and comprises a first comparison module, a second comparison module, a first output module, a second output module and a comparison input module, the first comparison module is used for being connected with an ENC PHASEA / SIN pin of the Hall sensor, and after comparison with the output voltage of the comparison input module, the first output module inputs an electric signal to the DSP; and the second comparison module is connected with the second output module, the second comparison module is used for being connected with an ENC PHASEA / SIN pin of the Hall sensor, after comparison with the output voltage of the comparison input module, an electric signal is input to the DSP by the second output module, and the problems that the anti-interference capability is poor and insufficient, and a single-chip microcomputer is easy to damage due to no overvoltage protection in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of encoders, in particular to an AB incremental encoder circuit for an electric forklift. Background Art

[0002] The electric forklift incremental encoder usually has two output channels, called phase A and phase B. When the rotational motion occurs, the number of pulses of phase A and phase B changes. The two signals are 90 degrees out of phase, and the rotation direction and count value can be determined by detecting their changes. The output of the electric forklift incremental encoder is an incremental pulse, which needs to be counted and integrated to obtain position information, and two channels can be used to measure speed.

[0003] During the encoder pulse output process, there must be no interference and loss of pulses, otherwise the zero point remembered by the counting device will be offset, and the amount of this offset is unknown until the wrong production results occur. Summary of the invention

[0004] The utility model provides an AB incremental encoder circuit for an electric forklift, which has the advantages of strong pressure resistance and overvoltage protection, and can prevent damage to a single-chip microcomputer, so as to solve the problem that the prior art has poor anti-interference ability and is prone to damage to the single-chip microcomputer without overvoltage protection.

[0005] In order to achieve strong pressure resistance, overvoltage protection, and prevent damage to the single-chip microcomputer, the utility model provides the following technical solutions: an electric forklift AB incremental encoder circuit, including a first comparison module, a second comparison module, a first output module, a second output module and a comparison input module, wherein: the first comparison module is connected to the first output module, the first comparison module is used to connect to the ENC PHASEA / SIN pin of the Hall sensor, and the first output module inputs an electrical signal to the DSP after comparing with the output voltage of the comparison input module; the second comparison module is connected to the second output module, the second comparison module is used to connect to the ENC PHASEA / SIN pin of the Hall sensor, and the second output module inputs an electrical signal to the DSP after comparing with the output voltage of the comparison input module.

[0006] As a preferred technical solution of the utility model, the first comparison module includes a first protection unit and a first filtering unit, the first protection unit is used to protect the back-end comparator from damage, and the first filtering unit is used for filtering; the first comparison module also includes a clamping diode D46, the third pin of the clamping diode D46 is connected to the ENC PHASEA / SIN pin of the Hall sensor, the first pin of the clamping diode D46 is connected to the first protection unit, the first pin of the clamping diode D46 is also grounded through a resistor R444, the first pin of the clamping diode D46 is also connected to the same direction end of the comparator U27 through the first filtering unit, the same direction end of the comparator U27 is connected to the first output module through a resistor R449, and the seventh pin of the comparator U27 is connected to the first output module.

[0007] As a preferred technical solution of the utility model, the first protection unit includes a resistor R447, one end of which is connected to the +12V voltage, and the other end of which is connected to the first pin of the clamping diode D46; the first filtering unit includes a resistor R344 and a capacitor C55, one end of which is connected to the first pin of the clamping diode D46, the other end of which is connected to a resistor R341 and a capacitor C55, the other end of which is connected to the same direction end of the comparator U27, and the other end of the capacitor C55 is grounded.

[0008] As a preferred technical solution of the utility model, the first output module includes a resistor R350, a resistor R443 and a capacitor C11, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R350 is connected to the seventh pin of the comparator U27 and one end of the resistor R443, the other end of the resistor R443 is connected to one end of the capacitor C11 and the EQEPA pin of the DSP, and the other end of the capacitor C11 is grounded.

[0009] As a preferred technical solution of the utility model, the second comparison module includes a second protection unit and a second filtering unit, the second protection unit is used to protect the back-end comparator from damage, and the second filtering unit is used for filtering; the second comparison module also includes a clamping diode D52, the third pin of the clamping diode D52 is connected to the ENC PHASEA / COS pin of the Hall sensor, the first pin of the clamping diode D52 is connected to the second protection unit, the first pin of the clamping diode D52 is also grounded through a resistor R446, the first pin of the clamping diode D52 is also connected to the same direction end of the comparator U28 through the first filtering unit, the same direction end of the comparator U28 is connected to the first output module through a resistor R450, and the seventh pin of the comparator U28 is connected to the second output module.

[0010] As a preferred technical solution of the present utility model, the second protection unit includes a resistor R445, one end of which is connected to the +12V voltage, and the other end of which is connected to the first pin of the clamping diode D52; the second filtering unit includes a resistor R346 and a capacitor C56, one end of which is connected to the first pin of the clamping diode D52, the other end of which is connected to the resistor R346 and the capacitor C56, the other end of which is connected to the same direction end of the comparator U27, and the other end of the capacitor C56 is grounded.

[0011] As a preferred technical solution of the utility model, the second output module includes a resistor R348, a resistor R440 and a capacitor C53, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R348 is connected to the seventh pin of the comparator U27 and one end of the resistor R440, the other end of the resistor R440 is connected to one end of the capacitor C53 and the EQEPA pin of the DSP, and the other end of the capacitor C53 is grounded.

[0012] As a preferred technical solution of the present utility model, the comparison input module includes a resistor R432 and a resistor R435, one end of the resistor R432 is connected to the +5V voltage, the other end of the resistor R432 is connected to the resistor R435, the other end of the resistor R435 is grounded, and the end of the resistor R432 connected to the resistor R435 is connected to the inverting end of the comparator U27 and the inverting end of the comparator U28.

[0013] Compared with the prior art, the utility model provides an AB incremental encoder circuit for an electric forklift, which has the following beneficial effects:

[0014] The electric forklift AB incremental encoder circuit obtains two signals (ENC PHASEA / SIN and ENC PHASEA / COS) from the Hall sensor, which are compared and processed by the first and second comparison modules with the output voltage of the comparison input module, and then sent to the first and second output modules. After the processed signals pass through the first and second output modules, they are transmitted to the DSP, so that the DSP can obtain the processed pulse signal and further calculate and control the position information. By introducing the input clamp, it can be ensured that the circuit will not be affected by overvoltage, thereby protecting key components such as the single-chip microcomputer. This can increase the reliability and stability of the entire system. The introduction of the secondary filter helps to reduce the impact of external interference, thereby ensuring the stability and accuracy of the encoder output signal, making the system more reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1The utility model is a schematic diagram of the circuit structure of the AB incremental encoder for electric forklifts. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0017] The incremental encoder of an electric forklift usually has two output channels, called phase A and phase B. When rotational motion occurs, the number of pulses of phase A and phase B changes. The two signals are 90 degrees out of phase, and the direction of rotation and count value can be determined by detecting their changes. The output of the incremental encoder of an electric forklift is an incremental pulse, which needs to be counted and integrated to obtain position information, and two channels can be used to measure the speed. During the process of the encoder outputting pulses, there must be no interference and loss of pulses, otherwise, the zero point of the counting device memory will be offset, and the amount of this offset is unknown. It can only be known after the wrong production result occurs. This solution provides an AB incremental encoder circuit, adds secondary filtering, reduces interference; input clamping prevents overvoltage protection, and effectively improves the electric forklift encoder output pulse process interference that causes the electric forklift to lose pulses.

[0018] See also Figure 1 The utility model discloses an AB incremental encoder circuit for electric forklifts, including a first comparison module, a second comparison module, a first output module, a second output module and a comparison input module, wherein: the first comparison module is connected to the first output module, the first comparison module is used to connect to the ENC PHASEA / SIN pin of the Hall sensor, and the first output module inputs an electrical signal to the DSP after comparing with the output voltage of the comparison input module; the second comparison module is connected to the second output module, the second comparison module is used to connect to the ENC PHASEA / SIN pin of the Hall sensor, and the second output module inputs an electrical signal to the DSP after comparing with the output voltage of the comparison input module. ENCPHASEA / SIN- and ENC PHASEA / COS- are input signals through the Hall sensor.

[0019] The two signals (ENC PHASEA / SIN and ENC PHASEA / COS) obtained from the Hall sensor are compared and processed by the first and second comparison modules with the output voltage of the comparison input module, and then sent to the first and second output modules. After the processed signals pass through the first and second output modules, they are transmitted to the DSP, so that the DSP can obtain the processed pulse signal and further calculate and control the position information. By introducing input clamping, it can be ensured that the circuit will not be affected by overvoltage, thereby protecting key components such as the microcontroller. This can increase the reliability and stability of the entire system. The introduction of the secondary filter helps to reduce the impact of external interference, thereby ensuring the stability and accuracy of the encoder output signal, making the system more reliable.

[0020] Specifically, the first comparison module includes a first protection unit and a first filtering unit, the first protection unit is used to protect the back-end comparator from damage, and the first filtering unit is used for filtering; the first comparison module also includes a clamping diode D46, the third pin of the clamping diode D46 is connected to the ENC PHASEA / SIN pin of the Hall sensor, the first pin of the clamping diode D46 is connected to the first protection unit, the first pin of the clamping diode D46 is also grounded through a resistor R444, the first pin of the clamping diode D46 is also connected to the same direction end of the comparator U27 through the first filtering unit, the same direction end of the comparator U27 is connected to the first output module through a resistor R449, and the seventh pin of the comparator U27 is connected to the first output module.

[0021] In this implementation, the first protection unit provides protection for the back-end comparator by connecting to the power supply and the clamping diode to ensure that the circuit is not damaged by overvoltage. The first filtering unit constitutes a low-pass filter for filtering out high-frequency noise and interference to ensure that the comparator receives a stable input signal, thereby improving the system's anti-interference ability and stability.

[0022] The clamping diode D46 plays an overvoltage protection role by limiting the voltage range of the input signal, preventing overvoltage from damaging the subsequent circuit. The connection of the comparator and the design of the output module ensure the stable transmission and processing of the signal, thus providing a reliable basis for subsequent signal processing.

[0023] Specifically, the first protection unit includes a resistor R447, one end of which is connected to the +12V voltage, and the other end of which is connected to the first pin of the clamping diode D46; the first filtering unit includes a resistor R344 and a capacitor C55, one end of which is connected to the first pin of the clamping diode D46, the other end of which is connected to a resistor R341 and a capacitor C55, the other end of which is connected to the same direction end of the comparator U27, and the other end of the capacitor C55 is grounded.

[0024] In the present embodiment, the first protection unit includes a resistor R447, which is used to provide a power supply connection and protect the back-end comparator from being damaged. The resistor R447 is connected to the +12V voltage, and the other end is connected to the first pin of the clamping diode D46. The first filtering unit includes a resistor R344 and a capacitor C55, which form a low-pass filter for filtering signals. The resistor R344 is connected to the first pin of the clamping diode D46, and the other end is connected to a resistor R341 and a capacitor C55. The other end of the resistor R341 is connected to the same direction end of the comparator U27, and the other end of the capacitor C55 is grounded.

[0025] The clamping diode D46 is connected to the ENC PHASEA / SIN pin of the Hall sensor to protect the comparator and other circuits from overvoltage damage by providing a fixed voltage range. Its first pin is grounded through a resistor R444, and the first pin is also connected to the same-direction end of the comparator U27 through the first filtering unit.

[0026] Specifically, the first output module includes a resistor R350, a resistor R443 and a capacitor C11, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R350 is connected to the seventh pin of the comparator U27 and one end of the resistor R443, the other end of the resistor R443 is connected to one end of the capacitor C11 and the EQEPA pin of the DSP, and the other end of the capacitor C11 is grounded.

[0027] In this implementation scheme, ENC PHASEA / SIN- is the voltage signal input by the Hall sensor. After being clamped by the clamping diode D46, it passes through the RC filter composed of R344 and C55 and enters the in-phase terminal of the comparator U27. It is compared with +5V after being divided by R432 and R435 and entering the inverting terminal of U27. When the voltage at the in-phase terminal is greater than the voltage at the inverting terminal, the seventh pin of the comparator U27 outputs a high level and enters the DSP after passing through the RC filter composed of R443 and C11. +12V1 is connected to the first pin of the clamping diode through R447. Its main function is to protect the back-end comparator from damage when the ENC PHASEA / SIN- input is greater than 12V.

[0028] Specifically, the second comparison module includes a second protection unit and a second filtering unit, the second protection unit is used to protect the back-end comparator from damage, and the second filtering unit is used for filtering; the second comparison module also includes a clamping diode D52, the third pin of the clamping diode D52 is connected to the ENC PHASEA / COS pin of the Hall sensor, the first pin of the clamping diode D52 is connected to the second protection unit, the first pin of the clamping diode D52 is also grounded through a resistor R446, the first pin of the clamping diode D52 is also connected to the same direction end of the comparator U28 through the first filtering unit, the same direction end of the comparator U28 is connected to the first output module through a resistor R450, and the seventh pin of the comparator U28 is connected to the second output module.

[0029] In this embodiment, the second protection unit provides protection for the back-end comparator by connecting to the power supply and the clamping diode to ensure that the circuit is not damaged by overvoltage. The second filtering unit constitutes a low-pass filter for filtering out high-frequency noise and interference to ensure that the comparator receives a stable input signal, thereby improving the system's anti-interference ability and stability.

[0030] The clamping diode plays an overvoltage protection role by limiting the voltage range of the input signal, preventing overvoltage from damaging the subsequent circuit. The connection of the comparator and the design of the output module ensure the stable transmission and processing of the signal, providing a reliable foundation for subsequent signal processing.

[0031] Specifically, the second protection unit includes a resistor R445, one end of which is connected to the +12V voltage, and the other end of which is connected to the first pin of the clamping diode D52; the second filtering unit includes a resistor R346 and a capacitor C56, one end of which is connected to the first pin of the clamping diode D52, the other end of which is connected to a resistor R436 and a capacitor C56, the other end of which is connected to the same direction end of the comparator U27, and the other end of the capacitor C56 is grounded.

[0032] In the present embodiment, the second protection unit comprises a resistor R445, which is used to provide a power supply connection and protect the rear end comparator from being damaged. The resistor R445 is connected to the +12V voltage, and the other end is connected to the first pin of the clamping diode D52. The second filter unit comprises a resistor R346 and a capacitor C56, which form a low pass filter for filtering signals. The resistor R346 is connected to the first pin of the clamping diode D52, and the other end is connected to the resistor R436 and the capacitor C56. The other end of the resistor R436 is connected to the same direction end of the comparator U28, and the other end of the capacitor C56 is grounded.

[0033] The clamping diode D52 is connected to the ENC PHASEA / COS pin of the Hall sensor to protect the comparator and other circuits from overvoltage damage by providing a fixed voltage range. Its first pin is grounded through a resistor R446, and the first pin is also connected to the same-direction end of the comparator U28 through the second filter unit. The same-direction end of the comparator U28 is connected to the first output module through a resistor R450, and the seventh pin of the comparator U28 is connected to the second output module.

[0034] Specifically, the second output module includes a resistor R348, a resistor R440 and a capacitor C53, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R348 is connected to the seventh pin of the comparator U27 and one end of the resistor R440, the other end of the resistor R440 is connected to one end of the capacitor C53 and the EQEPA pin of the DSP, and the other end of the capacitor C53 is grounded.

[0035] In this implementation scheme, ENC PHASEA / COS- is the voltage signal input by the Hall sensor. After being clamped by the clamping diode D52, it passes through the RC filter composed of R346 and C56 and enters the in-phase terminal of the comparator U28. It is compared with +5V after being divided by R432 and R435 and entering the inverting terminal of U28. When the voltage at the in-phase terminal is greater than the voltage at the inverting terminal, the first pin of the comparator U28 outputs a high level and enters the DSP after passing through the RC filter composed of R440 and C53. +12V1 is connected to the first pin of the clamping diode through R445. Its main function is to protect the back-end comparator from damage when the ENC PHASEA / COS- input is greater than 12V.

[0036] Specifically, the comparison input module includes a resistor R432 and a resistor R435, one end of the resistor R432 is connected to a +5V voltage, the other end of the resistor R432 is connected to the resistor R435, the other end of the resistor R435 is grounded, and the end of the resistor R432 connected to the resistor R435 is connected to the inverting end of the comparator U27 and the inverting end of the comparator U28.

[0037] In this implementation, the +5V voltage is converted into a voltage within the range that the comparator can handle through a voltage divider, ensuring that the input signal matches the operating voltage range of the comparator, avoiding errors and instabilities caused by excessively high or low input voltages, and connecting the input signal to the inverting terminal of the comparator after voltage division, ensuring correct comparison between the input signal and the reference voltage, so that the comparator can correctly generate an output signal, thereby accurately controlling subsequent circuits and systems.

[0038] To sum up, the electric forklift AB incremental encoder circuit has the advantages of strong pressure resistance and overvoltage protection, which can prevent damage to the single-chip microcomputer, so as to solve the problem that the prior art has poor anti-interference ability and no overvoltage protection, which is easy to damage the single-chip microcomputer.

[0039] It should be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0040] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An AB incremental encoder circuit for an electric forklift, characterized in that: It includes a first comparison module, a second comparison module, a first output module, a second output module and a comparison input module, wherein: The first comparison module is connected to the first output module, and the first comparison module is used to connect to the ENCPHASEA / SIN pin of the Hall sensor, and the first output module inputs an electrical signal to the DSP after comparing with the output voltage of the comparison input module; The second comparison module is connected to the second output module, and the second comparison module is used to connect to the ENCPHASEA / SIN pin of the Hall sensor. After being compared with the output voltage of the comparison input module, the second output module inputs an electrical signal to the DSP.

2. The AB incremental encoder circuit for an electric forklift according to claim 1, characterized in that: The first comparison module includes a first protection unit and a first filtering unit, wherein the first protection unit is used to protect the back-end comparator from damage, and the first filtering unit is used for filtering; The first comparison module also includes a clamping diode D46, a third pin of the clamping diode D46 is connected to the ENC PHASEA / SIN pin of the Hall sensor, a first pin of the clamping diode D46 is connected to the first protection unit, the first pin of the clamping diode D46 is also grounded through a resistor R444, the first pin of the clamping diode D46 is also connected to the same direction end of the comparator U27 through the first filtering unit, the same direction end of the comparator U27 is connected to the first output module through a resistor R449, and the seventh pin of the comparator U27 is connected to the first output module.

3. The AB incremental encoder circuit for an electric forklift according to claim 2, characterized in that: The first protection unit includes a resistor R447, one end of the resistor R447 is connected to a +12V voltage, and the other end of the resistor R447 is connected to a first pin of a clamping diode D46; The first filtering unit includes a resistor R344 and a capacitor C55, one end of the resistor R344 is connected to the first pin of the clamping diode D46, the other end of the resistor R344 is connected to the resistor R341 and the capacitor C55, the other end of the resistor R341 is connected to the same direction end of the comparator U27, and the other end of the capacitor C55 is grounded.

4. The AB incremental encoder circuit for an electric forklift according to claim 2, characterized in that: The first output module includes a resistor R350, a resistor R443 and a capacitor C11, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R350 is connected to the seventh pin of the comparator U27 and one end of the resistor R443, the other end of the resistor R443 is connected to one end of the capacitor C11 and the EQEPA pin of the DSP, and the other end of the capacitor C11 is grounded.

5. The AB incremental encoder circuit for an electric forklift according to claim 2, characterized in that: The second comparison module includes a second protection unit and a second filtering unit, the second protection unit is used to protect the back-end comparator from damage, and the second filtering unit is used for filtering; The second comparison module also includes a clamping diode D52, a third pin of the clamping diode D52 is connected to the ENC PHASEA / COS pin of the Hall sensor, a first pin of the clamping diode D52 is connected to the second protection unit, the first pin of the clamping diode D52 is also grounded through a resistor R446, the first pin of the clamping diode D52 is also connected to the same direction end of the comparator U28 through the first filtering unit, the same direction end of the comparator U28 is connected to the first output module through a resistor R450, and the seventh pin of the comparator U28 is connected to the second output module.

6. The AB incremental encoder circuit for an electric forklift according to claim 5, characterized in that: The second protection unit includes a resistor R445, one end of the resistor R445 is connected to the +12V voltage, and the other end of the resistor R445 is connected to the first pin of the clamping diode D52; The second filtering unit includes a resistor R346 and a capacitor C56, one end of the resistor R346 is connected to the first pin of the clamping diode D52, the other end of the resistor R346 is connected to the resistor R436 and the capacitor C56, the other end of the resistor R436 is connected to the same direction end of the comparator U27, and the other end of the capacitor C56 is grounded.

7. The AB incremental encoder circuit for an electric forklift according to claim 5, characterized in that: The second output module includes a resistor R348, a resistor R440 and a capacitor C53, one end of the resistor R350 is connected to the voltage VDD33, the other end of the resistor R348 is connected to the seventh pin of the comparator U27 and one end of the resistor R440, the other end of the resistor R440 is connected to one end of the capacitor C53 and the EQEPA pin of the DSP, and the other end of the capacitor C53 is grounded.

8. The AB incremental encoder circuit for an electric forklift according to claim 5, characterized in that: The comparison input module includes a resistor R432 and a resistor R435, one end of the resistor R432 is connected to a +5V voltage, the other end of the resistor R432 is connected to the resistor R435, the other end of the resistor R435 is grounded, and the end of the resistor R432 connected to the resistor R435 is connected to the inverting end of the comparator U27 and the inverting end of the comparator U28.