CN201054091Y - Data collection and transmission control system - Google Patents
Data collection and transmission control system Download PDFInfo
- Publication number
- CN201054091Y CN201054091Y CNU2007201098534U CN200720109853U CN201054091Y CN 201054091 Y CN201054091 Y CN 201054091Y CN U2007201098534 U CNU2007201098534 U CN U2007201098534U CN 200720109853 U CN200720109853 U CN 200720109853U CN 201054091 Y CN201054091 Y CN 201054091Y
- Authority
- CN
- China
- Prior art keywords
- data
- module
- embedded processor
- interface
- power supply
- 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
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域 technical field
本实用新型涉及一种数据采集传输控制系统。The utility model relates to a data collection and transmission control system.
背景技术 Background technique
在现今用ARM板来开发数据传输控制系统的,普遍存在系统兼容不稳定,传输不连续,经常性死机等问题,总得来说稳定性不高。另外在实用性和可扩展方面,由于一些系统设计于早期,功能跟不上现今要求。In today's development of data transmission control systems using ARM boards, there are common problems such as system compatibility instability, discontinuous transmission, frequent crashes, etc. Generally speaking, the stability is not high. In addition, in terms of practicability and scalability, because some systems were designed in the early stage, the functions cannot keep up with today's requirements.
实用新型专利02285316.2公开了一种数据自动采集传输装置,包括壳体,由壳体内的电源、主控制器、控制接口、通讯模块和集成在壳体上的显示器、外接设备接口组成;外接设备接口包括电源接口、按键、电话接口、扫描器接口和扬声器;控制接口集成有主控制电路、通讯控制电路、显示器控制电路、辅助电路和主控制器复位电路;该技术方案的稳定性和实用性不高。Utility model patent 02285316.2 discloses an automatic data collection and transmission device, including a housing, which is composed of a power supply in the housing, a main controller, a control interface, a communication module, a display integrated on the housing, and an external device interface; the external device interface Including power interface, button, telephone interface, scanner interface and speaker; the control interface integrates main control circuit, communication control circuit, display control circuit, auxiliary circuit and main controller reset circuit; the stability and practicability of this technical solution are not high.
发明内容 Contents of the invention
本实用新型提供了一种数据采集传输控制系统,可实现无人职守自动工作,支持对下端仪器的反控。The utility model provides a data acquisition and transmission control system, which can realize automatic work without a person on duty, and supports counter-control of lower-end instruments.
一种数据采集传输控制系统,包括机箱、电源、数据采集模块、嵌入式处理器、显示屏和外接设备接口,所述的数据采集模块包括模拟信号采集模块和信号转换模块,模拟信号采集模块和信号转换模块的数据引脚对应串联,其工作电压引脚和接地引脚对应并联后接入电源;信号转换模块接入嵌入式处理器;嵌入式处理器的电压输入端和接地端接入电源;显示屏连接嵌入式处理器,显示屏的电压输入端和接地端接入电源。A data acquisition and transmission control system, including a chassis, a power supply, a data acquisition module, an embedded processor, a display screen and an external device interface, the data acquisition module includes an analog signal acquisition module and a signal conversion module, an analog signal acquisition module and The data pins of the signal conversion module are connected in series, and the working voltage pins and ground pins are connected in parallel to connect to the power supply; the signal conversion module is connected to the embedded processor; the voltage input terminal and ground terminal of the embedded processor are connected to the power supply ; The display screen is connected to the embedded processor, and the voltage input terminal and the ground terminal of the display screen are connected to the power supply.
所述的嵌入式处理器包括:Described embedded processor comprises:
初始化模块,完成对各个端口的初始化设置,读入数据库各参数值,使程序正常启动运行;The initialization module completes the initialization setting of each port, reads in the parameter values of the database, and makes the program start and run normally;
数据接收模块,接收信号转换模块传送的485信号数据,将模拟信号采集模块中八通道的数据分开;The data receiving module receives the 485 signal data transmitted by the signal conversion module, and separates the data of the eight channels in the analog signal acquisition module;
数据处理模块,将各通道的模拟量值,换算成一次仪表的真实值后,写入数据库中;The data processing module converts the analog value of each channel into the real value of the instrument and writes it into the database;
数据显示模块,将数据处理模块处理好的数据进行显示;The data display module displays the data processed by the data processing module;
数据传输模块,将数据打包成各种格式,传输到指定地点;Data transmission module, which packs data into various formats and transmits them to designated locations;
数据统计模块,实现报表的输出,报警查询、历史数据查询、年月日的平均值与累积值的计算。The data statistics module realizes the output of reports, alarm query, historical data query, year-month-day average and cumulative value calculation.
所述的嵌入式处理器内置实时时钟。The embedded processor has a built-in real-time clock.
所述的嵌入式处理器内置看门狗定时器。The embedded processor has a built-in watchdog timer.
所述的嵌入式处理器内置有报警装置。The embedded processor has a built-in alarm device.
所述的外接设备接口包括数据接口、模拟接口、网络接口、USB接口、通讯接口。The external device interface includes a data interface, an analog interface, a network interface, a USB interface, and a communication interface.
本实用新型具有8个标配通道,最多可扩展至255个通道,可以与带有IEEE-485接口的数字多用表、仪器设备组成多通道测量与处理系统。本实用新型具有全智能、低功耗、高稳定性、无人值守、全自动工作、可远程软件升级等特点。在网络通讯方面,支持CDMA/1X、GPRS、网络通讯方式和短链接方式。本实用新型具有标准的电压、电流等模拟量、开关量接口,支持系统与一次仪表接口,通过与下位系统的协议匹配,可对下位仪器实施反控,同时对数据量接口可以实现模块(插件式)定制,接口电气标准支持RS-232、PS-485、USB1.1-2.0、以太网等。The utility model has 8 standard channels, which can be expanded to 255 channels at most, and can form a multi-channel measurement and processing system with digital multimeters and instruments with IEEE-485 interfaces. The utility model has the characteristics of full intelligence, low power consumption, high stability, unattended, fully automatic work, and remote software upgrade. In terms of network communication, it supports CDMA/1X, GPRS, network communication methods and short link methods. The utility model has standard voltage, current and other analog and switch interfaces, supports the interface between the system and the primary instrument, and can implement anti-control for the lower instrument by matching the protocol with the lower system, and at the same time realize the module (plug-in) for the data interface. Type) customization, interface electrical standards support RS-232, PS-485, USB1.1-2.0, Ethernet, etc.
附图说明 Description of drawings
图1为本实用新型的系统结构示意图;Fig. 1 is the system structure schematic diagram of the present utility model;
图2为本实用新型系统模块结构示意图;Fig. 2 is the structural representation of the system module of the present utility model;
图3为本实用新型嵌入式处理器的模块结构示意图;Fig. 3 is the module structure schematic diagram of the utility model embedded processor;
图4为本实用新型控制流程图。Fig. 4 is the utility model control flowchart.
具体实施方式 Detailed ways
如图1、2所示,一种数据采集传输控制系统,包括机箱、电源、数据采集模块、嵌入式处理器、显示屏和外接设备接口,数据采集模块包括模拟信号采集模块和信号转换模块,模拟信号采集模块和信号转换模块的数据引脚(DATA+,DATA-)对应串联,其工作电压引脚(+Vs)和接地引脚(GND)对应并联后接入电源12V的(+,-)端;信号转换模块的串口接口(TXD,RXD,GND)接入嵌入式处理器COM2端;嵌入式处理器的电压输入端(V)和接地端(GND)接入电源5V的(+,-)端;显示屏的26针LCD接口连接入嵌入式处理器的LCD接口,其工作电压(V)端和接地(GND)端分别接入电源12V的(+,-)端,I-7017模块的(Vin7+、Vin7-......Vin1+、Vin1-)八个通道接入一次仪表过来的信号。As shown in Figures 1 and 2, a data acquisition and transmission control system includes a chassis, a power supply, a data acquisition module, an embedded processor, a display screen, and an external device interface. The data acquisition module includes an analog signal acquisition module and a signal conversion module. The data pins (DATA+, DATA-) of the analog signal acquisition module and the signal conversion module are correspondingly connected in series, and their working voltage pins (+Vs) and ground pins (GND) are correspondingly connected in parallel and connected to the 12V power supply (+, -) terminal; the serial port interface (TXD, RXD, GND) of the signal conversion module is connected to the COM2 terminal of the embedded processor; the voltage input terminal (V) and ground terminal (GND) of the embedded processor are connected to the (+, - ) terminal; the 26-pin LCD interface of the display screen is connected to the LCD interface of the embedded processor, and its working voltage (V) terminal and ground (GND) terminal are respectively connected to the (+, -) terminal of the
如图3所示,嵌入式处理器内设有:As shown in Figure 3, the embedded processor is equipped with:
初始化模块,完成对各个端口的初始化设置,读入数据库各参数值,使程序正常启动运行;The initialization module completes the initialization setting of each port, reads in the parameter values of the database, and makes the program start and run normally;
数据接收模块,接收信号转换模块传送的485信号数据,将模拟信号采集模块中八通道的数据分开;The data receiving module receives the 485 signal data transmitted by the signal conversion module, and separates the data of the eight channels in the analog signal acquisition module;
数据处理模块,将各通道的模拟量值,换算成一次仪表的真实值后,写入数据库中;The data processing module converts the analog value of each channel into the real value of the instrument and writes it into the database;
数据显示模块,将数据处理模块处理好的数据进行显示;The data display module displays the data processed by the data processing module;
数据传输模块,将数据打包成各种格式,传输到指定地点;Data transmission module, which packs data into various formats and transmits them to designated locations;
数据统计模块,实现报表的输出,报警查询、历史数据查询、年月日的平均值与累积值的计算。The data statistics module realizes the output of reports, alarm query, historical data query, year-month-day average and cumulative value calculation.
嵌入式处理器内置实时时钟。Embedded processors have built-in real-time clocks.
嵌入式处理器内置看门狗定时器。The embedded processor has a built-in watchdog timer.
嵌入式处理器设有报警装置,具有报警功能,每个通道可设置报警上下限值,并按照设置的报警上下限打开或者关闭报警功能。The embedded processor is equipped with an alarm device and has an alarm function. Each channel can set the upper and lower alarm limits, and the alarm function can be turned on or off according to the set alarm upper and lower limits.
其中,嵌入式处理器选用型号为ARMSYS2410的开发板,其具体参数如下:Among them, the embedded processor uses the development board model ARMSYS2410, and its specific parameters are as follows:
CPU:型号为S3C2410A-20处理器,工作频率达203MHz;CPU: Model S3C2410A-20 processor, operating frequency up to 203MHz;
Flash Memory:64MB Nand Flash,可选配16MB、32MB或128MB的NandFlash,内带电池,当外部AC220V掉电时,内部电池可保证历史数据不遗失。Flash Memory: 64MB Nand Flash, optional 16MB, 32MB or 128MB NandFlash, built-in battery, when the external AC220V power failure, the internal battery can ensure that the historical data will not be lost.
SDRAM:2片4Banks×4Mbits×16bits SDRAM,PC100/pc133兼容;SDRAM: 2 pieces of 4Banks×4Mbits×16bits SDRAM, compatible with PC100/pc133;
4个可编程的绿色贴片LED;4 programmable green SMD LEDs;
时钟晶振:12MHz系统外部始终源;32.768KHz的RTC的时钟源;Clock crystal oscillator: 12MHz system external constant source; 32.768KHz RTC clock source;
具有看门狗定时器;With watchdog timer;
8路10位ADC,其中2路可以作为触摸屏接口;8-channel 10-bit ADC, 2 of which can be used as touch screen interface;
SO-DIMM200核心板接口,扳子约68mm×42mm尺寸;SO-DIMM200 core board interface, the size of the wrench is about 68mm×42mm;
数据接口:2路RS-232、1路RS-485;Data interface: 2-way RS-232, 1-way RS-485;
网路接口:10BaseT;Network interface: 10BaseT;
USB接口:2路USB接口;USB interface: 2-way USB interface;
工作电源:5V DCWorking power supply: 5V DC
数据采集模块包括模拟信号采集模块和信号转换模块,模拟信号采集模块选用泓格I-7017,信号转换模块选用BS-RTU2015,其具体技术参数如下:The data acquisition module includes an analog signal acquisition module and a signal conversion module. The analog signal acquisition module uses ICP DAS I-7017, and the signal conversion module uses BS-RTU2015. The specific technical parameters are as follows:
泓格I-7017:ICP DAS I-7017:
通道:8路差动或6路差动+2路单端(跳线选择)Channel: 8-way differential or 6-way differential + 2-way single-ended (jumper selection)
分辨率:16位Resolution: 16 bits
输入类型:mV,V,mA(接250Ω外电阻)Input type: mV, V, mA (connected to 250Ω external resistance)
输入范围:±150mV、±500mV、±1V、±5V、±10V、±20mAInput range: ±150mV, ±500mV, ±1V, ±5V, ±10V, ±20mA
采样速率:10次/秒(total)Sampling rate: 10 times/second (total)
带宽:15.7HzBandwidth: 15.7Hz
精度:±0.1%Accuracy: ±0.1%
零点漂移:±20μV/℃Zero drift: ±20μV/℃
满程量漂移:±25ppm/℃Full scale drift: ±25ppm/℃
CMR@50/60Hz:86dB minCMR@50/60Hz: 86dBmin
NMR@50/60Hz:100dBNMR@50/60Hz: 100dB
输出阻抗:20MΩOutput impedance: 20MΩ
过电压保护:±35VOvervoltage protection: ±35V
隔离:3000V DCIsolation: 3000V DC
输入:+10~+30V DCInput: +10~+30V DC
功耗:1.3WPower Consumption: 1.3W
BS-RTU2015:BS-RTU2015:
INPUT/OUTPUT:RS232 RS-422/RS485INPUT/OUTPUT: RS232 RS-422/RS485
速度(bps):1200,2400,4800,9600,19.2k,38.4kSpeed (bps): 1200, 2400, 4800, 9600, 19.2k, 38.4k
电源(DC):+10v to+30v(Non-regulated)Power supply (DC): +10v to+30v (Non-regulated)
温度范围:-20~60℃Temperature range: -20~60℃
显示屏选用7.8″STN液晶屏,带有26针的接口,与嵌入式处理器上的26针LCD接口兼容,另配有触摸屏,可方便查看信息、设置参数等:The display screen is a 7.8″ STN LCD screen with a 26-pin interface, which is compatible with the 26-pin LCD interface on the embedded processor. It is also equipped with a touch screen, which is convenient for viewing information and setting parameters, etc.:
7.8″STN液晶屏的主要技术规格如下:The main technical specifications of the 7.8″STN LCD screen are as follows:
类型:STNType: STN
尺寸:7.8″Dimensions: 7.8″
颜色:256色Color: 256 colors
分辨率:640×3(RGB)×480Resolution: 640×3(RGB)×480
背光:1支CCFTBacklight: 1 CCFT
显示类型:透射式Display Type: Transmissive
垂直视角范围:-30~+20度Vertical viewing angle range: -30 to +20 degrees
水平视角范围:-45~+45度Horizontal viewing angle range: -45 to +45 degrees
视角方向:6 O′clockViewing direction: 6 O'clock
亮度:60cd/m2Brightness: 60cd/m2
配套提供:液晶数据资料Supporting offer: LCD data files
LCD适配板(包括背光逆变器)LCD adapter board (includes backlight inverter)
电源主要用来给嵌入式处理器、液晶屏、数据采集模块等供电。嵌入式处理器ARM9的输入电压为5V,液晶屏的工作电压为12V,信号转换模块2015和模拟信号采集模块7017为宽电压输入10V-30V。综合上面电压范围,选择型号为D-60A的开关电源,主要技术参数如下:The power supply is mainly used to supply power to embedded processors, LCD screens, data acquisition modules, etc. The input voltage of the embedded processor ARM9 is 5V, the operating voltage of the LCD screen is 12V, and the
+5V和COM端的输出电压为:DC5V,输出电流为0.3-6.0A;The output voltage of +5V and COM terminal is: DC5V, the output current is 0.3-6.0A;
+V和COM端的输出电压为DC12V,输出电流为0.2-4.0A;The output voltage of +V and COM terminals is DC12V, and the output current is 0.2-4.0A;
L和N为220V电源的输入端。L and N are the input ends of the 220V power supply.
外接设备接口包括数据接口、模拟接口、网络接口、USB接口、通讯接口,每个信道互为备用或并行使用,从而实现多信道通讯以及通讯实时在线。The external device interface includes data interface, analog interface, network interface, USB interface, and communication interface. Each channel is used as a backup or in parallel, so as to realize multi-channel communication and real-time online communication.
系统通过232/485接口与下位仪器仪表系统连接控制,通过工业数据采集模块实现信号采集,可通过宽带、拨号网络、GPRS/CDMA无线网络与上位系统连接,可选择国家、浙江省、杭州市以及自定义多种数据传输规约,具有高度的适应性和行业拓展性。系统的应用界面采用标准的WinCE风格,并通过Office自动化技术实现标准报表的输出打印,为用户带来极大的便利。The system is connected and controlled with the lower-level instrumentation system through the 232/485 interface, and the signal acquisition is realized through the industrial data acquisition module. It can be connected with the upper-level system through broadband, dial-up network, GPRS/CDMA wireless network, and the country, Zhejiang Province, Hangzhou City and Customize a variety of data transmission protocols, which are highly adaptable and industry-expandable. The application interface of the system adopts the standard WinCE style, and realizes the output and printing of standard reports through Office automation technology, which brings great convenience to users.
系统在工作前,首先搜到模拟信号采集模块,按如下要求设置:Before the system works, first find the analog signal acquisition module, and set it according to the following requirements:
a)地址(Address):1a) Address: 1
b)输入范围(Input range):+/-5Vb) Input range: +/-5V
c)电阻选用:250Ω的阻值c) Resistor selection: 250Ω resistance
信号转换模块与ARM开发板上的串口2(COM2引脚)相连,串口线采用交叉线,若采集的信号是4~20mA的标准电流输出信号,则在通道端口接上一个250Ω的电阻;若采集的是0~5V的电压信号则不需要短接电阻了。The signal conversion module is connected to the serial port 2 (COM2 pin) on the ARM development board. The serial port line adopts a crossover line. If the collected signal is a standard current output signal of 4-20mA, a 250Ω resistor is connected to the channel port; if If the collected voltage signal is 0-5V, there is no need to short-circuit the resistor.
系统正式运行工作时,数据采集模块采集一次仪表传输过来的信号(包括0~5V,4~20mA,开关量等),并将这些模拟信号转换为485信号传输给数据转换模块,数据转换模块再把接收的485信号转换为RS232信号通过串口线传给ARM开发板,ARM开发板对读取的信号进行量程换算后,进行采集因子的实际值显示,动态曲线画图以及将值写入数据库等工作,写入数据库是便于日后进行历史数据的查询以及各种报表的生成。在数据传输过程中,将打包好的数据通过网络(包括宽带、CDMA/GPRS、Modem等形式)传送到指定地点。When the system is officially running, the data acquisition module collects the signals transmitted by the instrument once (including 0-5V, 4-20mA, switch value, etc.), and converts these analog signals into 485 signals and transmits them to the data conversion module. Convert the received 485 signal to RS232 signal and transmit it to the ARM development board through the serial port line. After the ARM development board converts the range of the read signal, it displays the actual value of the acquisition factor, draws the dynamic curve, and writes the value into the database. , Writing into the database is convenient for future historical data query and generation of various reports. In the process of data transmission, the packaged data is transmitted to the designated place through the network (including broadband, CDMA/GPRS, Modem, etc.).
如图4所示,AMR开发板上电之后,随着Win_CE系统起来后,AMR开发板内软件自动加载运行,首先进行初始化,接着判断串口是否有数据,如果没有进入初始化循环,如果有就从串口中读入数据,然后把读入的数据交给数据处理模块。数据处理模块将换算好的实际监测值显示出来以及写入数据库,判断是否有网络连接,若有则把数据传送到上位机,若没有,则与数据显示和存入数据库,流程结束。As shown in Figure 4, after the AMR development board is powered on, as the Win_CE system starts up, the software in the AMR development board will automatically load and run, first initialize, and then judge whether there is data in the serial port. If there is no data, enter the initialization cycle. Read data in the serial port, and then send the read data to the data processing module. The data processing module displays the converted actual monitoring value and writes it into the database to judge whether there is a network connection, and if so, transmits the data to the host computer; if not, displays and stores the data in the database, and the process ends.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2007201098534U CN201054091Y (en) | 2007-05-25 | 2007-05-25 | Data collection and transmission control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2007201098534U CN201054091Y (en) | 2007-05-25 | 2007-05-25 | Data collection and transmission control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201054091Y true CN201054091Y (en) | 2008-04-30 |
Family
ID=39393753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2007201098534U Expired - Fee Related CN201054091Y (en) | 2007-05-25 | 2007-05-25 | Data collection and transmission control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201054091Y (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112734342A (en) * | 2021-01-27 | 2021-04-30 | 西安石油大学 | Handheld supervision device and supervision method for transportation loss of oil tank truck |
-
2007
- 2007-05-25 CN CNU2007201098534U patent/CN201054091Y/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112734342A (en) * | 2021-01-27 | 2021-04-30 | 西安石油大学 | Handheld supervision device and supervision method for transportation loss of oil tank truck |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204904026U (en) | Environmental protection data acquisition device | |
CN105717833A (en) | Intelligent mainboard of environment protective data collecting transmitter and work method of mainboard | |
CN201054091Y (en) | Data collection and transmission control system | |
CN203260124U (en) | Intelligent gas meter system with long-distance top-up and pre-payment functions | |
CN210109593U (en) | A control system for TACAN navigation equipment | |
CN201765279U (en) | A power quality analysis instrument based on TFT-LCD display | |
CN102427464B (en) | Data/image transmission device based on TCP/IP (Transmission Control Protocol/Internet Protocol) | |
CN104155891B (en) | I<2>C-based networked transmitter and communication implementation method thereof | |
CN207926639U (en) | An elevator protocol conversion device and an elevator Internet of Things system | |
CN208254526U (en) | Oil-field oil pumper multi-functional measurement instrument based on ZigBee | |
CN216052644U (en) | Test digital-to-analog conversion acquisition card | |
CN213210766U (en) | Multi-protocol data acquisition gateway | |
CN110109405A (en) | A kind of control system and implementation method of Tacan navigation equipment | |
CN2824127Y (en) | Complex impedance dispensing apparatus with integrated controller for microwave load tracting measurement | |
CN100451905C (en) | Programmable controller for temperature and humidity | |
CN203732930U (en) | An energy source data acquisition terminal with two RS485 interfaces | |
CN209086715U (en) | Data acquisition controller and remote monitoring and control terminal for pumping units | |
CN205317398U (en) | Pressure transmitter based on CMC treater | |
CN203786221U (en) | Energy efficiency data acquisition terminal possessing two RS485 interfaces | |
CN207625605U (en) | A kind of data collecting system based on Arduino | |
CN217932499U (en) | Mitsubishi PLC data acquisition equipment | |
CN202711045U (en) | Digital communication card of weighing controller | |
CN216695274U (en) | Indoor and outdoor illuminance detection system based on NB-IoT | |
CN207132965U (en) | A kind of Multifunctional electronic scale based on Ethernet | |
CN202210221U (en) | Farmland information digital acquisition and processing controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |