CN101964737B - Protocol conversion device based on PROFIBUS-DP master station field bus - Google Patents

Protocol conversion device based on PROFIBUS-DP master station field bus Download PDF

Info

Publication number
CN101964737B
CN101964737B CN201010534462A CN201010534462A CN101964737B CN 101964737 B CN101964737 B CN 101964737B CN 201010534462 A CN201010534462 A CN 201010534462A CN 201010534462 A CN201010534462 A CN 201010534462A CN 101964737 B CN101964737 B CN 101964737B
Authority
CN
China
Prior art keywords
module
profibus
configuration
pfb
substation
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
CN201010534462A
Other languages
Chinese (zh)
Other versions
CN101964737A (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.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari Technology Co Ltd
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 Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN201010534462A priority Critical patent/CN101964737B/en
Publication of CN101964737A publication Critical patent/CN101964737A/en
Application granted granted Critical
Publication of CN101964737B publication Critical patent/CN101964737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a protocol conversion device based on a PROFIBUS-DP master station field bus, which is characterized by comprising a C101-PFB module, a C101-CPU (Central Processing Unit) module and a C101-DB module. The C101-PFB module, the C101-CPU module and the C101-DB module exchange data through a 256k-byte high-speed shared memory; and the C101-PFB module is in networking interconnection with each PROFIBUS-DP substation through an RS485 serial electric port (or communicating with an HFB2 module to be converted to an optical port). The invention can reduce the development cost of the PROFIBUS-DP master station.

Description

Method for converting protocol based on the protocol conversion apparatus of PROFIBUS-DP main website fieldbus
Technical field
The present invention relates to a kind of master station fieldbus, belong to communication technical field.
Background technology
The develop rapidly of Along with computer technology, the communication technology and control technology; Industrial control field also constantly produces advanced control model; Fieldbus is exactly to comply with the new technology that this development of the situation is got up, PROFIBUS bus wherein be a kind of complete, international, open, do not rely on manufacturer's standard for Fieldbus.PROFIBUS-DP is used for the high-speed data transfer of device level, and communication controler (C101 that mentions like this paper) communicates with the field apparatus (like PLC, I/O etc.) that disperses through the high speed serialization line.PROFIBUS-DP is when the high-speed data transfer that is used for field layer, and the communication controler main website reads the input information of slave unit periodically and sends output information to substation equipment periodically.Except that the periodic data transmission, PROFIBUS-DP also provides the needed aperiodicity communication of intelligent equipment to handle to carry out configuration, diagnosis and warning.Since PROFIBUS-DP have fast (message transmission rate 9.6Kbps/s~12Mbps), plug and play, high efficiency, low cost, distributed, be easy to plurality of advantages such as installations, so, in various industrial processs are controlled, obtained application widely.For as the host computer of DP main website at home at present mainly by four kinds of solutions:
1) the PROFIBUS-DP master station communication interface card of purchase Siemens, this communication mode mainly uses in integrated based on the industrial computer interface of WINDOWS platform, and its open difficulty is little, but the software overhead of main website and hardware card thereof are very expensive.
2) buy the PROFIBUS-DP master station communication interface card of the production of other producers abroad; Its integration mode is generally based on interface modes such as PC/104, PCI; Need carry out secondary development, its development difficulty is general, mainly be applicable to based on the interface of the embedded controller of real time operating system integrated in;
3) adding the gateway of the S7 300 of a Siemens as interface communication in the direct current protecting side, is the PROFIBUS-DP protocol conversion that the ICP/IP protocol and the host computer of general Ethernet interface communicates.It is very simple to the integrated realization of host computer; Integrated expense does not reduce but the expense of its increase makes whole interface; And its localization rate of parts and components also can reduce, because the technology of at present domestic substation automation system has realized production domesticization completely.
4) carry out oneself research and development according to the PROFIBUS agreement; The scheme that provides of this paper just; Its localization rate of parts and components will further improve, and reduces the integrated expense of automated system interface greatly, and also brings great convenience for the maintenance in later stage and the buying of standby redundancy.
The difficult point of PROFIBUS-DP main website exploitation mainly shows: at first; The physical layer data code streams by using of PROFIBUS-DP be general RS485 serial communication interface; In theory, integrated as long as promptly have the communication processor of RS485 serial line interface with regard to the interface that the main website that can be used as DP carries out the PROFIBUS substation.But it is in fact, because on the one hand, higher for the required communication rate of PROFIBUS; Generally be not less than 187.5Kbps, on the other hand, the PROFIBUS agreement is also had relatively high expectations to the sequential and the real-time thereof of communication; So, must adopt special-purpose CPU processor to accomplish this function, for guaranteeing real-time communication; Generally all need adopt dual port RAM (also can adopt the shared drive mode, but strengthen the realization difficulty of technology, and reduce also little) to communicate to the cost of product; Secondly; At present at home; Be in blank aspect the research and development of PROFIBUS always, on the one hand, nearly 1,000 pages of PROFIBUS standard; And the translation of Chinese translation is not fine (no matter being EN50170 or IEC 51158), does not have good English grounding in basic skills to be difficult to have thorough grasp the PROFIBUS standard; At last; The PROFIBUS-DP standard place of usefulness at home is very many, still, and for concrete project; Almost all adopt a whole set of Integrated Solution of Siemens; And this sets of plan is exactly the skilled PROFIBUS configuration configuration tool of using Siemens of association to domestic technician, and just passable in the concrete application item at its scene of downloading to, and it is fully transparent that the PROFIBUS-DP bus of Siemens we can say domestic technical staff; At this level, can't grasp any PROFIBUS bottom technology.
Summary of the invention
Technical problem to be solved by this invention provides the protocol conversion apparatus of a kind of PROFIBUS-DP main website fieldbus, data transmission bauds is fast, system realize simple, reliability is high, cost performance is high.
For solving the problems of the technologies described above; The present invention provides a kind of method for converting protocol of the protocol conversion apparatus based on PROFIBUS-DP main website fieldbus; Protocol conversion apparatus comprises C101-CPU module, C101-PFB module, the C101-DB module that links to each other successively; Pass through 256k byte high speed shared drive swap data between C101-PFB module, C101-CPU module, the C101-DB module; Said C101-PFB module communicates through RS485 and HFB2 module, and the HFB2 module communicates through PROFIBUS-DP fieldbus and each substation
Said C101-CPU module is used to accept the PC control order, and is sent to the C101-PFB module through dual port RAM; It is on-the-spot to accept the host computer inquiry, obtains C101-PFB module neutron station equipment real time data information, and communicates with host computer; Send to the C101-PFB module to the configuration file, carry out configuration with the PROFIBUS-DP field network;
Said C101-PFB module is used to receive the control command of sending from the C101-CPU module that obtains from dual port RAM, and issues corresponding substation through the PROFIBUS-DP agreement; Real time data is put into and supplies the collection of C101-CPU module the dual port RAM from the collection in worksite substation; Receive the configuration file that the C101-CPU module provides, the parsing of PROFIBUS-DP agreement is carried out in the on-the-spot actual substation of configuration;
Said C101-DB module is used to provide the PC/104 bus slot of standard to be provided with connecting C101-PFB module and C101-CPU module;
Said HFB2 module is used to realize that the electricity mouth of PROFIBUS-DP fieldbus is converted into the light mouth, can convert the PROFIBUS-DP of C101-PFB module electricity mouth into the light mouth, guaranteeing remote reliable communication,
It is characterized in that: may further comprise the steps:
1) power on after, the C101-PFB module is at first checked the correct of configuration file, and time afterwards, whether regularly detecting configuration has renewal;
2) if the configuration file detects to be passed through, according to the configuration file that configures in the device, configuration PROFIBUS main website address, PROFIBUS network service speed;
3) detect network and whether have other main websites, as existing, wait for token, as not existing, behind waiting-timeout (like 6 seconds, network does not have any data and produces), hypothetical network oneself is unique main website, generates token, and holds this token;
4) if protocol conversion apparatus is held token, dsp processor before token holding time arrives, according to the configuration file, to each substation of configuration diagnose successively, parametrization configuration, configuration configuration and diagnosis confirm;
5) if to a substation in the configuration successively through diagnosis, parametrization configuration, configuration configuration and diagnosis confirm mutual after, will get into exchanges data, its exchanges data will keep always, produces or this substation fault withdraws from exchanges data until new configuration;
6) C101-PFB module and substation are carried out the process of exchanges data and be: the C101-PFB module is handled from dual port RAM and is obtained dateout, sends to the substation, and the input data that obtain the substation from the substation are saved in the corresponding dual port RAM and go;
7) after main website holds the arrival of token time, will send token and give other main websites, as not have other main websites, behind the wait timeout, this main website will continue the data interaction of substation in the configuration.
Aforesaid protocol conversion apparatus based on PROFIBUS-DP main website fieldbus is characterized in that, said C101-CPU module is the embedded type CPU processor, and said C101-PFB module adopts 32 embedded type CPU processors following the EN50170 standard.
Aforesaid protocol conversion apparatus based on PROFIBUS-DP main website fieldbus is characterized in that: said C101-CPU module carries out integrated communication through CAN fieldbus or Ethernet or serial port mode and host computer.
Aforesaid protocol conversion apparatus based on PROFIBUS-DP main website fieldbus; It is characterized in that: the C101-PFB module communicates through dual port RAM and C101-CPU module; Interface between the two is the PC/104 interface; The C101-CPU module is realized and the proper communication of C101-PFB module through dual port RAM, is realized uploading and downloading of PROFIBUS-DP configuration through this dual port RAM simultaneously; The C101-PFB module obtains the data of PROFIBUS substation and realizes the real-time control to the substation through dual port RAM through dual port RAM.
Aforesaid protocol conversion apparatus based on PROFIBUS-DP main website fieldbus is characterized in that: said configuration function carries out in the C101-PFB module, and configuration method is:
1), upgrades the GSD file of PROFIBUS substation according to the actual items demand;
2) add main website, configuration main website Parameter File comprises traffic rate, main website station address etc.;
3) add the substation, configuration substation Parameter File comprises station address, input data length, dateout length etc.;
4) after configuration finishes, derive the configuration file, generate the configuration configuration file, be connected to protocol conversion apparatus to the configuration file through port and download to the agreement converter device, can realize configuration configuration on-the-spot PROFIBUS network.
In addition, also can write PROFIBUS configuration file through manual mode, this needs very strong PROFIBUS-DP technological know-how.
The integrated communicaton method of the protocol conversion apparatus of the PROFIBUSDP main website fieldbus of the C101-PFB module based on dsp processor according to claim 1 is characterized in that: may further comprise the steps:
1) power on after, the good configuration file of protocol conversion apparatus C101-CPU module download configuration supplies dsp processor configuration PROFIBUS network to dual port RAM;
2) the C101-CPU module is according to configuration file configuration protocol conversion equipment database and dual port RAM;
3) the C101-PFB module obtains the input and output data of substation from dual port RAM, and compares with the protocol conversion apparatus database, to detect whether need upgrade the protocol conversion apparatus database;
4) data acquisition: the protocol conversion apparatus host computer is according to the actual requirements through CAN fidonetFido, DNP3.0 agreement, IEC60875-5-104 network stipulations; Standard MOUDBUS TCP/IP or standard MOUDBUS rtu protocol carry out data acquisition to protocol conversion apparatus, give the protocol conversion apparatus host computer on the real time data of protocol conversion apparatus with current database;
5) to the real-time control of field apparatus:: the protocol conversion apparatus host computer is according to the actual requirements through CAN fidonetFido, DNP3.0 agreement, IEC60875-5-104 network stipulations; Standard MOUDBUS TCP/IP or standard MOUDBUS rtu protocol are controlled protocol conversion apparatus in real time; Protocol conversion apparatus receives the dateout of control command and updating real-time database and dual port RAM; DSP handles from the dateout of dual port RAM and obtains control command and be handed down to the PROFIBUS substation, thereby accomplishes the Real Time Control Function to field apparatus.
The beneficial effect that the present invention reached:
The present invention adopts dsp software to resolve PROFIBUS-DP agreement+High-Speed RS-485 universal asynchronous serial interfaces+PROFIBUS-DP configuration file configuration PROFIBUS-DP communication network mode; Replace proprietary chip+firmware mode; Thereby reduce the development cost of PROFIBUS-DP main website greatly, the implementation of its software is externally open, and what prior art mainly adopted is the protocol stack that proprietary chip hardware is realized the PROFIBUS-DP bottom; And these protocol stacks are the trade secret firmware, and are underground;
The present invention can adopt manual configuration to the configuration configuration file of PROFIBUS-DP main website, also can adopt the mode of software to carry out the network configuration of PROFIBUS, and possesses and carry out online download function;
The present invention has simplified the PROFIBUS-DP low level development: the most basic step and method that association when having disclosed PROFIBUS-DP completion proper communication between needed requisite configuration parameters and these parameters and PROFIBUS main website thereof accomplish proper communication; Directly the data of PROFIBUS data link layer are carried out protocal analysis; Thereby the communication efficiency of ratio communication plan in the past is higher, promptly satisfies the proper communication requirement of PROFIBUS-DP main website agreement, relatively gears to actual circumstances again; Promptly efficient; Practice thrift cost, realize that technical difficulty is low, and more help the PROFIBUS-DP agreement and better promoted at home.
Protocol conversion apparatus of the present invention carries out integrated communication through CAN fieldbus or Ethernet or serial port mode and host computer; Select on the communication protocol also very flexibly; Can select state's auspicious CAN network communication protocol 3.01 in electricity south; International standard DNP3.0, IEC60875-5-104 network stipulations, standard MOUDBUS TCP/IP or standard MOUDBUS RTU.For the secondary development personnel, no PROFIBUS technological development requirement can realize the integrated of PROFIBUS-DP substation network.
Description of drawings
Fig. 1 PROFIBUS-DP main website hardware development schematic diagram.
Fig. 2 PROFIBUS-DP realizes schematic diagram.
Fig. 3 C101 communication controler is at the typical application connection layout of orbit traffic direct current traction.
Embodiment
The hardware principle block diagram of the C101 communication controler that is based on the PROFIBUS-DP main website that Fig. 1 provides.The C101 communication controler is based on the PROFIBUS-DP main website interface arrangement of PC/104, and it is the important component part of state's auspicious serial communication controler in electricity south, and the complete solution of track traffic PROFIBUS-DP interface is provided, and follows EN 50170 standards.It becomes the PROFIBUS protocol conversion CAN2.0B agreement of communicating by letter with total control.It both can be used as the DP main website, can be used as the DP substation again.It extensively supports the various transmission rates of PROFIBUS-DP standard, can connect 126 PROFIBUS substations at most.This device mainly is made up of 3 modules: C101-PFB, C101-CPU, C101-DB.The former two is intelligent plate, passes through 256K byte high speed shared drive swap data between them.The firm and hard two CAN nets of isolating fully that showed of C101-DB with total control C306, PC104 clock backup battery, the hardware time setting circuit, extensive FPGA CPLD forms, and reliability is high; What the C101-CPU plate adopted is powerful embedded type CPU processor, has guaranteed the real-time and the stability of device; The C101-PFB plate adopts 32 embedded dedicated cpu processors, follows the EN50170 mark, and the external interface of PROFIBUS-DP is isolated fully, and antijamming capability is strong.
The C101-CPU module can adopt the TMS320F2812 of Texas Instrument; Its RS485 serial ports speed of being with reaches as high as 9.375Mbps, in concrete practical application, can satisfy: the requirement of various PROFIBUS-DP such as 3Mbps, 1.5Mbps, 500Kbps, 187.5Kbps, 93.75Kbps, 19.2Kbps, 9.6Kbps main website speed.
In the cost control; If the hardware level that carries out is integrated, the interface that carries out dual port RAM like employing PC/104 interface is integrated, and interface card cost of its communication DP main website is not higher than 1500 yuans at present; And be the privately owned agreement of host computer for the main website protocol conversion of DP; If when its physical layer was serial ports, Ethernet, CAN etc., its cost was not higher than 3000 yuans yet, is complete acceptable for domestic interface integrator.And can not increase the expense of any software.
The PROFIBUS-DP main website of C101 communication controler realizes principle
Data link layer for a PROFIBUS-DP main website has 10 FDL states, changes between its state.As shown in Figure 2.
1 Offline state
After the energising or after certain error situation comes to light, the PROFIBUS main station system will get into " Offline " state immediately.After energising, self-checking is carried out at each station.The instruments of inspection that depends on self is tested in this built in self testing, does not influence other station, and just because of this, the self check process is not stipulated in the PROFIBUS standard.
After galvanization was accomplished, FDL was retained in " Offline " state till all operational factors that need have been initialised.FDL only is connected with transmission medium then, but self does not transmit.
2 Listen_Token states
After its operational factor initialization, if it has been ready to get into the logic token ring, the FDL of this main website will get into " Listen_Token " state.Under this state, in order to distinguish the main website in the logic token ring, the FDL of this main website will keep watch on bus.For such purpose, will analyze token frame, and produce initiatively station table (LAS) with the station address that is included in the token frame.After having monitored the commentaries on classics of two complete identical token wheels, FDL will be retained in " Listen_Token " state till " the Request FDL Status " of its former (PS) transmission is addressed to it.It will use " prepare get into logic token ring " to answer this moment, and when its next token frame of reception addressing, it will get into " Active_Idle " state.During LAS generates, will not reply or answer with " unripe " to any " Request FDL Status ".Under " Listen_Token " state, every other frame is all disregarded, and promptly they are neither replied also and do not answer.
When the registration main website; If FDL checks out its address and is used as two source address (sa)s in the token frame; Then it thinks another main website with identical address Already in the logic token ring, and FDL will get into " Offline " state and again to this incident of management level report then.
If at whole T TOFDL finds no bus activity in time limit, and then the FDL of this main website will think that the heavily initialization of logic token ring or reconstruction are necessary.This FDL attempts to apply for the token initialization logic token ring of laying equal stress on.
3 Active_Idle states
In case leave " Listen_Token " state, the FDL of this main website will get into " Active_Idle " state, and monitor bus but do not have activity.If it receives its intimate desirable active frame of an addressing, it will be replied or answer when needing.After receiving its token frame of addressing, if this main website wants to be retained in the logic token ring, it will get into " Use_Token " state, otherwise it gets into " Listen_Token " state again.If mistake promptly appears in SA=TS in two token frames that receive continuously, also get into " Listen_Token " state.
If this FDL finds that it is removed on one's own initiative from the logic token ring, it will get into " Listen_Token " state and give management level with this situation report.If this FDL finds during time-out time, not have bus activity, it will be thought must recover the logic token ring.This FDL attempts to apply for token and initialization logic token ring (" Claim_Token " state) again.
4 Claim_Token states
Behind " Active_Idle " state, FDL will get into " Claim_Token " state, as its T T0Time then gets into " Listen_Token " state when expiring.Under " Claim_Token " state, it will reinitialize logic token ring or beginning initialization.When heavy initialization, the state table of standing (LAS and GAPL) remains effectively, then gets into " Use_Token " state immediately.
When initialization, initial token will be to the FDL addressing twice of oneself, and promptly NS=TS that is to say the state at " Pass_Token ".Login item in order in the LAS of other main websites, to produce one, it is necessary doing like this.After the token transmission, will in " Await_Status_Response " state, set up oneself GAPL and NS with the mode of the follow-up station address of " Request FDL Status " request.
5 Use_Token states
After receiving a token or heavily after the initialization, FDL will get into " Use_Token " state.FDL can carry out high priority and the circulation of low priority message in this state.When getting into this state, read T the device in the time of will be from the token trocheameter RR(actual wheel is changeed the time), and this timer will restart.Always allow a high priority message circulation.Later high priority or the circulation of low priority message, or the execution of general low priority message circulation, the moment T that is only carrying out RR<t TRIn (target wheel is changeed the time) time, just can.
Behind each transmission active frame, FDL will get into " Await_Data_Response " state and start the time slot timer.The frame of front transmission is in case confirmed that by the user it just turns back to " Use_Token " state.Be not performed if having the circulation of high priority message when state begins at " Use_Token ", perhaps after a high priority or low priority message circulation completion, FDL will get into " Check_Access_Time " state.
6 Await_Data_Response states
After an active of transmission frame, FDL gets into this state.FDL to reply or answers frame and wait for a slot time in order to receive.Under the situation of SDN service (not replying the transmission data of requirement), not wait acknowledge.At this moment, in order to handle possible subsequent requests, FDL reenters " Use_Token " state.
After receiving and handled an acknowledgement frame or answering frame, FDL will get into " Use_Token " state again, so that handle possible follow-up services request.The reception of other valid frames shows and has produced a mistake.Then FDL will get into " Active_Idle " state, and abandon the frame that is received.
If receive the expiration of an invalid frame or slot time, then FDL is with the initiatively transmission of frame of retry.If retry repeatedly after, receive invalid replying or answering, then FDL notifies corresponding user and gets into " Use_Token " state again.Under the situation of makeing mistakes, the subsequent requests at this station is no longer repeated, till carrying out a correct message circulation.
7 Check_Access_Time states
Under this state, with calculating difference T TR-T RRMethod calculate effective token holding time.Only when still effective token holding time being arranged, FDL just can get into " Use_Token " state, otherwise FDL will get into " Pass_Token " state.
8 Pass_Token states
Under " Pass_Token " state, FDL will attempt to transmit token and give the next one station (NS) in the logic token ring.When GAP expires update time, but when still having available token frame to hold the time, before transmitting token, FDL will attempt to write down a possible new website in GAP if necessary, so that it is included in the logic token ring.For this purpose, FDL transmission " Request FDL Status " and " Await_Status_Response " state of entering.Then, if replying of a new main website is that it requires to be included in the logic token ring, then FDL will transmit token to this station.After token is successfully transmitted, then it self GAP will shorten to this new main website.
If the answer of state request is a new substation or does not require the main website that gets into the logic token ring that then GAPL is logined at this station.If does not answer at an existing station, even behind retry, still do not answer, then this station will be deleted from GAPL, promptly mark it be untapped address.
If during GAP safeguards, there is not new main website to answer, then FDL will transmit token and give its initial NS and " Check_Token_Pass " state of entering.Only ought know no succession, when promptly FDL is the station of unique activity on the bus at the moment, it will transmit token and give it own, and then entering " Use_Token " state.
9 Check_Token_Pass states
Under " Check_Token_Pass " state, FDL for wait for it transmitted token give it that station response and wait for a slot time, this stand-by period be used for token frame between receiving time-delay and guarantee to transmit the response at station of being addressed.
If FDL finds a valid frame head in slot time, then FDL thinks that token passing is successful.To handle this frame, and in " Active_Idle " state, be received equally as it, promptly FDL will get into this state.If in slot time, find an invalid frame, then FDL thinks that another station is movable, therefore gets into " Active_Idle " state.If FDL does not receive any frame in a slot time, then FDL will get into " Pass_Token " state again.
10 Await_Status_Response states
After pointing out not have the succession during initialization or the GAP maintenance, FDL gets into this state from " Pass_Token " state.Under this state, FDL waits for a slot time in order to obtain an acknowledgement frame.Be not received or received a defective frame if there is any frame, then FDL gets into " Pass_Token " state, so that repetitive requests or transmit token and give its own or its succession.If FDL receives any other frame rather than acknowledgement frame, show that having a plurality of tokens exists, then FDL gets into " Active_Idle " state.
Typical application as the C101 communication controler; As shown in Figure 3; Mix in the electric substation in track traffic traction step-down; It is exactly that the PROFIBUS-DP stipulations are connected with the C101 communication controler that direct-current switch cabinet comprehensive control protected location adopts with the communication interface of the auspicious RT21-SAS system in south, and the C101 communication controler provides one road PROFIBUS-DP optical fiber interface and 750V direct-current switch cabinet direct current protecting observe and control cells D PU96 to link to each other with PLC in the direct-current switch cabinet.Realize the access of PROFIBUS-DP information.
The field apparatus that the track traffic Synthetic Automation System of Transformer Substation inserts the PROFIBUS-DP stipulations of dc traction system mainly contains: 1) DPU 96: the digital protecting measurement and control integration device that Siemens Company produces; Be positioned in the 750V dc feeder cabinet, major function to concrete DC equipments such as the circuit breaker of on-the-spot 750V dc feeder cabinet, handcart protect, supervision, controlled function; 2) S7-300, S7-200 series of PLC: Siemens's series of PLC; Programmable Logic Controller; S7-300 is mainly used in the circuit breaker of direct current incoming line cabinet (each traction step-down institute two) and direct current negative pole cabinet, electric separated monitoring, the acquisition function of various on-site real-time data (as carrying out electric current, voltage etc.).Functions such as the monitoring of bypass isolating switch that S7-200 is mainly used in 750V dc feeder cabinet and online isolating switch, data acquisition;
On the whole; All on-the-spot PROFIBUS-DP communication equipments all use the PROFIBUS-DP stipulations to insert C101 communication controler of the present invention; C101 communication controler main purpose is exactly to utilize the PROFIBUS-DP communication protocol to gather the data of bottom field apparatus; And be sent to PSCADA turn-key system C306 through two CAN fieldbus stipulations, in addition, the C101 communication controler also will be accepted various controls, the querying command of C306; Bottom PROFIBUS-DP field apparatus is monitored in real time, thereby satisfied the various functions such as real-time data acquisition, monitoring, relaying protection of the protection of orbit traffic direct current observing and controlling.
The application of PROFIBUS-DP; At first must carry out strict configuration; Make the data strict conformance of main website and substation; Consider that the user is familiar with the general configuration software COM PROFIBUS that SIEMENS company provides mostly, the document format data that application software is used and identical with the document format data of COM PROFIBUS generation.Through the RS232 debug port, can also observe the parameter of configuration data file at any time, to confirm the correctness of configuration.In addition, also can carry out the communicate configuration of PROFIBUS field network to the C101 communication controler, and use very friendly simple through the auspicious C101Config configuration software in south.
C101 communication controler based on PROFIBUS-DP production domesticization main website of the present invention connects main website and substation with a twisted-pair feeder, if will expand the DP substation; Only need bus is extended; Add other substation equipment, no longer increase the workload and the expense of wiring, system extension is very quick.The C101 device controller provides powerful diagnostic tool to system simultaneously; Can be used for checking and locating the mistake of main website, substation in the PROFIBUS-DP network; These diagnostic functions can be used as debugging, monitoring function; Realized the distributed control of PROFIBUS-DP fieldbus; Reduced the integrated cost of PROFIBUS-DP main website interface greatly, data transmission bauds is fast because the PROFIBUS-DP main website protocol apparatus of C101 communication controler has, system realizes simple, high, the cost performance advantages of higher of reliability, will in industrial automation system, be widely used.
Below disclose the present invention with preferred embodiment, so it is not in order to restriction the present invention, and all employings are equal to replacement or the technical scheme that obtained of equivalent transformation mode, all drop within protection scope of the present invention.

