CN1235171C - Intelligent high-speed real time data sampling device - Google Patents

Intelligent high-speed real time data sampling device Download PDF

Info

Publication number
CN1235171C
CN1235171C CN 03133458 CN03133458A CN1235171C CN 1235171 C CN1235171 C CN 1235171C CN 03133458 CN03133458 CN 03133458 CN 03133458 A CN03133458 A CN 03133458A CN 1235171 C CN1235171 C CN 1235171C
Authority
CN
China
Prior art keywords
sampling
embedded computer
signal
converter
multichannel
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 03133458
Other languages
Chinese (zh)
Other versions
CN1460960A (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.)
Shandong Xindatong Petroleum Environmental Protection Science and Technology Co
Northeastern University China
Original Assignee
Shandong Xindatong Petroleum Environmental Protection Science and Technology Co
Northeastern University China
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 Shandong Xindatong Petroleum Environmental Protection Science and Technology Co, Northeastern University China filed Critical Shandong Xindatong Petroleum Environmental Protection Science and Technology Co
Priority to CN 03133458 priority Critical patent/CN1235171C/en
Publication of CN1460960A publication Critical patent/CN1460960A/en
Application granted granted Critical
Publication of CN1235171C publication Critical patent/CN1235171C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to an intelligent high-speed real-time data sampling device. An embedded microcomputer is used for controlling the working state of the device and is connected with an A/D converter and a counting plate by a bus extension interface, and a plurality of paths of discrete input signals and a plurality of paths of continuous input signals are respectively connected with the counting plate and the A/D converter by an optoelectronic isolator and a filter circuit board; the embedded microcomputer is connected with a GPS receiving system by a serial interface and remotely communicates with a subsequent device, such as a network card, an upward transmission machine, etc., and the embedded microcomputer is connected with a soft disk driver, an electronic hard disk, a keyboard, a printer, a display and a watchdog circuit. A PC104 standard industrial control bus is used on the embedded microcomputer of the sampling device, and the sampling device is an optimized embedded computer control system with a small stack structure. With the advantages of low power consumption, good shock resistance, good extension, multi-way sampling, synchronous sampling data, network transmission and high sampling precision, the sampling device is suitable for the construction of a new sampling system and can be used cooperatively with the existing loading amount on site.

Description

The high-speed real-time sampling apparatus
Technical field
The present invention relates to a kind of data sampling device, be specifically related to a kind of pipeline of various liquid, gas and the fluid media (medium) of production run, the monitoring of container, data sampling device of environmental monitoring of being used for.
Background technology
Because the diversity of rig-site utilization condition, causing the requirement to signal sampling device also is diversity.Take a broad view of the data signal samples device in the known art, the general function singleness that exists, intelligent level is low, the problem of poor reliability.Chinese patent, application number is 98248745.2, the applying date is 1998.11.27, name is called in " a kind of general data collector " has showed a kind of novel data collector, adopts VLSI (very large scale integrated circuit) designs, high and low power consumption design, reliability design and design for Universal Interface, it is stronger to have universal performance, and intelligent level is improved, and installs characteristics such as reliable.But therefrom still can find to exist such problem:
1) the data sampling frequency is not high, and extensibility is not strong.Owing to adopt single-chip microcomputer as CPU (central processing unit), and be integrated in the chip with A/D converter, like this, be subject to processing the restriction of device crystal oscillator frequency and A/D converter passage and switching rate, not only the situation to the high-speed real-time sampling is difficult to meet the demands, and has limited the port number and the extensibility thereof of sampled data.
2) synchronism in sampling time is difficult to guarantee, and when realizing telecommunication, and whether the data of the data sampling device transmission of zones of different are difficult to guarantee in the problem of synchronization sampling.Like this, make site of deployment also must be equipped with the data sampling device and the optional equipment of various difference in functionalitys, not only invest hugely, difficult in maintenance that and versatility is poor, cost performance is low.
3) communication capacity is not strong.Because single-chip microcomputer adopts serial line interface to realize data remote by the communication launch installation, thereby is difficult to guarantee the transmission of high-speed real-time, more is difficult to realize network service.
Summary of the invention
The objective of the invention is to overcome above-mentioned problems of the prior art, design a kind ofly have at a high speed, in real time, sampling data time is synchronous, general, can expansion, Network Transmission, the multi-channel sampling that comprises continuous signal and discrete signal, convenient operating maintenance, data sampling device that sampling precision is high.Be not only applicable to the establishment of new sampling system, but also be applicable to the supporting use of on-the-spot existing apparatus.
Technical solution of the present invention is: comprise by embedded computer 1, bus expansion mouth 2, A/D converter 3, tally 5, floppy disk 9, electronic hard disc 10, serial ports 11, network interface card 12, keyboard 13, printer 14, display 15, watchdog circuit 16 constituting.The duty of the whole sampling apparatus of embedded computer 1 control, it is connected with tally 5 with A/D converter 3 by bus expansion mouthfuls 2, discrete input signal interface 6 of multichannel and the continuous input signal interface 7 of multichannel are connected with A/D converter 3 with tally 5 respectively by photoisolator 41 and filter circuit plate 42; Embedded computer 1 is connected with GPS receiving system 8 by serial line interface 11, realize telecommunication by follow up device such as network interface card 12 and host computers, be connected with floppy disk 9, electronic hard disc 10, keyboard 13, printer 14 and display 15, watchdog circuit respectively by internal bus.
Embedded computer 1 is the industrial-controlled general line system of a kind of optimization, small-sized nesting structural embedded control, cooperates by floppy disk 9 and floppy disk and realizes operating system installation, the operation of program, the modification of software etc.; Link to each other with electronic hard disc 10 by internal bus, realize the sampled data storage; Link to each other with GPS receiving system 8 by the serial ports 11 that carries, realize the time synchronized of zones of different sampled data; Link to each other the telecommunication of aftertreatment device such as realization and host computer with Ethernet by network interface card 12; By the watchdog circuit 16 that carries, realize that sampling apparatus software occurs and runs when flying from horizontal reset.
Bus expansion mouthfuls 2 not only realizes the translation function of the pin of the pin of embedded computer 1 and A/D converter 3 sum counters 5, and the digital signal that A/D converter 3 sum counters 5 are sent here is linked to each other with the internal bus of embedded computer 1; Photoisolator 41 and filter circuit plate 42 have multi-channel analog filtering channel and multichannel photoelectricity channel isolation, the multichannel discrete signal is sent into photoisolator 41 through interface 6 and is carried out shaping, the continuous input signal of multichannel is sent into through interface 7 and is carried out the filtering noise reduction in the filter circuit plate 42, sends into tally 5 respectively again and A/D converter 3 is converted to digital signal.
Above-mentioned floppy disk 9 and floppy disk cooperate mainly to be finished and embedded computer connected interface and logic control, data read supervisor; Its execution in step is: the configuration file of opening embedded computer 1, read configuration, and data allocations storehouse internal memory to being sampled, to procotol initialization and configuration, start watchdog circuit 16, read the information of GPS receiving system 8 from serial ports 11 and come the corrective system time, interrupt vector is set, circular wait is interrupted, and the information that regularly reads GPS receiving system 8 is come the corrective system time.For the sampling of the continuous input signal of multichannel and the sampling of the discrete input signal of multichannel, interrupt realizing sampling interval by the timing that is provided with, the watchdog circuit 16 that embedded computer 1 inside is carried is provided with suitable count value, to guarantee the normal operation of embedded computer 1, according to corresponding procotol and corresponding setting, the network interface card mouth that carries by embedded computer sends out the data of sampling.
Compared with the prior art significant effect of the present invention and advantage are:
1, since among the present invention embedded computer 1 adopt PC/104 standard industry control bus, thereby constitute computer control system a kind of optimization, Embedded and small-sized stack architecture.Characteristics are: 1) PC/104 bus product software and PC/XT and PC/AT are compatible fully; 2) small scale structures, the mechanical dimension of standard module is: 3.6 * 3.8 inch (96 * 90mm); 3) stacking-type, " pin " " hole " bus connect, and promptly the connection of bus is that the hole of pin by the upper strata and lower floor is stung mutually and linked to each other between the PC/104 bus module, and fabulous shock resistance is arranged; 4) 6mA bus driver can make the module operate as normal, and low-power consumption reduces number of elements; Oneself's stacking-type connects, and need not use plate; 5) have network function, carry gateway, can support the all-network operation, communication is simple, supports that TCP/UDP programming and exploitation are simple;
2, because the photoisolator 41 and the filter circuit plate 42 of design have multi-channel analog filtering channel and multichannel photoelectricity channel isolation, therefore can directly receive on-the-spot next various discrete and continuous impulse signal, and be not subjected to on-the-spot the biography " restriction of sensor model has very strong versatility; Discrete data isolates discrete signal and embedded computer owing to adopt photoelectric isolation technology fully, has higher input impedance and conjugated analoging systeming ratio; Continuous signal is taked the multiple tracks capacitance-resistance filter, remove the high frequency interference composition; Sampling rate can be provided with by corresponding software programming, and greatly convenient follow-up different development systems are to the requirement of sampling rate.The maximum sampling rate of its continuous signal can reach more than 600 times/second.
3, adopt gps system, the data that the different mining sampling device transmits in the time of can guaranteeing multi-point are synchronizations; No matter any time, can receive signal at least simultaneously by the GPS receiver in any place from 4 satellites;
4, the data of this sampling apparatus can communicate through Ethernet and host computer etc. by network interface card easily;
5, because embedded computer is to link to each other with A/D converter, tally device by bus interface card, can have economy, flexible, characteristics such as can expand;
6, device can be realized automatic sampled data, effectively improves the level of scientific management, reduces hand labor intensity, has good social benefit;
7, have expandability well, by the expansion template corresponding, not only extendible input channel number, and can make the device upgrading, keep high cost performance.
Description of drawings
Fig. 1 is the hardware block diagram of high-speed real-time sampling device of the present invention;
Fig. 2 embedded computer software program flow process block scheme;
The circuit theory diagrams of Fig. 3 photoisolator and filter circuit plate.
Embodiment
Below in conjunction with accompanying drawing and concrete embodiment technical scheme of the present invention is described further.
The operational centre embedded computer 1 of sampling apparatus of the present invention among Fig. 1 adopts PC/104 standard industry control bus, 16 versions, i.e. and 104 bus pin (double contact pin of biserial and jack), its useful signal line and control line are fully and the PC/AT compatibility; Have network function, carry gateway, can support the all-network operation, and support the TCP/UDP programming.
Bus expansion mouthfuls 2 is PCI slots of embedded computer 1, embedded computer 1 is connected and the conversion of pin with the bus of A/D converter and tally 5, and 104 pins of PC104 are converted to 96, is used for linking to each other with tally with the A/D converter of 96 pins.A/D converter 3 adopts AC1558, is the A/D converter on 12 on 32 tunnel every roads, converter times 1.0 μ s; It can directly link to each other with embedded computer PC104 by the PC/104 bus, and has isolation features, and analog input and PC are kept apart, and the protection PC is not subjected to the influence and the damage of external interference signal; AC1558 is the A/D plate of a function singleness, only emphasizes A/D sampling function, and its input has programmable amplifier, is particularly suitable for the sample detecting of multichannel analog signals; AC1558 adopts high speed photo coupling, and the speed of isolating sampling plate more usually improves greatly; The AC1558 plate carries isolates the DC/DC transducer, does not need external power supply;
Tally 5 adopts the AC4071 chip, and 9 counting/timers are arranged, and each counting/timer is independent separately, and it can directly link to each other by the PC/104 bus with PC104.
Photoisolator 41 and filter circuit plate 42 adopt 12 roadlock capacitor filter circuit and 6 road photoelectric isolating circuits to be integrated on the circuit board, as Fig. 3, thereby the reliability and the extensibility of system have been improved, discrete data adopts photoelectric isolation technology, discrete signal and embedded computer 1 are isolated fully, have higher input impedance and conjugated analoging systeming ratio; Continuous signal adopts the low pass rc filter circuit, and the filtering radio-frequency component improves signal to noise ratio (S/N ratio).Discrete input signal interface 6 of multichannel and the continuous input signal interface 7 of multichannel, receive detection signal or other input signal that meets industrial standard from the industry spot sensor, this input signal is not limited to the kind of type of sensor and detection signal, so long as the standard electrical signal gets final product.
GPS receiving system 8 is made up of cover satellite antenna and a GPS smart card, be connected with embedded computer by serial ports 11, but periodic calibration sampling apparatus ground sampling clock is guaranteed the synchronism of data sampling when a plurality of sampling apparatuses use simultaneously in the system.No matter any time, can access the signal of 4 satellites of arrival at least simultaneously by the GPS receiver in any place.Just can determine the longitude at this sampling apparatus place, the height of latitude and height above sea level by these signals.These data have been arranged, just can on electronic chart, show definite position.
Floppy disk 9 is 3 cun floppy drives of standard, and the internal bus by embedded computer is connected with PC104, and usefulness such as operating system, programming, modification and debugged program are provided for embedded computer 1, improves the dirigibility and the ease for operation of system.
Electronic hard disc 10 is connected with PC104 by embedded computer 1 internal bus, adopt the FLASH flash memory, be used for storage operating system, program development software (PDS), networking communication protocol and interim store sample data etc., guarantee that sampling apparatus moves automatically, and finish the network communication function and provide the reserve data to transmit.
The serial ports 1 (Com1) that serial ports 11 promptly adopts embedded computer to carry is realized the interconnection with the GPS receiving trap.
The network interface card that network interface card 12 adopts embedded computers 1 to carry by network communication protocol, utilizes Ethernet to realize and the communicating by letter of aftertreatment device such as host computer.
Keyboard 13, printer 14 and display 15 are standard device, directly link to each other with embedded computer by internal bus, for realizing the man-machine conversation service.
The chip that watchdog circuit 16 adopts embedded computer 1 to carry, and external relay trigger circuit realize that sampling apparatus the software race occurs and flies from horizontal reset.
The software flow pattern that Fig. 2 matches for the present invention, its executive routine is: open configuration file, read configuration parameter, be heap memory in the data allocations of being sampled, to the procotol initialization and dispose corresponding communication function, start watchdog circuit 16, read the information correction system clock of GPS receiving system 8 from serial ports 11, the sampling interrupt vector of continuous signal and discrete signal is set, send the timing interrupt vector of signal interruption vector and watchdog circuit, during circular wait, regularly read GPS corrective system clock, sampling interrupts then carrying out signal sampling; Send signal interruption then, send Frame, realize data transmission by procotol and network configuration; Regularly interrupt then triggering watchdog circuit and restart sampling system.
The course of work of the whole device of the present invention is:
On-the-spot next multichannel standard continuous signal such as process interfaces 7 such as temperature, pressure are delivered to multi-channel filter circuit board 42 and are carried out quick filter, remove the high frequency interference composition; Process interfaces 6 such as multichannel discrete signal such as flowmeter pulse signal are delivered to multichannel photoisolator 41 and are carried out filtering, remove and disturb and noise reduction.Filtered continuous signal is sent into A/D converter 3 and is transformed to digital signal, enters in the embedded computer 1 by bus expansion mouth 2 and handles.Filtered discrete signal is sent into tally and is obtained digital signal, enter in the embedded computer 1 by bus expansion mouthfuls 2 and to handle, embedded computer 1 passes through the synchronizing signal that serial ports 11 receives gps systems 8, and realizes network service by the network interface card 12 that carries by Ethernet.

