CN109298662A - The data collection system and its display methods of man-machine interface are realized based on labview - Google Patents

The data collection system and its display methods of man-machine interface are realized based on labview Download PDF

Info

Publication number
CN109298662A
CN109298662A CN201811165224.2A CN201811165224A CN109298662A CN 109298662 A CN109298662 A CN 109298662A CN 201811165224 A CN201811165224 A CN 201811165224A CN 109298662 A CN109298662 A CN 109298662A
Authority
CN
China
Prior art keywords
data
module
function
collecting card
data collecting
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
Application number
CN201811165224.2A
Other languages
Chinese (zh)
Inventor
周加洋
曲云飞
苑志朋
王克岩
胡晓东
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute Of Technology Robotics (shandong) Intelligent Equipment Research Institute
Original Assignee
Harbin Institute Of Technology Robotics (shandong) Intelligent Equipment Research Institute
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 Harbin Institute Of Technology Robotics (shandong) Intelligent Equipment Research Institute filed Critical Harbin Institute Of Technology Robotics (shandong) Intelligent Equipment Research Institute
Priority to CN201811165224.2A priority Critical patent/CN109298662A/en
Publication of CN109298662A publication Critical patent/CN109298662A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Abstract

It is a kind of to realize that the data collection system of man-machine interface and its display methods belong to data collecting field based on labview;Including industrial personal computer, data collecting card, communication module, power module, sensor module and shell;Sensor module includes several sensors, and industrial personal computer connects data collecting card by communication module, and data collecting card is separately connected sensor module and power module, and power module connects sensor module;Data collecting card, communication module, power module and sensor module package are inside the shell;Shell includes front panel, rear panel, Left-Hand Panel and right panel;Front panel is provided with switch button and 8 circuit-switched datas acquisition indicator light;Rear panel is provided with 1 tunnel power input air plug and 8 circuit-switched datas acquisition air plug;Left-Hand Panel and right panel are machined with ventilating heat dissipating hole;The present invention reinforces firm, anticorrosion, is suitable for carrier-borne, vehicle-mounted use, can work normally under adverse circumstances requirement.

Description

The data collection system and its display methods of man-machine interface are realized based on labview
Technical field
The invention belongs to data collecting field more particularly to a kind of data acquisitions that man-machine interface is realized based on labview System and its display methods.
Background technique
Most of data collection systems in the design phase, do not examine sufficiently by environment temperature, reinforcement performance, vehicle-mounted, carrier-borne environment Consider, data collection system is caused to be unable to satisfy adverse circumstances requirement;
Summary of the invention
The present invention overcomes above-mentioned the deficiencies in the prior art, provide a kind of data that man-machine interface is realized based on labview Acquisition system and its display methods, by by data collecting card, communication module, power module and sensor module package in shell It is interior, and it is provided with 1 tunnel power input air plug and 8 circuit-switched datas acquisition air plug on the shell;The Left-Hand Panel and right panel It is machined with ventilating heat dissipating hole, so that the present invention is reinforced firm, anticorrosion, is suitable for carrier-borne, vehicle-mounted use, it can be in adverse circumstances It is required that lower work normally.
Technical solution of the present invention:
A kind of data collection system for realizing man-machine interface based on labview, including industrial personal computer, data collecting card, communication Module, power module, sensor module and shell;The sensor module includes several sensors, and the industrial personal computer passes through logical Believe that module connects data collecting card, the data collecting card is separately connected sensor module and power module, power module connection Sensor module;The data collecting card, communication module, power module and sensor module package are inside the shell;
The data collecting card model ADAM4117,16 AD, 8 road Differential Inputs, for turning voltage and current signal 485 communication interface signals are changed to, communication protocol is ASCII character order, and MODBUS communication protocol, sampling rate is 100 data Point/second;
The power module is that the AC220V of 150W turns direct current 24V, for realizing the power supply of ADAM4117 data collecting card, The power supply of DC/DC can be also provided;
The communication module turns 485 buses for 232 buses, realizes logical between the serial ports of industrial personal computer and data collecting card Letter;
The shell includes front panel, rear panel, Left-Hand Panel and right panel;The front panel is provided with switch button Indicator light is acquired with 8 circuit-switched datas;The rear panel is provided with 1 tunnel power input air plug and 8 circuit-switched datas acquisition air plug;The left side Side panel and right panel are machined with ventilating heat dissipating hole.
A kind of display methods for realizing that the data collection system of man-machine interface is realized based on labview, including it is following Step:
Step a, serial ports is configured with the data mode of cluster, baud rate, data bit, stop position, check bit are used as the number of cluster According to the element of form, the basic configuration of serial ports is completed;
Step b, " VISA writes serial ports function " and " concatenation character string function " based on virtual software framework, write-in is based on The order of ASCII character agreement;The order that can be responded with the command forms input data capture card of character string;Be arranged cyclical function and Timing function parameter, the time interval that setting command is sent, the specific instructions that transmission meets ASCII character agreement receive data acquisition The response of card is replied;
Step c, it using scanning character string function, realizes the display of acquisition data, it is collected to extract " VISA reads function " Data set the character quantity read every time, and the storage of the data read;
Step d, turn fractional format function using character string, realize that the image of acquisition data is shown;
Step e, using I/O documentation function, data is acquired with txt text formatting and are stored in hard disk.
Specifically, the specific command format of the ASCII character agreement, including following:
Step b1, in the form of ASCII character, expression+data collecting card address is expressed in the form of ASCII character character+is returned Vehicle symbol is expressed in the form of ASCII character character;
Step b2, cyclical function uses the conditional function of laiview, is always condition "true" without pressing stop button;
Step b3, timing function uses 100ms timing module, and cooperation cyclical function uses, and completes the transmission of acquisition;
Step b4, function-" VISA reads function " is read using serial ports, reads collected data every time.
Specifically, the industrial personal computer interface setting starts to acquire button and stops acquisition button, convenient, flexible control hardware Work.
Specifically, the display of industrial personal computer interface collection capacity includes following 3 kinds of modes:
The real time value of each channel collection capacity shows, totally 8 paths;
The real-time waveform chart of each road collection capacity shows, performance graph real-time display;
Acquisition data are stored in the 4117.txt text file of computer D disk in fact with txt file, when specifically including acquisition Between, the collection value on every road.
The present invention has the advantages that compared with the existing technology
Realize that the data collection system of man-machine interface and its display methods pass through based on labview the present invention provides a kind of Inside the shell by data collecting card, communication module, power module and sensor module package, and on the shell it is provided with 1 tunnel Power input air plug and 8 circuit-switched datas acquire air plug;The Left-Hand Panel and right panel are machined with ventilating heat dissipating hole, make this hair Firm, the anticorrosion of bright reinforcing, is suitable for carrier-borne, vehicle-mounted use, can work normally under adverse circumstances requirement.
Detailed description of the invention
Fig. 1 is structure of the invention figure;
Fig. 2 is shell front view;
Fig. 3 is shell rear surface figure;
Fig. 4 is shell side view.
In figure: 6-1 switch button, 6-2 data acquisition indicator light, 6-3 power input air plug, 6-4 data acquisition air plug, 6-5 ventilating heat dissipating hole.
Specific embodiment
Below with reference to attached drawing, the present invention is described in detail.
Specific embodiment one
A kind of data collection system for realizing man-machine interface based on labview, as shown in Figures 1 to 4, including industrial personal computer, Data collecting card, communication module, power module, sensor module and shell;The sensor module includes several sensors, institute It states industrial personal computer and data collecting card is connected by communication module, the data collecting card is separately connected sensor module and power supply mould Block, power module connect sensor module;The data collecting card, communication module, power module and sensor module package exist In shell;
The data collecting card model ADAM4117,16 AD, 8 road Differential Inputs, for turning voltage and current signal 485 communication interface signals are changed to, communication protocol is ASCII character order, and MODBUS communication protocol, sampling rate is 100 data Point/second;
The power module is that the AC220V of 150W turns direct current 24V, for realizing the power supply of ADAM4117 data collecting card, The power supply of DC/DC can be also provided;
The communication module turns 485 buses for 232 buses, realizes logical between the serial ports of industrial personal computer and data collecting card Letter;
The shell includes front panel, rear panel, Left-Hand Panel and right panel;The front panel is provided with switch button 6-1 and 8 circuit-switched datas acquire indicator light 6-2;The rear panel is provided with 1 tunnel power input air plug 6-3 and 8 circuit-switched datas acquisition air plug 6-4;The Left-Hand Panel and right panel are machined with ventilating heat dissipating hole 6-5.
The data collecting card is 16 AD, 8 road Differential Inputs.The basic input signal model for covering most of sensor It encloses, embedded micro-processor, is adapted under high temperature, severe cold environment use.Low temperature is up to 40 degrees below zero, and high temperature is up to 85 degree.Military products Rank data collecting card.Collected voltage and current signal can be converted to 485 communication interface signals, communication protocol is supported ASCII character order, MODBUS communication protocol, sampling rate reach as high as 100 data point/seconds.The key of this data collecting card Parameter is as follows:
The power supply module is that the AC220V of 150W turns direct current 24V power module, first the acquisition of realization ADAM4117 data The power supply of card.The power supply of the power supply module of DC/DC can also be provided, such as direct current 24V turns direct current 12V, 5V voltage is converted, Sensor power supply can also take from this module.
The communication module is 232 turn of 485 module, is realized between the serial ports of industrial personal computer and ADAM4117 data collecting card Communication.
The data collecting card, sensor module, power module, communication module are assemblied in a cabinet, are externally acquired Each road interface of signal uses the form of aviation socket, reinforces firm, anticorrosion, is suitable for carrier-borne, vehicle-mounted use.The acquisition of 8 tunnels Channel air plug, 1 road AC220V input 3 core air plugs, and such signal wire wiring is firm.
The high-precision for 485 bus forms that the present invention is customized using profession, 8 road differential data capture cards, hardware selection From the aspect of high temperature performance, entire data collection system is made into cabinet form, and external interface is anticorrosive, anti-vibration Air plug form meets the adverse circumstances requirement such as vehicle-mounted, carrier-borne.
Specific embodiment two
It is a kind of based on described in specific embodiment one based on labview realize man-machine interface data collection system realize Display methods, including the following steps:
Step a, serial ports is configured with the data mode of cluster, baud rate, data bit, stop position, check bit are used as the number of cluster According to the element of form, the basic configuration of serial ports is completed;
Step b, " VISA writes serial ports function " and " concatenation character string function " based on virtual software framework, write-in is based on The order of ASCII character agreement;The order that can be responded with the command forms input data capture card of character string;Be arranged cyclical function and Timing function parameter, the time interval that setting command is sent, the specific instructions that transmission meets ASCII character agreement receive data acquisition The response of card is replied;
Step c, it using scanning character string function, realizes the display of acquisition data, it is collected to extract " VISA reads function " Data set the character quantity read every time, and the storage of the data read;
Step d, turn fractional format function using character string, realize that the image of acquisition data is shown;
Step e, using I/O documentation function, data is acquired with txt text formatting and are stored in hard disk.
Further, the specific command format of the ASCII character agreement, including following:
Step b1, in the form of ASCII character, expression+data collecting card address is expressed in the form of ASCII character character+is returned Vehicle symbol is expressed in the form of ASCII character character;
Step b2, cyclical function uses the conditional function of laiview, is always condition "true" without pressing stop button;
Step b3, timing function uses 100ms timing module, and cooperation cyclical function uses, and completes the transmission of acquisition;
Step b4, function-" VISA reads function " is read using serial ports, reads collected data every time.
Further, the industrial personal computer interface setting starts to acquire button and stops acquisition button, and convenient, flexible control is hard Part work.
Further, the display of industrial personal computer interface collection capacity includes following 3 kinds of modes:
The real time value of each channel collection capacity shows, totally 8 paths;
The real-time waveform chart of each road collection capacity shows, performance graph real-time display;
Acquisition data are stored in the 4117.txt text file of computer D disk in fact with txt file, when specifically including acquisition Between, the collection value on every road.
The present invention uses the ASCII character order of character string command form, and the driving of data collecting card is write based on labview Program realizes reading of the acquisition data on industrial personal computer, realizes that the man-machine interface of hardware acquisition data is shown.
The present invention has following advantage:
1,8 circuit-switched datas, which acquire each road, can independently select range ability, reduce the tedious steps of acquisition conversion, each road acquisition It supports differential signal, guarantees the precision of acquisition data, it can be to 0.0001.
2, the present invention guarantees the reliable reinforcement of internal electrical part, and external interface is all using anticorrosive, switching performance is firm The air plug form leaned on.
3, based on 485 interface forms of modbus agreement, strong interference immunity guarantees the stability of product.
4, the man-machine interface based on labview form is programmed using the LABVIEW of virtual instrument software framework (VISA), Character string routine block, serial ports program block, the timing module based on VISA framework carried using labview builds data collecting card Driver, realize display of the acquisition data on industrial personal computer, acquire data real-time display in the form of performance graph, acquire number Txt textual form clearly records acquisition data and is stored in computer hard disc accordingly, the convenient algorithm process to acquisition data.

Claims (5)

1. a kind of data collection system for realizing man-machine interface based on labview, which is characterized in that adopted including industrial personal computer, data Truck, communication module, power module, sensor module and shell;The sensor module includes several sensors, the industry control Machine connects data collecting card by communication module, and the data collecting card is separately connected sensor module and power module, power supply Module connects sensor module;The data collecting card, communication module, power module and sensor module package are inside the shell;
The data collecting card model ADAM4117,16 AD, 8 road Differential Inputs, for being converted to voltage and current signal 485 communication interface signals, communication protocol be ASCII character order, MODBUS communication protocol, sampling rate be 100 data points/ Second;
The power module is that the AC220V of 150W turns direct current 24V, for realizing the power supply of ADAM4117 data collecting card, also can The power supply of DC/DC is provided;
The communication module turns 485 buses for 232 buses, realizes the communication between the serial ports of industrial personal computer and data collecting card;
The shell includes front panel, rear panel, Left-Hand Panel and right panel;The front panel is provided with switch button (6- 1) and 8 circuit-switched datas acquire indicator light (6-2);The rear panel is provided with 1 tunnel power input air plug (6-3) and the acquisition of 8 circuit-switched datas Air plug (6-4);The Left-Hand Panel and right panel are machined with ventilating heat dissipating hole (6-5).
2. a kind of display side based on the data collection system realization for realizing man-machine interface described in claim 1 based on labview Method, characterized in that it comprises the following steps:
Step a, serial ports is configured with the data mode of cluster, baud rate, data bit, stop position, check bit are used as the data shape of cluster The element of formula completes the basic configuration of serial ports;
Step b, " VISA writes serial ports function " and " concatenation character string function " based on virtual software framework, write-in are based on ASCII The order of code agreement;The order that can be responded with the command forms input data capture card of character string;Cyclical function and timing are set Function parameter, the time interval that setting command is sent, the specific instructions that transmission meets ASCII character agreement receive data collecting card Response is replied;
Step c, it using scanning character string function, realizes the display of acquisition data, extracts " VISA reads function " collected data, The character quantity read every time is set, and the storage of the data read;
Step d, turn fractional format function using character string, realize that the image of acquisition data is shown;
Step e, using I/O documentation function, data is acquired with txt text formatting and are stored in hard disk.
3. a kind of display methods for the data collection system that man-machine interface is realized based on labview according to claim 2, It is characterized in that, the specific command format of the ASCII character agreement, including following:
Step b1, expression+data collecting card address expression+carriage return character in the form of ASCII character character in the form of ASCII character It is expressed in the form of ASCII character character;
Step b2, cyclical function uses the conditional function of laiview, is always condition "true" without pressing stop button;
Step b3, timing function uses 100ms timing module, and cooperation cyclical function uses, and completes the transmission of acquisition;
Step b4, function-" VISA reads function " is read using serial ports, reads collected data every time.
4. a kind of display methods for the data collection system that man-machine interface is realized based on labview according to claim 3, It is characterized in that, the industrial personal computer interface setting starts to acquire button and stops acquisition button, convenient, flexible control hardware effort.
5. a kind of display methods for the data collection system that man-machine interface is realized based on labview according to claim 4, It is characterized in that, the display of industrial personal computer interface collection capacity includes following 3 kinds of modes:
The real time value of each channel collection capacity shows, totally 8 paths;
The real-time waveform chart of each road collection capacity shows, performance graph real-time display;
Acquisition data are stored in the 4117.txt text file of computer D disk in fact with txt file, specifically include acquisition time, every The collection value on road.
CN201811165224.2A 2018-09-30 2018-09-30 The data collection system and its display methods of man-machine interface are realized based on labview Pending CN109298662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811165224.2A CN109298662A (en) 2018-09-30 2018-09-30 The data collection system and its display methods of man-machine interface are realized based on labview

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811165224.2A CN109298662A (en) 2018-09-30 2018-09-30 The data collection system and its display methods of man-machine interface are realized based on labview

Publications (1)

Publication Number Publication Date
CN109298662A true CN109298662A (en) 2019-02-01

Family

ID=65161716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811165224.2A Pending CN109298662A (en) 2018-09-30 2018-09-30 The data collection system and its display methods of man-machine interface are realized based on labview

Country Status (1)

Country Link
CN (1) CN109298662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113984239A (en) * 2021-10-22 2022-01-28 洛阳理工学院 Fire-fighting robot chassis thermal protection multichannel temperature acquisition system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1616970A (en) * 2004-09-02 2005-05-18 公安部沈阳消防研究所 Multiple information data collecting device and method for fire early property
CN101615013A (en) * 2009-04-14 2009-12-30 中国船舶重工集团公司第七一二研究所 Data collector and data processing method thereof
CN202582591U (en) * 2011-11-29 2012-12-05 成都凯天电子股份有限公司 Atmosphere data system automatic detection device
CN202795097U (en) * 2012-03-29 2013-03-13 乔丹体育股份有限公司 Multichannel humiture measuring and controlling system
CN104166039A (en) * 2014-07-28 2014-11-26 南京铁道职业技术学院 Visualization-based PMSM stator current detection system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1616970A (en) * 2004-09-02 2005-05-18 公安部沈阳消防研究所 Multiple information data collecting device and method for fire early property
CN101615013A (en) * 2009-04-14 2009-12-30 中国船舶重工集团公司第七一二研究所 Data collector and data processing method thereof
CN202582591U (en) * 2011-11-29 2012-12-05 成都凯天电子股份有限公司 Atmosphere data system automatic detection device
CN202795097U (en) * 2012-03-29 2013-03-13 乔丹体育股份有限公司 Multichannel humiture measuring and controlling system
CN104166039A (en) * 2014-07-28 2014-11-26 南京铁道职业技术学院 Visualization-based PMSM stator current detection system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113984239A (en) * 2021-10-22 2022-01-28 洛阳理工学院 Fire-fighting robot chassis thermal protection multichannel temperature acquisition system

Similar Documents

Publication Publication Date Title
CN101718991B (en) Vehicle diagnosis system and method based on mobile phone platform
CN103455027A (en) Automobile ECU recovery system and recovery method
CN103645731A (en) System for acquiring and storing vehicle data in real time
CN202547697U (en) Airborne sensor data acquisition system based on FPGA (field programmable gate array)
CN106515472A (en) Control and guidance system used for alternating current charging pile for electric vehicles
CN100395676C (en) Vehicle carried data collecting system based on embedded PC
CN101936815A (en) Computer type vehicle fault diagnostic system and method
CN201011570Y (en) Automobile driving recorder
CN109298662A (en) The data collection system and its display methods of man-machine interface are realized based on labview
CN202711022U (en) Remote vehicle-mounted data acquisition system
CN204009450U (en) A kind of armored vehicle bus combination instrument
CN106352996A (en) Multi-path thermocouple temperature and analog signal collection instrument
CN102393734A (en) Automobile-used code reading card
CN102207871A (en) PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol
CN1503202A (en) Running record instrument for vehicle
CN203643830U (en) Universal full touch screen control automobile diagnostic equipment
CN207517078U (en) Automobile data recorder and vehicle
CN201497911U (en) Real-time vehicle failure prompting system
CN103631166A (en) Visual programming vehicle body control system
CN206804302U (en) A kind of simulative automobile communication test device
CN205405428U (en) ETC vehicle -mounted electronic label issues device with gesture recognition function
CN103530353A (en) Self-identification method of GPS user data format
CN102829801A (en) Special detection equipment for computer components of positioning and directional navigation systems
CN105487579A (en) Continuous temperature control and drying monitoring system
CN2472272Y (en) Mouse with finger print collecting function

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190201

RJ01 Rejection of invention patent application after publication