Claims (1)

1. method for converting protocol based on the protocol conversion apparatus of PROFIBUS-DP main website fieldbus; Protocol conversion apparatus comprises C101-CPU module, C101-PFB module, the C101-DB module that links to each other successively; Pass through high speed shared drive swap data between C101-PFB module, C101-CPU module, the C101-DB module; Said C101-PFB module communicates through RS485 and HFB2 module, and the HFB2 module communicates through PROFIBUS-DP fieldbus and each substation
Said C101-CPU module is used to accept the PC control order, and is sent to the C101-PFB module through dual port RAM; It is on-the-spot to accept the host computer inquiry, obtains C101-PFB module neutron station equipment real time data information, and communicates with host computer; Send to the C101-PFB module to the configuration file, carry out configuration with the PROFIBUS-DP field network;
Said C101-PFB module is used to receive the control command of sending from the C101-CPU module that obtains from dual port RAM, and issues corresponding substation through the PROFIBUS-DP agreement; Real time data is put into and supplies the collection of C101-CPU module the dual port RAM from the collection in worksite substation; Receive the configuration file that the C101-CPU module provides, the parsing of PROFIBUS-DP agreement is carried out in the on-the-spot actual substation of configuration;
Said C101-DB module is used to provide the PC/104 bus slot of standard to be provided with connecting C101-PFB module and C101-CPU module;
Said HFB2 module is used to realize that the electricity mouth of PROFIBUS-DP fieldbus is converted into the light mouth, can convert the PROFIBUS-DP of C101-PFB module electricity mouth into the light mouth,
It is characterized in that, may further comprise the steps:
1) power on after, the C101-PFB module is at first checked the correct of configuration file, and time afterwards, whether regularly detecting configuration has renewal;
2) if the configuration file detects to be passed through, according to the configuration file that configures in the device, configuration PROFIBUS main website address, PROFIBUS network service speed;
3) detecting network and whether have other main websites, as existing, wait for token, as not existing, behind waiting-timeout, oneself is unique main website in the hypothetical network, generates token, and holds this token;
4) if the C101-PFB module is held token, the C101-PFB module before token holding time arrives according to the configuration file, to each substation of configuration diagnose successively, parametrization configuration, configuration configuration and diagnosis confirm;
5) if to a substation in the configuration successively through diagnosis, parametrization configuration, configuration configuration and diagnosis confirm mutual after, get into exchanges data, its exchanges data will keep always, produces or this substation fault withdraws from exchanges data until new configuration;
6) C101-PFB module and substation are carried out the process of exchanges data and be: the DSP of C101-PFB module handles from dual port RAM and obtains dateout, sends to the substation, and the input data that obtain the substation from the substation are saved in the corresponding dual port RAM and go;
7) after main website holds the arrival of token time, will send token and give other main websites, as not have other main websites, behind the wait timeout, this main website will continue the data interaction of substation in the configuration.
CN201010534462A 2010-11-08 2010-11-08 Protocol conversion device based on PROFIBUS-DP master station field bus Active CN101964737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010534462A CN101964737B (en) 2010-11-08 2010-11-08 Protocol conversion device based on PROFIBUS-DP master station field bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010534462A CN101964737B (en) 2010-11-08 2010-11-08 Protocol conversion device based on PROFIBUS-DP master station field bus

Publications (2)

Publication Number Publication Date
CN101964737A CN101964737A (en) 2011-02-02
CN101964737B true CN101964737B (en) 2012-10-03

Family

ID=43517480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010534462A Active CN101964737B (en) 2010-11-08 2010-11-08 Protocol conversion device based on PROFIBUS-DP master station field bus

Country Status (1)

Country Link
CN (1) CN101964737B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838191A (en) * 2012-11-21 2014-06-04 北京国电智深控制技术有限公司 Distributed control system access method and distributed control system access device
CN104753899B (en) * 2013-12-31 2018-02-13 中核控制***工程有限公司 A kind of open bus structures with multi-tier structure
CN104950822A (en) * 2014-03-24 2015-09-30 昆山耐特康托软件科技有限公司 Networking real-time control system
CN105281999B (en) * 2015-11-18 2018-11-30 中工科安科技有限公司 A kind of bus-type driver port and its control method
CN105245422B (en) * 2015-11-18 2018-11-23 中工科安科技有限公司 A kind of data link layer circuitry and its method for interchanging data of industry real-time ethernet
CN105429836B (en) * 2015-12-15 2019-06-14 中国电子信息产业集团有限公司第六研究所 A kind of real-time ethernet EtherCAT main station system
CN106992941A (en) * 2017-03-14 2017-07-28 浙江工业大学 A kind of data packet dispatching method based on internet real-time monitoring system
CN107817758A (en) * 2017-11-08 2018-03-20 江苏驷博电气有限公司 A kind of programmable logic control system
CN107807604B (en) * 2017-11-22 2020-06-12 山西大学 On-site bus control system based on Siemens controller and ohm dragon controller
CN108063695B (en) * 2017-12-14 2020-09-29 福建龙净环保股份有限公司 Communication instruction configuration method and device and data acquisition method and device
CN108572635A (en) * 2018-07-30 2018-09-25 天津中德应用技术大学 Industrial network node based on shared drive pond and modified round-robin method
CN109474707B (en) * 2019-01-16 2021-02-02 浪潮集团有限公司 Two-layer protocol design and data transmission method and system based on serial port protocol
CN110278146B (en) * 2019-06-12 2021-02-02 山西大学 Data conversion method for upper control system and remote equipment
CN112202832A (en) * 2020-08-25 2021-01-08 通号城市轨道交通技术有限公司 Method and system for monitoring and processing data of main and sub-stations
CN113162868B (en) * 2021-02-24 2023-10-03 宏晶微电子科技股份有限公司 Data transmission method, data transmission station and communication system of Ethernet
CN114095303B (en) * 2021-11-23 2023-08-22 杭州和利时自动化有限公司 Communication device, data transmission method and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885674A (en) * 2006-06-01 2006-12-27 上海电器科学研究所(集团)有限公司 Intelligent network low-voltage distribution and control system using bus technique
CN101345629A (en) * 2008-08-21 2009-01-14 武汉科技大学 Double on-site bus interface converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885674A (en) * 2006-06-01 2006-12-27 上海电器科学研究所(集团)有限公司 Intelligent network low-voltage distribution and control system using bus technique
CN101345629A (en) * 2008-08-21 2009-01-14 武汉科技大学 Double on-site bus interface converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪文功.基于自主研发的轨道交通牵引***PROFIBUS总线主站.《可编程控制器与工厂自动化》.2009,(第9期), *

Also Published As

Publication number Publication date
CN101964737A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
CN101964737B (en) Protocol conversion device based on PROFIBUS-DP master station field bus
CN100414466C (en) Multi-event sequential recording and testing system
CN102916407A (en) Relay protection and fault information management system for regional power grid
CN106253487A (en) It is applied to the intelligent electric power server of intelligent substation Protection control system
CN103197652B (en) Profibus communication control device for heat-engine plant integrated system
CN105006892B (en) A kind of power distribution network intelligent FTU based on embedded-type ARM and multi-communication protocol
CN101719922A (en) Device and method of protocol conversion between PROFIBUS-DP industrial fieldbus and wireless ZIGBEE
CN109272735B (en) Communication converter for resident electric energy centralized meter reading system
CN104580245A (en) Power distribution terminal 104 message parsing system and parsing method thereof
CN110084946A (en) A kind of system and method that five-defence block is used for based on wearable device
CN102474095A (en) Substation automation system with remote redundant protection function
CN201163437Y (en) Automatization remote real-time monitoring system for client distribution network
CN107547475A (en) A kind of data processing equipment and its system for supporting more communication protocol conversions
CN203799242U (en) Fieldbus technology-based 6kV high-voltage electrical equipment control system
KR101048496B1 (en) Remote Power Control System Using Distributed Network Protocol
CN109633345B (en) Secondary equipment on-line monitoring and analyzing device
CN101311959A (en) Preposing subsystem of electric power scheduling automatization system
CN201438645U (en) Standby-power automatic switching device for digital transformer station
TWM608116U (en) Signal transmission device
CN105226819A (en) A kind of distributed power source monitoring management system based on IEC61850
CN114137890B (en) Device for realizing remote restarting of offshore wind power equipment, remote IO module and method
CN100424965C (en) The communication method of the distributed PC bus protection without the main station
CN109831032A (en) A kind of monitoring of electric power terminal
CN103454989A (en) Large-scale fan, high voltage motor operation monitoring system of large-scale fan and monitoring method of monitoring system
CN103595492B (en) CDT channel fault alarm system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: NARI NANJING CONTROL SYSTEM LTD.

Effective date: 20141208

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20141208

Address after: High road high tech Development Zone Nanjing city Jiangsu province 210061 No. 20

Patentee after: NARI Technology Development Co., Ltd.

Patentee after: SGCC NARI Nanjing Control System Co., Ltd.

Address before: High road high tech Development Zone Nanjing city Jiangsu province 210061 No. 20

Patentee before: NARI Technology Development Co., Ltd.