CN209978937U - Encoder signal detection circuit compatible with multiple encoder types - Google Patents
Encoder signal detection circuit compatible with multiple encoder types Download PDFInfo
- Publication number
- CN209978937U CN209978937U CN201921038280.XU CN201921038280U CN209978937U CN 209978937 U CN209978937 U CN 209978937U CN 201921038280 U CN201921038280 U CN 201921038280U CN 209978937 U CN209978937 U CN 209978937U
- Authority
- CN
- China
- Prior art keywords
- encoder
- negative
- power supply
- positive
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The utility model discloses an encoder signal detection circuitry of compatible multiple encoder type, include: the encoder power supply positive end, the encoder positive output signal end, the encoder negative output signal end, the encoder power supply negative end, the differential signal receiving IC, the first voltage-regulator tube and the second voltage-regulator tube have the advantages that the encoder type detection circuit can be compatible with various encoder types, the encoder output signals are detected through the circuit and then are sent to the CPU to be processed, the space and the cost can be saved to the maximum extent, meanwhile, the circuit can be prevented from being damaged by voltage spikes introduced on an encoder line, and the reliability of the circuit is improved.
Description
Technical Field
The utility model belongs to the electrical automation field, concretely relates to encoder signal detection circuitry of compatible multiple encoder type.
Background
The encoder is widely applied to motor control occasions and plays an important role in the performance and the function of a frequency converter and a servo. However, in the field of electrical automation, the types of encoders adopted by customers are very many, some encoders adopt 4.5V-30V power supply differential output encoders, some encoders adopt 4.5V-30V power supply NPN OC output encoders, and some encoders adopt 4.5V-30V power supply push-pull output encoders. Not only the output forms of the encoder signals are different, but also the power supply voltage has a wide range, thereby bringing challenges to the design of encoder detection circuits for frequency converters or servo manufacturers. In order to meet the challenge, two methods are commonly used at present, one is to adapt different encoder types to different encoder detection circuit cards, and the other is to perform skip selection through a jumper or an electronic switch so as to realize the detection of different types of encoder signals by the same encoder detection circuit card. Both of these methods have significant drawbacks, the first method increases the development and production costs of the frequency converter or the server manufacturer, and is also inconvenient for the client application. The second method increases the complexity of the circuit and the cost of the circuit, and simultaneously, the introduction of the electronic switch or the jumper wire also increases the fault point of the circuit, which is not beneficial to the reliability of the product.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide an encoder signal detection circuitry of compatible multiple encoder type, can furthest save space and cost, can prevent that the online voltage peak of introducing of encoder from damaging the circuit simultaneously, improve the reliability of circuit.
The specific technical scheme is as follows:
an encoder signal detection circuit compatible with multiple encoder types, comprising:
the power supply positive end of the encoder;
the encoder positive output signal end is connected with the encoder power supply positive end through a first pull-up resistor;
the encoder negative output signal end is connected with the encoder power supply positive end through a second pull-up resistor;
the negative end of the encoder power supply is connected with the negative output signal of the encoder through a first pull-down resistor;
the positive input end of the differential signal receiving IC is connected with the positive output signal end of the encoder through a first current limiting resistor, and the negative input end of the differential signal receiving IC is connected with the negative output signal end of the encoder through a second current limiting resistor;
the first voltage-stabilizing tube is connected between the positive input end of the differential signal receiving IC and the negative end of the power supply of the encoder and is used for stabilizing a positive-end input signal under the voltage-stabilizing voltage of the first voltage-stabilizing tube;
and the second voltage-stabilizing tube is connected between the negative input end of the differential signal receiving IC and the negative end of the power supply of the encoder and is used for stabilizing a signal input from the negative end under the voltage-stabilizing voltage of the second voltage-stabilizing tube.
Preferably, a first differential mode filter capacitor is connected between the positive input end and the negative input end of the differential signal receiving IC in a crossing manner.
Preferably, a first common-mode filter capacitor is connected between the positive input terminal of the differential signal receiving IC and the negative terminal of the encoder power supply, and a second common-mode filter capacitor is connected between the negative input terminal of the differential signal receiving IC and the negative terminal of the encoder power supply.
Preferably, the positive end of the power supply of the differential signal receiving IC is selected according to the specification of the IC; and the negative end of the power supply of the differential signal receiving IC and the negative end of the power supply of the encoder are connected together in the same network.
Preferably, the output end signal of the differential signal receiving IC is sent to the CPU for further processing, and the CPU obtains the speed and position information of the encoder.
Preferably, the encoder positive output signal terminal and the encoder negative output signal terminal include, but are not limited to, encoder output signals A +/A-, B +/B-, Z +/Z-, U +/U-, V +/V-, W +/W-.
Has the advantages that:
1. the utility model discloses an encoder signal detection circuitry of compatible multiple encoder type, its advantage lies in can compatible multiple encoder type, no matter external encoder is 4.5V ~ 30V power supply difference output type, still 4.5V ~ 30V power supply NPN OC output type, or 4.5V ~ 30V power supply push-pull output type again, all can be connected to this circuit, detects encoder output signal through this circuit, and then is sent to CPU and handles.
2. The utility model discloses a encoder signal detection circuitry of compatible multiple encoder type constitutes simply, when receiving the encoder signal of different grade type, can share input port, neither needs electronic switch to switch, also does not need the wire jumper to switch to can furthest save space and cost. The utility model discloses an encoder signal detection circuitry of compatible multiple encoder type can not need the opto-coupler to can practice thrift the circuit cost more.
3. The utility model discloses a circuit has protect function, can prevent that the voltage spike of introducing on the encoder line from damaging the circuit, also can avoid arousing the circuit because of the user wiring mistake and damage, improves the reliability of circuit greatly.
Description of the drawings:
fig. 1 is a schematic view of a first embodiment of the present invention;
FIG. 2 is a voltage waveform diagram of A +, A-, U1-2, U1-1 and A when the circuit of the present invention is externally connected with a 5V differential output encoder;
FIG. 3 is a voltage waveform diagram of A +, U1-2, U1-1 and A when the circuit of the present invention is externally connected with a 15V power supply NPN OC output encoder;
FIG. 4 is a voltage waveform diagram of A +, U1-2, U1-1 and A when the circuit of the present invention is externally connected with a 24V power supply push-pull output encoder;
fig. 5 is a schematic diagram of a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention will be further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the invention.
Example 1:
as shown in fig. 1, which is the first embodiment of the present invention, the positive output signal terminal a + of the encoder is pulled up to VCC through the first pull-up resistor R1, the negative output signal a-of the encoder is pulled up to VCC through the second pull-up resistor R2, and at the same time, a-is pulled down to GND through the first pull-down resistor R3.
A + is connected to the positive input pin of U1 through a first current limiting resistor R4, and A-is connected to the negative input terminal of U1 through a second current limiting resistor R5.
The U1 bit differential signal receiving IC is a common model number of 26C 32. The first differential mode filter capacitor C1 is connected between the positive and negative input ends of U1 in a bridge mode and is used for filtering and buffering. The first common-mode filter capacitor C2 is connected between the positive input terminal of U1 and GND, and the second common-mode filter capacitor C3 is connected between the negative input terminal of U1 and GND, both of which play a role of buffering and filtering. R4, R5, C1, C2, and C3 collectively constitute a filter circuit of the encoder signal.
The first regulator tube Z1 is connected between the positive input end of the U1 and GND, limits the input signal of the positive end to be below a safe level, and prevents the U1 from being damaged, and the regulator tube Z1 is usually selected from about 5.1V. The second voltage regulator tube Z2 is connected between the negative input end of U1 and GND, and stabilizes the negative end input signal at the voltage regulator voltage of Z2, and Z2 usually selects about 2.4V voltage regulator tube. The +5V is the positive terminal of the power supply of U1, and in practical implementation, different power supply voltages may be selected according to the specification of U1.
When the external encoder is a 5V differential encoder, two complementary 5V square wave signals are input to a + and a-pins, 2 pins of U1 receive a square wave signal with a high level of 5V and a low level of 0V, and 1 pin of U1 receives a square wave signal with a low level of 0V and a high level of 2.4V. Since the differential voltage between pins 2 and 1 of U1 will be a square wave signal with a high level of 5V and a low level of-2.4V, U1 can output a 5V square wave signal with the same frequency and phase as a + at pin 3. When the external encoder is a 5V differential encoder, the voltage waveforms of A +, A-, U1-2(U1, 2 nd pin), U1-1(U1, 1 st pin) and A are shown in FIG. 2, which shows that the circuit can well detect 5V differential output encoder signals.
And taking R2 as R3, and when the type of the external encoder is a 15V power supply NPN OC output encoder, A-does not need to be connected with wires and is suspended. The a + will input the square wave signal with high level of 15V, and because of the function of Z1, the 2 pin of U1 receives the square wave signal with high level of 5V. The voltage of pin 1 of U1 will stabilize at 2.4V because of the action of Z2. Therefore, the differential voltage between pins 2 and 1 of U1 will be a square wave signal with a high level of 2.6V and a low level of-2.4V, so that U1 can output a 5V square wave signal with the same frequency and phase as a + at pin 3. When the external encoder is a 15V power supply NPN OC output encoder, the waveforms of the signals of A +, U1-2, U1-1 and A are shown in FIG. 3, which illustrates that the circuit can well detect the signals of the 15V power supply NPN OC output encoder.
When the type of the external encoder is a push-pull output encoder with 24V power supply, A-is not required to be connected and is suspended. The a + will input the square wave signal with the high level of 24V, and because of the function of Z1, the 2 pin of U1 receives the square wave signal with the high level of 5V. The voltage of pin 1 of U1 will stabilize at 2.4V because of the action of Z2. Therefore, the differential voltage between pins 2 and 1 of U1 will be a square wave signal with a high level of 2.6V and a low level of-2.4V, so that U1 can output a 5V square wave signal with the same frequency and phase as a + at pin 3. When the type of the external encoder is a 24V power supply push-pull output encoder, the waveforms of the signals of A +, U1-2, U1-1 and A are shown in FIG. 4, which illustrates that the circuit can well detect the 24V power supply push-pull output encoder signals.
Example 2
Fig. 5 shows a second embodiment of the present invention. The difference between the second embodiment and the first embodiment is that the differential signal receiving IC U1 receives not only the a +/a-signals but also the B +/B-, Z +/Z-signals output from the encoder. As can be seen from FIG. 5, in the second embodiment of the present invention, the signal processing for A +/A-is the same as the processing for B +/B-, Z +/Z-signals.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention should be covered by the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. An encoder signal detection circuit compatible with multiple encoder types, comprising:
the power supply positive end of the encoder;
the encoder positive output signal end is connected with the encoder power supply positive end through a first pull-up resistor;
the encoder negative output signal end is connected with the encoder power supply positive end through a second pull-up resistor;
the negative end of the encoder power supply is connected with the negative output signal of the encoder through a first pull-down resistor;
the positive input end of the differential signal receiving IC is connected with the positive output signal end of the encoder through a first current limiting resistor, and the negative input end of the differential signal receiving IC is connected with the negative output signal end of the encoder through a second current limiting resistor;
the first voltage-stabilizing tube is connected between the positive input end of the differential signal receiving IC and the negative end of the power supply of the encoder and is used for stabilizing a positive-end input signal under the voltage-stabilizing voltage of the first voltage-stabilizing tube;
and the second voltage-stabilizing tube is connected between the negative input end of the differential signal receiving IC and the negative end of the power supply of the encoder and is used for stabilizing a signal input from the negative end under the voltage-stabilizing voltage of the second voltage-stabilizing tube.
2. The encoder signal detection circuit compatible with multiple encoder types of claim 1, wherein a first differential mode filter capacitance is connected across the positive and negative inputs of the differential signal receiving IC.
3. The encoder signal detection circuit of claim 1, wherein a first common-mode filter capacitor is connected between the positive input terminal of the differential signal receiving IC and the negative terminal of the encoder power supply, and a second common-mode filter capacitor is connected between the negative input terminal of the differential signal receiving IC and the negative terminal of the encoder power supply.
4. The encoder signal detection circuit compatible with multiple encoder types according to claim 1, wherein a positive power supply terminal of the differential signal receiving IC is selected according to a specification of the IC; and the negative end of the power supply of the differential signal receiving IC and the negative end of the power supply of the encoder are connected together in the same network.
5. The encoder signal detection circuit of claim 1, wherein the differential signal receiving IC outputs signals to the CPU for further processing, and the CPU obtains the speed and position information of the encoder.
6. The encoder signal detection circuit of claim 1 that is compatible with multiple encoder types, wherein: the encoder positive output signal terminal and the encoder negative output signal terminal include, but are not limited to, encoder output signals A +/A-, B +/B-, Z +/Z-, U +/U-, V +/V-, W +/W-.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921038280.XU CN209978937U (en) | 2019-06-26 | 2019-06-26 | Encoder signal detection circuit compatible with multiple encoder types |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921038280.XU CN209978937U (en) | 2019-06-26 | 2019-06-26 | Encoder signal detection circuit compatible with multiple encoder types |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209978937U true CN209978937U (en) | 2020-01-21 |
Family
ID=69267178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921038280.XU Active CN209978937U (en) | 2019-06-26 | 2019-06-26 | Encoder signal detection circuit compatible with multiple encoder types |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209978937U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110260906A (en) * | 2019-06-26 | 2019-09-20 | 浙江阿尔法电气有限公司 | A kind of code device signal detection circuit of compatible with multiple encoder type |
-
2019
- 2019-06-26 CN CN201921038280.XU patent/CN209978937U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110260906A (en) * | 2019-06-26 | 2019-09-20 | 浙江阿尔法电气有限公司 | A kind of code device signal detection circuit of compatible with multiple encoder type |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103576544B (en) | A kind of terminal with OTG function | |
CN104298575A (en) | Mainboard debugging circuit | |
CN209978937U (en) | Encoder signal detection circuit compatible with multiple encoder types | |
CN104122970A (en) | Power circuit | |
CN104038204B (en) | Digital signal isolation transmission device | |
US20140375143A1 (en) | Power control device | |
CN103176922A (en) | Universal serial bus (USB) identification circuit | |
CN207677707U (en) | A kind of precisely reliable UART communications level shifting circuit | |
CN115453404A (en) | Power supply voltage difference detection circuit, chip, electronic component, and electronic device | |
CN110260906A (en) | A kind of code device signal detection circuit of compatible with multiple encoder type | |
CN204013474U (en) | Digital signal isolation transmission device | |
CN103424598B (en) | Inversion system output voltage detecting circuit and inversion system | |
CN208849505U (en) | Medical Devices with hysteresis module | |
CN109394169B (en) | Medical Devices with hysteresis module | |
CN207181438U (en) | Hall sensor circuit | |
CN205942601U (en) | Electronic equipment interface communication reduces device of consumption | |
CN110855142A (en) | Data display equipment | |
CN205958698U (en) | Detection circuit | |
CN107610734B (en) | Power supply circuit of EEPROM and EEPROM | |
US8296492B2 (en) | Power supply circuit for IEEE 1394 interface | |
CN218727924U (en) | Incremental encoder signal conditioning circuit | |
CN210442799U (en) | High anti-interference 485 differential input circuit | |
CN204290706U (en) | The power supply that a kind of RS232 signal drives | |
CN210724723U (en) | Multi-chip power-on reset circuit | |
CN203216983U (en) | Zero-crossing detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |