CN106094763B - A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA - Google Patents

A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA Download PDF

Info

Publication number
CN106094763B
CN106094763B CN201610622722.XA CN201610622722A CN106094763B CN 106094763 B CN106094763 B CN 106094763B CN 201610622722 A CN201610622722 A CN 201610622722A CN 106094763 B CN106094763 B CN 106094763B
Authority
CN
China
Prior art keywords
module
instruction
register
responsible
response
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.)
Active
Application number
CN201610622722.XA
Other languages
Chinese (zh)
Other versions
CN106094763A (en
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.)
BEIJING HUIWU KELIAN TECHNOLOGY Co Ltd
Beijing University of Technology
Original Assignee
BEIJING HUIWU KELIAN TECHNOLOGY Co Ltd
Beijing University of Technology
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 BEIJING HUIWU KELIAN TECHNOLOGY Co Ltd, Beijing University of Technology filed Critical BEIJING HUIWU KELIAN TECHNOLOGY Co Ltd
Priority to CN201610622722.XA priority Critical patent/CN106094763B/en
Publication of CN106094763A publication Critical patent/CN106094763A/en
Application granted granted Critical
Publication of CN106094763B publication Critical patent/CN106094763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Control By Computers (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)

Abstract

The invention discloses a kind of restructural polycarboxylate water-reducer automated production controller based on FPGA, after serial data receiving module, instruction check module, instruction dissection process module are mutually contacted successively, instruction dissection process module connect with register and carries out data inputting;After register is handled, register is connect the data of typing with response instruction framing module, and response instruction framing module, response instruction cache module, serial data sending module are sequentially connected in series, and carry out data output.Switch process module, sensor data acquisition module, dropwise addition control module, charging control module, discharging control module are connected in parallel on register.Register has three groups of control and regulation, data processing, status display module compositions.After Flash drive modules are connected with SD card module for reading and writing, Flash drive modules are connect with register;The present invention can realize seamless switching, and easily extension, more flexible update.

Description

A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA
Technical field
The present invention relates to industrial control fields, more particularly, to a kind of restructural polycarboxylate water-reducer automated production Controller.The seamless switching of industrial control unit (ICU) communications protocol is realized using FPGA dynamic restructuring technologies.
Background technology
Polycarboxylate water-reducer be cement concrete use in a kind of cement dispersants, and cement mixed mud be building in most Basic substance, therefore it is required that polycarboxylate water-reducer has very high product quality, this requires the productions of polycarboxylate water-reducer Process must be stable, efficient, high-quality and safe.
The production process of polycarboxylate water-reducer is controlled by automated production controller, it, which has been connected up, operates in industrial personal computer On industrial control software, receive the order that is sent by industrial control software of user;It is connected to various industrial instruments downwards, in real time acquisition life Produce the Various types of data, such as temperature of reaction kettle, quality of material, material pH value etc. at scene.
Automated production controller is communicated by specific communications protocol and industrial control software and all kinds of instrument.It uses Communications protocol is different with the type of industrial control software and all kinds of instrument, the difference of producer, and field bus protocol is up at present Hundreds of.
The control core of polycarboxylate water-reducer automated production is the control to chemical reaction process, influences product quality Factor includes the temperature etc. in the type of material for participating in chemical reaction, quality, adding speed, chemical reaction process.These Factor is all related with the data that the control command content and controller of user acquire in real time.Therefore, controller uses correct It is the key that obtain correct data that communications protocol carries out communication with industrial control software and industrial instrument.The type of communications protocol is increasingly It is more, in order to ensure that production process is correct and uninterrupted, it has to which the communications protocol that will likely be used as far as possible is all being controlled simultaneously It is realized on device processed, to realize the online switching of agreement.And in single production work, may there was only the participation of a portion agreement Real work.The power consumption, cost and complexity of controller system are considerably increased in this way, while reducing the collection of controller system Cheng Du and resource utilization.
Invention content
The present invention is directed to the defect of existing design, it is proposed that a kind of restructural polycarboxylate water-reducer automation based on FPGA Production Controller.
The controller includes serial data receiving module, instruction check module, instruction dissection process module, response instruction group Frame module, serial data sending module, switch process module, sensor data acquisition module, is added dropwise response instruction cache module Control module, charging control module, discharging control module, Flash drive modules and SD card module for reading and writing.
After serial data receiving module, instruction check module, instruction dissection process module are mutually contacted successively, instruct at parsing Reason module connect with register and carries out data inputting;After register is handled, register instructs the data of typing with response Framing module connects, and response instruction framing module, response instruction cache module, serial data sending module are sequentially connected in series, and are carried out Data export.
Control module, charging control module, discharging control mould is added dropwise in switch process module, sensor data acquisition module Block is connected in parallel on register.
Register has three groups of control and regulation, data processing, status display module compositions.Flash drive modules and SD card After module for reading and writing connection, Flash drive modules are connect with register.
Restructural polycarboxylate water-reducer automated production controller and industrial personal computer based on FPGA are logical by RS-232 buses Letter, serial ports director data receiving module are responsible for receiving serial ports instruction;Instruction check module judges current communication protocol type, right Dissection process module and response instruction framing module is instructed to carry out dynamic restructuring;Dissection process module is instructed to be responsible for carrying out instruction Parsing, to trigger corresponding task execution;Response instruction framing module is responsible for according to communications protocol and current all devices The execution state assembly response of state and task instructs;Response instruction cache module caches assembled response instruction;Serial ports number Response instruction will be read from response instruction cache module according to sending module to send one by one;Switch process module is responsible for control and is connected The switch and reading equipment feedback states of valve arrangement;Sensor data acquisition module is responsible for what the connected sensor of identification used Communication protocol type and automatic dynamic reconstruct agreement and the correct acquisition for completing various kinds of sensors data;Control module, which is added dropwise, includes PID regulatory functions are responsible for requiring completion material to be added dropwise by fixing speed and time according to instruction;Charging control module is responsible for The charging of the material of completion definite quality is required according to instruction;Discharging control module is responsible for completing the object of definite quality according to instruction The discharging of material;Flash drive modules are responsible for realizing that the read-write of Flash, SD card module for reading and writing are read from SD card for reconstruct Configuration file is written by the way that Flash drive modules are written in Flash so that FPGA can load configuration when reconstructing from Flash File.
The beneficial effects of the invention are as follows:(1) reconfigurable function:Make all communications protocol using FPGA Reconfiguration Technologies It may not necessarily all be realized in single chip simultaneously, but need which kind of agreement to be just reconstructed into the function of replanting agreement using. (2) seamless switching:Using FPGA partial reconfiguration technologies, power-off restoration, while non-reconstruct mould are not necessarily to when communications protocol switches Block is unaffected, and can keep non-stop run.(3) easily extension:When needing newly-increased communications protocol, it is only necessary to realize new communication Protocol section and the configuration file for generating the part, without considering program integration etc..(4) flexibly update:It is deposited using SD card Configuration file is stored up, system loads automatically when reconstruct, therefore user is without learning using complicated download software, it is only necessary to will update text Part copies into SD card.
Description of the drawings
Fig. 1 is the system the general frame of the present invention.
Fig. 2 is the temperature of reaction kettle curve graph using common power-down mode update director demon.
Fig. 3 is the temperature of reaction kettle curve graph that director demon is updated using dynamic restructuring mode.
Specific implementation mode
The present invention is described in further details with specific implementation mode below in conjunction with attached drawing.
As shown in Figure 1, the present invention is a kind of restructural polycarboxylate water-reducer automated production controller based on FPGA, packet It includes serial data receiving module, instruction check module, instruct dissection process module, response instruction framing module, response instruction slow Serial data sending module, switch process module, sensor data acquisition module, control module, charging control is added dropwise in storing module Module, discharging control module, Flash drive modules and SD card module for reading and writing.
User operates on industrial personal computer software, and instruction by agreements such as RS232 is issued to controller, by GPIO interface into Enter FPGA.Instruction is received by serial data receiving module, is identified the type of present instruction by instruction check module and is verified content Legitimacy, then generate reconstruction signal if necessary to handoff protocol.Command analysis module is responsible for analysis instruction content, and triggering is corresponding Task, including controlled valve, execution or terminate dropwise addition task, execution or terminate charging task, execution or terminate discharging task, look into Ask valve state, inquiry sensor values, inquiry dropwise addition task status, inquiry charging task status, inquiry discharging task status. Respective acknowledgement instruction is assembled for inquiry instruction type by response instruction framing module, is put into response instruction buffer, serial ports number Instruction is read according to sending module from response buffering to be sent.The soft cores of Microblaze realized inside FPGA are as dynamic weight The controller that structure is realized, is connected by PLB buses with other modules.The software program write on it will read reconstruction signal, Corresponding configuration file in Flash will be read when needing to be reconstructed completes reconstruct.SD card module for reading and writing is responsible for reading in SD The configuration file that is stored in card is simultaneously loaded into Flash for being used when reconstruct.
Fig. 2,3 are to update controller journey using traditional common power-down mode during the dropwise addition of a material respectively The temperature of reaction kettle curve graph of sequence and the temperature of reaction kettle curve graph that director demon is updated using dynamic restructuring mode.
A common reaction kettle unit is generally made of A measuring tanks, B measuring tanks, alkali measuring tank, reaction kettle;It was added dropwise Journey refers to the material in A measuring tanks and B measuring tanks and is instilled in reaction kettle by presetting speed, and alkali measures during primary be added dropwise Tank has no participation work, temperature of the temperature sensor on reaction kettle for acquiring chemical reaction in real time, and by artificial or industry control For software into the control and regulation of trip temperature, the temperature chemically reacted in the process, which is added dropwise, will directly influence product quality.
If the title for needing the weighing sensor that alkali measuring tank is used to be changed to other producers during primary be added dropwise Retransmit sensor, it is necessary to update the communications protocol that corresponding portion in director demon uses.Alkali measuring tank does not participate in being added dropwise Process, therefore modification alkali measuring tank should not influence the normal work being added dropwise.
When using traditional program update mode, need to carry out power-off restoration to controller when downloading program, then just It can cause it that the interruption of process is added dropwise.As shown in Fig. 2, interlude is temperature represents corresponding period director demon power-off along drop Reseting procedure is likely to cause this section of time response kettle temperature control, influences product quality at this time.
Power-off restoration is not needed to using the update of mode into the line program of dynamic restructuring, therefore dropwise addition process will not be caused Interruption, realize the seamless switching of communications protocol, as shown in Figure 3.

Claims (1)

1. a kind of restructural polycarboxylate water-reducer automated production controller based on FPGA, it is characterised in that:
The controller includes serial data receiving module, instruction check module, instruction dissection process module, response instruction framing mould Response instruction cache module, serial data sending module, switch process module, sensor data acquisition module, control is added dropwise in block Module, charging control module, discharging control module, Flash drive modules and SD card module for reading and writing;
After serial data receiving module, instruction check module, instruction dissection process module are mutually contacted successively, dissection process mould is instructed Block connect with register and carries out data inputting;For the data of typing after register is handled, register instructs framing with response Module connects, and response instruction framing module, response instruction cache module, serial data sending module are sequentially connected in series, and carry out data Output;
Control module, charging control module, discharging control module is added dropwise simultaneously in switch process module, sensor data acquisition module It is associated on register;
Register has three groups of control and regulation, data processing, status display module compositions;Flash drive modules and SD card read-write After module connection, Flash drive modules are connect with register;
Restructural polycarboxylate water-reducer automated production controller based on FPGA passes through RS-232 bus communications, string with industrial personal computer Mouth director data receiving module is responsible for receiving serial ports instruction;Instruction check module judges current communication protocol type, to instruction Dissection process module and response instruction framing module carry out dynamic restructuring;Instruction dissection process module is responsible for solving instruction Analysis, to trigger corresponding task execution;Response instruction framing module is responsible for according to communications protocol and current all device shapes The execution state assembly response of state and task instructs;Response instruction cache module caches assembled response instruction;Serial data Sending module will read response instruction from response instruction cache module and send one by one;Switch process module is responsible for controlling associated valve The switch and reading equipment feedback states of door equipment;Sensor data acquisition module is responsible for identifying that connected sensor uses logical News protocol type and automatic dynamic reconstruct agreement and the correct acquisition for completing various kinds of sensors data;Control module, which is added dropwise, includes PID regulatory functions are responsible for requiring completion material to be added dropwise by fixing speed and time according to instruction;Charging control module is responsible for The charging of the material of completion definite quality is required according to instruction;Discharging control module is responsible for completing the object of definite quality according to instruction The discharging of material;Flash drive modules are responsible for realizing that the read-write of Flash, SD card module for reading and writing are read from SD card for reconstruct Configuration file is written by the way that Flash drive modules are written in Flash so that FPGA can load configuration when reconstructing from Flash File.
CN201610622722.XA 2016-08-01 2016-08-01 A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA Active CN106094763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610622722.XA CN106094763B (en) 2016-08-01 2016-08-01 A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610622722.XA CN106094763B (en) 2016-08-01 2016-08-01 A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA

Publications (2)

Publication Number Publication Date
CN106094763A CN106094763A (en) 2016-11-09
CN106094763B true CN106094763B (en) 2018-11-09

Family

ID=57479722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610622722.XA Active CN106094763B (en) 2016-08-01 2016-08-01 A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA

Country Status (1)

Country Link
CN (1) CN106094763B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7607005B1 (en) * 2004-12-22 2009-10-20 Rmt, Inc. Virtual hardware system with universal ports using FPGA
CN204302727U (en) * 2014-12-22 2015-04-29 苏州浩克系统检测科技有限公司 A kind of real-time control system based on ARM and FPGA
CN104865915A (en) * 2015-03-19 2015-08-26 北京工业大学 Polycarboxylate superplasticizer automatic production line intelligent controller
CN204989875U (en) * 2015-07-24 2016-01-20 山东女子学院 Restructural test instrument based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010035102A1 (en) * 2010-08-23 2012-04-19 Bürkert Werke GmbH Control unit for fluidic systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7607005B1 (en) * 2004-12-22 2009-10-20 Rmt, Inc. Virtual hardware system with universal ports using FPGA
CN204302727U (en) * 2014-12-22 2015-04-29 苏州浩克系统检测科技有限公司 A kind of real-time control system based on ARM and FPGA
CN104865915A (en) * 2015-03-19 2015-08-26 北京工业大学 Polycarboxylate superplasticizer automatic production line intelligent controller
CN204989875U (en) * 2015-07-24 2016-01-20 山东女子学院 Restructural test instrument based on FPGA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FPGA的AP模式及在可重构仪器中的应用;张文泉 等;《计算技术与自动化》;20110930;第30卷(第03期);第33-37页 *
基于EARP的通用总线自重构系统设计;李渊 等;《电子测量技术》;20150228(第02期);第16-19页 *

Also Published As

Publication number Publication date
CN106094763A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN100535813C (en) Embedded movement control card based on ARM
CN103403633A (en) Cpu of plc, system program for plc, and recording medium storing system program for plc
Bao et al. FPGA-based reconfigurable data acquisition system for industrial sensors
CN106068480A (en) Programmable logic controller and apparatus control method based on programmable logic controller
US20040128027A1 (en) Method and apparatus for controlling a plant
CN102360046A (en) General test method for motor vehicle electrical product
CN106444657B (en) A kind of Modbus main website command processing method and main station controller
CN102870053A (en) CPU of plc, system program for PLC, and recording medium storing system program for PLC
CN102739219A (en) Switch multiplexer devices with embedded digital sequencers
CN105137800A (en) PLC cooperative control device based on SOPC technology
CN101170785B (en) Device and method for TCL to test base station software
JP2009008667A (en) Test equipment and test method
CN106094763B (en) A kind of restructural polycarboxylate water-reducer automated production controller based on FPGA
CN106774118A (en) Robot manipulation's box and operating system
TWI781495B (en) Information processing system, information processing device, method of using information processing device, user terminal and program thereof
CN109634230B (en) Signal acquisition and control device and service configuration method thereof
CN1303162A (en) Communication management device of measuring and control unit in automatization system of transformer station
CN109918321B (en) PCIe bus-based online reconstruction method
CN103729213B (en) A kind of method and device of Flash online upgradings
CN109240179B (en) Distributed sand table model control system
JP5951458B2 (en) Programmable controller test equipment
CN101770004A (en) Automatic detection method for electric instrument
CN101183328A (en) Computer universal serial bus interface device time-limited timing controller
RU2547216C1 (en) Digital computer
CN103246607A (en) Simulation testing method for communication interface of address bit mode of aerial camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant