CN107329423A - A kind of monitoring system based on PC and PowerPC embeded processors - Google Patents
A kind of monitoring system based on PC and PowerPC embeded processors Download PDFInfo
- Publication number
- CN107329423A CN107329423A CN201710464306.6A CN201710464306A CN107329423A CN 107329423 A CN107329423 A CN 107329423A CN 201710464306 A CN201710464306 A CN 201710464306A CN 107329423 A CN107329423 A CN 107329423A
- Authority
- CN
- China
- Prior art keywords
- fpga
- information
- monitoring
- powerpc
- host computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
Abstract
The present invention relates to a kind of monitoring system based on PC and PowerPC embeded processors, communicated to connect with FPGA, including:Flush bonding module, the monitoring information that FPGA is sent is read out, packed, operation is sent, transmission rate is adjusted, and FPGA is configured;Host computer completes monitoring information and receives, stores, counts, analyzes and report printing, and send configuration information there is provided UI interfaces;Network communication module, receives the configuration information that host computer is sent, and send the monitoring information to host computer.Have the beneficial effect that:Utilize the visualizing of PC software platforms, easy to operate, easy programming advantage, solve the problem of user need to investigate one by one for complicated monitoring information, unrecognized error message can be analyzed, the work load of user is significantly reduced, overall work quality is improved.PC softwares send FPGA configuration informations to embeded processor, and monitoring in real time and configuration in real time, substantially increase the operating efficiency of whole system when realizing FPGA operations.
Description
Technical field
The invention belongs to flush bonding module design, more particularly to a kind of prison based on PC and PowerPC embeded processors
Control system.
Background technology
In recent years, along with embeded processor and FPGA popularization, many projects modules and smart machine are applied
Such technology, embeded processor is applied to for industrial circle focus of attention.
There is the products of many utilization embedded technologys on the market at present, but portioned product limited, the user that there is man-machine interaction
The shortcomings of being difficult to investigate internal logic error.
The content of the invention
Present invention aims to overcome that above-mentioned the deficiencies in the prior art are based on the embedded places of PC and PowerPC there is provided one kind
The monitoring system of device is managed, is realized with following technical scheme:
The monitoring system based on PC and PowerPC embeded processors, includes with FPGA communication connections:
Flush bonding module, the monitoring information that FPGA is sent is read out, packed, operation is sent, transmission rate is adjusted,
And FPGA is configured;
Host computer completes monitoring information and receives, stores, counts, analyzes and report printing, and send configuration there is provided UI interfaces
Information.
Network communication module, receives the configuration information that host computer is sent, and send the monitoring information to host computer.
The further design of the monitoring system based on PC and PowerPC embeded processors is, the host computer
Based on UI interfaces and background analysis, monitoring information is classified, analyzed and shown, required data are preserved and called.
The further design of the monitoring system based on PC and PowerPC embeded processors is that host computer has divided
Into receiving after data, acquiescence preserves data to local data base, then data are analyzed, and error message write error is believed
Table is ceased, while Update log.
The further design of the monitoring system based on PC and PowerPC embeded processors is, host computer logarithm
According to preservation and call operation be based on Mysql databases.
The further design of the monitoring system based on PC and PowerPC embeded processors is that the network leads to
Letter module by Socket function interfaces based on ICP/IP protocol realize network service between host computer and flush bonding module with
Data transfer.
The further design of the monitoring system based on PC and PowerPC embeded processors is, described embedded
Module, monitoring information is transmitted in real time, is received configuration information and is configured FPGA module.
The further design of the monitoring system based on PC and PowerPC embeded processors is, flush bonding module
Data interaction with FPGA is by way of bus is connected to two panels FPGA internal SRAMs, wherein a piece of SRAM is uploaded for FPGA
Monitoring information is to embeded processor, and another SRAM is used for embeded processor to FPGA transmission configuration data.
Monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that prison
Measurement information includes a variety of monitoring information tables, each monitoring information table comprising ram addresses, lbc addresses, attribute, title, unit, retouch
State, count information.
Advantages of the present invention
The monitoring system based on PC and PowerPC embeded processors that the present invention is provided, net is carried out based on high speed network interfaces
Network is communicated, and data storage is carried out based on Mysql databases.The monitoring information that embeded processor is sent is differentiated with being divided
Analysis, and shown and alerted by host computer visualization interface.
The visualization interface and data monitoring modular that the system is provided by PC host computers can Direct Analysis obtain wrong letter
Breath, user need not one by one compare in face of hundreds and thousands of monitoring informations, greatly reduce cost of labor, improve operating efficiency.
Data are stored using Mysql databases, is easy to call and inquires about.HVN is used between host computer and embeded processor
Network transmission information, data throughput is greatly improved.Can in real time it be controlled under the operation of host computer, it is easy to operate, it is general
Property is higher.By PC host computer send configuration information to embeded processor, monitored in real time and real-time when realizing FPGA operations
Configuration, substantially increases the operating efficiency of whole system.
Brief description of the drawings
Fig. 1 is monitoring system Organization Chart.
Fig. 2 is the workflow diagram of host computer.
Fig. 3 is host computer UI interface schematic diagrams.
Fig. 4 is data analysis module flow chart.
Fig. 5 is the workflow diagram of flush bonding module.
Embodiment
The present invention program is described in detail below in conjunction with the accompanying drawings.
Such as Fig. 1, the monitoring system based on PC and PowerPC embeded processors of the present embodiment is mainly by host computer, net
Network communication module and flush bonding module are constituted.Host computer, including UI interfaces, monitoring information is received, stored, counting, analyzing, form
The modules such as printing.Host computer works in Windows system environments, is developed using JAVA language, and development environment uses Eclipse.
Network communication module includes host computer and sends prison to embeded processor send configuration information and embeded processor to host computer
Two parts of measurement information.Flush bonding module includes reading the real-time monitoring informations of FPGA, packs, sends, and transmission rate adjustment is matched somebody with somebody
Put the modules such as FPGA.Embeded processor is MPC8548, and operating system VxWorks, development environment is WindRiver4.0.It is whole
Individual system can realize the real-time upload to rear port module monitors information, preserve and analysis, it can be ensured that module monitored
Normal work.
It is the main working process of the host computer of the present embodiment such as Fig. 2.Host computer completes to receive after data, gives tacit consent to number
According to preserving to local data base, then data are analyzed, by error message write error information table.While log update mould
Block Update log.
Such as Fig. 3, the major function that the upper computer software UI interfaces of the present embodiment are provided include beginning, stopping, monitoring information,
Warning message, daily record, setting options.After user clicks on START button, host computer sends connection to embeded processor please
Ask, after network connection is set up, embeded processor starts to send data to host computer, and host computer starts to receive data and carried out
Analysis." stopping " push button function is to terminate hair number process, and terminates the network process of host computer and embeded processor.Click on
" monitoring information ", software will eject a new window.The pop-up window to show the details of all monitoring informations there is provided
Refresh option is refreshed with recovering detection information.Click on after " warning message " button, one will be ejected and show error message automatically
Window, existing to show mislabels the error message obtained after monitoring information and data analysis, and program will be automatically saved and divided
The reason for analysis mistake, simultaneously prints, while time-write interval label and entry, are easy to check the specific object of information in monitoring information.
Click on " daily record ", user can check the statistical information that monitoring information has been received since system starts, including frames received,
Receive information bar number, error message bar number, FPGA number of configuration, packet loss and date have refreshed there is provided refresh option counts
Information.When embeded processor stops sending data to PC host computers, the dialog box whether preserved can be ejected, if selection is preserved
Then all Monitoring Datas of this transmission are retained in local data base, and data will be moved out of database if selection is not preserved
Remove.Click on " set " button after, can eject cleaning option, rate options, config option, cleaning option to clear up it is expired
Monitoring information, error message, the log information of preservation, rate options provide the function of change transmission rate, and config option is provided
Dialog box is to input configuration parameter, and configuration parameter is to configure FPGA.
The data of the present embodiment preserve function and completed by Mysql databases, and default setting preserves all data accepteds, use
Family can voluntarily clear up stale data.Because the species of monitoring information is different, it is necessary to several monitoring information tables be set up, at the beginning of being respectively
Beginningization information output table, status information output table, frame receive information output table, frame output information output table.Above-mentioned each table it is interior
Hold and include ram addresses, lbc addresses, attribute, title, unit, description, counting.Foundation has log sheet.The content of log sheet is included
Frames received, receive information bar number, error message bar number, configured number, transmission rate change number of times, packet loss, the date.
Erropr message list is set up, error message tableau format is identical with monitoring information table, for misregistration information.The foundation of database
It is easy to PC to call and analyzes these monitoring informations.PC ends are stored and reading database by the link of database management language
The authority of information.
Such as Fig. 4, the data analysis module of the present embodiment considers the mistake that slave computer is likely to occur with FPGA portion, no
The monitoring information reported an error is only exported, the position letter made a mistake can be also drawn by the analysis of monitoring information between frame and frame
Cease and reported an error.
The network communication module of the present embodiment realizes the communication between flush bonding module and host computer, the present embodiment it is upper
Machine uses host computer.The present embodiment builds a C/S network using socket programming techniques, based on TCP IP agreement set up one
Reliable network connection.Flush bonding module is server end, and PC host computers are client.When network connection is required, by PC
Host computer sends link order to embeded processor, and embeded processor produces response, so as to set up network connection.It is up
Module is that embeded processor sends monitoring information to PC host computers.Embeded processor is handled monitoring information packing first,
And sent to host computer.Host computer is unpacked after receiving, first the table according to where the positional information of every monitoring information judges it,
It is deposited into again in corresponding table.Downstream module is that host computer send configuration is instructed to embeded processor.Configuration-direct includes
Stop/start transmission, speed change, configuration FPGA.Embeded processor is received and responded, if receiving FPGA configuration informations
Then FPGA module is configured.
Such as Fig. 5, the flush bonding module workflow of the present embodiment is as follows:After network connection is set up, flush bonding module to
PC host computers send data.PC is to flush bonding module send configuration information simultaneously.Flush bonding module is screened to configuration information,
With option and installment FPGA or change transmission rate.The data interaction of wherein flush bonding module and FPGA is total by flush bonding module
Line is connected to the mode of two panels FPGA internal SRAMs, wherein a piece of SRAM, which is used for FPGA, uploads monitoring information to flush bonding module,
Another SRAM is used for flush bonding module to FPGA transmission configuration data.Because monitoring information is in the storage format of flush bonding module
Had differences with network frame format, to make full use of the space of each network frame, it is necessary to be transmitted to monitoring information.
The maximum length that network frame data segment allows is generally 1500 bytes, and it is 4 bytes that each monitoring information, which accounts for word length, each
Network frame can at most send 300 ~ 400 monitoring informations.
Such as table 1, according to the monitoring information table of rear port module, monitoring information has 377, can be sent by two network frames
Finish.Flush bonding module sending module provides the function of change transmission rate, after the transmission control data of host computer is received,
Corresponding response can be made, change speed or stopping in time being sent.When receiving the instruction that host computer requirement is configured to FPGA
And after configuration parameter, flush bonding module needs to call corresponding api function to complete to configure to FPGA as indicated.
Monitoring information title | Bar number/32bit |
Initialization information is exported | 73 |
Status information is exported | 171 |
Frame receive information is exported | 63 |
Frame output information is exported | 70 |
Amount to | 377 |
The monitoring information of table 1 is counted
The monitoring system based on PC and PowerPC flush bonding modules that the present invention is provided is described in detail above, so as to
In the understanding present invention and its core concept., in the specific implementation, can be according to the present invention's for those of ordinary skill in the art
Core concept carries out a variety of modifications and deduction.In summary, this specification is not construed as limitation of the present invention.
Claims (8)
1. a kind of monitoring system based on PC and PowerPC embeded processors, is communicated to connect with FPGA it is characterized in that including:
Flush bonding module, the monitoring information that FPGA is sent is read out, packed, operation is sent, transmission rate is adjusted,
And FPGA is configured;
Host computer completes monitoring information and receives, stores, counts, analyzes and report printing, and send configuration there is provided UI interfaces
Information;
Network communication module, receives the configuration information that host computer is sent, and send the monitoring information to host computer.
2. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that described
Host computer be based on UI interfaces and background analysis, monitoring information is classified, analyzed and shown, to required data carry out preserve with
Call.
3. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that upper
Machine point completes to receive after data, and acquiescence preserves data to local data base, then data are analyzed, and error message is write
Erropr message list, while Update log.
4. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that upper
Preservation and call operation of the machine to data are based on Mysql databases.
5. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that described
Network communication module realizes the network between host computer and flush bonding module by Socket function interfaces based on ICP/IP protocol
Communications and data is transmitted.
6. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that described
Flush bonding module, monitoring information is transmitted in real time, is received configuration information and is configured FPGA module.
7. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that embedded
Formula module and FPGA data interaction are by way of bus is connected to two panels FPGA internal SRAMs, wherein a piece of SRAM is used for
FPGA uploads monitoring information to embeded processor, and another SRAM is used for embeded processor to FPGA transmission configuration data.
8. the monitoring system according to claim 1 based on PC and PowerPC embeded processors, it is characterised in that monitoring
Packet contain a variety of monitoring information tables, each monitoring information table comprising ram addresses, lbc addresses, attribute, title, unit, description,
Count information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710464306.6A CN107329423A (en) | 2017-06-19 | 2017-06-19 | A kind of monitoring system based on PC and PowerPC embeded processors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710464306.6A CN107329423A (en) | 2017-06-19 | 2017-06-19 | A kind of monitoring system based on PC and PowerPC embeded processors |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107329423A true CN107329423A (en) | 2017-11-07 |
Family
ID=60195945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710464306.6A Pending CN107329423A (en) | 2017-06-19 | 2017-06-19 | A kind of monitoring system based on PC and PowerPC embeded processors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107329423A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477341A (en) * | 2009-01-21 | 2009-07-08 | 江南大学 | Built-in machine vision measurement and control system |
CN101867500A (en) * | 2010-05-21 | 2010-10-20 | 浙江工业大学 | Method and system for realizing embedded type common plug-and-play device status monitoring adaptive network structure |
CN102608450A (en) * | 2012-02-24 | 2012-07-25 | 江苏凌创电气自动化股份有限公司 | Testing and verifying system appropriate for intelligent transformer substation and verifying method |
CN103557031A (en) * | 2013-11-22 | 2014-02-05 | 中煤科工集团重庆研究院有限公司 | Real-time automatic monitor for mine acoustic emission |
CN103684575A (en) * | 2013-11-29 | 2014-03-26 | 中国空间技术研究院 | Digital intermediate frequency measurement and control platform based on embedded technology |
CN104238422A (en) * | 2014-09-16 | 2014-12-24 | 西安诺瓦电子科技有限公司 | Tunnel monitoring system and embedded asynchronous control device |
CN105095569A (en) * | 2015-07-07 | 2015-11-25 | 北京航空航天大学 | FPGA reconfiguration system based on ARM and FLASH |
CN105357077A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Device and method for processing serial port data of multiple devices |
CN106803415A (en) * | 2017-03-27 | 2017-06-06 | 南京大学 | A kind of LED numeral modules based on arm processor |
-
2017
- 2017-06-19 CN CN201710464306.6A patent/CN107329423A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477341A (en) * | 2009-01-21 | 2009-07-08 | 江南大学 | Built-in machine vision measurement and control system |
CN101867500A (en) * | 2010-05-21 | 2010-10-20 | 浙江工业大学 | Method and system for realizing embedded type common plug-and-play device status monitoring adaptive network structure |
CN102608450A (en) * | 2012-02-24 | 2012-07-25 | 江苏凌创电气自动化股份有限公司 | Testing and verifying system appropriate for intelligent transformer substation and verifying method |
CN103557031A (en) * | 2013-11-22 | 2014-02-05 | 中煤科工集团重庆研究院有限公司 | Real-time automatic monitor for mine acoustic emission |
CN103684575A (en) * | 2013-11-29 | 2014-03-26 | 中国空间技术研究院 | Digital intermediate frequency measurement and control platform based on embedded technology |
CN104238422A (en) * | 2014-09-16 | 2014-12-24 | 西安诺瓦电子科技有限公司 | Tunnel monitoring system and embedded asynchronous control device |
CN105095569A (en) * | 2015-07-07 | 2015-11-25 | 北京航空航天大学 | FPGA reconfiguration system based on ARM and FLASH |
CN105357077A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Device and method for processing serial port data of multiple devices |
CN106803415A (en) * | 2017-03-27 | 2017-06-06 | 南京大学 | A kind of LED numeral modules based on arm processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102075963B (en) | A mobile business data acquisition analysis method and a system for the same | |
CN103646437B (en) | Based on the student attendance method and system of IC-card and gsm communication mode | |
CN107945048A (en) | A kind of data additional collecting system based on metering automation system | |
CN102801714B (en) | Method for analyzing and reducing SQL (Structured Query Language) command in TNS (Transparent Network Substrate) protocol in by-pass manner | |
CN111600848B (en) | Protocol converter and control method thereof | |
CN110784398A (en) | Data acquisition gateway and data analysis method for industrial Internet of things processing equipment | |
CN106597901A (en) | Distributed integral energy consumption management and analysis method and system based on cloud service | |
CN108196515A (en) | Cross-platform real-time data processing method and device | |
CN212850567U (en) | Digital economic index data acquisition system | |
CN101158859B (en) | Defect data real time collecting device and method thereof, and production line real-time data capturing system | |
CN107329423A (en) | A kind of monitoring system based on PC and PowerPC embeded processors | |
CN101539765A (en) | High-speed acquisition method and system of industrial process data | |
CN111083047B (en) | Gateway based on internet of things multi-protocol communication | |
CN204288199U (en) | Printing device LPT data virtual system | |
CN106656773A (en) | Communication system and method | |
CN206931114U (en) | A kind of architecture engineering material Stores Management System | |
CN109241167A (en) | List data introduction method based on B/S framework | |
CN101541021B (en) | Method for automatically generating capacity-warning reports | |
CN102571412A (en) | Target machine server of embedded distributed system | |
CN106708701A (en) | Central maintenance device and method based on ARINC659 bus | |
CN106534213A (en) | Information management system, management method thereof and communication control system | |
CN107918659B (en) | Energy gateway system and data conversion method | |
CN207133857U (en) | Intelligent inventory management system | |
CN201638071U (en) | Management system of clothing production line | |
CN110989537A (en) | Production data processing method, apparatus, medium, and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171107 |