CN201134815Y - Ethernet data collecting and transmitting system - Google Patents

Ethernet data collecting and transmitting system Download PDF

Info

Publication number
CN201134815Y
CN201134815Y CNU2007200163273U CN200720016327U CN201134815Y CN 201134815 Y CN201134815 Y CN 201134815Y CN U2007200163273 U CNU2007200163273 U CN U2007200163273U CN 200720016327 U CN200720016327 U CN 200720016327U CN 201134815 Y CN201134815 Y CN 201134815Y
Authority
CN
China
Prior art keywords
module
ethernet
digital quantity
communication
programmable logic
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
CNU2007200163273U
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.)
Shenyang Institute of Automation of CAS
Original Assignee
Shenyang Institute of Automation of CAS
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 Shenyang Institute of Automation of CAS filed Critical Shenyang Institute of Automation of CAS
Priority to CNU2007200163273U priority Critical patent/CN201134815Y/en
Application granted granted Critical
Publication of CN201134815Y publication Critical patent/CN201134815Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model relates to a real-time data collecting technology, in particular to an Ethernet data collecting and transmitting system which is based on the Ethernet and the programmable controller PLC technology and is distributed, networking and expandable and collects and transmits data in real time, wherein the system takes a programmable controller (PLC) as a controlling device for collecting data and communicating, and the system itself is provided with an Ethernet controller, the system adopts the Ethernet/IP communication mode and the Modbus transmission protocol to carry out the Ethernet communication with an upper computer, the system further comprises an I/O module which is connected with the Ethernet controller, and is connected with a terminal module through the last-level digital quantity output module, wherein the programmable controller (PLC) receives digital quantity and analog quantity signals which are from sensors through the I/O module, and is communicated with the upper computer through the program of the system, and the system transmits the digital quantity and the analog quantity signals to controlled devices through selecting working modes. The system has the advantages of strong communication ability, wide application and multiple collecting points, the system is a data collecting system which can adapt to requirements of complex working conditions, and the system can satisfy urgent requirements of the industry field.

Description

