CN110260906A - A kind of code device signal detection circuit of compatible with multiple encoder type - Google Patents

A kind of code device signal detection circuit of compatible with multiple encoder type Download PDF

Info

Publication number
CN110260906A
CN110260906A CN201910587412.2A CN201910587412A CN110260906A CN 110260906 A CN110260906 A CN 110260906A CN 201910587412 A CN201910587412 A CN 201910587412A CN 110260906 A CN110260906 A CN 110260906A
Authority
CN
China
Prior art keywords
encoder
voltage
power supply
signal
compatible
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.)
Pending
Application number
CN201910587412.2A
Other languages
Chinese (zh)
Inventor
邬志国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Alpha Electric Co Ltd
Original Assignee
Zhejiang Alpha Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Alpha Electric Co Ltd filed Critical Zhejiang Alpha Electric Co Ltd
Priority to CN201910587412.2A priority Critical patent/CN110260906A/en
Publication of CN110260906A publication Critical patent/CN110260906A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The invention discloses a kind of code device signal detection circuits of compatible with multiple encoder type, it include: encoder power supply anode, encoder positive output signal end, encoder negative output signal end, encoder power supply negative terminal, differential signal receives IC, first voltage-stabiliser tube, second voltage-stabiliser tube, it is advantageous that can be with compatible with multiple encoder type, encoder output is detected by this circuit, and then it is sent to CPU and is handled, space and cost can be saved to the maximum extent, it can prevent the due to voltage spikes introduced on encoder line from damaging circuit simultaneously, improve the reliability of circuit.

Description

A kind of code device signal detection circuit of compatible with multiple encoder type
Technical field
The invention belongs to electric automatization fields, and in particular to a kind of code device signal inspection of compatible with multiple encoder type Slowdown monitoring circuit.
Background technique
In the very wide of motor control applications, performance and function to frequency converter, servo have to pass encoder Important role.But in electric automatization field, the encoder type that client uses is very more, some uses 4.5V~30V Power supply difference output encoder, some are supplied using 4.5V~30V power supply NPN OC output coder, some using 4.5V~30V Electric push-pull output encoder.Not only code device signal output form is different, and supply voltage also has very wide range, therefore to change Frequency device or servo producer design encoder detection circuit bring challenge.It is more common at present in order to cope with this challenge There are two types of methods, and a kind of encoder type that is different is adapted to different encoder detection circuit cards, and another kind is to pass through wire jumper Or electronic switch carries out jump choosing, to realize inspection of the same block encoder detection circuit card to different type code device signal It surveys.Both methods has the shortcomings that obvious, and first method had both increased the exploitation of frequency converter or servo producer and had been produced into This, also inconvenient client application.Second method increases the complexity of circuit, increases circuit cost, meanwhile, electronics The introducing of switch or wire jumper also increases the fault point of circuit, is unfavorable for the reliability of product.
Summary of the invention
The purpose of the present invention is to provide a kind of code device signal detection circuit of compatible with multiple encoder type, Ke Yijian Hold a variety of encoder types, space and cost can be saved to the maximum extent, while the electricity introduced on encoder line can be prevented Pointing peak damages circuit, improves the reliability of circuit.
Specific technical solution is as follows:
A kind of code device signal detection circuit of compatible with multiple encoder type, comprising:
Encoder power supply anode;
Encoder positive output signal end, encoder positive output signal end pass through the first pull-up resistor and the encoder Power supply anode is connected;
Encoder negative output signal end, encoder negative output signal end pass through the second pull-up resistor and the encoder Power supply anode is connected;
Encoder power supply negative terminal, the encoder power supply negative terminal pass through the first pull down resistor and the encoder Negative output signal is connected;
Differential signal receives IC, and the positive input terminal that the differential signal receives IC passes through the first current-limiting resistance and the coding Device positive output signal end is connected, and the negative input end that the differential signal receives IC passes through the second current-limiting resistance and the encoder Negative output signal end is connected;
First voltage-stabiliser tube, first voltage-stabiliser tube are connected to the positive input terminal and the coding that the differential signal receives IC Between device power supply negative terminal, for stablizing anode input signal under the voltage of voltage regulation of the first voltage-stabiliser tube;
Second voltage-stabiliser tube, second voltage-stabiliser tube are connected to the negative input end and the coding that the differential signal receives IC Between device power supply negative terminal, for stablizing negative terminal input signal under the voltage of voltage regulation of the second voltage-stabiliser tube.
Preferably, the differential signal, which receives bridging between the positive and negative input terminal of IC, the first differential mode filter capacitor.
Preferably, the differential signal, which receives, is connected to the between the positive input terminal and the encoder power supply negative terminal of IC One common mode filter capacitor, the differential signal, which receives, is connected to the between the negative input end and the encoder power supply negative terminal of IC Two common mode filtering capacitors.
Preferably, the power supply anode that the differential signal receives IC is selected according to the specification of IC;The difference Signal receives the power supply negative terminal of IC and the encoder power supply negative terminal is the same network to link together.
Preferably, the output end signal that the differential signal receives IC is sent to CPU and is further processed, and is obtained by CPU To the speed and location information of encoder.
Preferably, encoder positive output signal end, encoder negative output signal end include but is not limited to encoder output Signal A+/A-, B+/B-, Z+/Z-, U+/U-, V+/V-, W+/W-.
The utility model has the advantages that
1. the code device signal detection circuit of a kind of compatible with multiple encoder type disclosed by the invention, it is advantageous that can With compatible with multiple encoder type, regardless of external encoder is 4.5V~30V power supply difference output type or 4.5V~30V Power NPN OC output type, and or 4.5V~30V power push-pull output type, may be connected to this circuit, pass through this Circuit detects encoder output, and then is sent to CPU and is handled.
2. a kind of code device signal detection circuit of compatible with multiple encoder type disclosed by the invention is constituted simply, connecing When receiving different types of code device signal, can with shared input mouth, both not need electronic switch switching, do not need yet wire jumper into Row switching, so as to save space and cost to greatest extent.A kind of compatible with multiple encoder type disclosed by the invention Code device signal detection circuit can not need optocoupler, so as to more save circuit cost.
3. circuit disclosed by the invention has defencive function, the due to voltage spikes introduced on encoder line damage electricity can be prevented Road can also cause circuit to damage, greatly improve the reliability of circuit to avoid because of terminal block mistake.
Detailed description of the invention:
Fig. 1 is the first embodiment schematic diagram of the invention;
When Fig. 2 is circuit of the present invention external 5V difference output encoder, the voltage oscillogram of A+, A-, U1-2, U1-1, A;
When Fig. 3 is circuit of the present invention external 15V power supply NPN OC output coder, the voltage waveform of A+, U1-2, U1-1, A Figure;
When Fig. 4 is circuit of the present invention external 24V power supply push-pull output encoder, the voltage waveform of A+, U1-2, U1-1, A Figure;
Fig. 5 is the second embodiment schematic diagram of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, right below in conjunction with attached drawing embodiment The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, not For limiting the present invention.
Embodiment 1:
As shown in Figure 1, being the first embodiment of the invention, encoder positive output signal end A+ passes through the first pull-up resistor R1 is pulled upward to VCC, and encoder negative output signal A- is pulled upward to VCC by the second pull-up resistor R2, while A- passes through the first drop-down Resistance R3 pulls down to GND.
A+ is connected to the positive input foot of U1 by the first current-limiting resistance R4, and A- is connected to U1's by the second current-limiting resistance R5 Negative input end.
U1 potential difference sub-signal receives IC, common model 26C32.First differential mode filter capacitor C1 is connected across the positive and negative of U1 Between input terminal, does filtering buffering and use.First common mode filtering capacitor C2 connects the positive input terminal in U1 between GND, the second common mode Filter capacitor C3 connects the negative input end in U1 between GND, being buffering filter action.R4, R5, C1, C2, C3 are collectively formed The filter circuit of code device signal.
First voltage-stabiliser tube Z1 connects the positive input terminal in U1 between GND, and anode input signal is limited in safe level Under, prevent damage U1, Z1 from usually selecting 5.1V or so voltage-stabiliser tube.Second voltage-stabiliser tube Z2 connects the negative input end in U1 between GND, Negative terminal input signal is stablized under the voltage of voltage regulation of Z2, Z2 usually selects 2.4V or so voltage-stabiliser tube.+ 5V be the power supply of U1 just It holds, different supply voltages may be selected according to the specification difference of U1 in actual implementation.
R2=R3 is taken, when the type of external encoder is 5V differential encoder, A+, A- will input the 5V of two-way complementation Square-wave signal, 2 feet of U1 will receive the square-wave signal that high level is 5V, low level is 0V, while 1 foot of U1 will receive The square-wave signal that low level is 0V, high level is 2.4V.Because the differential voltage between the 2 of U1,1 foot will be high level 5V, the square-wave signal that low level is -2.4V, so that U1 can be exported in 3 feet with the same phase of A+, with the 5V square-wave signal of frequency.When outer When the type for connecing encoder is 5V differential encoder, the voltage waveform of A+, A-, U1-2 (the 2nd foot of U1), U1-1 (the 1st foot of U1), A As shown in Fig. 2, illustrating that circuit can be good at detecting 5V difference output code device signal.
R2=R3 is taken, when the type of external encoder is 15V power supply NPN OC output coder, A- does not need wiring, It is hanging.A+ will input high level be 15V square-wave signal, because of the effect of Z1, what 2 feet of U1 received is high level For the square-wave signal of 5V.Because of the effect of Z2, the voltage of 1 foot of U1 will be stablized in 2.4V.Therefore, between 2,1 foot of U1 Differential voltage will be the square-wave signal that high level is 2.6V, low level is -2.4V, so that U1 can be same with A+ in the output of 3 feet Phase, the 5V square-wave signal with frequency.When the type of external encoder is 15V power supply NPN OC output coder, A+, U1-2, U1- 1, the signal waveform of A is as shown in figure 3, illustrate that circuit can detect 15V power supply NPN OC output coder signal well.
R2=R3 is taken, when the type of external encoder is the push-pull output encoder of 24V power supply, A- does not need wiring, It is hanging.A+ will input high level be 24V square-wave signal, because of the effect of Z1, what 2 feet of U1 received is high level For the square-wave signal of 5V.Because of the effect of Z2, the voltage of 1 foot of U1 will be stablized in 2.4V.Therefore, between 2,1 foot of U1 Differential voltage will be the square-wave signal that high level is 2.6V, low level is -2.4V, so that U1 can be same with A+ in the output of 3 feet Phase, the 5V square-wave signal with frequency.When the type of external encoder be 24V power push-pull output encoder when, A+, U1-2, U1-1, The signal waveform of A is as shown in figure 4, illustrate that circuit can detect 24V power supply push-pull output code device signal well.
Embodiment 2
As shown in figure 5, being the second embodiment of the invention.Second embodiment and the first embodiment the difference is that Differential signal receives the A+/A- signal that IC U1 does not receive encoder output singly, also reception B+/B-, Z+/Z- signal.It can from Fig. 5 To find out, in embodiment two of the present invention, signal processing and the processing to B+/B-, Z+/Z- signal for A+/A- are identical 's.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims Subject to.

Claims (6)

1. a kind of code device signal detection circuit of compatible with multiple encoder type characterized by comprising
Encoder power supply anode;
Encoder positive output signal end, encoder positive output signal end are powered by the first pull-up resistor and the encoder Power positive end is connected;
Encoder negative output signal end, encoder negative output signal end are powered by the second pull-up resistor and the encoder Power positive end is connected;
Encoder power supply negative terminal, the encoder power supply negative terminal are born by the first pull down resistor with the encoder defeated Signal is connected out;
Differential signal receives IC, and the positive input terminal that the differential signal receives IC is passing through the first current-limiting resistance and the encoder just Output signal end is connected, and the negative input end that the differential signal receives IC is born by the second current-limiting resistance with the encoder defeated Signal end is connected out;
First voltage-stabiliser tube, first voltage-stabiliser tube are connected to positive input terminal and the encoder confession that the differential signal receives IC Between electric power supply negative terminal, for stablizing anode input signal under the voltage of voltage regulation of the first voltage-stabiliser tube;
Second voltage-stabiliser tube, second voltage-stabiliser tube are connected to negative input end and the encoder confession that the differential signal receives IC Between electric power supply negative terminal, for stablizing negative terminal input signal under the voltage of voltage regulation of the second voltage-stabiliser tube.
2. the code device signal detection circuit of compatible with multiple encoder type as described in claim 1, which is characterized in that described Differential signal, which receives bridging between the positive and negative input terminal of IC, the first differential mode filter capacitor.
3. the code device signal detection circuit of compatible with multiple encoder type as described in claim 1, which is characterized in that described It is connected to the first common mode filtering capacitor between the positive input terminal and the encoder power supply negative terminal of differential signal reception IC, it is described The second common mode filtering capacitor is connected between the negative input end and the encoder power supply negative terminal of differential signal reception IC.
4. the code device signal detection circuit of compatible with multiple encoder type as described in claim 1, which is characterized in that described The power supply anode that differential signal receives IC is selected according to the specification of IC;The differential signal receives the power supply of IC Negative terminal and the encoder power supply negative terminal are the same network to link together.
5. the code device signal detection circuit of compatible with multiple encoder type as described in claim 1, which is characterized in that described The output end signal that differential signal receives IC is sent to CPU and is further processed, and obtains speed and the position of encoder by CPU Information.
6. a kind of code device signal detection circuit of compatible with multiple encoder type as described in claim 1, it is characterised in that: Encoder positive output signal end and encoder negative output signal end include but is not limited to encoder output A +/A-, B+/B-, Z+/Z-, U+/U-, V+/V-, W+/W-.
CN201910587412.2A 2019-06-26 2019-06-26 A kind of code device signal detection circuit of compatible with multiple encoder type Pending CN110260906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910587412.2A CN110260906A (en) 2019-06-26 2019-06-26 A kind of code device signal detection circuit of compatible with multiple encoder type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910587412.2A CN110260906A (en) 2019-06-26 2019-06-26 A kind of code device signal detection circuit of compatible with multiple encoder type

Publications (1)

Publication Number Publication Date
CN110260906A true CN110260906A (en) 2019-09-20

Family

ID=67923722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910587412.2A Pending CN110260906A (en) 2019-06-26 2019-06-26 A kind of code device signal detection circuit of compatible with multiple encoder type

Country Status (1)

Country Link
CN (1) CN110260906A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391591A (en) * 2021-06-30 2021-09-14 广东利元亨智能装备股份有限公司 Gluing control board card and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6236233B1 (en) * 1999-04-09 2001-05-22 International Business Machines Corporation Method and system for translating TTL off-chip drive for integrated circuit with negative substrate bias
JP2012168787A (en) * 2011-02-15 2012-09-06 Fuji Electric Co Ltd Encoder communication circuit
CN205232202U (en) * 2015-12-04 2016-05-11 浙江佳乐科仪股份有限公司 Collecting electrode encoder differential circuit
CN105973274A (en) * 2016-04-27 2016-09-28 深圳市英威腾电气股份有限公司 Signal detection circuit and apparatus thereof
CN205883194U (en) * 2016-06-21 2017-01-11 北京小鸟看看科技有限公司 Level switching circuit
CN207070045U (en) * 2017-07-06 2018-03-02 深圳市海目星激光科技有限公司 A kind of differential signal expands circuit
CN107991574A (en) * 2017-11-22 2018-05-04 苏州汇川技术有限公司 Encoder output detection circuit and electric machine controller
CN108957964A (en) * 2018-08-09 2018-12-07 合肥芯碁微电子装备有限公司 A kind of circuit for laser direct-writing exposure machine location triggered
CN209978937U (en) * 2019-06-26 2020-01-21 浙江阿尔法电气有限公司 Encoder signal detection circuit compatible with multiple encoder types

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6236233B1 (en) * 1999-04-09 2001-05-22 International Business Machines Corporation Method and system for translating TTL off-chip drive for integrated circuit with negative substrate bias
JP2012168787A (en) * 2011-02-15 2012-09-06 Fuji Electric Co Ltd Encoder communication circuit
CN205232202U (en) * 2015-12-04 2016-05-11 浙江佳乐科仪股份有限公司 Collecting electrode encoder differential circuit
CN105973274A (en) * 2016-04-27 2016-09-28 深圳市英威腾电气股份有限公司 Signal detection circuit and apparatus thereof
CN205883194U (en) * 2016-06-21 2017-01-11 北京小鸟看看科技有限公司 Level switching circuit
CN207070045U (en) * 2017-07-06 2018-03-02 深圳市海目星激光科技有限公司 A kind of differential signal expands circuit
CN107991574A (en) * 2017-11-22 2018-05-04 苏州汇川技术有限公司 Encoder output detection circuit and electric machine controller
CN108957964A (en) * 2018-08-09 2018-12-07 合肥芯碁微电子装备有限公司 A kind of circuit for laser direct-writing exposure machine location triggered
CN209978937U (en) * 2019-06-26 2020-01-21 浙江阿尔法电气有限公司 Encoder signal detection circuit compatible with multiple encoder types

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张宝龙: "基于OV9712的串行器解串器视频编码方案", 液晶与显示, vol. 30, no. 06 *
张静: "DS26C32四路差分总线接收器测试技术研究", 微处理机, vol. 32, no. 1 *
王婷: "电梯光电编码器接口转换技术研究", CNKI优秀硕士学位论文全文库, vol. 2016, no. 2 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391591A (en) * 2021-06-30 2021-09-14 广东利元亨智能装备股份有限公司 Gluing control board card and system
CN113391591B (en) * 2021-06-30 2022-07-01 广东利元亨智能装备股份有限公司 Gluing control board card and system

Similar Documents

Publication Publication Date Title
CN103063979A (en) Load open-circuit detection circuit
CN103675421A (en) Power burr signal detection circuit and detection method thereof
CN102590589B (en) 4-20mA current transmitter circuit
CN104038204B (en) Digital signal isolation transmission device
CN105973274B (en) A kind of signal deteching circuit and device
CN110260906A (en) A kind of code device signal detection circuit of compatible with multiple encoder type
CN202383491U (en) Slave power supply and valve control circuit of M-BUS
CN212274951U (en) Integrated magnetic encoder based on POE power supply and communication
CN109090710A (en) A kind of atomizer resistance value detection circuit
CN104777436A (en) Novel alternating current power supply monitoring device
CN205263171U (en) AC voltage detection circuit
CN209877285U (en) Circuit for judging running state of compressor
CN209978937U (en) Encoder signal detection circuit compatible with multiple encoder types
CN104749423A (en) Power failure detection circuit for direct current power supply
CN205247105U (en) RS485 communication circuit that interference killing feature is strong
CN203069654U (en) Power failure detection circuit
CN205643483U (en) Voltage detection circuit and system
CN104635830A (en) Voltage signal conditioning circuit based on controllable precise voltage regulator
CN210780784U (en) Low-cost direct current carrier circuit system
CN103424598B (en) Inversion system output voltage detecting circuit and inversion system
CN203929854U (en) Voltage magnitude testing circuit
CN110504872B (en) Interface circuit and interface system
CN103675428A (en) Power burr signal detection circuit and detection method thereof
CN202421476U (en) Power supply voltage detection circuit applied to bean juice maker
CN206490664U (en) Analog quantity modulate circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination