Workshop appliance monitoring system based on Powerlink
Technical field
A kind of monitoring system is the utility model is related to, particularly a kind of workshop appliance monitoring system based on Powerlink.
Background technology
Workshop appliance monitoring running state is to carry out data acquisition to the sensor on each station of operational outfit
And analysis, alarm is made to workshop appliance failure according to analysis result, and control execution structure to be adjusted and control equipment,
The occurrence probability of equipment fault is reduced, foundation is provided for equipment state overhauling, ensures the stable operation of equipment.With the communication technology
Development, workshop appliance condition monitoring require data transfer have real-time, certainty.
At present, the upper strata of workshop appliance control system generally uses ethernet communication mode, and lower floor is generally total using scene
The communication mode of line, it is impossible to meet the accuracy of monitoring of equipment and the information of monitoring, control and alarm in real time is provided.In addition, car
Between the applications of a large amount of sophisticated machine also produce two problems:First, device status monitoring system needs the data volume gathered significantly
Increase;Second, monitoring system is put forward higher requirements for the real-time of data transfer.Using real-time ethernet as Industry Control
Solution be Industry Control developing direction, Powerlink Industrial Ethernet has higher real-time, easy to developing
The features such as transplanting, is easy to and upper system integrates.
It is now that the main problem of workshop appliance monitoring system is as follows:
(1) workshop various kinds of equipment communication interface species is various, and equipment is all unit communication, and communication uses fieldbus, passes
Defeated speed is low, and every equipment becomes an actual information-based isolated island, the Centralized Monitoring system for lack unified management and control, efficiently dispatching
System;
(2) existing workshop appliance digital output modul shake is big, and real-time is poor, it is impossible to meets demand for control, it is necessary to using tool
Standby real-time, the monitoring system of deterministic control ability.
The content of the invention
Technical problem to be solved in the utility model is in view of the deficiencies of the prior art, there is provided one kind is based on
The workshop appliance monitoring system of Powerlink, solves realtime control that existing workshop appliance monitoring system do not possess, determines
The problem of property.
Technical problem to be solved in the utility model is realized by following technical solution.The utility model is
A kind of workshop appliance monitoring system based on Powerlink, its main feature is that, the system mainly by ipc monitor PC,
Powerlink main websites and slave computer data acquisition slave station composition;Powerlink main websites and each slave computer data acquisition slave station it
Between be communicatively coupled using Powerlink buses;Powerlink main websites, the controller of slave computer data acquisition slave station use
Arm processor, onboard communication interface are high speed network interfaces;The controller of Powerlink main websites is with STM32F407ZGT6 monolithics
Machine minimum system is core component, onboard button is connected with STM32F407ZGT6 single-chip minimum systems, LCD, 4 tunnels are opened
Pass amount input, the output of 4 way switch amounts, 4 road analog inputs, 2 road analog outputs, JTAG debugging interfaces;4 road analog inputs
As temperature, the input port of pressure acquisition, communication port of the 8 way switch amount input and output as I/O equipment group control signals;
Slave computer data acquisition slave station is connected by signal wire with each workshop appliance respectively.
A kind of workshop appliance monitoring system based on Powerlink described in the utility model, its further preferred skill
Art scheme is:Sensor is installed on the workshop appliance, the sensor be selected from voltage sensor, current sensor,
In temperature sensor, motor speed sensor, vibration frequency sensor, switching value inductor, workshop condition rate-of-change sensor
It is several.
Compared with prior art, the technique effect of the utility model is as follows:
The Powerlink main websites of workshop appliance monitoring system, from station control directly using being based on ARM high-performance processors
Exploitation, onboard communication interface is high speed network interfaces.Powerlink real-time industrial ethernet agreements are transplanted to ARM
(STM32F407VGT6)On platform.Monitoring system digital output modul based on Powerlink is dithered as 1us, and communication cycle reaches
To 200us, it is achieved thereby that the certainty of workshop appliance, real-time communication monitoring.The concrete function that it is realized is as follows:
(1)Controller communication interface is network interface, realizes " net is on earth " design concept;
(2)The workshop of visual pattern sets monitoring:Monitoring system gathers workshop equipment running status, and equipment is opened including lathe etc.
Off-mode, warning message, main shaft load, cutter use state, machine situation etc.;
(3)Certainty, real-time digital output modul are realized, shake is less than 1us, communication cycle 200us.
Brief description of the drawings
Fig. 1 is workshop appliance monitoring system Organization Chart of the utility model based on Powerlink;
Fig. 2 is Powerlink main station controller block diagrams;
Fig. 3 is the data acquisition and monitoring method flow diagram of workshop appliance monitoring system.
Embodiment
Referring to the drawings, the concrete technical scheme of the utility model is further described, in order to those skilled in the art
Member is further understood that the utility model, without forming the limitation to its right.
Embodiment 1, with reference to Fig. 1 and 2, a kind of workshop appliance monitoring system based on Powerlink, the system is mainly by upper
Position machine monitoring PC, Powerlink main websites and slave computer data acquisition slave station(Abbreviation Powerlink slave stations or slave station)Composition;
It is communicatively coupled between Powerlink main websites and each slave computer data acquisition slave station using Powerlink buses;
Powerlink main websites, the controller of slave computer data acquisition slave station use arm processor, and onboard communication interface is express network
Interface;The controller of Powerlink main websites using STM32F407ZGT6 single-chip minimum systems as core component,
Be connected with STM32F407ZGT6 single-chip minimum systems onboard button, LCD, 4 way switch amounts input, 4 way switch amounts it is defeated
Go out, 4 road analog inputs, 2 road analog outputs, JTAG debugging interfaces;4 road analog inputs are as temperature, pressure acquisition
Input port, communication port of the 8 way switch amount input and output as I/O equipment group control signals;Slave computer data acquisition slave station
It is connected respectively by signal wire with each workshop appliance.
Sensor is installed, the sensor is selected from voltage sensor, current sensor, temperature on the workshop appliance
If spend in sensor, motor speed sensor, vibration frequency sensor, switching value inductor, workshop condition rate-of-change sensor
Dry kind.
Powerlink main websites send enabled instruction to each slave computer data acquisition slave station, and handle in real time
The record workshop appliance voltage that is transmitted in Powerlink buses, electric current, temperature, rotating speed, vibration, pressure, sensor displacement, open
Guan Liang, workshop condition variable and power quality operating parameter, monitor the real-time running state of workshop appliance, the storage of all data
On the server, and realize fully-automatic equipment fault alarm and control the timely start and stop equipment of executing agency;Powerlink master
Stand, the controller of slave computer data acquisition slave station uses arm processor, onboard communication interface is high speed network interfaces, will
Powerlink real-time industrial ethernet agreements are transplanted on ARM platforms.
Workshop appliance monitoring system mainly completes the data acquisition session to state variable in workshop appliance operational process.Tool
Body includes:Motor voltage electric current, device temperature, motor speed, vibration frequency etc., and switching value, workshop condition variable
Deng some status informations.Controller mainly needs the quantity of the analog quantity and switching value gathered according to workshop appliance monitoring system
To select the type of main control chip, memory storage mode, network communication mode.In view of the application circumstances in workshop, electricity
Road design focal point considers anti-electromagnetic interference capability using light-coupled isolation processing input/output interface.Controlled in view of Powerlink
System has higher message transmission rate and stronger requirement of real-time, and system selects ARM chips to complete controller hardware
Partial circuit designs, in design, it is necessary to consider many factors, such as host CPU type selecting, memory selection, the choosing of communication plan
Select.The characteristics of by analyzing the control system based on Powerlink, such as traffic rate, I/O switching values, the quantity of A/D, network
Selection of chip etc.;Consideration system will have preferable dynamic response and preferable steady stability precision controlling requirement.Embodiment makes
Designing and developing for network hardware interface is completed with STM32F407ZGT6 and DP83848CVV.
Tthe utility model system according to the actual demand of workshop appliance condition monitoring, develop based on ARM chips and
The workshop appliance monitoring system scheme of Powerlink Industrial Ethernet, realizes the monitoring to workshop appliance.To meet various works
The application demand of device status monitoring under condition.
The utility model realize by Powerlink agreements its be applied to heating network monitoring equipment on, preferably with
The controller based on Powerlink is designed based on STM32F407ZGT6 and physical layer transceiver chip DP83848CVV, completes one
A workshop appliance monitoring system including 1 management node He several control nodes.
Powerlink is the industrial real time ethernet protocol based on standard ethernet hardware platform, so ether can be realized
The platform of net, can generally realize Powerlink.The application background of the design is workshop appliance monitoring system, is communicated to system
Rate requirement be less than servo drive system, the design of controller hardware platform is primary concern is that the certainty of data transfer.
Powerlink main station controllers and slave computer data acquisition are transplanted from the Powerlink protocol stacks of station control:
The transplanting of Powerlink is divided into main station controller and slave station controller protocol stack is transplanted respectively, mainly includes:NIC driver
Partial modification, the configuration of object dictionary, timer Timer parts configure;Main website network data is touched by high-precision clock
Hair, periodically carries out data interaction with slave station and performs IO operations;Powerlink master-salve stations are directly using main website poll slave station
Form transmits the data of real time synchronization, in the rear part-time of a cycle period transmits the common of non real-time requirement
Data;In Powerlink communication process task to be treated generally comprise event queue, Ethernet transmitting-receiving process event, when
Clock event handling and external key input processing.
It is as follows with reference to Fig. 3, the data acquisition and monitoring method of workshop appliance monitoring system:Workshop appliance condition monitoring system
Data acquisition and control completed under ipc monitor PC monitoring, mainly include Powerlink main websites control slave computer
The sensing data of the data acquisition slave station collection each station of workshop appliance and the fortune according to monitoring analysis output control equipment
Row state;Ipc monitor PC sends data harvesting request to field layer, after field layer Powerlink main websites receive request message
Start poll slave computer data acquisition slave station, slave computer data acquisition slave station judges to be sent from ipc monitor PC to field device
Data harvesting request message, field device judge it is to gather switching value or sensor die analog quantity after request message is received, such as
Fruit is that collection digital quantity just directly reads field device I/O module port, and preserves the digital quantity, is then packaged into message transmission
Shown to ipc monitor PC;It is the collection request message of analog quantity that if field device is received, the control of Powerlink main websites
Device will start internal AD conversion, and the important station sensor analog quantity of port processing is packaged into Powerlink messages and send to upper
Machine monitoring PC monitoring interfaces are shown.