CN106169928A - A kind of encoder scaling down processing circuit based on CPLD - Google Patents

A kind of encoder scaling down processing circuit based on CPLD Download PDF

Info

Publication number
CN106169928A
CN106169928A CN201610795101.1A CN201610795101A CN106169928A CN 106169928 A CN106169928 A CN 106169928A CN 201610795101 A CN201610795101 A CN 201610795101A CN 106169928 A CN106169928 A CN 106169928A
Authority
CN
China
Prior art keywords
signal
cpld
circuit
frequency dividing
scaling down
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
CN201610795101.1A
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 Jarol Scientific Instrument Co Ltd
Original Assignee
Zhejiang Jarol Scientific Instrument 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 Jarol Scientific Instrument Co Ltd filed Critical Zhejiang Jarol Scientific Instrument Co Ltd
Priority to CN201610795101.1A priority Critical patent/CN106169928A/en
Publication of CN106169928A publication Critical patent/CN106169928A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/003Modifications for increasing the reliability for protection
    • 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Electronic Switches (AREA)

Abstract

The present invention is applicable to the technical field of signal processing, disclose a kind of encoder scaling down processing circuit based on CPLD, including input circuit part, signal isolated part, CPLD, frequency dividing selection circuit and output circuit part, described input circuit part is connected with signal isolated part, described signal isolated part is connected with CPLD, described CPLD is connected with frequency dividing selection circuit, described frequency dividing selection circuit is connected with output circuit part, and described input circuit part carries out electrical signal collection to signal input port.The present invention uses pull-up resistor to ensure that the reliability of signal by input circuit part, uses filter capacitor to reduce the interference to useful signal;Signal isolated part uses and makes, for realizing the isolation of signal in circuit, to be effectively prevented in circuit the interference to next stage circuit of some signal to optocoupler;The pin of CPLD prevents it from circuit is produced interference by effective grounding, realizes frequency dividing by toggle switch, improves the versatility of product.

Description

