CN2757220Y - Multi path grating data transducer based on programmable logic device and USB interface - Google Patents

Multi path grating data transducer based on programmable logic device and USB interface Download PDF

Info

Publication number
CN2757220Y
CN2757220Y CN 200420061706 CN200420061706U CN2757220Y CN 2757220 Y CN2757220 Y CN 2757220Y CN 200420061706 CN200420061706 CN 200420061706 CN 200420061706 U CN200420061706 U CN 200420061706U CN 2757220 Y CN2757220 Y CN 2757220Y
Authority
CN
China
Prior art keywords
chip
programmable logic
usb interface
output
data
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.)
Expired - Fee Related
Application number
CN 200420061706
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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN 200420061706 priority Critical patent/CN2757220Y/en
Application granted granted Critical
Publication of CN2757220Y publication Critical patent/CN2757220Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The utility model relates to a multiple-passage raster data converter based on a programmable logic device and a USB interface, which is combined with the USB interface chip of a built-in single chip computer through an A/D conversion chip with a multiple-passage switch and a programmable logic chip. Programming in the programmable logic chip realizes the front end data processing of multiple-passage raster sensing signal, the USB interface chip realizes the high-speed transmission of result data to a computer, the USB interface chip is combined with corresponding software, and the virtual display and the measuring control of the measuring data of a multiple-passage raster displacement sensor are realized on the computer. Primary devices on a plate all can realize on-line programming, and the flexibility of the system is high. Due to adopting universal large scale integration elements, the utility model has the advantages of few elements and devices, reduced circuit, reduction of the volume of the instrument, low cost, simple use and easy maintenance. Synchronously, the raster data converter is also a universal data collecting plate, the inter programming of the universal data collection plate is changed slightly according to requirements and the utility model can be suitable for various types of data processing and collecting.

Description

