CN110262425A - A kind of induction heating dcs - Google Patents
A kind of induction heating dcs Download PDFInfo
- Publication number
- CN110262425A CN110262425A CN201910568344.5A CN201910568344A CN110262425A CN 110262425 A CN110262425 A CN 110262425A CN 201910568344 A CN201910568344 A CN 201910568344A CN 110262425 A CN110262425 A CN 110262425A
- Authority
- CN
- China
- Prior art keywords
- data
- plc
- induction heating
- module
- dsp
- 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/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
-
- 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/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32406—Distributed scada
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention belongs to technical field of electrical automation control, disclose a kind of induction heating dcs, setting value of the local monitor resume module from PLC, completes acquisition, processing, calculating to induction heating equipment electricity, and output control amount controls induction heating equipment;Main control module is acquired using PLC, receives and transmit various data;And the data of acquisition are passed into digital signal processing unit;Electric quantity signal is sent to display operation unit and main control module using circuits such as serial communications by communication module;Remote monitoring module shows and modifies the state of each induction heating power.Present system uses object oriented designing thought, correctly effectively divide according to operation characteristic to each functional module of control software, whole system software is made to have powerful interface function and good real-time;The present invention is practical, reliable for operation, uses and overhauls convenient for site operation personnel.
Description
Technical field
The invention belongs to technical field of electrical automation control more particularly to a kind of induction heating dcs.
Background technique
Currently, the prior art commonly used in the trade is such that
1950-1959, along with the appearance of semiconductor silicon thyristor, solid-state semiconductor component becomes modern electric
The core of electronics, in intermediate frequency range, by the heating device that thyristor is realized gradually instead of in the way of traditional.But
Because of the limitation of the parameters such as the characteristic of thyristor itself, cause there is out of contior shutdown, operating frequency range is narrow etc. lacks
Point is not able to satisfy the requirement of most of loads.Especially in high-frequency range, because the limitation of these disadvantages is to variable-frequency power sources
Development causes very big technical difficulty.The 1970's to 1980, because successfully having developed large quantities of novel electric power
The design of electronic semiconductor components, higher frequency and more powerful heating power supply is also gradually developed success.It is most widely used
The how sub- device MOSFET of unipolarity, have there is no storage time, switching speed is fast, loss power is small, existing without second breakdown
As, be easy the advantages that in parallel, become main switching device in high-frequency high-power induction heating power device.
Status both at home and abroad, early in the mid-80, the Western European countries' just opening using power field effect pipe as high frequency electric source
Device is closed, and has researched and developed successfully frequency 200KHZ, power supply of the power up to tens of kilowatt.China is at present in associated high-frequency power supply
Research and development aspect is in the starting stage, and the induction power supply of 600KW/400KHZ has been used for pipeline welding by foreign countries, it is seen that China
It differs greatly with foreign level.In the latter stage eighties, the full control of a kind of comprehensive field-effect tube and bipolar transistor advantage is had developed
Type thyristor IGBT, since IGBT possesses the features such as switching speed is fast, and capacity is big, and on-state voltage drop is low, the high speed of high-voltage great-current
IGBT becomes the main devices of numerous heating power supplies.Each power supply manufacturer has also been proposed technology maturation both at home and abroad now
The IGBT power supply of independent research.For example, obtaining in research and production practice for Electric Power and Electronic Factory, Qinghua Univ.'s production is wide
The 300KW/50KHZ current mode induction heating power of general application, more and more high-frequency high-power power supplys are succeeded in developing, this
The blank of domestic line related development and exploitation has been filled up to a certain extent.
The control unit of the switching device of previous induction heating power is built by analog circuit, because of analog circuit
There are many disadvantages for control, for example are not easy to update, and maintenance cost is high, monitoring capacity difference etc., far away from digital circuit.With electronics
There is the unit of some column of figure controls, such as single-chip microcontroller, DSP in the development of technology.The appearance of these controllers is induction heating
Power supply provides flexible, economic and high-precision control method.For DSP because being integrated with mlultiplying circuit etc., arithmetic speed is far fast
In single-chip microcontroller, and single-chip microcontroller is then relatively strong in terms of digital control function.Along with the development of DSP, many manufacturers are by the high speed of DSP
The high control ability of operation and single-chip microcontroller is combined together, to develop the special DSP for being suitble to various controls, this DSP is removed
Integrate it is some necessary to outside functions, also add dead zone and flexible and changeable multi-channel PWM generator, High Speed High Precision ADC
Converter.These functions are applied equally to the control system of intermediate frequency induction heating power supply.DSP can not only overcome simulation well
The shortcomings that control, and can also realize the control method of some complexity.Such as the closed loop control algorithm based on high-speed computation, it is right
Medium frequency induction power supply has stable control etc..In recent years, DSP because science and technology progress price gradually reduce, with single-chip microcontroller
Price is more and more close, and developing instrument is also simplified.Power electronic technique enters the microcomputer control epoch, controls along with microcomputer
The industry heating power supply of the development of technology and constantly improve for power electronic technique, high frequency efficient is possibly realized.Because of number control
The plurality of advantages of system, so that the induction heating power of Digital Control becomes one of main development trend.At home, it digitizes
The induction heating power of control, which fails comprehensively to realize, to be promoted the use of, and domestic dedicated chip cost is high, and can be with DSP substitution
Realize low cost control.Realize that DSP has very high use value and market value to induction heating power control.
Traditional induction heating power is controlled using analog circuit, and wiring is complicated, and installation and debugging are difficult big.Its inverter circuit
It often works in medium-high frequency section, the control signal wire for controlling heating power supply generates many interference.Therefore induction heating
The reliability of power supply is more much lower.The solution of the problem is also at project important in research.With the development of technology, especially
It is the research of fieldbus constantly deepened, uses it on a large scale.Facilitate R & D design, the scene of all kinds of control systems
The repair and maintenance of installation and debugging, long-term normal production run and equipment.
Induction heating using alternating current by the electromagnetic induction effect that is generated when coil come work so that in metal material
Portion forms vortex, and there are resistance values for metal material.According to formula: Q=I2RT is begun to warm up from metal inside.Heating efficiency ratio
Traditional heating method improves very much, because being begun to warm up from metal inside, heat is spread from the inside to the outside.Traditional
Heating method heats from outside to inside, and the two compares induction heating speed faster and the energy wasted is less and very environmentally friendly.Companion
With these advantages, induction heating is widely used in in the techniques such as metal material melting, welding, local heating.According to induction
The working principle of heating, structure are broadly divided into two parts, wherein generating the variable-frequency power sources of variable alternating current, facilitate adjusting
The frequency of alternating current changes the virtual value of output electric current, achievees the purpose that control heating temperature.Another part is then coil, will
Electric energy is converted into electromagnetic energy, and the electric current of variation generates changing magnetic field, and changing magnetic field generates induced current in metal inside, from
And reach heating effect.Metal material is processed using a large amount of induction heating in factory now, so study its distribution
Formula control also becomes important one of project.
Induction heating is most fast heating method known now, because of its working principle, has spy in utilization
Not more advantage.Such as: not only it can integrally heat but also part therein can be heat-treated when being processed to workpiece;
It can control the position that metal inside generates vortex, surface heating or internal heating to metal material may be implemented.Tradition
Difficulty can be very big when the material of the air that cannot be contacted certain for heating in heating, is also that more be difficult to control for its heating
System, and be very simple for induction heating.The induction furnace being put into material in vacuum is only needed, change is passed through
It is i.e. controllable that the power frequency of input indirectly controls current effective value.Induction heating is also suitable nonmetallic working process, can
To nonmetallic heating etc. in a manner of through heat transfer.Therefore it will necessarily be obtained in the following induction heating technique more and more extensive
Application.
In conclusion problem of the existing technology is:
(1) control of induction heating power is controlled using analog circuit in the prior art, wiring is complicated, installation and debugging
It is difficult big.
(2) distribution-free formula control system can be monitored induction heating equipment and intelligent control in the prior art.
(3) existing control system, data collection capacity are big, and transmission line is long, and transmission efficiency is low, data inaccuracy.
(4) heater wires have different heating stations, when coping with multi items heating, need worked in induction heating
Pre-set parameter is transmitted to heating station in journey.
Solve the difficulty of above-mentioned technical problem:
The control of induction heating power analog circuit.
When multistation heats, parameter needs adjust in real time according to operating condition, and main website needs and slave station establishes reliable connection.
Distributed monitoring system main website is shaken hands using " transmission-reception " mode with slave station, due to being one master and multiple slaves mode, prison
It controls PLC and 8 DSP is controlled by RS485 serial communication network, send director data to DSP, then receive the data that DSP is returned.
Since all nodes share RS485 bus, the information transmitted in bus is easy to send conflict and collision.Therefore must have stringent
Communication timing control, otherwise 8 DSP slaves all send data, and confusion will occur for communication.The present invention is actively sent out using PLC
It send, DSP response, then the received mode of PLC carries out transmitting-receiving control.
In response to fast, main website and interaction data of slave station are more as far as possible, to reduce interaction times.
Industry spot has interference, it is necessary to be accurately judged to communication mistake.
Solve the meaning of above-mentioned technical problem:
The present invention has designed and developed induction heating distributed monitoring system based on PC machine, PLC, DSP.Since this is
The PLC master station and DSP slave station of system are all project team's exploitations, therefore devise communication protocol, utilize the transmitting-receiving of flag bit control PLC
Process judges communication abnormality situation.System has put into production operation, as a result reliable and stable, meets production needs.And adopting
The fire data collected is shown and is stored, convenient for inquiry from now on.This not only improves the flexibility of heating equipment, and
And basic data also is provided for the informationization of equipment.
Summary of the invention
In view of the problems of the existing technology, the present invention provides a kind of induction heating dcs.
The invention is realized in this way a kind of induction heating dcs, the induction heating distributed AC servo system
System specifically includes:
Local monitor module: including digital signal processing unit (i.e. DSP) and display operation unit;It is come from for handling
The setting value of PLC, completes acquisition, processing, calculating to induction heating equipment electricity, output control amount to induction heating equipment into
Row control.
Main control module: for acquiring using PLC, receive and transmit various data;And the data of acquisition are passed into number
Signal processing unit.
Communication module: for electric quantity signal to be sent to display operation unit and master control mould using circuits such as serial communications
Block.
Remote monitoring module: for remotely showing and modifying the shape of each induction heating power using SIMATIC WINCC
State, parameter, the state of communication.
Further, the local monitor module specifically includes:
Digital signal processing unit: for handling the real time data from main control module, and induction heating power is acquired
Many kinds of parameters, real-time delivery is to main control module and display operation unit.
Display operation unit: for answering heating power supply state (operation stops, failure) and electric current, frequency using touch screen
The display and modification of rate setting value.
Further, the main control module specifically includes:
Main control module acquires the temperature data of heating furnace using the SM331 module of PLC using PT100 sensor;PLC simultaneously
Data of the receiving from multiple DSP slave stations are uploaded to remote monitoring module and show, and the data in remote monitoring module are passed
Pass digital signal processing unit.
Further, the induction heating dcs construction method specifically includes:
The interface of host computer is connect by step 1 with PLC Ethernet interface, and SIMATIC S7 is added under the interface WINCC
PROTOCOL Suite driver, and communicated by ICP/IP protocol;System parameter, and newly-built connection are set, even
Connect the IP address for the PLC that middle setting needs to connect.
Step 2, WINCC variable is corresponding with the variable of PLC, online modification variable data are tested between WINCC and PLC
Transmission it is whether correct.
Step 3 establishes set of variables below newly-built connection, created in set of variables format, the data type of variable with
And the storage address relevant parameter of corresponding PLC.
Step 4, the drafting of the various tools progress graphical interfaces provided in graphic editor using software, including but
It is not limited to start-up picture, transition picture.
Step 5, design PLC and DSP communication message, signal procedure and temperature detection, system building are completed.
Further, the induction heating distributed control method specifically includes:
(1) real time data is acquired, analyzed and handled;Utilize voltage, the electricity of sensor acquisition heating power supply output
Stream, frequency calculate power, energy, power factor, and more whether the data and setting value for analyzing acquisition are more than bound.It is more than
With regard to alarm;And current flow, frequency, power factor correlation charge value are shown using touch screen.
(2) closed-loop control is carried out by the temperature of acquisition, stably reaches the furnace temp of setting.PLC joins according to technique
Number, obtains the set temperature of each station DSP, and temperature sensor measures scene temperature, is input to PLC as feedback temperature, setting
Temperature subtracts the deviation that feedback temperature just obtains temperature, and by scale conversion, temperature transition at corresponding electric current, PLC is sent
Electric current is to DSP, and DSP controls heating power according to current value, thus formation temperature closed-loop control.
PLC passes through the data of Analog input mModule temperature collection sensor, by calculating electricity compared with given temperature
Setting value is flowed, then sends the current setting value to DSP, DSP is allowed to adjust heating power, reduces temperature deviation.
(3) using communication import, Real Data Exchangs are carried out.PLC sends current setting value and frequency setting value to DSP;
PLC receives the current acquisition value and power factor value that DSP is sent.
(4) PLC receives the data of each slave station, and the parameter by returning carries out the judgement of communication issue.
PLC and DSP carry out information exchange using specified protocol format, and when exchanging information to the correctness of data into
Row judgement, improves the reliability of communication.After PLC is complete to some DSP transmission data, returns in OB1, call and receive data function
Energy.Its receive data flow it is as shown in figure 16, according to communications reception agreement communicate whether problematic judgement.PLC passes through receipts
Communications status flag bit I15.0 judges to receive whether complete.If I15.0=0, further according to MB1 state may determine that be with
Which DSP communication is abnormal, by corresponding communication mistake mark position 0.As I15.0=1, PB-B-RS232/485/V35
State is finished in receiving, by corresponding communication mistake mark position 1, illustrates that reception data are normal.It can be with when communicating normal
Carry out data transmission whether correctly judging, school is carried out according to the data byte of fixations several in the communication protocol being provided above
It tests, when clock synchronization can not be judged as data transmission fault to one of data, by corresponding communications error flag position 0,
Indicate PLC and the DSP communication data transfer mistake.Only all verification is upper for data check byte, will could lead to accordingly
Believe error of transmission mark position 1, and corresponding storage address is written into received data.
(6) data are comprehensively shown using monitoring interface, monitors the state and parameter of induction heating equipment.It is shown on interface
Show frequency setting value, current setting value, electric current return value, power factor value, communication mistake mark, communications error flag.
For indicating miscue, corresponding variable is Boolean type, carries out Dynamically Announce using indicator light when drawing image, shows when being true
Show that green indicates normal, is the shown in red expression mistake of fictitious time.According between the state of display available PLC and DSP
Communication conditions.
Another object of the present invention is to provide a kind of information datas for carrying the induction heating dcs
Processing terminal.
Another object of the present invention is to provide a kind of computer readable storage mediums, including instruction, when it is in computer
When upper operation, so that computer executes the induction heating distributed control method.
In conclusion advantages of the present invention and good effect are as follows:
Host computer WINCC of the present invention connects PLC by Ethernet, realizes data exchange.System response time is improved,
Technological parameter is stored in industrial personal computer, can be called the technological parameter of response with different kinds, is transmitted to by WINCC
PLC is transmitted to corresponding DSP by PLC master station.Parameter is manually entered when not needing to change kind, saves manpower.DSP is acquisition
Live electric current, power factor send PLC to, PLC send host computer to be shown and stored the feedback data of the DSP of acquisition.
Data can be shown and be changed by host computer interface in PLC in the present invention, facilitate management;And PLC passes through
PROFIBUS-485 communication carries out information exchange using specified message format with DSP, and when exchanging information to data just
True property is judged, the reliability of communication is improved;PLC passes through the data of AI input module temperature collection sensor, by data
Current setting value is calculated, then sends current setting value to DSP, acquires the feedback information of DSP, convenient for observing the reality of data
Shi Bianhua.
The present invention rectifies and improves communication mode, prevent it is one-to-many communication cause confusion, mistake situations such as, by practical survey
Data result analysis is tried, the feasibility of the communication pattern is demonstrated.
Present invention employs precision, and high, good linearity current sensors carry out electric quantity acquisition, guarantee the standard of collected data
True property.Analog-to-digital conversion is carried out using the D/A converter of multichannel, guarantees the rate of acquisition data conversion.DSP main control core is adopted
Use TMS320f28335 as main control chip, program is simple.The communication journey of PLC is carried out using the programming language of visual block diagram
Sequence exploitation.Furnace temperature wherein is acquired using input module SM331AI8x13bit, stores data in PLC, is converted using algorithm
For corresponding current data.Host computer interface is designed using convenient and plc communication WINCC, is carried out after being simply arranged
WINCC can be communicated with PLC, simplify communication development process.Entire monitoring system has real-time high, and hardware configuration is simple
It is single, it is at low cost, have the characteristics that measurement is preparatory high, can satisfy the requirement for carrying out real time monitoring to heat parts technique.
The further advantage of control system provided by the invention has: (1) electric quantity acquisition module: real time data is acquired,
Analysis and processing.Show current flow, frequency, the charge values such as power factor (PF).
(2) DSP control module: closed-loop control is carried out by the electricity that electric quantity acquisition module acquires, so that stable reaches
The furnace temp of setting.
(3) communication module: using intermediate communication module, RS485 interface is turned by PROFIBUS, by the real-time number of the two
According to swapping.Simplify communication process.
(4) Local Control Module: single DSP is connect by RS232 interface with enlightening text screen, and it is aobvious to carry out simple data
Show, while local operation can also can be carried out to DSP by enlightening text screen.
(5) PLC module: as the main website of control system, receive the data of each slave station, and the parameter by returning carries out
The judgement of communication issue, improve communication and reliability.
(6) graphic display interface: the interface of WINCC design simply can comprehensively show data, reach preferable see
Examine effect.
This system uses object oriented designing thought, carries out to each functional module of control software according to operation characteristic
Correct effective division, makes whole system software have powerful interface function and good real-time.The distributed AC servo system system
Practical function of uniting is strong, reliable for operation, uses and overhauls convenient for site operation personnel.
Communication protocol of the present invention is short, and real-time is high.Using the transmitting-receiving process of flag bit control PLC, communication abnormality feelings are judged
Condition.System has put into production operation, as a result reliable and stable, meets production needs.
Detailed description of the invention
Fig. 1 is induction heating distributed control system structure schematic diagram provided in an embodiment of the present invention.
In figure: 1, local monitor module;2, main control module;3, communication module;4, remote monitoring module.
Fig. 2 is induction heating power dcs schematic diagram provided in an embodiment of the present invention.
Fig. 3 is induction heating power control structure figure provided in an embodiment of the present invention.
Fig. 4 is induction heating dcs construction method flow chart provided in an embodiment of the present invention.
Fig. 5 is induction heating distributed control method flow chart provided in an embodiment of the present invention.
Fig. 6 is communications setting schematic diagram provided in an embodiment of the present invention.
Fig. 7 is to create variable schematic diagram in variable management provided in an embodiment of the present invention.
Fig. 8 is monitoring interface schematic diagram provided in an embodiment of the present invention.
Fig. 9 is partial timing diagram provided in an embodiment of the present invention.
Figure 10 is transmission program chart provided in an embodiment of the present invention.
Figure 11 is initialization schematic diagram provided in an embodiment of the present invention.
Figure 12 is provided in an embodiment of the present invention to carry out displacement schematic diagram to MW0.
Figure 13 is data storage schematic diagram provided in an embodiment of the present invention.
Figure 14 is that calling provided in an embodiment of the present invention sends subroutine flow chart.
Figure 15 is transmission program flow diagram provided in an embodiment of the present invention.
Figure 16 is provided in an embodiment of the present invention to receive data program flow chart.
Figure 17 is determining program schematic diagram provided in an embodiment of the present invention.
Figure 18 is that data transmission problems provided in an embodiment of the present invention judge schematic diagram.
Figure 19 is SM331 wiring diagram provided in an embodiment of the present invention.
Figure 20 is channel configuration schematic diagram provided in an embodiment of the present invention.
Figure 21 is error-logic schematic diagram provided in an embodiment of the present invention.
Figure 22 is serial data schematic diagram provided in an embodiment of the present invention.
Figure 23 is interface display test schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention
It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to
Limit the present invention.
The control of induction heating power is controlled using analog circuit in the prior art, wiring is complicated, and installation and debugging are tired
It is difficult big.Distribution-free formula control system can be monitored induction heating equipment and intelligent control in the prior art.Existing control system
System, data collection capacity are big, and transmission line is long, and transmission efficiency is low, data inaccuracy.
To solve the above problems, being described in detail with reference to the accompanying drawing to technical solution of the present invention.
As shown in Figure 1 to Figure 3, induction heating dcs provided in an embodiment of the present invention specifically includes:
Local monitor module 1, main control module 2, communication module 3, remote monitoring module 4.
Local monitor module 1: including digital signal processing unit 5 (i.e. DSP) and display operation unit 6.Come for handling
From the setting value of PLC, acquisition, processing, calculating to induction heating equipment electricity are completed, exports control amount to induction heating equipment
It is controlled.
Main control module 2: for acquiring using PLC, receive and transmit various data;And the data of acquisition are passed into number
Signal processing unit 5.
Communication module 3: for electric quantity signal to be sent to display operation unit and master control mould using circuits such as serial communications
Block.
Remote monitoring module 4: for remotely showing and modifying the shape of each induction heating power using SIMATIC WINCC
State, parameter, the state of communication.
Local monitor module 1 provided in an embodiment of the present invention specifically includes:
Digital signal processing unit 5: for handling the real time data from main control module, and induction heating power is acquired
Many kinds of parameters, real-time delivery is to main control module and display operation unit.
Display operation unit 6: for answering heating power supply state (operation stops, failure) and electric current, frequency using touch screen
The display and modification of rate setting value.
Main control module 2 provided in an embodiment of the present invention specifically includes:
Main control module 2 acquires the temperature data of heating furnace using the SM331 module of PLC using PT100 sensor;Simultaneously
PLC receives the data from multiple DSP slave stations and is uploaded to the display of remote monitoring module 1, and by the number in remote monitoring module 1
According to passing to digital signal processing unit 5.
As shown in figure 4, induction heating dcs construction method provided in an embodiment of the present invention specifically includes:
The interface of host computer is connect by S401 with PLC Ethernet interface, and SIMATIC S7 is added under the interface WINCC
PROTOCOL Suite driver, and communicated by ICP/IP protocol;System parameter, and newly-built connection are set, even
Connect the IP address for the PLC that middle setting needs to connect.
S402, WINCC variable is corresponding with the variable of PLC, online modification variable data are tested between WINCC and PLC
It whether correct transmits.
S403 establishes set of variables below newly-built connection, created in set of variables the format of variable, data type and
The storage address relevant parameter of corresponding PLC.
S404 carries out the drafting of graphical interfaces in graphic editor using the various tools that software provides, including but not
It is limited to start-up picture, transition picture.
S405, design PLC and DSP communication message, signal procedure and temperature detection, system building are completed.
As shown in figure 5, induction heating distributed control method provided in an embodiment of the present invention specifically includes:
S501 is acquired real time data, analyzes and handles;And current flow, frequency, power are shown using touch screen
Factor correlation charge value.
S502 carries out closed-loop control by the electricity of acquisition, stably reaches the furnace temp of setting.
S503 carries out Real Data Exchangs using communication import.
S504, PLC receive the data of each slave station, and the parameter by returning carries out the judgement of communication issue.
S505 comprehensively shows data using monitoring interface, monitors the state and parameter of induction heating equipment.
Technical solution of the present invention and technical effect are described further combined with specific embodiments below.
Embodiment 1
1, the analysis and design of induction heating power distributed AC servo system.
(1) system model of induction heating power distributed AC servo system.
As shown in Fig. 2, the structure of induction heating power dcs mainly includes two large divisions: local operation list
Member, i.e. an industrial enlightening text touch screen are mainly responsible for induction heating power state (operation stops, failure) and electric current, frequency
The display and modification of rate setting value.In addition, local DSP is used as from control system core, wherein main processing comes autonomous control system
The real time data of system, and many kinds of parameters of induction heating power is acquired, real-time delivery is to master control system and Di Wen touch screen.
Remote control unit, host computer remotely show and modify the state of each induction heating power, parameter, communication shape
State.PLC is responsible for acquisition, receives and transmit various data as master control system.PLC is passed by SM331 module using PT100
The temperature data of sensor acquisition heating furnace.In addition data of the PLC receiving from multiple DSP slave stations are uploaded to host computer and show, and
And the data in host computer are passed into DSP.
(2) Monitor Computer Control System exploitation software selection.
(1) SIMATIC WINCC (Windows Control Center)-form control centre, is by Siemens Company
Integrated man-machine interface (HMI) system and monitoring management system of exploitation, with good open and flexibility host computer
Configuration software.Its software provides the user interface of powerful system function and close friend, and Windows can be made full use of powerful
Graphic editing function, make monitoring device operating status be easier observe mobilism, conveniently constitute monitored picture and reality
Existing control function.In terms of data management, report, historical data etc. can be generated, provide convenience for industrial monitoring and control software exploitation
Software Development Platform, improve the quality of industrial control software on the whole.Its design philosophy should mainly have the special feature that: function is complete
It is standby, it is convenient intuitive, reduce cost.
Monitor system software of the present invention uses WINCC, and there are two reasons, one is because the function of WINCC is more powerful,
Required data in the present invention are shown, data inputting provides corresponding I/O input and output domain, and problem display uses dynamic
Picture process changes according to the variation of variable, plays good suggesting effect.WINCC can be good at realizing in summary
The required function of the present invention, two allow for the s7-300PLC and its programming tool step7 of slave computer selection, are all with WINCC
The product of German Siemens company, WINCC itself provides the driver communicated with s7-300, not need additional write
The signal procedure of the two, so that the computer capacity equipped with WINCC couples with PLC well.
(3) induction heating power control structure designs.
As shown in figure 3, structure chart includes sensor Acquisition Circuit, A/D conversion circuit, DSP, enlightening text screen monitoring interface, PLC
Deng.By DSP programming, acquisition, processing, calculating to induction heating power electricity are completed, and is completed to induction heating electricity
The control in source.Then electric quantity signal is sent to enlightening Wen Ping and main control PLC by circuits such as serial communications, utilizes opening for enlightening Wen Ping
Hair tool design interface carries out display analysis, realizes monitoring function.Using PLC function by multiple data carry out taxonomic revision,
Storage.
2, the design of the control system of induction heating power.
(1) WINCC monitoring interface design process.WINCC software is for the visual control and man-machine defeated during production
Enter control and good environment is provided.It provides the graphical display of the data suitable for a variety of production processes, and message notifying is returned
Shelves and report capability module.High performance PROCESS COUPLING, can free configuration speed frame updating, and reliable number
According to.It is strengthened in the practicability of industrial aspect.
Other than these basic system functions, WINCC software additionally provides current with the PLC of Siemens various series
Driver, so that PLC and host computer do not need to write program, the communication connection of the two becomes simple.In order to preferably solve
User's protocol questions, WINCC are also integrated with the multiple functions such as alarm logging management, global script, device status monitoring.Below
These functions of WINCC can simply be introduced.
Graphic editor: editor's editing machine of visualization interface is provided for user, wherein process picture can be created, can be made
The panel type that is inserted into process picture for example, the process picture with the panel instance influenced by Type Change.It is compiling
Standard object can be created by collecting in device, smart object, window object, pipe object etc., and some of objects may be coupled to variable,
By the movement write or function, the display to variable is carried out.
Variable record: variable record is the value for acquiring variable different time, needs to be shown and filed, be free to
Select timer, filing, the data format for filing configuration.
Global script: global script is packaged C function and some function of movement, in graphics edition, can be carried out
The execution of function is realized in event edits, the triggering of event.
User Manager: User Manager is used to distribute and control the single configuration of user and the visit of operating system editing machine
Ask permission.As soon as the access rights of WINCC function are arranged and are allocated independently to this user whenever establishing a user.At most may be used
Distribute 999 variant authorizations.User's authorization can match in system motion time.
User archive: WINCC user archive is a Database Systems, and user oneself can be to its configuration.In this way, coming
The data of technical treatment can Coutinuous store on the server and at runtime Real time displaying.And it is connected the formula of control and sets
The assignment of definite value also can store in user archive and be transmitted to control when needed.It specifically includes: i) host computer and PLC
Communication.The interface of host computer is connect with PLC Ethernet interface, corresponding drive is added under newly-built WINCC project interface
Dynamic program.The present invention design addition driver be SIMATIC S7 PROTOCOL Suite, and by ICP/IP protocol into
Row communication.After setting system parameter, connection is created, the IP address for the PLC that setting needs to connect in this connection.As shown in Figure 6.
Test communication, WINCC variable is corresponding with the variable of PLC, online modification variable data test the transmission between WINCC and PLC
It is whether correct.Ii it) creates and needs the external variable exchanged: establishing set of variables below newly-built connection, created in set of variables
The parameters such as the storage address of the format of variable, data type and corresponding PLC.The present invention needs newly-built variable to have eight electric currents
Setting value, eight electric current return values, eight power factor (PF)s, 16 error flag values, a frequency values.Because display format is asked
Topic, needing to be arranged variable in variable is 32 754 formats of IEEE of floating number, and the data that PLC stores a variable are 16
Position, so need to convert type of data format in wincc variable management, it can using FloatToUnsignedWord
The two to be corresponded.The current value that data source is measured in DSP in PLC, because storage format problem multiplies data
100 extension needs restoring data in wincc is shown, system carries linear calibrating function in variable management, and AS range is arranged
0~10000 (AS is the value range that PLC transmits data), OS value range is 0~100 (OS is that wincc shows data area), real
Data conversion during now showing.As shown in Figure 7.Iii it the) design of monitoring interface: is mentioned in graphic editor using software
The various tools supplied carry out the drafting of graphical interfaces, including start-up picture, transition picture etc..The domain I/O is utilized in key frame
Input data and display data are carried out, wherein the format of the display of data can be changed in attribute column, conveniently check, will correspond to
The domain I/O connect with the external variable created in variable management before, join the display in the domain I/O or the specified variable of change
Number.It for miscue, is shown using the principle for being similar to indicator light, corresponding variable is bool type, when drawing image
Dynamically Announce need to be used, green expression normally expression mistake shown in red when for vacation show when for genuine when.If
It is as shown in Figure 8 to count monitoring interface.
(2) PLC design process.Specifically include: a) PLC designs the basis of program structure.Program in PLC in CPU is substantially
Operating system program can be divided into and user program is as follows: operating system program, CPU included program, major function are configuration PLC
Hardware, software and data resource, control program operation provides simply easily controllable environment for user.
Wherein configured comprising interrupt priority level;Time, cycle interruption;Self diagnosis;Data protection;Communication setting;Network
Setting;Starting mode;Various memory settings.
The response of CPU can be influenced in some regions by some default parameters of modification operating system.
User program is write by function that user realizes according to actual needs, has the generation for realizing certain specific functions
Code, may be implemented the control of automated production.The task that user program needs to have comprises determining that the Starting mode of CPU prevents
Unnecessary loss is caused in actual motion.Data handling procedure is passed through specified using the switching signal of input, analog signal
Logical construction controls the operation such as output signal or transmitting data.Response is interrupted, and when system is interrupted, system can be adjusted automatically
Response events are handled wherein needing to write interrupt routine with interrupt routine.Handle the interference of normal cycle program.
B) block in user program: containing multiple logical blocks in STEP7, provides conveniently for the code of writing of user.These
Block is similar to the function in C language, can write code wherein, the process of certain some repetitive operation is made only to need to call this
A little blocks can solve, and greatly simplify program code, more easily understand and modify.These blocks have the advantage that simplified journey
Sequence, big program modularity;It is easy to the modification of program;Enhancing programmed readability is explained in filling in block program;It can individually debug
A certain piece of program simplifies the debugging process of program;System debug is simpler.
It is task block one by one that example in industrial production, which is exactly by automation process cutting, by the program of user program
Root module, i.e. these logical blocks correspond to these single task blocks.
C) block type.It can be created in S7 user program and use a plurality of types of pieces: as shown in 1 block type of table.
1 block type of table
OB, FB, SFB, FC and SFC are because include certain program segments, also referred to as logical block.Every kind of block type license
Block number mesh and block length determined by CPU.
D) communication status word, control word and exchange section.
PLC is converted to RS485 through the module by PROFIBUS bus and communicates with DSP that (module needs in PLC configuration
Carry out configuration, otherwise cannot achieve communication), the module have by function it is as follows:
RS232/485 baud rate can select according to actual needs: 300,600,1200,2400,4800,9600,
19.2K,38.4K,57.6K.(selected in the present invention 4800).
Character format and verification: 8 no parity checks, 8+even parity check, 8+odd, 7+even parity check, 7+odd,
8+address/data label, 7+2 stop positions+no parity checks.(8 no parity check modes of use)
Self-timing sending function: in configuration, regularly send ask every when ask from 50 milliseconds to 10 it is second optional.(automatic weight
Send out time 1s).
Present invention tool is there are two types of in such a way that length is controlled and received and finished: 1. by character pitch reception: when receiving one
When continuous 3.5 character times are not received by character late after character, it is believed that the message ends.
2. being received by length: determining to receive message length according to the value in the space specified in message format to control and receive report
Text terminates.(message format defined in the present invention, receives length and transmission length is different, so selection mode 2).
PROFIBUS input/output data exchange corresponding with RS232/485 region, wherein the region exchanged can be in group
It is configured in state software step7.As shown in table 2.
2 data exchange region of table
Receive in PLC such as chart 2 in message, the length of IB0 expression reception data, IB1 indicates communication status word, such as table 3
It is shown.
3 communication status word of table
When PLC sends message, format is as shown in table 1.QB0 indicates to send message length, QB1 expression communications status
Word, as shown in table 4.
4 communication control word of table
In table D0:start_tr starting send label include: be triggering mode as auto_txd=0, at this time only when
When start_tr becomes 1 (rising edge) by 0, primary send is triggered.Automatic sending mode as auto_txd=1, at this time only when
When start_tr=1, bus bridge is automatically continuously sent according to " automatic to send interval " that selects in configuration.
So-called " sending primary ": i.e. starting RS232/485 interface sends process, will according to (in QB0) message length
Data send message as RS232/485 in PROFIBUS output data area, are sent to field device.As shown in table 5.
5 D1, D0 control table of table
The specific control format of D7, D6 is as shown in table 6 in table 4.
6 D7, D6 control table of table
3, the design of PLC and DSP communication message, comprising: PLC sends current setting value+PLC frequency setting value.
Format are as follows: frame head (AAh+55h)+length (09h)+device number (XXh)+current setting value (XXXXh)+frequency setting
It is worth (XXXXh)+reserved 1 (XXXXH)+reserved 2 (XXXXH) [totally 12 bytes].
PLC receives the sent out number of DSP: PLC sends current setting value+PLC frequency setting value, and (setting value can be used for school
Test)+DSP current value+DSP power factor value.
Format are as follows: frame head (BBh+66h)+length (0Dh)+device number (XXh)+current setting value (XXXXh)+frequency setting
It is worth (XXXXh)+electric current return value (XXXXh)+power factor return value (XXXXh)+reserved 1 (XXXXH)+reserved 2 (XXXXH)
[totally 16 bytes].Advantage: transmitting-receiving can once be completed.
Input/output port in order to facilitate data exchange region and control module does not repeat, and selects the space of exchange area
It answers as far as possible far from the commonly used input-output space in front, so design exchanges the specific format in section, as shown in table 7.
7 communication format of table
4, Communication Programming.For the problem in very good solution actual motion, communication pattern is changed
Into.Because communication process belong to it is one-to-many, cannot be using " one hair one receive " mode.This mode goes wrong in some DSP
When, PLC needs to extend the time to carry out judging whether to go wrong to this DSP, causes entire cycle period elongated, affects
The real-time update of other DSP data.So communication mode of the present invention carries out transmission data to DSP using Fixed Time Interval is interior,
And the mistake communicated is judged by reception process, when confiscating the data that some DSP is sent back for a long time, is judged as DSP
Miscommunication.Timing diagram has only drawn the timing that data are exchanged with four DSP as figure 9, in figure.
It is as shown in Figure 10 wherein to send program flow diagram, because PLC processing routine fast speed will be same in 200ms
Program executes repeatedly, only allows to send once according to the format drafted for program for sending, so needing a marker bit
It indicates that data only have sent once, is then limited using changing marker bit.In program using eight in MB11 store respectively for
Eight DSP send the marker bit of a data, and after having sent data, the mark position 0, program will not call this to set later
Standby number transmission subprogram, the marker bit can be 1 again only after a cycle, and expression can send out second of data
?.
Realize block diagram using program, OB1 block as main program, needed in initialization some data initializations is primary, therefore
And these data cannot write in OB1.Because OB100 block has the primary function that is only called when PLC brings into operation,
Required parameter is once initialized.In a program, PLC carries MOVE instruction, can use this instruction and realizes certain
The assignment of a little parameters (in assignment, constant needs the constant format being arranged according to PLC to be write).Initialization section screenshot is as schemed
Shown in 11.
It needs to carry out the delay of 200ms in flow diagram, block is also provided in PLC and realizes delay, cycle interruption OB35
Block, wherein the time of cycle interruption can be configured in the CPU of PLC.When timing time reaches, CPU can call interruption
Block executes the program code in interruption block, and the program in OB35 block is interrupt routine, is only needed according in flow chart by MB1
It is shifted, SHL shift instruction is provided in S7-300.It cycles through to realize, circulation primary completion is done in a program
A judgement, then assignment again.It is 16 that SHL, which instructs corresponding operation data length, so program is different, screenshot is such as
Figure 12.
PLC receives the data from 8 DSP and needs to be also required to be distinguished into the data for saving respectively, and sending data
Storage.Some data in actual motion are also required to save after a power failure, and PLC provides DB block, can be good at protecting
Deposit data, power down are not lost.The wherein data that DB1 storage needs to send, the data that DB2 storage receives.Part screenshot such as Figure 13
It is shown, because data are stored as a word in dsp, in communication process as unit of byte, so a data are divided into high by 8
Position and least-significant byte are stored.
It establishes and sends subprogram, utilize functional block FC0.Write transmission subprogram in FC0 block, establish parameter, it is convenient for
When being sent to the data of different DSP, only need the argument by corresponding DSP to pass to parameter in call subroutine, then into
Enter subroutine module, the data that wherein parameter is sent with needs handle by program and are placed on the life to be sent such as designated position
It enables, upon completion of a data transfer, directly initiates transmission order, the data of data field just send, can be with using program block
Make program simplification.As shown in figure 14, the data for the storage that argument address is DB1.DBB2 are I1_HIGH, pass it to FC0 block
Middle parameter variable I_HIGH, subsequent transmitting situation are similar.
Because PLC has executed the program time in an OB1 less than 200ms, in order to guarantee in 200ms only to one
DSP sends a data, needs not recalling transmission subprogram after executing the primary transmission of completion, is stored using MB11 and send number
According to the label of completion, it is primary that subroutine call is sent with MB1 co- controlling.Work as MB1=00000001, MB11=00000001
When, main program, which calls, sends subprogram, and after the completion of sending data, MB11=00000010, MB1 is constant, will not in 200ms
Transmission subprogram can be again introduced into.These functions needs carry out in FC0 block.FC0 internal program realizes process, will first obtain argument
The parameters of data pass to and corresponding send space address.After the completion of data transmission, PB-B-RS232/485/V35 is detected
Whether in sending in data, when it is not retransmited in data, Q11.0 is set into high level, works as PB-B-RS232/485/
When V35 detects this rising edge, start to receive the data that PLC is transmitted.The rising edge of PLC inner utilization Q11.0 makes as pulse
Data displacement in MB11 is primary, to complete the function that data are once transmitted.As shown in figure 15.
Above is the full content for sending program.It sends and has reserved several bytes in data, add it again after convenient
His function.
5, PLC receives data program design process.
PLC can be returned in OB1 after the completion of calling any one to send subprogram, then called and received data subprogram.
Content in format by message is carried out classification preservation to data by the subprogram.The data to work in default of factory site
Value, so will not analyze in a program the data that DSP is passed back, the operation such as judgement, only can according to pass back message format and
Agreement some data do simple communication issue in terms of judgement.It is as shown in figure 16 that it receives data procedures flow chart.
After PLC is complete to some DSP transmission data, calling receives data program.Judge miscommunication is according to mould
The communication status word of block PB-B-RS232/485/V35 illustrates that PB-B-RS232/485/V35 is in as I15.0=1 and has received
Finish or send permission state.Illustrate that communication is normal, then according to the device number judgement in the message received be and which
Device talk is normal, then by mark position 1, when there is communication mistake by corresponding mark position 0.Part determining program is cut
Figure is as shown in figure 17.
It can just carry out data transmission correctly judging when communicating normal, be held very much according to the message format being provided above
Easily whether the transmission of data is correctly judged.The message of receipts is compared one by one according to given message format, when it
In a data clock synchronization can not be judged as data transmission fault, then by the device number for including in message, will mark accordingly
Remember position 0, indicates PLC and this equipment communication data transfer mistake.According to receiving in data program flow chart, only whole cores
Corresponding memory space can just be write data into upper message.Part screenshot is as shown in figure 18.
In the present invention, input module SM331AI8x13 bit attribute includes: a) to share 40 points, and eight points are one group logical
Road is divided into eight groups;B) range of the physical quantity of input is selected in the configuration of S7 configuration;By minimum resolution formula
It is found that by selecting suitable range that can be programmed to resolution ratio in software configuration.
C) needed in eight channels configuration software select measurement physical quantity such as voltage, electric current, resistance, temperature, so
The corresponding connection method for passing through the following figure afterwards, can survey corresponding physical quantity.
D) measurable range size has been given in the measurement range in each channel in configuration software, it is only necessary to which user is certainly
Oneself selects according to the actual situation.
E) electric motor protecting temperature monitoring is carried out using the PTC for meeting IEC60034-11-2 type A.
F) temperature is recorded by KTY83/110, KTY84/130 silicon temperature sensor.Wiring diagram is as shown in figure 19.
Programming interface is as shown in figure 20, wherein can be selected respectively eight channels, can with temperature collection, electric current,
Voltage, resistance physical quantity.The corresponding region I/O is I100-I115, and each channel occupies the size of two bytes.Correspondingly
Location region can be modified in configuration.It needs for corresponding passway to be arranged to relevant measurement physics in the configuration of channel
Amount, the range of physical quantity needs to consider actual conditions, according to circumstances selects the range adapted to, conveniently reach to the physical quantity compared with
It needs to be attached according to the connection figure of given survey related physical quantity accurately to measure, in line.Eight groups of channels are freely mutual
It does not interfere, different physical quantitys can be measured with unrestricted choice.
Below with reference to experimental result, the invention will be further described.
(1) the PLC program problem.Because repeatability downloading program, memory block is not covered with out in on-line testing
Existing multiple states, call multiple subprograms to cause to send multi-group data simultaneously, cause logic is mixed to fall.As shown in figure 21.It is downloading
Occur some data cover problems in the process, lead to the generation of this phenomenon, needs after the completion of each downloading data, again
Start PLC, to remove the data for mistake occur.
Do not notice that saving format is different when designing plc communication program, causes to occur in program operation process
MW0 is assigned a value of when incipient by many problems because SHL instruction is shifted as unit of two bytes
0100H, it is believed that MB1=01H, MB0=00H.Then using eight positions in MB1 as the flag bit for sending data, when MW0 passes through
To be assigned a value of 0100H again after 0001H after displacement.Then it is spread out of in testing without data.By existing to program
Line debugging finds the data of MW0 after displacement, and the data of MB1 begin to be 0, cannot gate the blockette for sending data.By
After carrying out serious analysis to the storage format of PLC, just wherein the data as unit of word, a high position correspond to low byte, low level for discovery
Corresponding high byte.When as being assigned a value of 0001H in MW0, MB1 01H, MB0 00H.It is final logical by the modification to script program
Program is interrogated to run according to the result of required design.
When PLC only communicated with 1, No. 4 equipment when using USB adapter measure wherein transmission data it is as shown in figure 22.
The message format wherein received is identical as the format of the communication of setting, and expression communicates successfully, other problems does not occur.PLC
With when other eight DSP are communicated simultaneously, situation is also similar therefore not screenshot one by one.By test, PLC is communicated just with multiple DSP
Often, wherein the data returned also can intuitively find out which DSP is not communicated very much.
In the inspection mistake of signal procedure, first is communication mistake, and second is data transmission fault.It is wrong for communication
Erroneous detection, which is looked into using the data received, to be judged, if a certain DSP does not have returned data, is returned according to remaining normal DSP
Data, the data bit by the storage number in data format judge.By the corresponding mark position 0 the DSP for having return, without
The mark position of returned data is 1.These flag bits are connected by the exogenousd variables in host computer, are then shown with dynamic-form
Come.
Judgement for data transmission fault inspection is verified according to the data bit of fixations several before communication format,
It is which DSP according to the judgement of the data bit of its number.Then both the inspection of communication mistake and the inspection of data transmission fault
In conjunction with by the corresponding mark position 1 of incorrect communication format.Because connecting shakiness in entire communication line in actual test,
Display fluctuation on WINCC is larger, needs just provide accurate display whithin a period of time.In order to improve the design scheme,
The present invention devises using timing feature the mistake analyzed and judged in communication according to the mode for sending data.
Also occur in practice for data transmission fault inspection it is some determine inaccurate problems, and prolonging at any time
It is long, there are more and more misjudgment situations.The two compares, the former stability and accuracy is all higher than the latter, so
Just select the former scheme.
(2) WINCC interface detection.
In testing because data transmission fault compares and is difficult to judge, so in an experiment by the format of message, with
And multiple place changes, lead to data communication error, wherein WINCC also shows the interface of wherein error in data.And mistake
Message be rejected, do not save into the data block of PLC, display picture it is as shown in figure 23.Wherein it is also tested for DSP
It goes offline at random or online, error of transmission data etc. is deliberately set, observing interface shows situation.It is also normally, only as the result is shown
One not foot point when because going offline or online at random, lead to occur some clutters in signal of communication line, most starting period display not
Stablize, but after the excessive time, after communication line is stablized, display interface shows that situation is identical as reality, it can be real well
Existing monitoring effect.
(3) present invention realizes n subregion with the same phase of frequency, using Distributed Control System, it is therefore desirable to which a host passes through master
Machine controls each subregion, carries out common language used in mutual session between three pieces of MUC, is exactly communication protocol.This project
It uses 485 agreements, by 3 pieces of DSP and 1 PLC when test, is connected with 485 buses.Each slave DSP hangs over same
A 485 bus, as long as guaranteeing bus work, 8 slaves all can't go wrong substantially;Host assigns different instructions, so that being
System various pieces can be coordinated and flexibly work;Data are imported into the memory of main frame PLC system, so that data focus on together
One place can effectively prevent slave damage, lose host data.3 pieces of slave DSP and main-machine communication experiment host hair
Different instructions is sent, 3 pieces of slaves is allowed to coordinate and flexibly work, rapid reaction rate and reliability are the spies of IO bus
The function of the highly reliable requirement of low complex degree is placed in IO bus by point, and combined with 485 will to communicate it is reliable and stable.DSP master
Control plate completes writing for 485 communication protocols, and main frame PLC, which is sent after current setting value+frequency setting value is completed, waits DSP to carry out
Data processing shows the data of processing on industrial personal computer.Extension, configuration in order to facilitate induction heating subregion, finally in journey
Passing through macrodefinition #define DSP_DIZHI an X, X in sequence is exactly device number, passes through and changes device number, carries out program burning
It writes, download to each zoning controller, thereby realize the advantages of host controls multiple slaves.
Wherein, 3 pieces of slave DSP include: with host protocol communication mode
Frame format is as follows: PLC sends current setting value+frequency setting value format are as follows: frame head (AAh+55h)+length
(05h)+device number (XXh)+current setting value (XXXXh)+frequency setting value (XXXXh) [totally 8 bytes] PLC receives DSP
Sent out data PLC sends current setting value+frequency setting value+DSP current value+DSP power factor value format are as follows: frame head (BBh+
66h)+length (09h)+device number (XXh)+current setting value (XXXXh)+frequency setting value (XXXXh)+electric current return value
(XXXXh)+power factor return value (XXXXh) [totally 12 bytes] advantage: transmitting-receiving can once be completed.
USB is turned into 485 Serial Port Lines, one end connects computer, and the other end 485 interface TXD, RXD, GND are connected in 485 buses, leads to
The correctness and stability of friendly COM Debug Assistant indentification protocol are crossed, the end PLC PROFIBUS bus is connected to 485 by converting interface
Bus opens serial ports, and both sides defer to PLC and send current setting value+frequency setting value;PLC receives the sent out data of DSP, PLC
Current setting value+frequency setting value+DSP current value+DSP power factor value is sent, as PLC sending device number 01 is sent out: AA 55
09 01 02 03 04 05 06 07 08 09 receive: 66 0D of BB, 01 02 03 04 05 00 AA 00 55 00 01 00
01 corresponding frame format content above receives AA 00 55 00 and sees whether with frame head prominent punching occurs, a string of numbers are sent from serial ports
Word, received data are accurate.
It is errorless, reliable by analysis agreement during 485 communications are normal.Host computer WINCC and 5 pieces of DSP slave data communications are aobvious
Show that 485 interface TXD, RXD of 8 pieces of DSP are connected in 485 buses by test, while by the PROFIBUS bus in PLC by turning
Interface is connected to 485 buses, and the address when handling data every piece of DSP is different, and from device number 01 to 08, after powering on, PLC is to various
DSP subregion sends instruction, and display frequency setting value, electric current setting are set value, return value, power factor value, led on the interface WINCC
Believe that error flag position data transmit flag bit, show that host and 8 pieces of zoning controllers are carrying out data exchange just according to display data
Often, stablize, reached the correctness that 485 communications in project send a frame data.
Main frame PLC and slave 8DSP are communicatively coupled the corresponding PLC storing data in the IO input and output region at figure interface
Address, host computer WINCC connect PLC by Ethernet, realize data exchange, corresponding because PLC data stored in memory is 16
The I/O area of WINCC is cannot to show fraction data, in WINCC software inhouse by Data expansion, is extended to ieee standard 32
Floating number is converted by format and is converted to 32 for 16, if the electric current return value 1.70 of WINCC device number 01, actually
The current value of PLC returned data is 170, and data bit reduces 100 times.During the test, deliberately by 3 pieces of zoning controllers
Device number 02,03,06 goes offline, and shows that state is as follows in WINCC, display tallies with the actual situation, wherein 5 pieces of DSP zoning controllers
01,04,05,07,08 display is normal, demonstrates the stability and real-time of communication test.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (7)
1. a kind of induction heating dcs, which is characterized in that the induction heating dcs includes:
Local monitor module completes acquisition, processing, meter to induction heating equipment electricity for handling the setting value from PLC
It calculates, output control amount controls induction heating equipment;
Main control module is connect with local monitor module, for acquiring using PLC, receives and transmit various data;And by acquisition
Data pass to the digital signal processing unit of local monitor module;
Communication module, for electric quantity signal to be sent to the display operation unit of local monitor module using circuits such as serial communications
And main control module;
Remote monitoring module is connect with main control module, is added for remotely showing and modifying each induction using SIMATIC wincc
State, parameter, the state of communication of thermoelectric generator.
2. induction heating dcs as described in claim 1, which is characterized in that the digital signal processing unit,
For handling the real time data from main control module, and many kinds of parameters of induction heating power is acquired, real-time delivery is to master control
Module and display operation unit;
The display operation unit be used to answering using touch screen heating power supply state and electric current, frequency setting value display and repair
Change.
3. induction heating dcs as described in claim 1, which is characterized in that the main control module is integrated with PLC
SM331 module utilizes the temperature data of PT100 sensor acquisition heating furnace;PLC receives the number from multiple DSP slave stations simultaneously
It is shown according to remote monitoring module is uploaded to, and the data in remote monitoring module is passed into digital signal processing unit.
4. a kind of induction heating distributed control method of induction heating dcs as described in claim 1, special
Sign is that the induction heating distributed control method includes:
(1) real time data is acquired, analyzed and handled;And current flow, frequency, power factor (PF) phase are shown using touch screen
Powered-down magnitude;
(2) closed-loop control is carried out by the electricity of acquisition, stably reaches the furnace temp of setting;
(3) using communication import, Real Data Exchangs are carried out;
(4) PLC receives the data of each slave station, and the parameter by returning carries out the judgement of communication issue;
(5) data are comprehensively shown using monitoring interface, monitors the state and parameter of induction heating equipment.
5. a kind of induction heating dcs building side of induction heating dcs as described in claim 1
Method, which is characterized in that the induction heating dcs construction method includes:
The interface of host computer is connect by step 1 with PLC Ethernet interface, and SIMATIC S7 is added under the interface WINCC
PROTOCOL Suite driver, and communicated by ICP/IP protocol;System parameter, and newly-built connection are set, even
Connect the IP address for the PLC that middle setting needs to connect;
Step 2, WINCC variable is corresponding with the variable of PLC, online modification variable data test the biography between WINCC and PLC
It is defeated whether correct;
Step 3 establishes set of variables below newly-built connection, and the format of variable, data type and right are created in set of variables
The storage address relevant parameter of the PLC answered;
Step 4 carries out the drafting of graphical interfaces in graphic editor using the various tools that software provides, including but unlimited
In start-up picture, transition picture;
Step 5, design PLC and DSP communication message, signal procedure and temperature detection, system building are completed.
6. a kind of information data for carrying induction heating dcs described in claims 1 to 3 any one is handled eventually
End.
7. a kind of computer readable storage medium, including instruction, when run on a computer, so that computer is executed as weighed
Benefit require 4 described in induction heating distributed control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568344.5A CN110262425A (en) | 2019-06-27 | 2019-06-27 | A kind of induction heating dcs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568344.5A CN110262425A (en) | 2019-06-27 | 2019-06-27 | A kind of induction heating dcs |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110262425A true CN110262425A (en) | 2019-09-20 |
Family
ID=67922341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910568344.5A Pending CN110262425A (en) | 2019-06-27 | 2019-06-27 | A kind of induction heating dcs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110262425A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352620A (en) * | 2020-03-25 | 2020-06-30 | 珠海格力电器股份有限公司 | Visual configuration programming method and system |
CN111474851A (en) * | 2020-04-15 | 2020-07-31 | 深圳禄华科技有限公司 | Method and device for intelligent regulation and control of PTC heating |
CN111712007A (en) * | 2020-07-08 | 2020-09-25 | 湖北汽车工业学院 | Separable induction heating furnace applying mixed SPWM (sinusoidal pulse Width modulation) technology |
CN112637011A (en) * | 2020-12-17 | 2021-04-09 | 杭州和利时自动化有限公司 | Data transmission method, data transmission device, and storage medium |
CN112701938A (en) * | 2020-12-28 | 2021-04-23 | 中国航天空气动力技术研究院 | Rectifier power supply control device of combined arc heater |
CN114185316A (en) * | 2021-12-08 | 2022-03-15 | 山东中烟工业有限责任公司 | Fully-integrated monitoring and alarming system for distributed dust removing equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140461A (en) * | 2007-10-17 | 2008-03-12 | 天津大学 | Multiple physical states monitoring optimizing and remote synthetic diagnose intelligent numerical control system |
CN202005001U (en) * | 2010-12-28 | 2011-10-05 | 扬州博尔特电气技术有限公司 | High-power medium-frequency heating power source for reflowing in tinning technique |
CN105203956A (en) * | 2015-10-28 | 2015-12-30 | 中冶南方工程技术有限公司 | AC motor control performance automatic testing system and testing method |
CN108931918A (en) * | 2018-06-21 | 2018-12-04 | 华北电力大学 | A kind of control method of servo motor and device |
CN109372593A (en) * | 2018-11-16 | 2019-02-22 | 华南理工大学 | HMI control system and control method under a kind of steam turbine DCS system |
CN109739171A (en) * | 2019-01-02 | 2019-05-10 | 重庆渝能滤油机制造有限公司 | Vacuum oil-filter control method, device, electronic equipment and computer-readable medium |
-
2019
- 2019-06-27 CN CN201910568344.5A patent/CN110262425A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140461A (en) * | 2007-10-17 | 2008-03-12 | 天津大学 | Multiple physical states monitoring optimizing and remote synthetic diagnose intelligent numerical control system |
CN202005001U (en) * | 2010-12-28 | 2011-10-05 | 扬州博尔特电气技术有限公司 | High-power medium-frequency heating power source for reflowing in tinning technique |
CN105203956A (en) * | 2015-10-28 | 2015-12-30 | 中冶南方工程技术有限公司 | AC motor control performance automatic testing system and testing method |
CN108931918A (en) * | 2018-06-21 | 2018-12-04 | 华北电力大学 | A kind of control method of servo motor and device |
CN109372593A (en) * | 2018-11-16 | 2019-02-22 | 华南理工大学 | HMI control system and control method under a kind of steam turbine DCS system |
CN109739171A (en) * | 2019-01-02 | 2019-05-10 | 重庆渝能滤油机制造有限公司 | Vacuum oil-filter control method, device, electronic equipment and computer-readable medium |
Non-Patent Citations (2)
Title |
---|
周昕: "基于PLC的中频感应加热温度控制系统", 《煤矿机电》 * |
马秀坤 等: "《S7-200PLC与数字调速系统的原理及应用》", 31 July 2009, 国防工业出版社 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352620A (en) * | 2020-03-25 | 2020-06-30 | 珠海格力电器股份有限公司 | Visual configuration programming method and system |
CN111352620B (en) * | 2020-03-25 | 2021-09-14 | 珠海格力电器股份有限公司 | Visual configuration programming method and system |
CN111474851A (en) * | 2020-04-15 | 2020-07-31 | 深圳禄华科技有限公司 | Method and device for intelligent regulation and control of PTC heating |
CN111712007A (en) * | 2020-07-08 | 2020-09-25 | 湖北汽车工业学院 | Separable induction heating furnace applying mixed SPWM (sinusoidal pulse Width modulation) technology |
CN112637011A (en) * | 2020-12-17 | 2021-04-09 | 杭州和利时自动化有限公司 | Data transmission method, data transmission device, and storage medium |
CN112701938A (en) * | 2020-12-28 | 2021-04-23 | 中国航天空气动力技术研究院 | Rectifier power supply control device of combined arc heater |
CN114185316A (en) * | 2021-12-08 | 2022-03-15 | 山东中烟工业有限责任公司 | Fully-integrated monitoring and alarming system for distributed dust removing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110262425A (en) | A kind of induction heating dcs | |
US20040193287A1 (en) | Method for offline-parametering of a field device of the process automation technology | |
US7684875B2 (en) | Methods and apparatus to configure process control system inputs and outputs | |
CN105830417B (en) | For replacing and the method and system of Commissioning field device | |
WO1998036335A9 (en) | Process control system using a layered-hierarchy control strategy distributed into multiple control devices | |
CN111736064B (en) | Multi-type signal online test method and system for PCB | |
CN108845563A (en) | A kind of method and system for testing PLC program and PLC monitoring software | |
WO2018192498A1 (en) | Process guidance system for industrial process control | |
CN108363368A (en) | Run method and automated system, the field device and controller of automated system | |
CN108572614B (en) | Casting equipment data acquisition and storage method based on configuration software KingView and PLC | |
CN206470594U (en) | Source of the gas centralized control system based on LabVIEW and multibus technology | |
CN102809955B (en) | Method for carrying out write-protect to foundation fieldbus linked set | |
CN100415124C (en) | Self control designed teaching experiment platform for tobacco industry | |
CN202974663U (en) | X type aeroengine test bench measuring and controlling system | |
US8751704B2 (en) | Method for operating a fieldbus interface | |
US20210165386A1 (en) | Apparatus comprising a process control system and at least one process module, related method, computer program product, and data processing device | |
CN105093937B (en) | Building control system designs device and method | |
WO2019019051A1 (en) | Input and output control method for slave device, master control device and numerical control system | |
CN102722975A (en) | Method and system for reading data of electricity meter based on PROFIBUS | |
Linlin et al. | Compound fuzzy PID level control system based on WinCC and MATLAB | |
WO2008155596A1 (en) | Standardized protocol independent configuration tool for intelligent electronic devices | |
CN105629903A (en) | Method and equipment for automatically generating interface in industrial system | |
CN104615118B (en) | A kind of power plant's fieldbus DPV1 management systems and method | |
Dehof et al. | An approach for modelling communication networks in industrial control systems | |
CN104750093A (en) | Labview based RS485 bus structure DCS system I/O slave station testing 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: 20190920 |