CN101615013A - Data collector and data processing method thereof - Google Patents
Data collector and data processing method thereof Download PDFInfo
- Publication number
- CN101615013A CN101615013A CN200910151343A CN200910151343A CN101615013A CN 101615013 A CN101615013 A CN 101615013A CN 200910151343 A CN200910151343 A CN 200910151343A CN 200910151343 A CN200910151343 A CN 200910151343A CN 101615013 A CN101615013 A CN 101615013A
- Authority
- CN
- China
- Prior art keywords
- data
- signal
- bus
- card
- collecting card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Recording Measured Values (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention provides a kind of data collector and data processing method thereof, be mainly used in the data acquisition in the industrial control field.This device comprises that the output terminal of external sensor assembly is connected, to signal several data collecting cards based on bus of handling and exporting of input; Link to each other by the output terminal of bus with described data collecting card based on bus, the dress program is handled input signal in utilizing, the Control Component that is made of ROM, RAM, central processing unit, I/O mouth; Be connected with described I/O mouth, can be by the keyboard of several input key system operational factors.The present invention also provides the data processing method of using this data collector.The present invention has the function of data acquisition and processing (DAP), the height integrated intelligentization, and acquisition speed is fast, the precision height, antijamming capability is strong, is convenient to change characteristics such as maintenance.
Description
Technical field
The present invention relates to a kind of data collector and data processing method thereof, relate in particular to a kind of high real-time, high-precision data acquisition device, be mainly used in the data acquisition in the industrial control field.
Background technology
To the automation mechanized operation of electromechanical equipment, all be unable to do without the perfect data acquisition system (DAS) of a cover in the industrial control field.Data acquisition system (DAS) generally possesses gathers dynamo-electric device parameter, state and to its monitoring, the function of reporting to the police.At present, data acquisition system (DAS) uses Programmable Logic Controller (PLC) as data acquisition equipment more, but the acquisition rate of Programmable Logic Controller (PLC) is not high and precision is also limited.
Summary of the invention
One object of the present invention is, for overcoming the deficiency that prior art exists, a kind of data collector is provided, and this data collector can satisfy the high real-time of Industry Control, high-precision requirement, also possesses functions such as real-time demonstration, inquiry, printing, generation chart.
Another object of the present invention is, a kind of method of using data collector of the present invention that the data that collect are handled is provided, and this method can be saved the overhead time of central processing unit greatly, thereby improves the work efficiency of central processing unit.
Technical scheme of the present invention is:
A kind of data collector comprises with the output terminal of external sensor assembly being connected, to signal several data collecting cards based on bus of handling and exporting of input; Link to each other by the output terminal of bus with described data collecting card based on bus, the dress program is handled input signal in utilizing, the Control Component that is made of ROM, RAM, central processing unit, I/O mouth; Be connected with described I/O mouth, can be by the keyboard of several input key system operational factors.
The further technical scheme that has additional technical feature on the technique scheme basis is:
Described data collector also comprises the display module that is connected with Control Component by the I/O mouth, or/and the Ethernet data switching equipment that is connected with Control Component by the Ethernet interface in the I/O mouth, or/and the printing device that is connected with Control Component by the Ethernet data switching equipment.
Described data collecting card based on bus is PXI data collecting card or pci data capture card or usb data capture card.
Described PXI data collecting card is the DP Communication Card, and described data collector also comprises moment of torsion/rotating speed Acquisition Instrument, and moment of torsion/rotating speed Acquisition Instrument becomes the analog signal conversion of moment of torsion/speed probe input digital signal and outputs to the DP Communication Card.
Described PXI data collecting card, be used to receive, the data collecting card of the simulating signal of processes sensor input; Or be used to receive, the data collecting card of the digital signal of processes sensor input; Or be used to receive, the data collecting card of the voltage analog signal of temperature sensor input; Or be used for the per second high level signal of frequency sensor input is carried out the counted data capture card.
A kind of data processing method of utilizing above-mentioned data collector, this data processing method may further comprise the steps:
1) setup parameter, parameter comprises acquisition rate;
2) according to the acquisition rate of setting, read in data;
3) data of reading in are handled and exported.
The further technical scheme that has additional technical feature on the technique scheme basis is:
Described data processing method is characterized in that acquisition rate is 50~1000Hz.
Described data processing method is characterized in that described parameter also comprises acquisition time.
Described data processing method is characterized in that described step of reading in data comprises:
A. set up data queue and set predetermined value;
B. read in data and data counts to reading in;
The data number of C. reading in and predetermined value relatively if equate then with packing data and move into data queue, otherwise are returned step B;
D. judge whether to stop reading in data,, otherwise forward step B to if then finish;
With above-mentioned steps B, what C was parallel also comprises the steps:
E. in the judgment data formation whether packet is arranged, if having then forward step F to, otherwise repeating step E;
F. deposit packet in database.
Described data processing method is characterized in that the described step that data are handled and exported comprises:
G. judge whether data are handled,, otherwise forward step I to if then forward step H to;
H. data are handled and exported;
I. finish.
The present invention has following characteristics:
1, this systemic-function height is integrated, promptly integrates multiple functions such as data acquisition, demonstration directly perceived in real time, monitoring, warning, record, storage, generation chart.
2, can gather in real time signals such as the moment of torsion/rotating speed of mechanical, electrical commingled system, frequency, temperature, switching value, voltage, electric currents.
3, the data processor of interior dress can be counted the data that collect, and count down to certain value and reinforms the disposable taking-up of central processing unit and handle, and is suitable for the storage and the processing of mass data.And set up data queue, there is the thread of two parallel runnings to be respectively applied for to read the data of being gathered and deposits data queue in and the data in the data queue are moved into database, handle like this and saved the time of waiting pending data, thereby shortened the program loop required time, be fit to the occasion higher memory rate.
Purpose of the present invention, feature and advantage will be elaborated in conjunction with the accompanying drawings by following embodiment.
Description of drawings
Fig. 1 is the circuit theory diagrams of a kind of data collector of the present invention
Fig. 2 is the composition synoptic diagram of the specific embodiment of a kind of data collector of the present invention
Fig. 3 is an arrangenent diagram embodiment illustrated in fig. 2
Fig. 4 is data collecting card and a controller arrangenent diagram in the cabinet embodiment illustrated in fig. 2
Fig. 5 is to use a kind of data collector of the present invention to carry out the program flow diagram of collecting method
Among the figure: 1-power supply interface, 2-cabinet, 3-display device, the 4-printer, 5-keyboard, 6-mouse, 7-current/voltage-converted module, 8-switch, 9-moment of torsion/tachometer of measuring, the 11-mainboard, 12-frequency signal analog input card, 13-temperature signal collection integrated circuit board, 14-switching value signals collecting integrated circuit board, 15-voltage signal acquisition integrated circuit board, 16-DP communication card, 17-Control Component.
Embodiment
Main points of the present invention are: introduce the data collecting card based on bus, improve the acquisition rate of data; By the service data handling procedure, improve the work efficiency of central processing unit, thereby improve the acquisition rate of data.
As shown in Figure 1, data collector of the present invention comprises the Control Component that is made of ROM, RAM, central processing unit, I/O mouth; Data collecting card based on bus; The keyboard that links to each other with the I/O mouth.Connected mode between the above assembly is: the data collecting card based on bus is connected with central processing unit by bus, and particularly: if choose the pci data capture card, then central processing unit links to each other with data collecting card by pci bus; If choose the usb data capture card, then central processing unit links to each other with data collecting card by usb bus; If choose the PXI data collecting card, then central processing unit is by PXI bus and data collecting card.
Shown in Fig. 2-4, an embodiment for data collector of the present invention comprises: power supply interface 1, cabinet 2, display device 3, printer 4, keyboard 5, mouse 6, current/voltage signal conversion module 7, switch 8 and moment of torsion/tach signal Acquisition Instrument 9.Cabinet 2 comprises mainboard 11, frequency signal analog input card 12, temperature signal collection integrated circuit board 13, switching value signals collecting integrated circuit board 14, voltage signal acquisition integrated circuit board 15, DP Communication Card 16 and Control Component 17.Described power supply interface 1 connects electric main, is the total system power supply; Place mainboard 11 in the cabinet 2, mainboard adopts the back board structure of PXI, and mainboard is provided with a plurality of slots that are used for expansion board clamping; Frequency signal analog input card 12, temperature signal collection integrated circuit board 13, switching value signals collecting integrated circuit board 14, voltage signal acquisition integrated circuit board 15, DP Communication Card 16 are all selected the PXI data collecting card for use, and are installed in respectively in the slot of mainboard 11; Moment of torsion/tach signal Acquisition Instrument 9 is connected on the interface of DP Communication Card 16 by the DP cable; Control Component 17 comprises at least one central processing unit, ROM, RAM, 2 USB interface of several I/O mouths, 1 VGA or DVI interface, and 1 Ethernet interface, Control Component 17 are installed in the slot of mainboard 11; Keyboard 5, mouse 6 link to each other with Control Component 17 by USB interface respectively; Switch 8 links to each other with Control Component by Ethernet interface, and switch 8 is Ethernet data switching equipment of a kind of standard, has a plurality of Ethernet interfaces, realizes the device data exchange that different Ethernet interfaces connect; Printer 4 links to each other with Control Component 17 by switch 8.
The principle of work of data collecting card among this embodiment:
As shown in Figure 2, moment of torsion/the speed probe of outside mechanical, electrical commingled system is input to moment of torsion/tach signal Acquisition Instrument 9 with the simulating signal that collects by cable, moment of torsion/tach signal Acquisition Instrument 9 becomes digital signal with this analog signal conversion and outputs on the DP Communication Card 16 by the DP cable, and Control Component 17 reads in this digital signal and handle; The frequency signal of outside mechanical, electrical commingled system is input to frequency signal analog input card 12, temperature signal by cable and is input to by cable that temperature signal collection integrated circuit board 13, switching value signal are input to switching value signals collecting integrated circuit board 14, voltage signal is input to voltage signal acquisition integrated circuit board 15, thereby Control Component 17 reads in the signal such as frequency, temperature, switching value, voltage that signal that these PXI data collecting cards receive collects outside mechanical, electrical commingled system by core bus, and these signals are handled; The current signal of outside mechanical, electrical mixing is input to current/voltage signal conversion module 7 by cable, current/voltage signal conversion module 7 converts the current signal that receives voltage signal to and is input to voltage signal acquisition integrated circuit board 15, thereby Control Component 17 collects the current signal of outside mechanical, electrical commingled system and handles.
Above-mentioned PXI data collector, acquisition rate reaches as high as 10MS/s.And selecting for use under the occasion of PLC, being subjected to the influence of the cycle period of PLC program, the acquisition rate of the PLC that general cycle period is 10ms only is 100S/s.
The programs of dress are handled moment of torsion/rotating speed, frequency, temperature, switching value, voltage, the current signal of the outside mechanical, electrical commingled system that obtains in the Control Component 17, and on display device 3, intuitively show, can also realize monitoring, warning, Data Post, generate functions such as chart automatically.
According to Fig. 5, the specific embodiment of collecting method of the present invention as described above is described, it may further comprise the steps:
In 501 steps, setup parameter also deposits configuration file in, and parameter comprises acquisition time, acquisition rate; Generally, set acquisition time and be used for unattended occasion, system automatically according to default acquisition time, does not need user intervention and stops to gather after startup when the time reaches preset value; The scope of acquisition rate is 50~1000Hz.
In 502 steps, judge whether the user keys in " beginning " instruction.
If for being, then handling and forwarding step 503 to; If, then turn back to step 502 for not.
In 503 steps, read parameter from configuration file.
In 504 steps, set up data queue and set the predetermined value of counter.Wherein data queue is a newly-established zone in RAM, deposits the automatic allocation space of size of data in by system's basis; The predetermined value of counter is relevant with acquisition rate, be traditionally arranged to be 2~5 times of acquisition rate, can be set to 2 times and make the CPU treatment effeciency higher and can be owing to having increased the situation that obliterated data appears in the CPU expense.
In 505 steps, deposit the data of PXI data collecting card in RAM, and the number of paid-in data is counted.
In 506 steps, judge whether the numerical value of reader equals predetermined value.If the judgment is Yes, then handle and forward step 507 to, otherwise forward step 505 to.
In 507 steps, with the packing data of having gathered among the RAM and deposit data queue in.
In 510 steps, judge whether to key in " stopping gathering " order or system operation time and reach the acquisition time that the user sets.
If for being, then handling and forwarding step 511 to, otherwise forward step 505 to.
In step 511, need to judge whether data processing.
If for being, then handling and forwarding step 512 to, otherwise forward step 513 to.
In 512 steps, read the data in the SQL SERVER database and carry out aftertreatment.Aftertreatment mainly comprises work such as carrying out data analysis, print plot.
In 513 steps, finish.
Step 505-507 mainly finishes the reading in and packing of data, in addition to the transfer of packet also with step 505-507 parallel processing, its step is as follows:
In 508 steps, whether packet is arranged in the judgment data formation.If the judgment is Yes, then handle and forward step 509 to, otherwise turn back to step 508.
In step 509, deposit the packet in the data queue in SQL SERVER database.
Function height of the present invention is integrated, promptly integrates multiple functions such as data acquisition, demonstration directly perceived in real time, monitoring, warning, record, storage, generation chart.Be specially: utilize modern surveying technology, digital control technology and microprocessor technology, computer control and communication network technique, realized that data acquiring and recording handles integratedly, specifically finished: to functions such as the acquisition function of signals such as the moment of torsion/rotating speed of mechanical, electrical commingled system, frequency, temperature, switching value, voltage, electric current and further monitoring, warning, control, processing.
Claims (10)
1, a kind of data collector is characterized in that, comprises with the output terminal of external sensor assembly being connected, to signal several data collecting cards based on bus of handling and exporting of input; Link to each other by the output terminal of bus with described data collecting card based on bus, the dress program is handled input signal in utilizing, the Control Component that is made of ROM, RAM, central processing unit, I/O mouth; Be connected with described I/O mouth, can be by the keyboard of several input key system operational factors.
2, according to the device of claim 1, it is characterized in that, described data collector also comprises the display module that is connected with Control Component by the I/O mouth, or/and the Ethernet data switching equipment that is connected with Control Component by the Ethernet interface in the I/O mouth, or/and the printing device that is connected with Control Component by the Ethernet data switching equipment.
According to the device of claim 1, it is characterized in that 3, described data collecting card based on bus is PXI data collecting card or pci data capture card or usb data capture card.
4, according to the device of claim 3, it is characterized in that, described PXI data collecting card is the DP Communication Card, described data collector also comprises moment of torsion/rotating speed Acquisition Instrument, and moment of torsion/rotating speed Acquisition Instrument becomes the analog signal conversion of moment of torsion/speed probe input digital signal and outputs to the DP Communication Card.
5, according to the device of claim 3, it is characterized in that, described PXI data collecting card be used to receive, the data collecting card of the simulating signal of processes sensor input; Or be used to receive, the data collecting card of the digital signal of processes sensor input; Or be used to receive, the data collecting card of the voltage analog signal of temperature sensor input; Or be used for the per second high level signal of frequency sensor input is carried out the counted data capture card.
6, a kind of data processing method of utilizing above-mentioned data collector is characterized in that, may further comprise the steps:
Setup parameter, parameter comprises acquisition rate;
According to the acquisition rate of setting, read in data;
The data of reading in are handled and exported.
According to the method for claim 6, it is characterized in that 7, acquisition rate is 50~1000Hz.
According to the method for claim 6, it is characterized in that 8, described parameter also comprises acquisition time.
According to the method for claim 6, it is characterized in that 9, described step of reading in data comprises:
A. set up data queue and set predetermined value;
B. read in data and data counts to reading in;
The data number of C. reading in and predetermined value relatively if equate then with packing data and move into data queue, otherwise are returned step B;
D. judge whether to stop reading in data,, otherwise forward step B to if then finish;
With above-mentioned steps B, what C was parallel also comprises the steps:
E. in the judgment data formation whether packet is arranged, if having then forward step F to, otherwise repeating step E;
F. deposit packet in database.
According to the method for claim 6, it is characterized in that 10, the described step that data are handled and exported comprises:
G. judge whether data are handled,, otherwise forward step I to if then forward step H to;
H. data are handled and exported;
I. finish.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910151343A CN101615013A (en) | 2009-04-14 | 2009-06-26 | Data collector and data processing method thereof |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910061598 | 2009-04-14 | ||
CN200910061598.4 | 2009-04-14 | ||
CN200910151343A CN101615013A (en) | 2009-04-14 | 2009-06-26 | Data collector and data processing method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101615013A true CN101615013A (en) | 2009-12-30 |
Family
ID=41494693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910151343A Pending CN101615013A (en) | 2009-04-14 | 2009-06-26 | Data collector and data processing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101615013A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102782596A (en) * | 2010-03-04 | 2012-11-14 | 三菱电机株式会社 | Control system provided with programmable display, programmable display, and drawing data creation means thereof |
CN103678080A (en) * | 2013-12-16 | 2014-03-26 | 中国电子科技集团公司第四十一研究所 | Backboard device and control method based on PXI architecture |
CN104280054A (en) * | 2014-11-06 | 2015-01-14 | 株洲南车时代电气股份有限公司 | Data recording device |
CN104539376A (en) * | 2015-01-04 | 2015-04-22 | 北京军懋国兴科技有限公司 | Portable test equipment for flight data recorder system |
CN104898627A (en) * | 2015-05-29 | 2015-09-09 | 江苏海大印染机械有限公司 | PCI bus and FPGA-based printing data acquisition and processing system |
CN106933201A (en) * | 2015-12-31 | 2017-07-07 | 中核陕西铀浓缩有限公司 | The collection of digitlization engine speed and processing unit |
CN109298662A (en) * | 2018-09-30 | 2019-02-01 | 哈工大机器人(山东)智能装备研究院 | The data collection system and its display methods of man-machine interface are realized based on labview |
CN110050237A (en) * | 2017-11-06 | 2019-07-23 | 三菱电机株式会社 | Transacter, method of data capture and program |
-
2009
- 2009-06-26 CN CN200910151343A patent/CN101615013A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102782596A (en) * | 2010-03-04 | 2012-11-14 | 三菱电机株式会社 | Control system provided with programmable display, programmable display, and drawing data creation means thereof |
CN102782596B (en) * | 2010-03-04 | 2015-03-25 | 三菱电机株式会社 | Control system provided with programmable display, programmable display, and drawing data creation means thereof |
CN103678080A (en) * | 2013-12-16 | 2014-03-26 | 中国电子科技集团公司第四十一研究所 | Backboard device and control method based on PXI architecture |
CN104280054A (en) * | 2014-11-06 | 2015-01-14 | 株洲南车时代电气股份有限公司 | Data recording device |
CN104539376A (en) * | 2015-01-04 | 2015-04-22 | 北京军懋国兴科技有限公司 | Portable test equipment for flight data recorder system |
CN104539376B (en) * | 2015-01-04 | 2023-07-04 | 北京军懋国兴科技股份有限公司 | Portable flight parameter system's test equipment |
CN104898627A (en) * | 2015-05-29 | 2015-09-09 | 江苏海大印染机械有限公司 | PCI bus and FPGA-based printing data acquisition and processing system |
CN106933201A (en) * | 2015-12-31 | 2017-07-07 | 中核陕西铀浓缩有限公司 | The collection of digitlization engine speed and processing unit |
CN110050237A (en) * | 2017-11-06 | 2019-07-23 | 三菱电机株式会社 | Transacter, method of data capture and program |
CN109298662A (en) * | 2018-09-30 | 2019-02-01 | 哈工大机器人(山东)智能装备研究院 | The data collection system and its display methods of man-machine interface are realized based on labview |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101615013A (en) | Data collector and data processing method thereof | |
CN100568310C (en) | A kind of electric energy meter meter register method, system and user terminal device | |
CN103760515B (en) | A kind of multi-epitope parameter Lookup protocol and detection method | |
CN103744045A (en) | Digital type universal meter automatic calibration system | |
CN202710975U (en) | Data acquisition device | |
CN106199429A (en) | Motor on-Line Monitor Device and monitoring method thereof | |
CN103616560A (en) | Automatic power consumption parameter testing device and method applied to avionics device | |
CN202886567U (en) | Special motor test device based on networked virtual instrument | |
CN110908321A (en) | Data acquisition device for steam turbine set sensor | |
CN108804298B (en) | Device for testing response time of SCADA system | |
CN210719207U (en) | Test system of inertial navigation equipment | |
CN201508207U (en) | Data acquisition terminal for thermal power plant energy-conserving scheduling system | |
CN105242603A (en) | Power collection terminal with USB OTG interface and debugging upgrade method thereof | |
CN209070013U (en) | A kind of distribution network working voltage monitor | |
CN202855054U (en) | 3G (3rd generation telecommunication) wireless vibration data collection and transmission device | |
CN206610099U (en) | The configurable time synchronization test system in scene | |
CN109144828A (en) | A kind of server monitoring device and monitoring method | |
CN215678555U (en) | Frequency monitoring device | |
CN210804079U (en) | Data acquisition device for steam turbine set sensor | |
CN210690206U (en) | Molding sand strength test unit for casting and device thereof | |
CN113761303A (en) | State monitoring method and device of frequency converter and computer readable storage medium | |
CN203616669U (en) | Corncob drying automatic control system | |
CN203950006U (en) | A kind of aircraft wire fault automatic detector based on microprocessor | |
CN208421108U (en) | A kind of electric energy quality on-line monitoring device | |
CN202067123U (en) | Embedded monitoring intelligent terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20091230 |