Claims (5)

1, a kind of high-speed real-time sampling apparatus, comprise by embedded computer (1), bus expansion mouthful (2), A/D converter (3), tally (5), floppy disk (9), electronic hard disc (10), serial ports (11), network interface card (12), keyboard (13), printer (14), display (15), watchdog circuit (16) constitutes, the duty that it is characterized in that the whole sampling apparatus of embedded computer (1) control, it is connected with tally (5) with A/D converter (3) by bus expansion mouthful (2), multichannel discrete signal input interface (6) links by photoisolator (41) and tally (5), and the continuous input interface of multichannel (7) is connected with A/D converter (3) by filter circuit plate (42); GPS receiving system (8) is made up of a cover satellite antenna and GPS smart card, be connected with embedded computer (1) by serial ports (11), embedded computer (1) comes the corrective system time from the information that serial ports (11) reads GPS receiving system (8), continuous signal and discrete signal interrupt vector are set, and the timing interrupt vector circular wait that sends signal interruption vector and watchdog circuit is interrupted; Embedded computer (1) is realized telecommunication by network interface card (12) and follow up device, and sampling interrupts then carrying out signal sampling, sends signal interruption then, sends Frame by procotol and network configuration, realizes data transmission; Embedded computer (1) directly is connected with floppy disk (9), electronic hard disc (10), keyboard (13), printer (14), display (15) and watchdog circuit (16) by internal bus, and watchdog circuit (16) realizes that software runs when flying system's reset function voluntarily.
2, high-speed real-time sampling apparatus according to claim 1 is characterized in that embedded computer (1) is by floppy disk (9) and floppy disk combination, realization operating system installation, the program run of whole sampling apparatus, the modify feature of software.
3, according to the described high-speed real-time sampling apparatus of claim 1, it is characterized in that, the multichannel discrete signal is sent into photoisolator (41) through the discrete input interface (6) of multichannel and is carried out shaping, the multichannel continuous signal is sent into filter circuit plate (42) and is carried out filtering and noise reduction through multichannel continuous signal input interface (7), and sends into tally (5) respectively and A/D converter (3) is converted to digital signal.
4, according to claim 1 or 3 described high-speed real-time sampling apparatuses, it is characterized in that described tally (5) adopts the AC4071 chip, 9 counting/timers are arranged, each counting/timer is independent separately.
5, according to claim 1 or 3 described high-speed real-time sampling apparatuses, it is characterized in that described A/D converter adopts AC1558, be 12 on 32 tunnel every roads, switching times 10 μ s.
CN 03133458 2003-06-17 2003-06-17 Intelligent high-speed real time data sampling device Expired - Fee Related CN1235171C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03133458 CN1235171C (en) 2003-06-17 2003-06-17 Intelligent high-speed real time data sampling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03133458 CN1235171C (en) 2003-06-17 2003-06-17 Intelligent high-speed real time data sampling device

Publications (2)

Publication Number Publication Date
CN1460960A CN1460960A (en) 2003-12-10
CN1235171C true CN1235171C (en) 2006-01-04

Family

ID=29591255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03133458 Expired - Fee Related CN1235171C (en) 2003-06-17 2003-06-17 Intelligent high-speed real time data sampling device

Country Status (1)

Country Link
CN (1) CN1235171C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426788C (en) * 2004-10-11 2008-10-15 中兴通讯股份有限公司 Remote transmission method of data in asynchronous serial port
CN101661276B (en) * 2009-09-18 2012-05-09 东北大学 Universal data acquisition unit
CN102928687B (en) * 2012-09-11 2015-03-11 上海航天测控通信研究所 Personal computer (PC) 104 and K virtual machine (KVM) based portable high-integration test equipment and test method
CN105259369A (en) * 2015-10-27 2016-01-20 国家海洋技术中心 Wind speed and direction measurement instrument
CN107966723B (en) * 2017-11-22 2019-10-08 中国人民解放军国防科技大学 Multi-rate multi-channel time synchronization high-speed data recording system
CN112763830A (en) * 2020-12-29 2021-05-07 义煤集团宜阳义络煤业有限责任公司 Online monitoring system and method for underground coal mine equipment
CN114116558A (en) * 2021-10-14 2022-03-01 南京国电南自维美德自动化有限公司 IO equipment and microcomputer protection device

Also Published As

Publication number Publication date
CN1460960A (en) 2003-12-10

Similar Documents

Publication Publication Date Title
CN202870808U (en) FPGA realization device of SPI serial port module
CN101345629B (en) Double on-site bus interface converter
US8938559B2 (en) Isochronous data transfer between memory-mapped domains of a memory-mapped fabric
CN103200249A (en) Method for achieving Internet of things intelligent data gateway system
CN103825883A (en) Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof
CN1235171C (en) Intelligent high-speed real time data sampling device
CN103259686A (en) CAN bus network fault diagnosis method based on disperse error events
CN101673107A (en) Multi-path serial communication converter and distributed control system applied by same
CN101369142A (en) Remote I/O data acquisition system and method based on embedded type platform
CN101179576A (en) Multi-protocol industry Ethernet adapter
CN107831702B (en) A kind of synchronous serial signal acquisition and control device based on gigabit Ethernet
CN104635708A (en) OPC UA (Unified Architecture) data acquisition module based on I-MX287 processor
CN103676866A (en) Embedded networked multivariate input and output system
CN205484843U (en) Seismic prospecting data acquisition detecting system based on labVIEW
CN104196553A (en) Hydraulic support remote control system based on EtherCAT
CN102866979A (en) Synchronous serial interface signal sensor data acquisition device
CN201134815Y (en) Ethernet data collecting and transmitting system
CN102346453A (en) Analog data collection module based on industrial Ethernet
CN202533933U (en) I2C interface configuration circuit of programmable logic gate array and programmable logic gate array
CN1845084A (en) Embedded remote monitoring system based on Ethernet and PSTN communication mode
CN102457543A (en) Wireless hydrology monitoring system based on ZigBee and GPRS (General Packet Radio Service)
CN100426788C (en) Remote transmission method of data in asynchronous serial port
CN1395350A (en) Method for quickly-blanking flutter-identifying dislocation of switch quantity
CN106254194A (en) A kind of GPRS Wireless Data Transmission Terminal acquisition method and acquisition module
CN202177816U (en) Analogue value data acquisition module based on industrial Ethernet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20060104