A kind of encoder scaling down processing circuit based on CPLD
[technical field]
The present invention relates to the technical field of signal processing, particularly to a kind of encoder scaling down processing based on CPLD electricity Road.
[background technology]
Along with the development of electronic technology, programmable logic device (CPLD) is widely used in various special IC, with Traditional digital circuit design method compares features such as having lead time short, low cost, flexible design, thus obtains increasingly It is widely applied.At present, owing to the resolution of encoder own cannot meet use requirement, the resolution causing signal is relatively low, And using the purpose of scaling down processing is to improve the resolution of encoder output, but use frequency dividing circuit can bring signal essence Degree declines to obtain disadvantage.In order to improve the signal accuracy after programmable logic device (CPLD) scaling down processing, meet high accuracy letter Number use requirement, it is necessary to a kind of encoder scaling down processing circuit based on CPLD is proposed.
[summary of the invention]
It is an object of the invention to overcome above-mentioned the deficiencies in the prior art, it is provided that at a kind of encoder frequency dividing based on CPLD Reason circuit, it aims to solve the problem that in prior art that the signal accuracy after programmable logic device (CPLD) scaling down processing is the highest, it is impossible to full Foot uses the technical problem of demand.
For achieving the above object, the present invention proposes a kind of encoder scaling down processing circuit based on CPLD, including input Circuit part, signal isolated part, CPLD, frequency dividing selection circuit and output circuit part, described input circuit part and letter Number isolated part connects, and described signal isolated part is connected with CPLD, and described CPLD is connected with dividing selection circuit, described Frequency dividing selection circuit be connected with output circuit part, described input circuit part carries out the signal of telecommunication to signal input port and adopts Collection.
As preferably, described input circuit part is provided with pull-up resistor and filter capacitor, described pull-up resistor pair The signal collected pulls up, and the unwanted signal of telecommunication is filtered by described filter capacitor.
As preferably, described signal isolated part uses the signal isolation that optocoupler realizes input circuit part, by right The signal of telecommunication that input circuit part is collected by optocoupler changes into optical signal, then optical signal changes into signal of telecommunication transmission extremely CPLD。
As preferably, described CPLD carries out logical operations to the signal of telecommunication after signal isolated part effect, and by logic Signal after computing exports to frequency dividing selection circuit.
As preferably, the signal after CPLD is collected computing by described frequency dividing selection circuit carries out scaling down processing, and by defeated Go out circuit part to be exported by the signal after scaling down processing.
As preferably, described frequency dividing selection circuit realizes scaling down processing by toggle switch.
As preferably, the equal effective grounding of vacant pin of described CPLD.
Beneficial effects of the present invention: compared with prior art, a kind of based on CPLD encoder frequency dividing that the present invention provides Process circuit, use programmable logic device (CPLD) and input circuit part, signal isolated part, frequency dividing selection circuit and output Circuit part realizes the collection to signal, isolates, calculates, divides and export, by the pull-up resistor of input circuit part to institute The signal gathered pulls up, it is ensured that the reliability of signal, and filter capacitor can be by unwanted letter present in circuit Number filter, thus reduce the interference to useful signal;Signal isolated part uses and makes optocoupler for realizing circuit The isolation of middle signal, is effectively prevented in circuit the interference to next stage circuit of some signal;The pin of CPLD is by effectively Ground connection prevents it from circuit is produced interference, improves accuracy and the precision of signal, realizes frequency dividing by toggle switch, it is ensured that User can select accordingly according to the practical situation of himself equipment, thus improves the versatility of product.
Inventive feature and advantage will combine accompanying drawing by embodiment and be described in detail.
[accompanying drawing explanation]
Fig. 1 is the theory diagram of a kind of encoder scaling down processing circuit based on CPLD of the embodiment of the present invention;
Fig. 2 is the input circuit part of A+, A-signal of the embodiment of the present invention.
In figure: 1-input circuit part, 2-signal isolated part, 3-CPLD, 4-divide selection circuit, 5-output circuit portion Point.
[detailed description of the invention]
For making the object, technical solutions and advantages of the present invention of greater clarity, below by accompanying drawing and embodiment, right The present invention is further elaborated.However, it should be understood that specific embodiment described herein is only in order to explain this Bright, it is not limited to the scope of the present invention.Additionally, in the following description, eliminate the description to known features and technology, with Avoid unnecessarily obscuring idea of the invention.
Refering to Fig. 1, the embodiment of the present invention provides a kind of encoder scaling down processing circuit based on CPLD, including input circuit Part 1, signal isolated part 2, CPLD3, frequency dividing selection circuit 4 and output circuit part 5, described input circuit part 1 with Signal isolated part 2 connects, and described signal isolated part 2 is connected with CPLD3, and described CPLD3 is with frequency dividing selection circuit 4 even Connecing, described frequency dividing selection circuit 4 is connected with output circuit part 5, and signal input port is entered by described input circuit part 1 Horizontal electrical signal gathers.
Wherein, described input circuit part 1 is provided with pull-up resistor and filter capacitor, and described pull-up resistor is to collection To signal pull up, the unwanted signal of telecommunication is filtered by described filter capacitor.
Refering to Fig. 2, input circuit part 1 realizes adopting signal by A+, A-, B+, B-, Z+, Z-signal input port Collection, is the input circuit part 1 to A+, A-signal in Fig. 2, is come letter by resistance after A+, A-signal input collected Number pull up, it is ensured that the reliability of signal;It is filtered by filter capacitor for circuit exists unwanted signal, Thus reduce the interference to useful signal;Some signals pair that circuit itself is existing are fully taken into account in the design of circuit The situation that next stage circuit can have a negative impact, and then by optocoupler being made for realizing the isolation of signal in circuit, this One design is effectively prevented in circuit the interference to next stage circuit of some signal.
Further, described signal isolated part 2 uses the signal isolation that optocoupler realizes input circuit part 1, by The signal of telecommunication that input circuit part 1 collects is changed into by optocoupler optical signal, then optical signal is changed into the signal of telecommunication transmits extremely The signal of telecommunication after signal isolated part 2 is acted on by CPLD3, described CPLD3 carries out logical operations, and by the letter after logical operations Number output give frequency dividing selection circuit 4.
Further, the signal after CPLD3 is collected computing by described frequency dividing selection circuit 4 carries out scaling down processing, and passes through Signal after scaling down processing is exported by output circuit part 5, and described frequency dividing selection circuit 4 realizes frequency dividing by toggle switch Process.
Further, the equal effective grounding of vacant pin of described CPLD3.
A kind of encoder scaling down processing circuit based on CPLD of the present invention, uses programmable logic device (CPLD) and input electricity Road part 1, signal isolated part 2, frequency dividing selection circuit 4 and output circuit part 5 realize the collection to signal, isolate, calculate, Frequency dividing and output, pulled up the signal gathered by the pull-up resistor of input circuit part 1, it is ensured that signal reliable Property, and unwanted signal present in circuit can be filtered by filter capacitor, thus reduce and useful signal is done Disturb;Signal isolated part 2 uses and makes optocoupler, for realizing the isolation of signal in circuit, to be effectively prevented in circuit some The signal interference to next stage circuit;The pin of CPLD prevents it from circuit is produced interference by effective grounding, improves signal Accuracy and precision, by toggle switch realize frequency dividing, it is ensured that user can be carried out according to the practical situation of himself equipment Corresponding selection, thus improve the versatility of product.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Any amendment, equivalent or the improvement etc. made within god and principle, should be included within the scope of the present invention.

Claims (7)

1. an encoder scaling down processing circuit based on CPLD, it is characterised in that: include input circuit part (1), signal every From part (2), CPLD (3), frequency dividing selection circuit (4) and output circuit part (5), described input circuit part (1) and letter Number isolated part (2) connects, and described signal isolated part (2) is connected with CPLD (3), described CPLD (3) with divide selection Circuit (4) connects, and described frequency dividing selection circuit (4) is connected with output circuit part (5), described input circuit part (1) Signal input port is carried out electrical signal collection.
A kind of encoder scaling down processing circuit based on CPLD, it is characterised in that: described input Circuit part (1) is provided with pull-up resistor and filter capacitor, and the signal collected is pulled up by described pull-up resistor, described Filter capacitor the unwanted signal of telecommunication is filtered.
A kind of encoder scaling down processing circuit based on CPLD, it is characterised in that: described signal Isolated part (2) uses the signal isolation that optocoupler realizes input circuit part (1), by optocoupler by input circuit part (1) The signal of telecommunication collected changes into optical signal, then optical signal changes into signal of telecommunication transmission to CPLD (3).
A kind of encoder scaling down processing circuit based on CPLD, it is characterised in that: described CPLD (3) signal of telecommunication after acting on signal isolated part (2) carries out logical operations, and exports the signal after logical operations to frequency dividing Selection circuit (4).
A kind of encoder scaling down processing circuit based on CPLD, it is characterised in that: described frequency dividing Selection circuit (4) carries out scaling down processing to the signal after CPLD (3) volume of computing, and by output circuit part (5) by frequency dividing Signal output after reason.
A kind of encoder scaling down processing circuit based on CPLD, it is characterised in that: described frequency dividing Selection circuit (4) realizes scaling down processing by toggle switch.
7. a kind of based on CPLD the encoder scaling down processing circuit as described in any one in claim 3 to 5, its feature exists In: the equal effective grounding of vacant pin of described CPLD (3).
CN201610795101.1A 2016-08-31 2016-08-31 A kind of encoder scaling down processing circuit based on CPLD Pending CN106169928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610795101.1A CN106169928A (en) 2016-08-31 2016-08-31 A kind of encoder scaling down processing circuit based on CPLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610795101.1A CN106169928A (en) 2016-08-31 2016-08-31 A kind of encoder scaling down processing circuit based on CPLD

Publications (1)

Publication Number Publication Date
CN106169928A true CN106169928A (en) 2016-11-30

Family

ID=57376270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610795101.1A Pending CN106169928A (en) 2016-08-31 2016-08-31 A kind of encoder scaling down processing circuit based on CPLD

Country Status (1)

Country Link
CN (1) CN106169928A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201655521U (en) * 2010-03-01 2010-11-24 盛能动力科技(深圳)有限公司 Decoding device and system for universal rotating transformer
CN202282768U (en) * 2011-10-28 2012-06-20 深圳市星龙科技有限公司 Circuit capable of detecting multiple electrical energy impulse signals
CN202649763U (en) * 2012-04-24 2013-01-02 广西大学 Decoding device for synchronous serial transmission absolute type encoder
US8362801B1 (en) * 2011-10-24 2013-01-29 Eastman Kodak Company Method of programming a safety component
CN103162725A (en) * 2013-02-28 2013-06-19 重庆大学 Photoelectric encoder rotating pulse display device
CN203661029U (en) * 2013-12-31 2014-06-18 中国船舶重工集团公司第七一三研究所 Countable digital input module
CN205484178U (en) * 2016-01-04 2016-08-17 中国人民解放军后勤工程学院 A oxygen concentration detection system that is used for guard station system oxygen system of tibet frontier guards
CN206077357U (en) * 2016-08-31 2017-04-05 浙江佳乐科仪股份有限公司 A kind of encoder scaling down processing circuit based on CPLD

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201655521U (en) * 2010-03-01 2010-11-24 盛能动力科技(深圳)有限公司 Decoding device and system for universal rotating transformer
US8362801B1 (en) * 2011-10-24 2013-01-29 Eastman Kodak Company Method of programming a safety component
CN202282768U (en) * 2011-10-28 2012-06-20 深圳市星龙科技有限公司 Circuit capable of detecting multiple electrical energy impulse signals
CN202649763U (en) * 2012-04-24 2013-01-02 广西大学 Decoding device for synchronous serial transmission absolute type encoder
CN103162725A (en) * 2013-02-28 2013-06-19 重庆大学 Photoelectric encoder rotating pulse display device
CN203661029U (en) * 2013-12-31 2014-06-18 中国船舶重工集团公司第七一三研究所 Countable digital input module
CN205484178U (en) * 2016-01-04 2016-08-17 中国人民解放军后勤工程学院 A oxygen concentration detection system that is used for guard station system oxygen system of tibet frontier guards
CN206077357U (en) * 2016-08-31 2017-04-05 浙江佳乐科仪股份有限公司 A kind of encoder scaling down processing circuit based on CPLD

Similar Documents

Publication Publication Date Title
CN206077357U (en) A kind of encoder scaling down processing circuit based on CPLD
CN103346771B (en) The multichannel control switching circuit of compatible two kinds of agreements and control method
CN105116366A (en) Quick calibration method based on pulse constant adjustment
CN106169928A (en) A kind of encoder scaling down processing circuit based on CPLD
CN101441606A (en) Component-less termination for electromagnetic couplers used in high speed/frequency differential signaling
CN104518755A (en) Digital circuit noise filter and digital filtering method
CN105607542A (en) Output interface equipment
CN109240962A (en) A kind of MBUS master station signal processing unit and the equipment with it
CN207571503U (en) Electromechanical equipment long-distance monitorng device
CN208479636U (en) Apparatus of load size is avoided to influence the structure of bus signals in circuit signal transmission
CN203982112U (en) Agricultural general-purpose simulation amount input acquisition module
CN207382285U (en) Signal deteching circuit and electronic equipment
CN205540110U (en) Input interface equipment
CN206452392U (en) PCM signal test system inside a kind of emitter
CN208315205U (en) A kind of circuit of compatible multiple interfaces SSD
CN204116373U (en) Photoelectric coding output signal conditioning device
CN210867616U (en) Intelligent denoising circuit and device for cable signal transmission
CN205829594U (en) A kind of composite filter
CN205176117U (en) Synchronous sampling circuit
CN109254891A (en) A kind of debugging board
CN203589372U (en) Signal transmission device
CN209198519U (en) A kind of simple digital multimeter that experimental teaching is applicable
CN106802355A (en) Airplane wheel speed high precision collecting method
CN204576136U (en) A kind of parallel data high speed acquisition device
CN203882123U (en) Universal interface circuit suitable for pump truck chassis system

Legal Events

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