A kind of Ethernet data acquiring and transmission system
Technical field
The utility model relates to the real-time data acquisition technology, specifically a kind of distributed, networked, the data collection and transfering system that can expand, gather in real time and transmit data based on Ethernet and Programmable Logic Controller PLC technology are applicable to the real-time collection of multi-point signal in the industrial monitoring of complexity.
Technical background
Because the The field environment is complicated various, cause requirement also to be not quite similar to the data harvester, take a broad view of the data acquisition unit in the known art, it is limited that ubiquity conversion speed, integrated level is low, can not realize distributed data acquisition and teledata integrated treatment, can not satisfy complicated industrial and mineral requirement, problem such as data throughout is limited.
Ethernet (Ethernet) is the most general communication protocol standard that existing now local area network (LAN) adopts, and sets up in the seventies early stage.Ethernet is that a kind of transmission rate is the Local Area Network standard commonly used of 10Mbps.Ethernet is by shared transmission medium, as twisted-pair cable or coaxial cable and multi-port hub, bridge or switch formation.Programmable Logic Controller has high reliability, I/O rich interface, modular construction, programming is easy to learn, installation is simple, easy to maintenance, characteristics with communication and network savvy etc., is widely used in various Industry Control occasions at present.At present, the utility model and the utility model patent of relevant data acquisition technique emerge in an endless stream, but there are certain problem in many aspects in a lot of utility model and utility model.For example: name is called the utility model patent of " a kind of Computerized real-time data acquisition and treatment system " (patent No. is 98124514), relates to appliance computer and carries out real-time data acquisition and processing.This utility model is by microcomputer ISA expansion slot, channel selecting interface card.The digital multimeter and the IEEE-488 interface card that have the IEEE-488 interface are formed hardware components.Software is write with Visual C++, uses the Chinese platform support, moves under Win95 or WinNT.This utility model has 32 passages, can form multi-channel measurement and treatment system with the digital multimeter that has the IEEE-488 interface, when realizing real-time data acquisition in background under software is supported, the real-time data acquisition and the treatment system of other affairs still can be handled in the foreground.But the related system of this utility model can only form multi-channel measurement and treatment system with the digital multimeter that has the IEEE-488 interface, is of limited application.The utility model patent that name is called " data acquisition unit " (patent No. is 200520091109) discloses a kind of data acquisition unit that is applied in the building energy conservation detection range.Comprise: CPU, clock chip, memory cell, signals collecting part.Cpu port connects the port of clock chip and memory cell respectively, and required serial clock signal of communication and data communication signal are provided successively; The port of described signal acquisition part tap CPU is to realize the data communication of acquired signal.Described signal acquisition part is divided into temperature signal collection part, flow collection part and density of heat flow rate collecting part; The data-signal of described flow collection part and density of heat flow rate collecting part is sent into CPU after the A/D conversion.This utility model patent can only be applied to the building energy conservation detection range, and application is limited, does not have versatility.The utility model patent that name is called " Long-Distance Data Acquisition and Transmission " (patent No. is 01278706) comprises a data acquisition terminal, connect primary processor by RS232 serial ports/USB (universal serial bus), this processor connects, receives and the data of data acquisition terminal collection are compressed processing, then the data of handling is sent to transport module.Be characterized in realizing the wireless transmission of data.But wireless transmission cost height, and because of factor affecting such as weather, data transmission stability is poor.The patented product has a data acquisition terminal, so can not realize the interior multi-point data acquisition of long distance.In sum, the weak point of existing relevant patent and utility model product mainly shows:
1) type to signal or access instrument has enforceable requirement, has limited the scope and the field of using, and can not adapt to the requirement of complex working condition.
2) collection point is single, and the multiple spot on a large scale that can't meet the demands is not strong to the adaptive capacity of complex working condition according to collection, and processing speed is not high, and extensibility is not strong.
3) communication capacity is not strong.The control field is more and more higher to the requirement of real-time, so the quality of ability to communicate is the important symbol whether data acquisition system has real-time.485 or 232 traditional communication speeds are limited, limited the real-time of data acquisition system to a certain extent.In sum, strong, the wide accommodation of ability to communicate, collection point data acquisition systems many, that can adapt to the complex working condition requirement are an urgent demands of industry spot.
The utility model content
The purpose of this utility model is to provide a kind of Ethernet data acquiring and transmission system, and its ability to communicate is strong, wide accommodation, collection point data acquisition systems many, that can adapt to the complex working condition requirement are an urgent demands of industry spot.
Technical solution of the present utility model is as follows: the Ethernet data acquiring and transmission system: with the control appliance of Programmable Logic Controller as data acquisition, communication, self has ethernet controller, adopts Ethernet/IP communication mode and Modbus host-host protocol and host computer to carry out ethernet communication; Also comprise the I/O module, be connected, be connected with terminal module by afterbody digital quantity output module with described ethernet controller; Programmable Logic Controller receives digital quantity or analog signals from the collection point transducer by the I/O module, by system program and upper machine communication, selects mode of operation, with digital quantity or analog signals to controlled plant.
Wherein: if having only a collection point (IP address), then host computer carries out ethernet communication with the method that Programmable Logic Controller is taked directly to link to each other by crossover network cables; If host computer connects a plurality of Programmable Logic Controllers by hub, for each Programmable Logic Controller distributes an independent IP address.
The utlity model has following beneficial effect:
1. stability is strong.Programmable Logic Controller is a control device more stable in the industrial control unit (ICU), be suitable for being applied in operating mode comparatively complexity, the more abominable relatively occasion of environment for use, and be suitable for long-time continual operation, so Programmable Logic Controller very is applied in occasions such as mine, steel plant, power plant widely.
2. signal reliability is strong.The signal on the every road of Programmable Logic Controller has all adopted filtering and photoelectricity isolation method to carry out the denoising of signal, and what guaranteed signal does not disturb mutually purity with signal.
3. adaptability is strong.The module arbitrary combination that can select difference in functionalitys such as analog quantity input, analog quantity output, numeral two inputs, digital quantity output according to concrete application scenario of I/O module can also increase the communication module of counter module and other function as required.
4. networking.Can realize the real time high-speed data acquisition of multiple spot, long distance, be specially adapted to rectificate apart from the data collection of the Industry Control occasion and the complex engineering project of multiple spot image data.
5. real-time.The data that collect can be real-time the host computer that sends to show that the command transfer that the host computer method is sent here that also can be real-time is given the delivery outlet output of Programmable Logic Controller.
6. expandability.Device can be formed network by hub, and the node number on the network can increase or reduce as required.
7. the collection of data be can finish under the local mode of operation and analog quantity or digital digital quantity exported to delivery outlet.
Description of drawings
Fig. 1 is the utility model system global structure figure.
Fig. 2 is an embodiment Programmable Logic Controller of a utility model structure chart.
Fig. 3 is the data collection and transfering system program flow diagram.
Fig. 4 is an ethernet communication subroutine flow chart among Fig. 3.
Embodiment
The utility model Ethernet data acquisition system is with the control appliance of Programmable Logic Controller PLC as data acquisition, communication, and self has ethernet controller, adopts Ethernet/IP communication mode and Modbus host-host protocol and host computer to carry out ethernet communication; Also comprise the I/O module, be connected, be connected with terminal module by afterbody digital quantity output module with described ethernet controller; Programmable Logic Controller PLC receives digital quantity or analog signals from the collection point transducer by the I/O module, by system program and upper machine communication, selects mode of operation, with digital quantity or analog signals to controlled plant.Host computer utilizes ethernet controller and by crossover network cables and Programmable Logic Controller PLC communication.Host computer can be given Programmable Logic Controller PLC transmission control command in real time, and as the state of digital quantity, the size of analog quantity, the signal with gathering that Programmable Logic Controller PLC can be real-time is transferred to host computer and shows.The I/O module can be provided with its quantity according to concrete working condition requirement, and the collection point also can increase or reduce, and the operation distance also can be by increasing the new Programmable Logic Controller PLC ethernet controller and the amplification (being equivalent to increase new IP address) of I/O module.
There are two kinds of mode of operations in system, is respectively networking pattern and single cpu mode.Single cpu mode can realize the industry spot data collection, dateout control controlled plant, and other Programmable Logic Controllers PLC between communication; The networking pattern can be implemented in data that host computer shows that in real time Programmable Logic Controller PLC gathers on this basis, transmit data, ethernet communication function by network to controlled plant.
The I/O module includes: analog quantity input module, analog output module, digital quantity input module, digital quantity output module.For data of gathering the industrial production scene and the controlled plant of controlling industry spot, the input module of Programmable Logic Controller PLC connects on-the-spot various transducers, and output module is connected on the on-the-spot controlled plant.Consider the speed and the stability of communication, adopt based on Ethernet and Modbus communications protocol and carry out communication between host computer and the Programmable Logic Controller PLC.The state that host computer is responsible for controlling Programmable Logic Controller PLC and is shown the controlled plant that is connected to Programmable Logic Controller PLC in real time if the collection point surpasses the limit of power of separate unit Programmable Logic Controller PLC, then needs many Programmable Logic Controller PLC to work simultaneously.Consider this mode of operation, the utility model is with the server end of host computer as ethernet communication, and Programmable Logic Controller PLC is as the client of ethernet communication, and each Programmable Logic Controller PLC is a client, and server end has only one.Programmable Logic Controller PLC both can carry out communication with host computer, and the output module that passes through of the data in real time that self also can collect signal input module is transported on the controlled plant, realized Long-distance Control and two functions of local control.The selection of system works pattern (single cpu mode or networking pattern).
Each Programmable Logic Controller PLC module is by two-way 24V DC power supply, and one the road supplies with Programmable Logic Controller PLC, be connected and the I/O module that also connect together each other of ethernet controller of one tunnel supply and Programmable Logic Controller PLC.Indicate the power supply of current system whether normal by power supply indicator.Concrete condition according to site of deployment, as what of the kind signal way of required acquired signal, select corresponding I/O module, what and type of the I/O module under the same IP address can change as the case may be, can comprise 64 various types of I/O modules under each IP address at most, data throughout is very big.If have only a collection point (IP address), then host computer carries out ethernet communication with the method that Programmable Logic Controller PLC can take directly to link to each other by crossover network cables; If the span in the geographical position of collection site is bigger, host computer connects a plurality of Programmable Logic Controller PLC by hub, for each Programmable Logic Controller PLC distributes an independent IP address.Each Programmable Logic Controller PLC can and host computer between carry out ethernet communication.Can comprise 64 I/O modules at most under same each IP address.Host computer can send order to Programmable Logic Controller PLC, and the content of order can be the digital quantity or the analog quantity of wishing delivery outlet output, and order can be communicated to corresponding Programmable Logic Controller PLC exactly by the IP address.Same each Programmable Logic Controller PLC also can send data to host computer, and the content of data can be digital quantity or the analog quantity that input module is being gathered in real time.
Individual node as the Programmable Logic Controller structure chart of data acquisition unit as shown in Figure 2, be connected the first analog quantity input module 4 by ethernet controller 1 with power contact 15 by ethernet controller 1, the first analog quantity input module 4 connects the second analog quantity input module 5 by power contact 15, the second analog quantity input module 5 connects the 3rd analog quantity input module 6 by power contact 15, the 3rd analog quantity input module 6 connects first analog output module 7 by power contact 15, the first analog quantity input module 7 connects second analog output module 8 by power contact 15, the second analog quantity input module 8 connects the 3rd analog output module 9 by power contact 15, the 3rd analog quantity input module 9 connects first digital quantity input module 10 by power contact 15, first digital quantity input module 10 connects second digital quantity input module 11 by power contact 15, second digital quantity input module 11 connects the first digital quantity output module 12 by power contact 15, the first digital quantity output module 12 connects the second digital quantity output module, 13, the second digital quantity output modules 13 by power contact 15 connecting terminal modules 14 by power contact 15.
The characteristics of ethernet controller 1 are: better support Programmable Logic Controller PLC or PC with centralized control; Complicated application problem can be finished by multitask; Can report to the police automatically during the fieldbus fault; The Signal Pretreatment function that self had can reduce the transmission time of fieldbus; Can directly control auxiliary device, system response time is short; Simply, self-sustaining control.
In the I/O module, the input process data obtain transforming.According to different demands, can select the I/O module of difference in functionality for use.There is the digital-to-analog I/O available at present, also can adopts special functional module, as: counter module is used for counting.
Referring to Fig. 3, the collection of utility model Ethernet data is transmitted according to the described step of system program flow process, after the system start-up, at first reads the value of operating state position, if " 1 " then enters the networking mode of operation, if " 0 " then enters the unit mode of operation.
If the networking pattern is then carried out ethernet communication, and judge whether communication is normal.If communication is normal, then continue to read the operating state position, the judgment task pattern; If communicating interrupt then starts house dog, restarting systems.
If single cpu mode then carries out " reading " and " writing " operation of input/output port, and continue the value of judgment task mode bit.
Ethernet communication subprogram flow process is referring to Fig. 4, and is specific as follows:
Step 1: beginning;
Step 2: start house dog;
Step 3:, read network state if house dog does not reset; If watchdog reset is then got back to step 1;
Step 4: read network state,, get back to step 2 if network error is then closed ethernet server; If network is normal, then read the communications protocol type;
Step 5: read the communications protocol type, if the TCP communication then starts the TCP mode communication; If the UDP communication then starts UDP communication type;
Step 6: start the ethernet server end;
Step 7: start Ethernet and read function, carry out the Ethernet read operation;
Step 8: judge whether read function makes mistakes;
Step 9: if reading function makes mistakes, then close the ethernet server end, get back to step 2; If it is normal to read function, judge then whether reading of data length is zero;
Step 10: if reading of data length is non-vanishing, then get back to step 7, continue to read; If reading of data length is zero, then judge whether to obtain Ethernet information;
Step 11: if can not obtain Ethernet information, then given client end IP address and port numbers;
Step 12: start Ethernet and write function;
Step 13: judge whether write function makes mistakes;
Step 14: get back to step 2.

Claims (5)

1. Ethernet data acquiring and transmission system, it is characterized in that: with the control appliance of Programmable Logic Controller (PLC) as data acquisition, communication, self has ethernet controller, adopts Ethernet/IP communication mode and Modbus host-host protocol and host computer to carry out ethernet communication; Also comprise the I/O module, be connected, be connected with terminal module by afterbody digital quantity output module with described ethernet controller; Programmable Logic Controller (PLC) receives digital quantity or analog signals from the collection point transducer by the I/O module, by system program and upper machine communication, selects mode of operation, with digital quantity or analog signals to controlled plant.
2. according to the described Ethernet data acquiring and transmission system of claim 1, it is characterized in that: host computer is established one as service end; Programmable Logic Controller (PLC) is a client, establishes one at least.
3. according to the described Ethernet data acquiring and transmission system of claim 1, it is characterized in that: the I/O module includes: analog quantity input module, analog output module, digital quantity input module, digital quantity output module.
4. according to the described Ethernet data acquiring and transmission system of claim 3, it is characterized in that: the I/O module also includes: counter module, and afterbody digital quantity output module and whole asking between the module.
5. according to the described Ethernet data acquiring and transmission system of claim 1, it is characterized in that: by two-way 24V DC power supply, the one tunnel connects Programmable Logic Controller (PLC), and one the tunnel connects the I/O module.
CNU2007200163273U 2007-11-30 2007-11-30 Ethernet data collecting and transmitting system Expired - Fee Related CN201134815Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007200163273U CN201134815Y (en) 2007-11-30 2007-11-30 Ethernet data collecting and transmitting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007200163273U CN201134815Y (en) 2007-11-30 2007-11-30 Ethernet data collecting and transmitting system

Publications (1)

Publication Number Publication Date
CN201134815Y true CN201134815Y (en) 2008-10-15

Family

ID=40063086

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007200163273U Expired - Fee Related CN201134815Y (en) 2007-11-30 2007-11-30 Ethernet data collecting and transmitting system

Country Status (1)

Country Link
CN (1) CN201134815Y (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751012B (en) * 2008-12-15 2011-09-21 安徽鑫龙电器股份有限公司 Device and method for realizing communication of direct current cabinet and host computer based on communication supervisor
CN101404676B (en) * 2008-11-06 2012-06-06 丹东华通测控有限公司 Processing method for calling large data volume of low-voltage distribution system
CN102545962A (en) * 2011-12-14 2012-07-04 中兴通讯股份有限公司 Network signal transmission method, equipment and system
CN102546714A (en) * 2010-12-31 2012-07-04 中国科学院沈阳自动化研究所 Comprehensive information display system of manned submersible
CN102608927A (en) * 2012-03-07 2012-07-25 北京瀚景锦河科技有限公司 Device for expanding semaphore acquisition port
CN109542059A (en) * 2018-11-19 2019-03-29 国核自仪系统工程有限公司 Historical data compression set and method
CN116540618A (en) * 2023-04-17 2023-08-04 南京电研电力自动化股份有限公司 Phase modulation unit control system and phase modulation unit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404676B (en) * 2008-11-06 2012-06-06 丹东华通测控有限公司 Processing method for calling large data volume of low-voltage distribution system
CN101751012B (en) * 2008-12-15 2011-09-21 安徽鑫龙电器股份有限公司 Device and method for realizing communication of direct current cabinet and host computer based on communication supervisor
CN102546714A (en) * 2010-12-31 2012-07-04 中国科学院沈阳自动化研究所 Comprehensive information display system of manned submersible
CN102545962A (en) * 2011-12-14 2012-07-04 中兴通讯股份有限公司 Network signal transmission method, equipment and system
CN102608927A (en) * 2012-03-07 2012-07-25 北京瀚景锦河科技有限公司 Device for expanding semaphore acquisition port
CN109542059A (en) * 2018-11-19 2019-03-29 国核自仪系统工程有限公司 Historical data compression set and method
CN109542059B (en) * 2018-11-19 2022-04-01 国核自仪系统工程有限公司 Historical data compression device and method
CN116540618A (en) * 2023-04-17 2023-08-04 南京电研电力自动化股份有限公司 Phase modulation unit control system and phase modulation unit

Similar Documents

Publication Publication Date Title
CN101452639A (en) Ethernet network data acquisition and transmission method and system
CN201134815Y (en) Ethernet data collecting and transmitting system
CN101163017A (en) Embedded transformer station information integrated server
CN103439951A (en) Information intelligent terminal system of EtherCAT field bus
CN103984323A (en) Integrated configurable industrial information monitoring, analyzing and controlling system
CN103034202A (en) Integrated collection control device
CN1964363A (en) Configurable I/O module with multiple bus interface
CN2921911Y (en) Vehicle coating production line control system based on Device Net and As-i field bus
CN201902674U (en) Online valve status monitoring system based on ZigBee technology
CN202551083U (en) Real-time data and management data separated field bus intelligent gateway
CN203012469U (en) Integrated acquisition control equipment
CN203930476U (en) A kind of engine room orders transmission peculiar to vessel and actuating unit
CN201047986Y (en) Bus type automatically remote meter-reading system
CN210323236U (en) Electric power data acquisition module with multi-sensor interface and multi-communication means
CN205003511U (en) Integration big dipper industry measurement and control terminal
CN210488282U (en) Multi-protocol data acquisition board card
CN109901506B (en) Configurable PLC based on PCIe bus
CN209184314U (en) A kind of Energy-saving for Thermal Power Units emission reduction monitoring system
CN106781392A (en) A kind of data acquisition and its acquisition system and acquisition method based on two-way http services
CN204437452U (en) Intelligent electric valve positioning device
CN206115201U (en) Intelligent servo controller with PROFIBUS bus and ethernet
CN205015457U (en) Servo motor drives testing arrangement
CN205485457U (en) Intelligent data acquisition system and device
CN204944662U (en) Checking weight weigh system
CN104750093A (en) Labview based RS485 bus structure DCS system I/O slave station testing system

Legal Events

Date Code Title Description
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: 20081015

Termination date: 20131130