Hyperchannel grating data converter based on programmable logic device (PLD) and USB interface
Technical field
The utility model belongs to the grating footage according to handling and the collection field, relates to a kind of high integration, high segmentation multiple, programmable hyperchannel grating data converter.
Background technology
The raster data processing module is that the core of optical grating ruler measurement system one of is formed.In the optical grating ruler measurement system, the raster data processing module be used for to the sinusoidal signal of grating chi output segment, sensing, reversible counting and transmission send demonstration.The segmentation multiple of raster data processing module, precision, working range directly have influence on precision, scope and the reliability of measurement.
Yet traditional raster data processing module complex structure, integrated level is low, volume is big, be difficult for and computer interface.Now, be that system of processing, the measuring system of core becomes main flow gradually with the computing machine.By the interface of survey sensor and computing machine, can utilize computer development to go out killer application, significantly improve the efficient of measurement and the automaticity of processing.Therefore, seek a kind of simple in structure, integrated level is high, be easy to and computer interface, the hyperchannel grating data converter that can conveniently upgrade just become the problem that the optical grating ruler measurement system is eager to solve.
Development along with programmable logic device (PLD) (as FPGA, CPLD etc.), and USB (universal serial bus) (USB) broad application, people begin to turn to programmable extensive logical circuit and combining of USB chip to design new raster data notice and handle and acquisition module.Because USB uses flexibly, transmission speed is fast, and it is little to take up room, and becomes main flow gradually in data collecting field.But structure and all reasonable USB raster data of performance collection plate are also fewer at present.
Summary of the invention
The purpose of this utility model be to provide a kind of simple in structure, higher integrated level and segmentation multiple, can be simultaneously to multichannel measurement, transmission speed is fast, volume is little, cost is low, use flexibly the hyperchannel grating data converter based on programmable logic device (PLD) and USB interface.
The utility model is achieved in that
Based on the hyperchannel grating data converter of programmable logic device (PLD) and USB interface, mainly comprise the USB interface chip and the peripheral circuit of the A/D conversion chip of being with multi-way switch, programmable logic chip, memory set, built-in single-chip microcomputer.Hyperchannel grating data converter is input as the multiple paths of sine wave signals of a plurality of grating displacement sensor outputs; Input signal is received on the A/D conversion chip of band multi-way switch, is converted into digital value through gating; The output of the A/D conversion chip of band multi-way switch and the input and output of memory set are all received on the programmable logic chip; Programming realizes the front end data of input signal is handled and conversion in programmable logic chip.The I/O pin of the USB interface chip of built-in single-chip microcomputer links to each other with one group of I/O pin of programmable logic chip, the measurement result after handling with acquisition, and the while is as the logic master control device of whole converter.The connection of the USB interface chip main frame USB mouth of the built-in single-chip microcomputer of process at last realizes the transmission of data and control command.By this hyperchannel grating data converter, segmentation sensing, reversible counting and USB transmission have been realized to hyperchannel grating transducing signal.
The integrated function that has realized modules such as segmenting sensing, count, latch of programmable logic chip in the notebook data converter, its mode is that data, segmentation and Puzzle lock storage, up-down signal generator and the cycle up-down counter that programming realizes is set in programmable logic chip.The output signal of grating displacement sensor inserts programmable logic chip by the A/D chip dies number conversion of band multi-way switch, and the data latches of realizing through programming exports the address line end of memory set to again; The segmentation latch of being realized by programming latchs the output of memory set then, and the highest two up-down signal generators of realizing by programming of result are produced up-down signal, sending cycle up-down counter counting that programming realizes and the counting latches that is programmed realization; Be output as the high position of position signalling with the Puzzle lock storage, the segmentation latch is output as the low level of position signalling, and it is read in the I/O mouth of the USB chip of built-in single-chip microcomputer, and the USB chip by built-in single-chip microcomputer is sent to main frame with data at last.
On whole hyperchannel grating data converter, the USB chip of built-in single-chip microcomputer is a logic master control device.USB chip by built-in single-chip microcomputer sends logic control signal, and the decoder for decoding that programming realizes in programmable logic chip is controlled and gating the output of built-in multi-way switch A/D conversion chip, memory set and cycle up-down counter count value.
When input signal is circle grating or long grating, just difference to some extent is set at the counting region of cycle up-down counter for this hyperchannel grating data converter.For the input of circle grating signal, counting region is set to grating portrayal line number * segmentation multiple.For the input of long grating signal, counting region is set to the grating portrayal line number * segmentation multiple of twice.
Advantage of the present utility model:
1, this hyperchannel grating data converter adopts the programmable logic chip of high integration to replace the logic chip of traditional low integrated level, realized the front-end processing of multichannel grating displacement sensor signal, reduce the quantity of components and parts, simplified circuit, reduced the volume of instrument greatly.
2, this hyperchannel grating data converter adopts the USB chip of built-in single-chip microcomputer to realize and the interface of computing machine, has guaranteed higher transmission speed.Simultaneously easy to use, flexible, be easy to and other equipment interfaces.
3, the general surface mount elements of a large amount of employings of this hyperchannel grating data converter, as the USB chip CY7C68013 of programmable logic chip XC95144, memory chip 24LC64, built-in single-chip microcomputer, further reduced the volume and the power consumption that has reduced instrument of instrument.Surface mount elements robotization process technology maturation is fit in enormous quantities the making simultaneously.
4, the USB chip of the core devices of this hyperchannel grating data converter such as programmable logic chip and built-in single-chip microcomputer is the online programmable device, thereby system is flexible higher, can according to the needs adjustment of concrete use and change parameter both function need not to change circuit.
5, this hyperchannel grating data converter adopts the ROM (read-only memory) close classification, can realize higher segmentation multiple.And because systematic parameter can be adjusted by software programming, the segmentation multiple is variable.
6, this hyperchannel grating data converter itself is a kind of general data acquisition board, changes its inside programming as required, can be suitable for various general data processing, collection.
7, this hyperchannel grating data converter can be realized the virtual digital display of multichannel light gate sensor as complete raster data processing, an acquisition system easily in conjunction with corresponding software.Thereby constituting a cover is the TT﹠C system of core based on computing machine, and demonstration, data analysis are measured in realization easily, machining control is integrated automatically.
Description of drawings
Fig. 1 is a principle of work block diagram of the present utility model
Fig. 2 is a chip connection layout of the present utility model
Fig. 3 is circuit theory diagrams of the present utility model
Fig. 4 is the theory diagram that the utility model is used in data processing, collection
Embodiment
Below in conjunction with accompanying drawing formation of the present utility model is described further:
With reference to accompanying drawing 1, be principle of work block diagram of the present utility model, with three tunnel pattern displacement sensing paths, six passages are input as example.1 is grating displacement sensor among the figure, 2 A/D conversion chips for the band multi-way switch, 3 is data latches, 4 is memory set, and 5 are the segmentation latch, and 6 is the up-down signal generator, 7 is the cycle up-down counter, 8 is the Puzzle lock storage, and 9 is the USB interface chip of built-in single-chip microcomputer, and 10 is logic controller.The output of grating displacement sensor 1 is received on the A/D conversion chip 2 of band multi-way switch, is converted into digital signal through gating.The address wire low level that the output of the A/D conversion chip 2 of band multi-way switch is connected to memory set 4 latchs an address wire high position that is connected to memory set 4 through data latches 3 simultaneously.The output of memory set 4 is latched through segmentation latch 5, is output as D0~D7, is connected to the I/O mouth of the USB interface chip 9 of built-in single-chip microcomputer.
High two D6, the D7 of 5 outputs of segmentation latch insert up-down signal generator 6, produce up-down signal output.Be connected to cycle up-down counter 7 then and count, the result of counting latchs through Puzzle lock storage 8 and is output as the I/O mouth that D8~Dn is connected to the USB interface chip 9 of built-in single-chip microcomputer.The zero clearing of cycle up-down counter 7, put several signals and produce, also can produce by external switch by logic controller 10.Logic controller 10 simultaneously also the position choosing of the A/D conversion chip 2 of control band multi-way switch and and data, segmentation and Puzzle lock storage 3,5,8, the gating of memory set 4, up-down signal generator 6.Data, segmentation and Puzzle lock storage 3,5,8 and up-down signal generator 6, cycle up-down counter 7 all are that programming realizes in programmable logic chip among the figure.Logic controller 10 is realized by the single-chip microcomputer in the USB interface chip 9 of built-in single-chip microcomputer.
In the utility model when work,, the software of host side constantly sends data by interface to the USB interface chip 9 of built-in single-chip microcomputer and reads in request, and the value on the USB interface chip 9I/O mouth of built-in single-chip microcomputer is read in main frame.Need put number and during zero clearing, the software of host side sends to the USB interface chip 9 of built-in single-chip microcomputer by interface and puts several and zero clearing order and data.The USB interface chip 9 of built-in single-chip microcomputer is put number and zero clearing by the control pin to cycle up-down counter 7.
With reference to accompanying drawing 2, be chip connection layout of the present utility model.2 A/D conversion chips among the figure for the band multi-way switch, 4 is memory set, and 11 is programmable logic chip, and 9 is built-in single-chip microcomputer USB interface chip.The input end of the A/D conversion chip 2 of the output tape splicing multi-way switch of grating sensor, the output of the A/D conversion chip 2 of band multi-way switch connects programmable logic chip 10.The input and output of memory set 4 are all received on the programmable logic chip 10.The I/O pin of the USB interface chip 9 of built-in single-chip microcomputer is received on the programmable logic chip 11, is connected to the USB mouth of main frame with the serial pin of host communication.
Referring to accompanying drawing 3, be circuit diagram of the present utility model.In this circuit diagram, the A/D conversion chip 2 of band multi-way switch by two of multi-way switch X1 and A/D conversion U1 independently chip connect and compose.The signal of grating sensor is connected to the input end 1C0-1C3 and the 2C0-2C3 of multi-way switch.Output 1Y and 2Y are connected to the input ANLGIN of A/D conversion UI, and the output D0-D7 of A/D conversion UI is connected to the ADD0-ADD7 of programmable logic chip 11 (CP1 among the figure).The ADD0-ADD15 of programmable logic chip 11 links to each other with the address end ADD0-ADD15 of memory set 4 (U2, U3 among the figure).The output IO0-IO15 of memory set 4 is connected to the IO0-IO15 of programmable logic chip 11.Interface between the USB interface chip 9 of programmable logic chip 11 and built-in single-chip microcomputer (U4 among the figure) is realized by PA0-PA7, PB0-PB7, PD0-PD7.U5 is the EEPROM of firmware program in the USB interface chip 9 of the built-in single-chip microcomputer of storage among the figure, X2 is the USB slot with computer interface, and the peripheral on-off circuit of pin KCP, KC, KX, KY and the KCY of programmable logic chip 11 is respectively that programmable logic chip 11 resets, the resetting of the USB interface chip 9 of three-channel cycle up-down counter zero clearing and built-in single-chip microcomputer.In the foregoing circuit, programmable logic chip 11 adopts XC95144, and the USB chip of built-in single-chip microcomputer adopts CY7C68013, and memory set 4 adopts 24LC64
With reference to accompanying drawing 4, be the theory diagram of the utility model application in data processing, collection.1 is grating displacement sensor among the figure, and 12 is hyperchannel grating data converter, and 13 is main frame.In Fig. 3, every road grating displacement sensor 1 has four lines to link to each other with hyperchannel grating data converter 12.Wherein two is power lead VCC and GND, is the bulb powered in the grating displacement sensor 1.Two is signal wire, is output as the two-way phase differential and is 90 ° sine voltage signal.The signal of 12 pairs of inputs of hyperchannel grating data converter segments, sensing, counting, and the result is imported into main frame 13 by USB interface.On the hyperchannel grating data converter 12 independently power supply is arranged, for grating displacement sensor 1 provides power supply.USB interface by four lines between main frame 13 and the hyperchannel grating data converter 12 connects, and wherein two is power lead VCC and GND, can provide power supply for the chip on the multichannel light grid data converter 12, and two is the data line of serial communication in addition.Main frame 13 parts comprise and the driver of USB interface and supporting application program that effect is display result and analyzes data.

Claims (2)

1. based on the hyperchannel grating data converter of programmable logic device (PLD) and USB interface, comprise the A/D conversion chip (2) of being with multi-way switch, memory set (4), programmable logic chip (11), the USB interface chip (9) and the peripheral circuit of built-in single-chip microcomputer; It is characterized in that: the signal of multichannel grating displacement sensor output is received on the A/D conversion chip (2) of band multi-way switch, is converted into digital signal through gating; The output of the A/D conversion chip (2) of band multi-way switch connects programmable logic chip (11), the input and output of memory set (4) are all received on the programmable logic chip (11), and programming realizes the front end data of input signal is handled and conversion in programmable logic chip (11); The I/O pin of the USB interface chip (9) of built-in single-chip microcomputer is received on the programmable logic chip (11), and as logic master control device, last signal is connected to the USB mouth of main frame through the USB interface chip (9) of built-in single-chip microcomputer.
2. hyperchannel grating data converter according to claim 1, it is characterized in that: the data, segmentation, the Puzzle lock storage (3,5,8) that in programmable logic chip (11), have programming to realize, up-down signal generator (6) and cycle up-down counter (7); Data latches (3) output is connected to the address line end of memory set (4), by segmentation latch (5) output of memory set (4) is latched then, and the highest two of result are inserted up-down signal generators (6), produce up-down signal pulse output, be connected to cycle up-down counter (7) counting then, the result of counting inserts Puzzle lock storage (8) and latchs, and output at last is connected to the I/O mouth of the USB chip (9) of built-in single-chip microcomputer; Puzzle lock storage (8) is output as the high position of position signalling, and segmentation latch (5) is output as the low level of position signalling.
CN 200420061706 2004-10-15 2004-10-15 Multi path grating data transducer based on programmable logic device and USB interface Expired - Fee Related CN2757220Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200420061706 CN2757220Y (en) 2004-10-15 2004-10-15 Multi path grating data transducer based on programmable logic device and USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200420061706 CN2757220Y (en) 2004-10-15 2004-10-15 Multi path grating data transducer based on programmable logic device and USB interface

Publications (1)

Publication Number Publication Date
CN2757220Y true CN2757220Y (en) 2006-02-08

Family

ID=35965607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200420061706 Expired - Fee Related CN2757220Y (en) 2004-10-15 2004-10-15 Multi path grating data transducer based on programmable logic device and USB interface

Country Status (1)

Country Link
CN (1) CN2757220Y (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699414B (en) * 2009-09-30 2011-11-16 曙光信息产业(北京)有限公司 Data processing system
CN103324116A (en) * 2013-05-22 2013-09-25 西安交通大学 Endat signal acquisition card based on three-connection mode
CN103363907A (en) * 2013-08-01 2013-10-23 山东大学 Multi-path grating ruler signal acquiring and measuring system
CN104011510A (en) * 2011-12-16 2014-08-27 大陆汽车有限责任公司 Sensor for detecting the mass flow rate and the temperature of a fluid flow
CN107942899A (en) * 2017-11-07 2018-04-20 国网辽宁省电力有限公司电力科学研究院 A kind of multi-channel Grating signal processing circuit based on CPLD
CN108444393A (en) * 2018-04-04 2018-08-24 合肥工业大学 A kind of across the scale grating displacement measuring device of double A/D and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699414B (en) * 2009-09-30 2011-11-16 曙光信息产业(北京)有限公司 Data processing system
CN104011510A (en) * 2011-12-16 2014-08-27 大陆汽车有限责任公司 Sensor for detecting the mass flow rate and the temperature of a fluid flow
CN103324116A (en) * 2013-05-22 2013-09-25 西安交通大学 Endat signal acquisition card based on three-connection mode
CN103324116B (en) * 2013-05-22 2015-05-27 西安交通大学 Endat signal acquisition card based on three-connection mode
CN103363907A (en) * 2013-08-01 2013-10-23 山东大学 Multi-path grating ruler signal acquiring and measuring system
CN107942899A (en) * 2017-11-07 2018-04-20 国网辽宁省电力有限公司电力科学研究院 A kind of multi-channel Grating signal processing circuit based on CPLD
CN108444393A (en) * 2018-04-04 2018-08-24 合肥工业大学 A kind of across the scale grating displacement measuring device of double A/D and method

Similar Documents

Publication Publication Date Title
CN109613491B (en) High-speed signal acquisition, storage and playback system based on FPGA
CN105242640B (en) A kind of novel high-speed, high precision multiple-axis servo motion controller circuit
CN102279830A (en) Multifunctional data acquisition module based on compact peripheral component interconnect (CPCI) bus
CN103776366B (en) A kind of excitation of sine and cosine resolver with resolve integrated apparatus
CN102023808A (en) Multi-channel synchronous data acquisition card
CN200983200Y (en) Large-capacity precise digital collector
CN102147603A (en) Multi-axis motion control device based on versa module Euro-card (VME) bus
CN2757220Y (en) Multi path grating data transducer based on programmable logic device and USB interface
CN102967369B (en) There is the mixed light spectrometer of CCD spectroscopic acquisition system
CN102445924B (en) Integrated numerical control system and integrated numerical control machine
CN203070045U (en) Embedded numerical control motion control platform used for multi-spindle machine tool
CN106706503A (en) Digital signal acquisition system for flow cytometer
CN2824127Y (en) Complex impedance dispensing apparatus with integrated controller for microwave load tracting measurement
CN208588917U (en) A kind of industrial robot motion controller based on ARM+DSP+FPGA
CN1920806A (en) Testing method for programmable equipment and programming method
CN113009866A (en) Embedded vision motion control system
CN104656565A (en) Intelligent IO device capable of being freely configured
CN1418762A (en) Multiple axes servo motion control device
CN109514285A (en) A kind of real-time acquisition system of XY worktable absolute optical gate signal based on DSP
CN103777625A (en) Generalized helicopter laboratory measurement and control system
CN201094096Y (en) Hydraulic turbine swing embedded type surveillance protecting equipment
CN107064679A (en) New Electric Quality Monitoring and monitoring method
CN204347538U (en) Based on marine diesel engine supervising device
CN102426422A (en) Modular design method of computer measurement and control device
CN104238404A (en) Modular industrial control board

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060208

Termination date: 20111015