CN107145462B - 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 PDFInfo
- Publication number
- CN107145462B CN107145462B CN201710283077.8A CN201710283077A CN107145462B CN 107145462 B CN107145462 B CN 107145462B CN 201710283077 A CN201710283077 A CN 201710283077A CN 107145462 B CN107145462 B CN 107145462B
- Authority
- CN
- China
- Prior art keywords
- signal
- acquisition device
- interface
- usb bus
- acquisition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/38—Universal adapter
- G06F2213/3812—USB 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 acquisition device, synchronous serial signal interface unit and host computer;Usb bus standard acquisition device and serial communication interface acquisition device are connect 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 connect by the port SSI with peripheral equipment.Host computer is connect with usb bus standard acquisition device by USB line, is connect with serial communication interface acquisition device by RS232 or RS485 bus, and the analog data signal that acquisition device is sent is received.In the case where guaranteeing high-precision, high-speed, portability improves apparatus of the present invention, connects simpler, using USB interface extend whole device can application range, communication distance is increased using serial communication, more the complicated of adaptation industrial measurement and control field requires, and reduces costs.
Description
Technical field
The present invention relates to the acquisition of industrial measurement and control FIELD Data and control devices, more particularly to one kind to be based on usb bus standard
Synchronous serial signal acquisition and control device.
Background technique
Data acquisition is very important link in Digital Signal Processing, in the application of many industrial measurement controls,
It needs 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 rate is fast, line is simple, high to the anti-interference of noise,
Maximum distance is up to 500m.But industrial personal computer does not provide SSI interface generally, current SSI data collecting card mostly use PCI, CPCI,
The interfaces such as PXI, expensive and driver is complex, is generally received in the slot of industrial personal computer.
USB (UniversalSerialBus universal serial bus) is simple with its, speed is fast, plug and play and heat is supported to insert
The advantages of pulling 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 uses, and is that one kind is 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
Have the function of acquisition SSI signal, 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.
Summary of the invention
The present invention proposes a kind of based on usb bus standard industrial personal computer is difficult to directly acquire SSI signal aiming at the problem that
Synchronous serial signal acquisition and control device.
The purpose of the present invention is what is be 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 acquisition device, synchronous serial signal interface unit
With acquisition device host computer;Usb bus standard acquisition device and serial communication interface acquisition device connect with synchronous serial signal
Mouth device connection, to synchronous serial signal interface unit tranmitting data register signal and receives data-signal;Synchronous serial signaling interface
Device is connect by the port SSI with peripheral equipment.Acquisition device host computer and usb bus standard acquisition device are connected by USB line
It connects, is connect with serial communication interface acquisition device by RS232 or RS485 bus, receive the simulation number that acquisition device is sent
It is believed that number.
Further, the usb bus standard acquisition device includes usb bus transmission module and USB interface, described serial
Communication interface acquisition device includes serial ports transmission module, RS232 interface and RS485 interface, usb bus standard acquisition device and string
Row communication interface acquisition device has shared FPGA module;The synchronous serial signal interface unit includes SSI signal acquisition
Module and the port SSI;
FPGA module divides multiple SSI driving chips of multi-wad join SSI signal acquisition module, per all the way including clock all the way
Signal wire and all the way data signal line;Usb bus transmission module is connected with 7 control signal wires and 8 data lines and FPGA module
It connects;RS232 interface in serial ports transmission module is connected with FPGA module with two signal wires, and the number of delivering letters that riches all the way receives all the way
Signal;RS485 interface is connected with FPGA module with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, and there are also control all the way
The direction of signal transmission processed;Usb bus transmission module is powered by acquisition device host computer, other modules are powered by power module.
Further, the FPGA module is with the fpga chip XC6SLX16 of the SPARTAN series of Xilinx company
Core, for the SSI driving chip that SSI signal acquisition module uses for MAX490ESA chip, usb bus transmission module uses FTDI
FT232H interface chip, the RS232 interface in serial ports transmission module uses MAX3232 chip, and RS485 interface uses
MAX3485 chip, power module use the TPS54325PWP chip of TI company.
Further, the SSI interface is 90 degree of DB female interfaces of two 25 needles, and peripheral equipment is absolute encoder
Device;The interface of acquisition device and host computer include all the way USBMINIB type interface communicated for usb bus and host computer, all the way 9
90 degree of DB female interfaces of needle are communicated for RS232 bus and host computer, all the way the 90 of 3 needles degree needle stand for RS485 bus with
Host computer communication.
Further, the acquisition device host computer and the acquisition of usb bus standard acquisition device or serial communication interface
Device communication, the control signal that transmission acquisition needs to acquisition device;The clock signal of acquisition device transmission synchronous serial interface
To synchronous serial signal interface unit, the data-signal that synchronous serial signal interface unit generates is total with USB by acquisition device
Line standard or standard for serial communication are sent to acquisition device host computer.
The beneficial effects of the present invention are: this acquisition control device realizes industrial personal computer to the peripheral equipment with SSI interface
Monitoring and control, realize multichannel SSI signal synchronous acquisition;Other than USB interface, RS232 and RS485 interface is also supported
The serial communication of a variety of common baud rates;In the case where guaranteeing high-precision, high-speed, portability mentions this acquisition control device
Height, connect it is simpler, using USB interface extend whole device can application range, increase communication using serial communication
Distance, more the complicated of adaptation industrial measurement and control field require, and also reduce the cost of entire acquisition control device.
Detailed description of the invention
Fig. 1 is structural principle block diagram of the invention;
Fig. 2 is the circuit diagram of FPGA module of the invention;
Fig. 3 is the circuit diagram of SSI signal acquisition module of the invention;
Fig. 4 is the circuit diagram of usb bus transmission module of the invention;
Fig. 5 is the circuit diagram of the RS232 interface in serial ports transmission module of the invention;
Fig. 6 is the circuit diagram of the RS485 interface in serial ports transmission module of the invention;
Fig. 7 is the circuit diagram of power module of the invention;
Fig. 8 is the circuit diagram of the port SSI of the invention.
Specific embodiment
The present invention will be further described below with reference to the drawings.
A kind of synchronous serial signal acquisition and control device based on usb bus standard provided by the invention, including usb bus
Standard acquisition device, serial communication interface acquisition device, synchronous serial signal interface unit and acquisition device host computer;USB is total
Line standard acquisition device and serial communication interface acquisition device are connect 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 the port SSI with periphery
Standby connection.Acquisition device host computer is connect with usb bus standard acquisition device by USB line, is acquired and is filled with serial communication interface
It sets and is connected by RS232 or RS485 bus, receive the analog data signal that acquisition device is sent.
As shown in Figure 1, the usb bus standard acquisition device includes usb bus transmission module and USB interface, the string
Row communication interface acquisition device includes serial ports transmission module, RS232 interface and RS485 interface, usb bus standard acquisition device and
Serial communication interface acquisition device has shared FPGA module;The synchronous serial signal interface unit includes that SSI signal is adopted
Collect module and the port SSI;
FPGA module divides multiple SSI driving chips of multi-wad join SSI signal acquisition module, per all the way including clock all the way
Signal wire and all the way data signal line;Usb bus transmission module is connected with 7 control signal wires and 8 data lines and FPGA module
It connects;RS232 interface in serial ports transmission module is connected with FPGA module with two signal wires, and the number of delivering letters that riches all the way receives all the way
Signal;RS485 interface is connected with FPGA module with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, and there are also control all the way
The direction of signal transmission processed;Usb bus transmission module is powered by acquisition device host computer, 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 company 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 signal therein is adopted
Eight driving chips totally ten six roots of sensation signal wire SSI0_CLK to SSI7_CLK and SSI0_DATA to SSI7_ that collection module includes
DATA is correspondingly connected with, the USB core in eight other signal wire ADBUS0 to ADBUS7 of FPGA module and usb bus transmission module
Eight data signal lines of piece are correspondingly connected with, seven control signal wires of seven signal wire ACBUS0 to ACBUS6 and USB chip
It is correspondingly connected with.
As shown in figure 3,8 SSI driving chips in SSI signal acquisition module are with the MAX490 chip of MAXIM company
For core, a clock signal SSI_CLK is inputted by FPGA module, by MAX490 export a pair of of differential signal SSI_CLK+,
SSI_CLK-, to control peripheral equipment, such as SSI absolute value encoder;MAX490 chip receives the one of peripheral equipment simultaneously
To differential input signal SSI_DATA+ and SSI_DATA-, serial data SSI_DATA is exported to FPGA module.The port SSI is as schemed
It is 90 degree of DB female interfaces of two 25 needles shown in 8.
As shown in figure 4, the letter that usb bus transmission module is connected as core with FPGA module using the FT232H of FTDI company
Furthermore number line is as described above, be configured to synchronization fifo mode by eeprom chip 93LC56BT.Usb bus transmission module needs
+ 5V voltage default provided by computer, can also be provided by power module.The interface of usb bus transmission module and host computer
For USBMINIB type.
As shown in Figure 5,6, serial ports transmission module includes RS232 interface circuit and RS485 interface circuit.RS232 interface electricity
Road uses the MAX3232 chip of MAXIM company, and full-duplex mode is used in communication process, allows data 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
Interface with host computer communication is 90 degree of DB females of 9 needles.RS485 interface circuit uses the MAX3485 chip of MAXIM company,
Semiduplex mode is used in communication process, a certain time data can only transmit in one direction, so there are three signal wires
It is connected with FPGA module, RS485_RO is received, and RS232_DI is sent, and RS485_DE controls transmission direction.RS485 and host computer are logical
The interface of letter is 90 degree of needle stands of 3 needles.
As shown in fig. 7, power module provides power supply for other modules, voltage required for this acquisition control device have+5V,
+ 3.3V ,+1.2V, a portion+3.3V is the boost voltage of the chip in FPGA module and I/O driving power ,+1.2V are
The inside core voltage of fpga chip ,+5V provides operating voltage for chip needed for SSI signal acquisition module simultaneously, some+
3.3V provides power supply for other interface circuits.Power module input is+12V DC power supply, passes through the TPS54325PWP of TI company
Chip is divided into four tunnels and is converted into required voltage, and Fig. 7 is the circuit for wherein generating+1.2V voltage all the way.
Specific implementation process of the invention is as follows:
Above-mentioned apparatus is built and installed, one of USB interface, RS232 interface, RS485 interface and host computer phase are selected
Even, the port SSI is connected with peripheral equipment.Host computer and usb bus standard acquisition device or serial communication interface acquisition device are logical
Letter issues acquisition device and instructs, after the chip of interface module receives instruction, is converted to the charge that FPGA module can be read
System enables, and FPGA module is according to corresponding instruction, to the status information of host computer feedback collection device, to complete to initialize.
When needing to acquire SSI signal, corresponding instruction is issued by host computer, by usb bus standard or serial communication
Standard transmission does corresponding control, including read write command and bit wide to SSI signal acquisition module to FPGA module, FPGA module
Data etc. are set, while real-time collected SSI signal data is sent to FPGA module by SSI signal acquisition module, by USB
Bus standard or standard for serial communication are transferred to host computer, are finally completed the acquisition of signal.
Claims (4)
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 acquisition device, synchronous serial signal interface unit and acquisition device host computer;Usb bus standard
Acquisition device and serial communication interface acquisition device are connect with synchronous serial signal interface unit, to synchronous serial signaling interface
Device tranmitting data register signal simultaneously receives data-signal;Synchronous serial signal interface unit is connect by the port SSI with peripheral equipment;
Acquisition device host computer is connect with usb bus standard acquisition device by USB line, is passed through with serial communication interface acquisition device
The connection of RS232 or RS485 bus receives the analog data signal that acquisition device is sent;
The usb bus standard acquisition device includes usb bus transmission module and USB interface, the serial communication interface acquisition
Device includes serial ports transmission module, RS232 interface and RS485 interface, 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 module and the end SSI
Mouthful;
FPGA module divides multiple SSI driving chips of multi-wad join SSI signal acquisition module, per all the way including clock signal all the way
Line and all the way data signal line;Usb bus transmission module is connected with 7 control signal wires and 8 data lines with FPGA module;String
RS232 interface in port transmission module is connected with FPGA module with two signal wires, and the number of delivering letters that riches all the way receives signal all the way;
RS485 interface is connected with FPGA module with three signal wires, and the number of delivering letters that riches all the way receives signal all the way, and there are also control letters all the way
Number transmission direction;Usb bus transmission module is powered by acquisition device host computer, other modules are powered by power module.
2. a kind of synchronous serial signal acquisition and control device based on usb bus according to claim 1, feature exist
In: the FPGA module using the fpga chip XC6SLX16 of the SPARTAN series of Xilinx company as core, adopt by SSI signal
Integrate the SSI driving chip that module uses as MAX490ESA chip, usb bus transmission module uses the FT232H interface core of FTDI
Piece, the RS232 interface in serial ports transmission module use MAX3232 chip, and RS485 interface uses MAX3485 chip, power module
Using the TPS54325PWP chip of TI company.
3. a kind of synchronous serial signal acquisition and control device based on usb bus according to claim 1, feature exist
In: the SSI interface is 90 degree of DB female interfaces of two 25 needles, and peripheral equipment is absolute value encoder;On acquisition device
The interface of position machine includes that USBMINIB type interface is for usb bus and host computer communication all the way, and the 90 of 9 needles degree DB female connects all the way
Mouth is communicated for RS232 bus and host computer, and the 90 of 3 needles degree needle stand is communicated for RS485 bus and host computer all the way.
4. described in any item a kind of synchronous serial signal acquisition and control devices based on usb bus according to claim 1~3,
It is characterized in that, using the synchronous serial signal acquisition and control device:
Step 1, acquisition device host computer and the communication of usb bus standard acquisition device or serial communication interface acquisition device, send
The control signal needed is acquired to usb bus standard acquisition device or serial communication interface acquisition device;
Step 2, usb bus standard acquisition device and serial communication interface acquisition device send the clock signal of synchronous serial interface
To synchronous serial signal interface unit, the data-signal that synchronous serial signal interface unit generates is total with USB by acquisition device
Line standard or standard for serial communication are sent to acquisition device host computer.
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 CN107145462A (en) | 2017-09-08 |
CN107145462B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109347954B (en) * | 2018-10-18 | 2021-08-06 | 中国人民解放军战略支援部队航天工程大学 | Rocket multi-type signal acquisition and processing device based on multiple buses |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2718856Y (en) * | 2004-05-12 | 2005-08-17 | 中国科学院长春光学精密机械与物理研究所 | Data transmission interface converter |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008263508A (en) * | 2007-04-13 | 2008-10-30 | Nec Electronics Corp | Clock and data recovery circuit |
-
2017
- 2017-04-26 CN CN201710283077.8A patent/CN107145462B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2718856Y (en) * | 2004-05-12 | 2005-08-17 | 中国科学院长春光学精密机械与物理研究所 | Data transmission interface converter |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN107145462A (en) | 2017-09-08 |
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 | |
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 | |
CN103018542B (en) | A kind of corona current capture card based on usb bus | |
CN201892942U (en) | Universal serial port adapter | |
CN202205052U (en) | 12-channel analog data acquisition and control panel | |
CN202886397U (en) | Mining portable wind speed measuring device | |
CN105530032A (en) | Universal serial bus (USB) based power communication conversion system | |
CN201673401U (en) | Control equipment and control device based on bus | |
CN102642209B (en) | Seven-degree of freedom force feedback hand controller measurement and control system | |
CN104965468B (en) | A kind of common interface module suitable for the multi-functional acquisition control devices of CPCI | |
CN208922245U (en) | A kind of low power consumption data record and high-speed data transmission apparatus | |
CN103218334A (en) | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus | |
CN206224463U (en) | A kind of EEG signals data transmission system based on FPGA controls | |
CN204740457U (en) | Serial signal collection system | |
CN113485183A (en) | Serial signal acquisition output control device based on PCI bus protocol | |
CN203734667U (en) | Bluetooth bridge for realizing long-distance data communication | |
CN208012754U (en) | A kind of data collecting card suitable for optical fiber vibration sensing | |
CN203149558U (en) | Multi-serial-port data acquisition card | |
CN207560014U (en) | A kind of signal processing system suitable for well logging scene | |
CN201813396U (en) | CANopen-CAN (controller area network) gateway | |
CN208013734U (en) | A kind of Heidenhain absolute type encoder acquisition system | |
CN203054072U (en) | Corona current acquisition card based on USB bus | |
CN206684731U (en) | The bidirectional data transmission system of FPGA based on USB3.0 |
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 |