CN107145462A - A kind of synchronous serial signal acquisition and control device based on usb bus - Google Patents

A kind of synchronous serial signal acquisition and control device based on usb bus Download PDF

Info

Publication number
CN107145462A
CN107145462A CN201710283077.8A CN201710283077A CN107145462A CN 107145462 A CN107145462 A CN 107145462A CN 201710283077 A CN201710283077 A CN 201710283077A CN 107145462 A CN107145462 A CN 107145462A
Authority
CN
China
Prior art keywords
signal
usb bus
harvester
synchronous serial
interface
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.)
Granted
Application number
CN201710283077.8A
Other languages
Chinese (zh)
Other versions
CN107145462B (en
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 University ZJU
Original Assignee
Zhejiang University ZJU
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 University ZJU filed Critical Zhejiang University ZJU
Priority to CN201710283077.8A priority Critical patent/CN107145462B/en
Publication of CN107145462A publication Critical patent/CN107145462A/en
Application granted granted Critical
Publication of CN107145462B publication Critical patent/CN107145462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3812USB port controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention discloses a kind of synchronous serial signal acquisition and control device based on usb bus, including usb bus standard acquisition device, serial communication interface harvester, synchronous serial signal interface unit and host computer;Usb bus standard acquisition device and serial communication interface harvester are connected with synchronous serial signal interface unit, to synchronous serial signal interface unit tranmitting data register signal and receive data-signal;Synchronous serial signal interface unit is connected by SSI ports with ancillary equipment.Host computer is connected with usb bus standard acquisition device by USB line, is connected with serial communication interface harvester by RS232 or RS485 buses, receives the analog data signal that harvester is sent.Apparatus of the present invention are in the case where ensureing high accuracy, high-speed, and portability is improved, and connect simpler, using USB interface extend whole device can application, communication distance is added using serial communication, the complicated requirement in industrial measurement and control field is more adapted to, reduces cost.

Description

A kind of synchronous serial signal acquisition and control device based on usb bus
Technical field
Usb bus standard is based on the present invention relates to the collection of industrial measurement and control FIELD Data and control device, more particularly to one kind Synchronous serial signal acquisition and control device.
Background technology
Data acquisition is very important link in Digital Signal Processing, in the application of many industrial measurement controls, Need on various sensor signal concentrated collections to personal computer or industrial control computer.Wherein, in photoelectric encoder It is a kind of synchronous serial interface SSI etc. what is be widely used on various sensors (SynchronousSerialInterface), SSI signaling rates are fast, line is simple, high to the anti-interference of noise, Maximum distance is up to 500m.But industrial computer does not provide SSI interfaces typically, more than current SSI data collecting cards using PCI, CPCI, The interfaces such as PXI, it is expensive and driver is complex, it is generally received in the slot of industrial computer.
USB (UniversalSerialBus USBs) is so that its is simple, speed fast, support plug and play and heat to insert The advantage pulled out, has been widely used at present.Because USB interface is widely available, use USB interface can be with the in office of maneuverability The occasion that meaning needs is used, and is a kind of cheap, portable uses and operate connection scheme.
Therefore, a kind of synchronous serial signal acquisition and control device based on usb bus standard is designed, TT&C system can be made Possess the function of collection SSI signals, and the portability of whole device is high, have a wide range of application, acquisition rate is fast, cost performance is high, These all have positive facilitation to the development of industrial control automation.
The content of the invention
The present invention is for industrial computer the problem of be difficult to directly gather SSI signals, it is proposed that a kind of based on usb bus standard Synchronous serial signal acquisition and control device.
The purpose of the present invention is achieved through the following technical solutions:A kind of synchronous serial signal based on usb bus is adopted Collect control device, including usb bus standard acquisition device, serial communication interface harvester, synchronous serial signal interface unit With harvester host computer;Usb bus standard acquisition device and serial communication interface harvester connect with synchronous serial signal The connection of mouthful device, to synchronous serial signal interface unit tranmitting data register signal and receives data-signal;Synchronous serial signaling interface Device is connected by SSI ports with ancillary equipment.Harvester host computer is connected with usb bus standard acquisition device by USB line Connect, be connected with serial communication interface harvester by RS232 or RS485 buses, receive the simulation number that harvester is sent It is believed that number.
Further, the usb bus standard acquisition device includes usb bus transport module and USB interface, described serial Communication interface harvester includes Serial Port Transmission module, RS232 interfaces and RS485 interfaces, usb bus standard acquisition device and string Row communication interface harvester has shared FPGA module;The synchronous serial signal interface unit includes SSI signal acquisitions Module and SSI ports;
Multiple SSI driving chips of FPGA module point multi-wad join SSI signal acquisition modules, per all the way including clock all the way Signal wire and all the way data signal line;Usb bus transport module is connected with 7 control signal wires and 8 data lines and FPGA module Connect;RS232 interfaces and FPGA module in Serial Port Transmission module are connected with two signal wires, and the number of delivering letters that riches all the way is received all the way Signal;RS485 interfaces and FPGA module are connected with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, are also had and are controlled all the way The direction of signal transmission processed;Usb bus transport module is powered by harvester host computer, and other modules are powered by power module.
Further, described FPGA module using the fpga chip XC6SLX16 of the SPARTAN of Xilinx companies series as Core, the SSI driving chips that SSI signal acquisition modules are used is MAX490ESA chips, and usb bus transport module uses FTDI FT232H interface chips, the RS232 interfaces in Serial Port Transmission module use MAX3232 chips, and RS485 interfaces are used MAX3485 chips, power module uses the TPS54325PWP chips of TI companies.
Further, described SSI interfaces are 90 degree of DB female interfaces of two 25 pins, and ancillary equipment is absolute encoder Device;The interface of harvester and host computer includes USBMINIB types interface all the way and is used for usb bus and host computer communicating, and all the way 9 90 degree of DB females interfaces of pin are used for RS232 buses and host computer and communicated, all the way the 90 of 3 pins degree needle stand be used for RS485 buses with Host computer communicates.
Further, described harvester host computer and the collection of usb bus standard acquisition device or serial communication interface Device communicates, the control signal that transmission collection needs to harvester;Harvester sends the clock signal of synchronous serial interface To synchronous serial signal interface unit, the data-signal that synchronous serial signal interface unit is produced is total with USB by harvester Line standard or standard for serial communication are sent to harvester host computer.
The beneficial effects of the invention are as follows:This acquisition control device realizes industrial computer to the ancillary equipment with SSI interfaces Monitoring and control, realize the synchronous acquisition of multichannel SSI signals;In addition to USB interface, RS232 and RS485 interfaces are also supported The serial communication of a variety of common baud rates;This acquisition control device is in the case where ensureing high accuracy, high-speed, and portability is carried Height, connect it is simpler, using USB interface extend whole device can application, add communication using serial communication Distance, more adapts to the complicated requirement in industrial measurement and control field, also reduces the cost of whole acquisition control device.
Brief description of the drawings
Fig. 1 is the structural principle block diagram of the present invention;
Fig. 2 is the circuit diagram of the FPGA module of the present invention;
Fig. 3 is the circuit diagram of the SSI signal acquisition modules of the present invention;
Fig. 4 is the circuit diagram of the usb bus transport module of the present invention;
Fig. 5 be the present invention Serial Port Transmission module in RS232 interfaces circuit diagram;
Fig. 6 be the present invention Serial Port Transmission module in RS485 interfaces circuit diagram;
Fig. 7 is the circuit diagram of the power module of the present invention;
Fig. 8 is the circuit diagram of the SSI ports of the present invention.
Embodiment
The present invention is further illustrated below in conjunction with the accompanying drawings.
A kind of synchronous serial signal acquisition and control device based on usb bus standard that the present invention is provided, including usb bus Standard acquisition device, serial communication interface harvester, synchronous serial signal interface unit and harvester host computer;USB is total Line standard harvester and serial communication interface harvester are connected with synchronous serial signal interface unit, are believed to synchronous serial Number interface arrangement tranmitting data register signal simultaneously receives data-signal;Synchronous serial signal interface unit is set by SSI ports and periphery Standby connection.Harvester host computer is connected with usb bus standard acquisition device by USB line, is gathered and is filled with serial communication interface Put and connected by RS232 or RS485 buses, receive the analog data signal that harvester is sent.
As shown in figure 1, the usb bus standard acquisition device includes usb bus transport module and USB interface, the string Row communication interface harvester include Serial Port Transmission module, RS232 interfaces and RS485 interfaces, usb bus standard acquisition device and Serial communication interface harvester has shared FPGA module;The synchronous serial signal interface unit is adopted including SSI signals Collect module and SSI ports;
Multiple SSI driving chips of FPGA module point multi-wad join SSI signal acquisition modules, per all the way including clock all the way Signal wire and all the way data signal line;Usb bus transport module is connected with 7 control signal wires and 8 data lines and FPGA module Connect;RS232 interfaces and FPGA module in Serial Port Transmission module are connected with two signal wires, and the number of delivering letters that riches all the way is received all the way Signal;RS485 interfaces and FPGA module are connected with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, are also had and are controlled all the way The direction of signal transmission processed;Usb bus transport module is powered by harvester host computer, and other modules are powered by power module.
As shown in Fig. 2 FPGA module is using the fpga chip XC6SLX16 of the SPARTAN series of Xilinx companies as core, Ten six roots of sensation signal wire F_SSI0_CLK to F_SSI7_CLK and F_SSI0_DATA to F_SSI7_DATA and SSI signals therein are adopted Eight driving chips including of collection module totally ten six roots of sensation signal wire SSI0_CLK to SSI7_CLK and SSI0_DATA to SSI7_ DATA correspondences are connected, eight other signal wire ADBUS0 to ADBUS7 of FPGA module and the USB cores in usb bus transport module The eight single data signal wires correspondence of piece is connected, seven signal wire ACBUS0 to ACBUS6 and USB chips seven control signal wires Correspondence connection.
As shown in figure 3,8 SSI driving chips in SSI signal acquisition modules are with the MAX490 chips of MAXIM companies For core, a clock signal SSI_CLK is inputted by FPGA module, by MAX490 export a pair of differential signal SSI_CLK+, SSI_CLK-, to control ancillary equipment, such as SSI absolute value encoders;MAX490 chips receive the one of ancillary equipment simultaneously To differential input signal SSI_DATA+ and SSI_DATA-, output serial data SSI_DATA to FPGA module.SSI ports are as schemed It is 90 degree of DB female interfaces of two 25 pins shown in 8.
As shown in figure 4, usb bus transport module is using the FT232H of FTDI companies as core, the letter being connected with FPGA module Number line by eeprom chip 93LC56BT as described above, be configured to synchronization fifo pattern in addition.Usb bus transport module needs + 5V voltage acquiescence provided by computer, can also be provided by power module.The interface of usb bus transport module and host computer For USBMINIB types.
As shown in Figure 5,6, Serial Port Transmission module includes RS232 interface circuits and RS485 interface circuits.RS232 interfaces electricity Road uses the MAX3232 chips of MAXIM companies, and full-duplex mode is used in communication process, it is allowed to which data are simultaneously two sides Transmission upwards, so only two signal wires are connected with FPGA module 1, RS232_RXD is received, and RS232_TXD is sent.RS232 With 90 degree of DB females that the interface that host computer communicates is 9 pins.RS485 interface circuits use the MAX3485 chips of MAXIM companies, Semiduplex mode is used in communication process, a certain time data can only be transmitted in one direction, so there are three signal wires It is connected with FPGA module, RS485_RO is received, RS232_DI is sent, RS485_DE controlling transmissions direction.RS485 and host computer are logical The interface of letter is 90 degree of needle stands of 3 pins.
As shown in fig. 7, power module provide power supply, this acquisition control device for other modules required for voltage have+5V, + 3.3V ,+1.2V, a portion+3.3V are the boost voltage and I/O driving power supplies of the chip in FPGA module, and+1.2V is The inside core voltage of fpga chip, simultaneously+5V for needed for SSI signal acquisition modules chip provide operating voltage, some+ 3.3V provides power supply for other interface circuits.Power module input is+12V dc sources, passes through the TPS54325PWP of TI companies Chip is divided into four tunnels and is converted into required voltage, and Fig. 7 is the circuit for wherein producing+1.2V voltages all the way.
The specific implementation process of the present invention is as follows:
Build and said apparatus is installed, selection USB interface, RS232 interfaces, one kind in RS485 interfaces and host computer phase Even, SSI ports and ancillary equipment connection.Host computer and usb bus standard acquisition device or serial communication interface harvester are logical Letter, instruction is sent to harvester, the chip of interface module is received after instruction, changes into the charge that FPGA module can be read System order, FPGA module is according to corresponding instruction, to the status information of host computer feedback collection device, so as to complete initialization.
When needing collection SSI signals, corresponding instruction is sent by host computer, by usb bus standard or serial communication Standard transmission is to FPGA module, and FPGA module does corresponding control, including read write command and bit wide to SSI signal acquisition modules Data etc. are set, while the SSI signal datas collected in real time are sent to FPGA module by SSI signal acquisition modules, by USB Bus standard or standard for serial communication are transferred to host computer, are finally completed the collection of signal.

Claims (5)

1. a kind of synchronous serial signal acquisition and control device based on usb bus, it is characterised in that:Adopted including usb bus standard Acquisition means, serial communication interface harvester, synchronous serial signal interface unit and harvester host computer etc..Usb bus mark Quasi- harvester and serial communication interface harvester is connected with synchronous serial signal interface unit, is connect to synchronous serial signal Mouth device tranmitting data register signal simultaneously receives data-signal;Synchronous serial signal interface unit is connected by SSI ports and ancillary equipment Connect.Harvester host computer is connected with usb bus standard acquisition device by USB line, logical with serial communication interface harvester The connection of RS232 or RS485 buses is crossed, the analog data signal that harvester is sent is received.
2. a kind of synchronous serial signal acquisition and control device based on usb bus according to claim 1, its feature exists In:The usb bus standard acquisition device includes usb bus transport module and USB interface etc., the serial communication interface collection Device includes Serial Port Transmission module, RS232 interfaces and RS485 interfaces, and usb bus standard acquisition device and serial communication interface are adopted Acquisition means have shared FPGA module;The synchronous serial signal interface unit includes SSI signal acquisition modules and SSI ends Mouthful.
Multiple SSI driving chips of FPGA module point multi-wad join SSI signal acquisition modules, per all the way including clock signal all the way Line and all the way data signal line;Usb bus transport module is connected with 7 control signal wires and 8 data lines and FPGA module;String RS232 interfaces and FPGA module in port transmission module are connected with two signal wires, and the number of delivering letters that riches all the way receives signal all the way; RS485 interfaces and FPGA module are connected with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, also have control letter all the way Number transmission direction;Usb bus transport module is powered by harvester host computer, and other modules are powered by power module.
3. a kind of synchronous serial signal acquisition and control device based on usb bus according to claim 1, its feature exists In:Described FPGA module is using the fpga chip XC6SLX16 of the SPARTAN series of Xilinx companies as core, and SSI signals are adopted Integrate SSI driving chips that module uses as MAX490ESA chips, usb bus transport module uses FTDI FT232H interface cores RS232 interfaces in piece, Serial Port Transmission module use MAX3232 chips, and RS485 interfaces use MAX3485 chips, power module Using the TPS54325PWP chips of TI companies.
4. a kind of synchronous serial signal acquisition and control device based on usb bus according to claim 1, its feature exists In:Described SSI interfaces are 90 degree of DB female interfaces of two 25 pins, and ancillary equipment is absolute value encoder;Harvester and The interface of host computer, which includes USBMINIB types interface all the way, is used for usb bus and host computer communication, all the way the 90 of 9 pins degree DB females Interface is used for RS232 buses and host computer communicates, and the 90 of 3 pins degree needle stand is used for RS485 buses all the way and host computer communicates.
5. a kind of synchronous serial signal acquisition and control device based on usb bus according to any one of Claims 1 to 4, Characterized in that, using the synchronous serial signal acquisition and control device:
Step 1, harvester host computer and the communication of usb bus standard acquisition device or serial communication interface harvester, send The control signal needed is gathered to harvester;
Step 2, harvester send synchronous serial interface clock signal arrive synchronous serial signal interface unit, synchronous serial believe The data-signal that number interface arrangement is produced is sent to harvester by harvester with usb bus standard or standard for serial communication Host computer.
CN201710283077.8A 2017-04-26 2017-04-26 A kind of synchronous serial signal acquisition and control device based on usb bus Active CN107145462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710283077.8A CN107145462B (en) 2017-04-26 2017-04-26 A kind of synchronous serial signal acquisition and control device based on usb bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710283077.8A CN107145462B (en) 2017-04-26 2017-04-26 A kind of synchronous serial signal acquisition and control device based on usb bus

Publications (2)

Publication Number Publication Date
CN107145462A true CN107145462A (en) 2017-09-08
CN107145462B CN107145462B (en) 2019-10-11

Family

ID=59774130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710283077.8A Active CN107145462B (en) 2017-04-26 2017-04-26 A kind of synchronous serial signal acquisition and control device based on usb bus

Country Status (1)

Country Link
CN (1) CN107145462B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347954A (en) * 2018-10-18 2019-02-15 中国人民解放军战略支援部队航天工程大学 A kind of bullet arrow polymorphic type signal acquisition and processing apparatus based on a variety of buses

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2718856Y (en) * 2004-05-12 2005-08-17 中国科学院长春光学精密机械与物理研究所 Data transmission interface converter
US20080253493A1 (en) * 2007-04-13 2008-10-16 Nec Electronics Corporation Clock and data recovery circuit
CN201638047U (en) * 2010-04-29 2010-11-17 湖南文理学院 Data collecting device based on USB interface
CN101957806A (en) * 2010-09-14 2011-01-26 浙江大学 Peripheral component interconnection standard acquisition device for synchronous serial interface signal
CN203241759U (en) * 2013-05-20 2013-10-16 浙江大学 Digital-to-analogue conversion output control device with peripheral component interconnect standard interface
CN204740457U (en) * 2015-04-29 2015-11-04 北京电子科技学院 Serial signal collection system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2718856Y (en) * 2004-05-12 2005-08-17 中国科学院长春光学精密机械与物理研究所 Data transmission interface converter
US20080253493A1 (en) * 2007-04-13 2008-10-16 Nec Electronics Corporation Clock and data recovery circuit
CN201638047U (en) * 2010-04-29 2010-11-17 湖南文理学院 Data collecting device based on USB interface
CN101957806A (en) * 2010-09-14 2011-01-26 浙江大学 Peripheral component interconnection standard acquisition device for synchronous serial interface signal
CN203241759U (en) * 2013-05-20 2013-10-16 浙江大学 Digital-to-analogue conversion output control device with peripheral component interconnect standard interface
CN204740457U (en) * 2015-04-29 2015-11-04 北京电子科技学院 Serial signal collection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347954A (en) * 2018-10-18 2019-02-15 中国人民解放军战略支援部队航天工程大学 A kind of bullet arrow polymorphic type signal acquisition and processing apparatus based on a variety of buses
CN109347954B (en) * 2018-10-18 2021-08-06 中国人民解放军战略支援部队航天工程大学 Rocket multi-type signal acquisition and processing device based on multiple buses

Also Published As

Publication number Publication date
CN107145462B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN103823776A (en) Unibus in communication with master equipment and slave equipment and communication method
CN101957806A (en) Peripheral component interconnection standard acquisition device for synchronous serial interface signal
CN201716587U (en) Multi-channel current analog quantity conversion/distribution module
CN205160512U (en) RS485 circuit and metering device who makes with this circuit
CN104678809B (en) Generally applicable sensor control device and system
CN107145462B (en) A kind of synchronous serial signal acquisition and control device based on usb bus
CN203092570U (en) Measurement and control circuit of robot teleoperation hand controller with seven-degree of freedom force feedback
CN102567270A (en) USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter
CN104965469A (en) CPCI bus standard-based multi-function acquisition control device
CN105607542B (en) A kind of output interface device
CN106094630A (en) A kind of rail vehicle debugging signal automatic acquisition device
CN202205052U (en) 12-channel analog data acquisition and control panel
CN103176435A (en) Device and method of interface for achieving connection of distributed control system and measuring device
CN104965468B (en) A kind of common interface module suitable for the multi-functional acquisition control devices of CPCI
CN204406391U (en) A kind of data of optical fiber gyroscope R-T unit based on SPI
CN103218334A (en) Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus
CN102642209B (en) Seven-degree of freedom force feedback hand controller measurement and control system
CN204423022U (en) Can general purpose transducer opertaing device and system
CN113485183A (en) Serial signal acquisition output control device based on PCI bus protocol
CN203734667U (en) Bluetooth bridge for realizing long-distance data communication
CN201340616Y (en) CANOPEN interface type energy consumption recorder for locomotive
CN204790438U (en) Multi -functional acquisition control device based on total line standard of CPCI
CN205594424U (en) Numerical control apparatus
CN204965140U (en) Simple and easy controller that can be used to digit control machine tool human -computer interaction
CN110601968A (en) Miniaturized symmetrical array antenna

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
GR01 Patent grant
GR01 Patent grant